﻿:root {
    --yellow: #FFDD05;
    --black: #0C0C0C;
    --soft-gray: #f3f3f3;
    --text: #191919;
    --radius: 20px;
}

body {
    background: #EFEFEF;
}

/*.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #FFDD05;
}*/

.pricing-wrap {
    max-width: 1280px;
    margin-inline: auto;
    padding: 40px 16px 80px;
}

.title-section {
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center;
    color: #222;
    margin-bottom: 20px;
}

/* ===== Card ===== */
.plan-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease;
    /* border: 1px solid rgba(0,0,0,.08); */
    /* border: 0; */
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .plan-card:hover {
        box-shadow: 0 16px 40px rgba(0,0,0,.16);
        transform: translateY(-3px);
    }

/* Header */
.plan-head {
    background: var(--black);
    color: #fff;
    text-align: center;
    padding: 20px 18px 0;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    position: relative;
}

    .plan-head h6 {
        font-weight: 400;
        letter-spacing: .12rem;
        /* opacity: .9; */
        margin-bottom: 8px;
    }

.plan-name {
    font-weight: 900;
    font-size: 1.5rem;
    margin: 0 0 18px;
}

.plan-belt {
    height: 100px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(0,0,0,.06);
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-weight: 900;
    font-size: 3.3rem;
    color: #000;
}

    .plan-price small {
        font-size: 1rem;
        font-weight: 700;
        color: #000;
    }

.plan-oldprice {
    display: block;
    font-size: .95rem;
    color: #d10000;
    text-decoration: line-through;
    font-weight: 800;
    margin-top: 4px;
}

.plan-oldlabel {
    font-size: .75rem;
    color: #777;
    font-weight: 600;
    margin-left: 6px;
}

/* Body */
.plan-body {
    padding: 18px 12px 15px;
    /*text-align: center;*/
    color: var(--text);
    flex: 1;
}

    .plan-body ul {
        list-style: none;
        margin: 0;
        padding: 8px 0 4px;
    }

    .plan-body li {
        padding: 6px 0;
        font-size: .8rem;
    }

        .plan-body li .fa-check {
            color: #0db473;
            margin-right: 8px;
        }

        .plan-body li.muted {
            color: #b9b9b9;
        }

.plan-note {
    font-size: .8rem;
    color: #8a8a8a;
    margin-top: 10px;
}

.plan-cta {
    padding: 16px 22px 22px;
}

.btn-cta {
    width: 100%;
    height: 46px;
    border-radius: 20px;
    /* font-weight: 900; */
    letter-spacing: .02rem;
    /* box-shadow: 0 4px 0 rgba(0,0,0,.85); */
    transition: filter .2s ease, transform .05s ease;
}

    .btn-cta:active {
        transform: translateY(1px);
        box-shadow: 0 3px 0 rgba(0,0,0,.85);
    }

/* .btn-cta:hover span {
                                                                        color: #FFDD05;
                                                                    } */

/* Variantes */
.header--yellow {
    background: var(--black);
}

.belt--gray {
    background: #F2F2F2;
}

.belt--yellow {
    background: var(--yellow);
}

.btn-black {
    background: #fff !important;
    /* color: #fff; */
    border: 1px solid #ccc !important;
}

    .btn-black:hover {
        border: 1px solid #000 !important;
        background: #000 !important;
        /* filter: brightness(1.08); */
        color: #fff !important;
    }

        .btn-black:hover span {
            color: #FFDD05 !important;
        }

.btn-yellow {
    background: var(--yellow);
    color: #000;
    border: 0;
}

    .btn-yellow:hover {
        /* filter: brightness(0.95); */
        color: #000;
    }

/* Empresa (negro total) */
.plan-card.plan-empresa {
    /* background: #000; */
    color: #fff;
    border-color: #000;
}

    .plan-card.plan-empresa .plan-head {
        background: var(--yellow);
        color: #000;
    }

    .plan-card.plan-empresa .plan-belt {
        background: #000;
        border-color: #222;
    }

    .plan-card.plan-empresa .plan-body {
        background: #000;
        color: #fff;
    }

    .plan-card.plan-empresa .plan-note {
        color: #cfcfcf;
    }

    .plan-card.plan-empresa .plan-footer {
        background: #000;
        color: #fff;
    }

        .plan-card.plan-empresa .plan-footer .btn-cta {
            /* box-shadow: 0 4px 0 #3b3b03; */
        }

/* Íconos del título */
.fa-star {
    margin-left: 8px;
    /* font-size: .9rem; */
}

.fa-award {
    margin-left: 8px;
}

/* Responsivo: separaciones */
.g-pricing {
    row-gap: 24px;
}


.margin-top {
    margin-top: 120px;
}


/* .plan-card-premium {
                                            border: 3px solid transparent;
                                            border-top-left-radius: 23px;
                                            border-top-right-radius: 23px;
                                            border-bottom-left-radius: 20px;
                                            border-bottom-right-radius: 20px;
                                            background-image: linear-gradient(#fff, #fff), linear-gradient(45deg, #4285F4, #9c27b0, #f44336, #fbc02d, #0f9d58);
                                            background-origin: border-box;
                                            background-clip: content-box, border-box;
                                        } */
/* Premium con borde degradado + banderín en esquina superior derecha */
.plan-card-premium {
    /* — Borde degradado multicolor — */
    border: 3px solid transparent;
    border-radius: 23px;
    background-image: linear-gradient(#fff, #fff), linear-gradient(45deg, #4285F4, #9c27b0, #f44336, #fbc02d, #0f9d58);
    background-origin: border-box;
    background-clip: content-box, border-box;
    /* — Necesario para posicionar el ribbon — */
    position: relative;
}

    /* Banderín (imagen) */
    .plan-card-premium::after {
        content: "";
        position: absolute;
        /* ajusta estos offsets si lo quieres más pegado al borde */
        top: 0px;
        right: 15px;
        /* tamaño del banderín */
        width: 30px; /* Ajusta según tu SVG/PNG */
        height: 35px; /* Ajusta según tu SVG/PNG */
        background: url('../img/icons/limited-offer-ribbon.png') no-repeat center / contain;
        /* no debe interferir con clics del botón */
        pointer-events: none;
        z-index: 5;
    }

/* Opcional: en pantallas pequeñas, reduce el tamaño del banderín */
@media (max-width: 576px) {
    .plan-card-premium::after {
        width: 34px;
        height: 44px;
        top: 10px;
        right: 10px;
    }
}

table {
    font-size: 0.8rem !important;
}
