/* =====================================================================
   Olivia Village — design tokens
   Aligned with CLAUDE.md §3 and design-system/olivia-village/MASTER.md
   ===================================================================== */

:root {
  /* Backgrounds */
  --cream:           #F5EEE1;
  --sand:            #E8DCC4;
  --sand-warm:       #D9C7A7;

  /* Accents */
  --terracotta:      #B85940;
  --terracotta-deep: #8C3F2C;
  --olive:           #6B7A52;
  --olive-light:    #A4B388;

  /* Text */
  --ink:             #1A1815;
  --stone-dark:      #2E2A26;
  --stone:           #6E665C;
  --stone-light:     #998F82;

  /* Overlays */
  --shade-warm:      rgba(46, 42, 38, 0.55);
  --shade-cool:      rgba(26, 24, 21, 0.40);

  /* Spacing */
  --space-2xs: 4px;
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  40px;
  --space-xl:  64px;
  --space-2xl: 96px;
  --space-3xl: 144px;

  /* Shadows — tinted toward stone-dark, layered */
  --shadow-sm:
    0 1px 2px rgba(46, 42, 38, 0.04),
    0 2px 4px rgba(46, 42, 38, 0.04);
  --shadow-md:
    0 2px 4px rgba(46, 42, 38, 0.04),
    0 8px 16px rgba(46, 42, 38, 0.06),
    0 16px 32px rgba(46, 42, 38, 0.04);
  --shadow-lg:
    0 4px 8px rgba(46, 42, 38, 0.04),
    0 16px 32px rgba(46, 42, 38, 0.08),
    0 32px 64px rgba(46, 42, 38, 0.06);

  /* Type families */
  --font-display: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --font-body:    'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Easings */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:      cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================================
   Reset
   ===================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 80px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--stone-dark);
  background: var(--cream);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }

button { all: unset; cursor: pointer; }

::selection { background: var(--terracotta); color: var(--cream); }

/* =====================================================================
   Site header — overlay on hero
   ===================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-md) var(--space-xl);
  color: var(--cream);
}

.site-header[data-theme="dark"] {
  background: linear-gradient(
    to bottom,
    rgba(26, 24, 21, 0.35) 0%,
    rgba(26, 24, 21, 0) 100%
  );
}

.site-header[data-theme="light"] {
  background: linear-gradient(
    to bottom,
    rgba(245, 238, 225, 0.96) 0%,
    rgba(245, 238, 225, 0.78) 100%
  );
  color: var(--stone-dark);
  box-shadow: 0 1px 0 rgba(46, 42, 38, 0.06);
}

.site-header[data-theme="light"] .site-header__nav a {
  color: rgba(46, 42, 38, 0.78);
}
.site-header[data-theme="light"] .site-header__nav a:hover { color: var(--stone-dark); }
.site-header[data-theme="light"] .site-header__phone {
  color: rgba(46, 42, 38, 0.88);
}
.site-header[data-theme="light"] .site-header__phone:hover { color: var(--stone-dark); }
.site-header[data-theme="light"] .site-header__lang {
  color: rgba(46, 42, 38, 0.5);
}
.site-header[data-theme="light"] .site-header__lang a[aria-current="page"] { color: var(--stone-dark); }
.site-header[data-theme="light"] .site-header__lang a:not([aria-current]):hover { color: var(--stone-dark); }

.site-header__brand img {
  height: 106px;
  width: auto;
  display: block;
  transition: filter 200ms var(--ease-out);
}

/* CLAUDE.md §2 normally forbids filters on the logo, but the user has
   explicitly overridden the rule until a proper white-on-transparent asset
   is delivered. Filter target: olivia-logo-dark.png (already on transparent bg). */
.site-header[data-theme="dark"] .site-header__brand img {
  filter: brightness(0) invert(1);
}

.site-header[data-theme="light"] .site-header__brand img {
  filter: none;
}

.site-header__nav {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.site-header__nav a {
  position: relative;
  padding: 6px 0;
  color: rgba(245, 238, 225, 0.78);
  transition: color 200ms var(--ease-out);
}

.site-header__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms var(--ease-out-expo);
}

.site-header__nav a:hover { color: var(--cream); }
.site-header__nav a:hover::after { transform: scaleX(1); }

.site-header__nav a:focus-visible {
  outline: 2px solid rgba(184, 89, 64, 0.65);
  outline-offset: 4px;
  border-radius: 1px;
}

.site-header__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 14px;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.site-header__phone {
  color: rgba(245, 238, 225, 0.88);
  transition: color 200ms var(--ease-out);
}
.site-header__phone:hover { color: var(--cream); }

.site-header__lang {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(245, 238, 225, 0.5);
}
.site-header__lang a {
  transition: color 200ms var(--ease-out);
}
.site-header__lang a[aria-current="page"] { color: var(--cream); }
.site-header__lang a:not([aria-current]):hover { color: var(--cream); }

/* =====================================================================
   Hero
   ===================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__overlay--gradient {
  background:
    linear-gradient(
      to top,
      rgba(26, 24, 21, 0.82) 0%,
      rgba(26, 24, 21, 0.55) 28%,
      rgba(26, 24, 21, 0.12) 58%,
      rgba(26, 24, 21, 0.35) 100%
    );
}

.hero__overlay--tint {
  background: rgba(184, 89, 64, 0.025);
  mix-blend-mode: multiply;
}

.hero__overlay--grain {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.12;
  mix-blend-mode: overlay;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-3xl) var(--space-xl) var(--space-2xl);
  max-width: 920px;
  color: var(--cream);
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 238, 225, 0.62);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: rgba(245, 238, 225, 0.4);
}

.hero__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin-bottom: var(--space-md);
}
.hero__title span { display: block; }

.hero__title-accent {
  /* On a quiet hero, restraint > extra color. Keep one tone, gain the comma-pause via composition. */
}

.hero__subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.005em;
  color: rgba(245, 238, 225, 0.85);
  max-width: 30rem;
  margin-bottom: var(--space-lg);
}

.hero__cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero__cta-note {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(245, 238, 225, 0.68);
}

/* Corner mark — restrained scarcity signal, lower-right */
.hero__corner {
  position: absolute;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(245, 238, 225, 0.55);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.hero__corner-line {
  width: 40px;
  height: 1px;
  background: rgba(245, 238, 225, 0.4);
}

/* =====================================================================
   Section eyebrow — shared block for non-hero sections
   ===================================================================== */

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--space-md);
}

.section-eyebrow__num {
  font-variant-numeric: tabular-nums;
  color: var(--terracotta);
  letter-spacing: 0.1em;
}

.section-eyebrow::after {
  content: '';
  display: inline-block;
  width: 44px;
  height: 1px;
  background: var(--sand-warm);
}

/* =====================================================================
   About section
   ===================================================================== */

.about {
  position: relative;
  padding: var(--space-3xl) var(--space-xl);
  background: var(--cream);
  color: var(--stone-dark);
  background-image:
    radial-gradient(at 18% 22%, rgba(184, 89, 64, 0.05) 0%, transparent 55%),
    radial-gradient(at 82% 78%, rgba(107, 122, 82, 0.04) 0%, transparent 55%);
}

.about__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.about__header {
  max-width: 780px;
  margin-bottom: var(--space-2xl);
}

.about__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--stone-dark);
}

.about__title-soft {
  display: block;
  color: var(--stone-dark);
  font-style: italic;
  margin-top: 0.15em;
}

.about__body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-2xl);
  align-items: start;
}

.about__prose {
  max-width: 34rem;
  padding-top: var(--space-md);
}

.about__prose p {
  font-size: 17px;
  line-height: 1.78;
  color: var(--stone);
}

.about__prose p + p {
  margin-top: var(--space-md);
}

.about__visual {
  position: relative;
  margin: 0;
}

.about__image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}

.about__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.about__image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(184, 89, 64, 0.025) 0%, rgba(46, 42, 38, 0.08) 100%);
  pointer-events: none;
}

/* Master-plan placeholder (asset pending) */
.about__masterplan {
  aspect-ratio: 16 / 10;
  background:
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(184, 89, 64, 0.03) 8px 9px),
    linear-gradient(180deg, var(--sand) 0%, var(--sand-warm) 100%);
  border: 1px dashed var(--sand-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.about__masterplan-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--stone-light);
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: var(--space-2xl);
}

.about__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
  padding: 0 var(--space-lg);
  border-left: 1px solid var(--sand-warm);
}

.about__stat:first-child {
  border-left: none;
  padding-left: 0;
}

.about__stat-digit {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(5rem, 8vw, 7.5rem);
  line-height: 1;
  color: var(--stone-dark);
  font-variant-numeric: lining-nums tabular-nums;
}

.about__stat--accent .about__stat-digit {
  color: var(--terracotta);
}

.about__stat-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--stone);
  max-width: 16rem;
}

/* =====================================================================
   Section title — shared (excluding hero)
   ===================================================================== */

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--stone-dark);
}

.section-title-soft {
  display: block;
  color: var(--stone);
  font-style: italic;
  margin-top: 0.15em;
}

/* =====================================================================
   Location section
   ===================================================================== */

.location {
  position: relative;
  padding: var(--space-3xl) var(--space-xl);
  background: var(--sand);
  color: var(--stone-dark);
  background-image:
    radial-gradient(at 78% 18%, rgba(184, 89, 64, 0.06) 0%, transparent 50%),
    radial-gradient(at 22% 82%, rgba(107, 122, 82, 0.05) 0%, transparent 55%);
}

.location__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.location__header {
  max-width: 780px;
  margin-bottom: var(--space-2xl);
}

.location__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: var(--space-2xl);
  align-items: start;
}

.location__prose p {
  font-size: 17px;
  line-height: 1.78;
  color: var(--stone);
  max-width: 34rem;
  margin-bottom: var(--space-xl);
}

.facts-list {
  list-style: none;
  display: grid;
  gap: 0;
  max-width: 34rem;
}

.facts-list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: baseline;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--sand-warm);
}

.facts-list li:first-child {
  border-top: 1px solid var(--sand-warm);
}

.facts-list__value {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  line-height: 1;
  color: var(--stone-dark);
  font-variant-numeric: tabular-nums;
}

.facts-list__label {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--stone);
  line-height: 1.5;
}

.location__map {
  margin: 0;
  position: relative;
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.location__map svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Construction status sub-block (drone photos pending) */
.construction {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--sand-warm);
}

.construction__header {
  margin-bottom: var(--space-lg);
}

.construction__eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-xs);
}

.construction__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.15;
  color: var(--stone-dark);
}

.construction__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.construction__photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.construction__photo--placeholder {
  background:
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(46, 42, 38, 0.035) 8px 9px),
    var(--cream);
  border: 1px dashed var(--sand-warm);
}

.construction__photo--placeholder::after {
  content: 'Дрон-фото · готовится';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--stone-light);
  letter-spacing: 0.02em;
}

/* =====================================================================
   Villas — two-card intro
   ===================================================================== */

.villas {
  position: relative;
  padding: var(--space-3xl) var(--space-xl);
  background: var(--cream);
  background-image:
    radial-gradient(at 50% 0%, rgba(184, 89, 64, 0.04) 0%, transparent 35%);
}

.villas__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.villas__header {
  max-width: 820px;
  margin-bottom: var(--space-2xl);
}

.villas__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: stretch;
}

.villa-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--sand-warm);
  display: flex;
  flex-direction: column;
  transition: transform 360ms var(--ease-out-expo), box-shadow 360ms var(--ease-out-expo), border-color 360ms var(--ease-out-expo);
}

.villa-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--terracotta);
}

.villa-card__image {
  display: block;
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.villa-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-out-expo);
}

.villa-card:hover .villa-card__image img {
  transform: scale(1.035);
}

.villa-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(184, 89, 64, 0.02), rgba(46, 42, 38, 0.07));
  pointer-events: none;
}

.villa-card__image:focus-visible {
  outline: 2px solid rgba(184, 89, 64, 0.65);
  outline-offset: 4px;
}

.villa-card__body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.villa-card__meta {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-xs);
}

.villa-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--stone-dark);
  margin-bottom: var(--space-sm);
}

.villa-card__lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--stone);
  margin-bottom: var(--space-lg);
  max-width: 28rem;
}

.villa-card__detail {
  margin-top: auto;
  display: block;
  width: fit-content;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--stone-dark);
  margin-bottom: var(--space-sm);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--sand-warm);
  transition: color 200ms var(--ease-out), border-bottom-color 200ms var(--ease-out);
}

.villa-card__link {
  display: inline-flex;
  margin-top: 0;
}

.villa-card__detail:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.villa-card__detail:focus-visible {
  outline: 2px solid rgba(184, 89, 64, 0.65);
  outline-offset: 3px;
}

.villa-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--terracotta);
  padding: 6px 0;
  border-bottom: 1px solid var(--terracotta);
  transition: color 200ms var(--ease-out), gap 200ms var(--ease-out);
}

.villa-card__link:hover {
  color: var(--terracotta-deep);
  border-bottom-color: var(--terracotta-deep);
  gap: 12px;
}

.villa-card__link:focus-visible {
  outline: 2px solid rgba(184, 89, 64, 0.65);
  outline-offset: 4px;
}

/* =====================================================================
   Villa page-section — used for Villa A (cream) and Villa B (sand)
   ===================================================================== */

.villa {
  background: var(--cream);
}

.villa--alt {
  background: var(--sand);
}

.villa__hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  align-items: stretch;
  min-height: 62vh;
  background: var(--ink);
}

.villa__hero-image {
  position: relative;
  overflow: hidden;
}

.villa__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.villa__hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46, 42, 38, 0.04) 0%, rgba(46, 42, 38, 0.12) 100%);
  pointer-events: none;
}

.villa__hero-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl) var(--space-xl);
  color: var(--stone-dark);
  background: var(--cream);
}

.villa--alt .villa__hero-card {
  background: var(--sand);
}

.villa__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--stone-dark);
  margin-bottom: var(--space-md);
}

.villa__subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--stone);
  max-width: 28rem;
}

.villa__body {
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl) var(--space-3xl);
}

.villa__prose p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.5;
  color: var(--stone-dark);
  max-width: 60rem;
  margin-bottom: var(--space-2xl);
}

/* Floor plan blocks */
.floor-plan {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--sand-warm);
}

.floor-plan--four {
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.floor__header {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--sand-warm);
}

.floor__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 4px;
}

.floor__area {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 36px;
  line-height: 1;
  color: var(--stone-dark);
  font-variant-numeric: tabular-nums;
}

.floor--accent .floor__area {
  color: var(--terracotta);
}

.floor__list {
  list-style: none;
}

.floor__list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: var(--space-sm);
  padding: 10px 0;
  border-bottom: 1px solid var(--sand-warm);
  font-size: 14px;
  line-height: 1.5;
}

.floor__list li:last-child { border-bottom: none; }
.floor__list span { color: var(--stone); }
.floor__list em {
  font-style: italic;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--stone-dark);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* TEP — final ledger: unified Cormorant for headlines + totals, sub-items in IBM Plex */
.tep {
  max-width: 600px;
  margin: 0 0 var(--space-2xl);
}
.tep__section {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-light);
  margin: 0 0 var(--space-md);
}
.tep__line {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: var(--space-sm);
}
.tep__name { color: var(--stone); }
.tep__num {
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
}

.tep__group {
  border-top: 1px solid var(--sand-warm);
  padding: var(--space-md) 0 var(--space-sm);
}
.tep__group:first-of-type {
  border-top: 1.5px solid var(--terracotta);
}
.tep__line--floor { margin: 0 0 var(--space-2xs); }
.tep__line--floor .tep__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  color: var(--stone-dark);
}
.tep__line--floor .tep__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  color: var(--stone-dark);
  font-variant-numeric: lining-nums tabular-nums;
}

.tep__line--sub { padding: var(--space-2xs) 0 var(--space-2xs) var(--space-md); }
.tep__line--sub .tep__name { font-size: 14px; }
.tep__line--sub .tep__num { font-size: 14px; color: var(--stone); }

.tep__line--total {
  border-top: 1.5px solid var(--terracotta);
  margin: var(--space-md) 0 0;
  padding: var(--space-md) 0 0;
}
.tep__line--total .tep__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: normal;
  text-transform: none;
  color: var(--stone-dark);
}
.tep__line--total .tep__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  color: var(--stone-dark);
  font-variant-numeric: lining-nums tabular-nums;
}

/* Plans — floorplan cards */
.plans {
  margin-bottom: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--sand-warm);
}

.plans__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.plans__eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.plans__note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--stone-light);
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.plans__card {
  margin: 0;
  display: grid;
  gap: var(--space-sm);
}

.plans__image-wrap {
  position: relative;
  background: var(--sand);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
}

.plans__image-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 600ms var(--ease-out-expo);
}

.plans__card:hover .plans__image-wrap img {
  transform: scale(1.03);
}

.plans__caption {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Gallery — mosaic */
.villa__gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  height: 560px;
}

.villa__gallery figure {
  margin: 0;
  overflow: hidden;
  position: relative;
}

.villa__gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out-expo);
}

.villa__gallery figure:hover img { transform: scale(1.04); }

.villa__gallery figure:nth-child(1) { grid-row: 1 / span 2; }
.villa__gallery figure:nth-child(2) { grid-column: 2; grid-row: 1; }
.villa__gallery figure:nth-child(3) { grid-column: 3; grid-row: 1; }
.villa__gallery figure:nth-child(4) { grid-column: 2; grid-row: 2; }
.villa__gallery figure:nth-child(5) { grid-column: 3; grid-row: 2; }

/* Villa footer (komu etot dom + CTA) */
.villa__footer {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--sand-warm);
}

.villa__for-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-sm);
}

.villa__for-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--stone);
  max-width: 36rem;
}

.villa__footer .btn--primary {
  justify-self: end;
}

/* =====================================================================
   Architecture & Materials
   ===================================================================== */

.architecture {
  background: var(--cream);
  padding: var(--space-3xl) var(--space-xl);
  background-image:
    radial-gradient(at 25% 30%, rgba(107, 122, 82, 0.04) 0%, transparent 55%);
}

.architecture__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.architecture__header {
  max-width: 820px;
  margin-bottom: var(--space-2xl);
}

.architecture__body {
  margin-bottom: var(--space-3xl);
}

.architecture__text {
  max-width: 64ch;
}

.architecture__label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-xs);
}

.architecture__bureau {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  color: var(--stone-dark);
  margin-bottom: var(--space-md);
}

.architecture__copy {
  font-size: 17px;
  line-height: 1.78;
  color: var(--stone);
}

.architecture__copy strong { color: var(--stone-dark); font-weight: 500; }

.materials {
  margin-bottom: var(--space-3xl);
}

.materials__header {
  max-width: 720px;
  margin-bottom: var(--space-xl);
}

.materials__eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-xs);
}

.materials__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.2;
  color: var(--stone-dark);
}

.materials__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--sand-warm);
}

.materials__list li {
  display: grid;
  gap: var(--space-sm);
  padding-right: var(--space-md);
  border-right: 1px solid var(--sand-warm);
}

.materials__list li:last-child {
  border-right: none;
  padding-right: 0;
}

.materials__list h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 19px;
  line-height: 1.2;
  color: var(--stone-dark);
}

.materials__list p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  color: var(--stone);
}

.materials__list em {
  font-style: italic;
  color: var(--terracotta);
  font-variant-numeric: tabular-nums;
}

.architecture__quote {
  margin: 0;
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--sand-warm);
}

.architecture__quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  line-height: 1.35;
  color: var(--stone-dark);
  max-width: 56rem;
  letter-spacing: -0.01em;
}

/* =====================================================================
   Neighbors
   ===================================================================== */

.neighbors {
  background: var(--sand);
  padding: var(--space-3xl) var(--space-xl);
  background-image:
    radial-gradient(at 80% 20%, rgba(184, 89, 64, 0.05) 0%, transparent 50%);
}

.neighbors__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.neighbors__header {
  max-width: 760px;
  margin-bottom: var(--space-2xl);
}

.neighbors__lede {
  margin-top: var(--space-lg);
  font-size: 17px;
  line-height: 1.78;
  color: var(--stone);
  max-width: 38rem;
}

.neighbors__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.neighbor-card {
  background: var(--cream);
  padding: var(--space-lg);
  border-left: 2px solid var(--terracotta);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-lg);
}

.neighbor-card__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 36px;
  line-height: 1;
  color: var(--stone-dark);
  font-variant-numeric: oldstyle-nums;
}

.neighbor-card__desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--stone);
  max-width: 18rem;
}

/* =====================================================================
   Process — 4 steps
   ===================================================================== */

.process {
  background: var(--cream);
  padding: var(--space-3xl) var(--space-xl);
}

.process__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.process__header {
  max-width: 720px;
  margin-bottom: var(--space-2xl);
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  border-top: 1px solid var(--sand-warm);
  padding-top: var(--space-lg);
}

.step {
  display: grid;
  gap: var(--space-sm);
  padding-right: var(--space-md);
  border-right: 1px solid var(--sand-warm);
}

.step:last-child { border-right: none; padding-right: 0; }

.step__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 44px;
  line-height: 1;
  color: var(--terracotta);
  font-variant-numeric: tabular-nums;
}

.step__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  color: var(--stone-dark);
  margin-top: var(--space-xs);
}

.step__text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--stone);
}

.process__note {
  font-family: var(--font-body);
  font-size: 14px;
  font-style: italic;
  color: var(--stone-light);
  max-width: 44rem;
  padding-top: var(--space-md);
  border-top: 1px solid var(--sand-warm);
}

/* =====================================================================
   Visit — final CTA section (dark, fireplace photo)
   ===================================================================== */

.visit {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.visit__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.visit__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(26, 24, 21, 0.78) 0%, rgba(26, 24, 21, 0.32) 70%, rgba(26, 24, 21, 0.55) 100%),
    linear-gradient(to bottom, rgba(26, 24, 21, 0.2) 0%, rgba(26, 24, 21, 0.45) 100%);
  pointer-events: none;
}

.visit__inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl);
  color: var(--cream);
  width: 100%;
}

.visit__eyebrow {
  color: rgba(245, 238, 225, 0.7);
}

.visit__eyebrow .section-eyebrow__num { color: var(--cream); }
.visit__eyebrow::after { background: rgba(245, 238, 225, 0.4); }

.visit__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cream);
  max-width: 800px;
  margin-bottom: var(--space-md);
}

.visit__title-accent {
  display: block;
  color: rgba(245, 238, 225, 0.78);
  margin-top: 0.15em;
}

.visit__text {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: rgba(245, 238, 225, 0.8);
  max-width: 36rem;
  margin-bottom: var(--space-xl);
}

.visit__actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.btn--large {
  min-height: 60px;
  padding: 0 var(--space-xl);
  font-size: 16px;
}

.visit__phone {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(245, 238, 225, 0.78);
  letter-spacing: 0.02em;
  transition: color 200ms var(--ease-out);
}

.visit__phone span {
  color: var(--cream);
  font-variant-numeric: tabular-nums;
  margin-left: 4px;
}

.visit__phone:hover { color: var(--cream); }

/* =====================================================================
   Footer
   ===================================================================== */

.site-footer {
  background: var(--stone-dark);
  color: rgba(245, 238, 225, 0.75);
  padding: var(--space-2xl) var(--space-xl) var(--space-lg);
}

.site-footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(245, 238, 225, 0.12);
}

.site-footer__brand {
  display: grid;
  gap: var(--space-md);
  align-content: start;
}

.site-footer__logo {
  height: 73px;
  width: auto;
  filter: brightness(0) invert(1);
}

.site-footer__tagline {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245, 238, 225, 0.55);
  max-width: 22rem;
}

.site-footer__nav {
  display: grid;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.02em;
  align-content: start;
}

.site-footer__nav a {
  color: rgba(245, 238, 225, 0.82);
  transition: color 200ms var(--ease-out);
}

.site-footer__nav a:hover { color: var(--cream); }

.site-footer__contacts {
  display: grid;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 14px;
  align-content: start;
}

.site-footer__contact {
  color: rgba(245, 238, 225, 0.82);
  font-variant-numeric: tabular-nums;
  transition: color 200ms var(--ease-out);
}

.site-footer__contact:hover { color: var(--cream); }
.site-footer__contact--muted {
  color: rgba(245, 238, 225, 0.5);
  font-size: 13px;
}

.site-footer__bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(245, 238, 225, 0.5);
  letter-spacing: 0.04em;
}

.site-footer__legal {
  display: flex;
  gap: var(--space-md);
}

.site-footer__legal a {
  color: rgba(245, 238, 225, 0.6);
  transition: color 200ms var(--ease-out);
}

.site-footer__legal a:hover { color: var(--cream); }

/* =====================================================================
   Buttons
   ===================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 52px;
  padding: 0 var(--space-lg);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.05em;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 200ms var(--ease-out), transform 200ms var(--ease-out);
  will-change: transform;
}

.btn--primary {
  background: var(--terracotta);
  color: var(--cream);
}
.btn--primary:hover  { background: var(--terracotta-deep); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }
.btn--primary:focus-visible {
  outline: 2px solid rgba(184, 89, 64, 0.65);
  outline-offset: 3px;
}

/* =====================================================================
   Tablet / mobile
   ===================================================================== */

@media (max-width: 1024px) {
  .site-header {
    padding: var(--space-md) var(--space-lg);
  }
  .hero__content {
    padding: var(--space-2xl) var(--space-lg) var(--space-xl);
  }
  .hero__corner {
    bottom: var(--space-lg);
    right: var(--space-lg);
  }

  .about {
    padding: var(--space-2xl) var(--space-lg);
  }
  .about__body {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .about__visual {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }
  .about__stat {
    padding: 0 var(--space-md);
  }
  .about__stat-digit {
    font-size: clamp(4rem, 9vw, 5.5rem);
  }

  .location {
    padding: var(--space-2xl) var(--space-lg);
  }
  .location__body {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .location__map {
    max-width: 480px;
    margin: 0 auto;
  }
  .construction__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .villas {
    padding: var(--space-2xl) var(--space-lg);
  }
  .villas__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .villa__hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .villa__hero-image { aspect-ratio: 16 / 10; }
  .villa__hero-card {
    padding: var(--space-xl) var(--space-lg) var(--space-2xl);
  }
  .villa__body {
    padding: var(--space-xl) var(--space-lg) var(--space-2xl);
  }
  .floor-plan {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  .floor-plan--four {
    grid-template-columns: 1fr 1fr;
  }
  .villa__gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 200px);
    height: auto;
  }
  .villa__gallery figure:nth-child(1) { grid-column: 1 / span 2; grid-row: 1; }
  .villa__gallery figure:nth-child(2) { grid-column: 1; grid-row: 2; }
  .villa__gallery figure:nth-child(3) { grid-column: 2; grid-row: 2; }
  .villa__gallery figure:nth-child(4) { grid-column: 1; grid-row: 3; }
  .villa__gallery figure:nth-child(5) { grid-column: 2; grid-row: 3; }
  .villa__footer {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .villa__footer .btn--primary {
    justify-self: start;
  }

  .architecture { padding: var(--space-2xl) var(--space-lg); }
  .materials__list { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .materials__list li {
    border-right: none;
    padding-right: 0;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--sand-warm);
  }
  .materials__list li:nth-last-child(-n+2):not(:last-child) {
    border-bottom: 1px solid var(--sand-warm);
  }

  .neighbors { padding: var(--space-2xl) var(--space-lg); }
  .neighbors__list { grid-template-columns: 1fr; gap: var(--space-sm); }
  .neighbor-card { min-height: auto; flex-direction: row; align-items: baseline; gap: var(--space-md); }
  .neighbor-card__num { font-size: 32px; }
  .neighbor-card__desc { flex: 1; }

  .process { padding: var(--space-2xl) var(--space-lg); }
  .steps { grid-template-columns: 1fr 1fr; gap: var(--space-md) var(--space-lg); }
  .step {
    border-right: none;
    padding-right: 0;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--sand-warm);
  }

  .visit__inner { padding: var(--space-2xl) var(--space-lg); }

  .site-footer { padding: var(--space-2xl) var(--space-lg) var(--space-md); }
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .site-footer__brand { grid-column: 1 / span 2; }
}

@media (max-width: 768px) {
  .site-header {
    grid-template-columns: auto auto;
    padding: var(--space-sm) var(--space-md);
    gap: var(--space-sm);
  }
  .site-header__nav { display: none; }
  .site-header__brand img { height: 74px; }
  .site-header__meta { gap: var(--space-sm); font-size: 13px; }
  .site-header__lang { display: none; }

  .hero__content {
    padding: calc(var(--space-3xl) + 16px) var(--space-md) var(--space-xl);
  }
  .hero__title {
    font-size: clamp(2rem, 8.4vw, 2.9rem);
    line-height: 1.1;
  }
  .hero__subtitle { font-size: 16px; }
  .hero__cta { gap: var(--space-sm); }
  .hero__cta-note { display: none; }
  .hero__corner { display: none; }

  .about {
    padding: var(--space-2xl) var(--space-md);
  }
  .about__title {
    font-size: clamp(1.7rem, 6.8vw, 2.4rem);
  }
  .about__prose p { font-size: 16px; }
  .about__stats {
    grid-template-columns: 1fr;
    margin-top: var(--space-xl);
  }
  .about__stat {
    flex-direction: row;
    align-items: baseline;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-left: none;
    border-bottom: 1px solid var(--sand-warm);
  }
  .about__stat:first-child {
    padding-top: 0;
  }
  .about__stat:last-child {
    border-bottom: none;
  }
  .about__stat-digit {
    font-size: clamp(3.5rem, 14vw, 4.5rem);
    flex-shrink: 0;
    min-width: 88px;
  }
  .about__stat-label {
    max-width: none;
  }

  .location {
    padding: var(--space-2xl) var(--space-md);
  }
  .section-title {
    font-size: clamp(1.7rem, 6.8vw, 2.4rem);
  }
  .location__prose p { font-size: 16px; }
  .facts-list li {
    grid-template-columns: 110px 1fr;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
  }
  .facts-list__value { font-size: 22px; }
  .facts-list__label { font-size: 14px; }
  .construction__grid {
    grid-template-columns: 1fr;
  }
  .construction__title { font-size: clamp(1.3rem, 5.5vw, 1.7rem); }


  .plans__grid { grid-template-columns: 1fr; }
  .neighbors__list { grid-template-columns: 1fr; }
  .neighbor-card { min-height: auto; flex-direction: row; align-items: baseline; gap: var(--space-md); }
  .neighbor-card__num { font-size: 30px; }
  .neighbor-card__desc { flex: 1; }

  .villas {
    padding: var(--space-2xl) var(--space-md);
  }
  .villa-card__body {
    padding: var(--space-md);
  }
  .villa-card__title { font-size: 28px; }
  .villa-card__lede { font-size: 15px; }

  .villa__hero-card {
    padding: var(--space-lg) var(--space-md) var(--space-xl);
  }
  .villa__body {
    padding: var(--space-xl) var(--space-md) var(--space-2xl);
  }
  .villa__title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .villa__subtitle { font-size: 15px; }
  .villa__prose p { font-size: 18px; }
  .floor-plan,
  .floor-plan--four {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .floor__area { font-size: 30px; }
  .villa__gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 220px);
    height: auto;
  }
  .villa__gallery figure:nth-child(1) { grid-column: 1; grid-row: 1; }
  .villa__gallery figure:nth-child(2) { grid-column: 1; grid-row: 2; }
  .villa__gallery figure:nth-child(3) { grid-column: 1; grid-row: 3; }
  .villa__gallery figure:nth-child(4) { grid-column: 1; grid-row: 4; }
  .villa__gallery figure:nth-child(5) { grid-column: 1; grid-row: 5; }

  .architecture { padding: var(--space-2xl) var(--space-md); }
  .materials__list { grid-template-columns: 1fr; }
  .materials__list li {
    border-bottom: 1px solid var(--sand-warm);
    padding-bottom: var(--space-md);
  }
  .architecture__quote p { font-size: 1.3rem; }

  .neighbors { padding: var(--space-2xl) var(--space-md); }
  .neighbor-card { flex-direction: column; align-items: flex-start; }
  .neighbor-card__num { font-size: 28px; }

  .process { padding: var(--space-2xl) var(--space-md); }
  .steps { grid-template-columns: 1fr; }
  .step__num { font-size: 36px; }
  .step__title { font-size: 19px; }

  .visit { min-height: 70vh; }
  .visit__inner { padding: var(--space-2xl) var(--space-md); }
  .visit__title { font-size: clamp(1.6rem, 6.5vw, 2.4rem); }
  .visit__text { font-size: 15px; }
  .visit__actions { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
  .btn--large { min-height: 52px; padding: 0 var(--space-lg); font-size: 15px; }

  .site-footer { padding: var(--space-xl) var(--space-md) var(--space-md); }
  .site-footer__inner { grid-template-columns: 1fr; gap: var(--space-lg); }
  .site-footer__brand { grid-column: 1; }
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
}

/* =====================================================================
   Lightbox — modal photo viewer
   ===================================================================== */

[data-lightbox] {
  cursor: zoom-in;
}

[data-lightbox]:focus-visible {
  outline: 2px solid rgba(184, 89, 64, 0.65);
  outline-offset: 4px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  background: rgba(20, 18, 16, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox[data-open="true"] {
  display: flex;
  animation: lightbox-fade-in 240ms var(--ease-out-expo);
}

@keyframes lightbox-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox__stage {
  position: relative;
  max-width: min(94vw, 1600px);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: lightbox-image-in 320ms var(--ease-out-expo);
}

@keyframes lightbox-image-in {
  from { opacity: 0; transform: scale(0.985); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox__caption {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(245, 238, 225, 0.65);
  text-align: center;
  max-width: 60ch;
}

.lightbox__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 238, 225, 0.08);
  border: 1px solid rgba(245, 238, 225, 0.3);
  color: var(--cream);
  cursor: pointer;
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

.lightbox__close:hover {
  background: rgba(245, 238, 225, 0.18);
  border-color: rgba(245, 238, 225, 0.75);
}

.lightbox__close:focus-visible {
  outline: 2px solid rgba(184, 89, 64, 0.7);
  outline-offset: 3px;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(245, 238, 225, 0.08);
  border: 1px solid rgba(245, 238, 225, 0.3);
  color: var(--cream);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

.lightbox__nav:hover {
  background: rgba(245, 238, 225, 0.18);
  border-color: rgba(245, 238, 225, 0.75);
}

.lightbox__nav:focus-visible {
  outline: 2px solid rgba(184, 89, 64, 0.7);
  outline-offset: 3px;
}

.lightbox__nav--prev { left: var(--space-md); }
.lightbox__nav--next { right: var(--space-md); }

.lightbox[data-single="true"] .lightbox__nav { display: none; }

.lightbox__counter {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: rgba(245, 238, 225, 0.45);
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .lightbox { padding: var(--space-sm); }
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__nav--prev { left: 4px; }
  .lightbox__nav--next { right: 4px; }
  .lightbox__close { top: 8px; right: 8px; width: 40px; height: 40px; }
  .lightbox__image { max-height: 74vh; }
  .lightbox__counter { font-size: 11px; bottom: 8px; }
  .lightbox__caption { font-size: 12px; }
}

/* =====================================================================
   Reduced motion
   ===================================================================== */

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