/* Funnel Curso 1€ · vsl.clientesonline.io/curso/ · migrado desde ClickFunnels 26/9/26
   Mismo sistema visual que la VSL 2 (funnel-v2-src/l/index.html). */
:root {
  --primary: #06B6D4;
  --accent-blue: #2563EB;
  --accent-blue-dark: #1D4ED8;
  --dark: #0F172A;
  --gray-900: #1E293B;
  --gray-700: #475569;
  --gray-500: #64748B;
  --gray-400: #94A3B8;
  --white: #FFFFFF;
  --warn-bg: #FEF3C7;
  --warn-ink: #92400E;
  --ok: #059669;
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: linear-gradient(180deg, #DFF5FB 0%, #ECFEFF 40%, #F0FBFD 100%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin: 0 auto; }

.site-header { text-align: center; padding: 32px 20px 4px; }
.logo { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--dark); }
.logo .dot { color: var(--primary); }

.hero { padding: 26px 0 22px; text-align: center; }
.kicker {
  display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .02em;
  color: var(--warn-ink); background: var(--warn-bg); border-radius: 999px; padding: 6px 14px; margin-bottom: 16px;
}
h1 {
  font-size: clamp(28px, 4.6vw, 50px); line-height: 1.13; font-weight: 800; color: var(--dark);
  letter-spacing: -0.02em; max-width: 880px; margin: 0 auto;
}
h1 .accent, h2 .accent {
  font-family: var(--font-display); font-style: italic; font-weight: 600; color: var(--accent-blue);
}
.sub { font-size: clamp(17px, 2.2vw, 21px); color: var(--gray-700); margin: 14px auto 0; max-width: 720px; }

/* ---------- vídeo (click-to-listen, igual que la VSL 2) ---------- */
.video-wrap { max-width: 880px; margin: 0 auto; }
.video-player {
  position: relative; background: var(--dark); border-radius: 22px; overflow: hidden;
  aspect-ratio: 16/9; box-shadow: var(--shadow-2xl); border: 3px solid var(--white);
}
.video-player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--dark); border: 0; }
.video-unmute-overlay {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center;
  justify-content: center; background: rgba(15, 23, 42, 0.30); cursor: pointer; transition: opacity .25s ease;
}
.video-unmute-overlay.hidden { opacity: 0; pointer-events: none; }
.play-circle {
  width: 88px; height: 88px; border-radius: 50%; background: var(--accent-blue); display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px; box-shadow: 0 8px 32px rgba(37, 99, 235, .5); border: 3px solid rgba(255,255,255,.25);
}
.play-icon { width: 0; height: 0; border-left: 25px solid var(--white); border-top: 16px solid transparent; border-bottom: 16px solid transparent; margin-left: 6px; }
.unmute-label { font-size: 17px; font-weight: 700; color: var(--white); text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.vsl-controls {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 14px 16px 6px;
  background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0)); z-index: 2; opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.vsl-controls.visible { opacity: 1; pointer-events: auto; }
.vsl-ctrl-btn { flex-shrink: 0; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; }
.vsl-ctrl-btn svg { width: 26px; height: 26px; fill: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.55)); }
.vsl-ctrl-btn .ic-play { display: none; }
.vsl-controls.paused .ic-play { display: block; }
.vsl-controls.paused .ic-pause { display: none; }
.vsl-bar { flex: 1; height: 10px; background: rgba(255,255,255,.28); border-radius: 999px; overflow: hidden; cursor: pointer; touch-action: none; }
.vsl-bar-fill { height: 100%; width: 0%; background: var(--accent-blue); border-radius: 999px; pointer-events: none; transition: width .25s linear; }

/* ---------- tarjetas y botones ---------- */
.section { padding: 26px 0; }
.card {
  background: var(--white); border-radius: 22px; padding: 34px 34px 36px; box-shadow: var(--shadow-2xl); text-align: center;
}
.card h2 { font-size: clamp(21px, 3vw, 28px); font-weight: 800; color: var(--dark); letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 16px; }
.card p { color: var(--gray-700); font-size: 17px; margin: 0 auto 12px; max-width: 620px; }
.cta-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--dark); color: var(--white);
  padding: 19px 44px; border-radius: 14px; font-weight: 700; font-size: 18px; text-decoration: none; border: none; cursor: pointer;
  transition: all .2s ease; box-shadow: 0 6px 18px rgba(15, 23, 42, .25); font-family: var(--font-body); line-height: 1.3;
}
.cta-button:hover { background: var(--accent-blue); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(37, 99, 235, .35); }
.cta-button.green { background: var(--ok); }
.cta-button.green:hover { background: #047857; }
.cta-note { font-size: 14px; color: var(--gray-500); margin-top: 12px; }
.lose-link { display: inline-block; margin-top: 16px; font-size: 15px; color: var(--gray-500); text-decoration: underline; }
.price-old { text-decoration: line-through; opacity: .65; font-weight: 600; margin-right: 6px; }

.bullets { text-align: left; list-style: none; max-width: 620px; margin: 6px auto 22px; }
.bullets li { position: relative; padding-left: 34px; margin-bottom: 14px; font-size: 17px; color: var(--gray-900); }
.bullets li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-blue);
  color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.warn {
  background: var(--warn-bg); color: var(--warn-ink); border-radius: 14px; padding: 16px 18px; font-size: 15px; font-weight: 600;
  max-width: 620px; margin: 18px auto 0;
}
.gift { font-size: 17px; font-weight: 700; color: var(--dark); margin: 20px 0 8px; }

/* ---------- testimonios (YouTube ligero: solo carga el iframe al pulsar) ---------- */
.testis-title { text-align: center; font-size: clamp(20px, 2.8vw, 26px); font-weight: 800; color: var(--dark); margin-bottom: 18px; letter-spacing: -0.01em; }
.testis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.yt { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #000 center/cover no-repeat; cursor: pointer; box-shadow: var(--shadow-lg); }
.yt::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 46px; margin: -23px 0 0 -32px; border-radius: 12px;
  background: rgba(15,23,42,.8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/26px no-repeat;
}
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.loaded::after { display: none; }
.testi-name { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-top: 8px; text-align: center; }

/* ---------- bio y FAQ ---------- */
.bio { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: center; text-align: left; }
.bio img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 20%; border-radius: 18px; box-shadow: var(--shadow-lg); }
.bio h2 { text-align: left; margin-bottom: 10px; }
.bio p { margin: 0 0 10px; max-width: none; }
.faq { text-align: left; }
.faq details { border-bottom: 1px solid rgba(15,23,42,.08); padding: 14px 0; }
.faq summary { font-weight: 700; font-size: 17px; cursor: pointer; color: var(--dark); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; display: inline-block; width: 22px; color: var(--accent-blue); font-weight: 800; }
.faq details[open] summary::before { content: "–"; }
.faq p { margin: 8px 0 0 22px; max-width: none; text-align: left; }

/* ---------- Calendly inline ---------- */
.calendly-box { background: var(--white); border-radius: 22px; box-shadow: var(--shadow-2xl); overflow: hidden; }
.calendly-inline-widget { min-width: 320px; height: 1000px; }

footer { border-top: 1px solid rgba(15,23,42,.08); padding: 26px 20px 34px; text-align: center; margin-top: 24px; }
.footer-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 12px; font-size: 13px; }
.footer-links a { color: var(--gray-500); text-decoration: none; }
.footer-meta { font-size: 12px; color: var(--gray-400); max-width: 760px; margin: 0 auto; }

@media (max-width: 768px) {
  .card { padding: 28px 20px 30px; }
  .cta-button { padding: 17px 26px; font-size: 17px; width: 100%; }
  .testis { grid-template-columns: 1fr; }
  .bio { grid-template-columns: 1fr; text-align: center; }
  .bio img { max-width: 260px; margin: 0 auto; }
  .bio h2 { text-align: center; }
  .play-circle { width: 70px; height: 70px; }
  .calendly-inline-widget { height: 1100px; }
}
