/* =========================================================
   HESTATE — Luxury Real Estate
   Aesthetic: Editorial minimalism × refined luxury
   Palette: Deep navy (logo), warm bone, muted gold
   ========================================================= */

:root {
  /* Brand palette */
  --navy: #002446;
  --navy-soft: #0a3157;
  --navy-deep: #001628;
  --bone: #f5f1ea;
  --bone-warm: #ede6d8;
  --bone-light: #faf7f2;
  --cream: #fffdf9;
  --gold: #b89968;
  --gold-soft: #d4b988;
  --charcoal: #2a4348;
  --line: rgba(0, 36, 70, 0.12);
  --line-light: rgba(0, 36, 70, 0.06);
  --shadow-sm: 0 1px 2px rgba(0, 36, 70, 0.04);
  --shadow-md: 0 12px 40px rgba(0, 36, 70, 0.08);
  --shadow-lg: 0 30px 80px rgba(0, 36, 70, 0.12);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --max-w: 1440px;
  --pad-x: clamp(1.25rem, 4vw, 3rem);
  --header-h: 104px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--cream);
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: 0.01em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--navy);
}
h1 { font-size: clamp(3rem, 7vw, 6rem); font-weight: 300; }
h2 { font-size: clamp(2.25rem, 4.5vw, 4rem); font-weight: 300; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); }
h4 { font-size: 1.25rem; }
.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 300; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--navy);
  color: var(--bone);
}
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-outline {
  border-color: currentColor;
  background: transparent;
}
.btn-outline:hover { background: var(--navy); color: var(--bone); border-color: var(--navy); }
.btn-light {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.btn-light:hover { background: #fff; color: var(--navy); }
.btn .arrow { transition: transform 0.4s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px var(--pad-x);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  background: transparent;
}
.site-header.transparent { color: #fff; }
.site-header.scrolled {
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px var(--pad-x);
  border-bottom: 1px solid var(--line-light);
  color: var(--navy);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.header-logo {
  display: inline-block;
  line-height: 0;
}
.header-logo img {
  height: 56px;
  width: auto;
  transition: height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s;
  display: block;
}
.site-header.scrolled .header-logo img {
  height: 40px;
}
/* Default: dark logo on light backgrounds */
.header-logo .logo-light { display: none; }
.header-logo .logo-dark { display: block; }
/* Transparent header (over hero): white logo */
.site-header.transparent:not(.scrolled) .logo-light { display: block; }
.site-header.transparent:not(.scrolled) .logo-dark { display: none; }

.main-nav {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.main-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  transition: opacity 0.3s;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: all 0.3s;
  transform: translateX(-50%);
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.lang-switch button {
  padding: 6px 8px;
  opacity: 0.55;
  transition: opacity 0.2s;
  font-size: inherit;
  letter-spacing: inherit;
  font-weight: inherit;
}
.lang-switch button.active { opacity: 1; }
.lang-switch button:hover { opacity: 1; }
.lang-switch .divider { opacity: 0.3; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: all 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide.active { opacity: 1; }
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0, 22, 40, 0.45) 0%,
    rgba(0, 22, 40, 0.25) 40%,
    rgba(0, 22, 40, 0.6) 100%);
  z-index: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero-slide.active img { transform: scale(1); }

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--pad-x) 80px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold-soft);
}
.hero h1 {
  color: #fff;
  max-width: 900px;
  font-weight: 200;
  margin-bottom: 32px;
  margin-top: 80px;
}
.hero h1 em { font-style: italic; color: var(--gold-soft); font-weight: 300; }
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 64px;
  flex-wrap: wrap;
  gap: 32px;
}
.hero-location {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
}
.hero-location strong { font-weight: 500; }
.hero-controls {
  display: flex;
  align-items: center;
  gap: 24px;
}
.slide-counter {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  opacity: 0.85;
  min-width: 60px;
}
.slide-counter .current { font-size: 16px; }
.slide-controls {
  display: flex;
  gap: 8px;
}
.slide-btn {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: #fff;
}
.slide-btn:hover { background: #fff; color: var(--navy); border-color: #fff; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.85;
  z-index: 2;
}
.hero-scroll-indicator::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.4); transform-origin: top; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section-pad { padding: clamp(80px, 12vh, 140px) var(--pad-x); }
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
  align-items: end;
}
.section-header .eyebrow { margin-bottom: 24px; display: block; }
.section-header h2 { max-width: 600px; }
.section-header p {
  max-width: 460px;
  color: rgba(0, 36, 70, 0.7);
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- Intro / Brand statement ---------- */
.intro {
  background: var(--cream);
  padding: clamp(100px, 14vh, 180px) var(--pad-x);
  position: relative;
}
.intro::before {
  content: 'H';
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(20rem, 40vw, 38rem);
  color: rgba(0, 36, 70, 0.025);
  font-weight: 300;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.intro-text .eyebrow { margin-bottom: 24px; display: block; }
.intro-text h2 { margin-bottom: 32px; }
.intro-text p {
  color: rgba(0, 36, 70, 0.75);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 540px;
}
.intro-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.intro-stat {
  background: var(--cream);
  padding: 40px 32px;
}
.intro-stat .num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 12px;
}
.intro-stat .num .plus { color: var(--gold); }
.intro-stat .label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0, 36, 70, 0.6);
}

/* ---------- Properties Grid ---------- */
.properties-section {
  background: var(--bone-light);
}
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.property-card {
  background: var(--cream);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.property-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.property-card:hover .property-image img { transform: scale(1.06); }
.property-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 253, 249, 0.95);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--navy);
}
.property-fav {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.property-fav:hover { background: #fff; }
.property-fav svg { stroke: var(--navy); fill: none; transition: fill 0.3s; }
.property-fav.active svg { fill: var(--gold); stroke: var(--gold); }

.property-content {
  padding: 28px 28px 32px;
}
.property-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 500;
}
.property-meta .ref { color: rgba(0, 36, 70, 0.45); font-family: var(--font-mono); letter-spacing: 0.1em; }
.property-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 8px;
  color: var(--navy);
}
.property-location {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 36, 70, 0.55);
  margin-bottom: 24px;
}
.property-features {
  display: flex;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  font-size: 13px;
  color: rgba(0, 36, 70, 0.7);
}
.property-feature { display: flex; align-items: center; gap: 6px; }
.property-feature svg { width: 16px; height: 16px; opacity: 0.6; }
.property-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}
.property-price .price {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--navy);
}
.property-price .arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.property-card:hover .property-price .arrow {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ---------- Filter Bar ---------- */
.filter-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-chip {
  padding: 12px 24px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--line);
  background: transparent;
  transition: all 0.3s;
}
.filter-chip:hover { border-color: var(--navy); }
.filter-chip.active {
  background: var(--navy);
  color: var(--bone);
  border-color: var(--navy);
}

/* ---------- Regions / Map Section ---------- */
.regions-section {
  background: var(--navy);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.regions-section .eyebrow { color: var(--gold-soft); }
.regions-section h2 { color: var(--bone); }
.regions-section .section-header p { color: rgba(245, 241, 234, 0.65); }

.regions-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
}
.region-list {
  display: flex;
  flex-direction: column;
}
.region-item {
  padding: 32px 0;
  border-bottom: 1px solid rgba(245, 241, 234, 0.12);
  cursor: pointer;
  transition: padding 0.4s;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.region-item:first-child { border-top: 1px solid rgba(245, 241, 234, 0.12); }
.region-item:hover { padding-left: 12px; }
.region-item.coming-soon { opacity: 0.45; cursor: default; }
.region-item.coming-soon:hover { padding-left: 0; }
.region-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold-soft);
  letter-spacing: 0.1em;
}
.region-info h3 {
  color: var(--bone);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 6px;
  transition: color 0.3s;
}
.region-item:hover .region-info h3 { color: var(--gold-soft); }
.region-info .meta {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.55);
}
.region-info .meta .soon-tag {
  color: var(--gold-soft);
  margin-left: 8px;
}
.region-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 241, 234, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: var(--bone);
}
.region-item:hover .region-arrow {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.region-item.coming-soon .region-arrow {
  border-color: rgba(245, 241, 234, 0.15);
}

.map-container {
  position: relative;
  background: var(--navy-deep);
  border: 1px solid rgba(245, 241, 234, 0.1);
  min-height: 600px;
  overflow: hidden;
}
.map-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.map-pin {
  cursor: pointer;
  transition: all 0.3s;
}
.map-pin .pin-pulse {
  fill: var(--gold);
  opacity: 0;
  transform-origin: center;
  animation: pinPulse 2.4s ease-out infinite;
}
.map-pin .pin-pulse-2 { animation-delay: 0.8s; }
.map-pin.coming-soon .pin-dot { fill: rgba(245, 241, 234, 0.4); }
.map-pin.coming-soon .pin-pulse { fill: rgba(245, 241, 234, 0.3); }
.map-pin.active .pin-dot { fill: var(--gold); }
.map-pin:hover .pin-dot { r: 8; }
@keyframes pinPulse {
  0% { opacity: 0.6; transform: scale(0.5); }
  100% { opacity: 0; transform: scale(3.5); }
}
.map-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: var(--bone);
  transition: fill 0.3s;
  pointer-events: none;
}
.map-pin.coming-soon .map-label { fill: rgba(245, 241, 234, 0.5); }
.map-overlay-info {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(0, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 241, 234, 0.12);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.map-overlay-info .label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 6px;
}
.map-overlay-info .value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--bone);
}
.map-overlay-info .count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(245, 241, 234, 0.7);
}

/* ---------- Quote / Editorial ---------- */
.editorial {
  padding: clamp(120px, 18vh, 200px) var(--pad-x);
  background: var(--bone-warm);
  position: relative;
  text-align: center;
}
.editorial blockquote {
  max-width: 1000px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 3.25rem);
  line-height: 1.25;
  font-weight: 300;
  font-style: italic;
  color: var(--navy);
}
.editorial blockquote::before {
  content: '"';
  display: block;
  font-size: 6rem;
  line-height: 0.5;
  color: var(--gold);
  margin-bottom: 32px;
}
.editorial cite {
  display: block;
  margin-top: 40px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--charcoal);
}

/* ---------- Services ---------- */
.services {
  background: var(--cream);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-item {
  background: var(--cream);
  padding: 56px 40px;
  transition: background 0.4s;
}
.service-item:hover { background: var(--bone-light); }
.service-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}
.service-item h3 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  font-weight: 400;
}
.service-item p {
  color: rgba(0, 36, 70, 0.7);
  line-height: 1.7;
  font-size: 15px;
}

/* ---------- CTA / Newsletter ---------- */
.cta-band {
  padding: clamp(80px, 12vh, 140px) var(--pad-x);
  background: var(--navy);
  color: var(--bone);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 60px;
  background: var(--gold-soft);
  left: 50%;
}
.cta-band::before { top: 0; }
.cta-band::after { bottom: 0; }
.cta-band .eyebrow { color: var(--gold-soft); margin-bottom: 24px; display: block; }
.cta-band h2 {
  color: var(--bone);
  max-width: 800px;
  margin: 0 auto 40px;
  font-weight: 300;
}
.newsletter-form {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  border-bottom: 1px solid rgba(245, 241, 234, 0.3);
  padding-bottom: 4px;
  transition: border-color 0.3s;
}
.newsletter-form:focus-within { border-color: var(--gold-soft); }
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 16px 0;
  color: var(--bone);
  font-size: 15px;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(245, 241, 234, 0.5); }
.newsletter-form button {
  padding: 16px 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-soft);
  transition: color 0.3s;
}
.newsletter-form button:hover { color: var(--bone); }
.cta-disclaimer {
  font-size: 12px;
  color: rgba(245, 241, 234, 0.5);
  margin-top: 16px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(245, 241, 234, 0.7);
  padding: 80px var(--pad-x) 32px;
  font-size: 14px;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(245, 241, 234, 0.1);
}
.footer-brand img { height: 56px; width: auto; margin-bottom: 28px; display: block; }
.footer-brand p {
  max-width: 320px;
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 24px;
}
.footer-col h4 {
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(245, 241, 234, 0.4);
}
.footer-socials { display: flex; gap: 20px; }
.footer-socials a { transition: color 0.2s; }
.footer-socials a:hover { color: var(--gold-soft); }

/* ---------- Page Headers (interior pages) ---------- */
.page-header {
  padding: calc(var(--header-h) + 80px) var(--pad-x) 80px;
  background: var(--cream);
  border-bottom: 1px solid var(--line-light);
}
.page-header .container { max-width: var(--max-w); }
.page-header .eyebrow { display: block; margin-bottom: 24px; }
.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  max-width: 900px;
}
.breadcrumb {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 36, 70, 0.5);
  margin-bottom: 32px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { opacity: 0.4; }

/* ---------- Property Detail Page ---------- */
.property-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  height: 80vh;
  margin-top: var(--header-h);
}
.property-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.property-gallery .main { grid-row: 1 / 3; }
.property-detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  padding: 80px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}
.property-detail-main h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 16px;
}
.property-detail-meta {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.property-detail-meta .item .label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 36, 70, 0.5);
  margin-bottom: 6px;
}
.property-detail-meta .item .val {
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.property-detail-side {
  position: sticky;
  top: 120px;
  align-self: start;
  background: var(--bone-light);
  padding: 40px;
  border: 1px solid var(--line-light);
}
.property-detail-side .price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 6px;
}
.property-detail-side .ref { font-family: var(--font-mono); font-size: 12px; color: rgba(0, 36, 70, 0.5); margin-bottom: 32px; }
.property-detail-side .btn { width: 100%; justify-content: center; margin-bottom: 12px; }

/* ---------- Contact Form ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 24px; }
.contact-info p { color: rgba(0, 36, 70, 0.7); margin-bottom: 32px; line-height: 1.7; }
.contact-detail {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-light);
}
.contact-detail .label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.contact-detail .value {
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.contact-form {
  display: grid;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { position: relative; }
.form-field label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 36, 70, 0.6);
  margin-bottom: 8px;
  display: block;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 16px 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-size: 15px;
  transition: border-color 0.3s;
  outline: none;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--navy); }
.form-field textarea { min-height: 120px; resize: vertical; }

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .lang-switch { display: none; }

  .intro-grid,
  .regions-layout,
  .contact-layout,
  .property-detail-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .section-header { grid-template-columns: 1fr; gap: 24px; }
  .properties-grid,
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .property-gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 60vh; }
  .property-gallery > *:not(.main) { display: none; }
  .property-detail-side { position: static; }

  /* Mobile menu */
  .main-nav.mobile-open {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--cream);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 99;
  }
  .main-nav.mobile-open a { font-size: 14px; }
}

@media (max-width: 640px) {
  .properties-grid,
  .services-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-meta { flex-direction: column; align-items: flex-start; }
  .intro::before { font-size: 16rem; }
  .property-detail-meta { flex-wrap: wrap; gap: 16px; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.coming-soon-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-left: 12px;
  vertical-align: middle;
}
