/* ===== K-Po Music — Producción Musical Integral — paleta y tipografías del sitio original ===== */
:root {
  --dark: #172029;        /* fondo oscuro */
  --blue: #1372d3;        /* botones */
  --blue-dark: #0d569f;
  --orange: #fc8200;      /* acentos */
  --orange-2: #f5ab35;
  --green: #5db840;
  --green-dark: #024b0b;
  --cream: #ffe1b2;
  --text: #1d232a;
  --muted: #5f6770;
  --soft: #f5f5f5;
  --line: #e2e6ea;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', Arial, sans-serif; font-size: 17px; line-height: 1.7; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
section { padding: 74px 0; }

h1 { font-family: 'Open Sans', sans-serif; font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.15; margin-bottom: 14px; }
h2 { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: clamp(1.7rem, 3.8vw, 2.5rem); line-height: 1.2; margin-bottom: 14px; }
h3 { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 1.25rem; margin-bottom: 8px; }
.display { font-family: 'Hammersmith One', 'Open Sans', sans-serif; font-weight: 400; }
.kicker { display: inline-block; font-family: 'Hammersmith One', sans-serif; font-size: .9rem; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.lead { font-size: 1.15rem; }
.muted { color: var(--muted); }
.section-sub { color: var(--muted); max-width: 720px; margin: 0 auto 38px; }
.dark { background: var(--dark); color: #e7ebef; }
.dark h2, .dark h3 { color: #fff; }
.dark .muted, .dark .section-sub { color: #aab4be; }
.soft { background: var(--soft); }

/* ===== Botones ===== */
.btn { display: inline-block; text-decoration: none; font-family: 'Hammersmith One', sans-serif; letter-spacing: 1px; text-transform: uppercase; border-radius: 10px; text-align: center; transition: transform .15s, background .2s; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 6px 0 var(--blue-dark), 0 14px 30px rgba(19,114,211,.3); }
.btn-blue:hover { transform: translateY(-2px); background: #1780ea; }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 6px 0 #b85f00, 0 14px 30px rgba(252,130,0,.3); }
.btn-orange:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .85rem; box-shadow: 0 4px 0 var(--blue-dark); }
.btn-lg { padding: 17px 32px; font-size: 1.1rem; }
.btn-block { display: block; width: 100%; }
.pulse { animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.03); } }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(23,32,41,.96); backdrop-filter: blur(8px); border-bottom: 1px solid #2a3642; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 62px; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: 'Hammersmith One', sans-serif; letter-spacing: 1px; }
.brand img { width: 38px; height: 38px; border-radius: 6px; }

/* ===== Hero ===== */
.hero { background: linear-gradient(rgba(23,32,41,.86), rgba(23,32,41,.95)), url('../img/estudio.jpeg') center/cover; color: #fff; text-align: center; padding: 56px 0 64px; }
.hero .logo { max-width: 360px; margin: 0 auto 18px; }
.hero .webinar { display: inline-block; background: var(--orange); color: #fff; font-family: 'Hammersmith One', sans-serif; letter-spacing: 2px; padding: 6px 16px; border-radius: 8px; margin-bottom: 16px; }
.hero h1 { color: #fff; max-width: 920px; margin: 0 auto 26px; }
.hero h1 span { color: var(--orange-2); }
.video-wrap { position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 860px; margin: 0 auto; border-radius: 12px; overflow: hidden; background: #000; border: 4px solid rgba(255,255,255,.1); box-shadow: 0 30px 70px rgba(0,0,0,.55); }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.save { margin-top: 26px; font-family: 'Hammersmith One', sans-serif; font-size: 1.3rem; letter-spacing: 1px; }
.save b { color: var(--orange-2); font-size: 1.6rem; }
.trust { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-top: 20px; }
.trust div { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; text-transform: uppercase; }
.trust img { width: 54px; }

/* ===== Planes ===== */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 900px; margin: 0 auto; }
.plan { background: #fff; color: var(--text); border-radius: 18px; padding: 30px 26px; border: 2px solid var(--line); display: flex; flex-direction: column; text-align: left; box-shadow: 0 16px 40px rgba(0,0,0,.1); position: relative; }
.plan.best { border-color: var(--orange); box-shadow: 0 20px 50px rgba(252,130,0,.25); }
.plan .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font-family: 'Hammersmith One', sans-serif; font-size: .8rem; letter-spacing: 1px; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-family: 'Hammersmith One', sans-serif; font-weight: 400; font-size: 1.8rem; color: var(--blue); margin-bottom: 0; }
.plan.best h3 { color: var(--orange); }
.plan .sub { font-weight: 700; color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.plan ul { list-style: none; flex: 1; margin-bottom: 18px; }
.plan li { padding: 7px 0 7px 28px; position: relative; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.plan .price { text-align: center; margin-bottom: 14px; }
.plan .old { color: #b8860b; text-decoration: line-through; text-decoration-color: #111; font-family: 'Hammersmith One', sans-serif; font-size: 1.5rem; }
.plan .tag { display: block; font-family: 'Hammersmith One', sans-serif; font-size: .85rem; color: var(--green-dark); letter-spacing: 1px; }
.plan .new { font-family: 'Hammersmith One', sans-serif; font-size: 3.6rem; color: var(--green-dark); line-height: 1; }
.plan .new small { font-size: 1.1rem; vertical-align: top; margin-right: 2px; }
.plan .trust-strip { margin: 14px auto 0; max-width: 100%; }

/* ===== Autor ===== */
.author { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: center; }
.author img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.author p { margin-bottom: 12px; }

/* ===== Módulos ===== */
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mod { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.mod img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.mod div { padding: 20px; }
.mod h3 { color: var(--blue); }
.mod ul { list-style: none; font-size: .92rem; }
.mod li { padding: 4px 0 4px 20px; position: relative; }
.mod li::before { content: '♪'; position: absolute; left: 0; color: var(--orange); }
.big-num { font-family: 'Hammersmith One', sans-serif; font-size: 4rem; color: var(--orange); line-height: 1; }

/* ===== Videos y testimonios ===== */
.vid-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.vid { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.testi { background: #fff; color: var(--text); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.05); display: flex; flex-direction: column; }
.testi .q { flex: 1; font-size: .95rem; }
.testi .q p { margin-bottom: 8px; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.testi .who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--orange); }
.testi .who b { font-family: 'Raleway', sans-serif; }
.stars { color: #f5b301; letter-spacing: 2px; }

/* ===== Garantía / FAQ ===== */
.guarantee { display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: center; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 20px 18px; }

/* ===== Footer / sticky ===== */
.site-footer { background: #0f151b; color: #9aa6b2; text-align: center; padding: 30px 0 100px; font-size: .88rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 10px; }
.site-footer a { color: #e7ebef; text-decoration: none; }
.site-footer a:hover { color: var(--orange-2); }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: rgba(15,21,27,.97); color: #fff; transform: translateY(110%); transition: transform .3s; }
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .sp { font-size: .9rem; }
.sticky-cta .sp b { font-family: 'Hammersmith One', sans-serif; color: var(--orange-2); font-size: 1.15rem; }
@media (min-width: 900px) {
  .sticky-cta { left: 50%; right: auto; bottom: 18px; transform: translate(-50%, 150%); border-radius: 999px; padding: 8px 8px 8px 24px; gap: 22px; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
  .sticky-cta.show { transform: translate(-50%, 0); }
}

/* ===== Legales ===== */
.legal-hero { background: var(--dark); color: #fff; padding: 48px 0 36px; }
.legal-hero h1 { color: #fff; margin-bottom: 6px; }
.legal-hero .crumbs { font-size: .85rem; color: #aab4be; margin-bottom: 12px; }
.legal-hero .crumbs a { color: #aab4be; text-decoration: none; }
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 44px; align-items: start; padding-top: 44px; padding-bottom: 44px; }
.toc { position: sticky; top: 80px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 18px; font-size: .85rem; max-height: calc(100vh - 100px); overflow-y: auto; }
.toc b { display: block; font-size: .75rem; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc a { display: block; padding: 5px 0; color: var(--dark); text-decoration: none; border-bottom: 1px solid var(--line); }
.toc a:last-child { border-bottom: 0; }
.legal h2 { font-size: 1.3rem; margin: 32px 0 10px; scroll-margin-top: 80px; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-bottom: 14px; font-size: .97rem; }
.legal ul { margin: 0 0 16px 22px; }
.legal li { margin-bottom: 6px; font-size: .97rem; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  section { padding: 58px 0; }
  .plans, .author, .guarantee { grid-template-columns: 1fr; gap: 28px; }
  .plans { max-width: 480px; }
  .mods { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .guarantee { justify-items: center; text-align: center; }
  .legal-layout { grid-template-columns: 1fr; gap: 22px; }
  .toc { position: static; max-height: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .vid-grid, .testi-grid { grid-template-columns: 1fr; }
  .header-inner .btn { display: none; }
}

/* Ninguna imagen más ancha que su contenedor (en mobile, los max-width en px de algunas imágenes las desbordaban) */
img, iframe, video { max-width: 100% !important; }
img { height: auto; }  /* al achicarse, que no se deformen */
