:root {
  color-scheme: light;
  --stone-50: #f7f4ee;
  --stone-100: #ebe3d5;
  --stone-200: #d7c8b2;
  --stone-400: #9a876e;
  --ink: #211d18;
  --earth: #3a3329;
  --moss: #53604d;
  --terracotta: #9b5d43;
  --gold: #b6945d;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(33, 29, 24, 0.16);
  --max: 1180px;
  --header: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main section[id] {
  scroll-margin-top: calc(var(--header) + 22px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--stone-50);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.is-modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.shell {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 3px;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 238, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(58, 51, 41, 0.11);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 244, 238, 0.96);
  box-shadow: 0 10px 35px rgba(33, 29, 24, 0.08);
}

.nav {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: max-content;
}

.brand-emblem {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  color: var(--earth);
}

.brand-emblem rect {
  fill: var(--earth);
  stroke: rgba(182, 148, 93, 0.64);
  stroke-width: 2;
}

.brand-emblem path {
  fill: none;
  stroke: var(--stone-50);
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2.4;
}

.brand-emblem .emblem-stone {
  opacity: 0.42;
  stroke-width: 1.5;
}

.brand-emblem .emblem-crown {
  fill: var(--gold);
  stroke: var(--gold);
}

.brand-wordmark {
  display: block;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  color: var(--earth);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand small {
  margin-top: 4px;
  color: rgba(33, 29, 24, 0.66);
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.93rem;
}

.nav-links a {
  text-decoration: none;
  color: rgba(33, 29, 24, 0.76);
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(58, 51, 41, 0.18);
  background: rgba(255, 255, 255, 0.6);
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--earth);
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header) - 92px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--earth);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(22, 18, 14, 0.62), rgba(22, 18, 14, 0.34) 46%, rgba(22, 18, 14, 0.08)),
    linear-gradient(180deg, rgba(22, 18, 14, 0.12), rgba(22, 18, 14, 0.46));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: clamp(42px, 7vw, 78px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e0bd79;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 920px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6.3rem;
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-copy {
  max-width: 700px;
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.16rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: var(--moss);
  color: var(--white);
  text-decoration: none;
  font-weight: 760;
  box-shadow: 0 14px 36px rgba(22, 18, 14, 0.22);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  background: #46533f;
  box-shadow: 0 18px 40px rgba(22, 18, 14, 0.28);
}

.cta.dark {
  border-color: rgba(33, 29, 24, 0.14);
  background: var(--earth);
}

.whatsapp-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 140;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 38px rgba(33, 29, 24, 0.28);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px);
  background: #1fb75a;
  box-shadow: 0 20px 44px rgba(33, 29, 24, 0.34);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.quick-info {
  background: var(--earth);
  color: var(--stone-50);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.info-grid div {
  min-height: 104px;
  padding: 22px 18px;
  background: var(--earth);
}

.info-grid span {
  display: block;
  margin-bottom: 6px;
  color: rgba(247, 244, 238, 0.62);
  font-size: 0.8rem;
}

.info-grid strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.3;
}

.info-whatsapp {
  display: inline-block;
  color: var(--white);
  font-size: 1rem;
  font-weight: 780;
  line-height: 1.3;
  text-decoration-color: rgba(247, 244, 238, 0.45);
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.info-whatsapp:hover,
.info-whatsapp:focus-visible {
  color: #e0bd79;
  text-decoration-color: currentColor;
}

.section {
  padding-block: clamp(72px, 9vw, 128px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
}

.split.reverse .section-copy {
  order: 2;
}

.section-copy h2,
.section-head h2,
.final-cta h2 {
  margin: 0;
  color: var(--earth);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.7rem;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-copy p,
.section-head p + h2 + p,
.feature-panel p,
.directions-grid p,
.review-themes p,
.footer p,
.rating-box p {
  color: rgba(33, 29, 24, 0.72);
}

.section-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 1.04rem;
}

.image-pair {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 16px;
  align-items: end;
}

.image-pair img,
.wide-photo img {
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-pair img:first-child {
  aspect-ratio: 3 / 4;
}

.image-pair img:last-child {
  aspect-ratio: 4 / 3;
  margin-bottom: 46px;
}

.apartments {
  background:
    linear-gradient(180deg, rgba(215, 200, 178, 0.24), rgba(247, 244, 238, 0)),
    var(--stone-100);
}

.section-head {
  max-width: 840px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head.compact {
  max-width: 690px;
}

.apartment-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-panel {
  min-height: 320px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(58, 51, 41, 0.12);
  box-shadow: 0 16px 45px rgba(33, 29, 24, 0.06);
}

.feature-panel-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 0 22px;
  object-fit: cover;
}

.panel-number {
  display: block;
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  line-height: 1;
}

.feature-panel h3,
.directions-grid h3,
.review-themes h3 {
  margin: 18px 0 12px;
  color: var(--earth);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.72rem;
  line-height: 1.1;
}

.feature-panel p {
  margin: 0;
}

.services {
  background: var(--earth);
  color: var(--stone-50);
}

.services .eyebrow {
  color: var(--stone-50);
}

.services .section-copy h2,
.services .section-copy p:not(.eyebrow) {
  color: var(--stone-50);
}

.services-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1fr);
  gap: clamp(36px, 6vw, 72px);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.service-list div {
  min-height: 150px;
  padding: 22px;
  background: #2f2a22;
}

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

.service-list strong {
  color: var(--white);
  font-size: 1.02rem;
}

.service-list span {
  margin-top: 8px;
  color: rgba(247, 244, 238, 0.7);
  font-size: 0.94rem;
}

.wide-photo {
  margin: 0;
}

.wide-photo img {
  aspect-ratio: 4 / 5;
  max-height: 740px;
}

.gallery {
  background: var(--stone-50);
}

.gallery-head {
  max-width: 920px;
}

.gallery-head p:last-child {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(33, 29, 24, 0.7);
  font-size: 1.02rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  background: var(--stone-100);
  box-shadow: 0 16px 42px rgba(33, 29, 24, 0.09);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 238px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item.is-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.is-large img {
  min-height: 490px;
}

.gallery-item.is-tall {
  grid-row: span 2;
}

.gallery-item.is-tall img {
  min-height: 490px;
  aspect-ratio: 3 / 4;
}

.gallery-item.is-wide {
  grid-column: span 2;
}

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

.clean-list li {
  position: relative;
  padding-left: 24px;
  color: rgba(33, 29, 24, 0.76);
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  background: var(--terracotta);
}

.directions {
  background: var(--stone-100);
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.directions-grid article {
  padding: 26px;
  border-left: 3px solid var(--terracotta);
  background: rgba(255, 255, 255, 0.58);
}

.directions-grid h3 {
  margin-top: 0;
}

.reviews-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.rating-box {
  position: sticky;
  top: calc(var(--header) + 24px);
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(58, 51, 41, 0.13);
  box-shadow: var(--shadow);
}

.rating-value {
  display: block;
  color: var(--earth);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.6rem;
  line-height: 0.9;
}

.rating-label {
  display: block;
  margin-top: 10px;
  color: var(--terracotta);
  font-weight: 760;
}

.review-copy h2 {
  margin: 0;
  color: var(--earth);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.45rem;
  line-height: 1.02;
}

.review-themes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.review-themes article {
  padding-top: 20px;
  border-top: 1px solid rgba(58, 51, 41, 0.18);
}

.review-themes h3 {
  margin-top: 0;
}

.final-cta {
  padding-block: clamp(74px, 10vw, 132px);
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 0.95), rgba(247, 244, 238, 0.72)),
    url("/assets/img/optimized/angolo-cottura-appartamento-viterbo-1400.webp") center / cover;
}

.final-cta-inner {
  max-width: 780px;
}

.final-cta h2 {
  margin-bottom: 28px;
}

.footer {
  padding-block: 48px 28px;
  background: #1d1915;
  color: var(--stone-50);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.7fr;
  gap: 36px;
}

.footer-brand .brand-emblem rect {
  fill: var(--stone-50);
  stroke: rgba(182, 148, 93, 0.78);
}

.footer-brand .brand-emblem path {
  stroke: var(--earth);
}

.footer-brand .brand-emblem .emblem-crown {
  fill: var(--gold);
  stroke: var(--gold);
}

.footer .brand strong {
  color: var(--stone-50);
}

.footer-brand small,
.footer p,
.footer-bottom {
  color: rgba(247, 244, 238, 0.68);
}

.footer h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.footer p {
  margin: 16px 0 0;
}

.footer p a,
.footer-bottom a {
  color: var(--stone-50);
  text-decoration-color: rgba(247, 244, 238, 0.42);
  text-underline-offset: 4px;
}

.footer-privacy-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--stone-50);
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(247, 244, 238, 0.42);
  text-underline-offset: 4px;
}

.footer-link {
  display: inline-block;
  margin-top: 10px;
}

.footer a:hover,
.footer a:focus-visible,
.footer-privacy-button:hover,
.footer-privacy-button:focus-visible {
  color: var(--white);
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 36px);
}

.privacy-modal[hidden] {
  display: none;
}

.privacy-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 17, 13, 0.72);
  cursor: pointer;
}

.privacy-dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(920px, 100%);
  max-height: min(760px, calc(100svh - 32px));
  overflow: hidden;
  background: var(--stone-50);
  border: 1px solid rgba(182, 148, 93, 0.38);
  box-shadow: 0 32px 92px rgba(0, 0, 0, 0.34);
  outline: 0;
}

.privacy-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 4vw, 34px);
  background: linear-gradient(180deg, var(--stone-50), rgba(235, 227, 213, 0.72));
  border-bottom: 1px solid rgba(58, 51, 41, 0.14);
}

.privacy-dialog-head .eyebrow {
  margin: 0 0 8px;
}

.privacy-dialog h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.privacy-close {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(58, 51, 41, 0.18);
  background: var(--white);
  color: var(--earth);
  cursor: pointer;
  font: inherit;
  font-weight: 820;
  line-height: 1;
}

.privacy-close:hover,
.privacy-close:focus-visible {
  background: var(--earth);
  color: var(--stone-50);
}

.privacy-content {
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
}

.privacy-content h3 {
  margin: 26px 0 8px;
  color: var(--earth);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
  line-height: 1.18;
}

.privacy-content h3:first-of-type {
  margin-top: 0;
}

.privacy-content p {
  margin: 0;
  color: rgba(33, 29, 24, 0.74);
}

.privacy-updated {
  margin-top: 28px !important;
  font-weight: 760;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 160;
  width: min(380px, calc(100% - 32px));
  padding: 14px 16px;
  transform: translateX(-50%);
  background: rgba(29, 25, 21, 0.98);
  color: var(--stone-50);
  border: 1px solid rgba(182, 148, 93, 0.3);
  box-shadow: 0 18px 52px rgba(33, 29, 24, 0.32);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: rgba(247, 244, 238, 0.78);
  font-size: 0.85rem;
  line-height: 1.45;
  text-align: center;
}

.cookie-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.cookie-privacy-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--stone-50);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: rgba(247, 244, 238, 0.42);
  text-underline-offset: 4px;
}

.cookie-privacy-button:hover,
.cookie-privacy-button:focus-visible {
  color: var(--white);
}

.cookie-actions button:not(.cookie-privacy-button) {
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 780;
}

.cookie-actions button:not(.cookie-privacy-button):hover,
.cookie-actions button:not(.cookie-privacy-button):focus-visible {
  background: #c8a66b;
}

@media (max-width: 980px) {
  .nav {
    gap: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    justify-content: stretch;
    justify-items: stretch;
    gap: 0;
    width: 100vw;
    padding: 8px 20px 14px;
    background: rgba(247, 244, 238, 0.98);
    border-top: 1px solid rgba(58, 51, 41, 0.1);
    border-bottom: 1px solid rgba(58, 51, 41, 0.14);
    box-shadow: 0 18px 42px rgba(33, 29, 24, 0.13);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    color: var(--earth);
    text-decoration: none;
    text-align: center;
    font-weight: 760;
    border-bottom: 1px solid rgba(58, 51, 41, 0.1);
    transition: background 160ms ease, color 160ms ease;
  }

  .nav-links a::after {
    content: none;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: rgba(58, 51, 41, 0.06);
    color: var(--ink);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .info-grid,
  .apartment-layout,
  .directions-grid,
  .review-themes,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.is-large,
  .gallery-item.is-wide {
    grid-column: span 2;
  }

  .gallery-item.is-tall {
    grid-row: auto;
  }

  .split,
  .split.reverse,
  .services-wrap,
  .reviews-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .section-copy {
    order: 0;
  }

  .services-wrap {
    gap: 38px;
  }

  h1 {
    font-size: 4.9rem;
  }

  .section-copy h2,
  .section-head h2,
  .final-cta h2,
  .review-copy h2 {
    font-size: 2.9rem;
  }

  .rating-box {
    position: static;
  }

}

@media (max-width: 680px) {
  :root {
    --header: 68px;
  }

  .shell {
    width: min(100% - 28px, var(--max));
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-emblem {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 0.78rem;
  }

  .brand small {
    font-size: 0.52rem;
  }

  .menu-toggle {
    flex-basis: 44px;
    width: 44px;
  }

  .hero {
    min-height: calc(100svh - var(--header) - 72px);
  }

  .hero-media img {
    object-position: 42% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(22, 18, 14, 0.68), rgba(22, 18, 14, 0.38)),
      linear-gradient(180deg, rgba(22, 18, 14, 0.12), rgba(22, 18, 14, 0.48));
  }

  h1 {
    font-size: 2.65rem;
    line-height: 0.96;
  }

  .section-copy h2,
  .section-head h2,
  .final-cta h2,
  .review-copy h2 {
    font-size: 2.15rem;
  }

  .feature-panel h3,
  .directions-grid h3,
  .review-themes h3 {
    font-size: 1.45rem;
  }

  .hero-copy {
    margin-top: 20px;
  }

  .cta {
    width: 100%;
  }

  .whatsapp-float {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }

  .whatsapp-float svg {
    width: 31px;
    height: 31px;
  }

  .info-grid,
  .apartment-layout,
  .directions-grid,
  .review-themes,
  .service-list,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.is-large,
  .gallery-item.is-wide {
    grid-column: auto;
  }

  .gallery-item img,
  .gallery-item.is-large img,
  .gallery-item.is-tall img {
    min-height: 270px;
    aspect-ratio: 4 / 3;
  }

  .info-grid div {
    min-height: 84px;
  }

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

  .image-pair img:last-child {
    margin-bottom: 0;
  }

  .feature-panel {
    min-height: 0;
  }

  .footer-bottom {
    display: grid;
  }

  .privacy-modal {
    padding: 12px;
  }

  .privacy-dialog {
    max-height: calc(100svh - 24px);
  }

  .privacy-dialog-head {
    gap: 14px;
    padding: 20px;
  }

  .privacy-dialog h2 {
    font-size: 1.72rem;
  }

  .privacy-close {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .privacy-content {
    padding: 20px;
  }

  .cookie-banner {
    left: 50%;
    right: auto;
    bottom: calc(max(14px, env(safe-area-inset-bottom)) + 68px);
    width: min(318px, calc(100% - 28px));
    padding: 14px;
    transform: translateX(-50%);
  }

  .cookie-actions {
    align-items: center;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
