/* Focused visual refresh for the pricing section on the homepage. */
#precios {
    scroll-margin-top: 94px;
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 68%);
}

#precios .pricing-heading {
    max-width: 760px;
    margin: 0 auto 26px;
    text-align: center;
}

#precios .section-title {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 auto 10px;
    padding: 0;
    font-size: clamp(2.35rem, 4vw, 3.55rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
    text-align: center;
    text-wrap: balance;
}

#precios .section-subtitle {
    max-width: 610px;
    min-height: 0;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    line-height: 1.55;
}

#precios .pricing-tabs {
    margin-top: 0;
}

#precios .pricing-tab-list {
    width: fit-content;
    max-width: 100%;
    gap: 4px;
    padding: 6px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #edf2f7;
    box-shadow: none;
}

#precios .pricing-tab {
    min-height: 44px;
    padding: 0.75rem 1.25rem;
}

#precios .pricing-tab:focus-visible {
    outline: 2px solid #d97706;
    outline-offset: 2px;
}

#precios .pricing-section-intro {
    margin-bottom: 1.75rem;
}

#precios .pricing-section-title {
    font-size: 1.1rem;
}

#precios .pricing-card-featured {
    border: 1px solid #dfe5ec;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

#precios .pricing-card {
    padding: 1.6rem;
}

#precios .plan-features li {
    padding: 0.35rem 0;
}

#precios .plan-features-compact {
    padding: 0.8rem 0;
    margin-bottom: 1rem;
}

#precios .pricing-compare-link {
    margin: 1.3rem auto 0;
    text-align: center;
}

#precios .pricing-compare-link a {
    color: #92400e;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

#precios .pricing-compare-link a:hover {
    color: #78350f;
}

#precios .pricing-card-recommended {
    border-color: #e9b46c;
    box-shadow: 0 16px 40px rgba(180, 83, 9, 0.12);
}

#precios .pricing-card-recommended::after {
    height: 4px;
    background: #d97706;
}

#precios .pricing-card-recommended .plan-badge {
    color: #92400e;
    background: #fff3df;
    border-color: #f5d4a3;
}

#precios .pricing-card-recommended .plan-badge-dot {
    background: #d97706;
}

#precios .pricing-card-recommended > .btn.btn-dark {
    background: #d97706 !important;
    border-color: #d97706 !important;
    color: #fff !important;
}

#precios .pricing-card-recommended > .btn.btn-dark:hover {
    background: #b45309 !important;
    border-color: #b45309 !important;
}

@media (max-width: 600px) {
    #precios .pricing-card {
        padding: 1.35rem;
    }

    #precios .pricing-tab-list {
        width: 100%;
        flex-wrap: nowrap;
    }

    #precios .pricing-tab {
        flex: 1 1 0;
        min-width: 0;
        padding: 0.7rem 0.35rem;
        font-size: 0.82rem;
    }
}
