:root {
  --accent: #f05b4f;
  --ink: #151515;
  --muted: #565656;
  --line: #e7e2dd;
  --soft: #f7f4f1;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Sofia Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
}

.nav-wrap,
.wrap {
  width: min(1140px, calc(100% - 44px));
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  text-decoration: none;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
}

.brand img {
  width: 206px;
  height: auto;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-right: -2px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a {
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  gap: 22px;
  padding-top: 34px;
}

.hero-photo {
  min-height: 438px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .14)),
    url("/assets/images/rzemieslnik-opole-budynek.webp") center 50% / cover no-repeat;
}

.hero-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 210px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .045);
}

.feature-card i {
  position: absolute;
  right: 24px;
  top: 26px;
  width: 44px;
  height: 30px;
  border: 3px solid #151515;
  border-radius: 4px;
  background: linear-gradient(180deg, #fff, #f4f4f4);
}

.feature-card i:before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 58px;
  height: 7px;
  border-radius: 0 0 7px 7px;
  background: #151515;
  transform: translateX(-50%);
}

.feature-card i:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

.feature-card:hover,
.feature-card:focus {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.feature-card strong {
  display: block;
  font-size: 23px;
  line-height: 1.18;
}

.feature-card em {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}

.intro {
  margin-top: 24px;
  padding: 19px 30px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .055);
  text-align: center;
}

.intro h1,
.intro h2 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.15;
}

.intro p {
  max-width: 990px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.45;
}

.section-head {
  margin: 38px 0 18px;
}

.section-head h2,
.page-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
}

.section-head p,
.lead {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
}

.decor-hero {
  position: relative;
  padding: 58px 0 24px;
  text-align: center;
}

.decor-hero h1 {
  position: relative;
  display: inline-block;
  margin: 0;
  font-size: clamp(40px, 6vw, 82px);
  font-weight: 900;
  line-height: .94;
  text-transform: uppercase;
}

.decor-hero h1:before {
  content: "";
  position: absolute;
  left: -38px;
  top: -22px;
  z-index: -1;
  width: 94px;
  height: 94px;
  border-radius: 999px;
  background: #f5c34b;
}

.decor-hero p {
  margin: 22px auto 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.decor-dot {
  display: block;
  width: 12px;
  height: 12px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: var(--accent);
}

.wide-photo {
  width: 100%;
  min-height: 360px;
  margin-top: 26px;
  border-radius: 8px;
  background: #eee center / cover no-repeat;
}

.info-band {
  margin-top: 42px;
  padding: 28px 0;
  border-left: 4px solid var(--accent);
  background: #f4f4f4;
}

.info-band-inner {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.info-label {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 18px;
  background: #151515;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.info-box {
  padding: 26px 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .045);
}

.info-box p {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
}

.seo-block {
  margin-bottom: 28px;
  padding: 28px 30px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .05);
}

.seo-block h2 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.2;
}

.seo-block p {
  max-width: 900px;
  margin: 0 0 12px;
  color: var(--muted);
}

.link-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.quick-link {
  display: block;
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  text-decoration: none;
}

.quick-link strong {
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
  line-height: 1.2;
}

.quick-link span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.quick-link:hover,
.quick-link:focus {
  border-color: var(--accent);
  background: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  display: grid;
  grid-template-rows: 150px auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.card-image {
  display: block;
  min-height: 150px;
  background: #eee center / cover no-repeat;
}

.card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 58px;
  padding: 12px 14px;
}

.card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.home-locals .section-action {
  margin-top: 16px;
}

.home-posts {
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 20px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.post-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.post-card-image {
  display: block;
  min-height: 240px;
  background: #eee center / cover no-repeat;
}

.post-card-body {
  padding: 26px 24px 24px;
}

.post-card h3 {
  margin: 0 0 18px;
  font-size: 25px;
  line-height: 1.2;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  color: var(--muted);
  font-size: 13px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.article-page {
  padding: 42px 0 64px;
}

.text-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.article-page h1 {
  max-width: 900px;
  margin: 14px 0 10px;
  font-size: 48px;
  line-height: 1.08;
}

.article-meta {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.article-image {
  min-height: 420px;
  margin: 28px 0;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
}

.article-content {
  max-width: 860px;
  font-size: 19px;
  line-height: 1.75;
}

.article-content p {
  margin: 0 0 18px;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button:hover,
.button:focus {
  border-color: var(--accent);
  color: var(--accent);
}

.page-main {
  padding: 34px 0 54px;
}

.page-hero {
  padding: 86px 0 66px;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-size: 58px;
  line-height: 1.05;
}

.breadcrumb {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 24px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 24px;
}

.panel h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.story-band {
  margin-top: 40px;
  padding: 34px 0;
  background: var(--soft);
}

.story-band .wrap {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: center;
}

.story-band img {
  width: 100%;
  border-radius: 8px;
}

.story-band h2 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.18;
}

.story-band p {
  margin: 0 0 14px;
  color: var(--muted);
}

.mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mini-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.clean-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.clean-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.plan-browser {
  display: grid;
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.building-picker {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #151515;
}

.building-picker img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 58% center;
  opacity: .88;
}

.building-picker::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .34), rgba(0, 0, 0, .03) 58%, rgba(0, 0, 0, .18));
  pointer-events: none;
}

.building-floor {
  position: absolute;
  z-index: 2;
  left: 3%;
  width: 89%;
  border: 0;
  background: rgba(255, 82, 74, .08);
  color: #fff;
  cursor: pointer;
  opacity: .95;
  transition: background .16s ease, transform .16s ease, opacity .16s ease;
  clip-path: polygon(6% 18%, 70% 0, 100% 38%, 96% 100%, 0 82%);
}

.building-floor span {
  position: absolute;
  left: 18px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.building-floor:hover,
.building-floor:focus,
.building-floor.is-active {
  background: rgba(255, 82, 74, .42);
  opacity: 1;
  outline: 0;
  transform: translateY(-2px);
}

.building-floor:hover span,
.building-floor:focus span,
.building-floor.is-active span {
  background: var(--accent);
}

.building-picker.is-intro .building-floor.is-active {
  background: rgba(255, 82, 74, .56);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .68), 0 18px 34px rgba(255, 82, 74, .22);
}

.building-picker.is-intro .building-floor.is-active span {
  box-shadow: 0 8px 18px rgba(0, 0, 0, .28);
}

.building-floor--4 {
  top: 9%;
  height: 12%;
}

.building-floor--3 {
  top: 20%;
  height: 12%;
}

.building-floor--2 {
  top: 31%;
  height: 12%;
}

.building-floor--1 {
  top: 42%;
  height: 12%;
}

.building-floor--0 {
  top: 54%;
  height: 13%;
}

.building-floor---1 {
  top: 65%;
  height: 17%;
  background: rgba(20, 20, 20, .18);
}

.plan-tabs {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 560px;
  margin: 0;
}

.plan-tabs button {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.plan-tabs button.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.plan-stage {
  position: relative;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  align-self: start;
}

.plan-map-wrap {
  position: relative;
  overflow: visible;
}

.plan-stage img {
  width: 100%;
  height: 520px;
  min-height: 0;
  object-fit: cover;
  background: #f8f8f8;
}

.plan-stage--building img {
  max-height: 560px;
}

.plan-stage--floor img {
  height: auto;
  object-fit: contain;
  background: #f4f4f4;
}

.plan-stage--list-only img {
  height: 280px;
  object-fit: cover;
}

.plan-marker-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.plan-zone {
  position: absolute;
  z-index: 3;
  display: block;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 2px;
  background: rgba(255, 82, 74, .08);
  outline: 0;
  text-decoration: none;
  pointer-events: auto;
  transition: background .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.plan-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px rgba(255, 82, 74, .72);
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease;
}

.plan-zone::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 5;
  width: max-content;
  max-width: 220px;
  padding: 8px 10px;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity .16s ease, transform .16s ease;
}

.plan-zone:hover,
.plan-zone:focus {
  border-color: rgba(255, 255, 255, .85);
  background: rgba(255, 82, 74, .18);
  box-shadow: none;
}

.plan-zone:hover::before,
.plan-zone:focus::before {
  opacity: 1;
}

.plan-zone:hover::after,
.plan-zone:focus::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.plan-marker {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  min-width: 16px;
  min-height: 25px;
  padding: 3px 0;
  border: 1px solid #fff;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .2);
  font-size: 10px;
  font-weight: 900;
  line-height: .95;
  text-decoration: none;
  text-align: center;
  writing-mode: vertical-rl;
  text-orientation: upright;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.plan-marker:hover,
.plan-marker:focus {
  background: #151515;
}

.floor-locals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.floor-locals[hidden] {
  display: none;
}

.floor-local-card {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.floor-local-card strong,
.floor-local-card span {
  display: block;
}

.floor-local-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.floor-local-card:hover,
.floor-local-card:focus {
  border-color: rgba(255, 82, 74, .5);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .07);
}

.plan-help {
  margin-top: 22px;
  padding: 26px 0;
  border-top: 1px solid rgba(0, 0, 0, .08);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.plan-help h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.2;
}

.plan-help p {
  margin: 0 0 18px;
}

.plan-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.notice {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.promo {
  display: grid;
  grid-template-columns: minmax(320px, .56fr) minmax(0, 1fr);
  gap: 0;
  align-items: center;
  overflow: hidden;
  padding: 0;
  border-left: 0;
  background: #fff;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .08);
}

.promo-image {
  align-self: stretch;
  min-height: 390px;
  background: #eee center / cover no-repeat;
}

.promo-content {
  padding: 34px 34px 30px;
}

.promo-content h2 {
  margin: 14px 0 16px;
  font-size: 30px;
  line-height: 1.2;
}

.promo-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.page-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.location-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: stretch;
  padding-top: 36px;
}

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 380px;
  padding: 34px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .055);
}

.location-copy h1,
.plan-intro h1 {
  margin: 0 0 14px;
  font-size: 44px;
  line-height: 1.08;
}

.location-copy p,
.plan-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.location-photo {
  min-height: 380px;
  border-radius: 8px;
  background: #eee center / cover no-repeat;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.route-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.route-card h2 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.2;
}

.route-card p {
  margin: 0;
  color: var(--muted);
}

.address-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
  padding: 24px 26px;
  border-radius: 8px;
  background: #151515;
  color: #fff;
}

.address-strip p {
  margin: 0;
}

.address-strip .button {
  margin-top: 0;
  border-color: #fff;
  color: #151515;
}

.google-map {
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f4f4;
}

.google-map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.faq-section {
  margin-top: 44px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq-section h2 {
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 1.12;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.faq-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.faq-item h3 {
  margin: 0 0 7px;
  font-size: 17px;
  line-height: 1.25;
}

.faq-item p {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.reviews-band {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .72fr);
  gap: 28px;
  align-items: center;
  margin-top: 38px;
}

.reviews-copy {
  padding: 4px 0;
}

.reviews-copy h1,
.reviews-copy h2 {
  max-width: 820px;
  margin: 0 0 12px;
  font-size: 38px;
  line-height: 1.08;
}

.reviews-copy p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.reviews-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.reviews-card {
  position: relative;
  display: grid;
  min-height: 230px;
  padding: 30px;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(244, 86, 78, .10), rgba(255, 255, 255, 0) 42%),
    #fff;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .08);
}

.reviews-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reviews-card strong {
  display: block;
  color: #151515;
  font-size: 52px;
  line-height: 1;
}

.reviews-stars {
  color: var(--accent);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .08em;
}

.reviews-card p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.reviews-card .button {
  width: fit-content;
  margin-top: 2px;
}

.reviews-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.plan-intro {
  margin-bottom: 18px;
  padding: 18px 24px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .045);
}

.plan-intro h1 {
  margin-bottom: 8px;
  font-size: 32px;
}

.plan-intro p {
  font-size: 16px;
  line-height: 1.45;
}

.plan-intro p + p {
  margin-top: 8px;
}

.history-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr);
  gap: 26px;
  align-items: stretch;
}

.history-copy {
  padding: 34px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .045);
}

.history-copy h2 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.15;
}

.history-copy p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 18px;
}

.history-photo {
  min-height: 330px;
  border-radius: 8px;
  background: #eee center / cover no-repeat;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
  gap: 28px;
  align-items: stretch;
  padding-top: 36px;
}

.detail-photo {
  min-height: 430px;
  border-radius: 8px;
  background: #eee center / cover no-repeat;
}

.detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .055);
}

.detail-copy h1 {
  margin: 0 0 16px;
  font-size: 42px;
  line-height: 1.08;
}

.detail-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 18px;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.detail-meta span {
  display: block;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.detail-meta strong {
  display: block;
  margin-bottom: 5px;
}

.detail-section {
  margin-top: 30px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.listing-gallery-hero {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr 1fr;
  grid-template-rows: repeat(2, 215px);
  gap: 3px;
  margin-top: 18px;
  background: #151515;
}

.gallery-tile {
  background: #eee center / cover no-repeat;
}

.tile-1,
.tile-4 {
  grid-row: span 2;
}

.tile-1 {
  grid-column: 1;
  grid-row: 1 / 3;
}

.tile-2 {
  grid-column: 2;
  grid-row: 1;
}

.tile-3 {
  grid-column: 2;
  grid-row: 2;
}

.tile-4 {
  grid-column: 3;
  grid-row: 1 / 3;
}

.tile-5 {
  grid-column: 4;
  grid-row: 1;
}

.tile-6 {
  grid-column: 4;
  grid-row: 2;
}

.listing-gallery-hero.count-5 .tile-5 {
  grid-row: 1 / 3;
}

.listing-gallery-hero.count-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.listing-gallery-hero.count-4 .gallery-tile {
  grid-row: 1 / 3;
}

.listing-gallery-hero.count-4 .tile-1 { grid-column: 1; }
.listing-gallery-hero.count-4 .tile-2 { grid-column: 2; }
.listing-gallery-hero.count-4 .tile-3 { grid-column: 3; }
.listing-gallery-hero.count-4 .tile-4 { grid-column: 4; }

.listing-gallery-hero.count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listing-gallery-hero.count-3 .gallery-tile {
  grid-row: 1 / 3;
}

.listing-gallery-hero.count-3 .tile-1 { grid-column: 1; }
.listing-gallery-hero.count-3 .tile-2 { grid-column: 2; }
.listing-gallery-hero.count-3 .tile-3 { grid-column: 3; }

.listing-gallery-hero.count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.listing-gallery-hero.count-2 .gallery-tile,
.listing-gallery-hero.count-1 .gallery-tile {
  grid-row: 1 / 3;
}

.listing-gallery-hero.count-2 .tile-1 { grid-column: 1; }
.listing-gallery-hero.count-2 .tile-2 { grid-column: 2; }

.listing-gallery-hero.count-1 {
  grid-template-columns: 1fr;
}

.listing-gallery-hero.count-1 .tile-1 {
  grid-column: 1;
}

.listing-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 42px;
  align-items: start;
  padding-top: 34px;
}

.listing-main h1 {
  margin: 0 0 24px;
  font-size: 34px;
  line-height: 1.1;
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-bottom: 26px;
  font-weight: 900;
}

.listing-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  gap: 8px;
}

.listing-meta span:before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--accent);
}

.local-text-block {
  padding: 0 0 24px;
}

.local-text-block:first-child {
  padding-top: 0;
}

.local-text-block:last-child {
  padding-bottom: 0;
}

.local-text-block p {
  max-width: 820px;
  margin: 0 0 16px;
  color: #161616;
  font-size: 16px;
  line-height: 1.75;
}

.local-text-block p:last-child {
  margin-bottom: 0;
}

.listing-side {
  display: grid;
  gap: 16px;
}

.listing-side-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .045);
}

.listing-side-card h2 {
  margin: 0 0 12px;
  font-size: 19px;
}

.listing-side-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.hours-now {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.hours-now span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hours-card ul {
  display: grid;
  gap: 0;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.hours-card li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  color: var(--muted);
}

.hours-card li strong {
  color: #333;
}

.hours-card p {
  margin: 12px 0 0;
  font-size: 12px;
}

.contact-card p {
  display: grid;
  gap: 4px;
  margin: 0 0 14px;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card strong {
  color: #151515;
}

.contact-card a {
  color: var(--accent);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.listing-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  max-width: 760px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.listing-features li {
  display: flex;
  align-items: center;
  min-height: 42px;
  gap: 12px;
  font-weight: 800;
}

.listing-features li:before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.service-list-one {
  grid-template-columns: 1fr;
}

.admin-shell {
  padding-top: 20px;
}

.admin-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  padding: 28px 30px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .055);
}

.admin-head h1 {
  margin: 0 0 8px;
  font-size: 38px;
  line-height: 1.1;
}

.admin-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.admin-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  margin-top: 22px;
}

.admin-list,
.admin-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 18px;
}

.admin-list {
  display: grid;
  align-content: start;
  gap: 10px;
}

.admin-list-item {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.admin-list-item strong,
.admin-list-item span {
  display: block;
}

.admin-list-item span {
  color: var(--muted);
  font-size: 13px;
}

.admin-list-item.is-active {
  border-color: var(--accent);
  box-shadow: inset 4px 0 0 var(--accent);
}

.admin-form {
  display: grid;
  gap: 14px;
  background: #fff;
}

.admin-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.admin-form input,
.admin-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.admin-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-actions .button {
  margin-top: 0;
}

.admin-output {
  overflow: auto;
  max-height: 460px;
  margin: 22px 0 0;
  padding: 18px;
  border-radius: 8px;
  background: #151515;
  color: #fff;
}

.button-dark {
  background: #151515;
  color: #fff;
}

.button-dark:hover,
.button-dark:focus {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  background: #f6f6f5;
  color: #333;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) auto;
  gap: 24px;
  padding: 26px 0 22px;
  align-items: start;
}

.footer-grid p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  text-decoration: none;
}

.footer-small {
  color: var(--muted);
  font-size: 14px;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.social-dot {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #151515;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 20px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 940px) {
  .nav-wrap {
    display: block;
    padding: 16px 0;
  }

  .main-nav {
    margin-top: 14px;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .split,
  .promo,
  .location-hero,
  .history-lead,
  .detail-hero,
  .listing-detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    min-height: 360px;
  }

  .listing-gallery-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, 150px);
  }

  .tile-1,
  .tile-4 {
    grid-row: span 1;
  }

  .tile-1,
  .tile-2,
  .tile-3,
  .tile-4,
  .tile-5,
  .tile-6 {
    grid-column: auto;
    grid-row: auto;
  }

  .listing-gallery-hero.count-1,
  .listing-gallery-hero.count-2,
  .listing-gallery-hero.count-3,
  .listing-gallery-hero.count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-gallery-hero.count-1 .gallery-tile,
  .listing-gallery-hero.count-2 .gallery-tile,
  .listing-gallery-hero.count-3 .gallery-tile,
  .listing-gallery-hero.count-4 .gallery-tile {
    grid-column: auto;
    grid-row: auto;
  }

  .feature-card {
    min-height: 130px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .plan-browser {
    grid-template-columns: 1fr;
  }

  .building-picker,
  .building-picker img {
    min-height: 380px;
  }

  .plan-tabs {
    position: static;
    justify-content: flex-start;
    max-width: none;
    margin: 12px 0;
  }

  .plan-stage img {
    height: 300px;
  }

  .plan-help-grid {
    grid-template-columns: 1fr;
  }

  .route-grid,
  .reviews-band,
  .address-strip,
  .detail-meta,
  .listing-features,
  .service-list,
  .floor-locals,
  .admin-head,
  .admin-layout,
  .admin-two {
    grid-template-columns: 1fr;
  }

  .info-band-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .page-hero {
    padding: 48px 0 34px;
  }

  .page-hero h1 {
    font-size: 40px;
  }

  .promo {
    grid-template-columns: 1fr;
  }

  .location-copy,
  .plan-intro,
  .history-copy,
  .detail-copy {
    padding: 24px;
  }

  .location-copy h1,
  .plan-intro h1,
  .detail-copy h1 {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .nav-wrap,
  .wrap {
    width: min(100% - 28px, 1140px);
  }

  .brand {
    font-size: 24px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .main-nav {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    font-size: 13px;
  }

  .main-nav a {
    min-height: 0;
    padding: 0;
    border: 0;
    white-space: nowrap;
  }

  .building-picker,
  .building-picker img {
    min-height: 300px;
  }

  .building-floor span {
    left: 10px;
    min-height: 26px;
    padding: 5px 8px;
    font-size: 11px;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-photo {
    min-height: 330px;
  }

  .section-head h2,
  .page-title {
    font-size: 28px;
  }

  .decor-hero {
    padding-top: 38px;
  }

  .decor-hero h1 {
    font-size: 38px;
  }

  .decor-hero h1:before {
    left: -18px;
    top: -16px;
    width: 62px;
    height: 62px;
  }

  .wide-photo {
    min-height: 250px;
  }

  .intro {
    padding: 18px;
  }

  .intro h1,
  .intro h2 {
    font-size: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
