/* ============================================================
   TACFIT Costa Rica · Legión — v3 (clean, video-first)
   Inspired by the airy, minimal feel of modern movement schools.
   Brand: LAVA #FA3C00 · near-black · Saira (display) + Barlow (body)
   ============================================================ */
:root {
  --black:      #0a0908;
  --black-2:    #121110;
  --ink:        #16140f;
  --surface:    #1a1815;
  --surface-2:  #211e1a;
  --line:       rgba(255,255,255,0.10);
  --line-2:     rgba(255,255,255,0.18);

  --white:      #F4F2EE;
  --fg:         #EAEAEA;
  --fg-2:       #b8b4ad;
  --muted:      #8a857d;

  --lava:       #FA3C00;
  --lava-2:     #d63100;
  --deep-sea:   #22383A;

  --accent:     var(--lava);
  --accent-2:   var(--lava-2);
  --accent-ink: #0a0908;

  --display: "Saira", "Arial Narrow", system-ui, sans-serif;
  --body:    "Barlow", system-ui, -apple-system, sans-serif;

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--lava); color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: -0.005em;
}
.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow.muted { color: var(--muted); }

h1 { font-family: var(--display); font-weight: 800; }
h2 { font-family: var(--display); font-weight: 800; }
h3 { font-family: var(--display); font-weight: 700; }

p.lead {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.6;
  color: var(--fg-2);
  font-weight: 400;
  max-width: 56ch;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 30px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all .2s ease;
  cursor: pointer;
}
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--lava); color: #fff; }
.btn-primary:hover { background: var(--lava-2); }
.btn-ghost { border-color: var(--line-2); color: var(--white); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  transition: gap .2s ease, color .2s ease;
}
.link-arrow:hover { gap: 16px; color: var(--accent); }
.link-arrow .arr {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--lava);
  color: #fff;
  font-size: 13px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,9,8,0.82);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  border-bottom-color: var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  /* Keep brand, links and the lang/cart cluster from touching once labels get long. */
  column-gap: clamp(16px, 2.2vw, 40px);
}
.nav .brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav .brand > img { height: 38px; width: auto; transform: translateY(-7px); }
.nav .brand > img.brand-logo { height: 52px; transform: none; }
.nav .brand .txt { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; padding-left: 14px; border-left: 1px solid var(--line-2); }
.nav .brand .txt img { height: 19px; width: auto; }
.nav .brand .txt .sub {
  font-family: var(--body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}
.nav .right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.nav .nav-links { display: flex; gap: clamp(16px, 1.6vw, 26px); margin: 0 auto; padding: 0 clamp(8px, 1.4vw, 28px); list-style: none; }
.nav .nav-links a { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fg-2); transition: color .2s ease; white-space: nowrap; }
.nav .nav-links a:hover { color: var(--white); }
@media (max-width: 1199px) { .nav .nav-links { display: none; } }
/* flags on ES/EN toggle (all pages) */
.nav .lang button { display: inline-flex; align-items: center; gap: 5px; }
.nav .lang .flag { font-size: 13px; line-height: 1; }
/* subpage nav: keep the text links visible (no hamburger), with breathing room */
.nav.subnav .nav-links { display: flex !important; flex-wrap: nowrap; }
.nav.subnav .menu-btn { display: none !important; }
@media (max-width: 1199px) {
  .nav.subnav .nav-links { gap: 22px; }
  .nav.subnav .nav-links a { font-size: 12px; letter-spacing: 0.03em; }
}
@media (max-width: 1120px) {
  /* solo el ícono de alas para dar espacio, pero se conserva el CTA de la guía */
  .nav.subnav .brand .txt { display: none; }
  .nav.subnav .nav-links { gap: 15px; }
  .nav.subnav .nav-links a { font-size: 11px; }
  .nav.subnav .nav-cta { padding: 10px 13px; }
  .nav.subnav .right { gap: 12px; }
  .nav.subnav .lang { gap: 2px; }
  .nav.subnav .lang button { padding: 5px 7px; }
}
@media (max-width: 820px) {
  /* Collapse the inline subnav to the hamburger on small screens so the links
     don't overflow off-screen. Overrides the desktop !important rules above. */
  .nav.subnav .nav-links { display: none !important; }
  .nav.subnav .menu-btn { display: flex !important; }
}
.nav .lang { display: flex; gap: 3px; }
.nav .lang button {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  padding: 5px 9px;
  border-radius: 2px;
  color: var(--muted);
  transition: all .2s ease;
}
.nav .lang button.on { color: #fff; background: var(--lava); }
.nav .nav-cta { padding: 12px 20px; white-space: nowrap; font-size: 11px; }

/* menu button (always visible, Ground School style) */
.nav .menu-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 18px 11px 16px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 2px;
  background: rgba(10,9,8,0.28);
  backdrop-filter: blur(6px);
  transition: border-color .2s ease, background .2s ease;
}
@media (min-width: 1200px) { .nav .menu-btn { display: none; } }
.nav .menu-btn:hover { border-color: var(--white); background: rgba(10,9,8,0.5); }
.nav .menu-btn .menu-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
}
.nav .menu-btn .menu-bars span {
  display: block;
  width: 18px; height: 2px;
  background: var(--white);
  transition: transform .28s cubic-bezier(.4,0,.2,1), opacity .2s ease, width .28s ease;
}
.nav .menu-btn.open .menu-bars span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav .menu-btn.open .menu-bars span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.nav .menu-btn .menu-label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  min-width: 42px;
  text-align: left;
}

/* full-screen overlay menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(8,7,6,0.94);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  display: flex;
  align-items: flex-start;
  overflow-y: auto;
}
.nav-overlay-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: auto;
  padding: 104px var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 5vh, 56px);
}
.nav-overlay ul { list-style: none; display: grid; gap: 0; }
.nav-overlay ul li {
  border-top: 1px solid var(--line);
}
.nav-overlay.is-open ul li {
  animation: menuItemIn .5s ease both;
}
@keyframes menuItemIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.nav-overlay ul li:last-child { border-bottom: 1px solid var(--line); }
.nav-overlay ul a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: clamp(12px, 1.8vh, 22px) 8px;
  transition: padding-left .3s ease, color .3s ease;
}
.nav-overlay ul a:hover { padding-left: 24px; color: var(--lava); }
.nav-overlay ul a .ix {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color .3s ease;
}
.nav-overlay ul a:hover .ix { color: var(--lava); }
.nav-overlay ul a .lbl {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 46px);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--white);
  transition: color .3s ease;
}
.nav-overlay ul a:hover .lbl { color: var(--lava); }
.nav-overlay ul a .ar {
  font-size: 22px;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .3s ease, transform .3s ease, color .3s ease;
}
.nav-overlay ul a:hover .ar { opacity: 1; transform: none; color: var(--lava); }
.nav-overlay-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.nav-overlay-foot .btn { padding: 16px 30px; }
.nav-overlay-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fg-2);
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .nav .nav-cta { display: none; }
  .nav .menu-btn .menu-label { display: none; }
  .nav .menu-btn { padding: 11px 13px; }
  .nav-overlay-foot { flex-direction: column; align-items: stretch; }
  .nav-overlay-foot .btn { width: 100%; justify-content: center; }
  .nav-overlay-contact { text-align: left; }
}
@media (max-width: 460px) {
  .nav .brand .txt { display: none; }
}
@media (max-width: 460px) {
  .nav .brand .txt { display: none; }
}

/* ============================================================
   HERO (video-first)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video,
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
/* placeholder video motion */
.hero-media .poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: grayscale(0.5) contrast(1.14) brightness(0.58) saturate(0.72) hue-rotate(-8deg);
  animation: heroZoom 24s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.16); }
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(9,11,16,0.58) 0%, rgba(9,11,16,0.12) 28%, rgba(9,11,16,0.22) 55%, rgba(9,11,16,0.93) 100%),
    radial-gradient(120% 80% at 70% 30%, rgba(60,110,160,0.14), transparent 62%);
}
.hero-media .grain {
  position: absolute; inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(48px, 9vh, 110px);
  padding-top: 120px;
}
.hero-content .eyebrow { margin-bottom: 26px; display: inline-flex; align-items: center; gap: 14px; }
.hero-content .eyebrow::before {
  content: ""; width: 40px; height: 1px; background: var(--accent);
}
.hero h1 {
  font-size: clamp(52px, 10vw, 150px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 30px;
  max-width: 16ch;
}
.hero h1 .lava { color: var(--lava); }
.hero .sub {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 52ch;
  margin-bottom: 40px;
}
.hero .ctas { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero .play-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}
.hero .play-pill .ico {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  background: rgba(255,255,255,0.05);
  transition: all .2s ease;
}
.hero .play-pill:hover .ico { background: var(--lava); border-color: var(--lava); }

.hero-meta {
  position: absolute;
  bottom: clamp(48px, 9vh, 110px);
  right: var(--gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}
.hero-meta .big {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 68px);
  color: var(--white);
  line-height: 0.9;
}
.hero-meta .lab {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
/* bottom-right, clear of the CTAs on tall screens; hidden on short/narrow
   viewports where it would collide with the floating WhatsApp button */
@media (max-width: 760px), (max-height: 820px) { .hero-meta { display: none; } }

.video-tag {
  position: absolute;
  top: 104px; right: var(--gutter);
  z-index: 2;
  font-family: var(--body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--fg-2);
  display: flex; align-items: center; gap: 8px;
}
.video-tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lava);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ============================================================
   SECTION scaffolding
   ============================================================ */
.section { padding: clamp(80px, 12vh, 150px) 0; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head .eyebrow { display: inline-block; margin-bottom: 22px; }
.section-head h2 {
  font-size: clamp(36px, 5.5vw, 78px);
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 22px; }
.section-head .section-sub { color: var(--fg-2); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.65; max-width: 62ch; }

/* ============================================================
   THREE DOORS
   ============================================================ */
.doors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .doors { grid-template-columns: 1fr; } }

/* ============================================================
   CENTROS AUTORIZADOS
   ============================================================ */
.centros .section-head { margin-bottom: 40px; }
.centros-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .centros-grid { grid-template-columns: 1fr; } }
.centro {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.centro-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.centro-zone { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lava); }
.centro-trial { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); border: 1px solid var(--line-2); border-radius: 100px; padding: 4px 10px; white-space: nowrap; }
.centro-logo { height: 72px; display: flex; align-items: center; justify-content: flex-start; margin: 2px 0 12px; }
.centro-logo img { max-height: 72px; max-width: 150px; width: auto; object-fit: contain; }
.centro-logo.big { height: 92px; }
.centro-logo.big img { max-height: 92px; max-width: 230px; }
.centro-name { font-size: 22px; font-weight: 800; letter-spacing: 0.01em; text-transform: uppercase; color: var(--white); margin-top: 6px; }
.centro-address { color: var(--fg-2); font-size: 14px; line-height: 1.5; }
.centro-sched { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 2px; }
.centro-coaches { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.centro-coaches-lab { display: block; font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.centro-coaches ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.centro-coaches li { color: var(--fg); font-size: 13.5px; line-height: 1.45; }
.centro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.centro-actions .btn { padding: 11px 18px; font-size: 11px; }
.centro-maps { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-2); text-decoration: none; }
.centro-maps:hover { color: var(--lava); }
.centros-apply {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px;
  margin-top: 28px; padding: 24px 28px;
  border: 1px solid var(--line); border-radius: 3px; background: var(--black-2);
}
.centros-apply span { color: var(--fg); font-size: 16px; font-weight: 600; max-width: 62ch; }
.door {
  position: relative;
  min-height: 460px;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  isolation: isolate;
  border: 1px solid var(--line);
}
.door .door-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
  filter: grayscale(0.5) brightness(0.52) contrast(1.14) saturate(0.72) hue-rotate(-8deg);
}
.door:hover .door-bg { transform: scale(1.06); }
.door:nth-child(1) .door-bg {
  filter: grayscale(0.5) brightness(0.66) contrast(1.12) saturate(0.74) hue-rotate(-8deg);
}
.door:nth-child(3) .door-bg {
  filter: grayscale(0.4) brightness(0.82) contrast(1.08) saturate(0.8) hue-rotate(-8deg);
  object-position: center 60%;
  transform: scale(1.28);
}
.door:nth-child(3):hover .door-bg { transform: scale(1.34); }
.door::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(9,11,16,0.12) 0%, rgba(9,11,16,0.32) 45%, rgba(9,11,16,0.92) 100%);
  transition: background .3s ease;
}
.door:hover::after {
  background:
    linear-gradient(180deg, rgba(9,11,16,0.14) 0%, rgba(9,11,16,0.36) 45%, rgba(9,11,16,0.94) 100%),
    radial-gradient(120% 80% at 70% 20%, rgba(60,110,160,0.16), transparent 62%);
}
.door .num {
  position: absolute; top: 30px; left: 34px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.door h3 {
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 0.96;
  text-transform: uppercase;
  margin-bottom: 12px;
  hyphens: none;
  overflow-wrap: break-word;
}
.door p {
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 22px;
  max-width: 34ch;
}

/* ============================================================
   MÉTODO — pillars
   ============================================================ */
.metodo { background: var(--black-2); }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }
.pillar .ico {
  width: 74px; height: 74px;
  color: var(--lava);
  margin-bottom: 22px;
}
.pillar .ico .ico-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pillar .pnum {
  font-family: var(--body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 10px;
}
.pillar h3 {
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.pillar p { color: var(--fg-2); font-size: 15px; line-height: 1.6; }

.metodo-statement {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(26px, 3.4vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.005em;
  max-width: 20ch;
  margin-bottom: 28px;
}
.metodo-eyebrow { display: block; margin-bottom: 22px; }
.metodo-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 300px);
  gap: 48px;
  align-items: start;
}
.metodo-logo { display: flex; justify-content: center; align-items: flex-start; }
.metodo-logo img { width: 100%; max-width: 236px; height: auto; object-fit: contain; opacity: 0.96; }
@media (max-width: 860px) {
  .metodo-top { grid-template-columns: 1fr; gap: 28px; }
  .metodo-logo { order: -1; margin-bottom: 4px; }
  .metodo-logo img { max-width: 190px; }
}
.metodo-sub {
  color: var(--fg-2);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
  max-width: 60ch;
  margin-bottom: 72px;
}
.metodo-statement .lava { color: var(--lava); }
.testimonios h2 .lava { color: var(--lava); }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonios { position: relative; background: var(--black); overflow: hidden; isolation: isolate; }
.testimonios::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(10,9,8,0.97) 0%, rgba(10,9,8,0.82) 20%, rgba(10,9,8,0.6) 52%, rgba(10,9,8,0.78) 78%, rgba(10,9,8,0.95) 100%),
    linear-gradient(to right, rgba(10,9,8,0.55) 0%, rgba(10,9,8,0.2) 55%, rgba(10,9,8,0.5) 100%),
    url("assets/richie-testimonios-crop.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, center top;
  background-repeat: no-repeat;
  /* la sección es muy alta: fijar la imagen al viewport reduce el zoom y deja apreciar el bleed */
  background-attachment: scroll, scroll, fixed;
}
@media (max-width: 900px) {
  /* en móvil background-attachment: fixed es inestable; volvemos a cover normal */
  .testimonios::before { background-attachment: scroll, scroll, scroll; }
}
.testi-carousel { position: relative; }
.testi-arrow.side {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
}
.testi-arrow.side.prev { left: -22px; }
.testi-arrow.side.next { right: -22px; }
@media (max-width: 1100px) {
  .testi-arrow.side.prev { left: 6px; }
  .testi-arrow.side.next { right: 6px; }
}
.testi-arrow {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--surface);
  color: var(--white); cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.testi-arrow svg { width: 22px; height: 22px; }
.testi-arrow:hover { border-color: var(--lava); background: var(--lava); color: #fff; }
.testi-grid {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0 20px;
  margin: 0 -4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.testi-grid::-webkit-scrollbar { display: none; }
.testi-track {
  display: flex;
  width: max-content;
  padding: 0 4px;
  align-items: stretch;
}
.testi {
  flex: 0 0 clamp(300px, 80vw, 360px);
  margin-right: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 34px;
  display: flex;
  flex-direction: column;
}
/* carrusel de la home: tarjetas de igual tamaño; el texto largo se desvanece para indicar que sigue */
.testi-carousel .testi { height: 760px; }
.testi-carousel .testi .quote {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
}
.testi .stars { color: var(--lava); font-size: 15px; letter-spacing: 3px; margin: 4px 0 20px; text-align: center; }
.testi .quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  margin-bottom: 26px;
  flex: 1;
}
.testi .quote .hl { color: var(--white); font-weight: 600; }
.testi-cta { display: flex; justify-content: center; margin-top: 30px; }
.testi .who { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; margin-bottom: 4px; }
.testi .pfp {
  width: 92px; height: 92px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  border: 3px solid var(--line);
  margin-bottom: 14px;
  background: var(--surface-2);
  position: relative;
}
.testi .pfp img { width: 100%; height: 100%; object-fit: cover; }
.testi .pfp .ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 30px;
  color: var(--muted);
}
.testi .name { font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: 0.02em; }
.testi .role { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.testi .company { margin-top: 3px; }
.testi .company a, .testi .company { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--lava); text-decoration: none; }
.testi .company a:hover { text-decoration: underline; }
.testi .certs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 10px; }
.testi .cert {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-2); border: 1px solid var(--line-2); border-radius: 100px;
  padding: 4px 11px; white-space: nowrap;
}

/* ============================================================
   PRÓXIMA FORMACIÓN
   ============================================================ */
.formacion { position: relative; overflow: hidden; background: var(--ink); }
.formacion .inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) { .formacion .inner { grid-template-columns: 1fr; gap: 40px; } }
.formacion .inner.stacked {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.formacion > .wrap > .eyebrow { display: block; margin-bottom: 4px; }
.price-card.info-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}
.price-card.info-card .ic-note {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-card.info-card .btn { width: 100%; justify-content: center; }
.cert-badges { display: flex; gap: 16px; align-items: center; margin: 28px 0 20px; }
.cert-badge { width: 104px; height: 104px; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(250,60,0,0.25)); }
@media (max-width: 640px) { .cert-badge { width: 78px; height: 78px; } .cert-badges { gap: 12px; margin: 22px 0 16px; } }

.formacion h2 {
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.formacion .date-row {
  display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px;
}
.instructor {
  display: flex; flex-direction: column; gap: 2px;
  margin: 14px 0 4px;
}
.instructor .ins-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--white);
}
.instructor .ins-role {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lava);
}
.formacion .date-row { margin-top: 22px; }
.more-events {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.more-events .me-head {
  display: block;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
}
.event-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255,255,255,0.015);
  transition: border-color .2s ease, background .2s ease;
}
.event-row:hover { border-color: var(--line-2); background: rgba(255,255,255,0.03); }
.event-row .er-tag {
  font-family: var(--body);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.event-row .er-title {
  font-size: clamp(22px, 2.4vw, 30px);
  text-transform: uppercase;
  line-height: 1;
  margin: 8px 0 2px;
}
.event-row .er-side {
  display: flex; align-items: center; gap: 22px;
  flex-shrink: 0;
}
.event-row .er-note {
  font-family: var(--body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.event-row .er-pricebox { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.event-row .er-price { font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--lava); display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.event-row .er-until { font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.event-row .er-price s { color: var(--muted); font-size: 15px; font-weight: 500; }
.event-row .btn-ghost { padding: 12px 20px; white-space: nowrap; }
@media (max-width: 640px) {
  .event-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .event-row .er-side { width: 100%; justify-content: space-between; }
  .event-row .btn-ghost { flex: 1; justify-content: center; }
}
.formacion .chip {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 15px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--fg);
}
.formacion .chip.hot { background: var(--lava); border-color: var(--lava); color: #fff; }
.formacion ul { list-style: none; display: grid; gap: 12px; margin-bottom: 34px; }
.formacion ul li {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  font-size: 16px; color: var(--fg-2);
}
.formacion ul li .tick { color: var(--lava); font-weight: 800; }

.price-card {
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 38px;
  position: relative;
}
.price-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--lava);
}
/* anchor row: regular price shown first as the reference (struck through) */
.price-card .pc-anchor {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 14px; border-bottom: 1px dashed var(--line);
}
.price-card .pc-lab { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--fg-2); text-transform: uppercase; }
.price-card .pc-anchor-val {
  font-family: var(--display); font-weight: 700; font-size: 44px;
  color: var(--muted); text-decoration: line-through; text-decoration-thickness: 3px;
}
/* offer row: early-bird as the hero price */
.price-card .pc-offer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0 4px;
}
.price-card .pc-offer-info { display: flex; flex-direction: column; gap: 9px; }
.price-card .pc-until { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.inner[id], .more-events[id] { scroll-margin-top: 100px; }
.price-card .pc-offer-lab {
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--fg); text-transform: uppercase;
}
.price-card .pc-save {
  align-self: flex-start;
  font-family: var(--body); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: var(--lava); padding: 4px 11px; border-radius: 100px;
}
.price-card .pc-now {
  font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 0.9;
  color: var(--lava); white-space: nowrap;
}
.price-card .plan { font-size: 13px; color: var(--muted); margin: 18px 0 10px; line-height: 1.6; }
.price-card .plan.deposit { margin: 0 0 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.price-card .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* ============================================================
   CAPTURA — lead magnet
   ============================================================ */
.captura { background: var(--lava); color: #1a0a04; }
.captura .inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center;
}
@media (max-width: 900px) { .captura .inner { grid-template-columns: 1fr; gap: 40px; } }
.captura .eyebrow { color: #5c1f0a; }
.captura-sent {
  margin-top: 28px;
  padding: 30px 32px;
  border: 1px solid rgba(26,10,4,0.22);
  border-radius: 4px;
  background: rgba(255,255,255,0.14);
}
.captura-sent-mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: #1a0a04; color: var(--lava);
  display: grid; place-items: center;
  font-size: 22px; font-weight: 800;
  margin-bottom: 16px;
}
.captura-sent-title { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.1; color: #1a0a04; margin-bottom: 10px; }
.captura-sent-body { color: #3a1608; font-size: 16px; line-height: 1.6; }
.captura h2 {
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.95;
  text-transform: uppercase;
  color: #1a0a04;
  margin: 18px 0 20px;
}
.captura p { color: #2a0e04; font-size: 17px; line-height: 1.55; max-width: 48ch; margin-bottom: 28px; }
.captura .bullets { list-style: none; display: grid; gap: 10px; margin-bottom: 0; }
.captura .bullets li { padding-left: 26px; position: relative; font-size: 15px; color: #2a0e04; font-weight: 500; }
.captura .bullets li::before { content: "→"; position: absolute; left: 0; font-weight: 800; }
.captura .cap-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
@media (max-width: 560px) { .captura .cap-paths { grid-template-columns: 1fr; } }
.captura .cap-path {
  display: flex; flex-direction: column; gap: 5px;
  padding: 14px 15px; border-radius: 3px;
  background: rgba(26,10,4,0.08); border: 1px solid rgba(26,10,4,0.18);
  position: relative; text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.captura .cap-path:hover { background: #1a0a04; border-color: #1a0a04; transform: translateY(-2px); }
.captura .cap-path:hover .cp-tag { color: var(--lava); }
.captura .cap-path:hover .cp-text { color: #d9a48f; }
.captura .cap-path .cp-tag { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; color: #1a0a04; }
.captura .cap-path .cp-text { font-size: 12.5px; line-height: 1.4; color: #5c1f0a; font-weight: 500; }
.captura .cap-path .cp-go {
  position: absolute; top: 12px; right: 13px;
  font-weight: 800; color: #1a0a04; opacity: 0.55;
  transition: transform .18s ease, opacity .18s ease, color .18s ease;
}
.captura .cap-path:hover .cp-go { color: var(--lava); opacity: 1; transform: translateX(3px); }
.captura form { display: grid; gap: 12px; }
.captura input {
  font-family: var(--body); font-size: 16px;
  padding: 17px 19px;
  background: #1a0a04; color: var(--fg);
  border: 1px solid transparent; border-radius: 2px; width: 100%;
}
.captura input::placeholder { color: #8a857d; }
.captura input:focus { outline: 2px solid #1a0a04; outline-offset: 2px; }
.captura .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .captura .row2 { grid-template-columns: 1fr; } }
.captura form .btn { background: #1a0a04; color: var(--lava); justify-content: center; padding: 19px; }
.captura form .btn:hover { background: #000; }
.captura .legal { font-size: 11px; color: #5c1f0a; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.captura .wa-field { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 12px; }
.captura .wa-cc { position: relative; display: flex; align-items: center; gap: 8px; background: #1a0a04; border-radius: 2px; padding: 0 14px; }
.captura .wa-cc-code { font-family: var(--body); font-size: 16px; font-weight: 600; color: var(--fg); pointer-events: none; }
.captura .wa-cc-arrow { font-size: 11px; color: #8a857d; pointer-events: none; }
.captura .wa-cc select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; }
.captura .wa-num { margin: 0; }
.captura .consent { display: flex; align-items: flex-start; gap: 11px; margin-top: 16px; cursor: pointer; }
.captura .consent input { width: 19px; height: 19px; min-width: 19px; margin-top: 1px; accent-color: #1a0a04; cursor: pointer; }
.captura .consent span { font-size: 12.5px; line-height: 1.45; color: #2a0e04; font-weight: 600; }
.captura form .btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* mock PDF */
.guide-mock {
  position: relative;
  aspect-ratio: 3/4;
  background: #1a0a04;
  border-radius: 3px;
  padding: 38px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 28px 28px 0 rgba(26,10,4,0.35);
  max-width: 380px;
  margin: 0 auto;
  overflow: hidden;
}
.guide-mock .gm-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; filter: grayscale(0.35) brightness(0.55) contrast(1.05); }
.guide-mock .gm-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,8,0.55) 0%, rgba(10,9,8,0.28) 42%, rgba(10,9,8,0.9) 100%); }
.guide-mock .gm-top, .guide-mock > h3, .guide-mock .gm-foot { position: relative; z-index: 2; }
.guide-mock .gm-top { display: flex; justify-content: space-between; align-items: flex-start; }
.guide-mock .gm-tag { font-size: 10px; font-weight: 800; letter-spacing: 0.2em; color: var(--lava); text-transform: uppercase; }
.guide-mock .gm-wings { width: 70px; }
.guide-mock h3 {
  font-family: var(--display); font-weight: 900;
  color: var(--white); font-size: clamp(26px, 3.4vw, 40px);
  line-height: 0.95; text-transform: uppercase; margin-top: 18px;
}
.guide-mock .gm-nums { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; margin-top: 22px; }
.guide-mock .gm-nums span {
  font-family: var(--display); font-weight: 800; font-size: 13px;
  color: var(--muted); border-top: 1px solid var(--line-2); padding-top: 7px;
}
.guide-mock .gm-nums span.on { color: var(--lava); border-color: var(--lava); }
.guide-mock .gm-foot { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; color: rgba(244,241,234,0.8); text-transform: uppercase; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--black); padding: 80px 0 28px; border-top: 3px solid var(--lava); }
.footer .top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px;
}
@media (max-width: 900px) { .footer .top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer .top { grid-template-columns: 1fr; } }
.footer .brand-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer .brand-row img.mark { height: 44px; }
.footer .brand-row img.word { height: 24px; }
.footer .f-sub { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; color: var(--lava); text-transform: uppercase; margin-bottom: 16px; }
.footer p.about { color: var(--fg-2); font-size: 14px; line-height: 1.6; max-width: 38ch; }
.footer .contact { margin-top: 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--fg-2); line-height: 1.9; text-transform: uppercase; }
.footer .contact a { color: inherit; transition: color .2s ease; }
.footer .contact a:hover { color: var(--lava); }
.footer h5 { font-family: var(--body); font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lava); margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a { color: var(--fg-2); font-size: 14px; transition: color .2s ease; }
.footer ul a:hover { color: #fff; }
.footer .bottom {
  border-top: 1px solid rgba(255,255,255,0.10); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  display: flex; align-items: center; gap: 12px;
  background: #25d366; color: #04210f;
  padding: 13px 22px 13px 14px; border-radius: 999px;
  font-family: var(--body); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  transition: transform .2s ease;
}
.wa:hover { transform: translateY(-3px); }
.wa .ic { width: 30px; height: 30px; background: #04210f; color: #25d366; border-radius: 50%; display: grid; place-items: center; }
@media (max-width: 600px) { .wa .label { display: none; } .wa { padding: 14px; } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media .poster { animation: none; }
}

/* ============================================================
   CHECKOUT MODAL — "Apartar mi espacio"
   ============================================================ */
.co-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5,4,4,0.74); backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 20px; overflow-y: auto;
  animation: coFade .25s ease;
}
@keyframes coFade { from { opacity: 0; } to { opacity: 1; } }
.co-modal {
  position: relative; width: 100%; max-width: 940px;
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: 6px; overflow: hidden;
  display: grid; grid-template-columns: 0.95fr 1.15fr;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
  animation: coRise .3s cubic-bezier(.2,.7,.3,1);
}
@keyframes coRise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
.co-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(0,0,0,0.4); color: var(--fg-2);
  cursor: pointer; font-size: 14px; display: grid; place-items: center;
  transition: color .2s ease, border-color .2s ease;
}
.co-close:hover { color: var(--white); border-color: var(--white); }

/* summary column */
.co-summary {
  background: var(--black); padding: 32px 28px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
}
.co-sum-badges { display: flex; gap: 12px; }
.co-sum-badges img { width: 58px; height: 58px; object-fit: contain; }
.co-sum-eyebrow { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lava); }
.co-sum-title { font-size: 25px; line-height: 1.05; margin: -8px 0 0; }
.co-scarcity {
  align-self: flex-start;
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--lava); border: 1px solid var(--lava); border-radius: 100px; padding: 5px 12px;
}
.co-sum-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.co-sum-chip { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-2); border: 1px solid var(--line-2); border-radius: 100px; padding: 4px 10px; }
.co-sum-lab { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.co-sum-instructor { display: flex; flex-direction: column; gap: 1px; }
.co-sum-ins-name { font-family: var(--display); font-weight: 700; font-size: 15px; text-transform: uppercase; }
.co-sum-ins-role { font-size: 11px; color: var(--muted); letter-spacing: 0.03em; }
.co-sum-includes ul { list-style: none; display: grid; gap: 9px; }
.co-sum-includes li { display: grid; grid-template-columns: auto 1fr; gap: 10px; font-size: 12.5px; line-height: 1.45; color: var(--fg-2); }
.co-tick { color: var(--lava); font-weight: 800; }
.co-bonus {
  border: 1px solid var(--lava); background: rgba(250,60,0,0.09); border-radius: 4px; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.co-bonus-tag { font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lava); }
.co-bonus-text { font-size: 13px; font-weight: 600; color: var(--white); line-height: 1.4; }
.co-sum-deadline .co-count { display: flex; gap: 8px; }
.co-count-cell { background: var(--surface); border: 1px solid var(--line-2); border-radius: 4px; padding: 8px 0; text-align: center; flex: 1; }
.co-count-cell b { display: block; font-family: var(--display); font-size: 21px; font-weight: 800; color: var(--white); line-height: 1.1; }
.co-count-cell span { font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.co-guarantees ul { list-style: none; display: grid; gap: 9px; }
.co-guarantees li { display: grid; grid-template-columns: auto 1fr; gap: 10px; font-size: 12px; line-height: 1.45; color: var(--fg-2); }
.co-shield { color: #2ecc71; font-weight: 800; }
.co-social { border-top: 1px solid var(--line); padding-top: 15px; display: flex; flex-direction: column; gap: 3px; }
.co-social-line { font-family: var(--display); font-weight: 700; font-size: 14px; text-transform: uppercase; color: var(--white); }
.co-social-note { font-size: 11px; color: var(--muted); line-height: 1.4; }
.co-trust { list-style: none; display: grid; gap: 6px; }
.co-trust li { font-size: 11px; color: var(--muted); padding-left: 15px; position: relative; line-height: 1.4; }
.co-trust li::before { content: "\2713"; position: absolute; left: 0; color: var(--lava); font-weight: 800; }

/* main column */
.co-main { padding: 32px 30px 34px; display: flex; flex-direction: column; }
.co-steps { display: flex; gap: 6px; margin-bottom: 24px; }
.co-step { display: flex; align-items: center; gap: 8px; }
.co-step-n { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--muted); flex-shrink: 0; transition: all .2s ease; }
.co-step-l { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.co-step:not(:last-child)::after { content: ""; width: 14px; height: 1px; background: var(--line-2); }
.co-step.is-active .co-step-n { border-color: var(--lava); background: var(--lava); color: #fff; }
.co-step.is-active .co-step-l { color: var(--white); }
.co-step.is-done .co-step-n { border-color: var(--lava); color: var(--lava); }
.co-h { font-family: var(--display); font-weight: 700; font-size: 20px; margin: 0 0 16px; text-transform: uppercase; letter-spacing: 0.01em; }
.co-body { flex: 1; }
.co-pane { display: flex; flex-direction: column; }

/* plans */
.co-plans { display: grid; gap: 12px; margin-bottom: 18px; }
.co-plan { position: relative; text-align: left; background: var(--black); border: 1px solid var(--line-2); border-radius: 5px; padding: 18px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; transition: border-color .2s ease, background .2s ease; }
.co-plan:hover { border-color: var(--fg-2); }
.co-plan.sel { border-color: var(--lava); background: rgba(250,60,0,0.06); }
.co-plan-badge { position: absolute; top: -9px; right: 14px; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--lava); padding: 3px 10px; border-radius: 100px; }
.co-plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.co-plan-tag { font-family: var(--display); font-weight: 700; font-size: 15px; text-transform: uppercase; }
.co-plan-price { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--white); display: flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.co-plan-price s { color: var(--muted); font-size: 15px; font-weight: 500; }
.co-plan-price em { font-style: normal; font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.co-plan-note { font-size: 12px; color: var(--fg-2); }
.co-plan-save { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lava); }
.co-plan-break { font-size: 11px; color: var(--muted); }
.co-plan-due { font-size: 11px; color: var(--fg-2); }

/* buttons */
.co-btn { font-family: var(--body); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; padding: 15px 22px; border-radius: 4px; cursor: pointer; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.co-btn-primary { background: var(--lava); color: #fff; width: 100%; }
.co-btn-primary:hover { background: var(--lava-2); }
.co-btn-ghost { background: transparent; border-color: var(--line-2); color: var(--fg-2); }
.co-btn-ghost:hover { border-color: var(--white); color: var(--white); }
.co-btn-wa { background: #25d366; color: #04210f; }
.co-btn-wa:hover { background: #1fb855; }
.co-actions { display: flex; gap: 12px; margin-top: 6px; }
.co-actions .co-btn-primary { width: auto; flex: 1; }
.co-actions.co-center { justify-content: center; }

/* fields */
.co-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.co-field { display: flex; flex-direction: column; gap: 6px; }
/* 1=Nombre, 2=Apellidos share row 1; 3=email spans full width. */
.co-fields .co-field:nth-child(3) { grid-column: 1 / -1; }
.co-field > span { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-2); }
.co-field input { background: var(--black); border: 1px solid var(--line-2); border-radius: 4px; padding: 12px 14px; color: var(--white); font-family: var(--body); font-size: 14px; transition: border-color .2s ease; }
.co-field input:focus { outline: none; border-color: var(--lava); }
.co-field.err input { border-color: #e5484d; }
.co-field em { font-style: normal; font-size: 11px; color: #e5484d; }

/* payment methods */
.co-methods { display: grid; gap: 10px; margin-bottom: 16px; }
.co-method { text-align: left; background: var(--black); border: 1px solid var(--line-2); border-radius: 5px; padding: 14px 16px; cursor: pointer; display: flex; flex-direction: column; gap: 3px; transition: border-color .2s ease, background .2s ease; }
.co-method:hover { border-color: var(--fg-2); }
.co-method.sel { border-color: var(--lava); background: rgba(250,60,0,0.06); }
.co-method-tag { font-weight: 700; font-size: 14px; color: var(--white); }
.co-method-note { font-size: 12px; color: var(--muted); }

/* order bump */
.co-bump { text-align: left; width: 100%; display: flex; align-items: center; gap: 14px; background: rgba(250,60,0,0.05); border: 1px dashed var(--lava); border-radius: 5px; padding: 14px 16px; cursor: pointer; margin-bottom: 16px; transition: background .2s ease; }
.co-bump.sel { background: rgba(250,60,0,0.13); border-style: solid; }
.co-bump-check { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--lava); color: var(--lava); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.co-bump.sel .co-bump-check { background: var(--lava); color: #fff; }
.co-bump-body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.co-bump-tag { font-weight: 700; font-size: 13px; color: var(--white); }
.co-bump-note { font-size: 11px; color: var(--muted); }
.co-bump-price { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--lava); }

/* due + paypal */
.co-due { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.co-due span { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); }
.co-due b { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--white); }
.co-paypal { width: 100%; background: #ffc439; color: #003087; border: none; border-radius: 4px; padding: 15px; font-weight: 800; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px; transition: filter .2s ease; }
.co-paypal:hover { filter: brightness(0.96); }
.co-paypal:disabled { opacity: 0.85; cursor: default; }
.co-pp i { font-style: italic; }
.co-pp i:first-child { color: #003087; }
.co-pp i:last-child { color: #0070e0; }
.co-paypal-amt { color: #003087; font-weight: 700; }
.co-spin { width: 20px; height: 20px; border: 2px solid rgba(0,48,135,0.3); border-top-color: #003087; border-radius: 50%; animation: coSpin .7s linear infinite; }
@keyframes coSpin { to { transform: rotate(360deg); } }
.co-secure { text-align: center; font-size: 11px; color: var(--muted); margin-top: 12px; }
.co-back-pay { width: 100%; margin-top: 12px; }

/* done */
.co-done { align-items: center; text-align: center; padding-top: 18px; }
.co-done-mark { width: 60px; height: 60px; border-radius: 50%; background: var(--lava); color: #fff; display: grid; place-items: center; font-size: 30px; margin-bottom: 16px; }
.co-done-body { font-size: 14px; color: var(--fg-2); line-height: 1.6; max-width: 42ch; margin: 0 auto 20px; }

@media (max-width: 760px) {
  .co-overlay { padding: 0; }
  .co-modal { grid-template-columns: 1fr; border-radius: 0; min-height: 100%; }
  .co-summary { border-right: 0; border-bottom: 1px solid var(--line); }
  .co-fields { grid-template-columns: 1fr; }
  .co-fields .co-field:nth-child(3) { grid-column: auto; }
  .co-step-l { display: none; }
  .co-step:not(:last-child)::after { width: 20px; }
}

/* ============================================================
   CERT DETAILS (expandable) + intro
   ============================================================ */
.formacion-intro { max-width: none; color: var(--fg-2); font-size: 16px; line-height: 1.65; margin: 6px 0 10px; }
.cert-details { margin-top: 22px; }
.cd-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; border: 1px solid var(--line-2); color: var(--fg);
  font-family: var(--body); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 13px 20px; border-radius: 3px; cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.cd-toggle:hover { border-color: var(--lava); color: var(--lava); }
.cd-caret { font-size: 12px; transition: transform .25s ease; }
.cd-toggle.open .cd-caret { transform: rotate(180deg); }
.cd-grid { columns: 2; column-gap: 44px; margin-top: 28px; }
@media (max-width: 760px) { .cd-grid { columns: 1; } }
.cd-group { display: flex; flex-direction: column; gap: 13px; break-inside: avoid; -webkit-column-break-inside: avoid; margin-bottom: 30px; }
.cd-title { font-family: var(--display); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: 0.01em; color: var(--white); padding-bottom: 8px; border-bottom: 2px solid var(--lava); align-self: flex-start; margin: 0; }
.cd-list { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.cd-list li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.5; color: var(--fg-2); }
.cd-list li::before { content: "→"; position: absolute; left: 0; color: var(--lava); font-weight: 800; }
.cd-block { display: flex; flex-direction: column; gap: 8px; }
.cd-sub { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); }
.cd-note { font-size: 13px; color: var(--muted); line-height: 1.55; font-style: italic; margin: 2px 0 0; }
.cd-open {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; border: 1px solid var(--line-2); color: var(--fg);
  font-family: var(--body); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 13px 20px; border-radius: 3px; cursor: pointer;
  transition: border-color .2s ease, color .2s ease, gap .2s ease;
}
.cd-open:hover { border-color: var(--lava); color: var(--lava); gap: 14px; }

/* details modal (reuses co-overlay / co-modal chrome) */
.co-modal.co-modal-details { display: flex; flex-direction: column; max-width: 880px; }
.cdm-head { background: var(--black); padding: 32px 30px 22px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.cdm-head-row { display: flex; align-items: center; gap: 20px; }
.cdm-head-row .co-sum-title { margin: 0; }
.cdm-head .co-sum-title { margin: -4px 0 0; }
.cdm-body { padding: 28px 30px; }
.cdm-body .cd-grid { margin-top: 0; }
.cdm-foot { display: flex; align-items: center; gap: 18px; padding: 20px 30px 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.cdm-price { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--lava); display: flex; align-items: baseline; gap: 8px; }
.cdm-price s { color: var(--muted); font-size: 16px; font-weight: 500; }
.cdm-cta { flex: 1; min-width: 220px; }
@media (max-width: 760px) { .cdm-foot { flex-direction: column; align-items: stretch; } .cdm-cta { width: 100%; } }
.er-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.er-actions .er-btn { padding: 10px 16px; font-size: 11px; }

.cert-head { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; }
.cert-head .cert-badges { margin: 0; flex-shrink: 0; }
.cert-head h2 { margin: 0; min-width: 0; }
@media (max-width: 480px) { .cert-head { gap: 14px; } .cert-head .cert-badge { width: 72px; } }

/* per-card accent colors (scoped via CSS var override) */
.cert-block { display: contents; }
.acc-ninja { --lava: #8c9299; --lava-2: #565b62; }
.acc-sand { --lava: #bcb67d; --lava-2: #a49e66; }
.acc-navy { --lava: #35486a; --lava-2: #26344e; }
.acc-sand .btn.btn-primary, .acc-sand .pc-save, .acc-sand .chip.hot { color: #0a0908; }
.acc-ninja .cert-badge { filter: drop-shadow(0 8px 20px rgba(140,146,153,0.30)); }
.acc-sand .cert-badge { filter: drop-shadow(0 8px 20px rgba(188,182,125,0.30)); }
.acc-navy .cert-badge { filter: drop-shadow(0 8px 20px rgba(53,72,106,0.40)); }

/* ============================================================
   COACHES CERTIFICADOS — directorio (página aparte)
   ============================================================ */
.coaches-hero {
  padding: 150px 0 56px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--black-2), var(--black));
}
.coaches-back {
  display: block; width: fit-content; margin-bottom: 30px;
  font-family: var(--body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-2); text-decoration: none; transition: color .2s ease;
}
.coaches-back:hover { color: var(--lava); }
.coaches-hero .eyebrow { display: inline-block; margin-bottom: 20px; }
.coaches-title { font-size: clamp(40px, 6vw, 88px); line-height: 0.94; letter-spacing: -0.01em; color: var(--white); }
.coaches-lead { margin-top: 26px; max-width: 92ch; color: var(--fg-2); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.7; }
.coaches-meta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
.coaches-count { font-family: var(--display); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--lava); }
.coaches-updated { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.coaches-section { padding: 56px 0 clamp(80px, 12vh, 140px); }
.coaches-filters {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 26px 40px;
  margin-bottom: 44px; padding-bottom: 30px; border-bottom: 1px solid var(--line);
}
.cf-group { display: flex; flex-direction: column; gap: 12px; }
.cf-lab { font-family: var(--body); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chip {
  font-family: var(--body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 100px;
  color: var(--fg-2); background: transparent; cursor: pointer; transition: all .18s ease;
}
.cf-chip:hover { color: var(--white); border-color: var(--white); }
.cf-chip.on { background: var(--lava); border-color: var(--lava); color: #fff; }
.cf-search { margin-left: auto; }
.cf-search input {
  font-family: var(--body); font-size: 14px; color: var(--white);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 3px;
  padding: 12px 16px; min-width: 220px; outline: none; transition: border-color .2s ease;
}
.cf-search input::placeholder { color: var(--muted); }
.cf-search input:focus { border-color: var(--lava); }

.coaches-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1000px) { .coaches-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .coaches-grid { grid-template-columns: 1fr; } }

.coach {
  background: var(--surface); border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}
.coach:hover { border-color: var(--line-2); transform: translateY(-3px); }
.coach-photo { position: relative; aspect-ratio: 1 / 1; background: var(--surface-2); overflow: hidden; }
.coach-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.coach-ph-fallback {
  position: absolute; inset: 0; display: none; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 52px; letter-spacing: 0.02em;
  color: var(--muted); background: var(--surface-2);
}
.coach-lvl {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--body); font-size: 10px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px; color: #fff;
  background: rgba(10,9,8,0.72); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.16);
}
.coach-lvl.lvl-L4, .coach-lvl.lvl-L3, .coach-lvl.lvl-L2 { background: rgba(10,9,8,0.72); border-color: rgba(255,255,255,0.16); }
.coach-body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.coach-name { font-size: 21px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; color: var(--white); }
.coach-role { margin-top: 5px; font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--lava); }
.coach-loc { margin-top: 3px; font-size: 13px; color: var(--muted); }
.coach-certs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.coach-cert {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-2); border: 1px solid var(--line-2); border-radius: 100px; padding: 4px 10px;
}
.coach-bio { margin-top: 14px; font-size: 13.5px; line-height: 1.55; color: var(--fg-2); }
.coach-links { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; }
.coach-link {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 12px; border-radius: 3px;
  border: 1px solid var(--line-2); color: var(--fg-2);
  text-decoration: none; transition: all .18s ease;
}
.coach-link span { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.coach-link:hover { color: var(--white); border-color: var(--white); }
.coach-link.cl-wa { flex: 1; justify-content: center; }
.coach-link.cl-wa:hover { background: #25D366; border-color: #25D366; color: #0a0908; }
.coach-link.cl-ig:hover { border-color: #E1306C; color: #E1306C; }
.coach-link.cl-fb:hover { border-color: #1877F2; color: #1877F2; }

.coaches-empty { text-align: center; padding: 70px 0; color: var(--fg-2); }
.coaches-empty p { margin-bottom: 20px; font-size: 16px; }

.coaches-cta { padding: 0 0 clamp(70px, 10vh, 120px); }
.coaches-cta-inner {
  background: linear-gradient(135deg, var(--surface), var(--black-2));
  border: 1px solid var(--line); border-radius: 5px;
  padding: clamp(40px, 6vw, 72px); text-align: center;
}
.coaches-cta-inner .eyebrow { display: inline-block; margin-bottom: 18px; }
.coaches-cta-inner h2 { font-size: clamp(30px, 4.5vw, 58px); line-height: 1.0; color: var(--white); letter-spacing: -0.01em; }
.coaches-cta-inner p { margin: 22px auto 32px; max-width: 60ch; color: var(--fg-2); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.65; }

.nav .nav-links a.is-active { color: var(--lava); }

@media (max-width: 640px) {
  .cf-search { margin-left: 0; width: 100%; }
  .cf-search input { width: 100%; }
}

/* ============================================================
   ENTRENAMIENTO ONLINE — página aparte
   ============================================================ */
.online-hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.online-platform { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.online-how .section-head { margin-bottom: 40px; }
.online-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .online-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .online-steps { grid-template-columns: 1fr; } }
.online-step { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 28px 24px; }
.online-step-n { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: 0.1em; color: var(--lava); }
.online-step-t { font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; color: var(--white); margin: 12px 0 8px; }
.online-step-d { color: var(--fg-2); font-size: 14.5px; line-height: 1.6; }

.online-mid { position: relative; background: transparent; }
.online-bgzone { position: relative; overflow: hidden; }
.online-bgzone-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("assets/online-bleed.jpg") no-repeat;
  background-size: cover; background-position: center 22%;
}
.online-bgzone-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--black) 0%, rgba(10,9,8,0.74) 22%, rgba(10,9,8,0.74) 78%, var(--black-2) 100%);
}
.online-bgzone > section { position: relative; z-index: 1; }

/* subpage testimonials — mismas tarjetas .testi del inicio, en grid estático */
.subtesti .section-head { margin-bottom: 40px; }
.subtesti .section-head h2 { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.0; color: var(--white); letter-spacing: -0.01em; margin-top: 14px; }
.testi-grid-static { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 1000px) { .testi-grid-static { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .testi-grid-static { grid-template-columns: 1fr; } }
.testi-grid-static .testi {
  flex: initial; width: auto; margin-right: 0; height: 100%;
  display: flex; flex-direction: column;
}
.testi-grid-static .testi .quote { margin-top: 14px; }

/* ============================================================
   GALERÍA
   ============================================================ */
.gal-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 40px; margin-bottom: 44px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.gal-section { margin-bottom: 56px; }
.gal-section-title { font-size: clamp(24px, 3vw, 40px); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; color: var(--white); margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .gal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .gal-grid { grid-template-columns: 1fr; } }
.gal-card { display: block; text-align: left; padding: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--surface); cursor: pointer; transition: border-color .2s ease, transform .2s ease; font: inherit; color: inherit; }
.gal-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.gal-card-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.gal-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-card-ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #211e1a, #121110); }
.gal-card-ph img { width: 64px; height: auto; opacity: 0.35; }
.gal-cover-real { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* eventos con todos los thumbnails visibles */
.gal-event { margin-bottom: 40px; }
.gal-event-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 16px; }
.gal-event-title { font-size: clamp(17px, 1.8vw, 22px); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; color: var(--white); }
.gal-event-date { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lava); }
.gal-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
@media (max-width: 1000px) { .gal-thumbs { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 620px) { .gal-thumbs { grid-template-columns: repeat(3, 1fr); } }
.gal-thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; background: var(--surface-2); cursor: pointer; padding: 0; transition: transform .18s ease, border-color .18s ease; }
.gal-thumb:hover { transform: scale(1.03); border-color: var(--lava); z-index: 3; }
.gal-thumb-ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #211e1a, #121110); }
.gal-thumb-ph img { width: 40%; max-width: 54px; opacity: 0.3; }
.gal-thumb-ph.video { background: radial-gradient(circle at 50% 40%, #2a1a12, #121110); }
.gal-thumb-real { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.gal-thumb-play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; color: #fff; font-size: 22px; text-shadow: 0 2px 10px rgba(0,0,0,0.6); pointer-events: none; }
.gal-ph-ic { font-size: 26px; color: var(--lava); }
.gal-card-count { position: absolute; top: 12px; left: 12px; z-index: 2; font-family: var(--body); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: rgba(10,9,8,0.7); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.14); padding: 5px 10px; border-radius: 100px; }
.gal-card-view { position: absolute; bottom: 12px; right: 12px; z-index: 2; font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; opacity: 0; transform: translateY(6px); transition: all .2s ease; }
.gal-card:hover .gal-card-view { opacity: 1; transform: translateY(0); }
.gal-card-cover::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10,9,8,0.55), transparent 45%); opacity: 0; transition: opacity .2s ease; }
.gal-card:hover .gal-card-cover::after { opacity: 1; }
.gal-card-meta { padding: 16px 18px 18px; }
.gal-card-title { font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; color: var(--white); }
.gal-card-date { display: block; margin-top: 4px; font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lava); }
.gal-card-coach { display: flex; align-items: center; gap: 8px; margin-top: 9px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,0.09); font-family: var(--body); font-size: 13px; font-weight: 500; letter-spacing: 0.01em; color: rgba(255,255,255,0.5); }
.gal-card-coach::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--lava); box-shadow: 0 0 0 3px rgba(250,60,0,0.18); }
.gal-card-coach b { font-weight: 700; color: var(--white); }
.gal-card-coach + .gal-card-date { margin-top: 7px; }

/* lightbox */
.gal-lb { position: fixed; inset: 0; z-index: 2000; background: rgba(6,5,5,0.94); display: grid; place-items: center; padding: 40px; }
.gal-lb-close { position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,0.05); color: #fff; font-size: 18px; cursor: pointer; transition: all .2s ease; }
.gal-lb-close:hover { background: var(--lava); border-color: var(--lava); }
.gal-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,0.05); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; transition: all .2s ease; }
.gal-lb-nav:hover { background: var(--lava); border-color: var(--lava); }
.gal-lb-nav.prev { left: 26px; } .gal-lb-nav.next { right: 26px; }
.gal-lb-stage { width: min(1000px, 92vw); max-height: 90vh; display: flex; flex-direction: column; gap: 12px; }
.gal-lb-img { width: 100%; max-height: 60vh; object-fit: contain; border-radius: 4px; }
.gal-lb-video { width: 100%; aspect-ratio: 16 / 9; max-height: 60vh; border-radius: 4px; }
.gal-lb-ph { width: 100%; aspect-ratio: 16 / 10; max-height: 56vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(circle at 50% 40%, #211e1a, #121110); border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.gal-lb-ph img { width: 80px; opacity: 0.4; }
.gal-ph-ic { font-size: 34px; color: var(--lava); }
.gal-lb-cap { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--fg); font-family: var(--display); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.02em; }
.gal-lb-count { color: var(--muted); font-size: 13px; }
.gal-lb-strip { display: flex; gap: 8px; overflow-x: auto; flex-wrap: nowrap; padding: 6px 2px 2px; scrollbar-width: thin; flex-shrink: 0; }
.gal-lb-thumb { flex: 0 0 auto; width: 68px; height: 68px; border-radius: 3px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface-2); cursor: pointer; padding: 0; opacity: 0.55; transition: opacity .18s ease, border-color .18s ease; position: relative; }
.gal-lb-thumb:hover { opacity: 1; }
.gal-lb-thumb.on { opacity: 1; border-color: var(--lava); }
.gal-lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-lb-thumb-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--lava); font-size: 16px; background: radial-gradient(circle at 50% 40%, #211e1a, #121110); }
.gal-lb-thumb-ph.video { background: radial-gradient(circle at 50% 40%, #2a1a12, #121110); }
.gal-lb-thumb-ph img { width: 46%; height: auto; opacity: 0.4; }
@media (max-width: 640px) { .gal-lb-nav { width: 44px; height: 44px; font-size: 24px; } .gal-lb-nav.prev { left: 8px; } .gal-lb-nav.next { right: 8px; } .gal-lb { padding: 16px; } }
.online-mid-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .online-mid-grid { grid-template-columns: 1fr; gap: 40px; } }
.online-inc .eyebrow, .online-for .eyebrow { display: block; margin-bottom: 20px; }
.online-inc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.online-inc li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; font-size: 16.5px; line-height: 1.5; color: var(--fg); }
.online-inc li .tick { color: var(--lava); font-weight: 800; }
.online-side { display: flex; flex-direction: column; gap: 24px; }
.online-for p { color: var(--fg-2); font-size: 15.5px; line-height: 1.7; max-width: 52ch; }
.online-plan { background: var(--surface); border: 1px solid var(--line-2); border-radius: 5px; padding: 32px; }
.op-lab { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2); }
.op-price { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; color: var(--white); margin: 10px 0 4px; display: flex; align-items: baseline; gap: 8px; }
.op-per { font-size: 18px; font-weight: 600; color: var(--muted); }
.op-desc { color: var(--fg-2); font-size: 14.5px; line-height: 1.6; margin: 10px 0 22px; }
.online-plan .btn { width: 100%; justify-content: center; }

/* (legacy full-bleed band styles kept harmless if referenced) */

/* subpage footer bottom row */
.footer .footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px;
  padding: 28px 0; border-top: 1px solid var(--line);
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--fg-2); text-transform: uppercase;
}
.footer .footer-bottom a { color: var(--fg-2); text-decoration: none; transition: color .2s ease; }
.footer .footer-bottom a:hover { color: var(--lava); }

/* ============================================================
   REQUEST-INFO LIGHTBOX (form → Groundhogg en WP)
   ============================================================ */
.ri-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(6,5,4,0.72);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: grid; place-items: center; padding: 24px;
  animation: riFade .2s ease;
}
/* Hidden by default so the modal never flashes open before deferred JS runs.
   The [hidden] selector outranks the base .ri-overlay display rule. */
.ri-overlay[hidden] { display: none; }
@keyframes riFade { from { opacity: 0; } to { opacity: 1; } }
.ri-modal {
  position: relative;
  width: min(520px, 100%);
  max-height: 90vh; overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 42px 40px 34px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.ri-close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-2); background: transparent;
  color: var(--fg-2); cursor: pointer; font-size: 15px;
  display: grid; place-items: center;
  transition: border-color .2s ease, color .2s ease;
}
.ri-close:hover { border-color: var(--lava); color: var(--white); }
.ri-eyebrow { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lava); }
.ri-title { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.05; margin: 8px 0 10px; color: var(--white); }
.ri-sub { color: var(--fg-2); font-size: 15px; line-height: 1.6; margin-bottom: 22px; }
.ri-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ri-field { display: flex; flex-direction: column; gap: 6px; }
.ri-field-full { grid-column: 1 / -1; }
.ri-field span { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); }
.ri-field input, .ri-field textarea {
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 3px;
  padding: 12px 14px; color: var(--white); font-family: var(--body); font-size: 15px;
  transition: border-color .2s ease;
}
.ri-field input:focus, .ri-field textarea:focus { outline: none; border-color: var(--lava); }
.ri-field textarea { resize: vertical; }
.ri-field.err input { border-color: #e0533a; }
.ri-submit { grid-column: 1 / -1; width: 100%; justify-content: center; margin-top: 4px; }
.ri-legal { grid-column: 1 / -1; font-size: 12px; color: var(--muted); text-align: center; margin-top: 2px; }
.ri-sent { text-align: center; padding: 12px 0; }
.ri-sent-mark { width: 54px; height: 54px; border-radius: 50%; background: var(--lava); color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 800; margin: 0 auto 18px; }
.ri-sent .ri-title { margin-bottom: 10px; }
.ri-sent .btn { margin-top: 20px; }
@media (max-width: 560px) { .ri-form { grid-template-columns: 1fr; } .ri-modal { padding: 34px 22px 26px; } }
