/* ==========================================================================
   Jairo Lizama — Landing Page  ·  2026 Edition
   Paleta: Petróleo #0F2A33 · Blanco frío #F6F7F7 · Gris azulado #5C7480
           Terracota #A84B29 (botones/acentos) · Menta #4ECFA5 (cifras sobre oscuro)
   Tipografía: Instrument Serif (titulares H1/H2) + Inter (cuerpo/nav)
               + Roboto Mono (labels/microcopia técnica)
   ========================================================================== */

/* ── Design Tokens ─────────────────────────────────────────────────────── */
:root {
  /* Color palette */
  --petroleo:        #0F2A33;
  --petroleo-soft:   #16333d;
  --petroleo-mid:    #1a3d49;
  --petroleo-dark:   #081a20;
  --petroleo-line:   rgba(246, 247, 247, 0.10);
  --blanco-frio:     #F6F7F7;
  --hueso:           #F8F7F4;
  --white:           #FFFFFF;
  --gris-azulado:    #5C7480;
  --gris-light:      #8fa4ae;
  --ambar:           #D98324;
  --ambar-hover:     #c07319;
  --terracota:       #A84B29;
  --terracota-hover: #8e3c1d;
  --terracota-soft:  #fdf5f0;
  --terracota-glow:  rgba(168, 75, 41, 0.22);
  --menta:           #4ECFA5;
  --menta-dark:      #3ab891;
  --menta-glow:      rgba(78, 207, 165, 0.18);
  --ink:             #10222A;

  /* Typography */
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:  'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --container-w:      1180px;
  --container-narrow: 760px;
  --radius-xl:        32px;
  --radius-lg:        24px;
  --radius-md:        16px;
  --radius-sm:        10px;
  --space-section:    clamp(72px, 9vw, 120px);

  /* Shadows */
  --shadow-xs:  0 1px 4px rgba(15, 42, 51, 0.06);
  --shadow-sm:  0 4px 14px rgba(15, 42, 51, 0.08);
  --shadow-md:  0 8px 28px rgba(15, 42, 51, 0.11);
  --shadow-lg:  0 16px 48px rgba(15, 42, 51, 0.14);
  --shadow-xl:  0 32px 80px rgba(15, 42, 51, 0.18);

  /* Easing curves */
  --ease-out-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth:     cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }
input, select { font: inherit; }

/* ── Skip link ─────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--terracota); color: var(--white);
  padding: 12px 20px; z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ── Container / Layout ────────────────────────────────────────────────── */
.container {
  width: 100%; max-width: var(--container-w);
  margin: 0 auto; padding: 0 28px;
}
.container.narrow { max-width: var(--container-narrow); }
.section { padding: var(--space-section) 0; }
.section-alt { background: var(--blanco-frio); }

/* ── Type scale ────────────────────────────────────────────────────────── */
h1, h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: inherit;
  line-height: 1.1;
}
h2 {
  font-size: clamp(32px, 4.6vw, 50px);
  max-width: 22ch;
}
h2 em, .section h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--terracota);
  font-weight: 400;
}
.title-single-line {
  max-width: none;
}
@media (min-width: 860px) {
  .title-single-line {
    white-space: nowrap;
  }
}
.section-lead {
  margin-top: 18px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--gris-azulado);
  max-width: 58ch;
  line-height: 1.6;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 247, 247, 0.6);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px; height: 1.5px;
  background: var(--menta);
  flex-shrink: 0;
}
.eyebrow-dark { color: var(--gris-azulado); }
.eyebrow-dark::before { background: var(--terracota); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 999px;
  border: none;
  overflow: hidden;
  transition: transform 0.2s var(--ease-spring),
              background 0.2s var(--ease-smooth),
              box-shadow 0.2s var(--ease-smooth);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* ── Icono de WhatsApp en botones ──────────────────────────────────────── */
.btn-wa-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
  transition: transform 0.25s var(--ease-spring);
}
.btn:hover .btn-wa-icon,
.dock-cta:hover .btn-wa-icon,
.dock-mobile-cta:hover .btn-wa-icon {
  transform: scale(1.12);
}

/* Shimmer layer on primary & Relieve táctil inferior */
.btn-primary,
.btn-terracota {
  background: linear-gradient(180deg, #b85430 0%, #a84b29 100%);
  color: var(--white);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 4px 0 #783115,
    0 8px 18px rgba(15, 42, 51, 0.22);
  transition: transform 0.2s var(--ease-spring),
              box-shadow 0.2s var(--ease-smooth),
              background 0.2s var(--ease-smooth);
}
.btn-primary::after,
.btn-terracota::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 35%,
    rgba(255,255,255,0.18) 50%,
    transparent 65%);
  transform: translateX(-100%);
  transition: transform 0.55s var(--ease-smooth);
}
.btn-primary:hover::after,
.btn-terracota:hover::after { transform: translateX(100%); }
.btn-primary:hover,
.btn-terracota:hover {
  background: linear-gradient(180deg, #bf5833 0%, #9e3f1e 100%);
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 6px 0 #783115,
    0 12px 24px rgba(15, 42, 51, 0.28);
}
.btn-primary:active,
.btn-terracota:active {
  transform: translateY(2px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 2px 0 #783115,
    0 4px 10px rgba(15, 42, 51, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--petroleo);
  border: 1.5px solid rgba(15, 42, 51, 0.22);
}
.btn-outline:hover {
  background: var(--petroleo);
  color: var(--white);
  border-color: var(--petroleo);
  box-shadow: var(--shadow-md);
}
.btn-block { width: 100%; justify-content: center; }
.section-cta { margin-top: 48px; }

/* ── Top Bar ───────────────────────────────────────────────────────────── */
.top-bar {
  background: var(--petroleo-dark);
  color: rgba(246, 247, 247, 0.7);
  font-size: 13px;
  font-family: var(--font-sans);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.top-bar-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.top-bar-location {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; color: rgba(246, 247, 247, 0.82);
}
.top-bar-links {
  display: flex; align-items: center; gap: 16px;
}
.top-bar-links a {
  color: rgba(246, 247, 247, 0.82);
  transition: color 0.2s;
}
.top-bar-links a:hover { color: var(--menta); }
.top-bar-sep { color: rgba(246, 247, 247, 0.2); }

/* ── Floating Capsule Header (Always Floating Dock - Inspirado en el diseño) ── */
.floating-dock-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 16px;
  pointer-events: none;
}

.dock-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px 5px 14px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(15, 42, 51, 0.09);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(15, 42, 51, 0.08),
              0 2px 6px rgba(15, 42, 51, 0.03);
  position: relative;
  transition: box-shadow 0.3s var(--ease-smooth),
              background 0.3s var(--ease-smooth),
              transform 0.3s var(--ease-smooth);
}

.dock-pill:hover {
  box-shadow: 0 20px 48px rgba(15, 42, 51, 0.12),
              0 3px 10px rgba(15, 42, 51, 0.05);
}

/* Brand inside dock */
.dock-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 12px;
  border-right: 1px solid rgba(15, 42, 51, 0.08);
  text-decoration: none;
}
.dock-logo {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.dock-brand-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--petroleo);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Nav links */
.dock-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.dock-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 15px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gris-azulado);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.22s, background 0.22s;
  white-space: nowrap;
}

.dock-link:hover {
  color: var(--petroleo);
  background: rgba(15, 42, 51, 0.045);
}

.dock-link.is-active {
  color: var(--petroleo);
  font-weight: 600;
  background: rgba(15, 42, 51, 0.06);
}

/* The signature dark top notch / lamp marker from the reference image */
.dock-notch {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 3.5px;
  background: var(--petroleo);
  border-radius: 999px;
  box-shadow: 0 -2px 8px rgba(15, 42, 51, 0.4),
              0 0 10px rgba(168, 75, 41, 0.2);
  transition: transform 0.25s var(--ease-spring), opacity 0.25s;
  opacity: 0;
  pointer-events: none;
}

.dock-link.is-active .dock-notch {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

/* CTA inside dock */
.dock-cta {
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(180deg, #b85430 0%, #a84b29 100%);
  color: var(--white);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 3px 0 #783115,
    0 6px 14px rgba(15, 42, 51, 0.2);
  transition: background 0.2s, transform 0.2s var(--ease-spring), box-shadow 0.2s;
}
.dock-cta:hover {
  background: linear-gradient(180deg, #bf5833 0%, #9e3f1e 100%);
  color: var(--white);
  transform: translateY(-1.5px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 4.5px 0 #783115,
    0 8px 18px rgba(15, 42, 51, 0.26);
}
.dock-cta:active {
  transform: translateY(1.5px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 1.5px 0 #783115,
    0 3px 8px rgba(15, 42, 51, 0.2);
}

/* Hamburger toggle for mobile */
.dock-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 4px;
}
.dock-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  background: var(--petroleo);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.dock-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.dock-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.dock-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile dropdown menu */
.dock-mobile-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: min(calc(100vw - 32px), 340px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(15, 42, 51, 0.09);
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(15, 42, 51, 0.16);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out-expo),
              transform 0.25s var(--ease-out-expo);
}
.dock-mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dock-mobile-link {
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--petroleo);
  text-decoration: none;
  transition: background 0.2s;
}
.dock-mobile-link:hover,
.dock-mobile-link.is-active {
  background: rgba(15, 42, 51, 0.055);
}
.dock-mobile-cta {
  margin-top: 6px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #b85430 0%, #a84b29 100%);
  color: var(--white);
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 3.5px 0 #783115,
    0 6px 14px rgba(15, 42, 51, 0.22);
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
}
.dock-mobile-cta:active {
  transform: translateY(1.5px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 1.5px 0 #783115,
    0 3px 8px rgba(15, 42, 51, 0.2);
}

@media (max-width: 860px) {
  .floating-dock-header {
    top: 10px;
    padding: 0 10px;
  }
  .dock-pill {
    padding: 5px 8px 5px 12px;
    gap: 8px;
    max-width: calc(100vw - 20px);
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .dock-brand {
    border-right: none;
    padding-right: 0;
    gap: 6px;
    flex-shrink: 0;
  }
  .dock-brand-name {
    font-size: 12px;
    white-space: nowrap;
  }
  .dock-nav {
    display: none;
  }
  .dock-toggle {
    display: flex;
    flex-shrink: 0;
  }
  .dock-cta {
    padding: 6px 11px;
    font-size: 11.5px;
    margin-left: auto;
    gap: 5px;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .dock-cta .btn-wa-icon {
    width: 13.5px;
    height: 13.5px;
  }
}

@media (max-width: 380px) {
  .floating-dock-header {
    top: 8px;
    padding: 0 6px;
  }
  .dock-pill {
    padding: 4px 6px 4px 10px;
    gap: 6px;
  }
  .dock-brand-name {
    font-size: 11px;
  }
  .dock-cta {
    font-size: 10.5px;
    padding: 5px 8px;
    gap: 4px;
  }
  .dock-cta .btn-wa-icon {
    width: 12px;
    height: 12px;
  }
}

/* ── Hero Editorial Minimalista (Exacto a Figma 1626x776) ───────────── */
.hero-editorial {
  position: relative;
  background: var(--white);
  color: var(--petroleo);
  padding: 0;
  overflow: hidden;
}
.hero-editorial::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle at 100% 0%, rgba(168, 75, 41, 0.035) 0%, transparent 70%);
  pointer-events: none;
}

.hero-editorial .container {
  max-width: 1200px;
  padding: 0 24px;
}

.hero-triptych-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 335px 440px 305px;
  justify-content: space-between;
  align-items: center;
  min-height: 740px;
}

/* Columna Izquierda: Eyebrow, Titular, Botón & Caption */
.hero-col-left {
  align-self: center;
  padding-bottom: 20px;
  max-width: 335px;
}
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c7480;
  margin-bottom: 18px;
}
.hero-statement-title {
  font-family: var(--font-sans);
  font-size: clamp(28px, 2.7vw, 34px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--petroleo);
  margin: 0;
  text-wrap: balance;
}
.hero-statement-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: calc(1em + 2pt);
  color: #a84b29;
}
.hero-line-clientes,
.hero-line-noclics {
  display: inline;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 28px;
}
.hero-actions .btn-primary {
  width: auto;
  min-width: 248px;
  height: 53.25px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 26.6px;
  background: linear-gradient(180deg, #b85430 0%, #a84b29 100%);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 4px 0 #783115,
    0 8px 20px rgba(15, 42, 51, 0.22);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s, background 0.25s;
}
.hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #bf5833 0%, #9e3f1e 100%);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 6px 0 #783115,
    0 14px 26px rgba(15, 42, 51, 0.28);
}
.hero-actions .btn-primary:active {
  transform: translateY(2px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 2px 0 #783115,
    0 4px 10px rgba(15, 42, 51, 0.2);
}
.hero-caption {
  font-size: 12px;
  color: #5c7480;
  font-weight: 500;
}

/* Columna Central: Disco Solar 443x443 + Retrato 389x753 Flush (Exacto a Figma) */
.hero-col-center {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  line-height: 0;
  width: 443px;
  height: 776px;
}
.hero-disc-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  line-height: 0;
  width: 443px;
  height: 776px;
}
.hero-sun-disc {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 443px;
  height: 443px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f29068 0%, #ea6335 45%, #a84b29 100%);
  box-shadow: 0 0 80px rgba(242, 144, 104, 0.18), 0 24px 64px rgba(168, 75, 41, 0.26);
  z-index: 0;
  pointer-events: none;
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s;
}
.hero-disc-wrap:hover .hero-sun-disc {
  transform: translateX(-50%) scale(1.02);
  box-shadow: 0 0 96px rgba(242, 144, 104, 0.25), 0 28px 72px rgba(168, 75, 41, 0.32);
}
.hero-person-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 389px;
  height: 753px;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 16px 36px rgba(15, 42, 51, 0.16));
  transition: transform 0.5s var(--ease-out-expo);
  vertical-align: bottom;
}
.hero-person-img:hover {
  transform: scale(1.015);
}

/* Columna Derecha: Explicación & Certificaciones Oficiales (Pegado a la derecha exterior) */
.hero-col-right {
  align-self: end;
  justify-self: end;
  padding-bottom: 68px;
  max-width: 307px;
  width: 307px;
  text-align: right;
}
.hero-pitch-block {
  max-width: 265px;
  margin-bottom: 54px;
  margin-left: auto;
}
.hero-pitch-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  color: #a84b29;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 8px;
  text-align: right;
}
.hero-pitch-block .hero-lead {
  font-size: 14.5px;
  color: #48606c;
  line-height: 1.55;
  margin-bottom: 14px;
  text-align: right;
}
.hero-pitch-sub {
  font-size: 13.5px;
  color: #48606c;
  line-height: 1.55;
  margin: 0;
  text-align: right;
}

/* Certificaciones integradas en columna derecha */
.hero-certifications {
  padding-top: 0;
  border-top: none;
}
.hero-cert-line {
  width: 307px;
  height: 1px;
  background: rgba(15, 42, 51, 0.08);
  margin-bottom: 22px;
  margin-left: auto;
}
.hero-cert-label {
  font-family: var(--font-sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5c7480;
  display: block;
  margin-bottom: 16px;
  font-weight: 700;
  text-align: right;
}
.hero-cert-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 307px;
  align-items: flex-end;
}
.hero-cert-row {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}
.hero-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f6f7f7;
  border: 1px solid rgba(15, 42, 51, 0.1);
  box-shadow: 0 1px 4px rgba(15, 42, 51, 0.04);
  color: #0f2a33;
  font-size: 12px;
  font-weight: 600;
  transition: transform 0.25s var(--ease-spring), border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.hero-cert-badge:hover {
  transform: translateY(-2px);
  background: var(--white);
  border-color: var(--terracota);
  box-shadow: 0 6px 18px rgba(168, 75, 41, 0.12);
}
.hero-cert-badge.badge-meta {
  width: 139.59px;
  height: 36px;
  border-radius: 18px;
  padding: 0 12px 0 9px;
}
.hero-cert-badge.badge-google {
  width: 122.8px;
  height: 36px;
  border-radius: 18px;
  padding: 0 12px 0 9px;
}
.hero-cert-badge.badge-bni {
  width: 125.28px;
  height: 31.38px;
  border-radius: 15.69px;
  padding: 0 12px 0 9px;
}
.hero-cert-badge img {
  border-radius: 50%;
  background: var(--white);
  display: block;
  object-fit: contain;
}
.hero-cert-badge.badge-bni img {
  border-radius: 3px;
}

/* ── Franja de Métricas (Full Width Color Strip) ───────────────────────── */
.banner-metrics {
  background: var(--petroleo-dark);
  color: var(--white);
  padding: clamp(52px, 6.5vw, 84px) 0;
  position: relative;
  border-top: 1px solid rgba(15, 42, 51, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.banner-metrics::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 242, 160, 0.4), transparent);
}
.banner-metrics::after {
  content: '';
  position: absolute;
  bottom: 0; right: 20%;
  width: 400px; height: 160px;
  background: radial-gradient(ellipse, rgba(168, 75, 41, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.metrics-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 32px);
  flex-wrap: wrap;
  text-align: center;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(24px, 2.8vw, 36px) clamp(24px, 3.2vw, 42px);
  min-width: clamp(220px, 26vw, 300px);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform 0.35s var(--ease-spring),
              border-color 0.35s,
              background 0.35s,
              box-shadow 0.35s;
}
.metric-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.metric-item.metric-item-featured {
  background: linear-gradient(155deg, rgba(13, 242, 160, 0.06) 0%, rgba(8, 26, 32, 0.6) 100%);
  border-color: rgba(13, 242, 160, 0.22);
  box-shadow: 0 10px 32px rgba(13, 242, 160, 0.08);
}
.metric-item.metric-item-featured:hover {
  border-color: rgba(13, 242, 160, 0.45);
  box-shadow: 0 16px 44px rgba(13, 242, 160, 0.2);
}

.metric-num {
  font-family: var(--font-sans);
  font-size: clamp(40px, 5.2vw, 62px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
}

/* ── 21st.dev Count Up Rolling Reel Styles ── */
.count-up-active {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  position: relative;
  height: 1em;
  line-height: 1em;
}
.count-up-prefix {
  display: inline-block;
  color: #f29068;
  margin-right: 2px;
  opacity: 0;
  transform: translateY(6px) scale(0.9);
  transition: opacity 0.5s var(--ease-spring), transform 0.5s var(--ease-spring);
}
.count-up-prefix.has-text {
  font-size: 0.52em;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-right: 6px;
  vertical-align: baseline;
}
.metric-highlight .count-up-prefix {
  color: var(--menta);
}
.count-up-digits {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  height: 1em;
  line-height: 1em;
}
.count-up-reel {
  display: inline-block;
  height: 1em;
  line-height: 1em;
  overflow: hidden;
  position: relative;
  vertical-align: top;
  /* 21st.dev per-digit optical slide & fade mask */
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}
.count-up-strip {
  display: block;
  transform: translateY(0);
  transition: transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.count-up-char {
  display: block;
  height: 1em;
  line-height: 1em;
  text-align: center;
}
.count-up-sep {
  display: inline-block;
  height: 1em;
  line-height: 1em;
  opacity: 0.8;
}
.count-up-suffix {
  display: inline-block;
  margin-left: 2px;
  color: inherit;
  opacity: 0;
  transform: translateY(6px) scale(0.9);
  transition: opacity 0.5s var(--ease-spring), transform 0.5s var(--ease-spring);
}
.is-counted .count-up-prefix,
.is-counted .count-up-suffix {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.metric-num.metric-highlight {
  color: var(--menta);
  text-shadow: 0 0 28px rgba(13, 242, 160, 0.32);
}

.metric-text {
  font-size: clamp(14px, 1.1vw, 15.5px);
  color: rgba(246, 247, 247, 0.72);
  font-weight: 500;
  max-width: 24ch;
  line-height: 1.4;
  margin: 0;
}

/* ── Video Carousel ────────────────────────────────────────────────────── */
.video-carousel-wrapper { margin-top: 48px; position: relative; }
.video-carousel-track {
  display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  padding: 16px 4px 24px; scrollbar-width: none;
}
.video-carousel-track::-webkit-scrollbar { display: none; }
.video-card {
  flex: 0 0 300px; max-width: 320px;
  scroll-snap-align: center;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 42, 51, 0.07);
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease-out-expo),
              box-shadow 0.3s var(--ease-out-expo);
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.video-frame {
  position: relative; width: 100%; aspect-ratio: 9 / 16;
  background: #0d1e25; overflow: hidden;
}
.video-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-info {
  padding: 18px 18px 22px;
  display: flex; flex-direction: column;
  background: var(--white);
  border-top: 1px solid rgba(15, 42, 51, 0.05);
  flex-grow: 1;
}
.video-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.video-tag {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--terracota); margin-bottom: 0;
}
.video-stars {
  font-size: 11px;
  letter-spacing: 1px;
  line-height: 1;
  flex-shrink: 0;
}
.video-quote {
  font-size: 13px; font-weight: 600; line-height: 1.45;
  color: var(--petroleo); margin-bottom: 12px;
  background: var(--terracota-soft);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--terracota);
}
.video-author {
  font-family: var(--font-sans); font-size: 16px; font-weight: 700;
  color: var(--petroleo); line-height: 1.25;
}
.video-role {
  font-size: 13px; color: var(--gris-azulado);
  margin-top: 4px; line-height: 1.4;
}
.video-role sup { font-size: 10px; font-weight: 600; }

.video-carousel-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 28px;
}
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white);
  border: 1.5px solid rgba(15, 42, 51, 0.15);
  color: var(--petroleo);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s,
              transform 0.2s var(--ease-spring);
}
.carousel-btn:hover {
  background: var(--petroleo); color: var(--white);
  border-color: var(--petroleo); transform: translateY(-2px);
}
.carousel-btn:active { transform: translateY(0); }
.carousel-dots { display: flex; align-items: center; gap: 8px; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: rgba(15, 42, 51, 0.18); border: none; padding: 0;
  cursor: pointer;
  transition: width 0.3s var(--ease-out-expo), background 0.3s;
}
.carousel-dot.is-active { width: 26px; background: var(--terracota); }

/* ── Rules (Bloque 4) — Minimalist Spotlight Cards ────────────────────── */
.rules-intro { margin-top: 36px; font-weight: 700; font-size: 17px; color: var(--petroleo); }
.rules-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
}
.rule-card {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 34px 30px 30px;
  border: 1px solid rgba(15, 42, 51, 0.08);
  box-shadow: 0 4px 18px rgba(15, 42, 51, 0.03);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out-expo),
              box-shadow 0.35s var(--ease-out-expo),
              border-color 0.35s;
  cursor: default;
}

/* 1. Dynamic glowing spotlight border — Soft Terracotta & Champagne */
.rule-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(
    280px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(168, 75, 41, 0.55) 0%,
    rgba(214, 140, 105, 0.3) 40%,
    rgba(15, 42, 51, 0.08) 70%,
    transparent 85%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease-smooth);
  z-index: 3;
}

/* 2. Soft, ultra-subtle warm champagne wash — 100% text contrast & soft luxury feel */
.rule-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    380px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(248, 244, 237, 0.75) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease-smooth);
  z-index: 1;
}

.rule-card.is-hovered::before,
.rule-card.is-hovered::after,
.rule-card:hover::before,
.rule-card:hover::after {
  opacity: 1;
}

.rule-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 75, 41, 0.25);
  box-shadow: 0 16px 36px rgba(15, 42, 51, 0.06), 0 2px 8px rgba(168, 75, 41, 0.04);
}

/* 3. Watermark number with subtle illumination */
.rule-watermark {
  position: absolute;
  bottom: -10px;
  right: 14px;
  font-family: var(--font-serif);
  font-size: 108px;
  line-height: 1;
  color: rgba(15, 42, 51, 0.04);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: color 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}

.rule-card:hover .rule-watermark,
.rule-card.is-hovered .rule-watermark {
  color: rgba(168, 75, 41, 0.08);
  transform: scale(1.03);
}

/* 4. Card content */
.rule-content {
  position: relative;
  z-index: 2;
}

.rule-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  color: var(--terracota);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  background: rgba(168, 75, 41, 0.08);
  border: 1px solid rgba(168, 75, 41, 0.14);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 14px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-spring);
}

.rule-card:hover .rule-num,
.rule-card.is-hovered .rule-num {
  background: rgba(168, 75, 41, 0.14);
  border-color: rgba(168, 75, 41, 0.28);
  transform: translateY(-1px);
}

.rule-card h3 {
  font-family: var(--font-sans);
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.32;
  color: var(--petroleo);
}

.rule-card p {
  margin-top: 12px;
  color: #48606c;
  font-size: 15px;
  line-height: 1.62;
}

.rules-outro {
  margin-top: 38px;
  font-size: 20px;
  font-weight: 700;
  color: var(--petroleo);
}

/* ── Process (Bloque 5) ────────────────────────────────────────────────── */
.process-grid {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.process-step {
  position: relative;
  padding-top: 20px;
}
.process-step::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 36px; height: 2px;
  background: var(--terracota);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out-expo);
}
.process-step:hover::before { width: 56px; }

.process-num {
  font-family: var(--font-mono);
  color: var(--terracota); font-weight: 700; font-size: 20px;
}
.process-step h3 {
  font-family: var(--font-sans); margin-top: 12px;
  font-size: 17px; font-weight: 700;
  display: flex; flex-direction: column; gap: 4px;
  color: var(--petroleo);
}
.process-meta {
  font-family: var(--font-mono); font-size: 12px;
  color: #27885b; font-weight: 600;
}
.process-step p {
  margin-top: 10px; color: var(--gris-azulado); font-size: 15px; line-height: 1.6;
}

/* ── Timeline Interactive Charging Laser (Animación Mamona) ────────────── */
.timeline-box {
  margin-top: 56px;
  background: var(--white);
  border: 1px solid rgba(15, 42, 51, 0.09);
  border-radius: 24px;
  padding: 34px 32px 38px;
  box-shadow: 0 10px 30px rgba(15, 42, 51, 0.04), 0 2px 8px rgba(15, 42, 51, 0.02);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.timeline-box:hover {
  border-color: rgba(13, 242, 160, 0.3);
  box-shadow: 0 16px 42px rgba(15, 42, 51, 0.08), 0 0 25px rgba(13, 242, 160, 0.05);
}

.timeline-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #A84B29 0%, #27885b 45%, #0df2a0 100%);
  opacity: 0.85;
}

/* Header */
.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 38px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(15, 42, 51, 0.06);
}

.timeline-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--petroleo);
}

.timeline-header-left svg {
  color: var(--terracota);
  flex-shrink: 0;
}

.timeline-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(15, 42, 51, 0.045);
  font-size: 12px;
  font-weight: 600;
  color: var(--petroleo);
  transition: background 0.3s, color 0.3s;
}

.pulse-beam-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #A84B29;
  box-shadow: 0 0 8px #A84B29;
  transition: background 0.4s, box-shadow 0.4s;
  animation: pulse-dot-anim 1.5s infinite;
}

@keyframes pulse-dot-anim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.timeline-status-pill.is-complete {
  background: rgba(13, 242, 160, 0.12);
  color: #166534;
}

.timeline-status-pill.is-complete .pulse-beam-dot {
  background: #0df2a0;
  box-shadow: 0 0 10px #0df2a0;
}

.timeline-replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(15, 42, 51, 0.14);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gris-azulado);
  cursor: pointer;
  transition: all 0.2s;
}

.timeline-replay-btn:hover {
  background: rgba(15, 42, 51, 0.05);
  color: var(--petroleo);
  border-color: var(--petroleo);
}

.timeline-replay-btn svg {
  transition: transform 0.4s var(--ease-spring);
}

.timeline-replay-btn:hover svg {
  transform: rotate(180deg);
}

/* Track & Rail */
.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  gap: 20px;
}

/* Rail that runs through the centers of all 4 node icons (icon height is 46px, top center is 23px) */
.timeline-rail {
  position: absolute;
  top: 23px;
  left: 36px;
  right: 36px;
  height: 4px;
  z-index: 1;
  pointer-events: none;
}

.timeline-rail-bg {
  position: absolute;
  inset: 0;
  background: #e2e8ea;
  border-radius: 999px;
}

.timeline-rail-beam {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #A84B29 0%, #27885b 40%, #0df2a0 85%, #ffffff 100%);
  box-shadow: 0 0 14px rgba(13, 242, 160, 0.65), 0 0 3px #0df2a0;
  transition: width 0.04s linear;
}

/* The glowing particle laser head leading the charge */
.timeline-comet {
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff,
              0 0 20px #0df2a0,
              0 0 35px #0df2a0;
  opacity: 0;
  transition: opacity 0.2s;
}

.timeline-rail-beam.is-charging .timeline-comet {
  opacity: 1;
}

/* Steps & Nodes */
.timeline-step {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  cursor: default;
  transition: transform 0.3s var(--ease-spring);
}

.timeline-dot-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF; /* Relleno blanco sólido para ocultar la línea que cruza por detrás */
  border: 2px solid #cbd5dc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #64748b;
  position: relative;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(15, 42, 51, 0.05);
  transition: border-color 0.35s, color 0.35s, background 0.35s, transform 0.35s var(--ease-spring), box-shadow 0.35s;
}

.timeline-dot-icon svg {
  position: relative;
  z-index: 4;
}

/* Ripple effect on activation */
.timeline-ripple {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
}

/* Active Step 0 (24-48h) */
.timeline-step[data-step="0"].is-active .timeline-dot-icon {
  border-color: #A84B29;
  color: #A84B29;
  background: #FFFFFF; /* Relleno blanco sólido */
  box-shadow: 0 0 18px rgba(168, 75, 41, 0.28), 0 3px 8px rgba(15, 42, 51, 0.06);
  transform: scale(1.08);
}
.timeline-step[data-step="0"].is-active .timeline-ripple {
  animation: ripple-terracota 1.2s cubic-bezier(0.1, 0.8, 0.3, 1) 1;
}

/* Active Step 1 (7-15 días) */
.timeline-step[data-step="1"].is-active .timeline-dot-icon {
  border-color: #27885b;
  color: #27885b;
  background: #FFFFFF; /* Relleno blanco sólido */
  box-shadow: 0 0 18px rgba(39, 136, 91, 0.28), 0 3px 8px rgba(15, 42, 51, 0.06);
  transform: scale(1.08);
}
.timeline-step[data-step="1"].is-active .timeline-ripple {
  animation: ripple-green 1.2s cubic-bezier(0.1, 0.8, 0.3, 1) 1;
}

/* Active Step 2 (Mes 1) */
.timeline-step[data-step="2"].is-active .timeline-dot-icon {
  border-color: #1e7048;
  color: #1e7048;
  background: #FFFFFF; /* Relleno blanco sólido */
  box-shadow: 0 0 22px rgba(30, 112, 72, 0.32), 0 3px 8px rgba(15, 42, 51, 0.06);
  transform: scale(1.1);
}
.timeline-step[data-step="2"].is-active .timeline-ripple {
  animation: ripple-emerald 1.2s cubic-bezier(0.1, 0.8, 0.3, 1) 1;
}

/* Active Step 3 (Meses 3-6) — Goal reached blast! */
.timeline-step[data-step="3"].is-active .timeline-dot-icon {
  border-color: #0df2a0;
  color: #0c9e67;
  background: #FFFFFF; /* Relleno blanco sólido */
  box-shadow: 0 0 26px rgba(13, 242, 160, 0.5), 0 0 6px #0df2a0, 0 3px 8px rgba(15, 42, 51, 0.06);
  transform: scale(1.14);
}
.timeline-step[data-step="3"].is-active .timeline-ripple {
  animation: ripple-blast 1.4s cubic-bezier(0.1, 0.8, 0.3, 1) 1;
}

@keyframes ripple-terracota {
  0% { transform: scale(0.9); opacity: 0.9; border-color: #A84B29; }
  100% { transform: scale(1.7); opacity: 0; border-color: rgba(168, 75, 41, 0); }
}

@keyframes ripple-green {
  0% { transform: scale(0.9); opacity: 0.9; border-color: #27885b; }
  100% { transform: scale(1.7); opacity: 0; border-color: rgba(39, 136, 91, 0); }
}

@keyframes ripple-emerald {
  0% { transform: scale(0.9); opacity: 0.9; border-color: #1e7048; }
  100% { transform: scale(1.75); opacity: 0; border-color: rgba(30, 112, 72, 0); }
}

@keyframes ripple-blast {
  0% { transform: scale(0.9); opacity: 1; border-color: #0df2a0; box-shadow: 0 0 20px #0df2a0; }
  100% { transform: scale(2.0); opacity: 0; border-color: rgba(13, 242, 160, 0); box-shadow: 0 0 40px rgba(13, 242, 160, 0); }
}

/* Typography & Content */
.timeline-time {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 400 !important;
  color: var(--petroleo);
  line-height: 1.2;
  margin-bottom: 6px;
  transition: color 0.3s, transform 0.3s;
}

.timeline-step.is-active .timeline-time {
  font-weight: 400 !important;
  color: var(--petroleo);
}

.timeline-time.green {
  color: #1e7048;
}

.timeline-step[data-step="3"].is-active .timeline-time {
  font-weight: 400 !important;
  color: #0c9e67;
}

.timeline-text {
  font-size: 14px;
  font-weight: 500;
  color: #334e5a;
  line-height: 1.4;
  transition: color 0.3s;
}

.timeline-step.is-active .timeline-text {
  color: var(--petroleo);
}

.timeline-sub {
  font-size: 12px;
  color: var(--gris-azulado);
  margin-top: 4px;
  line-height: 1.4;
}

/* Hover Interaction on steps */
.timeline-step:hover .timeline-dot-icon {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(15, 42, 51, 0.12);
}

/* ── Services Cards (Bloque 6) — Spotlight Cards ───────────────────────── */
.routes-grid-clean {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  position: relative;
}
.route-card-clean {
  position: relative;
  background: #08171e;
  border: 1px solid rgba(13, 242, 160, 0.2);
  border-radius: 22px;
  padding: 38px 32px 34px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--white);
  box-shadow: 0 16px 44px rgba(8, 23, 30, 0.35), 0 0 24px rgba(13, 242, 160, 0.04);
  transition: transform 0.35s var(--ease-out-expo),
              box-shadow 0.35s var(--ease-out-expo),
              border-color 0.35s var(--ease-smooth);
  cursor: default;
}

/* Ensure content stays above spotlight effects */
.route-card-clean > * {
  position: relative;
  z-index: 2;
}

/* Dynamic Glowing Spotlight Border: Electric Mint Glow */
.route-card-clean::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(
    320px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(13, 242, 160, 0.85) 0%,
    rgba(46, 229, 157, 0.45) 40%,
    rgba(13, 242, 160, 0.12) 70%,
    transparent 85%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease-smooth);
  z-index: 3;
}

/* Ambient Wash: Electric Mint Halo */
.route-card-clean::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    420px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(13, 242, 160, 0.09) 0%,
    rgba(8, 23, 30, 0) 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease-smooth);
  z-index: 1;
}

.route-card-clean.is-hovered::before,
.route-card-clean.is-hovered::after,
.route-card-clean:hover::before,
.route-card-clean:hover::after {
  opacity: 1;
}

.route-card-clean:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 242, 160, 0.45);
  box-shadow: 0 24px 60px rgba(8, 23, 30, 0.5), 0 0 32px rgba(13, 242, 160, 0.16);
}

.route-card-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #0df2a0;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.route-card-tag::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0df2a0;
  box-shadow: 0 0 10px #0df2a0;
}

.route-card-clean h3 {
  font-family: var(--font-sans);
  font-size: 23px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}

.route-card-sub {
  font-size: 14.5px;
  color: rgba(235, 244, 246, 0.75);
  margin-bottom: 28px;
  line-height: 1.5;
}

.route-clean-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.route-clean-list li {
  font-size: 14.5px;
  color: rgba(245, 248, 250, 0.92);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.route-clean-list .check {
  color: #0df2a0;
  text-shadow: 0 0 10px rgba(13, 242, 160, 0.5);
  font-weight: 800;
  flex-shrink: 0;
  font-size: 15px;
}

.route-card-clean .btn {
  width: 100%;
  justify-content: center;
}

/* ── About (Bloque 7) ──────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 52px;
  align-items: start;
}
.about-copy h2 {
  margin-top: 14px;
  margin-bottom: 22px;
}
.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}
.about-paragraphs p {
  font-size: 15.5px;
  line-height: 1.68;
  color: #384f5a;
  margin: 0;
}
.about-paragraphs p:first-child {
  font-size: 16px;
  color: var(--petroleo);
}

/* About Media (Foto + Certificaciones a la derecha para equilibrio) */
.about-media {
  display: flex;
  flex-direction: column;
}
.about-photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--blanco-frio);
  box-shadow: 0 14px 34px rgba(15, 42, 51, 0.08);
  border: 1px solid rgba(15, 42, 51, 0.08);
  margin: 0;
  transition: transform 0.35s var(--ease-out-expo),
              box-shadow 0.35s;
}
.about-photo-frame:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(15, 42, 51, 0.12);
}

/* Badge flotante en la foto */
.photo-live-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 42, 51, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--white);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.photo-live-badge .badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0df2a0;
  box-shadow: 0 0 8px #0df2a0;
  animation: pulse-dot-anim 1.6s infinite;
}

.about-photo-frame img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.5s var(--ease-out-expo);
}
.about-photo-frame:hover img {
  transform: scale(1.02);
}
.about-photo-caption {
  padding: 14px 18px 16px;
  background: var(--white);
  border-top: 1px solid rgba(15, 42, 51, 0.05);
}
.caption-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--terracota);
  display: block;
  margin-bottom: 3px;
}
.about-photo-caption p {
  font-size: 13px;
  color: var(--gris-azulado);
  line-height: 1.4;
  margin: 0;
}

/* Certifications Block under photo */
.about-certs-block {
  margin-top: 20px;
}
.about-certs-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.about-certs-header span {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gris-azulado);
  font-weight: 700;
  white-space: nowrap;
}
.certs-line {
  height: 1px;
  flex-grow: 1;
  background: rgba(15, 42, 51, 0.09);
}

.cert-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 0;
}
.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(15, 42, 51, 0.08);
  border-radius: 16px;
  padding: 16px 10px 18px;
  box-shadow: 0 2px 8px rgba(15, 42, 51, 0.03);
  transition: transform 0.25s var(--ease-spring),
              box-shadow 0.25s,
              border-color 0.25s;
}
.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 42, 51, 0.08);
  border-color: rgba(168, 75, 41, 0.22);
}
.cert-logo-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.cert-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.cert-card-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cert-card-title {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--petroleo);
  line-height: 1.2;
}
.cert-card-desc {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--gris-azulado);
  line-height: 1.3;
}

/* ── Living Gradient CTA (Bloque Quién Soy — Decisión Rentable) ─────────── */
.living-gradient-cta {
  position: relative;
  margin-top: 52px;
  border-radius: 28px;
  background-color: #041418;
  border: 1px solid rgba(13, 242, 160, 0.22);
  box-shadow: 0 28px 60px -15px rgba(2, 12, 15, 0.65),
              0 0 0 1px rgba(255, 255, 255, 0.05) inset,
              0 0 40px -10px rgba(13, 242, 160, 0.12);
  padding: 68px 36px;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.living-gradient-cta:hover {
  border-color: rgba(13, 242, 160, 0.35);
  box-shadow: 0 32px 70px -15px rgba(2, 12, 15, 0.75),
              0 0 0 1px rgba(255, 255, 255, 0.08) inset,
              0 0 55px -5px rgba(13, 242, 160, 0.22);
}

/* Fluid Organic Mesh Container */
.living-mesh-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.living-mesh-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.orb-emerald {
  width: 520px;
  height: 520px;
  top: -20%;
  right: 15%;
  background: radial-gradient(circle, rgba(13, 242, 160, 0.48) 0%, rgba(10, 108, 88, 0.25) 50%, transparent 72%);
  filter: blur(65px);
  animation: orbFloat1 13s ease-in-out infinite alternate;
}

.orb-mint {
  width: 460px;
  height: 460px;
  bottom: -22%;
  left: 16%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.42) 0%, rgba(5, 150, 105, 0.2) 52%, transparent 70%);
  filter: blur(70px);
  animation: orbFloat2 17s ease-in-out infinite alternate;
}

.orb-jade {
  width: 420px;
  height: 420px;
  top: 25%;
  left: 40%;
  background: radial-gradient(circle, rgba(15, 76, 58, 0.55) 0%, rgba(6, 21, 26, 0.2) 60%, transparent 75%);
  filter: blur(60px);
  animation: orbFloat3 12s ease-in-out infinite alternate;
}

.orb-warm {
  width: 320px;
  height: 320px;
  top: 10%;
  left: -2%;
  background: radial-gradient(circle, rgba(168, 75, 41, 0.25) 0%, rgba(168, 75, 41, 0.08) 50%, transparent 70%);
  filter: blur(50px);
  animation: orbFloat4 15s ease-in-out infinite alternate;
}

/* Vignette & Film Grain Overlay */
.living-mesh-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 25%, rgba(4, 16, 20, 0.75) 100%);
}

.living-mesh-grain {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

@keyframes orbFloat1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-60px, 35px, 0) scale(1.15); }
  100% { transform: translate3d(40px, -25px, 0) scale(0.92); }
}

@keyframes orbFloat2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(50px, -40px, 0) scale(1.18); }
  100% { transform: translate3d(-35px, 25px, 0) scale(0.9); }
}

@keyframes orbFloat3 {
  0% { transform: translate3d(0, 0, 0) scale(0.95); opacity: 0.7; }
  50% { transform: translate3d(-40px, -30px, 0) scale(1.2); opacity: 1; }
  100% { transform: translate3d(30px, 25px, 0) scale(1); opacity: 0.8; }
}

@keyframes orbFloat4 {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(35px, 30px, 0); }
  100% { transform: translate3d(-20px, -20px, 0); }
}

/* Content Hierarchy */
.living-cta-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.living-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(13, 242, 160, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 500;
  color: #a3f7d4;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.02em;
}

.living-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0df2a0;
  box-shadow: 0 0 10px #0df2a0;
  animation: beaconPulse 2s infinite ease-in-out;
}

.living-cta-title {
  font-family: var(--font-sans);
  font-size: clamp(25px, 3.2vw, 36px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin: 0 0 20px 0;
  text-wrap: balance;
  max-width: 760px;
}

.living-cta-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #6ee7b7;
  text-shadow: 0 0 28px rgba(110, 231, 183, 0.28);
}

.living-cta-desc {
  font-size: clamp(15.5px, 1.3vw, 17.5px);
  line-height: 1.68;
  color: rgba(230, 247, 242, 0.88);
  margin: 0 0 34px 0;
  max-width: 660px;
  text-wrap: pretty;
}

.living-cta-desc strong {
  color: #ffffff;
  font-weight: 600;
}

/* Actions & Button */
.living-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.living-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 999px;
  background: #ffffff;
  color: #051a14;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(13, 242, 160, 0.35),
              0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.living-btn-wa {
  color: #128c7e;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
  flex-shrink: 0;
}

.living-btn-arrow {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.living-cta-btn:hover {
  background: #a7f3d0;
  color: #021a12;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 45px rgba(13, 242, 160, 0.5);
}

.living-cta-btn:hover .living-btn-wa {
  transform: scale(1.15) rotate(-6deg);
  color: #044333;
}

.living-cta-btn:hover .living-btn-arrow {
  transform: translateX(4px);
}

.living-cta-micro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(200, 230, 222, 0.72);
  font-weight: 400;
  text-align: center;
  line-height: 1.4;
}

.living-cta-micro .micro-sep {
  opacity: 0.6;
}

/* ── Fit cards (Bloque 8) ──────────────────────────────────────────────── */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit-card { border-radius: var(--radius-xl); padding: 36px; }
.fit-yes {
  background: var(--petroleo); color: var(--white);
  box-shadow: var(--shadow-lg);
}
.fit-no { background: var(--blanco-frio); color: var(--ink); border: 1px solid rgba(15,42,51,0.07); }
.fit-card h3 { font-family: var(--font-sans); font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.fit-card ul { display: grid; gap: 16px; }
.fit-card li { font-size: 15px; padding-left: 26px; position: relative; line-height: 1.5; }
.fit-yes li::before { content: "✓"; position: absolute; left: 0; color: var(--menta); font-weight: 700; }
.fit-no li::before { content: "✕"; position: absolute; left: 0; color: var(--gris-azulado); font-weight: 700; }

/* ── FAQ (Bloque 9) ────────────────────────────────────────────────────── */
.faq-list { margin-top: 48px; display: grid; gap: 10px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0 28px;
  border: 1px solid rgba(15, 42, 51, 0.08);
  transition: box-shadow 0.25s, border-color 0.25s;
}
.faq-item[open] {
  border-color: rgba(168, 75, 41, 0.2);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  padding: 22px 0;
  cursor: pointer; font-weight: 700; font-size: 16px;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  color: var(--petroleo);
  transition: color 0.2s;
}
.faq-item summary:hover { color: var(--terracota); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-mono);
  color: var(--terracota); font-size: 22px; flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding-bottom: 24px; color: var(--gris-azulado);
  font-size: 15px; max-width: 65ch; line-height: 1.65;
}

/* ── Contact / CTA Final (Bloque 10) ───────────────────────────────────── */
.contact-section {
  background: #0B2129;
  color: var(--white);
  padding: var(--space-section) 0;
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(168, 75, 41, 0.16) 0%, transparent 70%);
  pointer-events: none;
}
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}
.contact-copy h2 {
  color: #FFFFFF;
  max-width: 15ch;
  font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1.12;
}
.contact-copy h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  color: #F27A54; /* warm, luminous terracotta for dark contrast */
  font-weight: 400;
}
.contact-copy .hero-lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 1.5vw, 18px);
  margin-top: 16px;
  line-height: 1.6;
}
.contact-subhead {
  margin-top: 32px;
  font-weight: 700;
  color: #FFFFFF;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.contact-list {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}
.contact-list li {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.92);
  padding-left: 28px;
  position: relative;
  line-height: 1.55;
}
.contact-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--menta);
  box-shadow: 0 0 10px rgba(13, 242, 160, 0.6);
}
.contact-alt {
  margin-top: 36px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}
.contact-alt a {
  color: var(--menta);
  font-family: var(--font-mono);
  font-weight: 600;
  transition: opacity 0.2s;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.contact-alt a:hover {
  opacity: 0.82;
}
.contact-note {
  margin-top: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: grid; gap: 6px;
  box-shadow: var(--shadow-xl);
}
.form-title { font-weight: 800; font-size: 18px; margin-bottom: 14px; color: var(--petroleo); }
.contact-form label {
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--gris-azulado); margin-top: 14px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.contact-form input, .contact-form select {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(15, 42, 51, 0.13);
  background: var(--blanco-frio); color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus, .contact-form select:focus {
  outline: none;
  border-color: var(--terracota);
  box-shadow: 0 0 0 3px var(--terracota-glow);
}
.contact-form .btn { margin-top: 24px; }
.form-hint { margin-top: 12px; font-size: 12px; color: var(--gris-light); text-align: center; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--petroleo-dark);
  color: rgba(246, 247, 247, 0.7);
  padding: 72px 0 0;
  position: relative; overflow: hidden;
}

/* Subtle grain texture */
.site-footer::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
}

.footer-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px; padding-bottom: 56px;
  border-bottom: 1px solid var(--petroleo-line);
}
.footer-brand .wordmark-name { color: var(--white); font-size: 18px; }
.footer-brand p { margin-top: 14px; font-size: 14px; line-height: 1.65; }
.footer-brand a:hover { color: var(--menta); }
.footer-heading {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: rgba(246, 247, 247, 0.38); margin-bottom: 18px;
}
.footer-links, .footer-social { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-links a, .footer-social a {
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
.footer-links a:hover, .footer-social a:hover {
  color: var(--menta); transform: translateX(4px);
}
.footer-badges { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(246, 247, 247, 0.7);
}
.footer-badge img {
  border-radius: 50%; background: var(--white); padding: 2px; object-fit: contain;
}
.footer-badge img[alt*="BNI"] { border-radius: 3px; padding: 2px 3px; }
.footer-bottom {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between;
  padding: 24px 28px; font-size: 13px;
  color: rgba(246, 247, 247, 0.38);
}
.footer-bottom a:hover { color: var(--menta); }

/* ── WhatsApp FAB Flotante con Cápsula ─────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  z-index: 990;
  text-decoration: none;
  background: transparent;
  padding: 0;
  border-radius: 999px;
  transition: transform 0.25s var(--ease-spring);
}
.whatsapp-fab:hover {
  transform: translateY(-2px);
}
.whatsapp-fab:active {
  transform: translateY(1.5px);
}

/* Cápsula de texto (verde oscuro exacto a la referencia del usuario) */
.whatsapp-fab-label {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: #0f6c3f;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 3.5px 0 #074526,
    0 8px 18px rgba(15, 42, 51, 0.32);
  transition: background 0.2s, box-shadow 0.2s;
  line-height: 1.25;
}
.whatsapp-fab:hover .whatsapp-fab-label {
  background: #117b48;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 4.5px 0 #074526,
    0 10px 22px rgba(15, 42, 51, 0.36);
}
.whatsapp-fab:active .whatsapp-fab-label {
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 1.5px 0 #074526,
    0 4px 10px rgba(15, 42, 51, 0.22);
}

/* Círculo botón WhatsApp */
.whatsapp-fab-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 4px 0 #1ca852,
    0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
}
.whatsapp-fab-icon::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: fab-pulse 2.4s ease-out 1.5s infinite;
  pointer-events: none;
}
.whatsapp-fab-icon::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: fab-pulse 2.4s ease-out 1.8s infinite;
  pointer-events: none;
}
@keyframes fab-pulse {
  0%   { opacity: 0.45; transform: scale(0.95); }
  70%  { opacity: 0; transform: scale(1.4); }
  100% { opacity: 0; transform: scale(1.4); }
}
.whatsapp-fab:hover .whatsapp-fab-icon {
  transform: scale(1.06);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 5px 0 #1ca852,
    0 12px 28px rgba(37, 211, 102, 0.55);
}
.whatsapp-fab:active .whatsapp-fab-icon {
  transform: scale(0.98);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 2px 0 #1ca852,
    0 4px 12px rgba(37, 211, 102, 0.35);
}
.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
}

@media (max-width: 600px) {
  .whatsapp-fab {
    bottom: 16px;
    right: 14px;
    gap: 8px;
  }
  .whatsapp-fab-label {
    font-size: 12.5px;
    padding: 8px 14px;
  }
  .whatsapp-fab-icon {
    width: 48px;
    height: 48px;
  }
  .whatsapp-fab-icon svg {
    width: 24px;
    height: 24px;
  }
}

/* ── Reveal Animations ─────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.7s var(--ease-out-expo);
}
[data-reveal="left"] {
  transform: translateX(-32px) translateY(0);
}
[data-reveal="right"] {
  transform: translateX(32px) translateY(0);
}
[data-reveal="scale"] {
  transform: scale(0.94) translateY(0);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delays */
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.40s; }
[data-reveal-delay="6"] { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal="left"], [data-reveal="right"], [data-reveal="scale"] {
    opacity: 1; transform: none; transition: none;
  }
  html { scroll-behavior: auto; }
  .whatsapp-fab::before, .whatsapp-fab::after { animation: none; }
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .process-grid    { grid-template-columns: repeat(2, 1fr); }
  .routes-grid-clean { grid-template-columns: repeat(2, 1fr); }
  .cert-cards      { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  /* Hero mobile (3-Column Triptych) */
  .hero-editorial {
    min-height: auto;
    padding: 100px 0 0;
  }
  .hero-triptych-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
    min-height: auto;
  }

  /* 1. Titular, Tagline y Botón (Arriba) */
  .hero-col-left {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
    width: 100%;
    padding-bottom: 0;
    margin: 0 auto;
  }
  .hero-eyebrow {
    text-align: center;
    width: 100%;
    margin-bottom: 12px;
  }
  .hero-statement-title {
    font-size: clamp(22px, 5.5vw, 28px);
    line-height: 1.25;
    letter-spacing: -0.025em;
    text-align: center;
    max-width: 28ch;
    margin: 0 auto;
  }
  .hero-line-clientes {
    display: block;
    white-space: nowrap;
  }
  .hero-line-noclics {
    display: block;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 22px;
  }
  .hero-actions .btn-primary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  .hero-caption {
    text-align: center;
  }

  /* 2. Foto con círculo solar (Centro) */
  .hero-col-center {
    order: 2;
    max-width: 420px;
    margin: -20px auto 0;
    width: 100%;
    height: auto;
    justify-content: center;
    align-self: center;
  }
  .hero-disc-wrap {
    width: 100%;
    height: auto;
    justify-content: center;
  }
  .hero-sun-disc {
    width: clamp(260px, 68vw, 340px);
    height: clamp(260px, 68vw, 340px);
    bottom: 30px;
  }
  .hero-person-img {
    width: auto;
    height: clamp(380px, 85vw, 490px);
    max-width: 100%;
  }

  /* 3. Descripción y Certificaciones (Abajo) */
  .hero-col-right {
    order: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
    width: 100%;
    padding-bottom: 36px;
    margin: 0 auto;
  }
  .hero-right-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-pitch-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    width: 100%;
    margin: 0 auto 24px;
    text-align: center;
  }
  .hero-pitch-title {
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin: 0 auto 10px;
  }
  .hero-pitch-block .hero-lead {
    text-align: center;
    max-width: 44ch;
    width: 100%;
    margin: 0 auto 12px;
  }
  .hero-pitch-sub {
    text-align: center;
    max-width: 44ch;
    width: 100%;
    margin: 0 auto;
  }
  .hero-certifications {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 20px;
  }
  .hero-cert-line {
    max-width: 280px;
    margin: 0 auto 18px;
  }
  .hero-cert-label {
    text-align: center;
  }
  .hero-cert-badges {
    align-items: center;
    max-width: 100%;
  }
  .hero-cert-row {
    justify-content: center;
  }

  .metrics-grid { gap: 24px; }
  .metric-divider { display: none; }
  .metric-item { min-width: 140px; }

  .timeline-track {
    grid-template-columns: 1fr;
    gap: 24px;
    position: relative;
    padding-left: 6px;
  }
  .timeline-rail {
    top: 23px;
    bottom: 23px;
    left: 28px;
    right: auto;
    width: 4px;
    height: auto;
  }
  .timeline-rail-beam {
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #A84B29 0%, #27885b 40%, #0df2a0 85%, #ffffff 100%);
    transition: height 0.04s linear;
  }
  .timeline-comet {
    top: auto;
    bottom: -6px;
    right: 50%;
    transform: translateX(50%);
  }
  .timeline-step {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
  }
  .timeline-dot-icon {
    flex-shrink: 0;
    margin-bottom: 0;
  }
  .timeline-step-body {
    padding-top: 3px;
  }

  .routes-grid-clean { grid-template-columns: 1fr; }
  .about-grid        { grid-template-columns: 1fr; gap: 36px; }
  .about-media       { order: 2; margin-top: 10px; }
  .contact-grid      { grid-template-columns: 1fr; gap: 40px; }
  .contact-alt a     { display: block; margin-top: 6px; }
  .fit-grid          { grid-template-columns: 1fr; }
  .rules-grid        { grid-template-columns: 1fr; }

  .living-gradient-cta {
    padding: 48px 24px;
    margin-top: 40px;
    border-radius: 24px;
  }
  .living-cta-title { font-size: 25px; }
  .living-cta-desc { font-size: 15.5px; margin-bottom: 28px; }
  .living-cta-btn {
    width: 100%;
    max-width: 340px;
    padding: 15px 24px;
    font-size: 16px;
  }
  .living-cta-micro {
    flex-direction: column;
    gap: 4px;
    font-size: 12.5px;
  }
  .living-cta-micro .micro-sep {
    display: none;
  }

  [data-reveal="left"], [data-reveal="right"] { transform: translateY(24px); }
}

@media (max-width: 640px) {
  .hero-editorial { padding: 94px 0 0; }
  .top-bar-inner { flex-direction: column; gap: 4px; text-align: center; font-size: 12px; }
  .process-grid  { grid-template-columns: 1fr; }
  .video-card    { flex: 0 0 82vw; max-width: 320px; }
  .cert-cards    { grid-template-columns: 1fr; }
  .cert-card { flex-direction: row; text-align: left; padding: 14px 16px; }
  .cert-logo-wrap { width: 50px; height: 50px; margin-bottom: 0; margin-right: 14px; flex-shrink: 0; }
  .footer-inner  { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .metrics-grid  { flex-direction: column; gap: 24px; }
  .metric-divider { display: none; }
  .contact-form  { padding: 24px 20px; }
  .timeline-box  { padding: 28px 20px; }

  .living-gradient-cta {
    padding: 38px 18px;
    margin-top: 32px;
    border-radius: 20px;
  }
  .living-cta-pill {
    font-size: 12px;
    padding: 6px 14px;
    margin-bottom: 18px;
  }
  .living-cta-title {
    font-size: 22px;
    line-height: 1.28;
    margin-bottom: 16px;
  }
  .living-cta-desc {
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .living-cta-btn {
    max-width: 100%;
    padding: 14px 20px;
    font-size: 15px;
  }
  .living-cta-micro {
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    line-height: 1.45;
  }
  .living-cta-micro .micro-sep {
    display: none;
  }
}

/* ==========================================================================
   BNI SECTION & INSTAGRAM REELS CAROUSEL
   ========================================================================== */
.section-bni {
  background: var(--white);
  border-top: 1px solid rgba(15, 42, 51, 0.06);
  border-bottom: 1px solid rgba(15, 42, 51, 0.06);
  position: relative;
  overflow: hidden;
}

.section-bni::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: var(--container-w);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 75, 41, 0.25), transparent);
}

.bni-header-badge {
  margin-bottom: 16px;
}

.bni-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 42, 51, 0.04);
  border: 1px solid rgba(15, 42, 51, 0.09);
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--petroleo);
  transition: all 0.3s var(--ease-out-expo);
}

.bni-pill-badge:hover {
  background: rgba(168, 75, 41, 0.07);
  border-color: rgba(168, 75, 41, 0.25);
  transform: translateY(-1px);
}

.bni-badge-flag {
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* ── BNI Cards ─────────────────────────────────────────────────────────── */
.bni-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(15, 42, 51, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out-expo),
              box-shadow 0.35s var(--ease-out-expo),
              border-color 0.35s ease;
}

.bni-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(168, 75, 41, 0.35);
}

.bni-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #081a20;
  overflow: hidden;
  cursor: pointer;
}

.bni-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.bni-video-frame:hover .bni-poster-img {
  transform: scale(1.05);
  filter: brightness(1.03);
}

.bni-frame-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 26, 32, 0.65) 0%,
    rgba(8, 26, 32, 0.1) 40%,
    rgba(8, 26, 32, 0.2) 65%,
    rgba(8, 26, 32, 0.88) 100%
  );
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.bni-video-frame:hover .bni-frame-gradient {
  opacity: 0.85;
}

.bni-top-meta {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
  pointer-events: none;
}

.bni-ig-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.bni-ig-badge svg {
  color: #ff3040;
}

.bni-chapter-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(168, 75, 41, 0.85);
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Play Button on Card Frame */
.bni-play-trigger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  outline: none;
}

.bni-play-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--petroleo);
  transition: transform 0.35s var(--ease-spring),
              background 0.3s ease,
              color 0.3s ease,
              box-shadow 0.3s ease;
}

.bni-play-circle svg {
  margin-left: 3px;
  transition: transform 0.3s ease;
}

.bni-video-frame:hover .bni-play-circle,
.bni-play-trigger:hover .bni-play-circle {
  transform: scale(1.12);
  background: var(--terracota);
  color: var(--white);
  box-shadow: 0 12px 32px var(--terracota-glow), 0 0 0 4px rgba(168, 75, 41, 0.25);
}

.bni-play-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.35s ease;
  pointer-events: none;
}

.bni-video-frame:hover .bni-play-glow {
  opacity: 1;
  transform: scale(1.2);
}

/* Card Info Details */
.bni-collab-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--gris-azulado);
  background: rgba(15, 42, 51, 0.05);
  padding: 2px 7px;
  border-radius: 4px;
}


/* ==========================================================================
   BNI REEL MODAL LIGHTBOX
   ========================================================================== */
.bni-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-smooth), visibility 0.35s;
  padding: 20px;
}

.bni-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bni-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 17, 22, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.bni-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  max-height: 92vh;
  background: #0d1e25;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.94) translateY(14px);
  transition: transform 0.35s var(--ease-spring);
}

.bni-modal.is-open .bni-modal-dialog {
  transform: scale(1) translateY(0);
}

.bni-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #0b1a20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bni-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bni-modal-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
}

.bni-modal-counter {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--menta);
  background: rgba(78, 207, 165, 0.12);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(78, 207, 165, 0.25);
}

.bni-modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.bni-modal-close:hover {
  background: var(--terracota);
  color: var(--white);
  transform: rotate(90deg);
}

.bni-modal-body {
  flex: 1;
  min-height: 520px;
  position: relative;
  background: #061116;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bni-iframe-container {
  width: 100%;
  height: 520px;
  position: relative;
}

.bni-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.bni-loading-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gris-light);
  font-size: 13px;
  font-family: var(--font-mono);
  background: #061116;
  z-index: 1;
}

.spinner-ring {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--menta);
  border-radius: 50%;
  animation: bniSpin 0.8s linear infinite;
}

@keyframes bniSpin {
  to { transform: rotate(360deg); }
}

.bni-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #0b1a20;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bni-modal-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bni-modal-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.bni-modal-nav-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

.bni-modal-ig-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.3);
  transition: all 0.25s ease;
}

.bni-modal-ig-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(225, 48, 108, 0.45);
}

/* Responsive adjustments */
@media (max-width: 860px) {
  .section-bni {
    padding: clamp(56px, 8vw, 84px) 0;
  }
  .bni-card {
    flex: 0 0 82vw;
    max-width: 320px;
  }
  .bni-modal-dialog {
    max-width: 95vw;
    max-height: 94vh;
  }
  .bni-iframe-container {
    height: 480px;
  }
}

@media (max-width: 540px) {
  .bni-card {
    flex: 0 0 86vw;
  }
  .bni-modal {
    padding: 10px;
  }
  .bni-modal-dialog {
    max-width: 100%;
    max-height: 96vh;
    border-radius: var(--radius-md);
  }
  .bni-iframe-container {
    height: 450px;
  }
  .bni-modal-footer {
    padding: 10px 14px;
  }
  .bni-modal-ig-btn span {
    display: none;
  }
}


