/* ═══════════════════════════════════════════════════════
   DACOSTA — Prices / Transparencia Financiera
   Educational price-breakdown page per SEO/GEO blueprint §2.1
   Uses --dc-* tokens — works across 3 themes.
   ═══════════════════════════════════════════════════════ */

.dc-prices-page {
    background: var(--dbg, #080f17);
    color: var(--dtext, #f1ece1);
    min-height: 100vh;
    padding-top: 80px;
}

.dc-prices-page,
.dc-prices-page h1,
.dc-prices-page h2,
.dc-prices-page h3 {
    color: var(--dtext, #f1ece1);
}

.dc-prices-page .dc-muted {
    color: var(--dmuted, #97a0aa);
}

/* ── HERO ──────────────────────────────────────────────── */

.dc-prices__hero {
    padding: clamp(60px, 10vh, 100px) clamp(20px, 5vw, 60px) clamp(40px, 6vh, 60px);
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 30%, var(--brandSoft, rgba(214,171,89,0.16)) 0%, transparent 60%),
        var(--dbg, #080f17);
    position: relative;
    overflow: hidden;
}

.dc-prices__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--dline, rgba(255,255,255,0.04)) 1px, transparent 1px),
        linear-gradient(90deg, var(--dline, rgba(255,255,255,0.04)) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    opacity: 0.5;
}

.dc-prices__hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.dc-prices__hero-tag {
    display: inline-block;
    margin-bottom: 16px;
}

.dc-prices__hero-title {
    font-size: clamp(28px, 5vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 18px;
    font-family: 'Montserrat', sans-serif;
}

.dc-prices__hero-subtitle {
    font-size: clamp(16px, 2.2vw, 19px);
    line-height: 1.6;
    margin: 0 auto;
    max-width: 680px;
}

/* ── SECTION TITLES ────────────────────────────────────── */

.dc-prices__section-title {
    font-size: clamp(22px, 3.5vw, 30px);
    font-weight: 700;
    text-align: center;
    margin: 0 0 12px;
    font-family: 'Montserrat', sans-serif;
}

.dc-prices__section-subtitle {
    text-align: center;
    font-size: 15px;
    margin: 0 auto 36px;
    max-width: 640px;
}

/* ── INTRO ─────────────────────────────────────────────── */

.dc-prices__intro {
    padding: clamp(40px, 6vh, 60px) clamp(20px, 5vw, 40px);
}

.dc-prices__intro p {
    font-size: 16px;
    line-height: 1.75;
}

/* ── TABLE ─────────────────────────────────────────────── */

.dc-prices__table-section {
    padding: clamp(40px, 6vh, 60px) clamp(20px, 5vw, 40px);
    background:
        linear-gradient(180deg, transparent 0%, var(--brandSoft, rgba(214,171,89,0.16)) 50%, transparent 100%),
        var(--dbg, #080f17);
}

.dc-prices__table-wrap {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid var(--dline, rgba(255,255,255,0.08));
    background: rgba(255,255,255,0.02);
    /* Fix corner transparency: clip child backgrounds to the rounded shape */
    -webkit-mask-image: linear-gradient(#000 0 0);
    mask-image: linear-gradient(#000 0 0);
}

.dc-prices__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    /* Inherit rounded corners so thead bg doesn't overflow the wrap */
    border-radius: 14px;
    overflow: hidden;
}

.dc-prices__table thead {
    background: var(--brandSoft, rgba(214,171,89,0.16));
}

.dc-prices__table th {
    text-align: left;
    padding: 16px 18px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand, #d6ab59);
    font-weight: 700;
    border-bottom: 1px solid var(--dline, rgba(255,255,255,0.08));
}

.dc-prices__table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--dline, rgba(255,255,255,0.04));
    vertical-align: top;
}

.dc-prices__table tr:last-child td {
    border-bottom: none;
}

.dc-prices__table tr:hover td {
    background: rgba(255,255,255,0.03);
}

.dc-prices__table td:nth-child(2) {
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    color: var(--brand, #d6ab59);
    font-weight: 600;
}

.dc-prices__placeholder {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
    border: 1px dashed var(--dline, rgba(255,255,255,0.16));
    border-radius: 12px;
    color: var(--dmuted, #97a0aa);
}

/* ── VARIABLES ─────────────────────────────────────────── */

.dc-prices__variables {
    padding: clamp(40px, 6vh, 60px) clamp(20px, 5vw, 40px);
}

.dc-prices__variables-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.dc-prices__variable-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--dline, rgba(255,255,255,0.08));
    border-radius: 14px;
    padding: 26px 22px;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
}

.dc-prices__variable-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.22);
}

.dc-prices__variable-num {
    position: absolute;
    top: 16px;
    right: 22px;
    font-size: 56px;
    font-weight: 800;
    color: var(--brandSoft, rgba(214,171,89,0.16));
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
}

.dc-prices__variable-title {
    font-size: 19px;
    margin: 0 0 10px;
    font-family: 'Montserrat', sans-serif;
}

.dc-prices__variable-text {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ── CALCULATOR ────────────────────────────────────────── */

.dc-prices__calculator {
    padding: clamp(40px, 6vh, 60px) clamp(20px, 5vw, 40px);
    background:
        linear-gradient(180deg, transparent 0%, var(--brandSoft, rgba(214,171,89,0.16)) 50%, transparent 100%),
        var(--dbg, #080f17);
}

.dc-prices__calc-placeholder {
    text-align: center;
    padding: 30px;
    border: 1px dashed var(--dline, rgba(255,255,255,0.16));
    border-radius: 10px;
    color: var(--dmuted, #97a0aa);
    margin: 0;
}

/* ── DISCLAIMER ────────────────────────────────────────── */

.dc-prices__disclaimer {
    padding: clamp(30px, 4vh, 50px) clamp(20px, 5vw, 40px);
}

.dc-prices__disclaimer p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--dmuted, #97a0aa);
    text-align: center;
    border-top: 1px solid var(--dline, rgba(255,255,255,0.06));
    padding-top: 30px;
}

/* ── FINAL CTA ─────────────────────────────────────────── */

.dc-prices__final-cta {
    padding: clamp(60px, 10vh, 100px) clamp(20px, 5vw, 40px);
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 50%, var(--brandSoft, rgba(214,171,89,0.16)) 0%, transparent 60%),
        var(--dbg, #080f17);
}

.dc-prices__final-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    margin: 0 0 14px;
    font-family: 'Montserrat', sans-serif;
}

.dc-prices__final-subtitle {
    font-size: 16px;
    margin: 0 auto 30px;
    max-width: 520px;
}

.dc-prices__final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
    .dc-prices__variable-card:hover {
        transform: none;
    }
}
