/* ============================================================
   GORRABORDADA · STYLES
   Editorial Dark Warm + Embroidery DNA Layer
   ============================================================ */

/* =============================================================
   1. TOKENS — variables de marca
   ============================================================= */
:root {
  /* Brand palette (manual de marca) */
  --gb-marino:    #0D1F3C;
  --gb-marino-2:  #0a1830;
  --gb-marino-3:  #15294a;
  --gb-crimson:   #B5304A;
  --gb-crimson-2: #9a263d;
  --gb-rojo:      #D62828;
  --gb-crema:     #F7F4F0;
  --gb-crema-2:   #E8E0D0;
  --gb-crema-3:   #8B8A85;
  --gb-gris-perla:#C8D0DC;
  --gb-whatsapp:  #25D366;
  --gb-ml-amarillo:#FFE600;
  --gb-ml-azul:   #3483FA;

  /* Functional aliases */
  --bg:           var(--gb-marino);
  --bg-2:         var(--gb-marino-2);
  --bg-3:         var(--gb-marino-3);
  --ink:          var(--gb-crema);
  --ink-soft:     var(--gb-crema-2);
  --ink-mute:     var(--gb-crema-3);
  --accent:       var(--gb-crimson);
  --accent-2:     var(--gb-rojo);
  --line:         rgba(247, 244, 240, 0.12);
  --line-soft:    rgba(247, 244, 240, 0.06);

  /* Typography */
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body:    'DM Sans', 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container:    1320px;
  --container-narrow: 960px;
  --pad-x:        clamp(20px, 4vw, 48px);

  /* Easings */
  --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);

  /* Shadows */
  --shadow-cta:    0 4px 14px rgba(181, 48, 74, 0.4);
  --shadow-cta-hi: 0 12px 32px rgba(181, 48, 74, 0.55);
  --shadow-card:   0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-soft:   0 8px 30px rgba(0, 0, 0, 0.18);

  /* Stitch pattern as reusable SVG noise — fabric texture */
  --fabric-noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 0.96 0 0 0 0 0.94 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -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; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--ink); }

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

/* =============================================================
   3. UTILITIES
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--accent); color: var(--ink);
  z-index: 9999; border-radius: 4px; font-weight: 600; letter-spacing: 0.05em;
  font-family: var(--font-display);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

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

/* =============================================================
   4. TYPOGRAPHY
   ============================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: clamp(3rem, 9vw, 7.2rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
}
h2 {
  font-size: clamp(2.2rem, 5.5vw, 4.6rem);
  letter-spacing: 0.025em;
}
h3 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: 0.04em;
}
h4 {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  letter-spacing: 0.06em;
}
p {
  font-size: clamp(1rem, 1.15vw, 1.0625rem);
  line-height: 1.7;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1vw, 1rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 18px;
}

.diamond-row {
  font-family: var(--font-display);
  letter-spacing: 0.5em;
  color: var(--accent);
  font-size: 0.9rem;
  display: inline-block;
}

/* =============================================================
   5. COMPONENTS — botones
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 32px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    background 0.3s var(--ease-out),
    color 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out);
  text-align: center;
  white-space: nowrap;
}
@media (min-width: 960px) {
  .btn { padding: 20px 38px; font-size: 1.1rem; }
}

/* Primary — Comprar en ML (Crimson) */
.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: var(--shadow-cta);
}
.btn-primary::after {
  content: "";
  position: absolute; inset: 5px;
  border: 1px dashed rgba(247, 244, 240, 0);
  border-radius: 2px;
  transition: border-color 0.3s var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-hi);
}
.btn-primary:hover::after { border-color: rgba(247, 244, 240, 0.5); }

/* Outline cream */
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-2px);
}

/* WhatsApp */
.btn-whatsapp {
  background: transparent;
  color: var(--gb-whatsapp);
  border-color: var(--gb-whatsapp);
}
.btn-whatsapp:hover {
  background: var(--gb-whatsapp);
  color: var(--ink);
  transform: translateY(-2px);
}

/* Sizes */
.btn-xl {
  font-size: 1.3rem;
  padding: 24px 44px;
}
@media (min-width: 960px) {
  .btn-xl { font-size: 1.6rem; padding: 28px 56px; }
}
.btn-sm {
  font-size: 0.9rem;
  padding: 10px 20px;
  letter-spacing: 0.08em;
}

/* Microcopy debajo de CTAs principales */
.cta-microcopy {
  font-size: 0.85rem;
  color: var(--ink-mute);
  margin-top: 12px;
  max-width: 360px;
  line-height: 1.5;
}

/* =============================================================
   6. CUSTOM CURSOR — aguja con hilo (desktop only)
   ============================================================= */
.cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  .has-cursor * { cursor: none !important; }
}
.cursor-needle, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  will-change: transform;
}
.cursor-needle {
  width: 28px; height: 28px; margin: -14px;
  transform-origin: center;
}
.cursor-needle svg { width: 100%; height: 100%; }
.cursor-needle .needle-body { fill: var(--ink); }
.cursor-needle .needle-eye { fill: var(--accent); }
.cursor-ring {
  width: 36px; height: 36px; margin: -18px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0.6;
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out),
              margin 0.4s var(--ease-out), opacity 0.3s var(--ease-out),
              background 0.3s var(--ease-out);
}
.cursor.is-interactive .cursor-ring {
  width: 56px; height: 56px; margin: -28px;
  background: rgba(181, 48, 74, 0.15);
  opacity: 1;
}

/* =============================================================
   7. SITE HEADER
   ============================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: background 0.4s var(--ease-out),
              padding 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out);
}
.site-header.scrolled {
  background: rgba(13, 31, 60, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  padding: 14px 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.logo-mark {
  display: inline-block;
  height: 56px;
  width: auto;
  /* SVG escala manteniendo aspect ratio del compact logo */
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo:hover .logo-mark {
  transform: scale(1.04);
  filter: drop-shadow(0 0 12px rgba(214, 40, 40, 0.45));
}
.logo-text { line-height: 1; }
@media (max-width: 539px) {
  .logo-text { font-size: 0.85rem; }
  .logo-mark { height: 46px; }
}

.main-nav ul {
  display: flex; align-items: center; gap: 32px;
}
.main-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 6px 2px;
  position: relative;
  transition: color 0.25s var(--ease-out);
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}
.main-nav a:hover { color: var(--accent); }
.main-nav a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-cta {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
.header-cta:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

@media (max-width: 959px) {
  .main-nav {
    position: fixed; inset: 0;
    background: var(--bg-2);
    display: flex; align-items: center; justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    z-index: 1000;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul {
    flex-direction: column;
    gap: 36px;
    text-align: center;
  }
  .main-nav a {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 0.06em;
  }
  .menu-toggle { display: flex; }
  .header-cta-wrap { display: none; }
}

/* =============================================================
   8. HERO — momento principal con stitched headline
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 100px 0 100px;
  overflow: hidden;
  /* Marino dominante + dos glows crimson en diagonal (arriba-derecha + abajo-izquierda) */
  background:
    radial-gradient(ellipse 65% 60% at 88% 10%, rgba(181, 48, 74, 0.50) 0%, rgba(181, 48, 74, 0.15) 30%, transparent 60%),
    radial-gradient(ellipse 60% 55% at  8% 92%, rgba(181, 48, 74, 0.45) 0%, rgba(181, 48, 74, 0.12) 30%, transparent 58%),
    var(--bg);
}

/* SVG de hilos animados — firma visual de marca */
.hero-threads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}
.hero-threads path {
  fill: none;
  stroke-linecap: round;
  animation: threadFlow 16s linear infinite;
}
.hero-threads .thread-pearl-1 { stroke: #C8D0DC; stroke-width: 1.1; stroke-dasharray: 5 7; opacity: 0.55; animation-duration: 17s; }
.hero-threads .thread-pearl-2 { stroke: #C8D0DC; stroke-width: 0.9; stroke-dasharray: 3 7; opacity: 0.40; animation-duration: 22s; }
.hero-threads .thread-rojo-1  { stroke: #D62828; stroke-width: 2.6; stroke-dasharray: 5 9; animation-duration: 13s; }
.hero-threads .thread-rojo-2  { stroke: #D62828; stroke-width: 2.3; stroke-dasharray: 4 10; animation-duration: 16s; animation-delay: -3s; }

@keyframes threadFlow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -200; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 60px;
  align-items: center;
  grid-template-columns: 1fr;
  min-height: calc(100vh - 260px);
}
@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1.15fr 1fr;
    gap: 80px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}
.hero-eyebrow .diamond {
  color: var(--accent);
  font-family: var(--font-display);
  letter-spacing: 0.3em;
  font-size: 0.85rem;
}
.hero-eyebrow .label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  color: var(--ink);
  margin-bottom: 32px;
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 0.92;
}
.hero h1 .accent-word {
  color: var(--accent);
  font-style: normal;
  position: relative;
  display: inline-block;
}
/* Stitched underline animado debajo de la palabra acento */
.hero h1 .accent-word::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -8px;
  height: 6px;
  background-image:
    linear-gradient(90deg, var(--accent) 50%, transparent 50%);
  background-size: 12px 2px;
  background-repeat: repeat-x;
  background-position: bottom;
  transform: scaleX(0);
  transform-origin: left;
  animation: stitchDraw 1.6s var(--ease-out) 1.2s forwards;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.65;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero-props {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}
.hero-prop {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.5;
}
.hero-prop .diamond {
  color: var(--accent);
  font-size: 0.75rem;
  margin-top: 7px;
  flex-shrink: 0;
}
.hero-prop strong {
  font-weight: 600;
  color: var(--ink);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}

/* Visual del hero — placeholder de gorra con marco bastidor */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 0.6s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes stitchDraw {
  to { transform: scaleX(1); }
}

/* =============================================================
   9. PLACEHOLDER DE FOTOS — marco bastidor (intencional, no draft)
   ============================================================= */
.photo-ph {
  position: relative;
  background:
    linear-gradient(135deg, rgba(13, 31, 60, 0.6), rgba(21, 41, 74, 0.8)),
    var(--bg-3);
  border: 2px dashed rgba(181, 48, 74, 0.3);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  isolation: isolate;
}

/* Real image overlay — cubre el placeholder completo */
.photo-ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
  border-radius: 4px;
}

/* Cuando .photo-ph contiene img real, ocultar el placeholder decorativo */
.photo-ph:has(img) {
  border-color: transparent;
  background: var(--bg-3);
}
.photo-ph:has(img)::before,
.photo-ph:has(img)::after {
  display: none;
}
.photo-ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--fabric-noise);
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
}
.photo-ph::after {
  /* Marco bastidor — círculo decorativo */
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(181, 48, 74, 0.25);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.photo-ph__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px;
  max-width: 86%;
}
.photo-ph__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin: 0 auto 12px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
}
.photo-ph__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.18em;
  color: var(--ink);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.photo-ph__spec {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-mute);
  line-height: 1.5;
  font-style: italic;
}
.photo-ph__ratio {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  padding: 3px 10px;
  border: 1px solid rgba(181, 48, 74, 0.4);
  border-radius: 2px;
}

/* Hero photo placeholder específico */
.hero-visual .photo-ph { height: 100%; min-height: 480px; }
@media (max-width: 959px) {
  .hero-visual .photo-ph { min-height: 360px; }
}

/* =============================================================
   10. MARQUEE — slogan scrolling
   ============================================================= */
.marquee {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  padding: 26px 0;
  position: relative;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: 0.2em;
  color: var(--ink);
  will-change: transform;
}
.marquee-track > span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.marquee-track .diamond {
  color: var(--accent);
  font-size: 0.8em;
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* =============================================================
   11. SECTION BASE
   ============================================================= */
.section {
  padding: clamp(70px, 10vh, 130px) 0;
  position: relative;
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vh, 70px);
}
.section-head .diamond-row { margin-bottom: 18px; }
.section-head p {
  color: var(--ink-soft);
  margin-top: 18px;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}

/* Section variants by background */
.section-dark    { background: var(--bg); }
.section-darker  { background: var(--bg-2); }
.section-card    { background: var(--bg-3); }

/* Bastidor (embroidery hoop) divider entre secciones — opcional */
.hoop-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  background: var(--bg);
}
.hoop-divider svg { width: 80px; height: 80px; color: var(--accent); opacity: 0.5; }

/* =============================================================
   12. SECCIÓN — BENEFICIOS (3 props diferenciados)
   ============================================================= */
.beneficios {
  background: var(--bg);
}
.beneficios-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .beneficios-grid { grid-template-columns: repeat(3, 1fr); }
}

.beneficio-card {
  padding: 36px 30px;
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.beneficio-card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease-out);
}
.beneficio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(181, 48, 74, 0.3);
}
.beneficio-card:hover::before { transform: scaleY(1); }

.beneficio-card .num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.beneficio-card h3 {
  color: var(--ink);
  margin-bottom: 14px;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}
.beneficio-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* =============================================================
   13. SECCIÓN — GALERÍA (masonry-ish con leve rotación)
   ============================================================= */
.galeria {
  background: var(--bg-2);
}
.galeria-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) {
  .galeria-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

.galeria-item {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  will-change: transform;
}
/* Leve rotación intencional para feel artesanal */
.galeria-item:nth-child(3n+1) { transform: rotate(-1deg); }
.galeria-item:nth-child(3n+2) { transform: rotate(0.5deg); }
.galeria-item:nth-child(3n)   { transform: rotate(-0.5deg); }
.galeria-item:hover {
  transform: translateY(-6px) rotate(0deg) scale(1.02);
  box-shadow: var(--shadow-card);
  z-index: 2;
}

.galeria-item .photo-ph { height: 100%; min-height: 0; }
.galeria-item .meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 16px 14px;
  background: linear-gradient(to top, rgba(13, 31, 60, 0.95), transparent);
  z-index: 3;
  transform: translateY(20%);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
}
.galeria-item:hover .meta {
  transform: translateY(0);
  opacity: 1;
}
.galeria-item .meta-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 4px;
}
.galeria-item .meta-style {
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.galeria-cta {
  text-align: center;
  margin-top: 50px;
}

/* =============================================================
   14. SECCIÓN — PROCESO (5 pasos en línea timeline)
   ============================================================= */
.proceso {
  background: var(--bg);
}
.proceso-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .proceso-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}
@media (min-width: 1100px) {
  .proceso-grid { grid-template-columns: repeat(5, 1fr); gap: 24px; }
}

.paso {
  position: relative;
  padding-top: 8px;
}
.paso-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 5vw, 4.6rem);
  line-height: 0.9;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  opacity: 0.9;
}
.paso h3 {
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  line-height: 1.15;
}
.paso p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Línea decorativa de "puntadas" entre pasos en desktop */
@media (min-width: 1100px) {
  .paso:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 32px;
    left: calc(100% - 12px);
    width: calc(100% - 36px);
    height: 2px;
    background-image: linear-gradient(90deg, var(--accent) 50%, transparent 50%);
    background-size: 10px 2px;
    background-repeat: repeat-x;
    opacity: 0.45;
  }
}

.proceso-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: clamp(40px, 6vh, 70px);
}

/* =============================================================
   15. SECCIÓN — IMAGINA / ADAPTAMOS (reframed sí/no)
   ============================================================= */
.imagina {
  background: var(--bg-2);
}
.imagina-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .imagina-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.imagina-col {
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 36px 28px;
  position: relative;
  transition: border-color 0.4s var(--ease-out);
}
.imagina-col:hover { border-color: rgba(181, 48, 74, 0.3); }

.imagina-col h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}
.imagina-col__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 4px;
  background: rgba(181, 48, 74, 0.15);
  color: var(--accent);
  flex-shrink: 0;
}
.imagina-col h3 .label {
  color: var(--accent);
}

.imagina-col ul li {
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}
.imagina-col ul li:last-child { border-bottom: none; }
.imagina-col ul li .marker {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
  font-size: 0.7rem;
}

/* Sub-título dentro de cards de comparación (reutilizable) */
.imagina-col__sub {
  color: var(--ink-mute);
  font-size: 0.88rem;
  margin: -6px 0 18px;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* Sección de técnicas (Plano vs 3D) — reutiliza .imagina-grid y .imagina-col */
.tecnicas {
  background: var(--bg);
}

.imagina-cta {
  background: var(--bg);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 32px 28px;
  text-align: center;
  margin-top: 36px;
  position: relative;
  overflow: hidden;
}
.imagina-cta::before {
  content: "";
  position: absolute; inset: 0;
  /* Glow crimson sutil en lugar de fabric-noise */
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(181, 48, 74, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.imagina-cta p {
  position: relative;
  color: var(--ink);
  margin-bottom: 18px;
  font-size: 1.05rem;
}

/* =============================================================
   16. SECCIÓN — EMPRESAS / MAYOREO (B2B discreto pero llamativo)
   ============================================================= */
.empresas {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.empresas::before {
  content: "";
  position: absolute;
  top: -100px; right: -150px;
  width: 400px; height: 400px;
  border: 1px solid rgba(181, 48, 74, 0.1);
  border-radius: 50%;
  pointer-events: none;
}
.empresas-inner {
  display: grid;
  gap: 50px;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
}
@media (min-width: 960px) {
  .empresas-inner { grid-template-columns: 1fr 1fr; gap: 70px; }
}

.empresas-content .eyebrow { color: var(--accent); }
.empresas-content h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}
.empresas-content .lead {
  color: var(--ink-soft);
  margin-bottom: 28px;
  line-height: 1.65;
}

.empresas-bullets {
  margin-bottom: 32px;
}
.empresas-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.empresas-bullets li:last-child { border-bottom: none; }
.empresas-bullets .diamond {
  color: var(--accent);
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 7px;
}

.empresas-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.empresas-visual {
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.empresas-visual .photo-ph { height: 100%; min-height: 0; }

/* =============================================================
   17. SECCIÓN — NÚMERO MASIVO (social proof)
   ============================================================= */
.big-number {
  /* Mismo lenguaje visual que el hero — marino + dos glows crimson en diagonal */
  background:
    radial-gradient(ellipse 60% 55% at 88% 18%, rgba(181, 48, 74, 0.42) 0%, rgba(181, 48, 74, 0.12) 30%, transparent 60%),
    radial-gradient(ellipse 55% 50% at  8% 88%, rgba(181, 48, 74, 0.38) 0%, rgba(181, 48, 74, 0.10) 30%, transparent 58%),
    var(--bg);
  padding: clamp(80px, 14vh, 160px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Hilos animados — más sutiles que en el hero (sección más corta) */
.big-number-threads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
}
.big-number-threads path {
  fill: none;
  stroke-linecap: round;
  animation: threadFlow 16s linear infinite;
}
.big-number-threads .thread-rojo  { stroke: #D62828; stroke-width: 2.2; stroke-dasharray: 5 9;  animation-duration: 14s; }
.big-number-threads .thread-pearl { stroke: #C8D0DC; stroke-width: 0.9; stroke-dasharray: 3 7;  opacity: 0.5; animation-duration: 19s; animation-delay: -4s; }
.big-number__eyebrow {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1vw, 1rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.big-number__value-wrap {
  display: block;
  position: relative;
  margin-bottom: 16px;
  /* Para que el shine overlay solo cubra el área del número */
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.big-number__value {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(7rem, 22vw, 18rem);
  line-height: 0.85;
  color: var(--ink);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 2;
  /* Glow base + pulse animation (pausada hasta count-up completo) */
  text-shadow:
    0 0 30px rgba(181, 48, 74, 0.45),
    0 0 60px rgba(181, 48, 74, 0.25);
  animation: bigNumberPulse 3.5s ease-in-out infinite;
  animation-play-state: paused;
}
.big-number__value.is-counted {
  animation-play-state: running;
}
@keyframes bigNumberPulse {
  0%, 100% {
    text-shadow:
      0 0 30px rgba(181, 48, 74, 0.45),
      0 0 60px rgba(181, 48, 74, 0.25);
    transform: scale(1);
  }
  50% {
    text-shadow:
      0 0 50px rgba(181, 48, 74, 0.7),
      0 0 100px rgba(181, 48, 74, 0.4),
      0 0 140px rgba(214, 40, 40, 0.2);
    transform: scale(1.015);
  }
}
/* El símbolo "+" pop-in independiente — aparece después del count-up */
.big-number__plus {
  display: inline-block;
  transform: scale(0) rotate(-90deg);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.34, 1.7, 0.64, 1), opacity 0.4s ease;
  color: var(--accent);
}
.big-number__plus.is-shown {
  transform: scale(1) rotate(0);
  opacity: 1;
}
/* Shine sweep — barrido de luz cruzando el número */
.big-number__shine {
  position: absolute;
  inset: -10% 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
  opacity: 0;
}
.big-number__shine.is-active {
  opacity: 1;
  animation: bigNumberShineSweep 1.2s ease-out 0.1s forwards;
}
.big-number__shine::before {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 25%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(247, 244, 240, 0) 20%,
    rgba(247, 244, 240, 0.35) 50%,
    rgba(247, 244, 240, 0) 80%,
    transparent 100%
  );
  transform: skewX(-18deg);
}
@keyframes bigNumberShineSweep {
  0%   { opacity: 0; }
  20%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(450%); }
}
.big-number__label {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: 0.15em;
  color: var(--ink-soft);
  position: relative;
  z-index: 2;
  margin-bottom: 28px;
}
.big-number__sub {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-mute);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 2;
}
.big-number__sub .stars {
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

/* =============================================================
   18. SECCIÓN — CONFIANZA (cards)
   ============================================================= */
.confianza {
  background: var(--bg);
}
.confianza-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .confianza-grid { grid-template-columns: repeat(3, 1fr); }
}

.confianza-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.confianza-card:hover {
  transform: translateY(-4px);
  border-color: rgba(181, 48, 74, 0.3);
}
.confianza-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px; height: 92px;
  margin: 0 auto 24px;
  color: var(--accent);
  border: 1.5px dashed rgba(181, 48, 74, 0.55);
  border-radius: 50%;
  position: relative;
  /* Glow sutil del propio anillo */
  box-shadow: 0 0 0 0 rgba(181, 48, 74, 0.0), 0 0 24px -6px rgba(181, 48, 74, 0.3);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
.confianza-card:hover .icon {
  border-color: rgba(181, 48, 74, 0.85);
  box-shadow: 0 0 0 0 rgba(181, 48, 74, 0.0), 0 0 32px -4px rgba(181, 48, 74, 0.5);
}
.confianza-card .icon svg {
  width: 44px; height: 44px;
}

/* Animación stitched-in del path del ícono (cards 1 y 2) — se dibuja al entrar en viewport */
.confianza-card .icon svg path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.4s ease-out;
}
.reveal-stagger.is-visible .confianza-card .icon svg path {
  stroke-dashoffset: 0;
}
.reveal-stagger.is-visible > .confianza-card:nth-child(1) .icon svg path { transition-delay: 0.15s; }
.reveal-stagger.is-visible > .confianza-card:nth-child(2) .icon svg path { transition-delay: 0.3s; }

/* Card 3 (estrellas) — el icon-wrapper se transforma en una fila de 5 estrellas outlined */
.confianza-card.card-stars .icon {
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  box-shadow: none;
  display: inline-flex;
  gap: 8px;
  padding: 12px 8px;
  border-radius: 4px;
  /* Hover: mismo glow halo que los otros 2 cards */
  transition: box-shadow 0.4s ease, background 0.4s ease;
}
.confianza-card.card-stars:hover .icon {
  border: none;
  background: rgba(214, 40, 40, 0.06);
  box-shadow: 0 0 32px -4px rgba(214, 40, 40, 0.45);
}
.confianza-card.card-stars .icon .star {
  width: 26px; height: 26px;
  color: var(--accent);
  /* Outlined — solo el hilo del bordado, sin relleno */
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
  opacity: 0;
  transform: scale(0.4) rotate(-15deg);
  transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}
.confianza-card.card-stars:hover .icon .star {
  filter: drop-shadow(0 0 6px rgba(214, 40, 40, 0.55));
}
.reveal-stagger.is-visible .confianza-card.card-stars .icon .star {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.reveal-stagger.is-visible .confianza-card.card-stars .icon .star:nth-child(1) { transition-delay: 0.35s; }
.reveal-stagger.is-visible .confianza-card.card-stars .icon .star:nth-child(2) { transition-delay: 0.47s; }
.reveal-stagger.is-visible .confianza-card.card-stars .icon .star:nth-child(3) { transition-delay: 0.59s; }
.reveal-stagger.is-visible .confianza-card.card-stars .icon .star:nth-child(4) { transition-delay: 0.71s; }
.reveal-stagger.is-visible .confianza-card.card-stars .icon .star:nth-child(5) { transition-delay: 0.83s; }
.confianza-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.confianza-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.confianza-card .stars {
  color: var(--accent);
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  margin-bottom: 6px;
}
.ml-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gb-ml-amarillo);
  color: var(--gb-ml-azul);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  padding: 7px 14px;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-top: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ml-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 241, 89, 0.35);
  background: #FFE74D;
}

/* =============================================================
   19. SECCIÓN — FAQ
   ============================================================= */
.faq {
  background: var(--bg-2);
}
.faq-list {
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.faq-item[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: background 0.3s var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(181, 48, 74, 0.06); }
.faq-item summary::after {
  content: "";
  width: 18px; height: 18px;
  flex-shrink: 0;
  background-image:
    linear-gradient(var(--accent), var(--accent)),
    linear-gradient(var(--accent), var(--accent));
  background-position: center;
  background-size: 18px 2px, 2px 18px;
  background-repeat: no-repeat;
  transition: transform 0.3s var(--ease-out);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background-size: 18px 2px, 0 18px;
}
.faq-item .answer {
  padding: 0 26px 24px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* =============================================================
   20. CTA FINAL
   ============================================================= */
.cta-final {
  /* Mismo fondo hero — marino + dos glows crimson */
  background:
    radial-gradient(ellipse 65% 60% at 10% 15%, rgba(181, 48, 74, 0.48) 0%, rgba(181, 48, 74, 0.14) 30%, transparent 60%),
    radial-gradient(ellipse 60% 55% at 92% 90%, rgba(181, 48, 74, 0.42) 0%, rgba(181, 48, 74, 0.11) 30%, transparent 58%),
    var(--bg);
  text-align: center;
  padding: clamp(80px, 12vh, 140px) 0;
  position: relative;
  overflow: hidden;
}
.cta-final::after {
  content: "";
  position: absolute;
  bottom: -200px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  border: 1px dashed rgba(181, 48, 74, 0.18);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* Hilos animados igual que big-number */
.cta-final-threads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
}
.cta-final-threads path {
  fill: none;
  stroke-linecap: round;
  animation: threadFlow 16s linear infinite;
}
.cta-final-threads .thread-rojo  { stroke: #D62828; stroke-width: 2.2; stroke-dasharray: 5 9;  animation-duration: 15s; animation-direction: reverse; }
.cta-final-threads .thread-pearl { stroke: #C8D0DC; stroke-width: 0.9; stroke-dasharray: 3 7;  opacity: 0.5; animation-duration: 20s; animation-delay: -3s; }
.cta-final-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}
.cta-final h2 {
  font-size: clamp(2.6rem, 7.5vw, 5.4rem);
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}
.cta-final p {
  color: var(--ink-soft);
  margin-bottom: 28px;
  font-size: 1.05rem;
}
.cta-final .slogan {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--accent);
  letter-spacing: 0.2em;
  font-size: 1rem;
  margin: 20px 0 32px;
}

/* =============================================================
   21. FOOTER
   ============================================================= */
.site-footer {
  background: #050a18;
  color: var(--ink-soft);
  padding: 64px 0 30px;
  border-top: 1px solid var(--line-soft);
}
.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  margin-bottom: 40px;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-col h4 {
  font-size: 1rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  font-size: 0.92rem;
  color: rgba(247, 244, 240, 0.75);
  transition: color 0.25s var(--ease-out);
}
.footer-col a:hover { color: var(--accent); }

.footer-brand .logo { color: var(--ink); }
.footer-brand p {
  font-size: 0.9rem;
  color: rgba(247, 244, 240, 0.5);
  margin-top: 10px;
  max-width: 320px;
  line-height: 1.55;
}

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(247, 244, 240, 0.4);
}

/* =============================================================
   22. FLOATING WHATSAPP + STICKY MOBILE CTA
   ============================================================= */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 998;
  width: 60px; height: 60px;
  background: rgba(13, 31, 60, 0.95);
  border: 2px solid var(--gb-whatsapp);
  border-radius: 50%;
  color: var(--gb-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  box-shadow:
    0 6px 22px rgba(37, 211, 102, 0.35),
    0 0 0 0 rgba(37, 211, 102, 0.6);
  transition: opacity 0.4s var(--ease-out),
              transform 0.4s var(--ease-out);
}
.wa-float.visible {
  opacity: 1;
  transform: translateY(0);
  /* Pulse breathing continuo cuando es visible */
  animation: waPulseBreathing 2.4s ease-in-out infinite;
}
.wa-float:hover {
  animation-play-state: paused;
  transform: translateY(0) scale(1.08);
  box-shadow:
    0 10px 32px rgba(37, 211, 102, 0.55),
    0 0 0 8px rgba(37, 211, 102, 0.18);
}
.wa-float__icon,
.wa-float svg {
  width: 30px; height: 30px;
  fill: none;
  stroke: var(--gb-whatsapp);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(37, 211, 102, 0.55));
}
@media (max-width: 1023px) {
  .wa-float { bottom: 80px; right: 16px; width: 54px; height: 54px; }
  .wa-float__icon, .wa-float svg { width: 26px; height: 26px; }
}

/* Pulse breathing — scale + halo expansion continuo */
@keyframes waPulseBreathing {
  0%, 100% {
    box-shadow:
      0 6px 22px rgba(37, 211, 102, 0.35),
      0 0 0 0 rgba(37, 211, 102, 0.6);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 8px 32px rgba(37, 211, 102, 0.55),
      0 0 0 12px rgba(37, 211, 102, 0);
    transform: scale(1.05);
  }
}

.sticky-mobile-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 997;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: flex;
  gap: 10px;
  align-items: center;
  transform: translateY(110%);
  transition: transform 0.4s var(--ease-out);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}
.sticky-mobile-cta.visible { transform: translateY(0); }
.sticky-mobile-cta .btn {
  flex: 1;
  padding: 14px 18px;
  font-size: 0.95rem;
}
.sticky-mobile-cta .wa-mini {
  width: 48px; height: 48px;
  background: var(--gb-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sticky-mobile-cta .wa-mini svg { width: 24px; height: 24px; color: var(--ink); }
@media (min-width: 1024px) {
  .sticky-mobile-cta { display: none; }
}
body.has-sticky-cta { padding-bottom: 78px; }
@media (min-width: 1024px) {
  body.has-sticky-cta { padding-bottom: 0; }
}

/* =============================================================
   23. REVEALS (scroll animations)
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Defensive: si tiene data-split también, no se queda invisible */
.reveal[data-split] { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.56s; }

/* =============================================================
   24. REDUCED MOTION — solo apaga efectos INTRUSIVOS
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .wa-float.visible { animation: none; }
  .hero h1 .accent-word::after { animation: none; transform: scaleX(1); }
  .hero-threads path { animation: none; }
  /* NO apagamos: reveals (son cortos), hover effects, tilt sutil, fades */
}
