:root {
  --cream: #f7f2e9;
  --cream-2: #efe5d5;
  --paper: #fffdf8;
  --ink: #262522;
  --muted: #6e6a63;
  --gold: #b58a3b;
  --gold-dark: #8b6728;
  --brown: #4d3c2f;
  --dark: #25231f;
  --line: rgba(38, 37, 34, .12);
  --whatsapp: #1f9d62;
  --shadow: 0 16px 42px rgba(54, 42, 27, .09);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --container: min(1180px, calc(100% - 40px));
  --header-height: 82px;
  --section-space: 68px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  overflow-x: clip;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
section[id] { scroll-margin-top: calc(var(--header-height) + 10px); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
address { font-style: normal; }
svg {
  width: 1.2em;
  height: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: var(--container); margin-inline: auto; }
.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--dark);
  color: #fff;
  border-radius: 10px;
}
.skip-link:focus { top: 12px; }

h1, h2, h3 {
  margin: 0 0 .65em;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.12;
  letter-spacing: -.025em;
}
h1 { max-width: 720px; font-size: clamp(2.7rem, 5.6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.55rem); }
p { margin: 0 0 1.1em; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-dark);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow.light { color: #ead3a8; }
.section { padding: var(--section-space) 0; }
.section-soft { background: var(--cream); }
.section-dark { color: #fff; background: var(--dark); }
.section-heading { max-width: 730px; margin: 0 auto 38px; text-align: center; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.03rem; }
.section-heading.light > p:last-child { color: rgba(255,255,255,.7); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(255,253,248,.95);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(36,30,20,.07);
  backdrop-filter: blur(16px);
}
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 26px; }
.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.header-logo {
  width: 54px;
  height: 40px;
  flex: 0 0 auto;
  padding: 0;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  filter: drop-shadow(0 2px 8px rgba(255,255,255,.22));
}
.header-brand-name {
  color: #fff;
  white-space: nowrap;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1;
}
.site-header.scrolled .header-brand-name { color: #172b40; }
.main-nav { display: flex; align-items: center; gap: 21px; margin-left: auto; }
.main-nav a {
  position: relative;
  padding: 10px 0;
  color: rgba(255,255,255,.9);
  font-size: .9rem;
  font-weight: 600;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 2px;
  background: var(--gold);
  transition: right .2s ease;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after { right: 0; }
.site-header.scrolled .main-nav a { color: var(--ink); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform .22s ease, opacity .22s ease;
}
.site-header.scrolled .menu-toggle { color: var(--ink); }
.hero {
  position: relative;
  display: flex;
  min-height: 650px;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(25,23,20,.78) 0%, rgba(25,23,20,.55) 48%, rgba(25,23,20,.25) 100%), linear-gradient(0deg, rgba(25,23,20,.28), transparent 42%);
}
.hero-content { position: relative; z-index: 1; padding: calc(var(--header-height) + 44px) 0 54px; }
.hero-description { max-width: 650px; color: rgba(255,255,255,.88); font-size: clamp(1.02rem, 1.8vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible { outline: 3px solid rgba(181,138,59,.42); outline-offset: 3px; }
.button-primary { color: #fff; background: var(--gold-dark); box-shadow: 0 9px 24px rgba(139,103,40,.22); }
.button-primary:hover { background: #785620; }
.button-whatsapp { color: #fff; background: var(--whatsapp); box-shadow: 0 9px 24px rgba(31,157,98,.2); }
.button-whatsapp:hover { background: #188450; }
.button-outline { color: var(--brown); border-color: rgba(77,60,47,.25); background: transparent; }
.button-outline:hover { border-color: var(--gold); background: var(--cream); }

.trust-strip { position: relative; z-index: 2; margin-top: -34px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 15px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.trust-grid > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-right: 1px solid var(--line);
  font-weight: 700;
  text-align: center;
}
.trust-grid > div:last-child { border-right: 0; }
.trust-grid svg { color: var(--gold-dark); }

.about { padding-top: var(--section-space); }
.split-layout { display: grid; grid-template-columns: 1fr 1.02fr; align-items: center; gap: clamp(40px, 6vw, 74px); }
.section-copy p { color: var(--muted); font-size: 1.01rem; }
.text-link { display: inline-flex; gap: 7px; color: var(--gold-dark); font-weight: 700; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.media-card { position: relative; }
.media-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.apartment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.apartment-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(54, 42, 27, .05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.apartment-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.apartment-card > img { width: 100%; height: 245px; object-fit: cover; object-position: center; }
.card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 25px; }
.card-body p { color: var(--muted); }
.card-body small { display: block; margin: auto 0 16px; color: var(--gold-dark); font-size: .83rem; font-weight: 700; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-card {
  min-width: 0;
  min-height: 190px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.feature-card:hover { transform: translateY(-3px); border-color: rgba(181,138,59,.5); background: #fffaf0; }
.feature-card svg { width: 27px; height: 27px; margin-bottom: 15px; color: var(--gold-dark); }
.feature-card h3 { margin: 0 0 7px; font-family: "DM Sans", sans-serif; font-size: 1rem; line-height: 1.35; }
.feature-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.48; }

.why { position: relative; overflow: hidden; }
.why::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -170px;
  top: -220px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018);
}
.why-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why-card { min-width: 0; padding: 26px 23px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.045); }
.why-card h3 { margin-bottom: 10px; color: #fff; }
.why-card p { margin: 0; color: rgba(255,255,255,.68); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 235px;
  grid-auto-flow: dense;
  gap: 14px;
}
.gallery-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--dark);
  cursor: zoom-in;
}
.gallery-item.gallery-wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(0,0,0,.68));
  pointer-events: none;
}
.gallery-item span {
  position: absolute;
  z-index: 1;
  left: 20px;
  bottom: 17px;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
.gallery-item:hover img { transform: scale(1.045); }
.gallery-item:focus-visible { outline-offset: 4px; }
.lightbox {
  width: min(1000px, calc(100% - 32px));
  max-width: none;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  color: #fff;
  background: #171614;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}
.lightbox::backdrop { background: rgba(0,0,0,.75); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: 76vh; object-fit: contain; border-radius: 14px; }
.lightbox p { margin: 12px 8px 4px; text-align: center; }
.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: stretch;
  height: 420px;
  gap: 22px;
}
.map-wrap { overflow: hidden; min-width: 0; height: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.map-wrap iframe { display: block; width: 100%; height: 100%; border: 0; }
.location-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 34px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.icon-box { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 19px; border-radius: 50%; color: var(--gold-dark); background: var(--cream-2); }
.location-card p, .location-card address { color: var(--muted); }
.location-card address { margin: 0 0 22px; font-weight: 600; }
.address-lines { overflow-wrap: break-word; word-break: normal; hyphens: auto; }
.address-lines span { display: block; }

.contact-cards { display: grid; grid-template-columns: .75fr 1.25fr .75fr .75fr; gap: 15px; margin-bottom: 22px; }
.contact-card {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 13px;
  align-items: center;
  min-height: 116px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}
.contact-card svg { grid-row: span 2; width: 27px; height: 27px; color: var(--gold-dark); }
.contact-card span { color: var(--muted); font-size: .8rem; }
.contact-card strong { min-width: 0; overflow-wrap: anywhere; word-break: normal; font-size: .94rem; line-height: 1.45; }

.contact-card {
  position: relative;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.contact-card::after {
  content: "↗";
  position: absolute;
  right: 18px;
  top: 18px;
  color: var(--gold-dark);
  font-size: .92rem;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity .22s ease, transform .22s ease;
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(181,138,59,.42);
  background: #fffaf1;
  box-shadow: 0 12px 28px rgba(54,42,27,.08);
}
.contact-card:hover::after { opacity: 1; transform: translate(0, 0); }

.faq-section { background: linear-gradient(180deg, var(--paper), #fbf6ec); }
.faq-list {
  display: grid;
  max-width: 920px;
  margin-inline: auto;
  gap: 13px;
}
.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,253,248,.96);
  box-shadow: 0 8px 24px rgba(54,42,27,.045);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(181,138,59,.34);
  box-shadow: 0 14px 30px rgba(54,42,27,.07);
}
.faq-item[open] { border-color: rgba(181,138,59,.48); }
.faq-item summary {
  position: relative;
  display: flex;
  min-height: 72px;
  align-items: center;
  padding: 20px 68px 20px 24px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 99px;
  background: var(--gold-dark);
  transform: translateY(-50%);
  transition: transform .22s ease;
}
.faq-item summary::after { transform: translateY(-50%) rotate(90deg); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(0deg); }
.faq-answer {
  margin: 0 24px;
  padding: 0 44px 20px 0;
  border-top: 1px solid rgba(38,37,34,.08);
}
.faq-answer p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.72;
}
.form-submit-note {
  margin: 11px 0 0;
  color: rgba(255,255,255,.54);
  font-size: .78rem;
}
.form-panel {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.62fr);
  align-items: start;
  gap: clamp(32px, 4vw, 54px);
  padding: 38px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: var(--dark);
}
.form-intro { max-width: 390px; }
.form-intro > p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.form-info-list {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.form-info-list li {
  position: relative;
  padding-left: 24px;
  color: rgba(255,255,255,.74);
  font-size: .9rem;
  line-height: 1.5;
}
.form-info-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #d9bc82;
  font-weight: 700;
}
.form-direct-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.form-direct-contact span { color: rgba(255,255,255,.54); font-size: .82rem; }
.form-direct-contact a { color: #ead3a8; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid label { display: grid; min-width: 0; gap: 7px; }
.form-grid label span { font-size: .83rem; font-weight: 700; }
.form-wide { grid-column: 1 / -1; }
input, select, textarea { width: 100%; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; color: #fff; background: rgba(255,255,255,.07); }
input, select { height: 46px; padding: 0 14px; }
select {
  appearance: none;
  padding-right: 46px;
  background-image:
    linear-gradient(45deg, transparent 50%, #d9bc82 50%),
    linear-gradient(135deg, #d9bc82 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 20px,
    calc(100% - 14px) 20px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}
select option { color: var(--ink); background: #fff; }
.field-help {
  margin-top: -2px;
  color: rgba(255,255,255,.48);
  font-size: .72rem;
  line-height: 1.35;
}
textarea { min-height: 112px; padding: 13px 14px; resize: vertical; }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.42); }
input:focus, select:focus, textarea:focus { border-color: rgba(218,186,122,.7); background-color: rgba(255,255,255,.1); }
.form-actions { display: flex; align-items: center; gap: 15px; margin-top: 16px; }
.form-actions .button { min-width: 220px; }
.form-status { margin: 0; color: rgba(255,255,255,.75); font-size: .88rem; }
.form-status.error { color: #ffc3c3; }

.site-footer { padding: 48px 0 22px; color: rgba(255,255,255,.8); background: #191815; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr 1fr; align-items: start; gap: 40px; }
.footer-grid > div { min-width: 0; }

.footer-brand-name {
  display: inline-block;
  margin-bottom: 14px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.65rem, 2.6vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -.02em;
}
.footer-brand-name::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 9px;
  background: #d9bc82;
}

.footer-grid h2 { margin-bottom: 14px; color: #fff; font-family: "DM Sans", sans-serif; font-size: .93rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid p, .footer-grid address { margin-bottom: 12px; color: rgba(255,255,255,.58); }
.footer-grid a:hover { color: #fff; }
.footer-stay-info,
.footer-location {
  padding-top: 7px;
}
.footer-stay-info .footer-contact-actions { margin-top: 0; }
.footer-contact-actions { display: grid; gap: 9px; margin-top: 17px; }
.footer-contact-actions a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 43px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 12px;
  color: rgba(255,255,255,.84);
  background: rgba(255,255,255,.035);
  font-size: .88rem;
  font-weight: 700;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.footer-contact-actions a:hover {
  transform: translateY(-1px);
  border-color: rgba(217,188,130,.5);
  background: rgba(255,255,255,.07);
}
.footer-contact-actions svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: #d9bc82;
}
.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 5px;
  color: #d9bc82;
  font-size: .88rem;
  font-weight: 700;
}
.footer-map-link span { transition: transform .2s ease; }
.footer-map-link:hover span { transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); font-size: .86rem; }
.footer-bottom p { margin: 0; }
.back-to-top { color: #d9bc82; font-weight: 700; }

.floating-whatsapp {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--whatsapp);
  box-shadow: 0 12px 34px rgba(24,132,80,.35);
  font-weight: 700;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
.floating-whatsapp:hover { transform: translateY(-2px); }
body.footer-visible .floating-whatsapp { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(16px); }
.mobile-contact-bar { display: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1050px) {
  :root { --section-space: 58px; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: .83rem; }
  .hero { min-height: 600px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .contact-cards .contact-card:nth-child(2) { grid-column: span 2; }
  .contact-cards .contact-card:nth-child(4) { grid-column: auto; }
  .form-panel { grid-template-columns: minmax(250px, .8fr) minmax(0, 1.5fr); gap: 28px; padding: 34px; }
}

@media (max-width: 820px) {
  :root {
    --header-height: 70px;
    --container: min(100% - 28px, 720px);
    --section-space: 52px;
  }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .site-header { background: rgba(32,30,27,.58); backdrop-filter: blur(12px); }
  .site-header.scrolled { background: rgba(255,253,248,.96); }
  .header-logo { width: 48px; height: 36px; padding: 0; }
  .header-brand-name { font-size: 1rem; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0 20px;
    background: var(--paper);
    box-shadow: 0 18px 32px rgba(20,20,20,.12);
    transition: max-height .25s ease, padding .25s ease;
  }
  .main-nav.open { max-height: calc(100dvh - var(--header-height)); padding-top: 10px; padding-bottom: 16px; }
  .main-nav a, .site-header .main-nav a { min-height: 46px; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
  .main-nav a::after { display: none; }
  .hero { min-height: 570px; }
  .hero-image { object-position: 58% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(25,23,20,.82), rgba(25,23,20,.4)); }
  .hero-content { padding-top: calc(var(--header-height) + 36px); padding-bottom: 50px; }
  .trust-strip { margin-top: -34px; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
  .split-layout, .location-layout { grid-template-columns: 1fr; }
  .split-layout { gap: 32px; }
  .media-card img { height: 320px; }
  .apartment-grid { grid-template-columns: 1fr; }
  .apartment-card { display: grid; grid-template-columns: .85fr 1.15fr; }
  .apartment-card > img { height: 100%; min-height: 260px; }
  .card-body small { margin-top: 0; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .gallery-item.gallery-wide { grid-column: span 2; }
  .location-layout { height: auto; gap: 18px; }
  .map-wrap { height: 320px; }
  .location-card { height: auto; padding: 28px; }
  .form-panel { grid-template-columns: 1fr; gap: 26px; padding: 32px; }
  .form-intro { max-width: 680px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .floating-whatsapp { display: none; }
  .mobile-contact-bar {
    position: fixed;
    z-index: 95;
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    min-height: 54px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 16px;
    background: rgba(31,29,26,.96);
    box-shadow: 0 10px 36px rgba(0,0,0,.25);
    backdrop-filter: blur(12px);
  }
  .mobile-contact-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; color: #fff; font-weight: 700; }
  .mobile-contact-bar a + a { background: var(--whatsapp); }
}

@media (max-width: 600px) {
  :root { --section-space: 46px; }
  h1 { font-size: clamp(2.35rem, 11vw, 3.5rem); }
  h2 { font-size: clamp(1.9rem, 8.5vw, 2.65rem); }
  .section-heading { margin-bottom: 28px; }
  .hero { min-height: 550px; }
  .hero-content { padding-bottom: 44px; }
  .hero-actions { display: grid; margin-top: 22px; }
  .button { width: 100%; min-height: 48px; }
  .trust-grid { padding: 10px; }
  .trust-grid > div { flex-direction: column; gap: 5px; min-height: 78px; font-size: .8rem; }
  .media-card img { height: 290px; }
  .apartment-card { display: flex; }
  .apartment-card > img { height: 220px; min-height: 0; }
  .card-body { padding: 22px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card { min-height: 160px; padding: 18px 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 180px; gap: 10px; }
  .gallery-item span { left: 15px; bottom: 13px; font-size: .9rem; }
  .map-wrap { height: 310px; }
  .location-card { padding: 24px; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-cards .contact-card:nth-child(2) { grid-column: auto; }
  .contact-cards .contact-card:nth-child(4) { grid-column: auto; }
  .contact-card { min-height: 108px; padding: 21px; }
  .faq-item summary { min-height: 66px; padding: 18px 58px 18px 19px; }
  .faq-item summary::before,
  .faq-item summary::after { right: 21px; }
  .faq-answer { margin: 0 19px; padding-right: 28px; }
  .form-panel { padding: 28px 22px; gap: 24px; }
  .form-info-list { margin-top: 17px; }
  .form-direct-contact { margin-top: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .site-footer { padding: 42px 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-contact-actions { max-width: 420px; }
  .footer-bottom { flex-direction: column; gap: 10px; margin-top: 24px; padding-top: 18px; }
}

@media (max-width: 390px) {
  :root { --container: calc(100% - 24px); }
  .hero { min-height: 540px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .gallery-grid { grid-auto-rows: 175px; }
}
