/* ============================================================
   GetGenLife — Landing (clean / editorial)
   ============================================================ */

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.03em; color: var(--ink); }
.brand .glyph { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14.5px; color: var(--ink-2); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--accent-ink); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
@media (max-width: 900px) { .nav-links { display: none; } .nav-cta .btn-ghost { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; }
.hero-copy { max-width: 600px; }
.hero h1 { font-size: clamp(42px, 6vw, 72px); font-weight: 800; letter-spacing: -.035em; margin: 26px 0 24px; }
.hero h1 .thin { color: var(--muted-2); }
.hero p.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 500px; line-height: 1.55; }
.hero-cta { display: flex; gap: 12px; margin: 36px 0 26px; flex-wrap: wrap; }
.hero-micro { display: flex; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.hero-micro span { display: inline-flex; align-items: center; gap: 8px; }
.hero-micro svg { width: 16px; height: 16px; color: var(--ink); }

/* 3D stage */
.hero-stage { position: relative; height: 520px; }
#gem-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.gem-fallback { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; }
.gem-fallback.show { display: flex; }
.css-orb { width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(120% 120% at 32% 28%, #3a3f47, #0b0c0e 68%); box-shadow: var(--shadow-lg); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-16px); } }

/* Tarjeta flotante sobre el 3D */
.hero-float {
  position: absolute; z-index: 5;
  background: #fff; border: 1px solid var(--line);
  border-radius: 13px; padding: 12px 15px; box-shadow: var(--shadow);
  animation: floaty 6.5s ease-in-out infinite;
}
.hero-float.a { top: 6%; left: -2%; }
.hero-float.b { bottom: 10%; right: -1%; animation-delay: -3s; }
.hero-float .hf-row { display: flex; align-items: center; gap: 10px; }
.hero-float .hf-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.hero-float .hf-ic svg { width: 17px; height: 17px; }
.hero-float small { color: var(--muted); font-size: 11.5px; display: block; }
.hero-float strong { font-family: var(--font-display); font-size: 14.5px; font-weight: 700; }

@media (max-width: 960px) {
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-stage { height: 340px; order: 2; }
}

/* ---------- Franja de logos ---------- */
.logos { padding: 46px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos p { text-align: center; color: var(--muted-2); font-size: 13px; letter-spacing: .04em; margin-bottom: 26px; }
.logos-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.club-logo { display: flex; align-items: center; gap: 10px; color: #aab0b8; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.club-logo svg { width: 22px; height: 22px; }

/* ---------- Secciones ---------- */
section.block { padding: 120px 0; }
.section-head { max-width: 640px; margin-bottom: 60px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.03em; margin: 16px 0 18px; }
.section-head p { color: var(--muted); font-size: 18px; line-height: 1.55; }

/* ---------- Dos productos ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.product {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg-panel); padding: 38px; position: relative; overflow: hidden;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s;
}
.product:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--line-2); }
.product .kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--accent-ink); }
.product .kicker svg { width: 15px; height: 15px; }
.product h3 { font-size: 26px; font-weight: 800; margin: 16px 0 12px; letter-spacing: -.02em; }
.product > p { color: var(--muted); font-size: 15.5px; max-width: 44ch; }
.product ul { list-style: none; margin: 24px 0 28px; display: grid; gap: 13px; }
.product li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: var(--ink-2); }
.product li .chk { width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; flex: none; margin-top: 1px; background: var(--accent-soft); color: var(--accent-ink); }
.product li .chk svg { width: 11px; height: 11px; }
.product .plink { font-size: 14.5px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.product .plink:hover { gap: 10px; color: var(--accent-ink); }
.product .plink svg { width: 15px; height: 15px; transition: transform .2s; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- Features (minimal) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { padding: 34px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.feature:hover { background: var(--bg-soft); }
.feature .fic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 20px; background: var(--ink); color: #fff; }
.feature .fic svg { width: 20px; height: 20px; }
.feature h4 { font-size: 18px; font-weight: 700; margin-bottom: 9px; letter-spacing: -.01em; }
.feature p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- Genética ---------- */
.gen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; margin-bottom: 64px; }
.gen-copy h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.03em; margin: 16px 0 16px; }
.gen-copy > p { color: var(--muted); font-size: 17px; line-height: 1.55; max-width: 46ch; }
.gen-list { list-style: none; display: grid; gap: 12px; margin: 26px 0 26px; }
.gen-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--ink-2); }
.gen-list .gl-ic { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex: none; margin-top: 1px; background: var(--accent-soft); color: var(--accent-ink); }
.gen-list .gl-ic svg { width: 11px; height: 11px; }
.gen-note { display: flex; gap: 11px; align-items: flex-start; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; max-width: 48ch; }
.gen-note svg { width: 17px; height: 17px; flex: none; margin-top: 1px; color: var(--muted-2); }

.gen-stage { position: relative; height: 480px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 12%, #101b2e 0%, #0a1120 45%, #060a12 100%);
  border: 1px solid #1a2434; box-shadow: inset 0 1px 0 rgba(255,255,255,.04), var(--shadow); }
#dna-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.dna-fallback { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; }
.dna-fallback.show { display: flex; }
.dna-css { width: 70px; height: 300px; border-radius: 40px;
  background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 22px), repeating-linear-gradient(180deg, transparent 0 11px, #4a6070 11px 17px, transparent 17px 33px);
  opacity: .8; filter: drop-shadow(0 0 12px rgba(20,192,122,.5)); }
.gen-tag { position: absolute; left: 20px; bottom: 18px; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px; background: rgba(16,26,44,.72); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px); font-size: 12.5px; color: #cfd9e4; font-weight: 500; }

.gen-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gen-card { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 26px; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.gen-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.gen-card .gc-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 18px; background: var(--accent-soft); color: var(--accent-ink); }
.gen-card .gc-ic svg { width: 21px; height: 21px; }
.gen-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em; }
.gen-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.gen-card .gc-genes { font-family: var(--font-display); font-size: 12px; font-weight: 600; color: var(--muted-2); letter-spacing: .02em; }
@media (max-width: 900px) { .gen-grid { grid-template-columns: 1fr; gap: 30px; } .gen-stage { height: 380px; } .gen-cards { grid-template-columns: 1fr; } }
@media (max-width: 900px) and (min-width: 561px) { .gen-cards { grid-template-columns: 1fr 1fr; } }

/* ---------- Cómo funciona (pasos) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step-n { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--accent-ink); }
.step h4 { font-size: 20px; font-weight: 700; margin: 14px 0 10px; letter-spacing: -.01em; }
.step p { color: var(--muted); font-size: 15px; }
.step { padding-top: 22px; border-top: 2px solid var(--ink); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Personalización ---------- */
.custom { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.custom-panel {
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-soft);
  padding: 36px;
}
.custom-panel .cp-label { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.theme-row { display: flex; gap: 16px; flex-wrap: wrap; }
.theme-swatch { display: flex; flex-direction: column; align-items: center; gap: 9px; cursor: pointer; }
.theme-swatch .crest { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; border: 2px solid transparent; box-shadow: var(--shadow-sm); transition: transform .25s, border-color .25s; }
.theme-swatch:hover .crest { transform: translateY(-3px); }
.theme-swatch.active .crest { border-color: var(--ink); }
.theme-swatch small { font-size: 12px; color: var(--muted); font-weight: 500; }

/* Vista previa que se tiñe en vivo con el acento */
.cp-preview { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow-sm); }
.cpp-head { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.cpp-crest { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.cpp-id { flex: 1; } .cpp-id b { font-family: var(--font-display); font-size: 14px; display: block; } .cpp-id small { color: var(--muted); font-size: 11.5px; }
.cpp-player { display: flex; align-items: center; gap: 11px; padding: 12px 0; margin-bottom: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cpp-pavatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 12px; flex: none; }
.cpp-pid { flex: 1; } .cpp-pid b { font-size: 13.5px; display: block; } .cpp-pid small { color: var(--muted); font-size: 11.5px; }
.cpp-chip { padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--accent-soft); color: var(--accent-ink); }
.cpp-metric { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.cpp-metric b { font-family: var(--font-display); color: var(--ink); font-size: 13px; }
.cpp-bar { height: 8px; border-radius: 999px; background: #eef0f2; overflow: hidden; margin-bottom: 16px; }
.cpp-bar i { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.cpp-foot { display: flex; align-items: center; justify-content: space-between; }
.cpp-btn { padding: 9px 16px; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: 13px; background: var(--accent); color: #fff; }
.cpp-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.cpp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.custom h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.03em; margin: 14px 0 16px; }
.custom p { color: var(--muted); font-size: 17px; }
.custom .clist { list-style: none; margin-top: 24px; display: grid; gap: 16px; }
.custom .clist li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.custom .clist .n { font-family: var(--font-display); font-weight: 800; color: var(--muted-2); flex: none; font-size: 14px; padding-top: 1px; }
@media (max-width: 820px) { .custom { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- Cita ---------- */
.quote { max-width: 900px; margin-inline: auto; text-align: center; }
.quote blockquote { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3.2vw, 38px); line-height: 1.28; letter-spacing: -.025em; color: var(--ink); }
.quote .qby { margin-top: 28px; color: var(--muted); font-size: 15px; }
.quote .qby b { color: var(--ink); font-weight: 700; }

/* ---------- CTA oscuro (contraste puntual, sin precios) ---------- */
.cta { background: var(--bg-ink); color: #fff; border-radius: 26px; padding: 80px 56px; position: relative; overflow: hidden; }
.cta h2 { color: #fff; font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; letter-spacing: -.03em; max-width: 16ch; }
.cta p { color: rgba(255,255,255,.66); font-size: 18px; margin: 20px 0 34px; max-width: 46ch; }
.cta .btn-primary { background: #fff; color: var(--ink); }
.cta .btn-primary:hover { background: #f0f0f0; }
.cta .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.cta .btn-secondary:hover { border-color: #fff; }
.cta-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.cta-mini { display: grid; gap: 18px; }
.cta-mini .cm { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.cta-mini .cm b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.cta-mini .cm span { color: rgba(255,255,255,.55); font-size: 13.5px; }
@media (max-width: 820px) { .cta { padding: 56px 30px; } .cta-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- Footer ---------- */
.footer { padding: 70px 0 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer .brand { margin-bottom: 14px; }
.footer p.fdesc { color: var(--muted); font-size: 14.5px; max-width: 30ch; }
.footer h5 { font-family: var(--font-display); font-size: 13px; letter-spacing: .02em; color: var(--muted-2); margin-bottom: 15px; font-weight: 700; text-transform: uppercase; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: var(--ink-2); font-size: 14.5px; }
.footer ul a:hover { color: var(--accent-ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13.5px; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }
