/* ==========================================
   1. ESTRUCTURA Y COMPONENTES GENERALES
   ========================================== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

.row:after { content: ""; display: table; clear: both; }

.clearfix::after { display: block; clear: both; content: ""; }

hr.seis { 
    border: 0; height: 0; border-top: 1px solid rgba(0, 0, 0, 0.1); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); margin: 30px 0 20px 0; 
}

/* ==========================================
   2. BOTONES Y BANNERS (INTERACCIÓN)
   ========================================== */

/* Botón Principal */
.button-27 { 
    appearance: none; background-image: linear-gradient(92.88deg, #385b9e 9.16%, #11859d 43.89%, #04939c 64.72%); 
    border: 0px solid #1A1A1A; border-radius: 5px; color: #FFFFFF; cursor: pointer; display: flex; 
    justify-content: center; font-size: 25px; font-weight: 600; min-height: 60px; padding: 16px 24px; 
    text-align: center; text-decoration: none; transition: all 300ms cubic-bezier(.23, 1, 0.32, 1); 
}
.button-27:hover { box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px; transform: translateY(-2px); }

/* Banner Doble (Descuentos y Brochure) */
.banner-doble {
    display: flex; gap: 15px; margin-bottom: 20px; background-color: transparent;
}

.banner-doble .col-banner {
    flex: 1; text-align: center; padding: 20px 15px; font-size: 18px; font-weight: bold;
    color: #2d2d2d !important; text-decoration: none !important;
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background-color: #f8f9fa; border: 1px solid #f2f2f2; border-radius: 5px;
    box-shadow: none !important; -webkit-box-shadow: none !important;
}

.banner-doble .col-banner:hover {
    background-color: #fcfcfc; 
    border-color: #f2f2f2; transform: translateY(-2px);
    box-shadow: none !important; -webkit-box-shadow: none !important;
    opacity: 0.8;
}

.banner-doble .col-banner:first-child { border-right: none; }

/* Botón Flotante WhatsApp */
.whatsapp-btn { 
    position: fixed; bottom: 30px; right: 30px; background-color: #25d366; color: white; padding: 10px 20px; 
    border-radius: 50px; text-decoration: none; display: flex; align-items: center; gap: 10px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 1000; font-weight: 600; transition: 0.3s; 
}
.whatsapp-btn:hover { transform: translateY(-3px); text-decoration: none; color: white; }

/* ==========================================
   3. ACORDEONES
   ========================================== */
.acordeon { padding: 5px 0 0px 0; }
.accordion { margin-bottom: 10px; }

.accordion .accordion-btn { 
    border: 1px solid hsla(0, 0%, 92%, .96); border-left: 4px solid #DA291C; position: relative; 
    background-color: #9d9c97; background-image: linear-gradient(122deg, #fff, #Fff); border-radius: 4px; 
    padding: 25px 30px; text-align: left; cursor: pointer; font-weight: bold; list-style-image: none;
    -webkit-box-shadow: 0 0 8px 0 hsla(0,0%,53%,.10);
}

.accordion .accordion-btn::-webkit-details-marker { background: none; color: transparent; }

/* Corrección Flecha Roja */
.accordion .accordion-btn::after { 
    content: "›"; position: absolute; top: 50%; right: 10px; font-size: 35px; width: 35px; height: 35px; 
    text-align: center; border-radius: 50%; color: #DA291C; border: 2px solid #DA291C; 
    transform: translate(0%, -50%) rotate(0deg); box-sizing: border-box; display: flex; 
    align-items: center; justify-content: center; font-weight: normal; transition: all .3s ease;
    padding-bottom: 4px; padding-left: 2px;
}

.accordion[open] .accordion-btn::after { transform: translate(0%, -50%) rotate(90deg); }

.accordion .accordion-content { background-color: #fff; border: 0.5px solid rgb(241, 241, 241); border-top: 0; }
.accordion .accordion-content > * { padding: 20px 20px; }

.accordion[open] summary ~ *{ overflow: hidden; animation: heightUp 1s ease-in-out; }
@keyframes heightUp { 0% { max-height: 0; } 100% { max-height: 2000px; } }

/* ==========================================
   4. AVISOS, ALERTAS Y TABLAS
   ========================================== */

/* Alertas */
.info2 { padding: 20px 10px 5px 10px; margin-bottom: 20px; display: flex; border-radius: 5px; overflow: hidden; background: rgba(0, 0, 0, .05); border-left: 10px solid #DA291C; }
.alert.warning, .warning { 
    background-color: #f8f9fa !important; border: 1px solid #efefef !important; 
    border-left: 6px solid #c1bebe !important; border-radius: 10px; padding: 25px 30px; 
    color: #444 !important; margin: 20px 0; 
}
.alert.warning h6 { color: #2d2d2d !important; font-weight: bold; }
.alert.warning a { color: #2d2d2d !important; font-weight: bold; text-decoration: underline; }

/* Tabla de Descuentos */
.tabla-descuentos { width: 100%; border-collapse: separate; border-spacing: 0; margin: 5px 0; border: 1px solid #efefef; border-radius: 10px; overflow: hidden; }
.tabla-descuentos th { background-color: #f0f2f5; color: #003057; padding: 15px; text-align: left; font-size: 14px; border-bottom: 1px solid #efefef; }
.tabla-descuentos td { padding: 12px 15px; border-bottom: 1px solid #efefef; font-size: 14px; color: #444; }
.tabla-descuentos tr:last-child td { border-bottom: none; }
.tabla-descuentos tr:nth-child(even) { background-color: #fcfcfc; }#a3a3a3

/* Tabla de Formas de Pago */
.tabla-pagos { width: 100%; border-collapse: separate; border-spacing: 0; margin: 10px 0 30px 0; border: 1px solid #efefef; border-radius: 10px; overflow: hidden; }
.tabla-pagos th { background-color: #f0f2f5; color: #003057; padding: 15px; text-align: center; font-size: 16px; border-bottom: 1px solid #efefef; text-transform: uppercase; }
.tabla-pagos td { background-color: #fcfcfc; padding: 20px 15px; border-right: 1px solid #efefef; font-size: 14px; color: #444; width: 33.33%; text-align: center; vertical-align: middle; line-height: 1.4; }
.tabla-pagos td:last-child { border-right: none; }

/* ==========================================
   5. CAJAS DE INFORMACIÓN VISUAL (CMS)
   ========================================== */
.data__card, .data__info { 
    background: #fcfcfc !important; background-image: none !important; 
    border: 1px solid #efefef !important; border-radius: 10px !important; box-shadow: none !important; 
}

/* Card Principal Izquierda */
.data__card { display: flex !important; flex-direction: column !important; padding: 20px !important; position: relative; }
.data__card::before { content: none !important; }
.data__card .card__col { font-size: 16px !important; }

/* Reordenamiento de filas en Card */
.data__card .card__row:nth-child(2), .data__card .card__row:nth-child(4) { display: none !important; }
.data__card .card__row:nth-child(1) { order: 1 !important; } 
.data__card .card__row:nth-child(3) { order: 2 !important; } 
.data__card .card__row:last-child { order: 3 !important; display: flex !important; } 
.data__card .card__row:nth-child(5) { order: 4 !important; display: flex !important; } 

/* Caja Lateral Derecha (Data Info) */
.data__info { color: #333 !important; position: relative; float: right; padding: 10px; padding-bottom: 25px !important; margin-bottom: 30px; margin-top: 1px; }
.data__info h4 { color: #2d2d2d !important; font-weight: bold; text-transform: uppercase; margin-bottom: 1em; font-size: 1.06em; }
.data__info .data__info-list li a { color: #2d2d2d; font-weight: bold; }
.data__info .data__info-list li:before { color: #2d2d2d !important; }

/* Inyecciones Visuales en Data Info */
.data__info::after { 
    content: "Hasta 3 cuotas sin interés"; display: block; font-size: 18px !important; font-weight: bold; 
    color: #2d2d2d !important; text-align: center; margin-top: 0px; font-family: 'Lato', sans-serif;
}
.data__info-list::after { 
    content: ""; display: block; width: 100%; border-top: 1px solid #ddd; height: 100px; margin-top: 10px; 
    background-image: url('https://lh3.googleusercontent.com/u/0/d/1dRxMM-scZLOdFn1co3jV0MfgBeGGShCj');
    background-size: contain; background-repeat: no-repeat; background-position: center; 
}

/* ==========================================
   6. SECCIÓN CONTACTO UNIFICADA
   ========================================== */
.contacto-unificado {
    width: 100%;
    margin: 25px 0;
    clear: both; /* Evita que flote con el data__info */
}

.contacto-unificado-box {
    background-color: #fcfcfc !important;
    border: 1px solid #f2f2f2 !important;
    border-radius: 10px !important;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.contacto-unificado-col { flex: 1; }
.contacto-flex-align { display: flex; align-items: center; gap: 12px; }

/* Iconos Font Awesome */
.contacto-icon-main {
    font-size: 18px; color: #2D2D2D; background: #f0f2f5; width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
}
.contacto-icon-sub {
    font-size: 17px; color: #2D2D2D; width: 22px; text-align: center;
    display: inline-flex; justify-content: center;
}

/* Textos e Identificación */
.contacto-unificado-nombre {
    color: #2D2D2D !important; font-weight: bold !important; font-size: 17px !important;
    margin: 0 !important; line-height: 1.2;
}
.contacto-unificado-cargo {
    font-size: 12px !important; color: #666 !important; margin: 2px 0 0 0 !important;
    line-height: 1.3; max-width: 250px;
}
.contacto-unificado-label {
    display: block; font-size: 11px !important; text-transform: uppercase;
    color: #999; font-weight: bold; margin-bottom: 6px; padding-left: 34px;
}

/* Enlaces */
.contacto-unificado-col a {
    color: #2D2D2D !important; text-decoration: none !important;
    font-weight: bold; font-size: 15px; transition: all 0.2s ease;
}
.contacto-unificado-col a:hover { text-decoration: underline !important; opacity: 0.8; }

/* ==========================================
   7. RESPONSIVE ADAPTATION
   ========================================= */

/* Tablets y Laptops */
@media (max-width: 1024px) {
    .column { width: 100% !important; display: flex; flex-direction: column; float: none; }
    .data__info { width: 100% !important; float: none !important; margin-left: 0 !important; display: block !important; clear: both; }
}

/* Tablets medianas / Mobile Landscape */
@media (max-width: 991px) {
    .contacto-unificado-box { flex-direction: column; align-items: flex-start; padding: 20px; gap: 15px; }
    .contacto-unificado-col { width: 100%; border-bottom: 1px solid #f2f2f2; padding-bottom: 15px; }
    .contacto-unificado-col:last-child { border-bottom: none; padding-bottom: 0; }
    .contacto-unificado-label { padding-left: 0; }
}

/* Celulares */
@media (max-width: 767px) {
    .table-responsive { border: 0px solid #e6e6e6; }
    .button-27 { font-size: 20px; }
    .whatsapp-btn { bottom: 20px; right: 20px; padding: 8px 15px; font-size: 14px; }
    .banner-doble { flex-direction: column; gap: 10px; }
    
    /* Responsive para la Tabla de Pagos */
    .tabla-pagos td { display: block; width: 100%; border-right: none; border-bottom: 1px solid #efefef; padding: 15px; }
    .tabla-pagos td:last-child { border-bottom: none; }
}

/* ==========================================
   8. TEXTO LINEAL UNIFICADO (ANCHO COMPLETO)
   ========================================== */

.formas-pago-lineal {
    width: 100%;
    margin: 5px 0 30px 0;
    padding: 5px 0;
    text-align: center;
    font-size: 14px;
    color: #2D2D2D; /* Azul corporativo */
    line-height: 1.6;
}

/* Estilo para la advertencia de descuentos */
.pago-alerta {
    font-weight: bold;
    font-style: italic;
    color: #444; 
}

.titulo-pago {
    font-weight: 800;
    text-transform: uppercase;
}

.barra-separadora {
    color: #f2f2f2; /* Color de borde sutil solicitado */
    margin: 0 15px;
    font-weight: normal;
    font-size: 18px;
    vertical-align: middle;
}

/* Ajuste para pantallas pequeñas (Móvil) */
@media (max-width: 991px) {
    .formas-pago-lineal {
        font-size: 13px;
        padding: 10px;
    }
    .barra-separadora {
        margin: 0 8px;
    }
}

.disclaimer-programa {
    font-size: 0.8em !important;
    margin-bottom: 1px !important;
    text-align: center !important; /* Alineación al centro */
    color: #666;
    line-height: 1.4;
    width: 100%;
    display: block;
}

/* Caja principal */
.contacto-unificado-box {
    background-color: #fcfcfc !important;
    border: 1px solid #f2f2f2 !important;
    border-radius: 10px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Alinea los textos a la base para respetar los labels */
    gap: 20px;
    margin: 25px 0;
}

.contacto-unificado-col {
    flex: 1;
}

.contacto-flex-align {
    display: flex;
    align-items: center; /* Centra el icono con el texto al lado */
    gap: 12px;
}

/* Iconos UNIFICADOS (Mismo tamaño y ubicación) */
.contacto-icon-circular {
    background-color: #f0f2f5 !important; /* Fondo suave */
    color: #23729E !important;           /* Color azul solicitado */
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 18px !important;
}

/* Tipografías para que no se rompa el diseño con la carga de datos */
.contacto-unificado-nombre {
    color: #003056 !important;
    font-weight: bold !important;
    font-size: 16px !important;
    margin: 0 !important;
}

.contacto-unificado-cargo {
    font-size: 12px !important;
    color: #666 !important;
    margin: 0 !important;
    line-height: 1.2;
}

.contacto-unificado-label {
    display: block;
    font-size: 10px;
    color: #999;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.contacto-unificado-col a {
    color: #003056 !important;
    font-weight: bold;
    text-decoration: none;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 991px) {
    .contacto-unificado-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
}