/* ============================================================
   CASAS DE VERANO — Moñitos, Córdoba
   A 120 m de la playa · Golfo de Morrosquillo

   Tipografías: RNS Camelia (títulos) · Outfit (cuerpo e interfaz)
   Paleta:  principal      #ec632b
            complementarios #fbd6c6 · #f49d50 · #0a6d6f · #0a3f54 · #a1c6b6
   ============================================================ */

/* ---------- Fuentes ---------- */
@font-face { font-family: "RNS Camelia"; src: url("assets/fonts/RNSCamelia-Light.otf") format("opentype");
  font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "RNS Camelia"; src: url("assets/fonts/RNSCamelia-Regular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "RNS Camelia"; src: url("assets/fonts/RNSCamelia-Medium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "RNS Camelia"; src: url("assets/fonts/RNSCamelia-Bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "RNS Camelia"; src: url("assets/fonts/RNSCamelia-Black.otf") format("opentype");
  font-weight: 900; font-style: normal; font-display: swap; }

@font-face { font-family: "Outfit"; src: url("assets/fonts/Outfit-Light.ttf") format("truetype");
  font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("assets/fonts/Outfit-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("assets/fonts/Outfit-Medium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("assets/fonts/Outfit-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Variables ---------- */
:root {
  --orange:  #ec632b;   /* principal */
  --orange-d:#c9491a;   /* hover y textos pequeños sobre claro */
  --peach:   #fbd6c6;
  --amber:   #f49d50;
  --teal:    #0a6d6f;
  --deep:    #0a3f54;   /* secciones oscuras y color de texto */
  --sage:    #a1c6b6;
  --night:   #072b3a;   /* club y footer */

  --ink:     #0a3f54;
  --paper:   #faf7f1;   /* fondo principal cálido */
  --cream:   #f4ece2;   /* fondo alterno */
  --line:    rgba(10, 63, 84, 0.16);
  --muted:   #5b7079;

  --display: "RNS Camelia", Georgia, serif;
  --sans:    "Outfit", system-ui, -apple-system, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 80px);
  --radius: 18px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.06; letter-spacing: -0.01em; }

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

.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 22px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--teal); display: inline-block; }
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: var(--amber); }
.eyebrow.light::before { background: var(--amber); }

.lead { font-size: clamp(19px, 2.1vw, 23px); color: var(--muted); font-weight: 300; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 14.5px;
  letter-spacing: 0.02em;
  padding: 16px 30px; border-radius: 100px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 30px -12px rgba(236,99,43,.7); }
.btn-primary:hover { transform: translateY(-2px); background: var(--orange-d); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-dark { background: var(--deep); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: var(--teal); }
.btn-light { background: #fff; color: var(--orange-d); box-shadow: 0 10px 30px -12px rgba(7,43,58,.55); }
.btn-light:hover { transform: translateY(-2px); background: var(--peach); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 20px 0;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { height: 58px; width: auto; transition: height .35s ease; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 14.5px; font-weight: 400; color: #fff; position: relative; padding: 4px 0; opacity: .92; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px; background: var(--amber); transition: width .3s ease;
}
.nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 16px; }

.site-header.scrolled {
  background: rgba(250, 247, 241, .94);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--line);
}
.site-header.scrolled .brand img { height: 46px; }
.site-header.scrolled .nav a { color: var(--ink); }
.site-header.scrolled .btn-ghost { color: var(--ink); border-color: var(--line); }
.site-header.scrolled .btn-ghost:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,43,58,.5) 0%, rgba(7,43,58,0) 32%),
    linear-gradient(0deg, rgba(7,43,58,.9) 0%, rgba(10,63,84,.25) 58%, rgba(10,63,84,0) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vh, 110px); padding-top: 170px; width: 100%; }
.hero h1 {
  font-size: clamp(44px, 7.2vw, 104px);
  font-weight: 500; max-width: 15ch; margin-bottom: 26px;
  text-shadow: 0 2px 40px rgba(0,0,0,.28);
}
.hero h1 em { font-style: italic; color: var(--peach); }
.hero__sub { max-width: 52ch; font-size: clamp(16px, 1.5vw, 19px); font-weight: 300; opacity: .94; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 28px; margin-top: 54px;
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,.22);
}
.hero__meta div { min-width: 115px; }
.hero__meta b { font-family: var(--display); font-size: clamp(28px, 3.4vw, 40px); font-weight: 500; display: block; line-height: 1; }
.hero__meta span { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }

/* ============================================================
   SECCIONES BASE
   ============================================================ */
section { position: relative; }
.pad { padding-block: clamp(76px, 11vw, 150px); }
.section-head { max-width: 780px; }
.section-head.center { margin-inline: auto; text-align: center; }
h2.display { font-size: clamp(32px, 5vw, 60px); font-weight: 500; line-height: 1.04; margin-bottom: 24px; }
h2.display em { font-style: italic; color: var(--orange); }

/* ---------- Intro / statement ---------- */
.intro { background: var(--paper); text-align: center; }
.intro .statement {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(26px, 4vw, 46px); line-height: 1.22;
  max-width: 20ch; margin: 0 auto; letter-spacing: -0.01em;
}
.intro .statement b { font-weight: 500; color: var(--orange); font-style: italic; }
.intro p.lead { max-width: 60ch; margin: 34px auto 0; }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  margin-top: 64px;
}
.stats .cell { background: var(--paper); padding: 40px 22px; text-align: center; }
.stats b { font-family: var(--display); font-size: clamp(32px, 4.4vw, 52px); font-weight: 500; color: var(--ink); display: block; line-height: 1; }
.stats b i { font-style: normal; color: var(--orange); font-size: .58em; vertical-align: super; }
.stats span { display: block; margin-top: 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 6vw, 96px); }
.split.reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); aspect-ratio: 4/5; }
.split__media.tall img { aspect-ratio: 3/4; }
.split__media.wide img { aspect-ratio: 16/11; }
.split__body h2 { margin-bottom: 22px; }
.split__body p { color: var(--muted); margin: 0 0 18px; }

/* Imagen fija mientras el texto, más largo, se desplaza */
.split.sticky-media { align-items: start; }
.split.sticky-media .split__media { position: sticky; top: 108px; }
.split.sticky-media .split__media img { max-height: calc(100svh - 140px); }

.media-badge {
  position: absolute; left: 24px; bottom: 24px;
  background: rgba(250,247,241,.95); backdrop-filter: blur(6px);
  border-radius: 14px; padding: 16px 22px; max-width: 250px;
  box-shadow: 0 20px 50px -20px rgba(7,43,58,.55);
}
.media-badge b { font-family: var(--display); font-size: 21px; display: block; color: var(--ink); line-height: 1.15; }
.media-badge span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; margin-top: 4px; }

/* ---------- Rejilla de features ---------- */
p.feature-intro {
  font-size: 12.5px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); margin: 34px 0 0;
}
.feature-grid {
  list-style: none; padding: 0; margin: 14px 0 38px;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 34px;
}
.feature-grid li { display: flex; align-items: center; gap: 13px; padding: 15px 0; border-top: 1px solid var(--line); }
.feature-grid li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.feature-grid .ic { flex: 0 0 auto; width: 22px; height: 22px; color: var(--orange); }
.feature-grid b { font-weight: 500; font-size: 15.5px; line-height: 1.35; }
.dark .feature-intro { color: rgba(251,214,198,.65); }
.dark .feature-grid li { border-color: rgba(255,255,255,.16); }
.dark .feature-grid .ic { color: var(--amber); }

/* ---------- Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tags span {
  font-size: 13.5px; font-weight: 400; padding: 9px 18px;
  border: 1px solid var(--line); border-radius: 100px; color: var(--teal); background: var(--paper);
}

/* ---------- Opciones de lote ---------- */
.lotes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 30px 0 34px; }
.lote {
  border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px; background: var(--paper);
  transition: border-color .3s ease, transform .3s ease;
}
.lote:hover { border-color: var(--orange); transform: translateY(-3px); }
.lote b { font-family: var(--display); font-size: 30px; font-weight: 500; display: block; line-height: 1.1; color: var(--ink); }
.lote b i { font-style: normal; font-size: .5em; color: var(--muted); }
.lote span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.lote .tipo { margin-top: 16px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); font-weight: 600; }

/* ============================================================
   SECCIONES OSCURAS
   ============================================================ */
.dark { background: var(--deep); color: #f6efe8; }
.dark h2.display { color: #fff; }
.dark h2.display em { color: var(--amber); }
.dark .lead, .dark p { color: rgba(246,239,232,.78); }

/* Sección a sangre con fotografía de fondo */
.photo-bg { isolation: isolate; overflow: hidden; }
.photo-bg__img { position: absolute; inset: 0; z-index: 0; }
.photo-bg__img img { width: 100%; height: 100%; object-fit: cover; }
.photo-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(7,43,58,.93) 0%, rgba(10,63,84,.84) 55%, rgba(7,43,58,.92) 100%);
}
.photo-bg > .wrap { position: relative; z-index: 2; }
.photo-bg .amen-grid { margin-top: 48px; }
.photo-bg .section-head .lead { color: rgba(255,255,255,.82); }

/* Banda con imagen */
.band { position: relative; color: #fff; overflow: hidden; border-radius: var(--radius); isolation: isolate;
  display: grid; align-items: center; min-height: clamp(320px, 32vw, 440px); }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.band::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(7,43,58,.93) 0%, rgba(10,63,84,.76) 46%, rgba(10,109,111,.15) 100%); }
.band .band__inner { position: relative; z-index: 2; padding: clamp(32px, 4vw, 58px); max-width: 730px; }
.band h2.display { color: #fff; font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 18px; }
.band h2.display em { color: var(--amber); }
.band p { color: rgba(255,255,255,.9); margin: 0 0 4px; }

/* ---------- Amenidades ---------- */
.amen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.amen {
  display: flex; align-items: center; gap: 14px; padding: 20px 20px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
}
.amen .ic { width: 24px; height: 24px; color: var(--amber); flex: 0 0 auto; }
.amen b { font-weight: 400; font-size: 15px; color: #fff; line-height: 1.3; }

/* ---------- Club ---------- */
.club-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
.club-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 34px; }
.club-card h3 { font-size: 26px; color: #fff; margin-bottom: 10px; }
.club-card h3 span { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.club-card ul { list-style: none; padding: 0; margin: 22px 0 0; columns: 2; gap: 20px; }
.club-card li { font-size: 14.5px; padding: 6px 0; color: rgba(246,239,232,.88); break-inside: avoid; }
.club-card li::before { content: "—"; color: var(--sage); margin-right: 8px; }

/* ============================================================
   CARRUSEL
   ============================================================ */
.gallery { background: var(--cream); overflow: hidden; }
.gallery__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.gallery__head .section-head { margin: 0; }
.gallery__head.solo-flechas { justify-content: flex-end; margin-bottom: 28px; }
.gallery__nav { display: flex; gap: 12px; }
.gallery__nav button {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  cursor: pointer; display: grid; place-items: center;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
}
.gallery__nav button:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.gallery__nav button:active { transform: scale(.94); }
.gallery__nav button:disabled { opacity: .35; cursor: default; }
.gallery__nav button:disabled:hover { background: transparent; color: var(--ink); border-color: var(--line); }
.gallery__nav svg { width: 20px; height: 20px; }

/* El carrusel va a sangre; el relleno izquierdo replica el borde de .wrap
   para que la primera foto quede alineada con el título. */
.gallery__track {
  --strip-start: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  display: flex; gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  padding-left: var(--strip-start); padding-right: var(--gutter);
  scroll-padding-left: var(--strip-start);
  scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery__track.dragging .g-item { pointer-events: none; }

.g-item {
  position: relative; flex: 0 0 clamp(280px, 62vw, 780px);
  margin: 0;   /* <figure> trae margen del navegador */
  scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--paper);
}
.g-item img { width: 100%; aspect-ratio: 16/10; object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1); -webkit-user-drag: none; user-select: none; }
.g-item:hover img { transform: scale(1.04); }
.g-item::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7,43,58,.75) 0%, rgba(7,43,58,0) 44%); }
.gallery__track.sin-pie .g-item::after { content: none; }
.g-item figcaption { position: absolute; left: 26px; bottom: 22px; z-index: 2; color: #fff; }
.g-item figcaption b { font-family: var(--display); font-size: clamp(19px, 2.2vw, 27px); font-weight: 500; display: block; line-height: 1.15; }
.g-item figcaption span { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.gallery__hint { margin-top: 22px; font-size: 13px; letter-spacing: .06em; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.gallery__hint svg { width: 18px; height: 18px; }

/* Carrusel sobre fondo oscuro */
.dark .gallery__nav button { border-color: rgba(255,255,255,.3); color: #fff; }
.dark .gallery__nav button:hover { background: #fff; color: var(--ink); border-color: #fff; }
.dark .gallery__nav button:disabled:hover { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.dark .g-item { background: rgba(255,255,255,.06); }
.dark .gallery__hint { color: rgba(246,239,232,.65); }

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

/* ---------- Masterplan ---------- */
.masterplan { background: var(--paper); }
.masterplan__frame {
  margin-top: 48px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #fff; padding: clamp(16px, 3vw, 44px);
}
.masterplan__frame img { margin-inline: auto; max-height: 80vh; width: auto; height: auto; max-width: 100%; }
.masterplan__note { margin: 18px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

/* ============================================================
   FORMULARIO
   ============================================================ */
.contact { background: var(--deep); color: #fff; overflow: hidden; }
.contact__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.contact h2.display { color: #fff; }
.contact h2.display em { color: var(--amber); }
.contact .lead { color: rgba(255,255,255,.78); margin-top: 10px; }
.contact__points { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; }
.contact__points li { display: flex; gap: 14px; align-items: center; font-size: 15.5px; color: rgba(255,255,255,.92); }
.contact__points .ic { width: 22px; height: 22px; color: var(--amber); flex: 0 0 auto; }

.form-card { background: var(--paper); color: var(--ink); border-radius: 22px; padding: clamp(28px, 3.5vw, 44px); box-shadow: 0 40px 90px -40px rgba(0,0,0,.6); }
.form-card h3 { font-size: 27px; margin-bottom: 6px; }
.form-card p.sub { color: var(--muted); font-size: 15px; margin: 0 0 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; margin-bottom: 8px; color: var(--teal); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-weight: 300; font-size: 15.5px; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(236,99,43,.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card .btn-primary { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 16px 0 0; line-height: 1.5; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success.show { display: block; }
.form-success .check { width: 64px; height: 64px; margin: 0 auto 20px; color: var(--teal); }
.form-success h3 { font-size: 26px; margin-bottom: 8px; }
.form-success p { color: var(--muted); }

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.wa-float {
  position: fixed; right: clamp(16px, 3vw, 30px); bottom: clamp(16px, 3vw, 30px);
  z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(37,211,102,.75);
  transition: transform .25s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  background: rgba(7,43,58,.95); padding: clamp(12px, 4vw, 48px);
  opacity: 0; transition: opacity .28s ease;
}
.lightbox.open { display: flex; }
.lightbox.visible { opacity: 1; }
.lightbox__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; gap: 16px; }
.lightbox__img {
  max-width: 100%; max-height: calc(100svh - clamp(120px, 18vh, 190px));
  width: auto; margin-inline: auto; border-radius: 8px; object-fit: contain; background: rgba(255,255,255,.04);
}
.lightbox__cap { text-align: center; color: #fff; }
.lightbox__cap b { font-family: var(--display); font-size: 20px; font-weight: 500; display: block; }
.lightbox__cap span { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.lightbox__cap .lb-count { display: block; margin-top: 8px; text-transform: none; color: rgba(255,255,255,.45); }
.lightbox__cap .lb-count:empty { display: none; }

.lightbox button {
  position: absolute; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28);
  color: #fff; display: grid; place-items: center;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.lightbox button:hover { background: #fff; color: var(--ink); }
.lightbox button:active { transform: scale(.94); }
.lightbox button:disabled { opacity: .3; cursor: default; }
.lightbox button:disabled:hover { background: rgba(255,255,255,.1); color: #fff; }
.lightbox svg { width: 22px; height: 22px; }
.lb-close { top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px); width: 46px; height: 46px; }
.lb-prev, .lb-next { top: 50%; margin-top: -27px; width: 54px; height: 54px; }
.lb-prev { left: clamp(10px, 2.5vw, 30px); }
.lb-next { right: clamp(10px, 2.5vw, 30px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--night); color: #fff; padding-block: 72px 34px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.16); }
.footer__brand img { height: 66px; margin-bottom: 22px; }
.footer__brand p { max-width: 36ch; font-size: 15px; }
.footer__brand .dev { margin-top: 18px; font-size: 13.5px; }
.footer__brand .dev b { font-weight: 600; }
.footer h4 { font-family: var(--sans); font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 20px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer li { font-size: 15px; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: 13px; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .g-item img, .btn, .wa-float, .lightbox { transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .amen-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .nav, .header-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 4px; padding: 20px var(--gutter) 30px;
    background: var(--paper); box-shadow: 0 20px 40px -20px rgba(0,0,0,.3);
  }
  .nav.open a { color: var(--ink); font-size: 17px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .split, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split__media { order: 0; }
  .split__media img, .split__media.tall img { aspect-ratio: 16/11; }
  .split.sticky-media .split__media { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .club-cols { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .lotes, .field-row { grid-template-columns: 1fr; }
  .club-card ul { columns: 1; }
  .hero__meta div { min-width: 45%; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid li:nth-last-child(-n+2) { border-bottom: 0; }
  .feature-grid li:last-child { border-bottom: 1px solid var(--line); }
  .dark .feature-grid li:last-child { border-color: rgba(255,255,255,.16); }
  .lb-prev, .lb-next { top: auto; bottom: 18px; margin-top: 0; width: 48px; height: 48px; }
  .lb-prev { left: 22%; }
  .lb-next { right: 22%; }
  .lightbox__img { max-height: calc(100svh - 240px); }
}
