/* ==========================================================================
   Videntes Oráculos — "amanecer místico"
   Índigo profundo + ámbar + rosa amanecer.
   Tipos: Playfair Display (títulos) + Mulish (texto).
   ========================================================================== */

:root {
    --bg:        #171034;
    --bg-2:      #1f1743;
    --panel:     rgba(255, 255, 255, 0.06);
    --panel-sol: #241b4d;
    --line:      rgba(255, 180, 92, 0.28);
    --text:      #f6f1ff;
    --muted:     #b9aed6;
    --ambar:     #ffb45c;
    --ambar-osc: #e89a3c;
    --rosa:      #ff5c8a;
    --danger:    #ff8a8a;
    --radius:    18px;
    --wrap:      1060px;
    --shadow:    0 18px 50px rgba(10, 6, 30, 0.5);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background:
        radial-gradient(900px 500px at 50% -10%, rgba(255, 92, 138, 0.22), transparent 60%),
        radial-gradient(700px 400px at 85% 20%, rgba(255, 180, 92, 0.15), transparent 55%),
        radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,.5), transparent),
        radial-gradient(1.5px 1.5px at 70% 15%, rgba(255,180,92,.55), transparent),
        radial-gradient(1px 1px at 45% 60%, rgba(255,255,255,.4), transparent),
        radial-gradient(1px 1px at 85% 75%, rgba(255,92,138,.4), transparent),
        var(--bg);
    color: var(--text);
    font-family: 'Mulish', system-ui, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.15; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
a { color: inherit; text-decoration: none; }

/* --- Botones ------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
    cursor: pointer; transition: .18s ease; border: 1px solid transparent;
    font-family: 'Mulish', sans-serif;
}
.btn-block { width: 100%; margin-top: 10px; }
.btn-sol {
    background: linear-gradient(135deg, var(--ambar), var(--rosa));
    color: #2b1230; box-shadow: 0 12px 32px rgba(255, 130, 110, 0.35);
}
.btn-sol:hover { filter: brightness(1.07); transform: translateY(-2px); }
.btn-luna { background: rgba(255,255,255,.08); border-color: var(--line); color: var(--text); }
.btn-luna:hover { border-color: var(--ambar); color: var(--ambar); }

/* --- Cabecera ------------------------------------------------------------ */
.site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(23, 16, 52, 0.88); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { font-size: 24px; }
.brand-name { font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 700; }
.brand-name em { font-style: normal; background: linear-gradient(135deg, var(--ambar), var(--rosa)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--text); }
.nav-phone { color: var(--ambar) !important; font-weight: 800; }

/* --- Hero ---------------------------------------------------------------- */
.hero { text-align: center; padding: 70px 0 46px; }
.eyebrow {
    display: inline-block; border: 1px solid var(--line); border-radius: 999px;
    padding: 7px 18px; font-size: 12.5px; font-weight: 800; letter-spacing: 2px;
    text-transform: uppercase; color: var(--ambar); margin-bottom: 20px;
}
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); max-width: 820px; margin: 0 auto 16px; }
.hero h1 em { font-style: italic; background: linear-gradient(135deg, var(--ambar), var(--rosa)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 18px; max-width: 660px; margin: 0 auto 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.trust { margin-top: 20px; color: var(--muted); font-size: 14px; }

/* ==========================================================================
   ORÁCULO DEL DÍA
   ========================================================================== */
.oraculo { padding: 30px 0 60px; text-align: center; }
.oraculo-caja {
    max-width: 620px; margin: 0 auto; position: relative;
    background: linear-gradient(160deg, var(--panel-sol), #1a1240);
    border: 1px solid var(--line); border-radius: 24px; padding: 40px 30px;
    box-shadow: var(--shadow);
}
.oraculo-caja::before {
    content: "☀"; position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
    width: 52px; height: 52px; display: grid; place-items: center; font-size: 26px;
    background: linear-gradient(135deg, var(--ambar), var(--rosa)); border-radius: 50%;
    box-shadow: 0 8px 24px rgba(255, 130, 110, .45);
}
.oraculo-titulo { font-size: clamp(24px, 3.5vw, 32px); margin: 8px 0 6px; }
.oraculo-sub { color: var(--muted); margin: 0 0 24px; font-size: 15px; }
.oraculo-msg {
    font-family: 'Playfair Display', serif; font-style: italic; font-size: 21px;
    line-height: 1.5; color: #ffe9c9; min-height: 64px; margin: 0 0 20px;
    opacity: 0; transition: opacity .8s ease;
}
.oraculo-msg.visible { opacity: 1; }
.oraculo-fecha { color: var(--muted); font-size: 13px; letter-spacing: 1px; margin: 0 0 18px; }
.oraculo-aviso {
    max-width: 440px; margin: 20px auto 0; color: var(--muted); font-size: 13.5px;
    background: rgba(255, 180, 92, .08); border: 1px dashed var(--line);
    border-radius: 12px; padding: 10px 16px;
}
.oraculo-aviso strong { color: var(--ambar); }
.oraculo-real {
    margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line);
}
.oraculo-real p { color: var(--text); margin: 0 0 16px; font-size: 15px; }
.oraculo-real-grande {
    display: inline-block; margin-top: 6px;
    font-family: 'Playfair Display', serif; font-size: 20px; line-height: 1.4;
    background: linear-gradient(135deg, var(--ambar), var(--rosa));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    font-weight: 700;
}
.oraculo-real .btn { margin: 4px; }

/* --- Secciones ------------------------------------------------------------- */
.section { padding: 64px 0; }
.section-title { font-size: clamp(28px, 4vw, 40px); text-align: center; margin: 0 0 10px; }
.section-sub { text-align: center; color: var(--muted); margin: 0 0 38px; }

/* --- Pago ------------------------------------------------------------------- */
.section--pago {
    background:
        radial-gradient(700px 300px at 50% 0%, rgba(255, 180, 92, 0.12), transparent 70%),
        var(--bg-2);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.pago-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.pago-btn {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
    background: linear-gradient(135deg, var(--ambar), var(--rosa));
    color: #2b1230; border-radius: 18px; padding: 22px 16px;
    box-shadow: 0 12px 32px rgba(255, 130, 110, 0.3); transition: transform .15s ease;
}
.pago-btn:hover { transform: translateY(-4px); }
.pago-btn--popular { outline: 3px solid #fff; }
.pago-tag {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: #fff; color: #2b1230; font-size: 12px; font-weight: 800;
    padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}
.pago-min { font-size: 16px; font-weight: 800; }
.pago-precio { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 700; line-height: 1; }
.pago-cta { font-size: 12.5px; font-weight: 800; letter-spacing: 1px; margin-top: 6px; }
.pago-nota { text-align: center; color: var(--muted); font-size: 14px; margin: 26px 0 0; }
.pago-nota a { color: var(--ambar); font-weight: 800; }

/* --- Tipos de videntes (SEO) -------------------------------------------------- */
.tipos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.tipo {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px; backdrop-filter: blur(4px);
}
.tipo h3 { font-size: 20px; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; color: var(--ambar); }
.tipo h3 span { font-size: 24px; }
.tipo p { color: var(--muted); margin: 0; font-size: 14.5px; }

/* --- FAQ ----------------------------------------------------------------------- */
.faq { max-width: 720px; margin: 0 auto; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 15.5px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "☀"; position: absolute; right: 20px; color: var(--ambar); transition: transform .2s; font-size: 14px; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { color: var(--muted); padding: 0 20px 16px; margin: 0; font-size: 14.5px; }

/* --- Footer ---------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; background: rgba(0,0,0,.25); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 14px; }
.footer-note a { color: var(--ambar); font-weight: 800; }

/* ==========================================================================
   Checkout y resultado (tema amanecer)
   ========================================================================== */
.btn-gold { background: linear-gradient(135deg, var(--ambar), var(--rosa)); color: #2b1230; box-shadow: 0 12px 32px rgba(255,130,110,.35); }
.btn-gold:hover { filter: brightness(1.07); transform: translateY(-2px); }
.btn-gold:disabled { opacity: .6; cursor: default; transform: none; }
.btn-outline { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--ambar); color: var(--ambar); }
.btn-ghost { background: rgba(255,255,255,.08); border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--ambar); }
.nav-back { color: var(--muted); font-size: 15px; }
.nav-back:hover { color: var(--ambar); }

.checkout { padding: 46px 0 80px; }
.checkout-grid { display: grid; grid-template-columns: 340px 1fr; gap: 34px; align-items: start; }
.summary {
    background: var(--panel-sol); border: 1px solid var(--line); border-top: 4px solid var(--ambar);
    border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
    position: sticky; top: 92px;
}
.summary h2 { font-size: 22px; margin: 0 0 18px; }
.summary-row, .summary-total { display: flex; justify-content: space-between; align-items: baseline; }
.summary-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary-blurb { color: var(--muted); font-size: 14px; padding: 12px 0; margin: 0; }
.summary-total { padding-top: 14px; font-size: 18px; }
.summary-total strong { color: var(--ambar); font-size: 26px; font-family: 'Playfair Display', serif; }
.summary-secure { margin-top: 18px; color: var(--muted); font-size: 13px; }
.summary-secure a { color: var(--ambar); font-weight: 700; }
.pay h1 { font-size: 30px; margin: 0 0 8px; }
.pay-sub { color: var(--muted); margin: 0 0 22px; font-size: 15px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; color: var(--muted); }
.field input {
    width: 100%; padding: 13px 15px; border-radius: 12px; font-size: 15px;
    background: var(--panel-sol); border: 1px solid var(--line); color: var(--text);
    font-family: 'Mulish', sans-serif;
}
.field input:focus { outline: none; border-color: var(--ambar); }
.field input[readonly] { opacity: .7; }
.pay-divider { text-align: center; margin: 26px 0 18px; position: relative; color: var(--muted); font-size: 13px; }
.pay-divider::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--line); }
.pay-divider span { position: relative; background: var(--bg); padding: 0 12px; }
#payment-element { margin-bottom: 8px; min-height: 90px; }
.pay-loading { color: var(--muted); font-size: 14px; text-align: center; padding: 22px 0; }
.error { color: var(--danger); background: rgba(255,138,138,.08); border: 1px solid rgba(255,138,138,.3); border-radius: 12px; padding: 12px 14px; margin-top: 14px; font-size: 14px; }
.legal { color: var(--muted); font-size: 12.5px; margin-top: 18px; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(43,18,48,.35); border-top-color: #2b1230; border-radius: 50%; display: inline-block; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.result { padding: 90px 0; text-align: center; }
.result-inner { max-width: 560px; margin: 0 auto; }
.result-icon { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; font-size: 40px; margin: 0 auto 24px; font-weight: 700; }
.result-icon.ok { background: rgba(120,220,150,.13); color: #79dc96; border: 2px solid rgba(120,220,150,.4); }
.result-icon.pending { background: rgba(255,180,92,.14); color: var(--ambar); border: 2px solid var(--line); }
.result-icon.fail { background: rgba(255,138,138,.12); color: var(--danger); border: 2px solid rgba(255,138,138,.35); }
.result h1 { font-size: 36px; margin: 0 0 14px; }
.result-lead { color: var(--muted); font-size: 18px; margin: 0 0 10px; }
.result-detail { color: var(--ambar); font-style: italic; margin: 0 0 24px; }
.result .btn { margin-top: 26px; }
.call-now {
    display: inline-flex; align-items: center; gap: 12px; margin: 18px auto 6px;
    padding: 18px 36px; border-radius: 999px;
    font-family: 'Playfair Display', serif; font-size: clamp(24px, 5vw, 34px); font-weight: 700;
    background: linear-gradient(135deg, var(--ambar), var(--rosa)); color: #2b1230;
    box-shadow: 0 14px 40px rgba(255, 130, 110, 0.4); animation: pulse 1.8s ease-in-out infinite;
}
.call-hint { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }

/* --- Responsive ---------------------------------------------------------------------- */
@media (max-width: 760px) {
    .nav a:not(.nav-phone) { display: none; }
    .checkout-grid { grid-template-columns: 1fr; }
    .summary { position: static; order: 2; }
}
