/* ============================================================
   TERRAL — Residencial de playa en Santa Clara, Coclé
   Sistema visual: "plano arquitectónico costero" — línea de tinta
   sobre papel arena, con acentos de terracota al atardecer.
   ============================================================ */

:root {
  /* Color */
  --sand-50: #F6EFE1;
  --sand-100: #EAD9BB;
  --ink-900: #10241F;
  --ink-700: #24413A;
  --ocean-700: #0E5C56;
  --ocean-600: #146962;
  --ocean-400: #3FA79C;
  --white: #FFFDF8;
  --accent: #E4632F; /* terracota atardecer — único acento interactivo */
  --accent-ink: #7A2E12;

  /* Type */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Layout */
  --max-w: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --nav-h: 84px;
}

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

body {
  margin: 0;
  background: var(--sand-50);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
svg { display: block; }

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ocean-600);
  margin: 0 0 12px;
}
.eyebrow--light { color: var(--sand-100); }

.section__head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
  padding: 0 var(--gutter);
}
.section__head--light { color: var(--white); }
.section__head h2 { font-size: clamp(28px, 3.6vw, 44px); }
.section__sub {
  margin-top: 14px;
  font-size: 17px;
  color: var(--ink-700);
  line-height: 1.6;
}
.section__sub--light { color: rgba(246, 239, 225, 0.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 26px -10px rgba(228, 99, 47, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(228, 99, 47, 0.7); }
.btn--ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: rgba(16, 36, 31, 0.28);
}
.btn--ghost:hover { border-color: var(--ink-900); transform: translateY(-2px); }
.btn--nav { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 16px; width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ocean-600);
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.link-arrow:hover { border-color: var(--ocean-600); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(246, 239, 225, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(16, 36, 31, 0.08);
  height: 68px;
}
.nav__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__logo { width: 34px; height: 34px; border-radius: 50%; }
.nav__brand-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: 0.02em; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a:not(.btn) { font-size: 14.5px; font-weight: 600; opacity: 0.85; transition: opacity 0.2s ease; }
.nav__links a:not(.btn):hover { opacity: 1; }
.nav__toggle { display: none; background: none; border: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink-900); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg video { width: 100%; height: 100%; object-fit: cover; }
.hero__bg-fallback { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease; }
.hero__bg-fallback.is-visible { opacity: 1; }
.hero__fallback-svg { width: 100%; height: 100%; object-fit: cover; }
.hero__grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
  opacity: 0.5;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,36,31,0.15) 0%, rgba(16,36,31,0.15) 40%, rgba(16,36,31,0.82) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter) 110px;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand-100);
  margin: 0 0 18px;
}
.hero__title {
  font-size: clamp(64px, 12vw, 148px);
  line-height: 0.92;
  margin: 0 0 18px;
  font-weight: 700;
}
.hero__tagline {
  font-size: clamp(18px, 2vw, 24px);
  max-width: 560px;
  color: rgba(246, 239, 225, 0.92);
  margin: 0 0 34px;
  font-weight: 500;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__actions .btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.4); }
.hero__actions .btn--ghost:hover { border-color: var(--white); }

.hero__badge {
  position: absolute;
  z-index: 2;
  top: calc(var(--nav-h) + 24px);
  right: var(--gutter);
  background: rgba(16, 36, 31, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(246, 239, 225, 0.25);
  border-radius: 12px;
  padding: 12px 18px;
  text-align: right;
  color: var(--white);
}
.hero__badge-label { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; margin-bottom: 4px; }
.hero__badge-value { display: block; font-weight: 700; font-size: 15px; }
.hero__badge-value #heroBadgeCount { color: var(--accent); font-family: var(--font-mono); }

.hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 20px;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--white);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease infinite;
}
@keyframes scrollDot {
  0% { top: 8px; opacity: 1; }
  70% { top: 22px; opacity: 0; }
  100% { top: 22px; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero__scroll span { animation: none; } }

/* ---------- Intro ---------- */
.intro { padding: 120px var(--gutter) 90px; }
.intro__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.intro__inner h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 22px; }
.intro__text { font-size: 18px; color: var(--ink-700); line-height: 1.75; }
.intro__text em { font-style: italic; color: var(--ocean-600); font-weight: 600; }

.intro__stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1.5px solid rgba(16,36,31,0.14);
  padding-top: 36px;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  color: var(--ink-900);
}
.stat__label { font-size: 13.5px; color: var(--ink-700); }

/* ---------- Project ---------- */
.project { padding: 40px var(--gutter) 120px; }
.project__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}
.project__text h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 20px; }
.project__text p { color: var(--ink-700); margin-bottom: 16px; font-size: 16.5px; line-height: 1.75; }
.project__facts {
  margin: 30px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(16,36,31,0.14);
}
.project__facts li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(16,36,31,0.14);
  font-size: 15px;
}
.project__facts strong { font-weight: 700; }
.project__facts span { color: var(--ink-700); text-align: right; }

.project__map {
  position: sticky;
  top: 110px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid rgba(16,36,31,0.16);
  aspect-ratio: 4 / 5;
  position: relative;
}
.project__map iframe { width: 100%; height: 100%; border: 0; filter: sepia(0.15) saturate(1.1); }
.project__map-tag {
  position: absolute;
  bottom: 14px; left: 14px; right: 14px;
  background: rgba(16,36,31,0.85);
  color: var(--sand-50);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 8px;
}

/* ---------- Models ---------- */
.models { padding: 40px var(--gutter) 120px; }
.models__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.model-card {
  background: var(--white);
  border: 1.5px solid rgba(16,36,31,0.14);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.model-card--featured { border-color: var(--accent); box-shadow: 0 20px 40px -24px rgba(228,99,47,0.45); }
.model-card__art { background: var(--sand-100); padding: 20px 20px 0; }
.model-svg { width: 100%; height: auto; }
.model-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.model-card__tag {
  align-self: flex-start;
  background: var(--accent);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.model-card__body h3 { font-size: 21px; }
.model-card__body > p { color: var(--ink-700); font-size: 14.5px; line-height: 1.6; }
.model-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin: 8px 0 4px;
  padding: 14px 0;
  border-top: 1px solid rgba(16,36,31,0.12);
  border-bottom: 1px solid rgba(16,36,31,0.12);
}
.model-card__specs div { display: flex; flex-direction: column; }
.model-card__specs dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-700); opacity: 0.7; }
.model-card__specs dd { margin: 2px 0 0; font-family: var(--font-mono); font-weight: 600; font-size: 15px; }
.model-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.model-card__price { font-family: var(--font-mono); font-weight: 600; font-size: 15px; color: var(--ocean-600); }

/* ---------- Master plan ---------- */
.masterplan { background: var(--ink-900); padding: 110px var(--gutter) 90px; color: var(--white); }
.masterplan__stage { max-width: 1000px; margin: 0 auto; }
.masterplan__svg { width: 100%; height: auto; border-radius: var(--radius); background: var(--sand-50); }
.mp-lots rect { fill: var(--sand-100); stroke: var(--ink-900); stroke-width: 2; opacity: 0; transform-origin: center; transform-box: fill-box; }
.mp-lots--f2 rect { fill: rgba(63,167,156,0.28); }
.mp-lots--f3 rect { fill: rgba(228,99,47,0.16); }
.mp-park { opacity: 0; }
.mp-road-line { stroke-dasharray: 14 10; }
.mp-pool { fill: var(--ocean-400); opacity: 0.55; stroke: var(--ink-900); stroke-width: 2; }
.mp-clubhouse { fill: var(--sand-100); stroke: var(--ink-900); stroke-width: 2; }
.mp-gate { fill: var(--accent); opacity: 0.85; stroke: var(--ink-900); stroke-width: 2; }
.mp-pin { opacity: 0; transform: translate(var(--px), var(--py)) scale(0.4); transform-box: fill-box; }
.mp-pin circle { fill: var(--accent); stroke: var(--sand-50); stroke-width: 3; }
.mp-pin text { fill: var(--white); font-family: var(--font-mono); font-weight: 700; font-size: 15px; text-anchor: middle; }

.masterplan__legend {
  max-width: 1000px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  font-size: 14.5px;
  color: rgba(246,239,225,0.85);
}
.masterplan__legend li { display: flex; align-items: center; gap: 10px; }
.mp-legend-dot {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.masterplan__phases { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.mp-phase-tag {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(246,239,225,0.3);
}
.mp-phase-tag--f1 { background: var(--sand-100); color: var(--ink-900); border-color: transparent; }
.mp-phase-tag--f2 { color: var(--ocean-400); }
.mp-phase-tag--f3 { color: var(--accent); }

/* ---------- Availability (signature) ---------- */
.availability { padding: 110px var(--gutter); text-align: center; }
.availability__inner { max-width: 780px; margin: 0 auto; }
.availability__inner h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 4px 0 16px; }

.availability__stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 44px 0 38px;
  flex-wrap: wrap;
}
.availability__stat { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: var(--ink-700); }
.availability__num { font-family: var(--font-mono); font-size: 40px; font-weight: 600; color: var(--ink-900); }
.availability__stat--accent .availability__num { color: var(--accent); }

.availability__grid {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 6px;
  max-width: 620px;
  margin: 0 auto 30px;
}
.availability__cell {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--sand-100);
  border: 1.5px solid rgba(16,36,31,0.25);
}
.availability__cell.is-sold { background: var(--accent); border-color: var(--accent); }

.availability__bar {
  max-width: 620px;
  margin: 0 auto 36px;
  height: 8px;
  border-radius: 999px;
  background: var(--sand-100);
  overflow: hidden;
}
.availability__bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 999px;
}

/* ---------- Amenities ---------- */
.amenities { padding: 40px var(--gutter) 120px; }
.amenities__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 26px;
}
.amenity { display: flex; flex-direction: column; gap: 12px; }
.amenity__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--sand-100);
  color: var(--ocean-700);
  display: flex; align-items: center; justify-content: center;
}
.amenity__icon svg { width: 24px; height: 24px; }
.amenity h3 { font-size: 16.5px; }
.amenity p { font-size: 14px; color: var(--ink-700); line-height: 1.55; }

/* ---------- Gallery ---------- */
.gallery { padding: 40px var(--gutter) 120px; background: var(--sand-100); }
.gallery__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 18px;
}
.gallery__item {
  position: relative;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  background: none;
  grid-row: span 1;
  transition: transform 0.3s ease;
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item:hover { transform: translateY(-4px); }
.gallery__plate {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 14%;
}
.gallery__plate--sand { background: var(--sand-50); }
.gallery__plate--ocean { background: var(--ocean-700); }
.gallery__plate svg { width: 100%; height: 100%; }
.gallery__label {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(16,36,31,0.78);
  color: var(--sand-50);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
}

/* ---------- Process ---------- */
.process { padding: 40px var(--gutter) 120px; }
.process__track { max-width: var(--max-w); margin: 0 auto; }
.process__line { width: 100%; height: 4px; margin-bottom: 8px; }
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.process-step { display: flex; flex-direction: column; gap: 10px; }
.process-step__num { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--accent); }
.process-step h3 { font-size: 18px; }
.process-step p { font-size: 14.5px; color: var(--ink-700); line-height: 1.6; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 40px var(--gutter) 120px; }
.testimonials__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial {
  margin: 0;
  background: var(--white);
  border: 1.5px solid rgba(16,36,31,0.14);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.testimonial__stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; }
.testimonial p { font-size: 15.5px; line-height: 1.65; color: var(--ink-900); }
.testimonial footer { font-size: 13.5px; font-weight: 700; color: var(--ink-700); }
.testimonial footer span { font-weight: 500; opacity: 0.75; }

/* ---------- Contact ---------- */
.contact { background: var(--ink-900); color: var(--white); padding: 100px var(--gutter) 120px; }
.contact__card {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact__info h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 6px 0 16px; }
.contact__text { color: rgba(246,239,225,0.78); font-size: 15.5px; line-height: 1.7; margin-bottom: 28px; }
.contact__social { margin-top: 20px; }
.contact__social-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  color: rgba(246,239,225,0.85);
  border-bottom: 1px solid rgba(246,239,225,0.3);
  padding-bottom: 2px;
}
.contact__social-link:hover { color: var(--white); border-color: var(--white); }
.contact__details { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.contact__detail { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid rgba(246,239,225,0.16); padding-top: 12px; }
.contact__detail-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; }
.contact__detail-value { font-size: 15px; font-weight: 600; }

.reserve__card {
  background: var(--sand-50);
  color: var(--ink-900);
  border-radius: var(--radius);
  padding: 32px;
}
.reserve__card h3 { font-size: 22px; margin: 4px 0 8px; }
.reserve__sub { font-size: 14px; color: var(--ink-700); margin-bottom: 22px; }
.reserve__form { display: flex; flex-direction: column; gap: 14px; }
.reserve__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reserve__field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.reserve__field input, .reserve__field select, .reserve__field textarea {
  font: inherit;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1.5px solid rgba(16,36,31,0.22);
  background: var(--white);
  color: var(--ink-900);
  resize: vertical;
}
.reserve__field input:focus, .reserve__field select:focus, .reserve__field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.reserve__submit { margin-top: 6px; }
.reserve__note { font-size: 13px; color: var(--ocean-600); min-height: 18px; margin: 0; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-900); color: var(--sand-100); border-top: 1px solid rgba(246,239,225,0.12); }
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px var(--gutter) 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__logo { width: 30px; height: 30px; border-radius: 50%; }
.footer__brand-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { font-size: 14px; opacity: 0.8; }
.footer__links a:hover { opacity: 1; }
.footer__contact { display: flex; align-items: center; gap: 16px; font-size: 13.5px; opacity: 0.85; }
.footer__social { display: inline-flex; opacity: 0.85; }
.footer__social:hover { opacity: 1; }
.footer__bottom { border-top: 1px solid rgba(246,239,225,0.1); padding: 18px var(--gutter); text-align: center; }
.footer__bottom p { font-size: 12.5px; opacity: 0.6; }
.footer__credit-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; opacity: 1; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  left: 22px; bottom: 22px;
  z-index: 400;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(0,0,0,0.4);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 900;
  background: rgba(16,36,31,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox__stage { width: min(90vw, 560px); aspect-ratio: 1; }
.lightbox__stage svg { width: 100%; height: 100%; }
.lightbox__caption { color: var(--sand-50); font-family: var(--font-mono); font-size: 13px; margin-top: 20px; letter-spacing: 0.03em; }
.lightbox__close {
  position: absolute; top: 24px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(246,239,225,0.12);
  color: var(--sand-50);
  border: none;
  font-size: 26px;
  line-height: 1;
}
.lightbox__close:hover { background: rgba(246,239,225,0.22); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .project__grid { grid-template-columns: 1fr; }
  .project__map { position: static; aspect-ratio: 16/9; }
  .models__grid { grid-template-columns: 1fr 1fr; }
  .amenities__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .process__steps { grid-template-columns: 1fr 1fr; gap: 34px; }
  .process__line { display: none; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .contact__card { grid-template-columns: 1fr; gap: 48px; }
  .intro__stats { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--sand-50);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px var(--gutter) 30px;
    gap: 18px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 12px 20px -12px rgba(16,36,31,0.2);
  }
  .nav__links.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav__links .btn--nav { margin-top: 6px; }
  .nav__toggle { display: flex; }

  .hero__badge { top: auto; bottom: 108px; right: 16px; left: 16px; text-align: left; }
  .hero__content { padding-bottom: 150px; }

  .models__grid { grid-template-columns: 1fr; }
  .amenities__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .process__steps { grid-template-columns: 1fr; }
  .availability__grid { grid-template-columns: repeat(10, 1fr); }
  .availability__stats { gap: 28px; }
  .reserve__row { grid-template-columns: 1fr; }
  .masterplan__legend { grid-template-columns: 1fr; }
  .intro__stats { grid-template-columns: 1fr 1fr; }
}
