/* ==========================================================================
   PURO ZAPATO — Hoja de estilos
   Paleta extraída del logotipo oficial: verde bosque #1E3A25 + marfil #EAE6DF
   Tipografía: Cormorant Garamond (display, afín al logotipo) + Manrope (UI)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Marca */
  --green-950: #08120C;
  --green-900: #0E1C13;
  --green-850: #13261A;
  --green-800: #1E3A25;   /* verde del logotipo */
  --green-700: #2A4D33;
  --green-600: #3D6748;
  --ivory:     #EAE6DF;   /* marfil del logotipo */
  --ivory-50:  #F6F3EE;
  --ivory-100: #F0ECE5;
  --ivory-300: #D9D3C8;
  --mint:      #A6E0BC;   /* luz de acento derivada del verde, uso puntual */
  --brass:     #C9B68F;

  /* Semánticos */
  --bg: var(--green-900);
  --text: var(--ivory);
  --text-dim: rgba(234, 230, 223, .68);
  --line: rgba(234, 230, 223, .12);
  --line-strong: rgba(234, 230, 223, .22);
  --glass: rgba(234, 230, 223, .05);

  --font-display: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --font-ui: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-sheet: clamp(28px, 4vw, 56px);

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --header-h: 76px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --shadow-lg: 0 40px 80px -30px rgba(4, 10, 6, .55);
  color-scheme: dark;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
svg { fill: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--mint); color: var(--green-900); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 999; background: var(--ivory); color: var(--green-900); padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 16px; }

/* Grano analógico sutil */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--green-600), var(--mint), var(--ivory)); }

/* ---------- 3. Tipografía ---------- */
.h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: -.02em;
  text-wrap: balance;
}
.h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.1; }
.h2 em, .h3 em, .hero-title em { font-style: italic; font-weight: 400; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--text-dim); max-width: 46ch; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; color: var(--mint); margin-bottom: 1.25rem; }
.kicker::before { content: ''; width: 18px; height: 1px; background: currentColor; }
.eyebrow { display: inline-flex; align-items: center; gap: .75rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1.6rem; }
.eyebrow-line { width: 36px; height: 1px; background: linear-gradient(90deg, transparent, var(--mint)); }

/* ---------- 4. Botones ---------- */
.btn {
  --bh: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--bh); padding: 0 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; white-space: nowrap;
  transition: transform .5s var(--ease-out), background-color .3s, color .3s, box-shadow .4s, border-color .3s;
  overflow: hidden; isolation: isolate;
}
.btn .ico { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease-out); }
.btn:hover .ico { transform: translateX(3px); }
.btn::after { /* brillo que cruza el botón */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }
.btn--sm { --bh: 44px; padding: 0 1.15rem; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--ivory); color: var(--green-900); box-shadow: 0 10px 40px -10px rgba(166, 224, 188, .45); }
.btn--primary:hover { box-shadow: 0 16px 50px -10px rgba(166, 224, 188, .7); }
.btn--light { background: var(--ivory); color: var(--green-900); }
.btn--glass { background: rgba(234,230,223,.06); border: 1px solid var(--line-strong); color: var(--ivory); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--glass:hover { background: rgba(234,230,223,.12); border-color: rgba(234,230,223,.4); }
.btn--dark { background: var(--green-800); color: var(--ivory); box-shadow: 0 14px 30px -14px rgba(14, 28, 19, .8); }
.btn--dark:hover { background: var(--green-700); }
.btn--ghost { border: 1px solid var(--line-strong); }
.btn:disabled { opacity: .45; pointer-events: none; }

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color .4s, backdrop-filter .4s, border-color .4s, transform .5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(14, 28, 19, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand img { height: 40px; width: auto; }
.main-nav ul { display: flex; gap: .3rem; }
.main-nav ul a { position: relative; display: block; padding: .5rem .85rem; font-size: .9rem; font-weight: 500; color: var(--text-dim); border-radius: 999px; transition: color .3s, background-color .3s; }
.main-nav ul a:hover, .main-nav ul a.is-active { color: var(--ivory); background: rgba(234,230,223,.06); }
.main-nav .nav-mobile-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.quote-trigger { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background-color .3s; }
.quote-trigger:hover { background: rgba(234,230,223,.08); }
.quote-trigger svg { width: 20px; height: 20px; }
.quote-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--mint); color: var(--green-900); font-size: .7rem; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--ease-out); }
.quote-count.has-items { transform: scale(1); }
.quote-count.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ivory); transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 120px; overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(120% 90% at 70% 40%, var(--green-800) 0%, var(--green-900) 45%, var(--green-950) 100%); }
.hero-aurora {
  position: absolute; inset: -20%; filter: blur(80px); opacity: .55;
  background:
    radial-gradient(30% 30% at 68% 42%, rgba(166, 224, 188, .35), transparent 70%),
    radial-gradient(25% 35% at 85% 70%, rgba(201, 182, 143, .18), transparent 70%),
    radial-gradient(35% 30% at 20% 20%, rgba(61, 103, 72, .5), transparent 70%);
  animation: aurora 18s ease-in-out infinite alternate;
}
@keyframes aurora { to { transform: translate3d(-4%, 3%, 0) rotate(6deg) scale(1.08); } }
.hero-floor {
  position: absolute; left: -25%; right: -25%; bottom: -12%; height: 55%;
  background-image:
    linear-gradient(rgba(166,224,188,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166,224,188,.14) 1px, transparent 1px);
  background-size: 70px 70px;
  transform: perspective(600px) rotateX(68deg);
  transform-origin: 50% 100%;
  mask-image: radial-gradient(60% 80% at 60% 100%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(60% 80% at 60% 100%, #000 10%, transparent 70%);
  animation: floor 6s linear infinite;
}
@keyframes floor { to { background-position: 0 70px, 0 0; } }

.hero-stage { position: absolute; z-index: -1; top: 0; right: -4%; bottom: 0; width: 62%; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; }
.hero-stage.is-3d .hero-canvas { opacity: 1; }
.hero-fallback { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .8s; }
.hero-stage.is-3d .hero-fallback { opacity: 0; }
.hero-fallback img { width: clamp(110px, 14vw, 190px); height: auto; filter: drop-shadow(0 0 40px rgba(166,224,188,.45)); animation: float 6s ease-in-out infinite; }
.hero-fallback-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(234,230,223,.25); }
.hero-fallback-ring.r1 { width: 46%; aspect-ratio: 1; animation: spin 30s linear infinite; border-top-color: var(--mint); }
.hero-fallback-ring.r2 { width: 58%; aspect-ratio: 1; animation: spin 44s linear infinite reverse; border-left-color: var(--brass); }
.hero-fallback-ring.r3 { width: 70%; aspect-ratio: 1; border-style: dashed; opacity: .4; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-14px); } }

.hud {
  position: absolute; display: inline-flex; align-items: center; gap: .55rem;
  padding: .6rem .95rem; border-radius: 999px;
  background: rgba(14, 28, 19, .45); border: 1px solid var(--line-strong);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--ivory); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
  opacity: 0; animation: hudIn 1s var(--ease-out) forwards;
  will-change: transform;
}
.hud svg { width: 16px; height: 16px; color: var(--mint); }
.hud .mono { font-size: .68rem; }
.hud-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(166,224,188,.6); animation: pulse 2s infinite; }
.hud--a { top: 24%; left: 18%; animation-delay: 1.1s; }
.hud--b { top: 58%; right: 12%; animation-delay: 1.3s; }
.hud--c { bottom: 18%; left: 26%; animation-delay: 1.5s; }
@keyframes hudIn { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(166,224,188,0); } 100% { box-shadow: 0 0 0 0 rgba(166,224,188,0); } }

.hero-content { position: relative; }
.hero-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(3.3rem, 8.6vw, 8.4rem); line-height: .9; letter-spacing: -.025em;
  margin-bottom: 1.8rem; max-width: 9.5ch;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.2s var(--ease-out) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.hero-title .line:nth-child(3) > span { animation-delay: .24s; }
.hero-title em {
  background: linear-gradient(100deg, var(--ivory) 10%, var(--mint) 55%, var(--brass) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .08em;
}
@keyframes lineUp { to { transform: translateY(0); } }
.hero-lead { max-width: 48ch; font-size: clamp(1.02rem, 1.25vw, 1.15rem); color: var(--text-dim); margin-bottom: 2.4rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }

.scroll-cue { position: absolute; left: 50%; bottom: 36px; width: 26px; height: 42px; border: 1px solid var(--line-strong); border-radius: 14px; translate: -50% 0; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--ivory); animation: cue 1.8s var(--ease-in-out) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- 7. Rutas ---------- */
.routes { position: relative; padding: clamp(70px, 8vw, 120px) 0 clamp(70px, 9vw, 120px); background: linear-gradient(var(--green-950), var(--green-900)); }
.routes-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: clamp(36px, 5vw, 60px); }
.routes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); perspective: 1200px; }
.route-card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(24px, 2.6vw, 36px); min-height: 320px; border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(234,230,223,.07), rgba(234,230,223,.015));
  border: 1px solid var(--line);
  transform-style: preserve-3d; transition: transform .6s var(--ease-out), border-color .4s, box-shadow .5s;
  overflow: hidden;
}
.route-card::before { /* foco de luz que sigue al cursor */
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(166,224,188,.16), transparent 45%);
}
.route-card:hover::before { opacity: 1; }
.route-card:hover { border-color: rgba(166,224,188,.35); box-shadow: var(--shadow-lg); }
.route-card--accent { background: linear-gradient(160deg, rgba(166,224,188,.14), rgba(30,58,37,.4)); border-color: rgba(166,224,188,.25); }
.route-num { color: var(--text-dim); }
.route-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(234,230,223,.06); border: 1px solid var(--line); transform: translateZ(40px); }
.route-icon svg { width: 26px; height: 26px; color: var(--mint); }
.route-card h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 2.3vw, 2rem); line-height: 1.05; margin-top: auto; transform: translateZ(30px); }
.route-card p { color: var(--text-dim); font-size: .95rem; transform: translateZ(20px); }
.route-go { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .9rem; color: var(--ivory); }
.route-go svg { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.route-card:hover .route-go svg { transform: translateX(5px); }

/* ---------- 8. Marquee ---------- */
.marquee { position: relative; z-index: 1; overflow: hidden; padding: 26px 0 calc(26px + var(--r-sheet)); background: var(--green-900); border-top: 1px solid var(--line); }
.marquee-track { display: flex; align-items: center; gap: 2.2rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--font-display); font-style: italic; font-size: clamp(2rem, 4vw, 3.4rem); color: transparent; -webkit-text-stroke: 1px rgba(234,230,223,.45); white-space: nowrap; }
.marquee span:nth-child(4n+1) { color: var(--ivory); -webkit-text-stroke: 0; }
.marquee i { font-style: normal; color: var(--mint); font-size: 1.4rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 9. Hojas (secciones apiladas) ---------- */
.sheet {
  position: relative; z-index: 2; margin-top: calc(var(--r-sheet) * -1);
  border-radius: var(--r-sheet) var(--r-sheet) 0 0;
  padding: clamp(80px, 11vw, 150px) 0 calc(clamp(80px, 11vw, 150px) + var(--r-sheet));
  box-shadow: 0 -30px 60px -30px rgba(0,0,0,.45);
}
.sheet--light { background: var(--ivory-50); color: var(--green-900); color-scheme: light; }
.sheet--ivory { background: var(--ivory); color: var(--green-900); color-scheme: light; }
.sheet--dark { background: var(--green-900); color: var(--ivory); }
.sheet--light .lead, .sheet--ivory .lead { color: rgba(14,28,19,.7); }
.sheet--light .kicker, .sheet--ivory .kicker { color: var(--green-700); }
.sheet--light .h2 em, .sheet--ivory .h2 em { color: var(--green-700); }
.sheet--dark .h2 em { color: var(--mint); }

.section-head { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 2rem 4rem; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.section-head .h2 { max-width: 14ch; }
.section-head--center .h2 { max-width: 18ch; }

/* ---------- 10. Modelo de negocio ---------- */
.model-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); }
.model-sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.model-intro .h2 { margin-bottom: 1.5rem; }
.model-progress { height: 2px; background: rgba(14,28,19,.1); border-radius: 2px; margin: 2.2rem 0; overflow: hidden; }
.model-progress span { display: block; height: 100%; background: var(--green-800); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .3s; }
.model-ctas { margin-bottom: 1.6rem; }
.disclaimer { display: flex; gap: .7rem; padding: 1rem 1.1rem; border-radius: var(--r-sm); background: rgba(30,58,37,.06); border: 1px dashed rgba(30,58,37,.25); font-size: .82rem; color: rgba(14,28,19,.72); max-width: 46ch; }
.disclaimer svg { flex: none; width: 20px; height: 20px; color: var(--green-700); margin-top: 1px; }

.pillars { display: flex; flex-direction: column; gap: 14px; counter-reset: p; }
.pillar {
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; column-gap: 1.4rem; row-gap: .4rem;
  padding: clamp(24px, 3vw, 38px); border-radius: var(--r-md);
  background: rgba(255,255,255,.55); border: 1px solid rgba(14,28,19,.08);
  transition: background-color .6s, box-shadow .6s, transform .6s var(--ease-out), border-color .6s;
}
.pillar::before { content: ''; position: absolute; left: 0; top: 20%; bottom: 20%; width: 3px; border-radius: 3px; background: var(--green-800); transform: scaleY(0); transition: transform .6s var(--ease-out); }
.pillar.is-active { background: #fff; box-shadow: 0 30px 60px -30px rgba(14,28,19,.35); border-color: transparent; transform: translateX(-6px); }
.pillar.is-active::before { transform: scaleY(1); }
.pillar-num { grid-row: 1; grid-column: 2; color: rgba(14,28,19,.45); }
.pillar-icon { grid-row: 1 / span 2; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--green-800); color: var(--ivory); box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 14px 24px -12px rgba(30,58,37,.7); transition: transform .6s var(--ease-out); }
.pillar.is-active .pillar-icon { transform: rotate(-6deg) scale(1.05); }
.pillar-icon svg { width: 28px; height: 28px; }
.pillar-body { grid-column: 2; }
.pillar h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.1; margin-bottom: .5rem; }
.pillar p { color: rgba(14,28,19,.7); font-size: .97rem; max-width: 52ch; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; font-weight: 600; font-size: .9rem; color: var(--green-700); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link svg { width: 15px; height: 15px; transition: transform .4s var(--ease-out); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- 11. Catálogo ---------- */
.catalog { overflow: hidden; }
.catalog-glow { position: absolute; top: -10%; left: 50%; width: 90vw; height: 70vw; max-height: 900px; translate: -50% 0; background: radial-gradient(closest-side, rgba(166,224,188,.13), transparent); pointer-events: none; }
.filters { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin-bottom: 2rem; padding-bottom: 4px; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: none; padding: .6rem 1.15rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .88rem; font-weight: 500; color: var(--text-dim); transition: all .3s; }
.filter:hover { color: var(--ivory); border-color: rgba(234,230,223,.4); }
.filter[aria-selected="true"] { background: var(--ivory); color: var(--green-900); border-color: var(--ivory); }

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); perspective: 1400px; }
.product {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(234,230,223,.06), rgba(234,230,223,.02));
  border: 1px solid var(--line); overflow: hidden;
  transform-style: preserve-3d; transition: transform .6s var(--ease-out), border-color .4s, box-shadow .5s, opacity .5s;
  animation: cardIn .7s var(--ease-out) both; animation-delay: var(--d, 0s);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.product:hover { border-color: rgba(166,224,188,.3); box-shadow: var(--shadow-lg); }
.product::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(166,224,188,.12), transparent 50%); }
.product:hover::after { opacity: 1; }
.product--featured { grid-column: span 2; }
.product--featured .product-media { aspect-ratio: auto; min-height: 280px; }
.product-media {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(166,224,188,.16), transparent 70%),
    linear-gradient(160deg, var(--green-800), var(--green-950));
  border-bottom: 1px solid var(--line);
}
.product-media::before { content: ''; position: absolute; inset: 14px; border: 1px dashed rgba(234,230,223,.14); border-radius: 12px; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media .p-icon { width: 38%; max-width: 120px; color: var(--ivory); opacity: .9; filter: drop-shadow(0 20px 20px rgba(0,0,0,.4)); transform: translateZ(60px); transition: transform .8s var(--ease-out); }
.product:hover .p-icon { transform: translateZ(60px) translateY(-6px) rotate(-4deg); }
.product-media .shadow-disc { position: absolute; bottom: 18%; width: 34%; height: 10px; border-radius: 50%; background: rgba(0,0,0,.45); filter: blur(8px); }
.tag { position: absolute; top: 22px; left: 22px; z-index: 1; padding: .3rem .6rem; border-radius: 6px; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(14,28,19,.6); border: 1px solid var(--line-strong); color: var(--text-dim); backdrop-filter: blur(6px); }
.tag--pending { border-style: dashed; color: var(--brass); }
.product-body { display: flex; flex-direction: column; gap: .6rem; padding: 22px 22px 20px; flex: 1; }
.product-cat { color: var(--mint); font-size: .66rem; }
.product h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; line-height: 1.05; }
.product-desc { color: var(--text-dim); font-size: .9rem; }
.product-features { display: grid; gap: .3rem; margin: .2rem 0 .4rem; }
.product-features li { position: relative; padding-left: 1rem; font-size: .8rem; color: rgba(234,230,223,.55); }
.product-features li::before { content: ''; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; border: 1px solid var(--mint); }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.price { font-size: .78rem; color: var(--text-dim); line-height: 1.3; }
.price strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ivory); }
.product-actions { display: flex; gap: .4rem; }
.icon-btn { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: all .3s; }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--ivory); color: var(--green-900); border-color: var(--ivory); }
.icon-btn.is-added { background: var(--mint); color: var(--green-900); border-color: var(--mint); }
.icon-btn--wa { background: var(--ivory); color: var(--green-900); border-color: var(--ivory); }
.icon-btn--wa:hover { background: var(--mint); border-color: var(--mint); }
.catalog-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.4rem; margin-top: clamp(40px, 5vw, 64px); color: var(--text-dim); }

/* ---------- 12. Servicios ---------- */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.services-media { position: relative; aspect-ratio: 5 / 6; }
.photo { position: absolute; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 40px 70px -30px rgba(14,28,19,.5); will-change: transform; }
.photo--main { inset: 0 18% 14% 0; }
.photo--side { right: 0; top: 18%; width: 40%; aspect-ratio: 3 / 4; }
.photo--small { left: 10%; bottom: 0; width: 38%; aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; text-align: center; padding: 1rem;
  background: radial-gradient(70% 60% at 30% 20%, rgba(166,224,188,.2), transparent), linear-gradient(150deg, var(--green-700), var(--green-900));
  color: rgba(234,230,223,.75);
}
.photo-placeholder::before { content: ''; position: absolute; inset: 12px; border: 1px dashed rgba(234,230,223,.2); border-radius: 12px; }
.photo-placeholder svg { width: 34px; height: 34px; }
.photo--main .photo-placeholder { align-items: flex-start; text-align: left; padding-left: clamp(1.4rem, 3vw, 2.4rem); padding-right: 45%; }
.photo-placeholder .mono { font-size: .64rem; }
.pending-tag { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); border: 1px dashed currentColor; border-radius: 6px; padding: .25rem .5rem; }
.pending-inline { display: inline-block; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: #8A6E3A; border: 1px dashed currentColor; border-radius: 5px; padding: .05rem .4rem; vertical-align: middle; }
.badge-seal { position: absolute; left: -4%; top: 6%; width: clamp(96px, 11vw, 130px); aspect-ratio: 1; border-radius: 50%; background: var(--green-900); display: grid; place-items: center; box-shadow: 0 20px 40px -14px rgba(14,28,19,.6); }
.badge-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge-seal text { font-family: var(--font-mono); font-size: 8.4px; letter-spacing: 2.4px; fill: var(--ivory); }
.badge-seal img { width: 32%; height: auto; }

.services-copy .h2 { margin-bottom: 1.4rem; }
.service-list { margin: 2.2rem 0; border-top: 1px solid rgba(14,28,19,.12); }
.service { position: relative; padding: 1.2rem 0 1.2rem 2.2rem; border-bottom: 1px solid rgba(14,28,19,.12); transition: padding-left .5s var(--ease-out); }
.service::before { content: '⚜'; position: absolute; left: 0; top: 1.15rem; color: var(--green-700); font-size: 1.1rem; transition: transform .5s var(--ease-out); }
.service:hover { padding-left: 2.8rem; }
.service:hover::before { transform: rotate(-12deg) scale(1.15); }
.service h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; line-height: 1.15; margin-bottom: .2rem; }
.service p { font-size: .93rem; color: rgba(14,28,19,.68); }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 2rem; }
.benefit { display: flex; flex-direction: column; gap: .15rem; padding: 1rem; border-radius: var(--r-sm); background: rgba(255,255,255,.55); border: 1px solid rgba(14,28,19,.08); }
.benefit svg { width: 22px; height: 22px; color: var(--green-700); margin-bottom: .4rem; }
.benefit strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; font-weight: 600; }
.benefit span { font-size: .78rem; color: rgba(14,28,19,.6); }

/* ---------- 13. Cómo funciona ---------- */
.process { overflow: hidden; }
.process::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 40% at 50% 60%, rgba(166,224,188,.08), transparent); }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 2vw, 28px); }
.steps::before, .steps::after { content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 1px; }
.steps::before { background: var(--line-strong); }
.steps::after { background: linear-gradient(90deg, var(--mint), var(--brass)); transform-origin: 0 50%; transform: scaleX(0); transition: transform 2.2s var(--ease-out) .2s; box-shadow: 0 0 12px rgba(166,224,188,.6); }
.steps.is-in::after { transform: scaleX(1); }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .8rem; }
.step-node { position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--green-850); border: 1px solid var(--line-strong); box-shadow: 0 0 0 8px var(--green-900); transition: background-color .5s, border-color .5s, box-shadow .5s; }
.step-node .mono { font-size: .82rem; color: var(--ivory); }
.step:hover .step-node { background: var(--green-700); border-color: var(--mint); box-shadow: 0 0 0 8px var(--green-900), 0 0 40px rgba(166,224,188,.35); }
.step h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 1.7vw, 1.55rem); line-height: 1.1; margin-top: .6rem; }
.step p { font-size: .88rem; color: var(--text-dim); max-width: 26ch; }
.process-cta { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 80px); }

/* ---------- 14. Prueba social ---------- */
.proof { position: relative; z-index: 2; background: var(--green-900); padding: 0 0 calc(clamp(60px, 8vw, 100px) + var(--r-sheet)); margin-top: calc(var(--r-sheet) * -1); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-item { display: flex; flex-direction: column; justify-content: center; gap: .3rem; padding: clamp(24px, 3vw, 40px) clamp(14px, 2vw, 28px); border-right: 1px solid var(--line); }
.proof-item:last-child { border-right: 0; }
.proof-item strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; }
.proof-item span { font-size: .85rem; color: var(--text-dim); }
.proof-ig { flex-direction: row; align-items: center; gap: .9rem; transition: background-color .4s; }
.proof-ig:hover { background: rgba(234,230,223,.04); }
.proof-ig svg { width: 34px; height: 34px; color: var(--mint); flex: none; }
.proof-ig b { color: var(--ivory); font-weight: 600; }

/* ---------- 15. Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact-info .h2 { margin-bottom: 1.4rem; }
.sedes { display: grid; gap: 12px; margin: 2.2rem 0 1.6rem; }
.sede { display: grid; grid-template-columns: 1fr auto; gap: .4rem 1rem; align-items: center; padding: 1.3rem 1.4rem; border-radius: var(--r-md); background: #fff; border: 1px solid rgba(14,28,19,.08); transition: box-shadow .5s, transform .5s var(--ease-out); }
.sede:hover { box-shadow: 0 24px 50px -28px rgba(14,28,19,.45); transform: translateY(-2px); }
.sede h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; line-height: 1; }
.sede-addr { grid-column: 1; display: flex; gap: .4rem; font-size: .88rem; color: rgba(14,28,19,.68); }
.sede-addr svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--green-700); }
.sede-actions { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: .4rem; }
.sede .icon-btn { border-color: rgba(14,28,19,.15); color: var(--green-900); }
.sede .icon-btn:hover { background: var(--green-800); border-color: var(--green-800); color: var(--ivory); }
.sede .icon-btn--wa { background: var(--green-800); border-color: var(--green-800); color: var(--ivory); }
.socials { display: flex; flex-wrap: wrap; gap: .6rem; }
.socials a { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid rgba(14,28,19,.15); font-weight: 600; font-size: .9rem; transition: all .3s; }
.socials a:hover { background: var(--green-800); color: var(--ivory); border-color: var(--green-800); }
.socials svg { width: 18px; height: 18px; }

.contact-form { display: grid; gap: 14px; padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-lg); background: #fff; box-shadow: 0 50px 90px -40px rgba(14,28,19,.4); border: 1px solid rgba(14,28,19,.06); }
.form-head h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; line-height: 1.1; }
.form-head p { font-size: .88rem; color: rgba(14,28,19,.6); margin-bottom: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 1.55rem 1rem .55rem; border-radius: var(--r-sm);
  border: 1px solid rgba(14,28,19,.15); background: var(--ivory-50); color: var(--green-900);
  font: inherit; font-size: 1rem; transition: border-color .3s, box-shadow .3s, background-color .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field--select::after { content: ''; position: absolute; right: 1rem; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--green-800); border-bottom: 1.5px solid var(--green-800); transform: translateY(-30%) rotate(45deg); pointer-events: none; }
.field label { position: absolute; left: 1rem; top: 1.1rem; font-size: .98rem; color: rgba(14,28,19,.55); pointer-events: none; transform-origin: 0 0; transition: transform .3s var(--ease-out), color .3s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-700); background: #fff; box-shadow: 0 0 0 4px rgba(42,77,51,.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label { transform: translateY(-.6rem) scale(.76); color: var(--green-700); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #B4472F; }
.form-error { min-height: 1em; font-size: .85rem; color: #B4472F; }

/* ---------- 16. Footer ---------- */
.site-footer { position: relative; z-index: 3; margin-top: calc(var(--r-sheet) * -1); border-radius: var(--r-sheet) var(--r-sheet) 0 0; background: var(--green-950); padding: clamp(60px, 8vw, 100px) 0 0; overflow: hidden; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; padding-bottom: 2.4rem; border-bottom: 1px solid var(--line); }
.footer-logo { height: 54px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.site-footer nav a { font-size: .9rem; color: var(--text-dim); transition: color .3s; }
.site-footer nav a:hover { color: var(--ivory); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.6rem 0; font-size: .82rem; color: var(--text-dim); }
.footer-word { font-family: var(--font-display); font-weight: 500; font-size: 15.6vw; line-height: .78; text-align: center; letter-spacing: -.03em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(234,230,223,.12); background: linear-gradient(180deg, rgba(234,230,223,.1), transparent 85%); -webkit-background-clip: text; background-clip: text; margin-bottom: -2.5vw; user-select: none; }

/* ---------- 17. Flotantes, modal, drawer, toast ---------- */
.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 110;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 18px 36px -12px rgba(0,0,0,.5);
  transition: transform .5s var(--ease-out); opacity: 0; transform: scale(.6); pointer-events: none;
}
.wa-float.is-visible { opacity: 1; transform: scale(1); pointer-events: auto; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.4s var(--ease-out) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: var(--gutter); }
.modal[hidden] { display: none; }
.modal-backdrop, .drawer-backdrop { position: absolute; inset: 0; background: rgba(4,10,6,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .4s; }
@keyframes fade { from { opacity: 0; } }
.modal-panel { position: relative; width: min(520px, 100%); padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: linear-gradient(170deg, var(--green-800), var(--green-900)); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); animation: pop .5s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal-panel .h3 { margin-bottom: 1.6rem; }
.modal-x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: background-color .3s; }
.modal-x:hover { background: rgba(234,230,223,.1); }
.modal-x svg { width: 18px; height: 18px; }
.sede-options { display: grid; gap: 10px; }
.sede-option { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; border-radius: var(--r-md); background: rgba(234,230,223,.06); border: 1px solid var(--line-strong); text-align: left; transition: all .35s; }
.sede-option:hover { background: var(--ivory); color: var(--green-900); transform: translateX(4px); }
.sede-option strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; line-height: 1; }
.sede-option span { font-size: .8rem; opacity: .7; }
.sede-option svg { width: 26px; height: 26px; flex: none; }

.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer .drawer-backdrop { opacity: 0; transition: opacity .4s; animation: none; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--green-900); border-left: 1px solid var(--line-strong); transform: translateX(100%); transition: transform .6s var(--ease-out); }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { position: relative; padding: 28px 24px 20px; border-bottom: 1px solid var(--line); }
.drawer-head .kicker { margin-bottom: .6rem; }
.quote-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.quote-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.quote-thumb { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--green-800); }
.quote-thumb svg { width: 28px; height: 28px; color: var(--ivory); }
.quote-item h4 { margin: 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; line-height: 1.1; }
.quote-item small { color: var(--text-dim); font-size: .75rem; }
.qty { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.qty button:hover { background: rgba(234,230,223,.1); }
.qty svg { width: 14px; height: 14px; }
.qty output { min-width: 18px; text-align: center; font-size: .85rem; font-weight: 600; }
.quote-empty { padding: 40px 24px; color: var(--text-dim); text-align: center; }
.quote-empty[hidden] { display: none; }
.drawer-foot { padding: 20px 24px max(24px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.quote-note { font-size: .78rem; color: var(--text-dim); }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; translate: -50% 0; padding: .8rem 1.2rem; border-radius: 999px; background: var(--ivory); color: var(--green-900); font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--ease-out); pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-visible { opacity: 1; transform: none; }

/* ---------- 18. Animaciones de aparición ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); filter: blur(6px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
.js .hero .reveal { transition-delay: calc(var(--d, 0s) + .2s); }

/* ---------- 19. Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav ul { gap: 0; }
  .main-nav ul a { padding: .5rem .6rem; font-size: .85rem; }
  .header-cta { display: none; }
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product--featured { grid-column: auto; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brand img { height: 32px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; gap: 2rem;
    padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
    background: rgba(8,18,12,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    clip-path: circle(0 at calc(100% - 40px) 33px); transition: clip-path .8s var(--ease-in-out); visibility: hidden;
  }
  .main-nav.is-open { clip-path: circle(150% at calc(100% - 40px) 33px); visibility: visible; }
  .main-nav ul { flex-direction: column; gap: .2rem; }
  .main-nav ul a { font-family: var(--font-display); font-size: clamp(2.2rem, 9vw, 3rem); color: var(--ivory); padding: .2rem 0; background: none !important; }
  .main-nav.is-open li { animation: navIn .7s var(--ease-out) both; }
  .main-nav.is-open li:nth-child(2) { animation-delay: .05s; } .main-nav.is-open li:nth-child(3) { animation-delay: .1s; }
  .main-nav.is-open li:nth-child(4) { animation-delay: .15s; } .main-nav.is-open li:nth-child(5) { animation-delay: .2s; }
  .main-nav .nav-mobile-cta { display: inline-flex; align-self: flex-start; }
  @keyframes navIn { from { opacity: 0; transform: translateY(24px); } }

  .hero { align-items: flex-end; padding-top: calc(var(--header-h) + 47svh); padding-bottom: 90px; }
  .hero-stage { top: var(--header-h); right: 0; left: 0; bottom: auto; width: 100%; height: 46svh; }
  .hud--a { top: 10%; left: 6%; } .hud--b { top: 70%; right: 5%; } .hud--c { display: none; }
  .hero-title { max-width: none; }
  .scroll-cue { display: none; }

  .routes-grid { grid-template-columns: 1fr; }
  .route-card { min-height: 0; }
  .route-card h3 { margin-top: .4rem; }

  .section-head { grid-template-columns: 1fr; }
  .model-grid, .services-grid, .contact-grid { grid-template-columns: 1fr; }
  .model-sticky { position: static; }
  .pillar.is-active { transform: none; }
  .services-media { max-width: 560px; width: 100%; margin-inline: auto; }
  .badge-seal { left: 2%; top: -4%; }
  .wa-float { width: 54px; height: 54px; }
  .wa-float svg { width: 26px; height: 26px; }
  .product--featured { grid-column: auto; }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps::after { top: 36px; bottom: 36px; left: 36px; right: auto; width: 1px; height: auto; }
  .steps::after { transform-origin: 50% 0; transform: scaleY(0); background: linear-gradient(180deg, var(--mint), var(--brass)); }
  .steps.is-in::after { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 72px 1fr; column-gap: 1.2rem; text-align: left; align-items: start; padding-bottom: 2rem; }
  .step-node { grid-row: 1 / span 2; }
  .step h3 { margin-top: .9rem; }
  .step p { max-width: none; }

  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .hero-ctas .btn { width: 100%; }
  .hero-lead { margin-bottom: 1.8rem; }
  .benefits { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .benefit { padding: .8rem .7rem; }
  .benefit strong { font-size: 1.2rem; }
  .field-row { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .quote-trigger { width: 40px; height: 40px; }
  .menu-toggle { width: 40px; height: 40px; }
  .menu-toggle span { left: 11px; right: 11px; }
  .menu-toggle span:first-child { top: 16px; } .menu-toggle span:last-child { top: 23px; }
  .menu-toggle[aria-expanded="true"] span { top: 19.5px !important; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .sede { grid-template-columns: 1fr; }
  .sede-actions { grid-column: 1; grid-row: auto; margin-top: .6rem; }
  .catalog-foot { flex-direction: column; text-align: center; }
}

/* ---------- 20. Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; }
}
