/* Santara Villas — marketing landing (institutional sale tone) */

:root {
  --bg-page: #f3efe7;
  --bg-cream: #faf6ef;
  --bg-dark: #12110f;
  --ink: #1a2420;
  --ink-muted: #5c6660;
  --gold: #b8955c;
  --gold-soft: rgba(184, 149, 92, 0.35);
  --wa: #25d366;
  --wa-hover: #1ebe57;
  --white: #fdfcfa;
  --shadow: 0 24px 60px -28px rgba(18, 28, 22, 0.45);
  --radius: 14px;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --wrap: min(1120px, 94vw);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-page);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--wa);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
}

.skip-link:focus {
  left: 12px;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(120%) blur(12px);
  background: rgba(253, 252, 250, 0.88);
  border-bottom: 1px solid rgba(26, 36, 32, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.site-logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  transition: opacity 0.2s ease;
}

.site-logo:hover,
.site-logo:focus-visible {
  opacity: 0.82;
}

.site-logo span {
  color: var(--gold);
}

.site-nav {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  font-size: 0.85rem;
  font-weight: 500;
}

.site-nav a {
  color: var(--ink-muted);
  text-decoration: none;
}

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

.site-nav__home {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  opacity: 0.88;
  white-space: nowrap;
}

.site-nav__home:hover,
.site-nav__home:focus-visible {
  opacity: 1;
}

.site-nav__sep {
  width: 1px;
  height: 0.95em;
  background: rgba(26, 36, 32, 0.12);
  align-self: center;
  flex-shrink: 0;
  margin: 0 2px;
}

.site-nav__calc {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border: 1px solid rgba(201, 169, 97, 0.45);
  border-radius: 999px;
  line-height: 1.2;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(201, 169, 97, 0.1) 0%, rgba(201, 169, 97, 0.02) 100%);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.site-nav__calc:hover,
.site-nav__calc:focus-visible {
  color: var(--ink);
  border-color: var(--gold, #c9a961);
  background: rgba(201, 169, 97, 0.14);
  transform: translateY(-0.5px);
}

.site-nav__deck {
  font-size: 0.82rem;
  opacity: 0.75;
}

.site-nav__deck:hover,
.site-nav__deck:focus-visible {
  opacity: 1;
}

.site-header--tool {
  border-bottom: 1px solid rgba(26, 36, 32, 0.06);
}

.site-nav--sub {
  gap: clamp(0.55rem, 1.4vw, 1rem);
}

.site-header__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.lang-switch {
  display: inline-flex;
  gap: 0;
  border: 1px solid rgba(184, 149, 92, 0.4);
  border-radius: 999px;
  padding: 3px;
  background: var(--white);
  flex-shrink: 0;
}

.lang-switch a {
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.2;
}

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

.lang-switch a[aria-current='page'] {
  background: var(--gold);
  color: #fff;
}

/* Три языка в шапке: чуть компактнее */
.lang-switch--tri a {
  padding: 5px 9px;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(26, 36, 32, 0.22);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--ink);
}

.btn--wa {
  background: var(--ink);
  color: var(--white);
  border-color: var(--gold-soft);
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.6);
}

.btn--wa:hover {
  background: #0b1512;
  border-color: var(--gold);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 14px 26px;
  font-size: 0.95rem;
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: flex-end;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 42%;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 12, 0.15) 0%,
    rgba(10, 14, 12, 0.35) 40%,
    rgba(10, 14, 12, 0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 8vw, 5rem) 0;
  color: var(--white);
  max-width: 720px;
}

.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.9;
  margin: 0 0 14px;
  color: var(--gold);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 6vw, 3.85rem);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}

.hero__subtitle {
  margin: 0 0 22px;
  font-size: 1rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.88;
}

.hero__ask {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 22px;
  margin: 0 0 16px;
}

.hero__price {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 600;
  color: var(--gold);
}

.hero__phase1 {
  font-size: 0.98rem;
  opacity: 0.92;
}

.hero__pitch {
  margin: 0 0 26px;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 52ch;
  opacity: 0.94;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.hero__legal-note {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  opacity: 0.55;
}

.stats {
  background: var(--bg-dark);
  color: var(--white);
  padding: 28px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.stats__cell {
  text-align: center;
  padding: 12px 8px;
  border: 1px solid rgba(184, 149, 92, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.stats__value {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 6px;
}

.stats__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}

.stats__hint {
  display: block;
  margin-top: 8px;
  font-size: 0.76rem;
  opacity: 0.55;
  line-height: 1.35;
}

.section {
  padding: clamp(3.25rem, 7vw, 5rem) 0;
}

.section--cream {
  background: var(--bg-cream);
}

.model-embed-intro {
  max-width: 62ch;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.model-embed-frame-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(26, 36, 32, 0.12);
  box-shadow: var(--shadow);
  background: var(--white);
}

.model-embed-frame-wrap iframe {
  display: block;
  width: 100%;
  height: min(92vh, 1100px);
  min-height: 560px;
  border: none;
}

.model-embed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .model-embed-frame-wrap iframe {
    height: 85vh;
    min-height: 420px;
  }
}

.section--dark {
  background: var(--bg-dark);
  color: var(--white);
}

.section__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

.section__eyebrow--gold {
  color: var(--gold);
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1.5rem;
  max-width: 22ch;
}

.section__title--light {
  color: var(--white);
}

.section__split {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.95rem;
  font-size: 0.94rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 10px;
  height: 1px;
  background: var(--gold);
}

.panel {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(26, 36, 32, 0.1);
}

.panel--elevated {
  background: var(--white);
  box-shadow: var(--shadow);
}

.panel__title {
  font-family: var(--font-serif);
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.panel__list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.panel__list li {
  margin-bottom: 0.45rem;
}

.panel__note {
  margin: 1.25rem 0 0;
  font-size: 0.76rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.panel__note a {
  color: var(--gold);
}

.phase-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.phase-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius);
  border: 1px solid rgba(184, 149, 92, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.phase-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 0 0 6px;
  color: var(--gold);
}

.phase-card__spec {
  margin: 0 0 12px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}

.phase-card__text {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.65;
  opacity: 0.82;
}

/* Gallery: ровная сетка 3×2 (без «дыр»), кадры целиком — object-fit: contain */
.gallery {
  display: grid;
  gap: clamp(14px, 2.2vw, 22px);
  grid-template-columns: 1fr;
}

.gallery__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ebe4d9;
  box-shadow: 0 14px 40px -26px rgba(18, 28, 22, 0.45);
}

.gallery__media {
  position: relative;
  flex: none;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 200px;
  max-height: min(42vh, 400px);
  box-sizing: border-box;
  overflow: hidden;
  background: #d8d0c5;
}

.gallery__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  cursor: zoom-in;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery__item:hover .gallery__media img {
  transform: scale(1.04);
}

.gallery__item figcaption {
  flex-shrink: 0;
  padding: 11px 14px 13px;
  font-size: 0.74rem;
  color: var(--ink-muted);
  letter-spacing: 0.035em;
  line-height: 1.35;
  border-top: 1px solid rgba(26, 36, 32, 0.06);
  background: rgba(255, 255, 255, 0.35);
}

@media (min-width: 560px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}

@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* 6 элементов → ровно 2 ряда по 3, без пустых ячеек */
  }

  .gallery__media {
    max-height: min(38vh, 360px);
  }
}

.gallery__media--missing {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.gallery__media__oops {
  padding: 14px 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 8px;
}

/* Lightbox: full-screen photo viewer launched from the gallery */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 28px);
  padding: clamp(16px, 4vw, 48px);
  background: rgba(12, 14, 13, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: lightboxIn 0.25s ease;
}
.lightbox[hidden] { display: none; }

@keyframes lightboxIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox__frame {
  margin: 0;
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}

.lightbox__cap {
  color: rgba(245, 240, 232, 0.82);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-align: center;
  max-width: 70ch;
}

.lightbox__close,
.lightbox__nav {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #f5f0e8;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.2); }

.lightbox__nav {
  width: clamp(40px, 6vw, 56px);
  height: clamp(40px, 6vw, 56px);
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox__close {
  position: absolute;
  top: clamp(12px, 3vw, 28px);
  right: clamp(12px, 3vw, 28px);
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
}

@media (max-width: 640px) {
  .lightbox__nav {
    position: absolute;
    bottom: clamp(16px, 5vw, 32px);
    z-index: 2;
  }
  .lightbox__nav--prev { left: 18vw; }
  .lightbox__nav--next { right: 18vw; }
  .lightbox__img { max-height: 70vh; }
}

/* Offers: three clear, separately-priced lots */
.offers {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}
@media (min-width: 760px) {
  .offers { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}

.offer-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(26, 36, 32, 0.14);
  background: var(--white);
}

.offer-card--featured {
  border-color: var(--gold);
  box-shadow: 0 20px 50px -30px rgba(26, 36, 32, 0.5);
  position: relative;
}
.offer-card--featured::before {
  content: 'Most complete';
  position: absolute;
  top: -0.7rem;
  left: 1.5rem;
  padding: 0.2rem 0.7rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a2420;
  background: var(--gold);
  border-radius: 100px;
}

.offer-card__tag {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.offer-card__price {
  font-family: var(--serif, 'Playfair Display', Georgia, serif);
  font-size: 1.9rem;
  line-height: 1.1;
  margin: 0.5rem 0 0.2rem;
  color: var(--ink);
}

.offer-card__lead {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin: 0 0 1rem;
}

.offer-card__list {
  list-style: none;
  margin: 0 0 1.3rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1 1 auto;
}
.offer-card__list li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink);
}
.offer-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.55rem;
  height: 1px;
  background: var(--gold);
}

.offer-card__cta {
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1a2420;
  text-decoration: none;
  padding-bottom: 0.2rem;
  border-bottom: 1.5px solid var(--gold);
  transition: opacity 0.2s ease;
}
.offer-card__cta:hover { opacity: 0.7; }

.offers__note {
  margin-top: 1.4rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 80ch;
}

.resource-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.resource-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(26, 36, 32, 0.12);
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.resource-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.resource-card__label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.resource-card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.resource-card__meta {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.site-footer {
  background: #0b0c0b;
  color: rgba(255, 255, 255, 0.8);
  padding: 26px 0 36px;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.site-footer__brand {
  font-family: var(--font-serif);
  letter-spacing: 0.1em;
  margin: 0 0 4px;
}

.site-footer__meta {
  margin: 0;
  font-size: 0.76rem;
  opacity: 0.55;
}

.footer-wa {
  color: var(--wa);
  text-decoration: none;
  font-weight: 600;
}

.footer-wa:hover {
  text-decoration: underline;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 10px 0 0;
  padding: 0;
  font-size: 0.78rem;
  opacity: 0.6;
  max-width: 36rem;
}

.site-footer__links a {
  color: inherit;
  text-decoration: none;
}

.site-footer__links a:hover {
  text-decoration: underline;
  opacity: 1;
}

@media (max-width: 840px) {
  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 8px;
    border-top: 1px solid rgba(26, 36, 32, 0.08);
    padding-top: 12px;
  }

  .site-nav--sub {
    justify-content: flex-start;
  }

  .site-nav__sep {
    display: none;
  }

  .site-nav__home {
    flex-basis: 100%;
    text-align: center;
    margin-bottom: 2px;
  }

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

@media (max-width: 520px) {
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .btn--lg {
    justify-content: center;
  }

  .site-header__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .site-header__actions {
    justify-content: center;
  }

  /* Hero title — tighter tracking + protect long words from breaking awkwardly */
  .hero__title { letter-spacing: 0.02em; word-break: break-word; }
  .hero__subtitle { letter-spacing: 0.14em; font-size: 0.9rem; }

  /* Prices must NEVER wrap mid-number ($1,180, 000) */
  .hero__price,
  .hero__phase1 strong,
  [data-price],
  [data-phase1-price],
  [data-phase2-price] { white-space: nowrap; }

  /* Hero legal note — was opacity 0.55 over dark veil = invisible on mobile */
  .hero__legal-note { opacity: 0.8; }

  /* Stats grid forced to 2 columns on phones (was auto-fit collapsing to 1 col) */
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stats__value { font-size: 1.4rem; }
  .stats__hint { font-size: 0.7rem; }

  /* Resource cards — make them compact on phones */
  .resource-card { padding: 1rem 1.1rem; }
  .resource-card__title { font-size: 1.15rem; }

  /* Phase cards — slightly tighter padding */
  .phase-card { padding: 1.25rem 1.1rem; }
  .phase-card__title { font-size: 1.2rem; }
}

/* Gallery photos on mobile: switch from contain (creates cream letterbox) to cover */
@media (max-width: 640px) {
  .gallery__media {
    aspect-ratio: 4 / 3;
    max-height: none;
    padding: 0;
    background: #e8e2d8;
  }
  .gallery__media img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
  }
  .gallery { grid-template-columns: 1fr; gap: 12px; }
}

/* Compact header on small screens */
/* FAQ — GEO long-tail copy aligned with FAQPage JSON-LD */
.faq__intro {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 48rem;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.faq-item {
  border: 1px solid rgba(26, 36, 32, 0.12);
  border-radius: var(--radius);
  background: var(--white);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  padding: 1rem 1.15rem;
  padding-right: 2.25rem;
  position: relative;
  font-size: 0.98rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: "\2013";
}
.faq-item__body {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.65;
}

@media (max-width: 480px) {
  .site-header__inner { padding: 10px 0; gap: 8px; }
  .site-logo { font-size: 0.9rem; letter-spacing: 0.08em; }
  .site-nav { font-size: 0.78rem; gap: 0.6rem; padding-top: 8px; }

  /* WhatsApp button: hide the full phone number, keep just the label */
  .btn--wa [data-whatsapp-display] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover,
  .resource-card:hover {
    transform: none;
  }
}

/* Hero USP one-liner — the 3-second value prop, sits above the longer pitch. */
.hero__usp {
  margin: 0 0 18px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  background: rgba(184, 149, 92, 0.22);
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  padding: 8px 16px;
  display: inline-block;
}

/* Footer "Call" link beside WhatsApp. */
.footer-call {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  margin-left: 16px;
  opacity: 0.85;
}

.footer-call:hover {
  text-decoration: underline;
  opacity: 1;
}

/* Sticky mobile contact bar — phones only, always-visible WhatsApp / Call / Pitch. */
.mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(18, 17, 15, 0.92);
    backdrop-filter: saturate(120%) blur(10px);
    border-top: 1px solid var(--gold-soft);
  }

  .mobile-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 6px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    will-change: transform;
    transition: transform 0.15s ease;
  }

  .mobile-cta__btn:active {
    transform: scale(0.97);
  }

  .mobile-cta__btn--wa {
    background: var(--wa);
    color: #fff;
  }

  .mobile-cta__btn--call {
    background: var(--gold);
    color: #1a1a1a;
  }

  .mobile-cta__btn--deck {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
  }

  /* Keep the footer reachable above the fixed bar. */
  .site-footer {
    padding-bottom: 92px;
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .mobile-cta__btn:active {
    transform: none;
  }
}

/* Trust bar — thin credibility strip under the hero (luxury editorial). */
.trust-bar {
  background: var(--bg-cream);
  border-bottom: 1px solid var(--gold-soft);
  padding: 16px 0;
}

.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  row-gap: 8px;
}

.trust-bar__item {
  position: relative;
  padding: 0 clamp(14px, 2.6vw, 28px);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}

.trust-bar__item + .trust-bar__item::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

@media (max-width: 640px) {
  .trust-bar__item {
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    padding: 0 12px;
  }
  .trust-bar__item + .trust-bar__item::before {
    display: none;
  }
}

/* Next steps — the closing conversion moment (dark section, numbered path). */
.steps {
  list-style: none;
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  padding: 0;
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.step {
  padding-top: 1.25rem;
  border-top: 1px solid var(--gold-soft);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.95rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

.step__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
}

.step__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.72);
}

.next-steps__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 520px) {
  .next-steps__cta {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Dynamic hero — cross-fading slideshow of real photos with a slow Ken Burns drift. */
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  /* Subtle grade lifts the flat overcast skies in the source photos. */
  filter: saturate(1.08) contrast(1.05) brightness(1.02);
  will-change: opacity, transform;
}

.hero__slide.is-active {
  opacity: 1;
  animation: heroKenBurns 8s ease-out both;
}

@keyframes heroKenBurns {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1.13);
  }
}

/* Staged reveal of the hero copy on load. */
.hero__content > * {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s ease forwards;
}

.hero__content > *:nth-child(1) { animation-delay: 0.1s; }
.hero__content > *:nth-child(2) { animation-delay: 0.2s; }
.hero__content > *:nth-child(3) { animation-delay: 0.3s; }
.hero__content > *:nth-child(4) { animation-delay: 0.4s; }
.hero__content > *:nth-child(5) { animation-delay: 0.5s; }
.hero__content > *:nth-child(6) { animation-delay: 0.6s; }

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition: none;
    animation: none;
  }
  .hero__slide.is-active {
    transform: none;
  }
  .hero__content > * {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Lead paragraph — the plain-language complex description above the bullets. */
.section__lead {
  margin: 0 0 1.75rem;
  max-width: 60ch;
  font-size: 1.075rem;
  line-height: 1.7;
  color: var(--ink);
}

.section--dark .section__lead {
  color: rgba(255, 255, 255, 0.86);
}

/* Hero phase chips — clear "ways to buy" ladder (Phase 1 / 2 / 3). */
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.hero-chip {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(4px);
}

.hero-chip__name {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-chip__desc {
  font-size: 0.82rem;
  opacity: 0.86;
}

.hero-chip__price {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
}

.hero__deck-link {
  align-self: center;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  opacity: 0.85;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
}

.hero__deck-link:hover,
.hero__deck-link:focus-visible {
  opacity: 1;
  border-color: var(--gold);
}

/* Bonus block — fixed-price extension framed as an extra, at the very end. */
.bonus__lead {
  max-width: 62ch;
  margin: 0;
  font-size: 1.075rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

/* Investment disclaimer strip — below trust bar */
.disclaimer-strip {
  background: rgba(184, 149, 92, 0.12);
  border-bottom: 1px solid var(--gold-soft);
  padding: 10px 0;
}

.disclaimer-strip__text {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink-muted);
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}

/* Lease extension USP timeline */
.usp-timeline {
  padding: clamp(2rem, 4vw, 2.75rem) 0;
  background: var(--bg-cream);
  border-bottom: 1px solid rgba(26, 36, 32, 0.06);
}

.usp-timeline__title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
  max-width: 36ch;
}

.usp-timeline__note {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
  max-width: 52ch;
}

.usp-timeline__track {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  align-items: flex-start;
  list-style: none;
  margin: 0;
  padding: 0;
}

.usp-timeline__step {
  flex: 1 1 140px;
  min-width: 120px;
  padding: 12px 14px;
  border: 1px solid rgba(26, 36, 32, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  position: relative;
}

.usp-timeline__step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 0.9rem;
  z-index: 1;
}

.usp-timeline__label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.usp-timeline__value {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

@media (max-width: 640px) {
  .usp-timeline__step:not(:last-child)::after {
    display: none;
  }
}

/* Lot comparison matrix */
.lots-matrix-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.lots-matrix {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.86rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(26, 36, 32, 0.1);
}

.lots-matrix th,
.lots-matrix td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(26, 36, 32, 0.08);
  vertical-align: top;
}

.lots-matrix th {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: rgba(184, 149, 92, 0.08);
}

.lots-matrix td:first-child {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.lots-matrix tr:last-child td {
  border-bottom: none;
}

.lots-matrix .col-featured {
  background: rgba(184, 149, 92, 0.06);
}

/* Phase 2 DD badge on offer card */
.offer-card__badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 3px 8px;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5c4a20;
  background: rgba(184, 149, 92, 0.25);
  border: 1px solid var(--gold-soft);
  border-radius: 4px;
}

/* Simplified nav — horizontal scroll on mobile */
.site-nav--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
}

.site-nav--scroll::-webkit-scrollbar {
  display: none;
}

@media (max-width: 840px) {
  .site-header__inner.site-header__inner--nav-scroll {
    flex-wrap: wrap;
    align-items: center;
  }

  .site-nav.site-nav--scroll {
    order: 3;
    width: 100%;
    flex-basis: 100%;
    justify-content: flex-start;
    border-top: 1px solid rgba(26, 36, 32, 0.08);
    padding: 10px 0 4px;
    gap: 1rem;
    flex-wrap: nowrap;
  }

  .site-nav.site-nav--scroll a {
    flex-shrink: 0;
  }
}

/* Gallery — show 6, hide extras until expanded */
.gallery__item--extra {
  display: none;
}

.gallery--expanded .gallery__item--extra {
  display: block;
}

.gallery__expand {
  margin-top: 1rem;
  text-align: center;
}

/* FAQ — progressive disclosure */
.faq-item--more {
  display: none;
}

.faq--expanded .faq-item--more {
  display: block;
}

.faq__toggle {
  margin-top: 1rem;
  text-align: center;
}

/* Guides — collapsed extra links */
.guides-more {
  margin-top: 1.25rem;
  border: 1px solid rgba(26, 36, 32, 0.12);
  border-radius: var(--radius);
  background: var(--white);
}

.guides-more summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  font-size: 0.92rem;
  list-style: none;
}

.guides-more summary::-webkit-details-marker {
  display: none;
}

.guides-more__grid {
  padding: 0 1rem 1rem;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.section__lead {
  max-width: 52ch;
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

.section__lead--light {
  color: rgba(255, 255, 255, 0.72);
}
