/* =====================================================================
   Vista: Views/PaginaDeInicio/Suscripcion.cshtml (planes)
   ===================================================================== */
.ko-pl {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    color: #0f2a3a;
    background: linear-gradient(180deg, rgba(2, 35, 53, .92) 0%, rgba(2, 35, 53, .55) 38%, rgba(240, 247, 251, .9) 38%),
                url('/Imagen/Mundo2.jpg') bottom center / cover fixed no-repeat;
}

.ko-pl * { box-sizing: border-box; }
#loader.ko-pl-oculto { display: none; }   /* stiloCargando.css le pone display al #loader */

/* Barra superior */
.ko-pl-barra {
    display: flex;
    align-items: center;
    padding: 14px 32px;
    border-bottom: 3px solid #3498db;
    background: #022335;
}

.ko-pl-marca {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
}

    .ko-pl-marca img { height: 32px; }

/* Contenido */
.ko-pl-main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 48px 20px 60px;
}

.ko-pl-titulo {
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

    .ko-pl-titulo h1 {
        margin: 0 0 10px;
        font-size: 38px;
        font-weight: 800;
    }

    .ko-pl-titulo p {
        margin: 0;
        font-size: 18px;
        color: #cfe6f3;
    }

/* Tarjetas */
.ko-pl-planes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.ko-pl-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px 28px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(2, 35, 53, .18);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .ko-pl-plan:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(2, 35, 53, .28);
    }

    .ko-pl-plan h2 {
        margin: 0;
        font-size: 24px;
        font-weight: 800;
    }

.ko-pl-destacado {
    border: 2px solid #3498db;
    transform: scale(1.04);
}

    .ko-pl-destacado:hover { transform: scale(1.04) translateY(-6px); }

.ko-pl-cinta {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 16px;
    border-radius: 999px;
    background: #3498db;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    white-space: nowrap;
}

.ko-pl-lema {
    margin: 4px 0 18px;
    color: #5b7385;
    font-size: 15px;
}

.ko-pl-precio {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.ko-pl-moneda {
    font-size: 22px;
    font-weight: 700;
    color: #022335;
}

.ko-pl-monto {
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    color: #022335;
}

.ko-pl-mes {
    font-size: 16px;
    color: #5b7385;
}

.ko-pl-impuesto {
    margin: 6px 0 20px;
    font-size: 13px;
    color: #7a8f9e;
}

.ko-pl-incluye {
    flex: 1;
    margin: 0 0 24px;
    padding: 18px 0 0;
    border-top: 1px solid #e3edf3;
    list-style: none;
}

    .ko-pl-incluye li {
        position: relative;
        padding: 6px 0 6px 28px;
        font-size: 15px;
    }

        .ko-pl-incluye li::before {
            content: "\2713";
            position: absolute;
            left: 0;
            top: 5px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #e3f1fb;
            color: #1f7fc0;
            font-size: 12px;
            font-weight: 800;
            line-height: 20px;
            text-align: center;
        }

.ko-pl-boton {
    display: block;
    padding: 13px;
    border-radius: 10px;
    border: 2px solid #022335;
    color: #022335;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

    .ko-pl-boton:hover {
        background: #022335;
        color: #fff;
    }

.ko-pl-destacado .ko-pl-boton {
    border-color: #3498db;
    background: #3498db;
    color: #fff;
}

    .ko-pl-destacado .ko-pl-boton:hover {
        border-color: #1f7fc0;
        background: #1f7fc0;
    }

.ko-pl-prueba {
    margin: 32px 0 0;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #1f7fc0;
}

/* Extras */
.ko-pl-extras {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
}

    .ko-pl-extras span {
        padding: 8px 16px;
        border-radius: 999px;
        background: #fff;
        box-shadow: 0 4px 12px rgba(2, 35, 53, .1);
        font-size: 14px;
        color: #33505f;
    }

/* Celular */
@media (max-width: 860px) {
    .ko-pl-planes { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .ko-pl-destacado, .ko-pl-destacado:hover { transform: none; }
    .ko-pl-titulo h1 { font-size: 28px; }
    .ko-pl-main { padding-top: 32px; }
}

/* Modo cliente (entró con su compañía): activar el plan en vez de registrarse */
.ko-pl-barra { justify-content: space-between; }
.ko-pl-volver { color: #cfe6f3; font-size: 14px; text-decoration: none; }
.ko-pl-volver:hover { color: #fff; text-decoration: underline; }
.ko-pl-plan form { margin: 0; }
.ko-pl-boton-form { width: 100%; background: #fff; font-size: 15px; font-family: inherit; cursor: pointer; }
.ko-pl-destacado .ko-pl-boton-form { background: #3498db; }
.ko-pl-actual { border-color: #9fd8b6; background: #e8f6ee; color: #1e6b3f; cursor: default; }
.ko-pl-actual:hover { background: #e8f6ee; color: #1e6b3f; }

/* Selector de familia de planes: con / sin factura electrónica */
.ko-pl-selector {
    display: flex;
    width: fit-content;
    margin: -12px auto 28px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
}

.ko-pl-tab {
    padding: 10px 22px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #e6f2fa;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

    .ko-pl-tab:hover { color: #fff; }

    .ko-pl-tab.activo {
        background: #fff;
        color: #022335;
        box-shadow: 0 4px 12px rgba(2, 35, 53, .2);
    }

.ko-pl-nota-familia {
    max-width: 720px;
    margin: -12px auto 28px;
    text-align: center;
    color: #cfe6f3;
    font-size: 15px;
}

.ko-pl-oculta { display: none !important; }

@media (max-width: 600px) {
    .ko-pl-tab { padding: 9px 14px; font-size: 14px; }
}
