/* =========================================================
   TEXTURES DESIGN — CDMX
   Rediseño integral. Sistema de diseño propio inspirado
   en la identidad real de marca (madera + oro sobre negro).
   ========================================================= */

/* ---------------------------------------------------------
   1. TOKENS
   --------------------------------------------------------- */
:root{
  /* titulos: serif editorial fina · texto y etiquetas: sans geometrica ligera */
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-text: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-accent: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* superficie */
  --void: #08070a;
  --void-1: #0d0c0e;
  --void-2: #151318;
  --void-3: #1e1b20;
  --bg: var(--void);
  --surface: var(--void-2);
  --line: rgba(244, 240, 233, 0.1);
  --line-2: rgba(244, 240, 233, 0.18);
  --line-3: rgba(244, 240, 233, 0.3);

  /* texto */
  --ink: #f7f3ec;
  --ink-dim: #ddd6c9;
  --ink-mute: #a89f8e;

  /* marca: madera + oro, extraidos del logo */
  --walnut: #6b4529;
  --walnut-2: #8a5c37;
  --gold: #c9a24e;
  --gold-2: #e2c581;
  --gold-dim: rgba(201, 162, 78, 0.16);

  --whatsapp: #25d366;
  --whatsapp-dark: #1aa955;

  --ok: #4caf7d;

  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;
  --radius-pill: 999px;

  --container: 1280px;
  --container-narrow: 1120px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(88px, 11vw, 160px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --dur-s: 0.35s;
  --dur-m: 0.6s;
  --dur-l: 1s;

  --shadow-card: 0 24px 60px -20px rgba(0,0,0,0.55);
  --shadow-gold: 0 18px 44px -18px rgba(201,162,78,0.45);
}

/* Secciones con tema claro: se alternan con las oscuras para dar
   ritmo y aire. Solo se redefinen tokens; los componentes no cambian. */
.theme-light{
  --bg: #f6f1e8;
  --surface: #fffdf9;
  --line: rgba(33, 26, 18, 0.12);
  --line-2: rgba(33, 26, 18, 0.2);
  --line-3: rgba(33, 26, 18, 0.34);

  --ink: #1f1912;
  --ink-dim: #483f33;
  --ink-mute: #6b5f4f;

  /* el dorado claro no contrasta sobre crema: se usa su version profunda */
  --gold: #a47a2a;
  --gold-2: #7e5a18;
  --gold-dim: rgba(164, 122, 42, 0.14);

  --shadow-card: 0 24px 60px -28px rgba(60, 40, 12, 0.35);

  background: var(--bg);
  color: var(--ink);
}

/* ---------------------------------------------------------
   2. RESET
   --------------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }

html{
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* escala global mayor: todo lo medido en rem crece con esta base */
  font-size: 112.5%;
}
@media (max-width: 640px){ html{ font-size: 106.25%; } }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

body{
  max-width: 100%;
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html.is-loading, body.nav-open, body.lightbox-open{
  overflow: hidden;
  height: 100%;
}

img{ display: block; max-width: 100%; }
svg{ display: block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p,figure{ margin: 0; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select{ font: inherit; color: inherit; }

::selection{ background: var(--gold); color: #1a1408; }

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

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

.container--narrow{ max-width: var(--container-narrow); }

#scroll-sentinel{
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

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

.vh{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link{
  position: fixed;
  top: -60px; left: 12px;
  z-index: 999;
  background: var(--gold);
  color: #1a1408;
  padding: 10px 18px;
  border-radius: var(--radius-s);
  font-weight: 700;
  transition: top var(--dur-s) var(--ease);
}
.skip-link:focus{ top: 12px; }

/* ---------------------------------------------------------
   3. TYPE SCALE
   --------------------------------------------------------- */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-accent);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.eyebrow::before{
  content: "";
  width: 34px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-head{
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: clamp(48px, 7vw, 88px);
  max-width: 880px;
}
.section-head--wide{ max-width: 1040px; }

.section-title{
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.04;
  font-size: clamp(2.7rem, 6vw, 4.9rem);
  text-wrap: balance;
}

.section-desc{
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 56ch;
}

.text-gold{ color: var(--gold-2); }

/* palabra de acento: cursiva dorada para que el titulo llame la atencion */
em.accent{
  font-style: italic;
  font-weight: 400;
  color: var(--gold-2);
}

/* ---------------------------------------------------------
   4. BUTTONS
   --------------------------------------------------------- */
.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  padding: 18px 36px;
  border-radius: var(--radius-pill);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  isolation: isolate;
  transition: transform var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease);
}
.btn:active{ transform: scale(0.97); }

.btn-icon{ width: 20px; height: 20px; flex-shrink: 0; }

.btn-primary{
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, var(--walnut-2));
  color: #1a1408;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -16px rgba(201,162,78,0.6);
}

.btn-outline{
  border: 1px solid var(--line-3);
  color: var(--ink);
  background: rgba(244,240,233,0.03);
  backdrop-filter: blur(6px);
}
.btn-outline:hover{
  border-color: var(--gold);
  color: var(--gold-2);
  transform: translateY(-2px);
}

.btn-lg{ padding: 21px 42px; font-size: 1.12rem; }
.btn-block{ width: 100%; }

.btn-ghost-sm{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-dim);
  border-bottom: 1px solid var(--line-3);
  padding-bottom: 2px;
  transition: color var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease);
}
.btn-ghost-sm:hover{ color: var(--gold-2); border-color: var(--gold); }

/* magnetic wrapper: JS aplica transform inline en .magnetic */
.magnetic{ will-change: transform; }

/* ---------------------------------------------------------
   5. PRELOADER
   --------------------------------------------------------- */
.preloader{
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--void);
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
.preloader::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 50% 30%, rgba(201,162,78,0.08), transparent 70%);
}
html:not(.is-loading) .preloader{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
html:not(.js) .preloader{ display: none; }
html:not(.js) [data-reveal],
html:not(.js) [data-hero]{ opacity: 1; transform: none; }

.preloader-core{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.preloader-ring{
  position: relative;
  width: 108px;
  height: 108px;
}
.preloader-ring svg{ width: 100%; height: 100%; transform: rotate(-90deg); }
.preloader-ring circle{
  fill: none;
  stroke-width: 1.4;
}
.preloader-ring .track{ stroke: var(--line-2); }
.preloader-ring .fill{
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-dasharray: 301.6;
  stroke-dashoffset: 301.6;
  transition: stroke-dashoffset 0.25s var(--ease-soft);
}
.preloader-mark{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-mark img{
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  animation: preloader-breathe 2.2s var(--ease-soft) infinite;
}
@keyframes preloader-breathe{
  0%, 100%{ transform: scale(1); opacity: 0.9; }
  50%{ transform: scale(1.08); opacity: 1; }
}
.preloader-pct{
  font-family: var(--font-accent);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}
.preloader-label{
  font-family: var(--font-accent);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

@media (prefers-reduced-motion: reduce){
  .preloader-mark img{ animation: none; }
}

/* ---------------------------------------------------------
   6. HEADER
   --------------------------------------------------------- */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  padding: 16px 0;
  transition: padding var(--dur-s) var(--ease), background var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled{
  padding: 12px 0;
  background: rgba(8,7,10,0.78);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
/* el logo es un recorte transparente: se muestra completo y grande */
.brand-mark{
  width: 68px; height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.45));
  transition: width var(--dur-s) var(--ease), height var(--dur-s) var(--ease);
}
.site-header.is-scrolled .brand-mark{ width: 54px; height: 54px; }
.brand-word{ display: flex; flex-direction: column; line-height: 1.05; }
.brand-word small{
  margin-top: 4px;
  font-family: var(--font-accent);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--gold-2);
  text-transform: uppercase;
}

.main-nav{
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.nav-links{
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}
.nav-link{
  position: relative;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  padding: 4px 0;
  transition: color var(--dur-s) var(--ease);
}
.nav-link::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--gold);
  transition: right var(--dur-s) var(--ease);
}
.nav-link:hover{ color: var(--ink); }
.nav-link:hover::after{ right: 0; }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  flex-shrink: 0;
}
.nav-toggle span{
  width: 20px; height: 1.4px;
  background: var(--ink);
  margin-inline: auto;
  transition: transform var(--dur-s) var(--ease), opacity var(--dur-s) var(--ease);
}
.nav-open .nav-toggle span:nth-child(1){ transform: translateY(6.4px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
.nav-open .nav-toggle span:nth-child(3){ transform: translateY(-6.4px) rotate(-45deg); }

.header-progress{
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--line);
  transform-origin: left;
}
.header-progress span{
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0);
  transform-origin: left;
}
@supports (animation-timeline: scroll()){
  .header-progress span{
    animation: header-scroll-progress auto linear;
    animation-timeline: scroll(root);
  }
}
@keyframes header-scroll-progress{ from{ transform: scaleX(0); } to{ transform: scaleX(1); } }

@media (max-width: 1060px){
  .nav-links, .nav-cta{ display: none; }
  .nav-toggle{ display: flex; }
}
@media (max-width: 640px){
  .brand-mark{ width: 56px; height: 56px; }
  .site-header.is-scrolled .brand-mark{ width: 48px; height: 48px; }
  .brand{ font-size: 1.4rem; }
}

/* mobile full-screen menu */
.mobile-menu{
  position: fixed;
  inset: 0;
  z-index: 88;
  background: var(--void-1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px var(--gutter);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--dur-m) var(--ease), transform var(--dur-m) var(--ease), visibility var(--dur-m);
}
.nav-open .mobile-menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-menu ul{ display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a{
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 10vw, 3.4rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-menu-footer{
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-menu-socials{
  display: flex;
  gap: 14px;
}

/* ---------------------------------------------------------
   7. HERO
   --------------------------------------------------------- */
.hero{
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 112px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg{
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("img/1.jpg");
  background-size: cover;
  background-position: center 32%;
  transform: scale(1.06);
}
.hero-veil{
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(8,7,10,0.6) 0%, rgba(8,7,10,0.74) 46%, var(--void) 96%),
    linear-gradient(90deg, rgba(8,7,10,0.86) 0%, rgba(8,7,10,0.5) 55%, rgba(8,7,10,0.72) 100%);
}
#particles-canvas{
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  mix-blend-mode: screen;
}

.hero-inner{
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 28px;
  padding-block: 40px 56px;
  text-align: center;
}
.hero-copy{ max-width: 780px; }

/* logo grande en la primera pantalla */
.hero-logo{
  width: clamp(230px, 62vw, 340px);
  aspect-ratio: 1;
}
.hero-logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 50px rgba(0,0,0,0.65)) drop-shadow(0 0 40px rgba(201,162,78,0.18));
  animation: logo-float 9s var(--ease-soft) infinite;
}
@keyframes logo-float{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce){
  .hero-logo img{ animation: none; }
}

@media (min-width: 960px){
  .hero-title{ font-size: clamp(3rem, 5.3vw, 4.1rem); }
  .hero-inner{
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(32px, 5vw, 80px);
    text-align: left;
    justify-items: stretch;
  }
  .hero-copy{ order: 1; max-width: none; }
  .hero-logo{
    order: 2;
    justify-self: center;
    width: min(100%, clamp(380px, 38vw, 560px));
  }
}

.hero-eyebrow{ margin-bottom: 26px; }
@media (max-width: 959px){
  .hero-eyebrow{ justify-content: center; text-align: center; }
  .hero-eyebrow::before{ display: none; }
}

.hero-title{
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  font-size: clamp(3rem, 11vw, 5.2rem);
  margin-bottom: 30px;
}
/* el padding evita que overflow:hidden recorte ascendentes/descendentes de la serif */
.hero-title .line{ display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hero-title .line-inner{ display: block; }
.hero-title .shine{ font-style: italic; font-weight: 400; }
.hero-title .shine{
  background: linear-gradient(100deg, var(--gold-2) 0%, var(--ink) 18%, var(--ink) 60%, var(--gold-2) 78%, var(--gold-2) 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine-sweep 7s linear infinite;
}
@media (prefers-reduced-motion: reduce){
  .hero-title .shine{ animation: none; background: none; -webkit-text-fill-color: var(--ink); }
}
@keyframes shine-sweep{
  0%{ background-position: 200% 0; }
  100%{ background-position: -40% 0; }
}

.hero-desc{
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink);
  max-width: 40ch;
  margin: 0 auto 40px;
}
@media (min-width: 960px){ .hero-desc{ margin-inline: 0; } }

.hero-cta{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}
@media (min-width: 960px){ .hero-cta{ justify-content: flex-start; } }

.hero-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-meta-item{
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  color: var(--ink-mute);
}
.hero-meta-item svg{ width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

.status-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--ink-mute);
}
.status-dot{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink-mute);
  flex-shrink: 0;
}
.status-pill.is-open .status-dot{
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(76,175,125,0.22);
  animation: status-pulse 2.4s ease-in-out infinite;
}
@keyframes status-pulse{
  0%, 100%{ box-shadow: 0 0 0 3px rgba(76,175,125,0.22); }
  50%{ box-shadow: 0 0 0 6px rgba(76,175,125,0.08); }
}
@media (prefers-reduced-motion: reduce){
  .status-pill.is-open .status-dot{ animation: none; }
}

.hero-frame{
  position: absolute;
  inset: 22px;
  z-index: 2;
  border: 1px solid rgba(244,240,233,0.1);
  pointer-events: none;
}
@media (max-width: 720px){ .hero-frame{ display: none; } }

/* ---------------------------------------------------------
   8. MARQUEE (una sola vez en la pagina)
   --------------------------------------------------------- */
.marquee-section{
  position: relative;
  border-block: 1px solid var(--line);
  padding-block: 30px;
  background: var(--void-1);
  overflow: hidden;
}
.marquee-track{
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee-scroll 34s linear infinite;
}
.marquee-section:hover .marquee-track{ animation-play-state: paused; }
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation-duration: 90s; }
}
@keyframes marquee-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
.marquee-item{
  display: flex;
  align-items: center;
  gap: 16px;
  padding-inline: 34px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink-dim);
  white-space: nowrap;
}
.marquee-item svg{ width: 22px; height: 22px; color: var(--gold); }

/* ---------------------------------------------------------
   9. REVEAL SYSTEM
   --------------------------------------------------------- */
[data-reveal]{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--stagger, 0) * 90ms);
}
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }

[data-reveal="scale"]{ transform: scale(0.94); }
[data-reveal="scale"].is-visible{ transform: scale(1); }

[data-reveal="side"]{ transform: translateX(-32px); }
[data-reveal="side"].is-visible{ transform: translateX(0); }

@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity: 1; transform: none; transition: none; }
}

[data-hero]{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--stagger, 0) * 110ms);
}
[data-hero].is-visible{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  [data-hero]{ opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------
   10. SERVICES — BENTO
   --------------------------------------------------------- */
.services{ padding-block: var(--section-y); }

.bento{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: 20px;
}

.bento-cell{
  position: relative;
  grid-column: span 6;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  transition: border-color var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
}
.bento-cell::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(320px circle at var(--x,50%) var(--y,50%), var(--gold-dim), transparent 65%);
  opacity: 0;
  transition: opacity var(--dur-s) var(--ease);
  pointer-events: none;
}
.bento-cell:hover{ border-color: var(--line-3); transform: translateY(-3px); }
.bento-cell:hover::before{ opacity: 1; }

.bento-cell--plain{ background: var(--surface); justify-content: flex-start; box-shadow: var(--shadow-card); }
.bento-cell--photo{
  --ink: #f7f3ec;
  --ink-dim: #e9e2d4;
  --gold-2: #e2c581;
  color: var(--ink);
}
.bento-cell--photo img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: transform 1.2s var(--ease);
}
.bento-cell--photo:hover img{ transform: scale(1.06); }
.bento-cell--photo::after{
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(190deg, rgba(8,7,10,0.12) 0%, rgba(8,7,10,0.5) 38%, rgba(8,7,10,0.94) 100%);
}

.bento-a{ grid-column: span 6; grid-row: span 2; }
.bento-b{ grid-column: span 6; grid-row: span 2; }
.bento-c, .bento-d, .bento-e, .bento-f{ grid-column: span 6; }

@media (min-width: 780px){
  .bento-a{ grid-column: span 4; }
  .bento-b{ grid-column: span 2; }
  .bento-c{ grid-column: span 2; }
  .bento-d{ grid-column: span 2; }
  .bento-e{ grid-column: span 2; }
  .bento-f{ grid-column: span 6; grid-row: span 1; }
}

.bento-index{
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  font-style: italic;
  color: var(--gold-2);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  position: relative; z-index: 1;
}
.bento-cell h3{
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin-bottom: 12px;
  position: relative; z-index: 1;
}
.bento-cell--photo h3,
.bento-cell--photo p{ text-shadow: 0 1px 16px rgba(0,0,0,0.55); }
.bento-cell p{
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--ink-dim);
  line-height: 1.6;
  position: relative; z-index: 1;
  max-width: 42ch;
}
.bento-cell--photo p{ color: var(--ink-dim); }

.services-cta{
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.services-cta p{
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  max-width: 34ch;
}

/* ---------------------------------------------------------
   11. PROCESS — STEPPER
   --------------------------------------------------------- */
.process{ padding-block: var(--section-y); background: var(--void-1); }

.stepper{
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.step-row{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding-block: 38px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.stepper .step-row:last-child{ border-bottom: 1px solid var(--line); }

.step-num{
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.4vw, 3.6rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  color: var(--gold);
}
.step-body h3{
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.step-body p{
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink-dim);
  max-width: 58ch;
  line-height: 1.65;
}

@media (min-width: 760px){
  .step-row{ grid-template-columns: 120px 1fr 1fr; }
  .step-body{ grid-column: 2 / 4; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: baseline; }
}

/* ---------------------------------------------------------
   12. PARALLAX BANNER (una vez, con scroll-driven CSS)
   --------------------------------------------------------- */
.banner{
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.banner-bg{
  position: absolute;
  inset: -10% 0;
  z-index: -2;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  will-change: transform;
}
@supports (animation-timeline: view()){
  .banner-bg{
    animation: banner-parallax linear both;
    animation-timeline: view();
    animation-range: cover 0% cover 100%;
  }
}
@keyframes banner-parallax{
  from{ transform: translateY(-6%); }
  to{ transform: translateY(6%); }
}
.banner-veil{
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,7,10,0.55), rgba(8,7,10,0.86));
}
.banner-content h2{
  max-width: 1000px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.1;
  text-wrap: balance;
}
@media (prefers-reduced-motion: reduce){
  .banner-bg{ animation: none !important; }
}

/* ---------------------------------------------------------
   13. GALLERY — MASONRY
   --------------------------------------------------------- */
.gallery{ padding-block: var(--section-y); }

.masonry{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 640px){ .masonry{ grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1020px){ .masonry{ grid-template-columns: repeat(4, 1fr); } }

.masonry-item{
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.masonry-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease);
}
.masonry-item:hover img{ transform: scale(1.05); }
.masonry-item::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 45%, rgba(8,7,10,0.82) 100%);
  opacity: 0;
  transition: opacity var(--dur-s) var(--ease);
}
.masonry-item:hover::after{ opacity: 1; }
.masonry-item-tag{
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
  color: #f7f3ec;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
}
.masonry-item:hover .masonry-item-tag{ opacity: 1; transform: translateY(0); }

.gallery-more{
  margin-top: 36px;
  text-align: center;
}

/* lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6,5,7,0.94);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-m) var(--ease), visibility var(--dur-m);
  padding: 24px;
}
.lightbox.is-active{ opacity: 1; visibility: visible; }
.lightbox-frame{
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: 86vh;
}
.lightbox-frame img{
  max-width: 100%;
  max-height: 86vh;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-2);
}
.lightbox-caption{
  margin-top: 14px;
  text-align: center;
  color: #cfc7b8;
  font-size: 1.05rem;
}
.lightbox-close, .lightbox-nav{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(244,240,233,0.06);
  border: 1px solid rgba(244,240,233,0.2);
  color: #f7f3ec;
  transition: background var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease);
}
.lightbox-close:hover, .lightbox-nav:hover{ background: rgba(244,240,233,0.14); border-color: #c9a24e; }
.lightbox-close{ top: -18px; right: -18px; }
.lightbox-close svg, .lightbox-nav svg{ width: 20px; height: 20px; }
.lightbox-nav--prev{ left: -60px; top: 50%; transform: translateY(-50%); }
.lightbox-nav--next{ right: -60px; top: 50%; transform: translateY(-50%); }
@media (max-width: 860px){
  .lightbox-close{ top: -52px; right: 0; }
  .lightbox-nav--prev{ left: 4px; }
  .lightbox-nav--next{ right: 4px; }
}

/* ---------------------------------------------------------
   14. CONTACT
   --------------------------------------------------------- */
.contact{ padding-block: var(--section-y); background: var(--void-1); }

.contact-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 940px){
  .contact-grid{ grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
}

.contact-info{ display: flex; flex-direction: column; gap: 30px; }

.contact-card{
  display: flex;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: var(--surface);
}
.contact-card-icon{
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gold-dim);
  color: var(--gold-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card-icon svg{ width: 24px; height: 24px; }
.contact-card h3{
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 6px;
}
.contact-card p, .contact-card a{
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--ink-dim);
  line-height: 1.6;
}
.contact-card a:hover{ color: var(--gold-2); }

.contact-socials{ display: flex; gap: 12px; }
.social-btn{
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--dur-s) var(--ease), color var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
}
.social-btn svg{ width: 22px; height: 22px; }
.social-btn:hover{ border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }

/* form */
.form-panel{
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--void-2), var(--void-1));
}
.form-row{ display: grid; gap: 10px; margin-bottom: 24px; }
.form-row--split{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
@media (min-width: 560px){
  .form-row--split{ grid-template-columns: 1fr 1fr; }
}
.form-row--split .form-row{ margin-bottom: 0; }

.form-label{
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.form-label .req{ color: var(--gold-2); }

.form-control{
  width: 100%;
  padding: 17px 18px;
  font-size: 1.1rem;
  font-weight: 400;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-2);
  background: var(--void);
  color: var(--ink);
  transition: border-color var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease);
}
.form-control::placeholder{ color: var(--ink-mute); }
.form-control:focus{
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
  outline: none;
}
textarea.form-control{ resize: vertical; min-height: 140px; }

.form-help{ font-size: 0.95rem; color: var(--ink-mute); }
.form-error{
  font-size: 0.95rem;
  color: #f0957e;
  display: none;
}
.form-row.has-error .form-control{ border-color: #e2836b; }
.form-row.has-error .form-error{ display: block; }

.form-note{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 1rem;
  color: var(--ink-mute);
}
.form-note svg{ width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

.form-success{
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-s);
  background: rgba(76,175,125,0.12);
  border: 1px solid rgba(76,175,125,0.32);
  color: #a9e8c7;
  font-size: 1rem;
}
.form-success.is-visible{ display: flex; }
.form-success svg{ width: 18px; height: 18px; flex-shrink: 0; }

/* ---------------------------------------------------------
   15. FOOTER
   --------------------------------------------------------- */
.site-footer{
  padding-block: 64px 32px;
  border-top: 1px solid var(--line);
}
.footer-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 760px){
  .footer-grid{ grid-template-columns: 1.3fr 0.8fr 0.8fr; gap: 48px; }
}
.footer-brand p{
  margin-top: 16px;
  color: var(--ink-dim);
  max-width: 42ch;
  line-height: 1.65;
  font-size: 1.05rem;
  font-weight: 400;
}
.footer-col h4{
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 18px;
}
.footer-col ul{ display: flex; flex-direction: column; gap: 12px; }
.footer-col a{
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink-dim);
  transition: color var(--dur-s) var(--ease);
}
.footer-col a:hover{ color: var(--gold-2); }

.footer-bottom{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-mute);
}
.footer-bottom a{ color: var(--ink-mute); }
.footer-bottom a:hover{ color: var(--gold-2); }

/* ---------------------------------------------------------
   16. WHATSAPP FLOAT
   --------------------------------------------------------- */
.whatsapp-float{
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 80;
  width: 68px; height: 68px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--whatsapp), var(--whatsapp-dark));
  color: #fff;
  box-shadow: 0 16px 40px -10px rgba(0,0,0,0.55);
  transition: transform var(--dur-s) var(--ease);
}
.whatsapp-float:hover{ transform: translateY(-3px) scale(1.04); }
.whatsapp-float svg{ width: 32px; height: 32px; }
.whatsapp-float-pulse{
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: wa-pulse 2.6s ease-out infinite;
}
@keyframes wa-pulse{
  0%{ transform: scale(1); opacity: 0.7; }
  100%{ transform: scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .whatsapp-float-pulse{ animation: none; }
}

/* ---------------------------------------------------------
   17. UTILITIES
   --------------------------------------------------------- */
.mt-0{ margin-top: 0; }
.noscript-banner{
  background: var(--gold);
  color: #1a1408;
  text-align: center;
  padding: 12px;
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 640px){
  .hero{ padding-top: 92px; }
  .hero-cta{ flex-direction: column; align-items: stretch; }
  .hero-cta .btn{ width: 100%; }
  .services-cta{ flex-direction: column; align-items: flex-start; }
  .lightbox-frame{ max-width: 94vw; }
}
