/* ════════════════════════════════════════════════════════════════
   CELLARTUS v2 — "THE PRIVATE VAULT"
   Hoja de estilos única para todo el sitio (6 páginas + thank-you)
   ------------------------------------------------------------------
   ÍNDICE DE BLOQUES:
   [01] Variables y reset
   [02] Tipografía y utilidades
   [03] Botones y enlaces
   [04] Preloader
   [05] Cursor personalizado (desktop)
   [06] Header / navegación
   [07] Menú móvil
   [08] Hero (home) — "entrar a la cava"
   [09] Barra de confianza
   [10] Secciones genéricas / kickers / watermark
   [11] Marcos de imagen tipo arco (firma visual v2)
   [12] Tarjetas de servicio (home)
   [13] Banda de stats / contadores
   [14] Galería horizontal pineada (home)
   [15] Proceso (3 pasos)
   [16] Google Reviews
   [17] Partners marquee
   [18] Instagram grid
   [19] Blog cards
   [20] CTA banner final
   [21] Footer
   [22] CTAs flotantes (WhatsApp + barra móvil)
   [23] Hero interior (páginas internas)
   [24] Services — landing de conversión (Google Ads)
   [25] FAQ acordeón
   [26] Formularios de lead
   [27] Projects — grid, filtros y lightbox
   [28] About — fundadora, credenciales, equipo
   [29] Contact — panel de contacto y mapa
   [30] Thank-you
   [31] Reveals / animaciones de entrada
   [32] Responsive
   ════════════════════════════════════════════════════════════════ */


/* ════════════════════════════════════════════
   [01] VARIABLES Y RESET
   ════════════════════════════════════════════ */
:root {
  /* Paleta "Private Vault": noir profundo + champaña + burdeos */
  --noir:    #0a0807;   /* fondo principal oscuro */
  --noir-2:  #151009;   /* paneles sobre oscuro */
  --noir-3:  #1f1810;   /* bordes / superficies elevadas */
  --bone:    #efe8db;   /* fondo de secciones claras */
  --ivory:   #f8f3ea;   /* texto sobre oscuro */
  --gold:    #c8a266;   /* dorado champaña principal */
  --gold-2:  #e8cb95;   /* dorado claro (hover / brillos) */
  --wine:    #722f37;   /* acento burdeos */
  --stone:   #a4988a;   /* texto secundario sobre oscuro */
  --umber:   #5e5346;   /* texto secundario sobre claro */
  --line:    rgba(200,162,102,.22);  /* hairlines doradas */
  --line-d:  rgba(94,83,70,.25);     /* hairlines sobre claro */

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body:    "Jost", "Helvetica Neue", sans-serif;
  --font-script:  "Kaushan Script", cursive;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
}

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

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--noir);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }

::selection { background: var(--gold); color: var(--noir); }

/* Scrollbar fino acorde a la marca */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--noir); }
::-webkit-scrollbar-thumb { background: var(--noir-3); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }


/* ════════════════════════════════════════════
   [02] TIPOGRAFÍA Y UTILIDADES
   ════════════════════════════════════════════ */
.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(46px, 7.6vw, 118px);
  line-height: 1.02;
  letter-spacing: -.01em;
}
.h-xl {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 1.06;
}
.h-lg {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.12;
}
.gold { color: var(--gold); }
.italic { font-style: italic; }
.script-accent {
  font-family: var(--font-script);
  font-weight: 400;
  color: transparent;
  background: linear-gradient(100deg, var(--gold) 20%, var(--gold-2) 50%, var(--gold) 80%);
  -webkit-background-clip: text;
  background-clip: text;
}
.center { text-align: center; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section-pad { padding: clamp(80px, 10vw, 150px) 0; }

/* Secciones claras (papel/hueso) */
.section-light { background: var(--bone); color: #221c14; }
.section-light .section-kicker { color: var(--wine); }
.section-light .section-kicker::before { background: var(--wine); }
.section-light p { color: var(--umber); }


/* ════════════════════════════════════════════
   [03] BOTONES Y ENLACES
   ════════════════════════════════════════════ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 36px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--noir);
  background: linear-gradient(100deg, var(--gold), var(--gold-2));
  overflow: hidden;
  transition: color .45s var(--ease-out), transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
  white-space: nowrap;
}
/* Cortina oscura que sube al hacer hover */
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--noir-2);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s var(--ease-out);
  z-index: 0;
}
.btn > * , .btn { z-index: 1; }
.btn span, .btn svg { position: relative; z-index: 1; }
.btn:hover { color: var(--gold-2); box-shadow: 0 14px 40px rgba(200,162,102,.18); }
.btn:hover::after { transform: scaleY(1); }
.btn svg { width: 17px; height: 17px; fill: currentColor; }

.btn--ghost {
  background: transparent;
  color: var(--ivory);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost::after { background: var(--gold); }
.btn--ghost:hover { color: var(--noir); }

.btn--ghost-dark {
  background: transparent;
  color: #221c14;
  box-shadow: inset 0 0 0 1px var(--line-d);
}
.btn--ghost-dark::after { background: #221c14; }
.btn--ghost-dark:hover { color: var(--bone); }

.btn--wa {
  background: #103b2d;
  color: #4be38a;
}
.btn--wa::after { background: #4be38a; }
.btn--wa:hover { color: #103b2d; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Enlace con línea que crece */
.link-line {
  position: relative;
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 8px;
}
.link-line::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(.35);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.link-line:hover::after { transform: scaleX(1); }


/* ════════════════════════════════════════════
   [04] PRELOADER
   Contador 0→100 + nombre de marca, cortina que sube
   ════════════════════════════════════════════ */
#preloader {
  position: fixed; inset: 0;
  z-index: 9999;
  background: var(--noir);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: transform .9s var(--ease-out);
  /* Failsafe SIN JavaScript: si main.js no carga (red, CDN, error),
     esta animación retira la cortina sola a los 4s. main.js la cancela
     al tomar el control (animation: none). */
  animation: preloader-failsafe .9s var(--ease-out) 4s forwards;
}
#preloader.is-done { transform: translateY(-101%); animation: none; }
@keyframes preloader-failsafe {
  to { transform: translateY(-101%); visibility: hidden; }
}
/* Con JS desactivado no hay quien la quite: ocultarla de entrada */
html.no-js #preloader { display: none; }
.pre-script {
  font-family: var(--font-script);
  font-size: clamp(40px, 6vw, 64px);
  background: linear-gradient(100deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pre-line { width: 110px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.pre-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  animation: preline 1.4s var(--ease-out) infinite;
}
@keyframes preline { to { transform: translateX(100%); } }
.pre-tag { font-size: 11px; letter-spacing: .5em; text-transform: uppercase; color: var(--stone); }
.pre-count {
  position: absolute; right: clamp(24px, 5vw, 64px); bottom: clamp(20px, 4vw, 48px);
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  color: var(--noir-3);
}


/* ════════════════════════════════════════════
   [05] CURSOR PERSONALIZADO (solo desktop con puntero fino)
   ════════════════════════════════════════════ */
.cursor-dot, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor-dot {
    display: block;
    position: fixed; top: 0; left: 0;
    width: 6px; height: 6px;
    margin: -3px 0 0 -3px;
    background: var(--gold-2);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9000;
  }
  .cursor-ring {
    display: flex;
    align-items: center; justify-content: center;
    position: fixed; top: 0; left: 0;
    width: 38px; height: 38px;
    margin: -19px 0 0 -19px;
    border: 1px solid rgba(200,162,102,.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 8999;
    transition: width .3s var(--ease-out), height .3s var(--ease-out),
                margin .3s var(--ease-out), background .3s var(--ease-out),
                opacity .3s var(--ease-out);
  }
  /* Estado "hover sobre enlace": el anillo crece */
  .cursor-ring.is-link {
    width: 62px; height: 62px;
    margin: -31px 0 0 -31px;
    background: rgba(200,162,102,.08);
  }
  /* Etiqueta "View" dentro del anillo (galerías) */
  .cursor-ring .cursor-label {
    font-size: 9px; letter-spacing: .28em; text-transform: uppercase;
    color: var(--gold-2); opacity: 0;
    transition: opacity .25s;
  }
  .cursor-ring.is-view { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: rgba(10,8,7,.55); backdrop-filter: blur(2px); }
  .cursor-ring.is-view .cursor-label { opacity: 1; }
}


/* ════════════════════════════════════════════
   [06] HEADER / NAVEGACIÓN
   ════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background .5s, box-shadow .5s, transform .5s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(10,8,7,.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
/* El header se esconde al bajar y reaparece al subir */
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; flex-direction: column; gap: 3px; }
.logo-img { width: clamp(128px, 12vw, 162px); height: auto; }
.logo-tag {
  font-size: 9px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.main-nav a {
  position: relative;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ivory);
  padding: 8px 0;
  transition: color .3s;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--gold-2); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 20px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: .08em;
  color: var(--ivory);
  transition: color .3s;
}
.header-phone svg { width: 15px; height: 15px; fill: var(--gold); }
.header-phone:hover { color: var(--gold-2); }
.btn--header { padding: 13px 26px; font-size: 11px; }

/* Hamburguesa */
.nav-toggle { display: none; flex-direction: column; gap: 6px; padding: 8px; z-index: 1102; }
.nav-toggle span {
  display: block; width: 26px; height: 1.5px;
  background: var(--ivory);
  transition: transform .4s var(--ease-out), opacity .3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }


/* ════════════════════════════════════════════
   [07] MENÚ MÓVIL
   ════════════════════════════════════════════ */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 1100;
  background: var(--noir);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 100px var(--gutter) 48px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .65s var(--ease-out);
}
.mobile-menu.is-open { clip-path: inset(0 0 0% 0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: clamp(34px, 8vw, 52px);
  line-height: 1.25;
  color: var(--ivory);
  display: flex; align-items: baseline; gap: 16px;
  transition: color .3s, transform .3s var(--ease-out);
}
.mobile-menu nav a small {
  font-family: var(--font-body);
  font-size: 11px; letter-spacing: .3em; color: var(--gold);
}
.mobile-menu nav a:hover, .mobile-menu nav a.is-active { color: var(--gold-2); transform: translateX(8px); }
.mm-contact { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 28px; }
.mm-contact a { font-size: 15px; letter-spacing: .1em; color: var(--stone); }
.mm-contact a:hover { color: var(--gold-2); }


/* ════════════════════════════════════════════
   [08] HERO (HOME) — "ENTRAR A LA CAVA"
   La imagen escala con el scroll (scrub GSAP) simulando
   caminar hacia el interior de la cava.
   ════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform-origin: center 38%;
  will-change: transform;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,8,7,.55) 0%, rgba(10,8,7,.18) 38%, rgba(10,8,7,.82) 100%);
}
/* Viñeta lateral para profundidad de "túnel" */
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 120% 90% at 50% 45%, transparent 55%, rgba(10,8,7,.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(110px, 16vh, 170px);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .42em; text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 26px;
}
.hero-eyebrow::before { content: ""; width: 46px; height: 1px; background: var(--gold); }
.hero-sub {
  max-width: 560px;
  margin: 28px 0 40px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(248,243,234,.84);
}
/* Indicador de scroll */
.scroll-hint {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: 40px;
  z-index: 2;
  font-size: 10px; letter-spacing: .4em; text-transform: uppercase;
  color: var(--stone);
  writing-mode: vertical-rl;
  display: flex; align-items: center; gap: 14px;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 56px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollPulse 2s var(--ease-out) infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Animación de líneas del titular (las llena main.js) */
.split-line { display: block; overflow: hidden; }
.split-line > span { display: block; transform: translateY(110%); }
html.no-js .split-line > span, .split-line.is-shown > span { transform: none; }


/* ════════════════════════════════════════════
   [09] BARRA DE CONFIANZA
   ════════════════════════════════════════════ */
.hero-trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--noir);
  position: relative; z-index: 3;
}
.hero-trust .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 22px; padding-bottom: 22px;
}
.hero-trust span {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--stone);
}
.hero-trust b { color: var(--gold-2); font-weight: 500; }


/* ════════════════════════════════════════════
   [10] SECCIONES GENÉRICAS / KICKERS / WATERMARK
   ════════════════════════════════════════════ */
.section-kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 500;
  letter-spacing: .42em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.section-kicker::before { content: ""; width: 38px; height: 1px; background: var(--gold); }
.section-head { margin-bottom: clamp(48px, 6vw, 72px); }
.section-head.center { text-align: center; }
.section-head.center .section-kicker::before { display: none; }

/* Texto gigante de fondo (marca de agua tipográfica) */
.watermark {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(90px, 17vw, 260px);
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(200,162,102,.10);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.section-light .watermark { -webkit-text-stroke-color: rgba(94,83,70,.12); }

/* Statement editorial grande */
.statement {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.3;
  font-weight: 400;
}
.statement em { color: var(--gold); }
.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  position: relative;
}


/* ════════════════════════════════════════════
   [11] MARCOS DE IMAGEN TIPO ARCO — FIRMA VISUAL v2
   Arcos de cava: borde superior redondeado + hairline dorada
   ════════════════════════════════════════════ */
.arch-frame {
  position: relative;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }
/* Doble hairline interior */
.arch-frame::after {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid rgba(232,203,149,.4);
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}
.intro-media.arch-frame { aspect-ratio: 3 / 4; }

/* Marco rectangular con esquinas marcadas */
.tick-frame { position: relative; overflow: hidden; }
.tick-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.tick-frame:hover img { transform: scale(1.05); }


/* ════════════════════════════════════════════
   [12] TARJETAS DE SERVICIO (HOME)
   Lista editorial: filas con imagen flotante al hover (desktop)
   ════════════════════════════════════════════ */
.svc-index { border-top: 1px solid var(--line); }
.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .5s var(--ease-out);
}
.svc-row:hover { padding-left: 18px; }
.svc-num {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 30px);
  font-style: italic;
  color: var(--gold);
}
.svc-row h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3.6vw, 52px);
  line-height: 1.1;
  transition: color .35s;
}
.svc-row p { max-width: 460px; margin-top: 8px; color: var(--stone); font-size: 15px; }
.svc-row:hover h3 { color: var(--gold-2); }
.svc-arrow {
  width: 58px; height: 58px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--gold);
  transition: background .4s, color .4s, transform .5s var(--ease-out);
}
.svc-row:hover .svc-arrow { background: var(--gold); color: var(--noir); transform: rotate(-45deg); }
/* Imagen flotante que sigue al cursor (la mueve main.js) */
.svc-float {
  position: fixed;
  top: 0; left: 0;
  width: 300px; height: 380px;
  object-fit: cover;
  border-radius: 999px 999px 0 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0;
  transform: scale(.85);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.svc-float.is-on { opacity: 1; transform: scale(1); }


/* ════════════════════════════════════════════
   [13] BANDA DE STATS / CONTADORES
   ════════════════════════════════════════════ */
.stats-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--noir-2);
}
.stats-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: clamp(40px, 5vw, 72px) 24px;
  text-align: center;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.4vw, 84px);
  line-height: 1;
  color: var(--gold-2);
}
.stat-num sup { font-size: .5em; color: var(--gold); }
.stat-label { margin-top: 12px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--stone); }


/* ════════════════════════════════════════════
   [14] GALERÍA HORIZONTAL PINEADA (HOME)
   Desktop: sección pineada con scroll horizontal (GSAP scrub).
   Móvil: carril nativo con swipe.
   ════════════════════════════════════════════ */
.hgallery-section { position: relative; overflow: hidden; }
.hgallery-track {
  display: flex;
  gap: clamp(18px, 2.6vw, 36px);
  padding: 0 var(--gutter);
  width: max-content;
  will-change: transform;
}
.hg-card {
  position: relative;
  width: clamp(300px, 33vw, 480px);
  flex-shrink: 0;
  overflow: hidden;
}
.hg-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.hg-card:nth-child(even) { margin-top: clamp(24px, 4vw, 64px); }
.hg-card:hover img { transform: scale(1.06); }
.hg-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,8,7,.78));
}
.hg-label {
  position: absolute;
  left: 22px; bottom: 20px;
  z-index: 2;
}
.hg-label h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.hg-label span { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); }

/* En móvil/tablet el track se vuelve carrusel nativo */
@media (max-width: 1023px) {
  .hgallery-track {
    width: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
  }
  .hg-card { scroll-snap-align: center; }
}


/* ════════════════════════════════════════════
   [15] PROCESO (3 PASOS)
   ════════════════════════════════════════════ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 40px 32px 36px;
  border: 1px solid var(--line-d);
  background: rgba(255,255,255,.35);
  counter-increment: step;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.process-step:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(34,28,20,.12); }
.process-step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 54px;
  line-height: 1;
  color: var(--wine);
  opacity: .85;
  margin-bottom: 20px;
}
.process-step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  margin-bottom: 12px;
  color: #221c14;
}
.process-step p { font-size: 15px; }

/* Variante del proceso sobre fondo oscuro */
.process-grid--dark .process-step { border-color: var(--line); background: var(--noir-2); }
.process-grid--dark .process-step h3 { color: var(--ivory); }
.process-grid--dark .process-step p { color: var(--stone); }
.process-grid--dark .process-step::before { color: var(--gold); }


/* ════════════════════════════════════════════
   [16] GOOGLE REVIEWS
   ════════════════════════════════════════════ */
.greviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.gbadge {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  transition: border-color .3s, background .3s;
}
.gbadge:hover { border-color: var(--gold); background: var(--noir-2); }
.g-letter {
  font-family: Georgia, serif;
  font-size: 30px; font-weight: 700;
  background: linear-gradient(45deg, #4285f4 20%, #ea4335 45%, #fbbc05 65%, #34a853 90%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.g-meta { font-size: 12px; letter-spacing: .08em; color: var(--stone); line-height: 1.5; }
.g-meta b { color: var(--ivory); font-weight: 500; }
.stars { color: var(--gold-2); letter-spacing: 3px; }

.reviews-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(290px, 31vw, 420px);
  gap: clamp(18px, 2.4vw, 32px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--noir-3) transparent;
}
.review-card {
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 18px;
  padding: 36px 32px;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--noir-2), rgba(21,16,9,.4));
  transition: transform .5s var(--ease-out), border-color .4s;
}
.review-card:hover { transform: translateY(-6px); border-color: rgba(200,162,102,.45); }
.rv-text {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.5;
  color: rgba(248,243,234,.92);
  flex-grow: 1;
}
.rv-author { display: flex; align-items: center; gap: 14px; }
.rv-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wine), #4a1d24);
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.rv-name { font-size: 14px; font-weight: 500; letter-spacing: .06em; }
.rv-src { font-size: 11px; letter-spacing: .14em; color: var(--stone); }


/* ════════════════════════════════════════════
   [17] PARTNERS MARQUEE
   ════════════════════════════════════════════ */
.partners-band { padding: clamp(56px, 7vw, 90px) 0; overflow: hidden; }
.marquee { display: flex; gap: 64px; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 64px; }
.marquee-group img {
  height: 56px; width: auto;
  filter: grayscale(1) contrast(.9);
  opacity: .65;
  mix-blend-mode: multiply;
  transition: filter .4s, opacity .4s;
}
.marquee-group img:hover { filter: grayscale(0); opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }


/* ════════════════════════════════════════════
   [18] INSTAGRAM GRID
   ════════════════════════════════════════════ */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.ig-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}
.ig-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out), filter .5s;
}
.ig-tile svg {
  position: absolute;
  top: 50%; left: 50%;
  width: 30px; height: 30px;
  transform: translate(-50%, -50%) scale(.6);
  fill: var(--ivory);
  opacity: 0;
  transition: opacity .4s, transform .4s var(--ease-out);
  z-index: 2;
}
.ig-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(10,8,7,.5);
  opacity: 0;
  transition: opacity .4s;
}
.ig-tile:hover img { transform: scale(1.08); }
.ig-tile:hover::after { opacity: 1; }
.ig-tile:hover svg { opacity: 1; transform: translate(-50%, -50%) scale(1); }


/* ════════════════════════════════════════════
   [19] BLOG CARDS
   ════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
}
.blog-card { display: flex; flex-direction: column; gap: 14px; }
.bc-media { overflow: hidden; aspect-ratio: 16 / 10; }
.bc-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.blog-card:hover .bc-media img { transform: scale(1.06); }
.bc-meta { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.blog-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 23px;
  line-height: 1.25;
  transition: color .3s;
}
.blog-card:hover h3 { color: var(--gold-2); }
.section-light .blog-card:hover h3 { color: var(--wine); }
.blog-card p { font-size: 15px; color: var(--stone); }
.section-light .blog-card p { color: var(--umber); }
.blog-card .link-line { margin-top: 4px; }
.section-light .blog-card .link-line { color: var(--wine); }
.section-light .blog-card .link-line::after { background: var(--wine); }


/* ════════════════════════════════════════════
   [20] CTA BANNER FINAL
   ════════════════════════════════════════════ */
.cta-banner {
  position: relative;
  padding: clamp(110px, 15vw, 200px) 0;
  text-align: center;
  overflow: hidden;
}
.cta-banner .hero-bg img { transform: scale(1.05); }
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner p {
  max-width: 560px;
  margin: 24px auto 40px;
  color: rgba(248,243,234,.85);
}
.cta-banner .btn-row { justify-content: center; }


/* ════════════════════════════════════════════
   [21] FOOTER
   ════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--line);
  background: #070605;
  padding: clamp(64px, 8vw, 110px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(36px, 5vw, 72px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.footer-brand p { margin: 22px 0 26px; font-size: 15px; color: var(--stone); max-width: 340px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .35s, border-color .35s, transform .35s var(--ease-out);
}
.footer-social a svg { width: 17px; height: 17px; fill: var(--stone); transition: fill .35s; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-4px); }
.footer-social a:hover svg { fill: var(--noir); }

.footer-col h4 {
  font-size: 12px; font-weight: 500;
  letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a, .footer-col span { font-size: 15px; color: var(--stone); transition: color .3s, padding-left .3s; }
.footer-col a:hover { color: var(--gold-2); padding-left: 6px; }
.f-contact { display: flex; align-items: center; gap: 12px; }
.f-contact svg { width: 16px; height: 16px; fill: var(--gold); flex-shrink: 0; }
.f-contact a:hover { padding-left: 0; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--umber);
}
.footer-bottom a { color: var(--stone); }
.footer-bottom a:hover { color: var(--gold-2); }


/* ════════════════════════════════════════════
   [22] CTAs FLOTANTES — WhatsApp + barra móvil
   ════════════════════════════════════════════ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 950;
  background: rgba(10,8,7,.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.mobile-cta-bar a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 11px 0 9px;
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ivory);
}
.mobile-cta-bar a svg { width: 19px; height: 19px; fill: var(--gold); }
.mobile-cta-bar a.mcb-wa svg { fill: #25d366; }
.mobile-cta-bar a + a { border-left: 1px solid var(--line); }


/* ════════════════════════════════════════════
   [23] HERO INTERIOR (páginas internas)
   ════════════════════════════════════════════ */
.page-hero {
  position: relative;
  min-height: clamp(420px, 62vh, 640px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero .hero-content { padding-bottom: clamp(56px, 8vh, 90px); }
.breadcrumb {
  display: flex; gap: 10px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--gold-2); }


/* ════════════════════════════════════════════
   [24] SERVICES — LANDING DE CONVERSIÓN (GOOGLE ADS)
   Hero con formulario lateral en desktop
   ════════════════════════════════════════════ */
.svc-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 80px;
}
.svc-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr .9fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.checklist { display: flex; flex-direction: column; gap: 13px; margin: 30px 0 38px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 13px;
  font-size: 15.5px;
  color: rgba(248,243,234,.88);
}
.checklist svg {
  width: 19px; height: 19px;
  fill: var(--gold);
  flex-shrink: 0;
  margin-top: 4px;
}

/* Bloques de servicio alternados */
.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  padding: clamp(56px, 8vw, 110px) 0;
}
.svc-detail + .svc-detail { border-top: 1px solid var(--line-d); }
.svc-detail:nth-child(even) .svc-media { order: 2; }
.svc-media { aspect-ratio: 4 / 4.6; }
.svc-media.arch-frame img { height: 100%; }
.svc-detail h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.1;
  margin-bottom: 18px;
  color: #221c14;
}
.svc-detail > div > p { font-size: 16px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 32px; }
.svc-tags span {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid var(--line-d);
  color: var(--umber);
}


/* ════════════════════════════════════════════
   [25] FAQ ACORDEÓN
   ════════════════════════════════════════════ */
.faq-list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 24px);
  color: var(--ivory);
  transition: color .3s;
}
.faq-q:hover { color: var(--gold-2); }
.faq-icon {
  font-family: var(--font-body);
  font-size: 22px; font-weight: 300;
  color: var(--gold);
  transition: transform .45s var(--ease-out);
  flex-shrink: 0;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .55s var(--ease-out);
}
.faq-a p { padding: 0 4px 28px; color: var(--stone); max-width: 720px; }


/* ════════════════════════════════════════════
   [26] FORMULARIOS DE LEAD
   ════════════════════════════════════════════ */
.lead-panel {
  position: relative;
  padding: clamp(32px, 4vw, 52px);
  background: linear-gradient(165deg, var(--noir-2), rgba(15,12,8,.92));
  border: 1px solid var(--line);
  /* Deja aire bajo el header fijo al saltar por ancla (#lead-form / #contact-form) */
  scroll-margin-top: 100px;
}
/* Esquinas doradas decorativas */
.lead-panel::before, .lead-panel::after {
  content: "";
  position: absolute;
  width: 30px; height: 30px;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.lead-panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.lead-panel::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.lead-panel h2, .lead-panel h3.lp-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.15;
}
.lp-sub { margin: 12px 0 30px; font-size: 14.5px; color: var(--stone); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 10.5px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--ivory);
  background: rgba(248,243,234,.04);
  border: 1px solid var(--line);
  padding: 14px 16px;
  outline: none;
  transition: border-color .3s, background .3s;
  border-radius: 0;
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(164,152,138,.55); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  background: rgba(248,243,234,.07);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c8a266' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field select option { background: var(--noir-2); color: var(--ivory); }
.field textarea { min-height: 110px; resize: vertical; }

.lead-form .btn { width: 100%; justify-content: center; margin-top: 24px; }
.hp-field { position: absolute; left: -5000px; opacity: 0; height: 0; }
.form-note {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px;
  font-size: 12px; letter-spacing: .06em;
  color: var(--stone);
}
.form-note svg { width: 13px; height: 13px; fill: var(--gold); }
.form-status { margin-top: 14px; font-size: 14px; text-align: center; }
.form-status.is-ok { color: #6fd49a; }
.form-status.is-err { color: #e08484; }


/* ════════════════════════════════════════════
   [27] PROJECTS — GRID, FILTROS Y LIGHTBOX
   ════════════════════════════════════════════ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.filter-btn {
  padding: 12px 24px;
  font-size: 11.5px; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--stone);
  border: 1px solid var(--line);
  transition: color .3s, border-color .3s, background .3s;
}
.filter-btn:hover { color: var(--gold-2); border-color: var(--gold); }
.filter-btn.is-active { background: var(--gold); border-color: var(--gold); color: var(--noir); }
.filter-count { font-size: 13px; color: var(--stone); margin-bottom: 28px; letter-spacing: .1em; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 26px);
}
.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  animation: cardIn .8s var(--ease-out) forwards;
}
@keyframes cardIn { to { opacity: 1; transform: none; } }
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.project-card:hover img { transform: scale(1.07); }
.project-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,8,7,.85));
  opacity: .75;
  transition: opacity .4s;
}
.project-card:hover::after { opacity: 1; }
.pc-label {
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
  z-index: 2;
  transform: translateY(6px);
  transition: transform .5s var(--ease-out);
}
.project-card:hover .pc-label { transform: none; }
.pc-label h3 { font-family: var(--font-display); font-weight: 400; font-size: 21px; line-height: 1.2; }
.pc-label span { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  z-index: 2000;
  background: rgba(7,6,5,.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lb-img { max-width: min(1100px, 92vw); max-height: 78vh; object-fit: contain; }
.lb-caption {
  position: absolute;
  bottom: clamp(20px, 4vw, 40px); left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.lb-caption h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.lb-caption span { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); }
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  width: 52px; height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ivory);
  font-size: 19px;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, color .3s;
  z-index: 3;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold); color: var(--noir); }
.lb-close { top: 26px; right: 26px; }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); }


/* ════════════════════════════════════════════
   [28] ABOUT — FUNDADORA, CREDENCIALES, EQUIPO
   ════════════════════════════════════════════ */
.founder-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.founder-media { aspect-ratio: 3 / 3.8; }
.founder-media img { height: 100%; }
.founder-role {
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--wine);
  margin: 6px 0 26px;
}
.founder-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.45;
  color: #221c14;
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin-bottom: 24px;
}
.founder-name {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-script);
  font-size: 34px;
  color: var(--wine);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.credential {
  padding: 38px 32px;
  border: 1px solid var(--line-d);
  background: rgba(255,255,255,.4);
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.credential:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(34,28,20,.1); }
.cr-icon { display: block; font-size: 24px; color: var(--gold); margin-bottom: 18px; }
.credential h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  color: #221c14;
  margin-bottom: 12px;
}
.credential p { font-size: 14.5px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 36px) clamp(18px, 2.4vw, 30px);
}
.team-card { text-align: center; }
.tm-photo {
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  aspect-ratio: 3 / 3.6;
  margin-bottom: 18px;
  position: relative;
}
.tm-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.25);
  transition: transform .9s var(--ease-out), filter .5s;
}
.team-card:hover .tm-photo img { transform: scale(1.06); filter: grayscale(0); }
.team-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 21px; }
.team-card span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }


/* ════════════════════════════════════════════
   [29] CONTACT — PANEL Y MAPA
   ════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.contact-channels { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
.channel {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  transition: border-color .35s, background .35s, transform .35s var(--ease-out);
}
.channel:hover { border-color: var(--gold); background: var(--noir-2); transform: translateX(8px); }
.channel svg { width: 22px; height: 22px; fill: var(--gold); flex-shrink: 0; }
.channel b { display: block; font-size: 15px; font-weight: 500; letter-spacing: .06em; }
.channel small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.map-wrap {
  position: relative;
  border: 1px solid var(--line);
  padding: 10px;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 42vw, 460px);
  border: 0;
  filter: grayscale(.85) contrast(1.05);
  transition: filter .5s;
}
.map-wrap:hover iframe { filter: grayscale(0); }


/* ════════════════════════════════════════════
   [30] THANK-YOU
   ════════════════════════════════════════════ */
.ty-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.ty-hero .container { position: relative; z-index: 2; }
.ty-icon {
  width: 84px; height: 84px;
  margin: 0 auto 32px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.ty-icon svg { width: 36px; height: 36px; fill: var(--gold-2); }
.ty-hero p { max-width: 520px; margin: 22px auto 40px; color: rgba(248,243,234,.85); }
.ty-hero .btn-row { justify-content: center; }


/* ════════════════════════════════════════════
   [31] REVEALS / ANIMACIONES DE ENTRADA
   data-reveal => IntersectionObserver añade .is-in
   Variantes: up (default) | left | right | zoom
   ════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--rv-delay, 0s);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-56px); }
[data-reveal="right"] { transform: translateX(56px); }
[data-reveal="zoom"]  { transform: scale(.92); }
[data-reveal].is-in   { opacity: 1; transform: none; }
/* Sin JS: todo visible */
html.no-js [data-reveal] { opacity: 1; transform: none; }


/* ════════════════════════════════════════════
   [32] RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
}

@media (max-width: 1023px) {
  .intro-grid, .founder-grid, .contact-grid, .svc-hero-grid { grid-template-columns: 1fr; }
  .svc-detail { grid-template-columns: 1fr; gap: 32px; }
  .svc-detail:nth-child(even) .svc-media { order: 0; }
  .svc-media { aspect-ratio: 4 / 3.4; }
  .process-grid, .credentials-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid, .projects-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 56px 1fr auto; }
  .watermark { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .btn { padding: 16px 28px; width: 100%; justify-content: center; }
  .btn--header { width: auto; padding: 11px 18px; font-size: 10px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .process-grid, .credentials-grid, .blog-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card { aspect-ratio: 4 / 3.2; }
  .team-grid, .ig-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust .container { flex-direction: column; gap: 8px; }
  .svc-row { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .svc-arrow { display: none; }
  .scroll-hint { display: none; }
  .mobile-cta-bar { display: flex; }
  .site-footer { padding-bottom: 64px; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .lb-prev, .lb-next { width: 44px; height: 44px; }
}

/* ════════════════════════════════════════════
   SERVICES — Hero de conversión legible en móvil
   (el titular usa .split-line con overflow:hidden,
    así que se ajusta el cuerpo para que no se recorte)
   ════════════════════════════════════════════ */
@media (max-width: 700px) {
  .svc-hero { padding: 110px 0 60px; min-height: auto; }
  .svc-hero-grid { gap: 30px; }

  /* Eyebrow: menos tracking y línea más corta para que no se parta */
  .svc-hero .hero-eyebrow {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 10px;
    letter-spacing: .2em;
    margin-bottom: 18px;
  }
  .svc-hero .hero-eyebrow::before { width: 28px; }

  /* Titular: cuerpo reducido + interlínea con aire para no recortar glifos */
  .svc-hero .h-xl {
    font-size: clamp(28px, 8.4vw, 38px);
    line-height: 1.16;
  }
  .svc-hero .split-line { line-height: 1.16; }

  /* Subtítulo y checklist: tamaño e interlínea cómodos de leer */
  .svc-hero .hero-sub {
    font-size: 15.5px;
    line-height: 1.6;
    margin-top: 18px;
  }
  .svc-hero .checklist { gap: 11px; margin: 22px 0 26px; }
  .svc-hero .checklist li { font-size: 14.5px; line-height: 1.45; }
  .svc-hero .checklist svg { margin-top: 2px; }
}

/* Accesibilidad: usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    transition-duration: .001s !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
