/* ==========================================================
   VOTE360 — Landings de EMBUDO de PAUTA (Meta/Google Ads)
   Tema navy + dorado, optimizado para conversión de tráfico pagado.
   Usado por: Pages/pauta_electoral.ctp y Pages/pauta_gobierno.ctp
   Una sola columna, foco único, CTA repetido, sin nav que distraiga.
   ========================================================== */

:root {
  --bg: #00042e;
  --bg-2: #060933;
  --ink: #fafaf7;
  --ink-2: rgba(250, 250, 247, 0.74);
  --ink-3: rgba(250, 250, 247, 0.5);
  --line: rgba(233, 213, 154, 0.16);
  --line-strong: rgba(233, 213, 154, 0.3);
  --gold-1: #f3e3b6;
  --gold-2: #e9d59a;
  --gold-3: #ddc587;
  --gold-4: #c7a563;
  --success: #40dc8a;
  --danger: #f06262;
  --radius: 14px;
  --radius-lg: 22px;
  --max-w: 1060px;
  --gutter: clamp(18px, 4vw, 40px);
  --t-fast: 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pauta * { box-sizing: border-box; }
.pauta h1, .pauta h2, .pauta h3, .pauta p, .pauta ul, .pauta figure { margin: 0; padding: 0; }
.pauta ul { list-style: none; }
.pauta a { color: inherit; text-decoration: none; }
.pauta img { display: block; max-width: 100%; }

html, body.pauta {
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}
body.pauta {
  background:
    radial-gradient(1100px 560px at 50% -8%, rgba(221, 197, 135, 0.09), transparent 60%),
    var(--bg);
  min-height: 100vh;
  padding-bottom: 88px; /* espacio para sticky CTA en móvil */
}
::selection { background: var(--gold-3); color: var(--bg); }

.pauta .mono { font-family: "Geist Mono", ui-monospace, monospace; letter-spacing: 0; }
.pauta .gold-text {
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 40%, var(--gold-4));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.shell { width: 100%; max-width: var(--max-w); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Barra superior minimal (sin nav de navegación) ---------- */
.pauta-bar { position: sticky; top: 0; z-index: 50; background: rgba(0,4,46,0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.pauta-bar .shell { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.pauta-brand { display: flex; align-items: center; gap: 10px; }
.pauta-brand img { width: 26px; height: 26px; border-radius: 5px; }
.pauta-brand .word { font-weight: 700; letter-spacing: -0.01em; }
.pauta-brand .word b { color: var(--gold-2); }
.pauta-bar .bar-phone { font-size: 14px; color: var(--ink-2); }
.pauta-bar .bar-phone strong { color: var(--gold-2); }
@media (max-width: 560px) { .pauta-bar .bar-phone { display: none; } }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 999px; font-size: 16px; font-weight: 600; letter-spacing: -0.005em; transition: transform var(--t-fast), box-shadow var(--t-fast); white-space: nowrap; cursor: pointer; border: 0; }
.btn-primary { background: linear-gradient(180deg, var(--gold-2), var(--gold-4)); color: #1a1407; box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 12px 30px -10px rgba(221,197,135,0.55); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 18px 42px -10px rgba(221,197,135,0.75); }
.btn-wa { background: #25D366; color: #04210f; }
.btn-wa:hover { transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn .arrow { transition: transform var(--t-fast); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { padding: 54px 0 36px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-3); box-shadow: 0 0 12px var(--gold-3); }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; }
.hero .sub { font-size: clamp(17px, 1.8vw, 21px); color: var(--ink-2); margin-top: 18px; max-width: 46ch; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: start; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; } }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; }
.trust-row .ti { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.trust-row .ti svg { color: var(--gold-3); flex: none; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Tarjeta de formulario ---------- */
.lead-card { background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8); }
.lead-card .lc-head { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(64,220,138,0.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(64,220,138,0); } 100% { box-shadow: 0 0 0 0 rgba(64,220,138,0); } }
.lead-card .lc-tag { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.12em; color: var(--ink-3); }
.lead-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.lead-card .lc-note { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

/* Formulario nativo */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-top: 12px; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select { width: 100%; padding: 13px 14px; border-radius: 11px; background: rgba(0,0,0,0.25); border: 1px solid var(--line); color: var(--ink); font: inherit; font-size: 15px; transition: border-color var(--t-fast); }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold-3); }
.field input::placeholder { color: var(--ink-3); }
.consent { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--ink-3); margin-top: 14px; line-height: 1.45; }
.consent input { margin-top: 2px; accent-color: var(--gold-3); }
.form-msg { font-size: 13px; margin-top: 10px; min-height: 18px; }
.form-msg.err { color: var(--danger); }
.form-msg.ok { color: var(--success); }

/* ---------- Secciones ---------- */
.sec { padding: 48px 0; border-top: 1px solid var(--line); }
.sec h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; }
.sec .sec-lead { color: var(--ink-2); font-size: 18px; margin-top: 14px; max-width: 60ch; }
.sec-eyebrow { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-3); }

/* Bullets de dolor → solución */
.painsol { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
@media (max-width: 760px) { .painsol { grid-template-columns: 1fr; } }
.ps-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent); }
.ps-card .ps-x { color: var(--danger); font-weight: 700; }
.ps-card .ps-v { color: var(--gold-2); font-weight: 700; }
.ps-card p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }

/* Features / módulos */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
@media (max-width: 820px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feat-grid { grid-template-columns: 1fr; } }
.feat { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feat .fi { width: 38px; height: 38px; border-radius: 10px; background: rgba(233,213,154,0.1); display: flex; align-items: center; justify-content: center; color: var(--gold-2); margin-bottom: 12px; }
.feat h3 { font-size: 17px; font-weight: 600; }
.feat p { color: var(--ink-2); font-size: 14px; margin-top: 6px; }

/* Métricas / prueba */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
@media (max-width: 680px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; }
.stat strong { display: block; font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -0.03em; }
.stat span { font-size: 13px; color: var(--ink-3); }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; counter-reset: step; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(180deg, var(--gold-2), var(--gold-4)); color: #1a1407; font-weight: 700; margin-bottom: 12px; }
.step h3 { font-size: 17px; font-weight: 600; }
.step p { color: var(--ink-2); font-size: 14px; margin-top: 6px; }

/* FAQ (details nativo, visible sin JS) */
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 17px; font-weight: 500; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item .ic { color: var(--gold-3); transition: transform var(--t-fast); flex: none; }
.faq-item[open] .ic { transform: rotate(180deg); }
.faq-a { padding: 0 0 18px; color: var(--ink-2); font-size: 15px; max-width: 70ch; }

/* Banda CTA final */
.cta-band { margin-top: 28px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 30px; text-align: center; background: linear-gradient(180deg, rgba(233,213,154,0.06), transparent); }
.cta-band h2 { font-size: clamp(24px, 3.2vw, 36px); }
.cta-band .cta-sub { color: var(--ink-2); margin-top: 10px; }
.cta-band .hero-ctas { justify-content: center; }

/* Footer mínimo */
.pauta-foot { padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.pauta-foot .shell { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.pauta-foot a { color: var(--ink-2); text-decoration: underline; }

/* Sticky CTA móvil */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; padding: 12px var(--gutter); background: rgba(0,4,46,0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.sticky-cta .btn { width: 100%; }
@media (max-width: 880px) { .sticky-cta { display: block; } }

/* WhatsApp FAB (oculto en móvil para no chocar con sticky CTA) */
.wa-fab { position: fixed; right: 20px; bottom: 24px; z-index: 55; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px; background: #25D366; color: #04210f; font-weight: 600; box-shadow: 0 12px 30px -8px rgba(37,211,102,0.5); }
@media (max-width: 880px) { .wa-fab { display: none; } }
