/* Biogenetic · Landing
   Fuentes alojadas en el propio sitio (sin conexión a Google). Licencia SIL OFL 1.1. */
@font-face { font-family: "Bebas Neue"; src: url("../fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Orbitron"; src: url("../fonts/orbitron-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --bg-main: #05070C;
  --bg-card: #0E1420;
  --text-primary: #FFFFFF;
  --text-secondary: #A0AEC0;
  --text-muted: #8A94A6;
  --accent-cyan: #00D4FF;
  --accent-blue: #0088FF;
  --accent-gradient: linear-gradient(135deg, #00D4FF 0%, #0088FF 100%);
  --border-color: #1E293B;
  --border-glow: rgba(0, 212, 255, 0.25);
  --font-logo: "Orbitron", sans-serif;
  --font-display: "Bebas Neue", "Inter", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius-card: 24px;
  --radius-pill: 9999px;
  --header-h: 75px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent-cyan); color: #05070C; padding: .6rem 1rem; z-index: 2000; font-weight: 700; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Encabezado ---------- */
.header {
  position: fixed; top: 0; left: 0; width: 100%; height: var(--header-h);
  background: rgba(5, 7, 12, 0.92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.25rem; z-index: 1000; gap: 1rem;
}
.logo-container { display: flex; align-items: center; gap: 8px; text-decoration: none; user-select: none; min-height: 44px; }
.logo-icon { height: 44px; width: auto; flex-shrink: 0; }
.logo-text {
  font-family: var(--font-logo); font-weight: 900; font-size: 1.3rem;
  letter-spacing: -0.5px; display: flex; align-items: center;
  transform: skewX(-10deg); /* inclinación similar al logo original */
}
.logo-text span { display: inline-block; }
.logo-text .bio { color: #FFFFFF; }
.logo-text .genetic { color: var(--accent-blue); background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Microinteracción: golpe desde la izquierda, las letras salen y vuelven a ordenarse */
.logo-text.scatter .letter {
  animation: golpeYOrden 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--char-index) * 0.035s);
}
@keyframes golpeYOrden {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 1; }
  25%  { transform: translate(calc(var(--rand-x) * 1.8px), calc(var(--rand-y) * 1.8px)) scale(1.3) rotate(calc(var(--rand-r) * 1.8deg)); opacity: .9; }
  50%  { transform: translate(140px, calc(var(--rand-y) * .5px)) scale(.6) rotate(20deg); opacity: 0; }
  100% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 1; }
}

/* ---------- Botones ---------- */
.btn-pill {
  background: var(--accent-gradient); color: #05070C;
  font-weight: 800; font-size: .875rem; padding: .6rem 1.25rem; min-height: 44px;
  border-radius: var(--radius-pill); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 0 20px rgba(0, 212, 255, .35);
  text-transform: uppercase; letter-spacing: .5px; border: none; cursor: pointer;
}
.btn-pill:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 30px rgba(0, 212, 255, .6); }
.btn-pill--lg { padding: .9rem 2.2rem; font-size: 1rem; min-height: 52px; }
.btn-arrow-circle {
  width: 24px; height: 24px; background: #05070C; color: var(--accent-cyan);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold;
}
.btn-pill--lg .btn-arrow-circle { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
/* Hero en "cinta": banda de texto arriba, video a brillo completo, banda con botón abajo */
.hero {
  width: 100%;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(ellipse at 50% 0%, #0B2240 0%, #05070C 65%);
  text-align: center;
}
.hero-band { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 1.75rem 1.25rem; }
.hero-band--top { padding-bottom: 1.25rem; }
.hero-band--bottom { padding-top: 1.25rem; }
.hero-film {
  position: relative; width: 100%; max-width: 1200px; margin: 0 auto;
  aspect-ratio: 16 / 9; max-height: 46vh; max-height: 46svh; overflow: hidden; background: #000;
}
/* Film-strip edges in brand blue */
.hero-film::before, .hero-film::after {
  content: ""; position: absolute; left: 0; right: 0; height: 3px; z-index: 2;
  background: var(--accent-gradient); box-shadow: 0 0 18px rgba(0, 212, 255, .6);
}
.hero-film::before { top: 0; }
.hero-film::after { bottom: 0; }
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1200px) { .hero-film { border-radius: 18px; } }
/* Desktop: tighter bands and a video band sized so the whole hero fits one laptop screen */
@media (min-width: 700px) {
  .hero-band { padding: 1rem 1.25rem; gap: .6rem; }
  .hero-band--top { padding-bottom: .75rem; }
  .hero-band--bottom { padding-top: .9rem; }
  .hero-film {
    max-height: none;
    width: min(100%, calc((100svh - var(--header-h) - 300px) * 16 / 9));
    min-width: min(100%, 480px);
  }
}
.hero-badge {
  background: rgba(0, 212, 255, .1); border: 1px solid var(--accent-cyan); color: var(--accent-cyan);
  padding: .4rem 1.4rem; border-radius: var(--radius-pill);
  font-size: .85rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 5rem); line-height: .95; letter-spacing: 1px; text-transform: uppercase;
}
.hero-subtitle { font-size: clamp(1rem, 2.5vw, 1.2rem); color: var(--text-secondary); max-width: 620px; }

/* ---------- Encabezados de sección ---------- */
.section-header { text-align: center; padding: 0 1.25rem 2.5rem; }
.section-tag {
  color: var(--accent-cyan); font-family: var(--font-display); font-size: 1.2rem;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: .25rem; display: block;
}
.section-header h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 3.4rem); text-transform: uppercase; letter-spacing: 1px;
}
.section-header p { color: var(--text-secondary); margin-top: .5rem; }

/* ---------- Catálogo: carrusel horizontal tipo libro ---------- */
.catalog-section { padding: 4rem 0; max-width: 1100px; margin: 0 auto; }
/* Desplegables por línea (scroll vertical: aguanta un catálogo grande) */
.cat-accordions { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.cat-acc { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px; transition: border-color .3s ease; }
.cat-acc.is-open { border-color: var(--border-glow); }
.cat-acc-head { margin: 0; font: inherit; }
.cat-acc-btn {
  width: 100%; min-height: 64px; padding: .9rem 1.25rem; display: flex; align-items: center; gap: .75rem;
  background: none; border: 0; border-radius: 20px; color: var(--text-primary); font-family: inherit; text-align: left; cursor: pointer;
}
.cat-acc-name { flex: 1; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; letter-spacing: 1px; text-transform: uppercase; }
.cat-acc-count {
  white-space: nowrap; font-size: .75rem; font-weight: 700; color: var(--accent-cyan);
  background: rgba(0, 212, 255, .12); padding: .25rem .65rem; border-radius: var(--radius-pill);
}
.cat-acc-btn svg { flex: 0 0 auto; color: var(--accent-cyan); transition: transform .3s ease; }
.cat-acc.is-open .cat-acc-btn svg { transform: rotate(180deg); }
@media (hover: hover) { .cat-acc-btn:hover .cat-acc-name { color: var(--accent-cyan); } }
.cat-acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.cat-acc.is-open .cat-acc-panel { grid-template-rows: 1fr; }
.cat-acc-inner { overflow: hidden; min-height: 0; }

/* Cuadrícula: 2 productos por fila en móvil, 3 en tablet, 4 en escritorio */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding: .25rem .75rem 1rem; }
@media (min-width: 700px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: .25rem 1.25rem 1.25rem; } }
@media (min-width: 1000px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card-inner {
  background: var(--bg-main); border: 1px solid var(--border-color); border-radius: 16px; padding: .6rem;
  display: flex; flex-direction: column; text-align: left; transition: border-color .3s ease;
}
@media (hover: hover) { .card-inner:hover { border-color: var(--border-glow); } }
/* Same square photo frame for every product, so the grid stays even */
.card-img-wrapper {
  width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  background: #FFFFFF; border-radius: 12px; padding: .5rem; overflow: hidden; margin-bottom: .6rem;
  box-shadow: inset 0 0 0 1px rgba(0, 212, 255, .18);
}
.card-open { border: 0; font: inherit; cursor: pointer; }
/* Cinta con la gama de las proteínas, bajo el nombre */
.card-gama {
  align-self: flex-start; margin-bottom: .4rem; padding: .15rem .55rem; border-radius: 4px;
  font-size: .62rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #05070C;
}
.card-gama--oro { background: linear-gradient(135deg, #FCE9A4, #E2B649 55%, #A8761A); }
.card-gama--plata { background: linear-gradient(135deg, #FAFBFC, #C9CFD6 55%, #858D97); }
.card-gama--bronce { background: linear-gradient(135deg, #F6C9A0, #C9824A 55%, #82461B); }
.pd-gama { font-size: .75rem; margin: -.2rem 0 .7rem; }
.card-img { width: 100%; height: 100%; object-fit: contain; }
.card-img-placeholder {
  width: 100%; height: 100%; border-radius: 8px; border: 1px dashed rgba(0, 136, 255, .45); color: #4A5568;
  display: flex; align-items: center; justify-content: center; text-align: center; font-size: .75rem; padding: .5rem;
}
.card-brand { font-size: .7rem; color: var(--text-secondary); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: .15rem; }
.card-title {
  font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; line-height: 1.05; letter-spacing: .3px;
  text-transform: uppercase; margin-bottom: .25rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-variant { font-size: .78rem; color: var(--text-secondary); line-height: 1.35; margin-bottom: .5rem; }
.card-inner .card-price { margin-top: auto; font-size: 1.4rem; margin-bottom: .5rem; }
.card-inner .card-price--consult { font-size: .72rem; }
.card-inner .card-cart { margin-bottom: .25rem; }
.card-inner .btn-add { min-height: 44px; font-size: .78rem; }
.card-inner .qty { min-height: 44px; padding: 0 .25rem; }
.card-inner .qty-btn { width: 34px; height: 34px; }
.card-inner .qty-val small { font-size: .58rem; letter-spacing: 0; }
.card-more {
  align-self: center; min-height: 36px; padding: 0 .5rem; background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: .78rem; font-weight: 700; color: var(--accent-cyan); text-decoration: underline; text-underline-offset: 3px;
}
@media (min-width: 700px) {
  .card-inner { padding: .75rem; }
  .card-title { font-size: 1.4rem; }
}

/* Ventana de detalle del producto */
html:has(.product-dialog[open]) { overflow: hidden; }
.product-dialog {
  width: min(92vw, 820px); max-width: none; max-height: 90dvh; margin: auto; padding: 0; overflow: hidden;
  background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border-glow); border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .7);
}
.product-dialog::backdrop { background: rgba(0, 0, 0, .72); }
.pd-close {
  position: absolute; top: .75rem; right: .75rem; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: #000; color: #fff; border: 1px solid var(--border-color);
}
@media (hover: hover) { .pd-close:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); } }
.pd-body { padding: 1.25rem; max-height: 90dvh; overflow-y: auto; overscroll-behavior: contain; }
.pd-img { width: min(100%, 42dvh); margin: 0 auto 1.25rem; padding: 1rem; border-radius: 18px; }
.pd-title { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1.05; text-transform: uppercase; letter-spacing: .5px; margin-bottom: .6rem; padding-right: 2.75rem; }
.pd-desc { color: var(--text-secondary); font-size: .95rem; line-height: 1.5; margin-bottom: 1rem; }
.pd-rows { background: var(--bg-main); border: 1px solid var(--border-color); border-radius: 14px; padding: .35rem 1rem; margin-bottom: 1rem; }
.pd-rows .accordion-row:last-of-type { margin-bottom: 0; }
.pd-price { font-size: 2rem; }
@media (min-width: 700px) {
  .pd-body { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; padding: 2rem; }
  .pd-img { width: 100%; margin: 0; }
}

.accordion-row { display: flex; justify-content: space-between; gap: 1rem; font-size: .875rem; padding: .45rem 0; border-bottom: 1px dashed var(--border-color); }
.accordion-row:last-of-type { border-bottom: none; margin-bottom: 1rem; }
.accordion-label { color: var(--text-secondary); }
.accordion-val { font-weight: 600; text-align: right; }

.btn-card-wa {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 50px; padding: .8rem 1rem;
  background: var(--accent-gradient); color: #05070C; text-decoration: none;
  font-weight: 800; font-size: .9rem; text-transform: uppercase; letter-spacing: .5px;
  border-radius: var(--radius-pill); box-shadow: 0 0 18px rgba(0, 212, 255, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-card-wa:hover { transform: translateY(-2px); box-shadow: 0 0 28px rgba(0, 212, 255, .6); }

/* ---------- Secciones ---------- */
.frame-section { background: #000; padding: 4rem 1.25rem; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.frame-section--alt { background: var(--bg-main); }
.steps-grid { max-width: 950px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.step-card { background: var(--bg-card); padding: 2rem 1.5rem; border-radius: var(--radius-card); border: 1px solid var(--border-color); text-align: center; }
.step-num {
  width: 48px; height: 48px; background: var(--accent-gradient); color: #05070C; border-radius: 50%;
  font-family: var(--font-display); font-size: 1.6rem; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; box-shadow: 0 0 20px rgba(0, 212, 255, .4);
}
.step-title { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; letter-spacing: .5px; text-transform: uppercase; margin-bottom: .5rem; }
.step-desc { font-size: .925rem; color: var(--text-secondary); }

.info-cards-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 950px; margin: 0 auto; }
.info-box { background: var(--bg-card); border-radius: var(--radius-card); border: 1px solid var(--border-color); padding: 2rem; }
.info-box-title { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; letter-spacing: .5px; text-transform: uppercase; margin-bottom: .75rem; }
.info-box p { color: var(--text-secondary); font-size: .95rem; }

@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .info-cards-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Preguntas frecuentes ---------- */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { border: 1px solid var(--border-color); border-radius: 18px; overflow: hidden; background: var(--bg-card); }
.faq-question {
  width: 100%; min-height: 56px; padding: 1.2rem 1.35rem; text-align: left; background: none; border: none;
  font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .5px; text-transform: uppercase;
  color: var(--text-primary); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-question svg { flex-shrink: 0; transition: transform .3s ease; }
.faq-question[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner { padding: 0 1.35rem 1.35rem; display: flex; flex-direction: column; gap: .6rem; }
.faq-answer p { font-size: .95rem; color: var(--text-secondary); line-height: 1.6; }
.faq-answer strong { color: var(--text-primary); }
.faq-answer a { color: var(--accent-cyan); }

/* ---------- Pie ---------- */
.footer { background: #020305; color: var(--text-secondary); padding: 4rem 1.25rem 2rem; text-align: center; border-top: 1px solid var(--border-color); overflow: hidden; }
.footer-big-brand {
  font-family: var(--font-display); font-size: clamp(3.5rem, 15vw, 9.5rem); line-height: .85; text-transform: uppercase;
  background: linear-gradient(180deg, rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, .02) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  user-select: none; margin-bottom: 2.5rem; letter-spacing: 2px;
}
.footer-contact { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: .5rem; align-items: center; font-size: .95rem; }
.footer-contact a { color: var(--accent-cyan); text-decoration: none; font-weight: 600; }
.footer-socials { display: flex; justify-content: center; gap: 1.25rem; margin-bottom: 2rem; }
.footer-social-link {
  color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid var(--border-color);
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.footer-social-link:hover { background: var(--accent-cyan); color: #05070C; border-color: var(--accent-cyan); }
.footer-disclaimer {
  max-width: 650px; margin: 0 auto 1.5rem; padding: 1rem 1.25rem; background: rgba(255, 255, 255, .02);
  border-radius: 12px; font-size: .85rem; border: 1px solid rgba(255, 255, 255, .05);
}
.footer-legal { font-size: .85rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: center; }
.footer-legal a { color: var(--text-secondary); }

/* ---------- Página de privacidad ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 3rem 1.25rem 4rem; }
.legal h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 7vw, 3.2rem); text-transform: uppercase; letter-spacing: 1px; margin-bottom: .5rem; }
.legal h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; letter-spacing: .5px; text-transform: uppercase; margin: 2rem 0 .5rem; color: var(--accent-cyan); }
.legal p, .legal li { color: var(--text-secondary); margin-bottom: .75rem; }
.legal ul { padding-left: 1.25rem; }
.legal a { color: var(--accent-cyan); }
.legal-updated { font-size: .85rem; color: var(--text-muted); }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Ajustes de tamaño ---------- */
section[id] { scroll-margin-top: var(--header-h); }
@media (max-width: 420px) {
  .header { padding: 0 .9rem; }
  .logo-icon { height: 36px; }
  .logo-text { font-size: 1rem; }
  .header .btn-pill { padding: .5rem .9rem; font-size: .8rem; gap: 6px; }
  .header .btn-arrow-circle { width: 20px; height: 20px; }
}
@media (max-width: 340px) {
  .header .btn-pill .btn-arrow-circle { display: none; }
}


/* ---------- Microinteracción WhatsApp: el contenido sale y aparece "¡Listo!" ---------- */
.btn-wa-send { position: relative; overflow: hidden; }
.wa-content, .wa-sent {
  display: inline-flex; align-items: center; justify-content: center; gap: inherit;
  transition: transform .45s cubic-bezier(.65, 0, .35, 1), opacity .3s ease;
}
.wa-sent {
  position: absolute; inset: 0; white-space: nowrap;
  transform: translateX(-110%); opacity: 0; pointer-events: none;
}
.wa-check {
  width: 24px; height: 24px; border-radius: 50%; background: #05070C; color: var(--accent-cyan);
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.wa-check path { stroke-dasharray: 24; stroke-dashoffset: 24; }
.btn-wa-send.is-sent .wa-content { transform: translateX(120%); opacity: 0; }
.btn-wa-send.is-sent .wa-sent { transform: translateX(0); opacity: 1; }
.btn-wa-send.is-sent .wa-check { animation: waPop .35s .3s cubic-bezier(.34, 1.56, .64, 1) both; }
.btn-wa-send.is-sent .wa-check path { animation: waDraw .35s .45s ease-out forwards; }
@keyframes waPop { from { transform: scale(.4); } to { transform: scale(1); } }
@keyframes waDraw { to { stroke-dashoffset: 0; } }

/* ---------- Cómo comprar: flujo compacto de 3 pasos (cabe en una pantalla de móvil) ---------- */
.flow {
  list-style: none; max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; position: relative;
}
/* Connector line behind the icons */
.flow::before {
  content: ""; position: absolute; top: 26px; left: 16%; right: 16%; height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue)); opacity: .5;
}
.flow-step {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px;
  padding: 2.4rem .6rem .9rem; margin-top: 26px;
}
.flow-icon {
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--accent-gradient); color: #05070C; box-shadow: 0 0 18px rgba(0, 212, 255, .45);
}
.flow-title { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; letter-spacing: .5px; text-transform: uppercase; }
.flow-desc { font-size: .8rem; color: var(--text-secondary); line-height: 1.35; margin-top: .25rem; }
.flow-facts {
  list-style: none; max-width: 900px; margin: 1.25rem auto 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
}
.flow-facts li {
  font-size: .8rem; color: var(--text-secondary); background: rgba(0, 212, 255, .06);
  border: 1px solid rgba(0, 212, 255, .2); border-radius: var(--radius-pill); padding: .4rem .85rem;
}
.flow-facts strong { color: var(--accent-cyan); }
@media (min-width: 700px) {
  .flow { gap: 1.25rem; }
  .flow-step { padding: 2.6rem 1.25rem 1.25rem; }
  .flow-title { font-size: 1.6rem; }
  .flow-desc { font-size: .925rem; }
  .flow-facts li { font-size: .875rem; }
}

/* ---------- Yossin: rostro de la marca + biografía ---------- */
.founder { background: #000; border-top: 1px solid var(--border-color); }
.founder-hero { position: relative; overflow: hidden; }
.founder-img { display: block; width: 100%; height: 300px; object-fit: cover; object-position: 50% 30%; }
.founder-hero::after { /* fade into the text area */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 88%); pointer-events: none;
}
.founder-text {
  position: absolute; left: 0; right: 0; bottom: 1rem; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .2rem; text-align: center; padding: 0 1rem;
}
.founder-title { font-family: var(--font-display); font-weight: 400; font-size: 2.1rem; letter-spacing: 1px; text-transform: uppercase; line-height: 1; }
.founder-sub { color: var(--text-secondary); font-size: .85rem; }
.founder-bio { max-width: 900px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; text-align: center; }
.founder-intro { color: var(--text-secondary); font-size: 1rem; line-height: 1.6; max-width: 640px; margin: 0 auto 1.25rem; }
.founder-stats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-bottom: 1.25rem; }
.founder-stats li {
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: .9rem .5rem;
  display: flex; flex-direction: column; align-items: center; gap: .15rem;
}
.founder-stats strong { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--accent-cyan); }
.founder-stats span { font-size: .72rem; color: var(--text-secondary); line-height: 1.3; }
.founder-creds { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.25rem; }
.founder-creds li {
  font-size: .8rem; color: var(--text-primary); border: 1px solid rgba(0, 212, 255, .3);
  background: rgba(0, 212, 255, .06); border-radius: var(--radius-pill); padding: .4rem .85rem;
}
.founder-ig { color: var(--text-secondary); font-size: .9rem; text-decoration: none; }
.founder-ig strong { color: var(--accent-cyan); }
@media (min-width: 700px) {
  .founder-img { height: auto; aspect-ratio: 1824 / 862; max-height: 80vh; }
  .founder-hero::after { height: 38%; }
  .founder-text { bottom: 1.75rem; }
  .founder-title { font-size: 3rem; }
  .founder-sub { font-size: 1rem; }
  .founder-stats { gap: 1rem; }
  .founder-stats strong { font-size: 2.6rem; }
  .founder-stats span { font-size: .85rem; }
}

/* ---------- Asesoría personalizada + cuestionario ---------- */
.coaching-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.coaching-info, .coaching-form {
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-card); padding: 1.5rem 1.25rem;
}
.coaching-subtitle { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; letter-spacing: .5px; text-transform: uppercase; color: var(--accent-cyan); margin-bottom: .6rem; }
.coaching-list { list-style: none; display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1.5rem; }
.coaching-list li { position: relative; padding-left: 1.6rem; font-size: .92rem; color: var(--text-secondary); line-height: 1.5; }
.coaching-list li::before {
  content: ""; position: absolute; left: 0; top: .3rem; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--accent-gradient);
  -webkit-mask: radial-gradient(circle, #000 35%, transparent 38%); mask: radial-gradient(circle, #000 35%, transparent 38%);
  box-shadow: 0 0 10px rgba(0, 212, 255, .5);
}
.plans { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.plan {
  border: 1px solid var(--border-color); border-radius: 16px; padding: .9rem .4rem; background: #05070C;
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
}
.plan--featured { border-color: var(--accent-cyan); box-shadow: 0 0 22px rgba(0, 212, 255, .25); }
.plan-time { font-size: .75rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .5px; }
.plan-price { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--text-primary); }
.coaching-note { font-size: .8rem; color: var(--text-muted); margin-top: .75rem; text-align: center; }
.coaching-form { display: flex; flex-direction: column; gap: .85rem; }
.coaching-form-intro { font-size: .9rem; color: var(--text-secondary); margin-top: -.25rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.form-grid .field:nth-child(1), .form-grid .field:nth-child(2) { grid-column: 1 / -1; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--text-secondary); line-height: 1.45; cursor: pointer; }
.check input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: .1rem; accent-color: var(--accent-blue); }
.check em { display: block; font-style: normal; font-size: .78rem; color: var(--text-muted); }
.check a { color: var(--accent-cyan); }
.check input[aria-invalid="true"] { outline: 2px solid #FF6B6B; outline-offset: 2px; }
@media (min-width: 900px) {
  .coaching-grid { grid-template-columns: 5fr 6fr; align-items: start; }
  .coaching-info, .coaching-form { padding: 2rem; }
  .form-grid .field:nth-child(1), .form-grid .field:nth-child(2) { grid-column: auto; }
}

/* ---------- Hero: acento del titular y dos botones ---------- */
.hero-title-accent { background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .75rem; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.6rem;
  border-radius: var(--radius-pill); border: 1px solid var(--accent-cyan); color: var(--accent-cyan);
  font-weight: 800; font-size: .95rem; text-transform: uppercase; letter-spacing: .5px; text-decoration: none;
  transition: background-color .3s ease, color .3s ease;
}
@media (hover: hover) { .btn-ghost:hover { background: var(--accent-cyan); color: #05070C; } }
.btn-ghost:active { background: var(--accent-cyan); color: #05070C; }

/* ---------- Precios en tarjetas y total del carrito ---------- */
.card-price { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; color: var(--accent-cyan); margin-bottom: .75rem; letter-spacing: .5px; }
.card-price--consult { font-family: var(--font-body); font-size: .85rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .5px; padding-top: .4rem; }
.cart-item-sub { font-size: .8rem; font-weight: 700; color: var(--accent-cyan); grid-column: 1; }
.cart-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  margin-top: 1rem; padding: .9rem 1rem; border-radius: 14px; border: 1px solid var(--accent-cyan); background: rgba(0, 212, 255, .06);
}
.cart-total[hidden] { display: none; }
.cart-total-label { font-weight: 700; font-size: .9rem; }
.cart-total-value { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--accent-cyan); }
.cart-total-note { font-size: .75rem; color: var(--text-muted); margin-top: .35rem; }

/* ---------- Tarjeta: agregar al carrito ---------- */
.card-cart { width: 100%; margin-bottom: .75rem; }
.btn-add {
  width: 100%; min-height: 48px; border: none; cursor: pointer; border-radius: var(--radius-pill);
  background: var(--accent-gradient); color: #05070C; font-family: inherit; font-weight: 800; font-size: .875rem;
  text-transform: uppercase; letter-spacing: .5px; display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 0 18px rgba(0, 212, 255, .3); transition: transform .2s ease, box-shadow .2s ease;
}
@media (hover: hover) { .btn-add:hover { transform: translateY(-2px); box-shadow: 0 0 28px rgba(0, 212, 255, .55); } }
.qty {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; min-height: 48px;
  border: 1px solid var(--accent-cyan); border-radius: var(--radius-pill); padding: 0 .35rem; background: rgba(0, 212, 255, .06);
  animation: addPop .4s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes addPop { 0% { transform: scale(.92); } 100% { transform: scale(1); } }
.qty-btn {
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer; flex: 0 0 auto;
  background: var(--accent-blue); color: #05070C; font-family: inherit; font-size: 1.3rem; font-weight: 800; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background-color .3s ease, color .3s ease;
}
@media (hover: hover) { .qty-btn:hover { background: #000; color: #fff; box-shadow: inset 0 0 0 1px var(--accent-blue); } }
.qty-btn:active { background: #000; color: #fff; }
.qty-val { font-weight: 800; font-size: .95rem; text-align: center; flex: 1; }
.qty-val small { display: block; font-size: .7rem; font-weight: 600; color: var(--accent-cyan); text-transform: uppercase; letter-spacing: .5px; }

/* ---------- Carrito flotante y panel ---------- */
.cart-fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  display: flex; align-items: center; gap: .5rem; min-height: 52px; padding: 0 1.1rem 0 1rem;
  border: none; border-radius: var(--radius-pill); cursor: pointer; font-family: inherit;
  background: var(--accent-gradient); color: #05070C; font-weight: 800; font-size: .9rem;
  box-shadow: 0 8px 28px rgba(0, 136, 255, .45);
}
.cart-fab[hidden] { display: none; }
.cart-fab.is-bump { animation: fabBump .5s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes fabBump { 0% { transform: scale(1); } 35% { transform: scale(1.15) rotate(-4deg); } 100% { transform: scale(1); } }
.cart-fab-count {
  min-width: 26px; height: 26px; border-radius: 13px; padding: 0 6px; background: #05070C; color: var(--accent-cyan);
  display: inline-flex; align-items: center; justify-content: center; font-size: .85rem;
}
.cart-backdrop { position: fixed; inset: 0; z-index: 1100; background: rgba(0, 0, 0, .6); }
.cart-backdrop[hidden] { display: none; }
.cart-panel {
  position: fixed; z-index: 1200; left: 0; right: 0; bottom: 0; max-height: 92vh; max-height: 92svh;
  display: flex; flex-direction: column; background: var(--bg-card); color: var(--text-primary);
  border-top: 1px solid var(--accent-cyan); border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .6);
  animation: sheetUp .3s ease-out;
}
.cart-panel[hidden] { display: none; }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes panelIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 700px) {
  .cart-panel {
    left: auto; top: 0; width: 420px; max-height: none; border-radius: 0;
    border-top: none; border-left: 1px solid var(--accent-cyan); animation-name: panelIn;
  }
}
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-color); }
.cart-title { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; letter-spacing: 1px; text-transform: uppercase; }
.cart-close {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-color); background: transparent;
  color: var(--text-primary); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.cart-body { overflow-y: auto; padding: 1rem 1.25rem 1.5rem; overscroll-behavior: contain; }
.cart-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.cart-item {
  display: grid; grid-template-columns: 1fr auto; gap: .2rem .75rem; align-items: center;
  padding: .75rem; border: 1px solid var(--border-color); border-radius: 14px; background: #05070C;
}
.cart-item-name { font-weight: 700; font-size: .9rem; line-height: 1.3; }
.cart-item-meta { font-size: .78rem; color: var(--text-secondary); grid-column: 1; }
.cart-item .qty { grid-column: 2; grid-row: 1 / 3; width: 132px; min-height: 44px; animation: none; }
.cart-item .qty-btn { width: 34px; height: 34px; font-size: 1.1rem; }
.cart-empty { color: var(--text-secondary); font-size: .9rem; text-align: center; padding: 1.5rem 0; }
.cart-empty[hidden] { display: none; }
.cart-form { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.cart-form[hidden] { display: none; }
.cart-form-title { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: .5px; text-transform: uppercase; color: var(--accent-cyan); }
.field { display: flex; flex-direction: column; gap: .3rem; font-size: .8rem; color: var(--text-secondary); font-weight: 600; }
.field[hidden] { display: none; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; font-weight: 400; color: var(--text-primary); background: #05070C;
  border: 1px solid var(--border-color); border-radius: 12px; padding: .7rem .85rem; min-height: 46px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent-cyan); outline-offset: 1px; border-color: transparent; }
.field [aria-invalid="true"] { border-color: #FF6B6B; }
.cart-error { color: #FF8A8A; font-size: .85rem; }
.cart-error[hidden] { display: none; }
.btn-order { border: none; cursor: pointer; font-family: inherit; margin-top: .25rem; }
.cart-note { font-size: .78rem; color: var(--text-muted); text-align: center; }
body.cart-open { overflow: hidden; }

/* ---------- Cursor mancuerna (solo ratón) ---------- */
@media (hover: hover) and (pointer: fine) {
  html { cursor: url("../img/cursor-mancuerna.svg") 16 16, auto; }
  a, button, select, label, summary, [role="button"] { cursor: url("../img/cursor-mancuerna-hover.svg") 16 16, pointer; }
  input, textarea { cursor: text; }
  html.is-lifting, html.is-lifting a, html.is-lifting button { cursor: url("../img/cursor-mancuerna-press.svg") 16 16, pointer; }
}

/* ---------- Hero en escritorio ancho: texto a la izquierda, video completo (sin recorte) a la derecha ---------- */
@media (min-width: 1000px) {
  .hero {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto auto;
    align-content: center; column-gap: clamp(2rem, 4vw, 4rem); padding: 2rem clamp(1.5rem, 5vw, 5rem); text-align: left;
  }
  .hero-band { align-items: flex-start; padding: 0; }
  .hero-band--top { grid-column: 1; grid-row: 1; align-self: end; }
  .hero-band--bottom { grid-column: 1; grid-row: 2; align-self: start; padding-top: 1.25rem; }
  .hero-film { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 100%; min-width: 0; max-width: none; border-radius: 18px; }
  .hero-title { font-size: clamp(3rem, 4.6vw, 4.8rem); }
  .hero-ctas { justify-content: flex-start; }
}

/* ---------- Hero: tarjeta de credibilidad (quién está detrás de la marca) ---------- */
.hero-coach {
  display: inline-flex; align-items: center; gap: .7rem; max-width: 100%;
  padding: .4rem 1rem .4rem .4rem; border-radius: var(--radius-pill);
  background: rgba(0, 212, 255, .08); border: 1px solid rgba(0, 212, 255, .45);
  color: var(--text-primary); text-decoration: none; text-align: left;
  transition: background-color .3s ease, border-color .3s ease;
}
@media (hover: hover) { .hero-coach:hover { background: rgba(0, 212, 255, .16); border-color: var(--accent-cyan); } }
.hero-coach-avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  border: 2px solid var(--accent-cyan); box-shadow: 0 0 14px rgba(0, 212, 255, .45);
}
.hero-coach-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.hero-coach-text strong { font-size: .95rem; font-weight: 800; }
.hero-coach-text span { font-size: .72rem; color: var(--accent-cyan); font-weight: 600; }
@media (min-width: 700px) {
  .hero-coach-avatar { width: 56px; height: 56px; }
  .hero-coach-text strong { font-size: 1.05rem; }
  .hero-coach-text span { font-size: .8rem; }
}

/* ---------- Asesoría: video pequeño bajo "Qué incluye" ---------- */
.coaching-side { display: flex; flex-direction: column; gap: 1.25rem; }
.coaching-film {
  position: relative; border-radius: var(--radius-card); overflow: hidden; background: #000;
  aspect-ratio: 864 / 496; border: 1px solid var(--border-color);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, .15), 0 18px 40px rgba(0, 0, 0, .5);
}
.coaching-film::before, .coaching-film::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; z-index: 2;
  background: var(--accent-gradient); box-shadow: 0 0 12px rgba(0, 212, 255, .55);
}
.coaching-film::before { top: 0; }
.coaching-film::after { bottom: 0; }
.coaching-video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .coaching-film { max-width: 92%; align-self: center; } }
