﻿/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .body-content {
        padding: 0;
    }
}
/* ============================= */
/*      PLANES DE PRECIO         */
/* ============================= */

.plan-card {
    background: #F6F1E9;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,.10);
    overflow: hidden;
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

.plan-topbar {
    background: #F2E7D6;
    color: #0A2E59;
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .3px;
    padding: 10px 14px;
    text-align: center;
    border-bottom: 1px solid rgba(10,46,89,.10);
}

.plan-body {
    padding: 18px 20px 16px 20px;
}

.plan-title {
    color: #0A2E59;
    font-weight: 900;
    letter-spacing: 1px;
    font-size: 2rem;
    margin: 4px 0 8px 0;
    text-align: center;
}

.plan-desc {
    color: #2b2b2b;
    font-size: .95rem;
    text-align: center;
    margin-bottom: 14px;
}

.plan-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

    .plan-list li {
        display: flex;
        gap: 10px;
        align-items: flex-start;
        padding: 6px 0;
        color: #222;
        font-size: .95rem;
    }

    .plan-list i {
        color: #198754;
        margin-top: 2px;
        font-size: 1.1rem;
    }

.plan-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,.10);
}

.plan-price-label {
    color: #0A2E59;
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: .4px;
}

.plan-price {
    color: #0A2E59;
    font-weight: 900;
    font-size: 2rem;
    line-height: 1;
    white-space: nowrap;
}

.plan-footer {
    padding: 14px 18px 18px 18px;
}

.plan-btn {
    background: #0A2E59;
    color: #F6F1E9;
    border: 0;
    font-weight: 800;
    border-radius: 12px;
    padding: 12px 14px;
    width: 100%;
    transition: transform .08s ease-in-out, opacity .08s ease-in-out;
}

    .plan-btn:hover {
        opacity: .95;
    }

    .plan-btn:active {
        transform: scale(.99);
    }

.plan-corner {
    position: absolute;
    right: 12px;
    top: 10px;
    width: 34px;
    height: 34px;
    border: 2px solid rgba(10,46,89,.35);
    border-left: 0;
    border-bottom: 0;
    border-radius: 8px;
}

    .plan-corner:after {
        content: "";
        position: absolute;
        right: 8px;
        top: 8px;
        width: 18px;
        height: 18px;
        border: 2px solid rgba(10,46,89,.35);
        border-left: 0;
        border-bottom: 0;
        border-radius: 6px;
    }

.plan-recomendada {
    border: 2px solid #22c55e;
    transform: scale(1.03);
    z-index: 2;
}

.plan-badge-recomendada {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #22c55e;
    color: #ffffff;
    font-size: .75rem;
    font-weight: 900;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

/* ============================= */
/*   TABLA COMPARATIVA PLANES    */
/* ============================= */

.pricing-compare-wrap {
    background: #121212;
    border-radius: 18px;
    padding: 26px 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

.pricing-compare-title {
    color: #ffffff;
    font-weight: 900;
    font-size: 1.35rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .pricing-compare-title i {
        color: #4ea1ff;
        font-size: 1.2rem;
    }

.table-dark-compare {
    --line: rgba(255,255,255,.08);
    width: 100%;
    margin: 0;
    color: #eaeaea;
    border-collapse: collapse;
}

    .table-dark-compare thead th {
        font-size: .9rem;
        letter-spacing: .2px;
        font-weight: 800;
        color: #eaeaea;
        padding: 14px 12px;
        border-bottom: 1px solid var(--line);
    }

    .table-dark-compare tbody td {
        padding: 14px 12px;
        border-bottom: 1px solid var(--line);
        vertical-align: middle;
        font-size: .95rem;
        color: #e6e6e6;
    }

    .table-dark-compare .col-feature {
        width: 35%;
        color: #dcdcdc;
        font-weight: 700;
    }

.feature-icon {
    width: 26px;
    display: inline-flex;
    justify-content: center;
    margin-right: 8px;
    opacity: .95;
}

.icon-ok {
    color: #22c55e;
    font-size: 1.05rem;
}

.icon-no {
    color: #ef4444;
    font-size: 1.05rem;
}

.badge-plan {
    display: inline-block;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .3px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: #eaeaea;
}

.badge-recomendada {
    background: rgba(34,197,94,.16);
    color: #b9f6c8;
    border: 1px solid rgba(34,197,94,.35);
}

@media (max-width: 768px) {
    .pricing-compare-wrap {
        padding: 18px 12px;
    }

    .table-dark-compare thead th,
    .table-dark-compare tbody td {
        padding: 12px 10px;
        font-size: .92rem;
    }
}
/* ============================= */
/*   ACORDEÓN EN TARJETAS PLAN   */
/* ============================= */

.plan-accordion .accordion-item {
    border: 0;
    background: transparent;
}

.plan-accordion .accordion-button {
    background: #ffffff;
    border-radius: 12px !important;
    padding: 12px 14px;
    font-weight: 800;
    color: #0A2E59;
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

    .plan-accordion .accordion-button:not(.collapsed) {
        background: #0A2E59;
        color: #F6F1E9;
    }

    .plan-accordion .accordion-button:focus {
        box-shadow: 0 0 0 .2rem rgba(10,46,89,.20);
    }

.plan-accordion .accordion-body {
    background: rgba(255,255,255,.65);
    border-radius: 12px;
    margin-top: 10px;
    padding: 12px 14px;
    box-shadow: inset 0 0 0 1px rgba(10,46,89,.10);
}

.plan-features {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

    .plan-features li {
        display: flex;
        gap: 10px;
        align-items: flex-start;
        padding: 7px 0;
        border-bottom: 1px solid rgba(0,0,0,.06);
        color: #222;
        font-size: .95rem;
    }

        .plan-features li:last-child {
            border-bottom: 0;
        }

    .plan-features .k {
        color: #0A2E59;
        font-weight: 800;
        min-width: 170px; /* etiqueta */
    }

    .plan-features .v {
        flex: 1;
    }

    .plan-features .ok {
        color: #22c55e;
    }

    .plan-features .no {
        color: #ef4444;
    }

/* ============================= */
/*          PROMO BADGE          */
/* ============================= */

.plan-promo-badge {
    position: absolute;
    left: 14px; /* lo mando a la izquierda como tu ejemplo */
    top: 14px; /* arriba */
    background: #fff;
    border: 2px solid rgba(10,46,89,.12);
    color: #0A2E59;
    border-radius: 14px;
    padding: 10px 12px;
    width: 170px;
    box-shadow: 0 10px 22px rgba(0,0,0,.12);
    text-align: left;
    z-index: 10;
}

    .plan-promo-badge .promo-title {
        font-weight: 900;
        font-size: .95rem;
        line-height: 1.05;
    }

    .plan-promo-badge .promo-sub {
        font-weight: 800;
        font-size: .82rem;
        opacity: .9;
        margin-top: 4px;
    }

    .plan-promo-badge .promo-price {
        margin-top: 8px;
        background: #ff0033;
        color: #fff;
        font-weight: 900;
        border-radius: 10px;
        padding: 6px 10px;
        font-size: 1.05rem;
        letter-spacing: .3px;
        display: inline-block;
    }

.plan-topbar {
    padding-top: 52px; /* espacio para la promo */
}

.plan-old-price {
    text-decoration: line-through;
    opacity: .55;
    font-weight: 800;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* ===== Precio claro: antes / ahora ===== */
.plan-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
}

.plan-savings {
    margin-top: 4px;
    font-weight: 800;
    font-size: .85rem;
    color: #0A2E59;
    opacity: .85;
}

.plan-price-stack {
    text-align: right;
    line-height: 1.05;
}

.plan-price-old {
    text-decoration: line-through;
    opacity: .55;
    font-weight: 900;
    font-size: 1.15rem;
}

.plan-price-new {
    font-weight: 900;
    font-size: 2.05rem;
    color: #0A2E59;
}
/* ============================= */
/*   SUSCRIPCIÓN MENSUAL CARDS   */
/* ============================= */

.monthly-section-title {
    color: #0A2E59;
    font-weight: 900;
    text-align: center;
}

.monthly-section-sub {
    text-align: center;
    margin-top: 6px;
    opacity: .85;
}

.monthly-card {
    background: #F6F1E9;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,.10);
    border: 1px solid rgba(10,46,89,.08);
    position: relative;
    overflow: hidden;
}

.monthly-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(10,46,89,.10);
}

.monthly-pill {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0A2E59;
    color: #F6F1E9;
    font-weight: 900;
}

.monthly-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 900;
    color: #0A2E59;
}

.monthly-body {
    padding: 14px 16px 16px 16px;
}

.monthly-desc {
    margin: 0 0 10px 0;
    color: #222;
    opacity: .92;
}

.monthly-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

    .monthly-list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 6px 0;
        border-bottom: 1px solid rgba(0,0,0,.06);
        font-size: .95rem;
    }

        .monthly-list li:last-child {
            border-bottom: 0;
        }

.monthly-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    margin-top: 6px;
    background: #f97316; /* naranja */
    flex: 0 0 auto;
}

.monthly-note {
    margin-top: 12px;
    font-size: .9rem;
    opacity: .85;
}

.monthly-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    background: linear-gradient(135deg,#ffb703,#ff7a00);
    color: #111;
    font-weight: 900;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: .78rem;
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

    .monthly-badge.red {
        background: #ff0033;
        color: #fff;
    }

.monthly-amount {
    font-weight: 900;
    color: #0A2E59;
}

.monthly-foot {
    padding: 12px 16px 16px 16px;
}

.monthly-cta {
    display: block;
    width: 100%;
    text-align: center;
    background: #0A2E59;
    color: #F6F1E9;
    font-weight: 900;
    border-radius: 12px;
    padding: 12px 14px;
    text-decoration: none;
}

    .monthly-cta:hover {
        opacity: .95;
    }

/* Responsive tweaks */
@media (max-width: 576px) {
    .monthly-title {
        font-size: 1rem;
    }

    .monthly-list li {
        font-size: .93rem;
    }
}

/* ============================= */
/*  PROMO EN SUSCRIPCIÓN MENSUAL */
/* ============================= */

.monthly-price-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.monthly-price-left {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.monthly-old {
    text-decoration: line-through;
    opacity: .55;
    font-weight: 800;
    color: #0A2E59;
}

.monthly-new {
    font-weight: 900;
    color: #0A2E59;
}

.monthly-sticker-red {
    background: #ff0033;
    color: #fff;
    font-weight: 900;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: .78rem;
    box-shadow: 0 10px 20px rgba(0,0,0,.18);
    white-space: nowrap;
}

    .monthly-sticker-red small {
        font-weight: 800;
        opacity: .95;
        margin-left: 6px;
    }
/* ============================= */
/*         VIDEOS CANVAS         */
/* ============================= */

.video-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 12px 26px rgba(0,0,0,.15);
}

.video-canvas {
    width: 100%;
    display: block;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background: #000;
}

/* Botón sonido */
.sound-toggle {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,.6);
    border: 0;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all .15s ease;
}

    .sound-toggle:hover {
        background: rgba(0,0,0,.85);
        transform: scale(1.05);
    }