
/* =========================================================
   WIDGET GENERAL
========================================================= */

.uc-planes-widget {
    max-width: 1500px;
    margin: 0 auto;
    padding: 55px 20px;
    font-family: Arial, Helvetica, sans-serif;
    color: #1e293b;
}


/* =========================================================
   CABECERA
========================================================= */

.uc-planes-header {
    text-align: center;
    margin-bottom: 45px;
}

.uc-planes-eyebrow {
    display: inline-block;
    padding: 7px 15px;
    margin-bottom: 14px;

    background: #02b;
    color: #fff;

    border-radius: 50px;

    font-size: 13px;
    font-weight: 700;
}

.uc-planes-header h2 {
    margin: 0 0 12px;

    font-size: 36px;
    line-height: 1.15;

    color: #111827;
}

.uc-planes-header p {
    max-width: 720px;
    margin: 0 auto;

    color: #fff;

    font-size: 16px;
    line-height: 1.6;
}


/* =========================================================
   GRID
========================================================= */

.uc-planes-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;

    align-items: stretch;
}


/* =========================================================
   TARJETAS
========================================================= */

.uc-plan {
    --uc-color: #64748b;

    position: relative;

    display: flex;
    flex-direction: column;

    height: 100%;

    background: #ffffff;

    border: 1px solid #dce2e8;
    border-radius: 18px;

    padding: 30px 23px 24px;

    box-shadow: 0 5px 18px rgba(15, 23, 42, .04);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease,
        min-height .35s ease;
}

.uc-plan::before {
    content: "";

    position: absolute;
    top: 0;
    left: 15px;
    right: 15px;

    height: 5px;

    background: var(--uc-color);

    border-radius: 0 0 8px 8px;
}

.uc-plan:hover {
    transform: translateY(-6px);

    box-shadow:
        0 16px 40px rgba(15, 23, 42, .10);
}


/* colores */

.uc-plan-gratis {
    --uc-color: #64748b;
}

.uc-plan-publicacion {
    --uc-color: #0ea5e9;
}

.uc-plan-recomendado {
    --uc-color: #16a34a;

    border: 2px solid #16a34a;
}

.uc-plan-destacado {
    --uc-color: #2563eb;

    border: 2px solid #2563eb;

    box-shadow:
        0 12px 32px rgba(37, 99, 235, .12);
}


/* =========================================================
   BADGE
========================================================= */

.uc-plan-badge {
    position: absolute;

    top: -17px;
    left: 50%;

    transform: translateX(-50%);

    padding: 7px 16px;

    background: var(--uc-color);
    color: white;

    border-radius: 50px;

    white-space: nowrap;

    font-size: 11px;
    font-weight: 800;

    box-shadow: 0 5px 14px rgba(0,0,0,.15);
}


/* =========================================================
   CONTENIDO
========================================================= */

.uc-plan-icon {
    margin-bottom: 14px;

    font-size: 28px;
}

.uc-plan h3 {
    margin: 0 0 8px;

    color: #111827;

    font-size: 24px;
}

.uc-plan-subtitle {
    min-height: 43px;

    margin: 0;

    color: #7c8798;

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   PRECIO
========================================================= */

.uc-plan-price {
    margin-top: 22px;

    color: #111827;
}

.uc-plan-price strong {
    font-size: 34px;
    line-height: 1;
}

.uc-plan-period {
    min-height: 18px;

    margin-top: 6px;
    margin-bottom: 22px;

    color: #8b95a5;

    font-size: 13px;
}


/* =========================================================
   BENEFICIOS
========================================================= */

.uc-plan-features {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.uc-plan-features li {
    position: relative;

    display: block;

    margin: 0 0 12px 0 !important;
    padding: 0 0 0 25px !important;

    color: #475569;

    font-size: 14px;
    line-height: 1.45;

    letter-spacing: normal;
    overflow: visible;
}

.uc-plan-features li::before {
    content: "\2713";

    position: absolute;

    left: 0;
    top: 0;

    color: var(--uc-color);

    font-weight: 800;
}


/* =========================================================
   BENEFICIOS EXTRA
========================================================= */

/*
   Cerrado: directamente no existe visualmente.
   De esta manera evitamos cualquier recorte de texto.
*/

.uc-plan-extra {
    display: none;
}


/*
   Abierto: mostramos TODO el contenido.
*/

.uc-plan.uc-open .uc-plan-extra {
    display: block;
}


/*
   Eliminamos cualquier espacio heredado
   del CSS general de Ushuaia City.
*/

.uc-plan-extra .uc-plan-features {
    margin: 0 !important;
    padding: 0 !important;
}

.uc-plan-extra .uc-plan-features li:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* =========================================================
   BOTÓN VER MÁS
========================================================= */

.uc-more-btn {
    width: 100%;

    margin-top: 10px;
    margin-bottom: 14px;

    padding: 11px;

    border: 0;

    background: transparent;
    color: var(--uc-color);

    cursor: pointer;

    font-size: 13px;
    font-weight: 700;
}

.uc-more-btn:hover {
    text-decoration: underline;
}


/* =========================================================
   BOTÓN PLAN
========================================================= */

.uc-plan-btn {
    width: 100%;

    margin-top: auto;

    padding: 14px 12px;

    border: 2px solid var(--uc-color);
    border-radius: 9px;

    background: #ffffff;
    color: var(--uc-color);

    cursor: pointer;

    font-size: 14px;
    font-weight: 800;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.uc-plan-btn:hover {
    background: var(--uc-color);
    color: white;

    transform: translateY(-1px);
}

.uc-plan-recomendado .uc-plan-btn,
.uc-plan-destacado .uc-plan-btn {
    background: var(--uc-color);
    color: white;
}

.uc-plan-recomendado .uc-plan-btn:hover,
.uc-plan-destacado .uc-plan-btn:hover {
    filter: brightness(.92);
}


/* =========================================================
   NOTA
========================================================= */

.uc-plan-note {
    display: block;

    margin-top: 10px;

    text-align: center;

    color: #94a3b8;

    font-size: 11px;
}


/* =========================================================
   MODAL
========================================================= */

.uc-plan-modal {
    display: none;

    position: fixed;
    inset: 0;

    z-index: 999999;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(15, 23, 42, .72);
}

.uc-plan-modal.uc-active {
    display: flex;
}

.uc-plan-modal-box {
    position: relative;

    width: 100%;
    max-width: 460px;

    padding: 34px;

    background: white;

    border-radius: 18px;

    box-shadow:
        0 20px 60px rgba(0,0,0,.22);
}

.uc-plan-modal-box h3 {
    margin: 0 0 10px;

    color: #111827;

    font-size: 24px;
}

.uc-plan-modal-box p {
    margin: 0 0 22px;

    color: #64748b;

    font-size: 15px;
    line-height: 1.6;
}

.uc-plan-modal-close {
    position: absolute;

    right: 15px;
    top: 10px;

    border: 0;
    background: transparent;

    color: #64748b;

    cursor: pointer;

    font-size: 30px;
}

.uc-plan-whatsapp {
    display: block;

    padding: 14px;

    background: #25d366;
    color: white;

    border-radius: 9px;

    text-align: center;
    text-decoration: none;

    font-weight: 800;
}

.uc-plan-whatsapp:hover {
    background: #20bd5a;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1150px) {

    .uc-planes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 20px;
    }

}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 650px) {

    .uc-planes-widget {
        padding: 40px 14px;
    }

    .uc-planes-header {
        margin-bottom: 38px;
    }

    .uc-planes-header h2 {
        font-size: 27px;
    }

    .uc-planes-header p {
        font-size: 14px;
    }

    .uc-planes-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .uc-plan-subtitle {
        min-height: auto;
    }

}