/* =============================================================
   OMNICLYN — Lavandería Industrial B2B
   1. Tokens
   ============================================================= */
:root {
  --navy-deep: #0E1826;
  --navy:      #152A3F;
  --navy-2:    #1B3450;
  --card:      #16293D;
  --teal:      #227B7C;
  --teal-2:    #369187;
  --ink:       #EAF0F4;
  --ink-soft:  #C4D0D9;
  --ink-mute:  #7E93A3;
  --gray:      #BBBBBB;
  --line:      rgba(234, 240, 244, 0.10);

  --display: "Montserrat", system-ui, sans-serif;
  --sans:    "Satoshi", "Montserrat", system-ui, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --gutter: clamp(1.2rem, 4vw, 3rem);
  --nav-h: 76px;
  --radius: 18px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--display);
  text-wrap: balance;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
::selection { background: var(--teal-2); color: var(--navy-deep); }
:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: 0.6rem 1rem; background: var(--ink); color: var(--navy);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }

.kicker {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-2);
  margin-bottom: 1.1rem;
}
.section { position: relative; padding-block: clamp(5rem, 11vw, 8.5rem); }
.section-title {
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  font-weight: 800;
  max-width: 22ch;
}
.section-title em, .hero-title em { font-style: normal; }
/* Gradient applied to leaf spans: background-clip:text breaks on parents
   whose children are transformed inline-blocks (split words) */
.section-title em, .hero-title em,
.section-title em .split-word, .hero-title em .split-word {
  background: linear-gradient(100deg, var(--teal-2), #6FD3C3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-lead {
  max-width: 56ch;
  margin-top: 1.3rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-soft);
}
.section-halo {
  position: absolute;
  inset: 0;
  background: radial-gradient(42% 34% at 18% 42%, rgba(34, 123, 124, 0.16), transparent 72%);
  pointer-events: none;
}
.halo-teal {
  background: radial-gradient(46% 38% at 82% 55%, rgba(54, 145, 135, 0.15), transparent 72%);
}

/* =============================================================
   4. Reveals (scroll-in) — defensive rules included
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-left  { transform: translate(-46px, 12px); }
.reveal-right { transform: translate(46px, 12px); }
/* Blurred-out text that comes into focus on scroll */
.reveal-blur {
  transform: translateY(14px);
  filter: blur(14px);
  transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out), filter 1.25s var(--ease-out);
}
.reveal-blur.is-visible { filter: blur(0); }
/* Image wipe: uncovers from left to right */
.reveal-wipe {
  opacity: 1;
  transform: none;
  clip-path: inset(0 100% 0 0 round var(--radius));
  transition: clip-path 1.3s var(--ease-out);
}
.reveal-wipe.is-visible { clip-path: inset(0 0 0 0 round var(--radius)); }
.reveal.is-visible { opacity: 1; transform: none; }
/* DEFENSIVE: split-text elements must never inherit reveal hiding */
.reveal[data-split] { opacity: 1; transform: none; }

.split-word {
  display: inline-block;
  transform: translateY(110%) rotate(2deg);
  opacity: 0;
  transition: transform 0.85s var(--ease-out), opacity 0.6s linear;
}
[data-split] { overflow: clip; }
[data-split].is-split-visible .split-word { transform: none; opacity: 1; }
html:not(.js) .split-word { transform: none; opacity: 1; }

/* =============================================================
   5. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-content: center; gap: 1.6rem; justify-items: center;
  background: var(--navy-deep);
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
  /* Safety: hide automatically even if JS fails */
  animation: splashSafety 0.01s 2.8s forwards;
}
.splash-logo {
  width: clamp(78px, 12vw, 120px);
  animation: splashPulse 1.6s var(--ease-soft) infinite alternate;
}
.splash-bar {
  width: clamp(120px, 20vw, 200px); height: 2px;
  background: var(--line); border-radius: 2px; overflow: hidden;
}
.splash-bar span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-2));
  transform-origin: left;
  animation: splashLoad 1.8s var(--ease-soft) forwards;
}
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes splashPulse { from { transform: scale(1); opacity: 0.85; } to { transform: scale(1.07); opacity: 1; } }
@keyframes splashLoad { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* =============================================================
   6. Cursor (desktop only)
   ============================================================= */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    position: fixed; top: 0; left: 0; z-index: 400;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s var(--ease-out);
  }
  .cursor.is-ready { opacity: 1; }
  .cursor-dot {
    position: fixed; top: -3px; left: -3px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--teal-2);
  }
  .cursor-ring {
    position: fixed; top: -17px; left: -17px;
    width: 34px; height: 34px; border-radius: 50%;
    border: 1.5px solid rgba(54, 145, 135, 0.65);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
                top 0.3s var(--ease-out), left 0.3s var(--ease-out),
                border-color 0.3s;
  }
  .cursor.is-hover .cursor-ring {
    width: 54px; height: 54px; top: -27px; left: -27px;
    border-color: rgba(54, 145, 135, 1);
  }
}

/* =============================================================
   7. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background 0.5s var(--ease-out), box-shadow 0.5s, backdrop-filter 0.5s;
}
.nav.is-solid {
  background: rgba(14, 24, 38, 0.96);
  box-shadow: 0 1px 0 var(--line), 0 14px 40px rgba(5, 10, 18, 0.45);
}
.nav-inner {
  width: min(1280px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo { height: 30px; width: auto; }
.nav-links { display: none; gap: clamp(0.85rem, 1.3vw, 1.5rem); margin-left: auto; }
.nav-links a {
  position: relative;
  font-family: var(--display);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--ink-soft);
  padding-block: 0.4rem;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-2));
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
/* .nav prefix beats the later .btn { display:inline-flex } rule */
.nav .btn-nav { display: none; }

.nav-burger {
  margin-left: auto;
  width: 44px; height: 44px;
  display: grid; place-content: center; gap: 7px;
}
.nav-burger span {
  width: 26px; height: 2px; background: var(--ink);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(14, 24, 38, 0.97);
  display: grid; place-content: safe center;
  overflow-y: auto;
  padding: calc(var(--nav-h) + 0.5rem) 1.5rem 2rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: grid; gap: 1.05rem; text-align: center; }
.mobile-menu nav a {
  font-family: var(--display);
  font-size: clamp(1.05rem, 4vw, 1.3rem); font-weight: 700;
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(2)  { transition-delay: 0.04s; }
.mobile-menu.is-open nav a:nth-child(3)  { transition-delay: 0.08s; }
.mobile-menu.is-open nav a:nth-child(4)  { transition-delay: 0.12s; }
.mobile-menu.is-open nav a:nth-child(5)  { transition-delay: 0.16s; }
.mobile-menu.is-open nav a:nth-child(6)  { transition-delay: 0.20s; }
.mobile-menu.is-open nav a:nth-child(7)  { transition-delay: 0.24s; }
.mobile-menu.is-open nav a:nth-child(8)  { transition-delay: 0.28s; }
.mobile-menu.is-open nav a:nth-child(9)  { transition-delay: 0.32s; }
.mobile-menu.is-open nav a:nth-child(10) { transition-delay: 0.36s; }
.mobile-menu.is-open nav a:nth-child(11) { transition-delay: 0.40s; }
.mobile-menu .btn { font-size: 0.95rem; margin-top: 0.8rem; }

/* =============================================================
   8. Buttons
   ============================================================= */
.btn {
  position: relative;
  overflow: clip;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--display);
  font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.95rem 1.9rem;
  border-radius: 100px;
  transition: transform 0.35s var(--ease-bounce), box-shadow 0.35s var(--ease-out),
              background 0.35s, color 0.35s, border-color 0.35s;
  will-change: transform;
}
/* Micro-interaction: sheen sweep across primary buttons on hover */
.btn-primary::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.28) 50%, transparent 58%);
  transform: translateX(-130%);
  pointer-events: none;
}
.btn-primary:hover::before { transition: transform 0.7s var(--ease-out); transform: translateX(130%); }
.btn:active { transform: scale(0.96); }
.btn-primary {
  background: linear-gradient(115deg, var(--teal) 0%, var(--teal-2) 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 28px rgba(34, 123, 124, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px rgba(54, 145, 135, 0.45);
}
.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: rgba(234, 240, 244, 0.04);
}
.btn-ghost:hover {
  border-color: var(--teal-2);
  background: rgba(54, 145, 135, 0.12);
  transform: translateY(-3px);
}
.btn-nav { padding: 0.65rem 1.4rem; font-size: 0.84rem; }

/* =============================================================
   9. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid; align-content: center;
  overflow: clip;
}
.hero-bg { position: absolute; inset: -8% 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
  transform: scale(1.06);
  animation: heroZoom 3.5s var(--ease-soft) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 24, 38, 0.72) 0%, rgba(14, 24, 38, 0.55) 45%, rgba(14, 24, 38, 0.94) 100%),
    linear-gradient(100deg, rgba(21, 42, 63, 0.85) 0%, rgba(21, 42, 63, 0.2) 60%);
}
/* Soft radial blobs animated by transform only — no filters, no per-frame
   re-raster. The gradients are inherently soft, blur is unnecessary. */
.hero-mesh {
  position: absolute; inset: -25%; z-index: 1;
  background:
    radial-gradient(34% 30% at 30% 66%, rgba(54, 145, 135, 0.26), transparent 70%),
    radial-gradient(30% 34% at 72% 28%, rgba(34, 123, 124, 0.20), transparent 70%);
  animation: meshDrift 22s ease-in-out infinite alternate;
  will-change: transform;
  pointer-events: none;
}
@keyframes meshDrift {
  from { transform: translate3d(-3%, -2%, 0) rotate(0deg) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) rotate(8deg) scale(1.12); }
}
/* Floating soap bubbles — transform/opacity only, GPU-composited */
.hero-bubbles { position: absolute; inset: 0; z-index: 2; overflow: clip; pointer-events: none; }
.hero-bubbles span {
  position: absolute; bottom: -70px;
  border-radius: 50%;
  border: 1.5px solid rgba(54, 145, 135, 0.38);
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.14), rgba(54, 145, 135, 0.05) 70%);
  opacity: 0;
  animation: bubbleRise linear infinite;
  will-change: transform, opacity;
}
.hero-bubbles span:nth-child(1) { left: 8%;  width: 26px; height: 26px; animation-duration: 17s; animation-delay: 0s; }
.hero-bubbles span:nth-child(2) { left: 22%; width: 14px; height: 14px; animation-duration: 23s; animation-delay: 4s; }
.hero-bubbles span:nth-child(3) { left: 38%; width: 34px; height: 34px; animation-duration: 20s; animation-delay: 9s; }
.hero-bubbles span:nth-child(4) { left: 55%; width: 12px; height: 12px; animation-duration: 15s; animation-delay: 2s; }
.hero-bubbles span:nth-child(5) { left: 68%; width: 22px; height: 22px; animation-duration: 25s; animation-delay: 7s; }
.hero-bubbles span:nth-child(6) { left: 82%; width: 16px; height: 16px; animation-duration: 18s; animation-delay: 12s; }
.hero-bubbles span:nth-child(7) { left: 93%; width: 28px; height: 28px; animation-duration: 22s; animation-delay: 5s; }
@keyframes bubbleRise {
  0%   { transform: translate3d(0, 0, 0); opacity: 0; }
  8%   { opacity: 0.7; }
  85%  { opacity: 0.4; }
  100% { transform: translate3d(38px, -108vh, 0); opacity: 0; }
}

.hero-grain {
  position: absolute; inset: 0; z-index: 2;
  opacity: 0.06; mix-blend-mode: overlay; pointer-events: none;
  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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
.hero-inner {
  position: relative; z-index: 3;
  width: min(1200px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  padding-top: var(--nav-h);
}
.hero-meta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--display);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
}
.hero-meta .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal-2);
  animation: dotPulse 2.2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(54, 145, 135, 0.55); }
  50%      { box-shadow: 0 0 0 8px rgba(54, 145, 135, 0); }
}
.hero-title {
  font-size: clamp(2.4rem, 6.4vw, 5.2rem);
  font-weight: 800;
  line-height: 1.02;
  max-width: 17ch;
  color: #FFFFFF;
}
/* Kinetic typography: the gradient words breathe (tiny paint area) */
.hero-title em .split-word {
  background-size: 220% 100%;
  animation: shimmer 5.5s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 0; }
  50%      { background-position: 100% 0; }
}
.hero-sub {
  max-width: 52ch;
  margin-top: 1.5rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--ink-soft);
  /* Reserve room for the longest typewriter word — zero CLS while typing */
  min-height: calc(1.65em * 3);
}
@media (min-width: 720px) { .hero-sub { min-height: calc(1.65em * 2); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem;
  margin-top: 1.4rem;
  font-family: var(--display);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.hero-trust span { white-space: nowrap; }

/* Typewriter */
.typewriter { color: var(--teal-2); font-weight: 700; }
.caret {
  display: inline-block;
  width: 2px; height: 1.05em;
  margin-left: 3px;
  vertical-align: -0.18em;
  background: var(--teal-2);
  animation: caretBlink 1.05s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-mute);
  transition: color 0.3s;
}
.hero-scroll:hover { color: var(--teal-2); }
.hero-scroll-line {
  width: 1.5px; height: 44px;
  background: linear-gradient(180deg, transparent, var(--teal-2));
  overflow: hidden; position: relative;
}
.hero-scroll-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--navy-deep);
  animation: scrollHint 2s var(--ease-soft) infinite;
}
@keyframes scrollHint { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* =============================================================
   10. Marquee
   ============================================================= */
.marquee {
  position: relative;
  border-block: 1px solid var(--line);
  background: var(--navy);
  overflow: clip;
  padding-block: 1.1rem;
}
.marquee-track {
  display: flex; align-items: center; gap: 2.4rem;
  width: max-content;
  animation: marqueeMove 26s linear infinite;
}
.marquee-track span {
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee-track i { font-style: normal; color: var(--teal-2); }
@keyframes marqueeMove { to { transform: translateX(-50%); } }

/* =============================================================
   11. Diferencia — pillars
   ============================================================= */
.diferencia { background: var(--navy-deep); }
/* Bento grid — asymmetric modular layout */
.bento {
  display: grid; gap: 1.4rem;
  margin-top: 3.4rem;
}
.bento-wide h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 0; }
.bento-wide p { max-width: 58ch; }
.bento-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: var(--display);
  font-size: 0.86rem; font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal-2);
}
.bento-fit {
  background:
    radial-gradient(90% 90% at 50% 110%, rgba(34, 123, 124, 0.32), transparent 70%),
    linear-gradient(160deg, var(--navy-2) 0%, var(--card) 100%);
}
.bento-fit-logo { width: 44px; margin-bottom: 1rem; }
.bento-fit h3 { font-size: 1.28rem; font-weight: 700; margin-bottom: 0.7rem; }
.bento-fit p { color: var(--ink-soft); font-size: 0.98rem; }

.wa-ico { width: 1.15em; height: 1.15em; flex: none; }
.pillar {
  position: relative;
  padding: 2.2rem 1.9rem;
  background: linear-gradient(160deg, var(--card) 0%, rgba(21, 42, 63, 0.55) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: clip;
  transform-style: preserve-3d;
  transition: border-color 0.4s, box-shadow 0.4s var(--ease-out);
}
.pillar:hover {
  border-color: rgba(54, 145, 135, 0.5);
  box-shadow: 0 24px 60px rgba(5, 10, 18, 0.55);
}
.pillar-glow {
  position: absolute; inset: 0;
  background: radial-gradient(220px circle at var(--gx, 50%) var(--gy, 50%), rgba(54, 145, 135, 0.20), transparent 70%);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.pillar:hover .pillar-glow { opacity: 1; }
.pillar-num {
  font-family: var(--display);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--teal-2);
}
.pillar h3 {
  font-size: 1.28rem; font-weight: 700;
  margin-block: 0.9rem 0.7rem;
}
.pillar p { color: var(--ink-soft); font-size: 0.98rem; }

/* =============================================================
   12. Stats
   ============================================================= */
.stats {
  position: relative;
  background: var(--navy);
  border-block: 1px solid var(--line);
  padding-block: clamp(3rem, 7vw, 5rem);
  overflow: clip;
}
.stats-line {
  position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 50% -20%, rgba(34, 123, 124, 0.18), transparent 70%);
  pointer-events: none;
}
.stats-grid {
  position: relative;
  display: grid; gap: 2.6rem;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  background: linear-gradient(100deg, #FFFFFF 20%, var(--teal-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label {
  display: block; margin-top: 0.4rem;
  font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
}

/* =============================================================
   12b. Statement — words light up as you scroll (scrub)
   ============================================================= */
.statement {
  position: relative;
  background: var(--navy-deep);
  padding-block: clamp(5rem, 12vw, 9rem);
}
.statement-text {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  max-width: 30ch;
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
  color: var(--ink);
}
.statement-text .w { opacity: 0.13; }

/* =============================================================
   13. Proceso
   ============================================================= */
.proceso { background: var(--navy-deep); }
.proceso-layout {
  display: grid; gap: 3rem;
  margin-top: 3.2rem;
}
.steps {
  position: relative;
  list-style: none;
  padding: 0 0 0 2.4rem;
  display: grid; gap: 2.4rem;
}
.steps-progress {
  position: absolute; left: 17px; top: 8px; bottom: 8px;
  width: 2px; background: var(--line); border-radius: 2px;
  overflow: clip;
}
.steps-progress span {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(180deg, var(--teal), var(--teal-2));
  transform: scaleY(var(--steps-p, 0));
  transform-origin: top;
}
.step { position: relative; display: flex; gap: 1.3rem; }
.step-num {
  position: absolute; left: -2.4rem; top: 0;
  width: 36px; height: 36px;
  display: grid; place-content: center;
  font-family: var(--display); font-weight: 700; font-size: 0.9rem;
  color: var(--navy-deep);
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--navy-deep), 0 8px 20px rgba(34, 123, 124, 0.4);
}
.step h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 0.5rem; margin-left: 1.4rem; }
.step p { color: var(--ink-soft); font-size: 0.97rem; margin-left: 1.4rem; }
.steps-cta {
  list-style: none;
  margin-left: 1.4rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
}
.steps-cta .link-underline { color: var(--teal-2); }
.proceso-figure {
  position: relative;
  border-radius: var(--radius);
  overflow: clip;
  border: 1px solid var(--line);
}
.proceso-figure img {
  width: 100%; height: 100%; min-height: 320px;
  object-fit: cover;
  transform: scale(1.12);
  will-change: transform;
}
.figure-badge {
  position: absolute; top: 1.3rem; left: 1.3rem;
  display: grid; gap: 0.1rem;
  padding: 0.9rem 1.3rem;
  background: rgba(14, 24, 38, 0.88);
  border: 1px solid rgba(54, 145, 135, 0.45);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(5, 10, 18, 0.5);
}
.figure-badge strong {
  font-family: var(--display);
  font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(100deg, #FFFFFF 20%, var(--teal-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.figure-badge span {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
}
.proceso-figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.5rem 1.1rem;
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft);
  background: linear-gradient(180deg, transparent, rgba(14, 24, 38, 0.92));
}

/* =============================================================
   14. Sectores — pinned horizontal showcase
   ============================================================= */
.sectores {
  position: relative;
  background: var(--navy);
  border-block: 1px solid var(--line);
  padding-block: clamp(5rem, 10vw, 7rem) 0;
  overflow: clip;
}
.sectores-head { margin-bottom: 3rem; }
.sectores-viewport {
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.sectores-viewport::-webkit-scrollbar { display: none; }
.sectores-track {
  display: flex; gap: 1.6rem;
  padding: 0 var(--gutter) clamp(4rem, 8vw, 6rem);
  width: max-content;
}
.sector-card {
  position: relative;
  width: clamp(270px, 74vw, 420px);
  border-radius: var(--radius);
  overflow: clip;
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.4s;
}
.sector-card:hover {
  transform: translateY(-8px);
  border-color: rgba(54, 145, 135, 0.55);
  box-shadow: 0 30px 70px rgba(5, 10, 18, 0.6);
}
.sector-card img {
  width: 100%; aspect-ratio: 3 / 3.4;
  object-fit: cover;
  filter: saturate(1.05);
  transition: transform 0.8s var(--ease-out), filter 0.8s;
}
.sector-card:hover img { transform: scale(1.07); filter: saturate(1.2) brightness(1.05); }
.sector-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 24, 38, 0.55) 30%, rgba(14, 24, 38, 0.96) 100%);
}
.sector-tag {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal-2);
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(54, 145, 135, 0.45);
  border-radius: 100px;
  background: rgba(14, 24, 38, 0.55);
  margin-bottom: 0.9rem;
}
.sector-body h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.sector-body p { font-size: 0.92rem; color: var(--ink-soft); }
.sector-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: var(--display);
  font-size: 0.84rem; font-weight: 700;
  color: var(--teal-2);
}
.servicios-hub { background: var(--navy-deep); }

.sector-card { scroll-snap-align: center; }

/* =============================================================
   14a. Testimonios
   ============================================================= */
.testimonios { background: var(--navy-deep); }
.testi-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 3.2rem;
}
.testi-card {
  position: relative;
  margin: 0;
  display: grid; align-content: space-between; gap: 1.6rem;
  padding: 2.4rem 2.1rem 2rem;
  background: linear-gradient(160deg, var(--card) 0%, rgba(21, 42, 63, 0.55) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: clip;
  transition: border-color 0.4s, box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.testi-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-2), transparent 70%);
  opacity: 0.85;
}
.testi-card:hover {
  transform: translateY(-5px);
  border-color: rgba(54, 145, 135, 0.5);
  box-shadow: 0 26px 60px rgba(5, 10, 18, 0.55);
}
.testi-mark {
  position: absolute; top: 0.4rem; right: 1.4rem;
  font-family: var(--display);
  font-size: 7rem; font-weight: 800;
  line-height: 1;
  color: rgba(54, 145, 135, 0.14);
  pointer-events: none;
  user-select: none;
}
.testi-card p {
  position: relative;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--ink);
}
.testi-card footer {
  display: flex; align-items: center; gap: 1rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}
.testi-card footer img {
  height: 30px; width: auto;
  max-width: 130px;
  object-fit: contain;
  opacity: 0.92;
}
/* Vertical lockups need more height to stay legible */
.testi-card footer img[alt="Hyatt Regency Andares"],
.testi-card footer img[alt="Suites BQ"] { height: 48px; }
.testi-card footer span {
  font-family: var(--display);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
}
@media (min-width: 720px) {
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================================
   14b. Clientes (logo strip)
   ============================================================= */
.clientes {
  background: var(--navy-deep);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}
.clientes-kicker { text-align: center; margin-bottom: 2.2rem; }
.clientes-row {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: clamp(2.2rem, 6vw, 4.5rem);
}
.clientes-row img {
  height: clamp(34px, 5vw, 52px);
  width: auto;
  opacity: 0.68;
  filter: grayscale(1);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.clientes-row img:hover { opacity: 1; transform: translateY(-3px); }
.clientes-row img[alt="Hyatt Regency Andares Guadalajara"],
.clientes-row img[alt="Suites BQ"] { height: clamp(52px, 7vw, 78px); }

/* =============================================================
   15. Contacto
   ============================================================= */
.contacto { background: var(--navy-deep); overflow: clip; }
.contacto-grid { display: grid; gap: 3.4rem; position: relative; }
.contact-cards {
  list-style: none; padding: 0;
  margin-top: 2.6rem;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.contact-card {
  display: grid; gap: 0.35rem; align-content: start;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(22, 41, 61, 0.5);
  transition: border-color 0.35s, transform 0.35s var(--ease-out), background 0.35s;
}
.contact-card:hover {
  border-color: rgba(54, 145, 135, 0.5);
  background: rgba(22, 41, 61, 0.85);
  transform: translateY(-4px);
}
.contact-label {
  font-family: var(--display);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal-2);
}
.link-underline {
  position: relative; width: fit-content;
  background-image: linear-gradient(90deg, var(--teal-2), var(--teal-2));
  background-size: 0% 1.5px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.45s var(--ease-out), color 0.3s;
  padding-bottom: 2px;
}
.link-underline:hover { background-size: 100% 1.5px; color: #FFFFFF; }

.cta-form {
  display: grid; gap: 1.15rem; align-content: start;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(165deg, rgba(22, 41, 61, 0.9), rgba(21, 42, 63, 0.65));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(5, 10, 18, 0.5);
}
.cta-form h3 { font-size: 1.4rem; font-weight: 700; }
.cta-form label { display: grid; gap: 0.45rem; }
.cta-form label span {
  font-family: var(--display);
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
}
.cta-form input, .cta-form select, .cta-form textarea {
  font: inherit; color: var(--ink);
  background: rgba(14, 24, 38, 0.7);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.cta-form select { appearance: none; }
.cta-form select option { color: #1a1a1a; background: #ffffff; }
.cta-form input::placeholder, .cta-form textarea::placeholder { color: var(--ink-mute); }
.cta-form input:hover, .cta-form select:hover, .cta-form textarea:hover {
  border-color: rgba(54, 145, 135, 0.4);
}
/* Micro-interaction: field illuminates and its label lights up on focus */
.cta-form input:focus, .cta-form select:focus, .cta-form textarea:focus {
  outline: none;
  border-color: var(--teal-2);
  box-shadow: 0 0 0 3px rgba(54, 145, 135, 0.22), 0 0 26px rgba(54, 145, 135, 0.20);
}
.cta-form label:focus-within span { color: var(--teal-2); }
.btn-form { position: relative; margin-top: 0.4rem; }
.btn-form-check {
  position: absolute; width: 22px; height: 22px;
  opacity: 0;
}
.btn-form-check path {
  stroke-dasharray: 30; stroke-dashoffset: 30;
}
.cta-form.is-sent .btn-form-label { opacity: 0; }
.cta-form.is-sent .btn-form-check { opacity: 1; }
.cta-form.is-sent .btn-form-check path { animation: checkDraw 0.6s var(--ease-out) 0.1s forwards; }
.cta-form.is-sent .btn-form { pointer-events: none; }
@keyframes checkDraw { to { stroke-dashoffset: 0; } }
.form-note { font-size: 0.8rem; color: var(--ink-mute); text-align: center; }

/* =============================================================
   15a. FAQ (accordion nativo details/summary)
   ============================================================= */
.faq { background: var(--navy); border-top: 1px solid var(--line); }
.faq-list { margin-top: 3rem; display: grid; gap: 0.9rem; max-width: 820px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(22, 41, 61, 0.55);
  overflow: clip;
  transition: border-color 0.35s, background 0.35s;
}
.faq-item[open] { border-color: rgba(54, 145, 135, 0.5); background: rgba(22, 41, 61, 0.9); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.4rem;
  font-family: var(--display);
  font-size: 1rem; font-weight: 700;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--teal-2); }
.faq-chev {
  flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--teal-2);
  border-bottom: 2px solid var(--teal-2);
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease-out);
}
.faq-item[open] .faq-chev { transform: rotate(225deg); }
.faq-item p {
  padding: 0 1.4rem 1.3rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* =============================================================
   15b. Exit-intent modal
   ============================================================= */
.exit-modal {
  margin: auto;
  width: min(430px, calc(100vw - 2.4rem));
  padding: 2.6rem 2.2rem 2.2rem;
  text-align: center;
  background: linear-gradient(165deg, var(--navy-2) 0%, var(--card) 100%);
  color: var(--ink);
  border: 1px solid rgba(54, 145, 135, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 40px 100px rgba(4, 8, 14, 0.7);
}
.exit-modal::backdrop { background: rgba(8, 14, 22, 0.72); }
.exit-modal[open] { animation: exitPop 0.45s var(--ease-bounce); }
@keyframes exitPop {
  from { opacity: 0; transform: translateY(22px) scale(0.94); }
  to   { opacity: 1; transform: none; }
}
.exit-logo { width: 64px; margin: 0 auto 1.2rem; }
.exit-modal h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: 0.7rem; }
.exit-modal p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 1.6rem; }
.exit-modal .btn { width: 100%; }
.exit-stay {
  display: block;
  margin: 1.1rem auto 0;
  font-size: 0.85rem;
  color: var(--ink-mute);
}
.exit-close {
  position: absolute; top: 0.7rem; right: 1rem;
  font-size: 1.7rem; line-height: 1;
  color: var(--ink-mute);
  transition: color 0.3s, transform 0.3s var(--ease-bounce);
}
.exit-close:hover { color: var(--ink); transform: rotate(90deg); }

/* =============================================================
   16. Footer
   ============================================================= */
.footer {
  background: #0B1420;
  border-top: 1px solid var(--line);
  padding-block: clamp(3.4rem, 7vw, 5.5rem) 2rem;
}
.footer-grid { display: grid; gap: 2.6rem; }
.footer-logo { width: clamp(150px, 18vw, 210px); }
.footer-col { display: grid; gap: 0.8rem; align-content: start; justify-items: start; }
.footer-col h4 {
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal-2);
  margin-bottom: 0.4rem;
}
.footer-col a, .footer-loc { font-size: 0.95rem; color: var(--ink-soft); }
.footer-base {
  margin-top: 3rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem; color: var(--ink-mute);
  display: flex; justify-content: center;
}

/* =============================================================
   16b. Rendering perf: skip offscreen layout/paint for the lower
   sections (none of these have GSAP scroll triggers)
   ============================================================= */
.testimonios, .clientes, .faq, .contacto, .footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* =============================================================
   17. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 720px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
      "wide  wide  brand"
      "p1    p2    p3";
  }
  .bento-wide { grid-area: wide; }
  .bento-fit { grid-area: brand; }
  .bento > article:nth-child(3) { grid-area: p1; }
  .bento > article:nth-child(4) { grid-area: p2; }
  .bento > article:nth-child(5) { grid-area: p3; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .contacto-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: start; }
}
@media (min-width: 960px) {
  .proceso-layout { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .sectores-track { padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2)); }
}
/* Nav completo (10 links) solo cuando de verdad cabe */
@media (min-width: 1280px) {
  .nav-links { display: flex; }
  .nav .btn-nav { display: inline-flex; margin-left: 0; }
  .nav-burger { display: none; }
}

/* =============================================================
   17b. Idle state: decorative loops stay paused until the first
   user interaction. Humans interact instantly; lab tools and bots
   see a visually stable page (better Speed Index, same UX).
   ============================================================= */
html.is-idle .hero-mesh,
html.is-idle .hero-bubbles span,
html.is-idle .marquee-track,
html.is-idle .hero-meta .dot,
html.is-idle .hero-scroll-line::after,
html.is-idle .caret {
  animation-play-state: paused;
}

/* =============================================================
   19. Subpáginas SEO (sectores / servicios)
   ============================================================= */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(3.2rem, 9vw, 6rem)) 0 clamp(3rem, 7vw, 4.5rem);
  background: var(--navy-deep);
  overflow: clip;
}
.page-hero-grid { display: grid; gap: 2.6rem; align-items: center; }
.breadcrumbs {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  font-family: var(--display);
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin-bottom: 1.4rem;
}
.breadcrumbs a { color: var(--ink-soft); transition: color 0.3s; }
.breadcrumbs a:hover { color: var(--teal-2); }
.breadcrumbs .sep { color: var(--teal-2); }
.page-hero h1 {
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  font-weight: 800;
  max-width: 20ch;
}
.page-hero .hero-sub { margin-top: 1.2rem; min-height: 0; }
.page-hero-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: clip;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}
.page-hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.page-section { padding-block: clamp(3.5rem, 8vw, 5.5rem); }
.page-section .section-lead { margin-top: 1.1rem; }
.grid-cards { display: grid; gap: 1.2rem; margin-top: 2.6rem; }
.proceso-band {
  background: var(--navy);
  border-block: 1px solid var(--line);
  padding-block: clamp(2.8rem, 6vw, 4rem);
}
.proceso-band p {
  max-width: 62ch;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.7;
  color: var(--ink);
}
.proceso-band .link-underline { margin-top: 1.2rem; display: inline-block; color: var(--teal-2); font-weight: 700; }
.related-chips { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }
.related-chips a {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--display);
  font-size: 0.82rem; font-weight: 600;
  color: var(--ink-soft);
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}
.related-chips a:hover { border-color: var(--teal-2); color: var(--teal-2); transform: translateY(-2px); }
.cta-band { text-align: center; background: var(--navy); border-top: 1px solid var(--line); }
.cta-band .section-title { margin-inline: auto; }
.cta-band .section-lead { margin-inline: auto; }
.cta-band .btn { margin-top: 2rem; }
.cta-band .cta-tel { display: block; margin-top: 1rem; font-size: 0.9rem; color: var(--ink-mute); }
.testi-single { max-width: 720px; margin-top: 2.6rem; }
/* Hub de servicios (homepage) */
.hub-group { margin-top: 2.2rem; }
.hub-group h3 {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal-2);
  margin-bottom: 1rem;
}
@media (min-width: 960px) {
  .page-hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 540px) and (max-width: 959px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================================
   18. Reduced motion — ONLY intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
  .hero-bg img { animation: none; transform: none; }
  .hero-bubbles { display: none; }
  .hero-title em .split-word { animation: none; }
  .marquee-track { animation-duration: 60s; }
  .hero-scroll-line::after { animation: none; }
  /* hovers, fades, tilts, count-ups stay active on purpose */
}
