/* 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: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 1rem; z-index: 1000; gap: .5rem;
}
.header .logo-container { justify-self: center; }
.hdr-actions { justify-self: end; display: flex; align-items: center; gap: .25rem; }
.hdr-icon {
  position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid transparent;
  background: transparent; color: var(--text-primary); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: color .2s ease, border-color .2s ease;
}
@media (hover: hover) { .hdr-icon:hover { color: var(--accent-cyan); border-color: var(--border-glow); } }
.hdr-cart-count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  background: var(--accent-gradient); color: #05070C; font-size: .68rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.hdr-cart-count[hidden] { display: none; }

/* ---------- Menú lateral (entra desde la izquierda) ---------- */
.menu-backdrop { position: fixed; inset: 0; z-index: 1100; background: rgba(0, 0, 0, .6); }
.menu-backdrop[hidden], .side-menu[hidden] { display: none; }
body.menu-open { overflow: hidden; }
.side-menu {
  position: fixed; z-index: 1200; top: 0; left: 0; bottom: 0; width: min(86vw, 360px);
  display: flex; flex-direction: column; background: var(--bg-card); color: var(--text-primary);
  border-right: 1px solid var(--accent-cyan); box-shadow: 10px 0 40px rgba(0, 0, 0, .6);
  animation: menuIn .28s ease-out;
}
@keyframes menuIn { from { transform: translateX(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
.side-head { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.25rem; border-bottom: 1px solid var(--border-color); }
.side-title { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: 1px; text-transform: uppercase; }
.side-body { overflow-y: auto; overscroll-behavior: contain; padding: 1rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.side-list { list-style: none; display: flex; flex-direction: column; }
.side-link {
  width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  background: none; border: 0; border-bottom: 1px solid var(--border-color); color: var(--text-primary); cursor: pointer;
  font-family: var(--font-display); font-size: 1.45rem; letter-spacing: .8px; text-transform: uppercase; text-decoration: none; text-align: left;
}
.side-toggle::after {
  content: ""; width: 9px; height: 9px; border-right: 2px solid var(--accent-cyan); border-bottom: 2px solid var(--accent-cyan);
  transform: rotate(45deg) translateY(-3px); transition: transform .25s ease;
}
.side-toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }
@media (hover: hover) { .side-link:hover { color: var(--accent-cyan); } }
.side-sub { list-style: none; padding: .35rem 0 .6rem .5rem; border-bottom: 1px solid var(--border-color); }
.side-sub[hidden] { display: none; }
.side-sublink {
  width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  background: none; border: 0; color: var(--text-secondary); cursor: pointer; font-family: inherit; font-size: .95rem; text-align: left;
}
.side-sublink small {
  font-size: .72rem; font-weight: 700; color: var(--accent-cyan); background: rgba(0, 212, 255, .12);
  padding: .15rem .55rem; border-radius: var(--radius-pill);
}
@media (hover: hover) { .side-sublink:hover { color: var(--text-primary); } }
.side-wa { justify-content: center; margin-top: .25rem; }
.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; }

/* ---------- 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; }
/* Barra del catálogo: buscador, líneas (fila deslizable en celular) y ordenar */
/* Sticky only from tablet up: on phones it would cover a third of the screen (the header search icon brings it back) */
.cat-toolbar {
  position: relative; z-index: 20; margin: 0 auto .75rem; padding: .75rem 1.25rem .5rem;
  background: rgba(5, 7, 12, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color); display: flex; flex-direction: column; gap: .6rem;
}
.cat-search {
  display: flex; align-items: center; gap: .6rem; min-height: 48px; padding: 0 1rem;
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-pill); color: var(--text-secondary);
}
.cat-search:focus-within { border-color: var(--accent-cyan); }
.cat-search svg { flex: 0 0 auto; }
.cat-search input {
  flex: 1; min-width: 0; height: 46px; background: transparent; border: 0; outline: none;
  color: var(--text-primary); font-family: inherit; font-size: 1rem;
}
.cat-search input::placeholder { color: var(--text-muted); }
.cat-chips {
  display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth;
  margin: 0 -1.25rem; padding: .1rem 1.25rem;
}
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: 0 0 auto; min-height: 40px; padding: 0 1rem; border-radius: var(--radius-pill); cursor: pointer;
  background: transparent; border: 1px solid var(--border-color); color: var(--text-secondary);
  font-family: inherit; font-size: .85rem; font-weight: 700; white-space: nowrap; transition: all .2s ease;
}
@media (hover: hover) { .cat-chip:hover { border-color: var(--accent-cyan); color: var(--text-primary); } }
.cat-chip[aria-pressed="true"] { background: var(--accent-gradient); border-color: transparent; color: #05070C; }
.cat-meta { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.cat-count { font-size: .8rem; color: var(--text-muted); margin-right: auto; }
.cat-brand-pill {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 32px; padding: 0 .75rem; border-radius: var(--radius-pill);
  background: rgba(0, 212, 255, .12); border: 1px solid var(--border-glow); color: var(--accent-cyan);
  font-family: inherit; font-size: .78rem; font-weight: 700; cursor: pointer;
}
.cat-brand-pill[hidden] { display: none; }
.cat-brand-x { font-size: 1.1rem; line-height: 1; }
.cat-sort { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--text-muted); }
.cat-sort select {
  min-height: 36px; padding: 0 .6rem; border-radius: 10px; background: var(--bg-card); color: var(--text-primary);
  border: 1px solid var(--border-color); font-family: inherit; font-size: .82rem;
}
.cat-empty { text-align: center; padding: 2rem 1.25rem; color: var(--text-secondary); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.cat-empty[hidden] { display: none; }
@media (min-width: 700px) {
  .cat-toolbar { position: sticky; top: var(--header-h); flex-direction: row; flex-wrap: wrap; align-items: center; }
  .cat-search-form { flex: 1 1 320px; }
  .cat-meta { flex: 0 0 auto; }
  .cat-chips { order: 3; flex: 1 1 100%; margin: 0; padding: .1rem 0; flex-wrap: wrap; overflow: visible; }
}

/* 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; max-width: 1100px; margin: 0 auto; }
@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; }
.pd-specs { background: var(--bg-main); border: 1px solid var(--border-color); border-radius: 14px; margin-bottom: 1rem; }
.pd-specs summary {
  min-height: 44px; padding: 0 1rem; display: flex; align-items: center; cursor: pointer; list-style: none;
  font-weight: 700; font-size: .9rem; color: var(--accent-cyan);
}
.pd-specs summary::-webkit-details-marker { display: none; }
.pd-specs summary::after { content: "+"; margin-left: auto; font-size: 1.2rem; }
.pd-specs[open] summary::after { content: "−"; }
.pd-specs-list { list-style: none; padding: 0 1rem .75rem; font-size: .85rem; color: var(--text-secondary); }
.pd-specs-list li { padding: .3rem 0; border-top: 1px dashed var(--border-color); }
.pd-specs-list strong { color: var(--text-primary); font-weight: 600; }
.pd-specs-list .pd-specs-sub { color: var(--text-primary); font-weight: 700; padding-top: .55rem; }
@media (min-width: 700px) {
  .pd-body { display: grid; grid-template-columns: 1fr 1fr; align-items: start; 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); }
#catalogo { scroll-margin-top: calc(var(--header-h) - 1px); }
@media (max-width: 420px) {
  .header { padding: 0 .9rem; }
  .logo-icon { height: 36px; }
  .logo-text { font-size: 1rem; }
  .hdr-icon { width: 40px; height: 40px; }
  .hdr-actions { gap: 0; }
}
@media (max-width: 340px) {
  .logo-text { 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; }
}

/* ---------- Botones: fila de llamados a la acción ---------- */
.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; }
}

/* ---------- 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; } }


/* ---------- Inicio: carrusel de líneas en círculos ---------- */
.lineas { padding: 1.5rem 0 3rem; }
.lineas-carrusel { position: relative; max-width: 1200px; margin: 0 auto; }
.lineas-track {
  list-style: none; display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 1rem 1.25rem 1.25rem; scroll-padding: 0 1.25rem;
}
.lineas-track::-webkit-scrollbar { display: none; }
/* Mouse: click and drag the row like on a phone */
@media (hover: hover) and (pointer: fine) { .lineas-track { cursor: grab; } }
.lineas-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.lineas-track.is-dragging .linea-link { pointer-events: none; }
.linea-link img { -webkit-user-drag: none; user-select: none; }
.linea-item { flex: 0 0 auto; width: clamp(128px, 36vw, 190px); scroll-snap-align: start; }
.linea-link { display: flex; flex-direction: column; align-items: center; gap: .55rem; text-decoration: none; text-align: center; }
.linea-circulo {
  position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; margin-top: 12%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(0, 212, 255, .25);
  transition: transform .3s ease, box-shadow .3s ease;
}
.linea-tono--0 .linea-circulo { background: radial-gradient(circle at 35% 30%, #1AA8FF 0%, #0B3A73 70%); }
.linea-tono--1 .linea-circulo { background: radial-gradient(circle at 35% 30%, #00D4FF 0%, #00618F 72%); }
.linea-tono--2 .linea-circulo { background: radial-gradient(circle at 35% 30%, #2B3A55 0%, #0E1420 72%); }
/* the product rises above the top edge of the circle */
.linea-circulo img {
  position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%);
  width: 84%; height: 108%; object-fit: contain; object-position: center bottom;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .45)); transition: translate .3s ease, scale .3s ease;
}
.linea-circulo--chico img { width: 64%; height: 82%; }
.linea-nombre { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .8px; text-transform: uppercase; color: var(--text-primary); line-height: 1.05; }
.linea-cuenta { font-size: .75rem; color: var(--accent-cyan); font-weight: 700; margin-top: -.35rem; }
@media (hover: hover) {
  .linea-link:hover .linea-circulo { box-shadow: 0 14px 36px rgba(0, 136, 255, .45), inset 0 0 0 2px var(--accent-cyan); }
  .linea-link:hover img { translate: 0 -6px; scale: 1.04; }
}
.lineas-flecha {
  display: none; position: absolute; top: 38%; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(5, 7, 12, .85); color: var(--text-primary); border: 1px solid var(--border-glow); cursor: pointer;
  align-items: center; justify-content: center;
}
.lineas-flecha:disabled { opacity: .3; cursor: default; }
.lineas-flecha--prev { left: .25rem; }
.lineas-flecha--next { right: .25rem; }
@media (min-width: 700px) {
  .lineas-flecha { display: flex; }
  .lineas-track { padding: 1rem 3.5rem 1.25rem; scroll-padding: 0 3.5rem; gap: 1.75rem; }
}
.lineas-cta { justify-content: center; margin-top: 1rem; padding: 0 1.25rem; }

/* ---------- Páginas internas ---------- */
.catalog-section--page { padding-top: 2rem; }
.page-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 7vw, 3.6rem); text-transform: uppercase; letter-spacing: 1px; }


/* =====================================================================
   Cambios del cliente 2026-11-15
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Elige el suplemento adecuado para alcanzar tus objetivos ---------- */
.objetivos { padding: 1rem 0 3rem; }
.objetivos .section-header { padding-bottom: 1.5rem; }
.obj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; max-width: 1100px; margin: 0 auto; padding: 0 .75rem; }
@media (min-width: 900px) { .obj-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.obj-btn {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: .25rem;
  min-height: 235px; padding: 1rem .9rem; border-radius: 20px; border: 1px solid var(--border-color); cursor: pointer;
  text-align: left; color: #fff; font-family: inherit;
  background: radial-gradient(120% 90% at 85% 10%, #0b3a66 0%, var(--bg-card) 55%, var(--bg-main) 100%);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.obj-btn--1 { background: radial-gradient(120% 90% at 85% 10%, #0a4a5c 0%, var(--bg-card) 55%, var(--bg-main) 100%); }
.obj-btn--2 { background: radial-gradient(120% 90% at 85% 10%, #1a2f78 0%, var(--bg-card) 55%, var(--bg-main) 100%); }
.obj-btn--3 { background: radial-gradient(120% 90% at 85% 10%, #0b5a52 0%, var(--bg-card) 55%, var(--bg-main) 100%); }
.obj-btn::after { /* dark fade so the text reads over the products */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(5, 7, 12, .92) 0%, rgba(5, 7, 12, .55) 45%, rgba(5, 7, 12, 0) 75%);
}
@media (hover: hover) { .obj-btn:hover { transform: translateY(-3px); border-color: var(--accent-cyan); box-shadow: 0 10px 30px rgba(0, 136, 255, .3); } }
.obj-btn[aria-pressed="true"] { border-color: var(--accent-cyan); box-shadow: 0 0 0 2px var(--accent-cyan), 0 10px 30px rgba(0, 136, 255, .35); }
.obj-fotos { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.obj-foto { position: absolute; bottom: 38%; height: 52%; width: auto; max-width: 48%; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .55)); }
.obj-foto--0 { right: 30%; height: 58%; }
.obj-foto--1 { right: 6%; height: 44%; bottom: 40%; }
.obj-foto--2 { right: 52%; height: 38%; bottom: 40%; }
.obj-fotos .obj-foto:only-child { right: 14%; height: 56%; }
.obj-foto-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.obj-foto-bg--masa-magra { object-position: 55% 25%; }
.obj-foto-bg--definir { object-position: 50% 40%; }
.obj-foto-bg--fuerza { object-position: 62% 35%; }
.obj-foto-bg--bienestar { object-position: 55% 30%; }
.obj-nombre { font-family: var(--font-display); font-size: clamp(1.5rem, 5vw, 1.9rem); line-height: 1; letter-spacing: .5px; text-transform: uppercase; }
.obj-lineas { font-size: .74rem; color: var(--text-secondary); line-height: 1.3; }
.obj-resultados { max-width: 1100px; margin: 2rem auto 0; scroll-margin-top: calc(var(--header-h) + .75rem); outline: none; }
.obj-resultados[hidden] { display: none; }
.obj-res-titulo { font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.4rem); text-align: center; text-transform: uppercase; padding: 0 1rem 1rem; }
.obj-linea { margin-bottom: 1.75rem; }
.obj-linea-nombre { font-size: 1.05rem; font-weight: 800; color: var(--accent-cyan); padding: 0 1rem .5rem; text-transform: uppercase; letter-spacing: .5px; }
.obj-cat-grid { padding-bottom: .5rem; }
.obj-ver { display: flex; width: fit-content; margin: .5rem auto 0; }
@media (min-width: 700px) { .obj-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .obj-cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Phones and tablets: the 4 objectives slide sideways like the line carousel, the next one peeking
   at the edge so it is clear there are more (Isa, 2026-11-15). Desktop keeps the 4 side by side. */
@media (max-width: 899px) {
  .obj-grid {
    display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    overscroll-behavior-x: contain; padding: .25rem 1rem 1rem; scroll-padding: 0 1rem;
  }
  .obj-grid::-webkit-scrollbar { display: none; }
  .obj-btn { flex: 0 0 min(72%, 300px); scroll-snap-align: start; }
}
/* Phones: the products of each line slide sideways too (one row per line) instead of a long list */
@media (max-width: 699px) {
  .obj-cat-grid {
    display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    overscroll-behavior-x: contain; padding: .25rem 1rem 1rem; scroll-padding: 0 1rem;
  }
  .obj-cat-grid::-webkit-scrollbar { display: none; }
  .obj-cat-grid > .card-inner { flex: 0 0 46%; scroll-snap-align: start; }
}

/* ---------- Botón flotante de WhatsApp (queda arriba del carrito) ---------- */
.wa-fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: #25D366; color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45); text-decoration: none; transition: transform .2s;
}
/* with items in the cart the cart button takes the corner and WhatsApp goes above it */
.cart-fab:not([hidden]) ~ .wa-fab { bottom: 5rem; }
@media (hover: hover) { .wa-fab:hover { transform: scale(1.08); } }
.wa-fab:focus-visible { outline-color: #fff; }
/* Pill with the original WhatsApp logo + "¿Necesitas ayuda?" (client, 2026-11-20) */
.wa-fab { width: auto; height: 56px; padding: 0 1.15rem 0 .8rem; gap: .5rem; border-radius: 9999px; }
.wa-fab-texto { font-weight: 800; font-size: .95rem; line-height: 1; white-space: nowrap; }

/* ---------- Pedido: dirección en 4 campos ---------- */
.field-group { display: grid; gap: .75rem; border: 0; margin: 0; padding: 0; }
.field-group[hidden] { display: none; }
@media (min-width: 560px) { .field-group { grid-template-columns: 1fr 1fr; } .field-group .field:nth-child(n+3) { grid-column: 1 / -1; } }


/* =====================================================================
   Portada fija (cliente, 2026-11-20): imagen + Yossin + texto de asesoría
   ===================================================================== */
.portada { background: #000; }
.portada-media { width: 100%; }
.portada-img { display: block; line-height: 0; }
.portada-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
/* Phones: the info goes under the image, centered */
.portada-info { display: flex; flex-direction: column; align-items: center; gap: .85rem; padding: .9rem 1.25rem 1.25rem; text-align: center; }
.portada-texto { margin: 0; max-width: 60ch; font-size: .95rem; line-height: 1.5; color: var(--text-secondary, #C7CEDB); }
.portada-coach { text-align: left; }
.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; 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; }
/* Desktop: the 16:9 image keeps its shape and is capped to the window height so "Ver promociones" is never cut off */
@media (min-width: 900px) {
  .portada-img { max-width: calc((100svh - var(--header-h) - 1rem) * 16 / 9); margin: 0 auto; }
  .portada-info { padding: 1.25rem 1.5rem 1.75rem; }
  .portada-texto { max-width: 70ch; font-size: 1.02rem; }
  .hero-coach-avatar { width: 56px; height: 56px; }
  .hero-coach-text strong { font-size: 1.1rem; }
  .hero-coach-text span { font-size: .85rem; }
}
