/* =========================
   HERO PRECIOS
========================= */
.pricing-hero {
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(135deg, #153c9a 0%, #2563eb 52%, #60a5fa 100%);
    color: #fff;
    padding: 104px 0 92px;
    text-align: center;
}

.pricing-hero h1 {
    margin: 0;
    font-size: clamp(2.3rem, 5vw, 4.1rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.pricing-hero .subtitle {
    max-width: 760px;
    margin: 18px auto 0;
    opacity: .95;
    font-size: 1.08rem;
    line-height: 1.8;
}

/* =========================
   SECCION PRECIOS
========================= */
.pricing-section {
    padding: 88px 0 42px;
    background:
        linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.pricing-card {
    max-width: none;
    margin: 0;
    background: #fff;
    border-radius: 28px;
    padding: 34px 34px 32px;
    text-align: left;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .10);
    border: 1px solid rgba(37, 99, 235, .08);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #93c5fd 0%, #2563eb 100%);
}

.pricing-card--featured {
    border: 2px solid #2b7bff;
    box-shadow: 0 26px 64px rgba(43, 123, 255, .18);
    transform: translateY(-8px);
}

.pricing-card--featured::after {
    content: "Recomendado";
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(43, 123, 255, .12);
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pricing-card--details {
    margin-top: 28px;
    max-width: 100%;
}

.pricing-card h2 {
    margin: 18px 0 0;
    font-size: 2rem;
    color: #0f172a;
}

.pricing-card .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #4f91ff 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
}

.price {
    margin: 24px 0 14px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    flex-wrap: wrap;
}

.price .currency {
    font-size: 24px;
    font-weight: 700;
    color: #1d4ed8;
    margin-top: 8px;
}

.price .amount {
    font-size: clamp(3.4rem, 7vw, 4.8rem);
    font-weight: 900;
    line-height: .95;
    color: #0f172a;
    letter-spacing: -0.05em;
}

.price .period {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
    align-self: flex-end;
    margin-bottom: 10px;
}

.price-note {
    margin: 0 0 22px;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
}

.features-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    display: grid;
    gap: 10px;
}

.features-list li {
    padding: 11px 14px;
    font-size: 15px;
    line-height: 1.55;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid rgba(37, 99, 235, .08);
    color: #1e293b;
}

.btn-full {
    width: 100%;
    margin-top: 24px;
    justify-content: center;
}

.trial {
    margin-top: 14px;
    font-size: 13px;
    color: #64748b;
}

/* =========================
   FAQ
========================= */
.pricing-faq {
    background: #ffffff;
    padding: 80px 0;
}

.pricing-faq h2 {
    margin: 0 0 26px;
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #0f172a;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.faq-item {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 24px;
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, .08);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.faq-item h3 {
    font-size: 18px;
    margin: 0 0 10px;
    color: #0f172a;
}

.faq-item p {
    margin: 0;
    color: #475569;
    line-height: 1.75;
}

/* =========================
   CTA
========================= */
.cta-final {
    padding: 36px 0 92px;
    background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
}

.cta-final .container {
    text-align: center;
    background: linear-gradient(135deg, #153c9a 0%, #2563eb 60%, #60a5fa 100%);
    color: #fff;
    border-radius: 30px;
    padding: 54px 28px;
    box-shadow: 0 24px 60px rgba(37, 99, 235, .20);
}

.cta-final h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.cta-final p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .92);
    font-size: 1.04rem;
}

.cta-final .btn.primary {
    min-width: 230px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
    .pricing-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card--featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .pricing-hero {
        padding: 82px 0 72px;
    }

    .pricing-section {
        padding: 56px 0 30px;
    }

    .pricing-card {
        padding: 26px 22px 24px;
        border-radius: 22px;
    }

    .pricing-card h2 {
        font-size: 1.75rem;
    }

    .price .amount {
        font-size: 3.3rem;
    }

    .features-list li {
        padding: 10px 12px;
        font-size: 14px;
    }

    .pricing-faq {
        padding: 60px 0;
    }

    .faq-item {
        padding: 20px;
        border-radius: 18px;
    }

    .cta-final {
        padding: 26px 0 70px;
    }

    .cta-final .container {
        border-radius: 24px;
        padding: 38px 18px;
    }
}

@media (max-width: 480px) {
    .pricing-hero h1 {
        font-size: 2rem;
    }

    .pricing-hero .subtitle {
        font-size: .98rem;
    }

    .pricing-card {
        padding: 22px 18px;
    }

    .price {
        gap: 4px;
    }

    .price .currency {
        font-size: 20px;
        margin-top: 7px;
    }

    .price .amount {
        font-size: 2.85rem;
    }

    .price .period {
        width: 100%;
        margin: 0;
        align-self: auto;
    }

    .pricing-card--featured::after {
        top: 14px;
        right: 14px;
        font-size: 11px;
        padding: 6px 10px;
    }

    .cta-final .btn.primary,
    .btn-full {
        width: 100%;
        min-width: 0;
    }
}
