/* Mapa Interior — identidad visual */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
    --bg-deep: #0f1419;
    --bg-card: rgba(255, 252, 247, 0.97);
    --bg-card-muted: rgba(255, 252, 247, 0.06);
    --text: #1c2430;
    --text-soft: #5a6578;
    --text-on-dark: #e8e4dc;
    --text-muted-dark: #9aa3b0;
    --gold: #c4a574;
    --gold-light: #e8d5b0;
    --gold-dark: #8b7349;
    --accent: #2d4a5e;
    --accent-hover: #3d6278;
    --border: rgba(196, 165, 116, 0.35);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    --shadow-soft: 0 8px 24px rgba(15, 20, 25, 0.08);
    --radius: 14px;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-ui: 'Source Sans 3', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-ui);
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(196, 165, 116, 0.15), transparent 55%),
        radial-gradient(circle at 20% 80%, rgba(45, 74, 94, 0.25), transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(196, 165, 116, 0.08), transparent 35%),
        var(--bg-deep);
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
}

main { flex: 1; width: 100%; }

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 20px 56px;
}
.container--narrow { max-width: 520px; }

/* Header de sitio */
.site-header {
    text-align: center;
    padding: 40px 20px 32px;
    max-width: 680px;
    margin: 0 auto;
}
.site-logo {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-light);
    text-decoration: none;
    display: inline-block;
}
.site-logo:hover { color: #fff; }
.site-ornament {
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 14px auto 0;
}

/* Tipografía en hero (fondo oscuro) */
.page-hero {
    text-align: center;
    padding-bottom: 36px;
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 2.75rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.page-hero .lead {
    font-size: 1.05rem;
    color: var(--text-muted-dark);
    max-width: 520px;
    margin: 0 auto 24px;
    line-height: 1.7;
}
.page-hero .lead strong { color: var(--gold-light); font-weight: 500; }

.trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.trust-pill {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted-dark);
    background: var(--bg-card-muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 100px;
}

/* Panel principal (contenido claro) */
.content-panel {
    background: var(--bg-card);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 28px 24px 32px;
    margin-top: -8px;
}

.brand { display: none; }

h1 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.2;
}
.lead {
    color: var(--text-soft);
    font-size: 1rem;
    margin-bottom: 24px;
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 12px;
}

.card {
    background: #faf9f6;
    border: 1px solid rgba(196, 165, 116, 0.2);
    border-radius: var(--radius);
    padding: 22px 22px;
    margin-bottom: 18px;
}
.card h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}
.card ul { margin-left: 0; list-style: none; color: var(--text-soft); }
.card li {
    margin-bottom: 10px;
    padding-left: 22px;
    position: relative;
    font-size: 0.95rem;
}
.card li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 8px;
    top: 6px;
}

.price-block {
    text-align: center;
    padding: 18px 0 8px;
    margin-top: 8px;
    border-top: 1px solid rgba(196, 165, 116, 0.25);
}
.price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}
.price .currency {
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-soft);
    margin-right: 4px;
}
.price-note {
    font-size: 0.9rem;
    color: var(--gold-dark);
    margin-top: 6px;
    font-weight: 500;
}

.benefits-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 4px;
}
.benefit-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(196, 165, 116, 0.15);
}
.benefit-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--accent);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
.benefit-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 2px;
}
.benefit-item span {
    font-size: 0.85rem;
    color: var(--text-soft);
}

.faq dt {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
    margin-top: 16px;
}
.faq dt:first-child { margin-top: 0; }
.faq dd {
    color: var(--text-soft);
    font-size: 0.9rem;
    margin-top: 6px;
    line-height: 1.55;
}

form.card {
    background: #fff;
    border: 1px solid rgba(45, 74, 94, 0.12);
    box-shadow: var(--shadow-soft);
}
form.card .section-label { margin-top: 0; }

.form-group { margin-bottom: 16px; }
label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-soft);
    margin-bottom: 6px;
    text-transform: uppercase;
}
input, select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dde2e8;
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-ui);
    background: #fff;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}
input::placeholder { color: #a8b0bc; }
input:focus, select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.2);
}
select { cursor: pointer; }

.row { display: flex; gap: 14px; flex-wrap: wrap; }
.row .form-group { flex: 1; min-width: 140px; }

button, .btn {
    display: inline-block;
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(180deg, var(--accent) 0%, #243d4d 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-ui);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    margin-top: 8px;
    letter-spacing: 0.02em;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 14px rgba(45, 74, 94, 0.35);
}
button:hover, .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(45, 74, 94, 0.45);
}
button:disabled {
    background: #9aa3b0;
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}
.btn--secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--border);
    box-shadow: none;
}
.btn--secondary:hover {
    background: #faf9f6;
    transform: none;
}

.checkbox-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--text-soft);
    margin: 16px 0 8px;
    line-height: 1.5;
}
.checkbox-row input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
}
.checkbox-row a {
    color: var(--accent);
    font-weight: 500;
}

.note {
    font-size: 13px;
    color: var(--text-soft);
    text-align: center;
    margin-top: 16px;
}
.disclaimer {
    font-size: 11px;
    color: #8a939f;
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
}

.error {
    background: #fef2f2;
    color: #b91c1c;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    display: none;
    font-size: 14px;
    border: 1px solid #fecaca;
}

/* Confirmación / legal */
.legal-page .content-panel { padding: 32px 28px; }
.legal h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--accent);
}
.legal .lead { font-size: 0.9rem; }
.legal h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 28px 0 10px;
    color: var(--accent);
}
.legal p, .legal li {
    color: var(--text-soft);
    margin-bottom: 12px;
    font-size: 0.95rem;
}
.legal ul { margin-left: 20px; }
.legal a { color: var(--accent); }

.status-box { text-align: center; padding: 12px 0; }
.status-box .badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin: 14px 0;
}
.badge--wait { background: #fef9e7; color: #92680a; border: 1px solid #f5e6b8; }
.badge--ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.badge--err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.order-id {
    font-family: ui-monospace, monospace;
    background: #f0ebe3;
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 28px 20px 36px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted-dark);
    background: transparent;
}
.site-footer a {
    color: var(--gold-light);
    margin: 0 12px;
    text-decoration: none;
    font-weight: 500;
}
.site-footer a:hover { color: #fff; }
.site-footer .footer-contact {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-muted-dark);
}
.site-footer .footer-contact a { margin: 0; }

@media (max-width: 480px) {
    .content-panel { padding: 22px 18px 26px; }
    .site-header { padding-top: 28px; }
    .page-hero h1 { font-size: 1.85rem; }
}
