/* Web pública de WA Marketing. Sin JavaScript y sin nada de otros dominios. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #0a1a3a;
  --ink-soft: #46546f;
  --line: #dfe6f3;
  --canvas: #f4f7ff;
  --white: #fff;
  --brand: #0866ff;
  --brand-dark: #0052d9;
  --brand-soft: #e3eeff;
  --night: #081633;
  --night-2: #10224a;
  --warm: #ff7a3d;
  --warm-dark: #ec6220;
  --radius: 18px;
  --shadow: 0 18px 40px -22px rgb(10 26 58 / 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.4rem); font-weight: 800; }
h1 em { font-style: normal; color: var(--brand); }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.015em; }
:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 76px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.sub { margin-top: 16px; max-width: 62ch; color: var(--ink-soft); font-size: 1.08rem; }
.note { margin-top: 18px; font-size: 0.92rem; color: var(--ink-soft); max-width: 70ch; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  text-decoration: none; border: 1.5px solid transparent; transition: background 0.15s, transform 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgb(8 102 255 / 0.6); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-warm { background: var(--warm); color: #fff; box-shadow: 0 10px 24px -10px rgb(255 122 61 / 0.7); }
.btn-warm:hover { background: var(--warm-dark); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-white { background: #fff; color: var(--ink); }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; }
.logo b { color: var(--brand); font-weight: 800; }
.logo-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgb(8 102 255 / 0.7); }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--brand); }

/* Portada */
.hero { background: radial-gradient(900px 480px at 85% -10%, #d9e8ff 0%, transparent 65%), var(--canvas); padding: 72px 0 80px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px 40px; align-items: center; }
.lead { margin-top: 22px; font-size: 1.18rem; color: var(--ink-soft); max-width: 54ch; }

.hero-art { position: relative; height: 380px; }
.piece { position: absolute; border-radius: 22px; box-shadow: var(--shadow); padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; color: #fff; }
.piece .tag { position: absolute; top: 14px; left: 14px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: rgb(255 255 255 / 0.22); padding: 4px 10px; border-radius: 999px; }
.piece .bar { height: 9px; border-radius: 9px; background: rgb(255 255 255 / 0.85); width: 80%; }
.piece .bar.short { width: 50%; background: rgb(255 255 255 / 0.5); }
.piece .dot { width: 64px; height: 64px; border-radius: 50%; background: rgb(255 255 255 / 0.9); margin: 0 auto auto; position: relative; top: 44px; }
.piece-post { width: 220px; height: 275px; left: 50%; top: 50px; margin-left: -110px; background: linear-gradient(150deg, #2f7bff, #0645af); z-index: 2; }
.piece-story { width: 150px; height: 266px; left: 0; top: 0; background: linear-gradient(160deg, #ffb37a, #ff7a3d); transform: rotate(-7deg); }
.piece-reel { width: 150px; height: 266px; right: 0; top: 96px; background: linear-gradient(160deg, #18306a, #081633); transform: rotate(6deg); align-items: center; justify-content: center; }
.piece .play { width: 54px; height: 54px; border-radius: 50%; background: rgb(255 255 255 / 0.95); position: relative; }
.piece .play::after { content: ""; position: absolute; left: 21px; top: 16px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--night); }

.paths { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.path { display: flex; flex-direction: column; gap: 8px; padding: 26px 28px; border-radius: var(--radius); text-decoration: none; background: var(--white); border: 1.5px solid var(--line); box-shadow: var(--shadow); transition: transform 0.15s, border-color 0.15s; }
.path:hover { transform: translateY(-3px); }
.path-kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.path-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.path-text { color: var(--ink-soft); }
.path-go { margin-top: 8px; font-weight: 700; }
.path-self .path-kicker, .path-self .path-go { color: var(--brand); }
.path-self:hover { border-color: var(--brand); }
.path-team { background: var(--night); border-color: var(--night); color: #fff; }
.path-team .path-text { color: #b9c6e2; }
.path-team .path-kicker, .path-team .path-go { color: #ffa46f; }

/* Secciones */
.sec { padding: 88px 0; }
.sec-tint { background: var(--canvas); }

.steps { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { padding: 28px; border-radius: var(--radius); background: var(--canvas); }
.steps .num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 18px; }
.steps p { margin-top: 8px; color: var(--ink-soft); font-size: 0.98rem; }

.formats { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.formats li { padding: 18px 20px; border-radius: 14px; border: 1.5px solid var(--line); display: flex; flex-direction: column; }
.formats b { font-size: 1.05rem; }
.formats span { font-size: 0.9rem; color: var(--ink-soft); }

.grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.card h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 4px; background: var(--brand); margin-bottom: 16px; }
.card p { margin-top: 8px; color: var(--ink-soft); font-size: 0.97rem; }

.duo { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card { padding: 34px; border-radius: 22px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.duo-card h3 { font-size: 1.6rem; font-weight: 800; }
.duo-self { background: var(--brand-soft); }
.duo-team { background: #fff0e6; }
.duo-for { color: var(--ink-soft); }
.ticks { display: grid; gap: 10px; margin: 6px 0 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.32em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(0.32em + 4px); width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.duo-team .ticks li::before { background: var(--warm); }
.duo-card .btn { margin-top: auto; }

/* Paquetes */
.packs { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pack { position: relative; background: var(--white); border: 1.5px solid var(--line); border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column; gap: 4px; text-align: center; }
.pack h3 { font-size: 1rem; color: var(--ink-soft); font-weight: 600; }
.pack .price { font-size: 3.4rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.pack .price span { font-size: 1.5rem; vertical-align: 0.9em; margin-right: 2px; color: var(--ink-soft); }
.pack .credits { font-size: 1.15rem; font-weight: 700; }
.pack .each { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 18px; }
.pack .btn { margin-top: auto; }
.pack-top { border-color: var(--brand); box-shadow: 0 24px 50px -28px rgb(8 102 255 / 0.55); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }

/* Tablas */
.table-title { margin-top: 52px; font-size: 1.3rem; }
.table-wrap { margin-top: 18px; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.table th, .table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table thead th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); background: #f8faff; }
.table tbody th { font-weight: 600; }
.table small { display: block; font-weight: 400; font-size: 0.85rem; color: var(--ink-soft); text-transform: none; letter-spacing: 0; }
.table .r { text-align: right; font-variant-numeric: tabular-nums; }
.table .c { text-align: center; font-variant-numeric: tabular-nums; }
.table td.r { font-weight: 700; }
.table .free { color: #0a8a4a; }

.cta-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.cta-row.center { justify-content: center; }

/* Servicio */
.sec-dark { background: var(--night); color: #fff; }
.sec-dark .eyebrow { color: #ffa46f; }
.sec-dark .sub, .sec-dark .note { color: #b9c6e2; }
.sec-dark .table-wrap { margin-top: 40px; background: var(--night-2); border-color: #24386a; }
.plans { min-width: 640px; }
.plans th, .plans td { border-color: #24386a; }
.plans thead th { background: transparent; color: #fff; font-size: 1.1rem; text-transform: none; letter-spacing: -0.01em; padding-top: 22px; padding-bottom: 18px; }
.plans thead th:first-child { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: #b9c6e2; }
.plans thead small { color: #b9c6e2; font-size: 0.82rem; margin-top: 2px; }
.plans tbody th { color: #d6dff2; font-weight: 500; }
.plans td { font-weight: 700; font-size: 1.1rem; }
.plans .top { background: rgb(255 122 61 / 0.12); }
.plans thead .top small { color: #ffa46f; font-weight: 700; }
.plans-cta td { font-size: 0.92rem; }
.plans-cta a { color: #ffa46f; font-weight: 700; text-underline-offset: 3px; }

.meet { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; background: var(--night-2); border: 1px solid #24386a; border-radius: 24px; padding: 40px; }
.meet-text h3 { font-size: 1.7rem; font-weight: 800; }
.meet-text p { margin: 14px 0 26px; color: #c9d4ec; }
.meet-steps { counter-reset: paso; display: grid; gap: 18px; }
.meet-steps li { counter-increment: paso; position: relative; padding-left: 52px; display: flex; flex-direction: column; }
.meet-steps li::before { content: counter(paso); position: absolute; left: 0; top: 2px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: rgb(255 122 61 / 0.18); color: #ffa46f; }
.meet-steps span { color: #b9c6e2; font-size: 0.96rem; }

/* Preguntas */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { margin-top: 28px; border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: 20px 36px 20px 0; font-weight: 700; font-size: 1.08rem; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--brand); }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 64ch; }

/* Cierre y pie */
.close { background: linear-gradient(140deg, #0866ff, #0645af); color: #fff; text-align: center; }
.close p { margin-top: 12px; color: #dbe8ff; font-size: 1.1rem; }
.foot { background: var(--night); color: #b9c6e2; font-size: 0.9rem; padding: 28px 0; }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }

/* Página de error */
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--canvas); padding: 24px; }
.lost p { margin: 14px 0 26px; color: var(--ink-soft); }

/* Pantallas medianas y chicas */
@media (max-width: 900px) {
  .nav { display: none; }
  .top-in .btn { margin-left: auto; }
  .hero { padding: 48px 0 56px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { height: 300px; max-width: 420px; width: 100%; margin-inline: auto; }
  .piece-post { width: 180px; height: 225px; margin-left: -90px; top: 40px; }
  .piece-story, .piece-reel { width: 120px; height: 213px; }
  .piece-reel { top: 70px; }
  .steps, .grid, .packs, .duo, .meet { grid-template-columns: 1fr; }
  .formats { grid-template-columns: 1fr 1fr; }
  .sec { padding: 60px 0; }
  .meet { padding: 28px 22px; }
  .pack-top { order: -1; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap, .wrap-narrow { width: calc(100% - 32px); }
  .paths { grid-template-columns: 1fr; }
  .table th, .table td { padding: 13px 14px; }
  .duo-card { padding: 26px 22px; }
  .cta-row .btn { width: 100%; white-space: normal; text-align: center; }
  .foot-in { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .path { transition: none; }
}
