/* Pitching Pro | Lab — hoja de estilo única, sin dependencias */

:root {
  /* ---- Paleta Brandbook Pitching Pro | Lab v3 ---- */
  --lab-black: #07090d;      /* Negro laboratorio — fondo principal */
  --lab-deep: #050609;       /* Negro profundo — footer y botones */
  --lab-surface: #0d1017;    /* Superficie de tarjetas */
  --lab-raised: #14171f;     /* Superficie elevada */
  --lavender: #c7cff2;       /* Lavanda técnica — acento principal */
  --lavender-deep: #aeb9e8;  /* Lavanda profunda — jerarquía secundaria */
  --steel: #8a94b8;          /* Acero — texto auxiliar */
  --white: #ffffff;          /* Blanco óptico — contraste y claridad */
  --line: rgba(199, 207, 242, 0.13);
  --line-strong: rgba(199, 207, 242, 0.24);

  /* alias internos — no hace falta tocarlos */
  --navy-950: var(--lab-deep);
  --navy-900: var(--lab-black);
  --navy-800: var(--lab-surface);
  --navy-700: var(--lab-raised);
  --amber: var(--lavender);
  --amber-deep: var(--lavender-deep);
  --cyan: var(--lavender-deep);
  --bone: var(--white);
  --muted: var(--steel);
  --muted-dim: #5c6488;

  --maxw: 1120px;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --r: 4px;

  --f-display: "Barlow Condensed", "DejaVu Sans Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", "DejaVu Sans", system-ui, -apple-system, sans-serif;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Tipografía ---------- */
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}
.h-hero { font-size: clamp(2.9rem, 8.5vw, 6.2rem); }
.h-sec  { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
.h-card { font-size: clamp(1.35rem, 2.6vw, 1.7rem); font-weight: 700; }

p { margin: 0 0 1rem; max-width: 62ch; }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); line-height: 1.55; }

.tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--f-display); font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber);
}
.tag::before { content: ""; width: 22px; height: 2px; background: var(--amber); display: inline-block; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
section { padding-block: clamp(3.5rem, 9vw, 7rem); }
.divider { border-top: 1px solid var(--line); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 20, 40, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin-inline: auto; padding: 0.9rem var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--f-display); font-weight: 800; letter-spacing: 0.02em; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  background: var(--lab-surface);
  border: 1px solid var(--line-strong);
}
.brand .mark::before {
  content: "P | L";
  font-family: var(--f-display); font-weight: 800;
  font-size: 0.8rem; letter-spacing: 0.01em;
  color: var(--lavender);
}
.brand b { font-size: 1.2rem; text-transform: uppercase; }
.brand span { color: var(--amber); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { font-weight: 500; color: var(--muted); font-size: 0.98rem; transition: color 0.15s; }
.nav-links a:hover { color: var(--bone); }
.nav .btn { padding: 0.5rem 1rem; font-size: 0.95rem; white-space: nowrap; }
.only-mobile { display: none; }
@media (max-width: 820px) { .nav-links a:not(.btn) { display: none; } }
@media (max-width: 480px) {
  .brand b { font-size: 1.02rem; }
  .hide-mobile { display: none; }
  .only-mobile { display: inline; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; font-size: 1.05rem;
  padding: 0.9rem 1.6rem; border-radius: var(--r);
  background: var(--amber); color: var(--navy-950);
  border: 1px solid var(--amber);
  cursor: pointer; transition: background 0.15s, transform 0.05s;
}
.btn:hover { background: #e3e7fa; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 19px; height: 19px; }
.btn--ghost {
  background: transparent; color: var(--bone);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: rgba(255,255,255,0.05); border-color: var(--muted); }
.btn--lg { font-size: 1.2rem; padding: 1.05rem 2rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 80% at 78% -10%, rgba(199,207,242,0.13), transparent 55%),
    radial-gradient(90% 70% at 10% 110%, rgba(174,185,232,0.08), transparent 55%);
  pointer-events: none;
}
/* zona de strike, muy sutil, a la derecha */
.hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: -40px; top: 50%; transform: translateY(-50%) rotate(-8deg);
  width: 340px; height: 420px; opacity: 0.5;
  background:
    linear-gradient(var(--line-strong) 1px, transparent 1px) 0 0 / 100% 33.33%,
    linear-gradient(90deg, var(--line-strong) 1px, transparent 1px) 0 0 / 33.33% 100%;
  border: 1px solid var(--line-strong);
  mask-image: radial-gradient(circle at 50% 50%, #000 60%, transparent 100%);
}
@media (max-width: 900px) { .hero::after { display: none; } }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 1.4rem; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { max-width: 46ch; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.foot-logo {
  width: 152px; max-width: 56vw; height: auto; display: block;
  border: 1px solid var(--line); border-radius: 8px;
}

/* strip credenciales */
.creds {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border-block: 1px solid var(--line); margin-top: clamp(2.5rem, 6vw, 4rem);
}
.cred { background: var(--navy-900); padding: 1.3rem clamp(1rem, 3vw, 1.6rem); }
.cred .n { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem,3vw,2.2rem); color: var(--amber); line-height: 1; }
.cred .l { color: var(--muted); font-size: 0.95rem; margin-top: 0.35rem; }
@media (max-width: 700px) { .creds { grid-template-columns: 1fr; } }

/* ---------- Método ---------- */
.sec-head { max-width: 60ch; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.sec-head .tag { margin-bottom: 1rem; }
.sec-head p { color: var(--muted); }

.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillar { background: var(--navy-800); padding: clamp(1.6rem, 3vw, 2.2rem); }
.pillar .k {
  font-family: var(--f-display); font-weight: 800; font-size: 1.1rem;
  color: var(--amber); letter-spacing: 0.06em; margin-bottom: 0.9rem; text-transform: uppercase;
}
.pillar h3 { margin-bottom: 0.7rem; }
.pillar ul { list-style: none; margin: 0; padding: 0; }
.pillar li { color: var(--muted); padding: 0.4rem 0 0.4rem 1.4rem; position: relative; font-size: 1rem; border-top: 1px solid var(--line); }
.pillar li:first-child { border-top: none; }
.pillar li::before { content: ""; position: absolute; left: 0; top: 1rem; width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Respaldo médico (destaque) ---------- */
.medico { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); border: 1px solid var(--line-strong); border-radius: var(--r); padding: clamp(1.8rem, 5vw, 3.4rem); }
.medico .grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.medico .tag { color: var(--cyan); }
.medico .tag::before { background: var(--cyan); }
.medico h2 { margin-bottom: 1.1rem; }
.medico p { color: var(--muted); }
.medico .who { border-left: 2px solid var(--amber); padding-left: 1.2rem; }
.medico .who-title { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; margin-bottom: 0.7rem; }
.medico .who-list { list-style: none; margin: 0; padding: 0; }
.medico .who-list li { color: var(--muted); padding: 0.55rem 0; border-top: 1px solid var(--line); font-size: 1rem; }
.medico .who-list li:first-child { border-top: none; }
@media (max-width: 800px) { .medico .grid { grid-template-columns: 1fr; } }

/* ---------- Aliados ---------- */
.allies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: start; }
.ally-item { display: flex; flex-direction: column; gap: 0.6rem; }
.ally {
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.5rem 1.3rem; min-height: 116px;
  transition: transform 0.12s, box-shadow 0.12s;
}
.ally:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.45); }
.ally img { max-width: 100%; max-height: 62px; width: auto; height: auto; object-fit: contain; }
.ally-doc { text-align: center; font-size: 0.85rem; font-weight: 600; color: var(--lavender); }
.ally-doc:hover { text-decoration: underline; }
@media (max-width: 900px) { .allies { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .allies { grid-template-columns: 1fr; } }

/* ---------- Equipo ---------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 720px; }
.coach { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.coach .ph { aspect-ratio: 4/5; background: linear-gradient(180deg, var(--navy-700), var(--navy-950)); display: flex; align-items: flex-end; justify-content: center; color: var(--muted-dim); position: relative; }
.coach .ph span { font-family: var(--f-display); font-weight: 800; font-size: 4rem; color: rgba(199,207,242,0.10); position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.coach .ph small { position: absolute; bottom: 10px; font-size: 0.72rem; color: var(--muted-dim); }
.coach .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 16%; }
.coach .body { padding: 1.2rem 1.3rem 1.5rem; }
.coach .name { font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; line-height: 1; }
.coach .role { color: var(--amber); font-weight: 600; font-size: 0.92rem; margin: 0.35rem 0 0.7rem; }
.coach .desc { color: var(--muted); font-size: 0.96rem; margin: 0; }
@media (max-width: 820px) { .team { grid-template-columns: 1fr; max-width: 420px; } }

/* ---------- Camino (secuencia real → numerado) ---------- */
.path { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--navy-900); padding: clamp(1.3rem, 3vw, 1.8rem) clamp(1.3rem, 3vw, 2rem); display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: baseline; }
.step .no { font-family: var(--f-display); font-weight: 800; font-size: 2.4rem; color: var(--amber); line-height: 0.8; min-width: 2.2ch; }
.step h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted); margin: 0; font-size: 1rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--amber); color: var(--navy-950); text-align: center; }
.cta-band h2 { color: var(--navy-950); margin-bottom: 1rem; max-width: 20ch; margin-inline: auto; }
.cta-band p { color: rgba(7,9,13,0.70); margin-inline: auto; margin-bottom: 1.8rem; font-weight: 500; }
.cta-band .btn { background: var(--navy-950); color: var(--bone); border-color: var(--navy-950); }
.cta-band .btn:hover { background: #171a24; }

/* ---------- Footer ---------- */
.foot { background: var(--navy-950); color: var(--muted); border-top: 1px solid var(--line); }
.foot .wrap { padding-block: 3rem; display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.foot .brand b { font-size: 1.4rem; color: var(--bone); }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--amber); }
.foot a.soon, .foot a.soon:hover { color: var(--muted-dim); cursor: default; }
.foot .col h4 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-dim); font-size: 0.85rem; margin: 0 0 0.8rem; }
.foot .col p, .foot .col a { display: block; font-size: 0.96rem; margin-bottom: 0.5rem; }
.foot .fine { width: 100%; border-top: 1px solid var(--line); padding-top: 1.4rem; font-size: 0.85rem; color: var(--muted-dim); }

/* ---------- Landing específico ---------- */
.lp-hero { text-align: left; }
.lp-hero .h-hero { max-width: 18ch; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.checklist li { padding-left: 2.1rem; position: relative; color: var(--muted); font-size: 1.05rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--amber);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 800px) { .lp-split { grid-template-columns: 1fr; } }
.card-quiet { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.6rem, 4vw, 2.4rem); }

.faq { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.faq details { background: var(--navy-900); }
.faq summary { cursor: pointer; list-style: none; padding: 1.3rem clamp(1.2rem,3vw,1.6rem); font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.01em; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); padding: 0 clamp(1.2rem,3vw,1.6rem) 1.4rem; margin: 0; font-size: 1rem; }

/* ---------- Formulario de contacto ---------- */
.lead-form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.92rem; color: var(--muted); font-weight: 500; }
.field label .opt { color: var(--muted-dim); font-weight: 400; }
.field input, .field textarea {
  width: 100%; background: var(--lab-black); color: var(--bone);
  border: 1px solid var(--line-strong); border-radius: var(--r);
  padding: 0.75rem 0.85rem; font-family: var(--f-body); font-size: 1rem;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lavender); }
.field textarea { resize: vertical; min-height: 84px; }
.tel-row { display: flex; gap: 0.5rem; }
.tel-row input { flex: 1; min-width: 0; }
.tel-row select {
  flex: none; max-width: 46%; background: var(--lab-black); color: var(--bone);
  border: 1px solid var(--line-strong); border-radius: var(--r);
  padding: 0.75rem 1.9rem 0.75rem 0.7rem; font-family: var(--f-body); font-size: 0.95rem;
  cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none' stroke='%23c7cff2' stroke-width='1.6'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.7rem center; background-size: 10px;
}
.tel-row select:focus { outline: none; border-color: var(--lavender); }
.lead-form .btn { justify-content: center; margin-top: 0.3rem; }
.botcheck { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { margin: 0; font-size: 0.95rem; min-height: 1.2em; }
.form-status.ok { color: var(--lavender); }
.form-status.err { color: #ff8a8a; }

/* ---------- Accesibilidad ---------- */
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
