/* --- RESET Y VARIABLES --- */
:root {
    --brand-pink: #FD0061;
    --bg-gray: #F5F5F5;
    --text-black: #000000;
    --text-gray: #666666;
}

body {
    font-family: 'Arial', sans-serif !important;
    background-color: #ffffff;
    color: var(--text-black);
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- HEADER --- */
#encabezado {
    padding: 20px 0;
    margin-bottom: 10px;
    background: transparent;
    position: relative;
    z-index: 2;
}

.call-center-aligner {
    max-width: 420px;
    margin: 0 auto;
    text-align: right;
}

.call-center-top {
    font-weight: 700;
    font-size: 18px;
    margin-top: 40px;
    display: inline-block;
}

/* --- HERO SECTION Y FORMULARIO --- */
#principal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.banner-col {
    position: relative;
    z-index: 0;
    padding-right: 15px;
}

.banner-col img {
    width: 100%;
    display: block;
    margin: -120px auto -60px auto; /* arriba: sube hacia el header | abajo: sobrepasa la tarjeta */
    border: none;
    border-radius: 12px;
}

.login-col {
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .banner-col img {
        margin: 0 auto 20px auto;
    }
}

.login-card {
    background-color: rgb(245, 245, 245);
    padding: 30px 25px;
    border-radius: 20px;
    max-width: 100%;
    margin: 0 auto;
    border: 1px solid #f0f0f0;
}

.form-control {
    background-color: #E5E7EB !important;
    border: none;
    box-shadow: none !important;
    height: 45px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    padding-left: 15px;
    margin-bottom: 12px;
}

.form-control:focus {
    background-color: #fff !important;
    border: 2px solid var(--brand-pink);
}

.form-label {
    font-weight: 700;
    font-size: 14px;
    color: var(--brand-pink);
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.form-sublabel {
    font-size: 12px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.radio-inline {
    font-weight: 700 !important;
    font-size: 14px;
    padding-left: 25px;
    margin-right: 15px;
}

.radio-inline input[type="radio"] {
    margin-top: 3px;
}

.btn-entrar {
    width: 128px;
    height: 43px;
    background-color: var(--brand-pink);
    color: white;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    border: none;
    border-radius: 0px;
    transition: background-color 0.3s;
    margin-top: 0px;
}

.btn-entrar:hover {
    background-color: #d60052;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 0, 97, 0.3);
}

#boton-entrar-contenedor {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
    width: 100%;
}

.forgot-pass {
    font-size: 12px;
    text-align: left;
    display: block;
    margin-top: 10px;
    color: var(--brand-pink);
    font-weight: 600;
}

/* --- SECCIÓN TEXTOS CENTRALES --- */
.section-title-container {
    font-family: "Inter:Bold", sans-serif;
    word-break: break-word;
    font-weight: 700;
    font-style: normal;
    font-size: 40px;
    letter-spacing: -1.6px;
    text-align: center;
    line-height: 0;
}

.section-title {
    font-weight: 700;
    font-size: 45px;
    text-align: center;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 50px;
    letter-spacing: -1px;
    font-family: "Inter:Bold", sans-serif;
}

.title-row {
    position: relative;
    z-index: 2;
}

/* --- TARJETAS (ICONOS) --- */
.icon-card {
    background: #FAFAFA;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    width: 100%;
    height: 100%;
    min-height: 320px;
    transition: transform 0.2s;
    margin-bottom: 20px;
}

.icon-card:hover {
    transform: translateY(-5px);
}

.icon-card img {
    height: 60px;
    margin-bottom: 20px;
}

.icon-title {
    font-family: 'Inter';
    font-weight: 700;
    font-size: 30px;
    line-height: 30px;
    text-align: center;
    color: #000000;
}

.icon-text {
    margin-top: 15px;
    font-family: 'Inter';
    font-weight: 350;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    color: #000000;
}

.row-flex {
    display: flex;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .row-flex {
        display: block;
    }
}

/* --- IDENTIFICA TU SITUACIÓN --- */
.situation-header {
    background-color: #fff;
    padding: 10px 0 10px 25px;
    margin-bottom: 40px;
    text-align: center;
}

.situation-header h4 {
    font-weight: bold;
    font-size: 25px;
    margin: 0 0 10px 0;
    color: #000;
}

.situation-header p {
    font-size: 25px;
    margin: 0 0 10px 0;
    color: #000;
}

/* --- PESTAÑAS ESTÁTICAS (GRATUIDAD / SIN GRATUIDAD) --- */
.tab-label {
    background-color: var(--brand-pink);
    color: white;
    display: inline-block;
    padding: 12px 25px;
    font-weight: bold;
    font-size: 18px;
    border-radius: 10px 10px 0 0;
    margin-bottom: 0;
}

/* CAMBIO: Clase para el texto de beneficios */
.benefit-text {
    font-size: 16px;
    color: #000;
    margin-left: 10px;
}

.tab-content-box {
    background-color: #F5F5F5;
    padding: 40px;
    border-radius: 0 10px 10px 10px;
    margin-bottom: 40px;
    width: 100%;
}

.tab-title-inside {
    font-weight: 700;
    font-size: 25px;
    margin-bottom: 20px;
    display: block;
}

.step-list {
    counter-reset: steps;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.step-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
}

.step-list li::before {
    counter-increment: steps;
    content: counter(steps) ".";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: #000;
}

/* --- SECCIÓN FULL WIDTH GRIS --- */
.full-width-grey-section {
    width: 100%;
    background-color: #F5F5F5;
    /* Gris solicitado */
    padding: 60px 0;
    /* Espaciado superior e inferior */
    margin-top: 40px;
}

.full-width-white-section {
    width: 100%;
    background-color: #FFFFFF;
    /* Blanco */
    padding: 60px 0;
    /* Espaciado superior e inferior */
    margin-top: 20px;
}

/* --- ACORDEONES PASO 2, 3, 4 (CAJAS BLANCAS) --- */
.panel-step {
    background-color: white !important;
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 15px !important;
}

.panel-step .panel-heading {
    background-color: white;
    padding: 20px 25px;
    border-radius: 12px !important;
    border-bottom: none;
}

/* Si está abierto, quitamos radio inferior */
.panel-step .panel-heading[aria-expanded="true"] {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom: 1px solid #f0f0f0;
}

.panel-title a {
    display: block;
    text-decoration: none;
    position: relative;
    font-size: 18px;
}

.step-badge {
    color: var(--brand-pink);
    font-weight: 900;
    margin-right: 5px;
    font-size: 25px;
}

.step-text {
    color: #000;
    font-weight: 700;
    font-size: 25px;
}

/* Icono +/- a la derecha */
.panel-title a::after {
    font-family: FontAwesome;
    content: "\f056";
    /* Menos */
    float: right;
    color: var(--brand-pink);
    font-size: 22px;
    margin-top: -2px;
}

.panel-title a.collapsed::after {
    content: "\f055";
    /* Más */
}

.panel-step .panel-body {
    padding: 20px 25px;
    border-top: none !important;
}

/* --- ESTILOS SECCIÓN NUEVA (INFORMATIVA) --- */
.info-card-container {
    text-align: center;
    padding: 20px;
    min-height: 250px;
}

.info-card-container img {
    height: 70px;
    width: auto;
    margin-bottom: 15px;
}

.info-card-container h3 {
    color: var(--brand-pink);
    font-weight: 700;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 15px;
}

.info-card-container p,
.info-card-container ul {
    font-size: 15px;
    line-height: 1.4;
    color: #000;
}

.info-card-container ul li {
    margin-bottom: 5px;
    list-style: none;
}

.info-card-container ul li a {
    color: #000;
    font-weight: 600;
    text-decoration: none;
}

.info-card-container ul li a:hover {
    text-decoration: underline;
}

/* --- FOOTER Y MEJORAS DE ESPACIO --- */
.footer {
    margin-top: 0px;
    padding: 40px 0;
    background-color: white;
    text-align: center;
}

.footer-logo-col {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 992px) {
    .footer-logo-col {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }

    .login-card {
        width: 100%;
        box-shadow: none;
        border: none;
        padding: 20px 20px;
    }

    .call-center-top {
        float: none;
        text-align: center;
        display: block;
        margin-top: 10px;
    }

    .call-center-aligner {
        text-align: center;
        max-width: 100%;
    }

    .logo {
        display: block;
        margin: 0 auto;
    }

    #encabezado {
        text-align: center;
    }

    #principal {
        align-items: center !important;
    }

    .tab-content-box {
        padding: 20px;
    }

    /* CAMBIO: En móvil, el texto de beneficios pasa a ser un bloque (nueva línea) */
    .benefit-text {
        display: block;
        margin-left: 0;
        margin-top: 5px;
        margin-bottom: 0px;
    }
}

/* --- SECCIÓN INFORMATIVA (FECHAS, FORMULARIOS, AYUDA) --- */
/* Contenedor principal de los recuadros */
.info-cards-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

/* Estilo del recuadro cuadrado gris */
.info-card-container {
    background-color: #F5F5F5;
    /* Fondo gris de la imagen */
    border-radius: 15px;
    /* Bordes redondeados */
    padding: 40px 20px;
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    min-height: 400px;
    /* Asegura que sean cuadrados/uniformes */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Ajuste de iconos (usando FontAwesome como fallback) */
.info-card-container i.fa-icon-big {
    font-size: 65px;
    color: #000;
    margin-bottom: 25px;
}

/* Títulos en fucsia */
.info-card-container h3 {
    color: #FD0061;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 20px;
    margin-top: 0;
}

/* Textos internos */
.info-card-container p,
.info-card-container ul {
    font-size: 15px;
    color: #000;
    line-height: 1.3;
    margin: 0;
    padding: 0;
    list-style: none;
}

.info-card-container strong {
    display: block;
    margin-top: 5px;
}

.info-card-container ul li {
    margin-bottom: 5px;
    font-weight: 700;
}

.info-card-container ul li a {
    color: #000;
    text-decoration: none;
}

/* Banner del instructivo */
.banner-instructivo {
    background-color: #F5F5F5;
    color: #000;
    font-weight: 700;
    font-size: 25px;
    border-radius: 8px;
    border: 1px solid #EAEAEA;
    margin-bottom: 40px;

    /* Altura fija solicitada */
    height: 100px;

    /* Centrado Vertical y Horizontal con Flexbox */
    display: flex;
    align-items: center;
    /* Centra verticalmente */
    justify-content: center;
    /* Centra horizontalmente */
    text-align: center;
}

@media (max-width: 992px) {
    .info-card-container {
        max-width: 100%;
    }
}

/* --- CAJA ROSA LISTA DE ESPERA --- */
.waiting-list-box {
    background-color: var(--brand-pink);
    color: white;
    border-radius: 12px;
    padding: 30px 40px;
    text-align: center;
    margin: 30px 0;
}

.waiting-list-box h3 {
    font-weight: 700;
    font-size: 22px;
    margin: 0 0 5px 0;
    color: white;
    line-height: 1.3;
}

.waiting-list-box h2 {
    font-weight: 700;
    font-size: 32px;
    margin: 0 0 20px 0;
    color: white;
    line-height: 1.2;
}

.waiting-list-link {
    display: inline-flex;
    align-items: stretch;
    background-color: transparent;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    transition: opacity 0.3s;
}

.waiting-list-link:hover {
    opacity: 0.9;
    text-decoration: none;
}

.waiting-list-link-text {
    background-color: #000;
    color: white;
    padding: 12px 25px;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.waiting-list-link-icon {
    background-color: white;
    color: #000;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waiting-list-link-icon i {
    font-size: 22px;
}

@media (max-width: 768px) {
    .waiting-list-box {
        padding: 20px;
    }

    .waiting-list-box h3 {
        font-size: 18px;
    }

    .waiting-list-box h2 {
        font-size: 24px;
    }
}