/* Variables globales */

:root {
    --primary-color: #0947E2;
    --secondary-color: #1E1E1E;
    --light-color: #1E1E1E;
    --dark-color: #1E1E1E;
    --text-light: #FFFFFF;
    --text-muted: #AFB0B2;
    --transition: all 0.3s ease;
}


/* Estilos base */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #F4F5F6;
    overflow-x: hidden;
}

.pulse {
    animation: pulse 2s infinite ease-in-out;
}

html {
    scroll-behavior: smooth;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}


/* --- Navbar Premium Styles (Versión Ajustada) --- */


/* 1. CONFIGURACIÓN DE LA BARRA (NAVBAR) */

.navbar {
    /* Aumentamos el padding para que la barra sea más alta y el logo quepa bien */
    padding-top: 1.8rem;
    padding-bottom: 1.8rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Transición suave */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1030;
}


/* Estado SCROLLED (Cuando bajas la página) */

.navbar.scrolled {
    /* La barra se vuelve un poco más compacta al bajar */
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    background-color: rgba(10, 10, 10, 0.95) !important;
    /* Negro casi sólido */
    backdrop-filter: blur(12px);
    /* Efecto cristal */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}


/* 2. CONFIGURACIÓN DEL LOGO */

.logo-img {
    height: 85px;
    /* LOGO MÁS GRANDE (Antes 65px) */
    width: auto;
    transition: all 0.4s ease;
}


/* Efecto: El logo se hace un poco más pequeño al bajar para no estorbar */

.navbar.scrolled .logo-img {
    height: 60px;
}

.logo-invertida {
    filter: brightness(0) invert(1);
    /* Convierte tu logo negro a blanco puro */
}

.navbar-brand:hover .logo-img {
    transform: scale(1.05);
}


/* 3. CONFIGURACIÓN DE LOS TEXTOS (LINKS) */

.nav-link {
    font-size: 0.95rem;
    /* TEXTO MÁS GRANDE (Antes 0.8rem) */
    font-weight: 700;
    /* Más gordito para que se lea mejor */
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95) !important;
    /* Blanco más brillante */
    padding: 10px 18px !important;
    /* Más espacio entre botones */
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    /* Pequeño brillo al pasar el ratón */
}


/* Línea azul animada debajo del texto */

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    /* Línea un poco más gruesa */
    bottom: 5px;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 70%;
}


/* 4. AJUSTES PARA MÓVIL */

@media (max-width: 991px) {
    .navbar {
        background-color: rgba(10, 10, 10, 0.98);
        /* Siempre oscuro en móvil */
        padding: 1rem;
    }
    .navbar-collapse {
        background-color: transparent;
        text-align: center;
        padding-top: 30px;
        padding-bottom: 20px;
    }
    .navbar-brand {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0 auto;
    }
    .d-none.d-lg-block {
        display: none !important;
    }
    /* En móvil el logo no debe ser gigante */
    .logo-img {
        height: 50px;
    }
    .navbar.scrolled .logo-img {
        height: 50px;
    }
    /* En móvil no cambia de tamaño */
    .nav-link {
        font-size: 1.1rem;
        /* Texto grande en móvil para pulsar fácil */
        padding: 15px 0 !important;
    }
}


/* =========================================
   1. CARRUSEL PRINCIPAL (HERO SECTION)
   ========================================= */

.carousel-block {
    /* Padding superior para que la Navbar fija no lo tape */
    padding-top: 120px;
    padding-bottom: 3rem;
    background: linear-gradient(to bottom, #E8EAEB 0%, #F4F5F6 100%);
    position: relative;
    z-index: 5;
    width: 100%;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    /* Quitamos overflow hidden aquí para permitir sombras */
}


/* CAJA DE LA FOTO (Estilo Tarjeta Flotante) */

.carousel-slide {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    /* Usamos aspect-ratio para mantener la forma panorámica */
    aspect-ratio: 21/9;
    border-radius: 25px;
    overflow: hidden;
    /* IMPORTANTE: Para que la imagen no se salga de las esquinas redondas */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    background-color: #333;
    /* Fondo por si tarda en cargar la imagen */
}


/* LA IMAGEN */

.carousel-slide img.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Recorta la imagen para llenar el espacio sin deformarse */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: block;
}


/* EFECTOS DE SLIDES (Para el movimiento bonito) */

.carousel-item {
    padding: 20px 0;
    /* Espacio para la sombra */
    transition: transform 0.6s ease-in-out;
    /* Suavizar transición */
}

.carousel-item:not(.active) .carousel-slide {
    transform: scale(0.92);
    opacity: 0.6;
    filter: grayscale(80%);
}

.carousel-item.active .carousel-slide {
    transform: scale(1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    z-index: 10;
}


/* CONTENEDOR DEL BOTÓN */

.carousel-caption {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    /* Centrado vertical */
    justify-content: flex-end;
    /* Alineado a la derecha */
    padding-right: 10%;
    /* Separación del borde derecho */
    z-index: 10;
}


/* Ajuste específico para el primer slide si quieres que salga a la izquierda */

.carousel-item:first-child .carousel-caption {
    justify-content: flex-start;
    padding-left: 10%;
}


/* CONTENEDOR DEL BOTÓN */

.carousel-caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 8%;
    z-index: 3;
}

.carousel-item:first-child .carousel-caption {
    justify-content: flex-start;
}


/* BOTÓN */

.carousel-caption .btn {
    background-color: #FFFFFF;
    color: #0947E2;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    border: 2px solid #FFFFFF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    pointer-events: auto;
    /* Evita que el texto del botón se parta */
}

.carousel-caption .btn:hover {
    background-color: #0947E2;
    color: #FFFFFF;
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 20px 40px rgba(9, 71, 226, 0.6);
}


/* =========================================
   FLECHAS DEL CARRUSEL (DISEÑO PREMIUM)
   ========================================= */

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    /* Zona de click cómoda */
    z-index: 50;
    /* ¡IMPORTANTE! Esto las pone POR DELANTE de todo */
    opacity: 1;
    /* Siempre visibles, no solo al pasar el ratón */
    align-items: center;
    justify-content: center;
    display: flex;
}


/* El círculo del botón */

.arrow-btn {
    width: 50px;
    height: 50px;
    background-color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    /* Sombra para que floten */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Efecto rebote suave */
}


/* El icono de la flecha */

.arrow-btn i {
    color: var(--primary-color);
    /* Azul corporativo */
    font-size: 1.5rem;
    font-weight: bold;
    transition: color 0.3s ease;
    /* Ajuste óptico para centrar bien la flecha */
    line-height: 1;
}


/* Efecto al pasar el ratón por encima del botón */

.carousel-control-prev:hover .arrow-btn,
.carousel-control-next:hover .arrow-btn {
    background-color: var(--primary-color);
    /* El fondo se vuelve azul */
    transform: scale(1.15);
    /* Se hace un poco más grande */
    box-shadow: 0 10px 25px rgba(9, 71, 226, 0.4);
    /* Sombra azul brillante */
}


/* El icono cambia a blanco al pasar el ratón */

.carousel-control-prev:hover .arrow-btn i,
.carousel-control-next:hover .arrow-btn i {
    color: #FFFFFF;
}


/* Eliminamos los estilos por defecto de Bootstrap para limpiar */

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: none;
}


/* Ajuste para móvil: Flechas un poco más pequeñas */

@media (max-width: 768px) {
    .arrow-btn {
        width: 40px;
        height: 40px;
    }
    .arrow-btn i {
        font-size: 1.2rem;
    }
}


/* =========================================
   2. CARRUSEL DE LOGOS INFINITO (DISTRIBUIDORES)
   ========================================= */

.distribuidores-block {
    background-color: #FFFFFF;
    padding: 2rem 0;
    overflow: hidden;
    border-bottom: 1px solid #eee;
    position: relative;
    width: 100%;
    z-index: 2;
}


/* Efecto Fade Lateral (Sombra blanca a los lados) */

.distribuidores-block::before,
.distribuidores-block::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100%;
    position: absolute;
    width: 100px;
    top: 0;
    z-index: 5;
    pointer-events: none;
}

.distribuidores-block::before {
    left: 0;
}

.distribuidores-block::after {
    right: 0;
    transform: rotate(180deg);
}

.slider {
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.slide-track {
    display: flex;
    /* max-content hace que el ancho se ajuste a los logos exactos */
    width: max-content;
    animation: scroll 40s linear infinite;
}

.slide-track:hover {
    animation-play-state: paused;
}


/* Slide Desktop (250px ancho cada logo) */

.slide-logo {
    height: 80px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    box-sizing: border-box;
}

.slide-logo img {
    max-width: 100%;
    max-height: 70px;
    /* Un poco más grandes */
    width: auto;
    object-fit: contain;
    /* AQUÍ ESTABA EL PROBLEMA DEL COLOR: */
    filter: none;
    /* Quitamos grayscale */
    opacity: 1;
    /* Opacidad al 100% */
    transition: all 0.3s ease;
}

.slide-logo img:hover {
    transform: scale(1.15);
}


/* Animación: 16 logos * 250px = 4000px */

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 16));
    }
}


/* =========================================
   3. RESPONSIVE (MÓVIL) - FIX DEFINITIVO
   ========================================= */

@media (max-width: 768px) {
    @media (max-width: 768px) {
        /* --- Ajustes Hero Carousel --- */
        .carousel-block {
            padding-top: 80px !important;
            padding-bottom: 0 !important;
        }
        .carousel-item {
            padding: 0 !important;
            transition: transform 0.6s ease-in-out !important;
        }
        /* 1. CAJA ADAPTATIVA: La caja ahora abraza a la imagen sin forzar tamaños */
        .carousel-slide {
            width: 100% !important;
            height: auto !important;
            /* Permitimos que se ajuste al contenido */
            aspect-ratio: unset !important;
            border-radius: 0 !important;
            background-color: transparent !important;
            /* Eliminamos el fondo oscuro */
            box-shadow: none !important;
            display: block !important;
            position: relative !important;
            overflow: hidden !important;
        }
        /* 2. LA IMAGEN: Dicta la altura del carrusel manteniendo su proporción exacta */
        .carousel-slide img.carousel-img {
            position: relative !important;
            /* Clave: Al no ser absoluta, empuja la altura del contenedor */
            width: 100% !important;
            height: auto !important;
            /* Mantiene la proporción original al 100% */
            object-fit: contain !important;
            display: block !important;
            max-width: none !important;
        }
        /* 3. RECUPERAMOS EL BOTÓN ADAPTADO A MÓVIL */
        .carousel-caption {
            display: flex !important;
            justify-content: center !important;
            align-items: flex-end !important;
            padding-bottom: 8% !important;
            /* Usar % es mucho más responsive que usar px fijos */
        }
        /* Hacemos el botón un poco más pequeño para que no tape la foto */
        .carousel-caption .btn {
            padding: 8px 20px !important;
            font-size: 0.85rem !important;
        }
        /* 4. FLECHAS ADAPTADAS */
        .carousel-control-prev,
        .carousel-control-next {
            opacity: 1 !important;
            width: 15% !important;
            z-index: 10 !important;
        }
        .arrow-btn {
            width: 35px !important;
            height: 35px !important;
        }
        .arrow-btn i {
            font-size: 1.2rem !important;
        }
        /* --- Ajustes Logos (Abajo) --- */
        .distribuidores-block::before,
        .distribuidores-block::after {
            width: 30px !important;
        }
        .slide-logo {
            width: 130px !important;
            padding: 0 10px !important;
        }
        .slide-logo img {
            max-height: 40px !important;
        }
        @keyframes scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(calc(-130px * 16));
            }
        }
    }
}


/* Footer */

.footer {
    background-color: #212529;
    color: #fff;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer p {
    color: #adb5bd;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: #fff;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    color: #fff;
    background-color: #dc3545;
    transform: translateY(-3px);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.copyright {
    color: #adb5bd;
    margin: 0;
    font-size: 0.9rem;
}


/* WhatsApp Bubble */

.footer .whatsapp-bubble {
    background-color: #25d366;
    color: #fff !important;
    border-radius: 50px;
    padding: 0.55rem 1.1rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
    position: absolute;
    right: 0;
    top: 0;
}

.footer .whatsapp-bubble i {
    font-size: 1.32rem;
}

.footer .whatsapp-bubble span {
    font-size: 0.99rem;
    font-weight: 500;
}

.footer .whatsapp-bubble:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    color: #fff !important;
    text-decoration: none;
}


/* WhatsApp Button */

.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-button i {
    font-size: 2rem;
}

.whatsapp-button:hover {
    transform: translateY(-3px) scale(1.1);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}


/* Media queries para el footer y botones */

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    .footer h5 {
        margin-top: 2rem;
    }
    .social-links {
        margin-top: 1.5rem;
    }
    .footer-links {
        margin-bottom: 1.5rem;
    }
    .whatsapp-button {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-button i {
        font-size: 1.75rem;
    }
    .footer .whatsapp-bubble {
        padding: 0.44rem 0.88rem;
    }
    .footer .whatsapp-bubble span {
        font-size: 0.935rem;
    }
    .footer .whatsapp-bubble i {
        font-size: 1.21rem;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    .footer h5 {
        margin-top: 1.5rem;
    }
    .social-links a {
        font-size: 1.25rem;
        width: 30px;
        height: 30px;
    }
    .footer-links a {
        font-size: 0.9rem;
    }
    .copyright {
        font-size: 0.8rem;
    }
    .whatsapp-button {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
    }
    .whatsapp-button i {
        font-size: 1.5rem;
    }
    .footer .whatsapp-bubble {
        padding: 0.33rem 0.66rem;
    }
    .footer .whatsapp-bubble span {
        font-size: 0.88rem;
    }
    .footer .whatsapp-bubble i {
        font-size: 1.1rem;
    }
}

.btn-danger {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-danger:hover {
    background-color: #0738b3;
    /* azul un poco más oscuro */
    border-color: #0738b3;
}

.navbar,
.oferta-block,
.distribuidores-block {
    background-color: #F4F5F6;
}

.oferta-block {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer {
    background: linear-gradient( 180deg, #1f2328 0%, #212529 100%);
}

.footer h5 {
    letter-spacing: 0.3px;
}

.footer-links a {
    position: relative;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.form-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background-color: transparent;
    box-sizing: border-box;
    position: relative;
}

.form-container {
    background-color: #ffffff;
    color: #333333;
    margin: 0 auto;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    border-top: 6px solid #007bff;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-container h2 {
    text-align: center;
    margin: 0 0 30px 0;
    color: #007bff;
    font-weight: 700;
}

.form-container .input-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-container .input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555555;
    font-size: 0.95rem;
}

.form-container .input-group input {
    width: 100%;
    padding: 14px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-container .input-group input:focus {
    border-color: #007bff;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-container .input-group input:invalid:not(:placeholder-shown) {
    border-color: #ff4444;
    background-color: #fff8f8;
}

.multiselect-container {
    position: relative;
    margin-bottom: 20px;
    text-align: left;
}

.multiselect-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555555;
    font-size: 0.95rem;
}

.select-box {
    position: relative;
    width: 100%;
    cursor: pointer;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 14px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.select-box:hover {
    border-color: #007bff;
}

.select-box.error {
    border-color: #ff4444;
    background-color: #fff8f8;
}

.selected-text {
    color: #333;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 10px;
    background: transparent !important;
    /* Forza fondo transparente */
    opacity: 1 !important;
    /* Forza visibilidad total */
}


/* AQUÍ ESTABA EL PROBLEMA: Cambié el nombre de la clase */

.selected-text.texto-vacio {
    color: #757575;
    font-style: italic;
    background-color: transparent !important;
}

.dropdown-arrow-icon {
    font-size: 12px;
    color: #555;
    transition: transform 0.3s;
}

.select-box.open .dropdown-arrow-icon {
    transform: rotate(180deg);
}

.checkboxes-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 5px;
}

.checkboxes-options.show {
    display: block;
}

.checkboxes-options label {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
    transition: background 0.2s;
    font-size: 15px;
    color: #333;
    font-weight: 400;
}

.checkboxes-options label:last-child {
    border-bottom: none;
}

.checkboxes-options label:hover {
    background-color: #f0f8ff;
}

.checkboxes-options input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #007bff;
}

.checkbox-container {
    margin-top: 25px;
    font-size: 0.9rem;
    color: #555;
    text-align: left;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 10px;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #007bff;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-item label {
    cursor: pointer;
    line-height: 1.4;
}

.legal-trigger {
    color: #007bff;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 5px;
    position: relative;
    z-index: 10;
}

.arrow-icon {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    margin-left: 3px;
}

.arrow-icon.open {
    transform: rotate(180deg);
}

.legal-summary {
    display: none;
    background-color: transparent;
    padding: 10px 0 0 0;
    margin-top: 5px;
    font-size: 0.75rem;
    color: #777;
    line-height: 1.5;
    border-top: 1px solid #eee;
    text-align: justify;
}

.legal-summary p {
    margin: 0;
}

.more-info-link {
    color: #007bff;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 5px;
    font-weight: bold;
}

.form-container button {
    width: 100%;
    padding: 15px;
    background-color: #007bff;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.form-container button:hover {
    background-color: #0056b3;
}

.form-container button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.nota-final {
    text-align: center;
    font-size: 0.75rem;
    color: #999;
    margin-top: 15px;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-box-success {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-top: 6px solid #28a745;
    animation: slideUp 0.3s ease;
}

.modal-box-legal {
    background-color: white;
    border-radius: 10px;
    width: 95%;
    max-width: 900px;
    height: 85vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: #aaa;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
    z-index: 100;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #333;
}

.tabs-header {
    display: flex;
    background-color: #f1f1f1;
    border-bottom: 1px solid #ddd;
    padding-right: 40px;
    flex-shrink: 0;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
    font-size: 0.9rem;
}

.tab-btn:hover {
    background-color: #e9e9e9;
    color: #333;
}

.tab-btn.active {
    color: #007bff;
    border-bottom: 3px solid #007bff;
    background-color: white;
}

.legal-tab-content {
    /* Antes se llamaba .tab-content */
    padding: 30px;
    overflow-y: auto;
    text-align: left;
    font-size: 0.85rem;
    color: #444;
    line-height: 1.6;
    display: none;
    /* Esto era lo que ocultaba tus ofertas */
    height: 100%;
}

.legal-tab-content.active {
    /* Antes .tab-content.active */
    display: block;
}

.legal-tab-content h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.legal-tab-content h4 {
    margin-top: 20px;
    color: #007bff;
    font-size: 1rem;
    margin-bottom: 5px;
}

.legal-tab-content p {
    margin-bottom: 10px;
    text-align: justify;
}

.legal-tab-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.legal-tab-content li {
    margin-bottom: 5px;
}

.modal-box-success h3 {
    color: #28a745;
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.modal-box-success p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hidden-field {
    display: none;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: -9999px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .tabs-header {
        flex-direction: column;
    }
    .tab-btn {
        padding: 10px;
        border-bottom: 1px solid #ddd;
    }
    .tab-btn.active {
        border-left: 4px solid #007bff;
        border-bottom: 1px solid #ddd;
    }
}


/* =========================================
   SECCIÓN DE PREGUNTAS FRECUENTES (FAQ)
   ========================================= */

.faq-section {
    background-color: #F8F9FA;
    position: relative;
    z-index: 2;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

.accordion-button {
    font-weight: 600;
    color: #333;
    background-color: #fff;
    padding: 1.25rem;
    box-shadow: none !important;
    /* Quita el borde azul al hacer click */
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(9, 71, 226, 0.05);
    /* Fondo azul muy clarito al abrir */
}

.accordion-button:focus {
    border-color: rgba(9, 71, 226, 0.1);
    box-shadow: 0 0 0 0.25rem rgba(9, 71, 226, 0.1);
}

.accordion-body {
    padding: 1.25rem;
    color: #666;
    line-height: 1.6;
}


/* =========================================
   FORMULARIO DE REGISTRO (Estilo Storm Force)
   ========================================= */

.form-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: #F4F5F6;
    /* Mismo fondo que el body */
    position: relative;
    z-index: 2;
}

.form-container {
    background-color: #ffffff;
    color: #333333;
    margin: 0 auto;
    padding: 40px;
    border-radius: 20px;
    /* Bordes más redondeados */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* Sombra suave */
    width: 100%;
    max-width: 700px;
    border-top: 6px solid var(--primary-color);
    /* Azul Storm Force */
    box-sizing: border-box;
}

.form-container h2 {
    text-align: center;
    margin: 0 0 30px 0;
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Inputs y Labels */

.form-container .input-group {
    margin-bottom: 20px;
    text-align: left;
    display: block;
    /* Asegura que ocupen todo el ancho */
}

.form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 0.9rem;
}

.form-container input[type="text"],
.form-container input[type="tel"],
.form-container input[type="email"] {
    width: 100%;
    padding: 14px;
    background-color: #f9f9f9;
    border: 2px solid #eee;
    /* Borde más sutil */
    border-radius: 8px;
    color: #333;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.form-container input:focus {
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(9, 71, 226, 0.1);
}


/* Multiselect personalizado */

.select-box {
    position: relative;
    width: 100%;
    cursor: pointer;
    background-color: #f9f9f9;
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.select-box:hover {
    border-color: #ccc;
}

.select-box.open {
    border-color: var(--primary-color);
}

.select-box.error {
    border-color: #ff4444;
    background-color: #fff8f8;
}

.checkboxes-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
    margin-top: 8px;
}

.checkboxes-options.show {
    display: block;
}

.checkboxes-options label {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
    transition: background 0.2s;
    font-weight: 500;
    margin-bottom: 0;
    /* Reset del margin global de labels */
}

.checkboxes-options label:hover {
    background-color: #f0f8ff;
}


/* Checkboxes legales */

.checkbox-container {
    margin-top: 25px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 10px;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checkbox-item label {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 0;
    cursor: pointer;
}


/* Botón de enviar */

.form-container button[type="submit"] {
    width: 100%;
    padding: 16px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 50px;
    /* Botón redondeado estilo Storm */
    color: white;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
    box-shadow: 0 10px 20px rgba(9, 71, 226, 0.3);
}

.form-container button[type="submit"]:hover {
    background-color: #0738b3;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(9, 71, 226, 0.4);
}

.form-container button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}


/* Textos legales y detalles */

.legal-trigger,
.more-info-link {
    color: var(--primary-color);
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

.legal-summary {
    display: none;
    font-size: 0.75rem;
    color: #777;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}


/* =========================================
   MODALES (Éxito y Legal Completo)
   ========================================= */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Fondo más oscuro */
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    /* Efecto borroso de fondo */
    animation: fadeIn 0.3s ease;
}


/* Modal de Éxito */

.modal-box-success {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-top: 6px solid #28a745;
    /* Verde éxito */
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-box-success h3 {
    color: #28a745;
    margin: 15px 0;
    font-weight: 800;
}


/* Modal Legal (Grande) */

.modal-box-legal {
    background-color: white;
    border-radius: 15px;
    width: 95%;
    max-width: 900px;
    height: 85vh;
    /* Altura fija grande */
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
    overflow: hidden;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #aaa;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #333;
}


/* Tabs del Modal Legal */

.tabs-header {
    display: flex;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    padding: 0;
}

.tab-btn {
    flex: 1;
    padding: 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    font-size: 0.95rem;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    background-color: #e9ecef;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    background-color: white;
}

.legal-tab-content {
    padding: 40px;
    overflow-y: auto;
    /* Scroll interno */
    text-align: left;
    color: #444;
    line-height: 1.7;
    display: none;
}

.legal-tab-content.active {
    display: block;
}

.legal-tab-content h3 {
    margin-top: 0;
    color: #222;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    margin-bottom: 25px;
}

.legal-tab-content h4 {
    color: var(--primary-color);
    margin-top: 30px;
    font-size: 1.1rem;
    font-weight: 700;
}


/* Animaciones */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Estilos específicos para esta página (Hero y Secciones) */


/* Hero Section: Fondo oscuro y elegante */

.career-hero {
    /* Usamos tu banner pero oscurecido para que el texto resalte */
    background: linear-gradient(to right, rgba(10, 10, 10, 0.9) 0%, rgba(9, 71, 226, 0.6) 100%), url('media/Telefonia_Banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Efecto Parallax */
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 0;
    padding-top: 80px;
    /* Para compensar el navbar fijo */
}

.career-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}


/* Tarjetas de Valores */

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-bottom: 4px solid transparent;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(9, 71, 226, 0.15);
    border-bottom: 4px solid var(--primary-color);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}


/* Sección Beneficios (Oscura) */

.benefits-section {
    background-color: #1E1E1E;
    /* Tu color secundario */
    color: white;
    position: relative;
    overflow: hidden;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: -5px;
}


/* Ajustes Responsive */

@media (max-width: 768px) {
    .career-hero h1 {
        font-size: 2.5rem;
    }
    .career-hero {
        height: auto;
        padding: 150px 0 100px;
    }
}

.telecom-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    background-color: transparent;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.telecom-box {
    background-color: #ffffff;
    color: #2c3e50;
    margin: 0 auto;
    padding: 45px 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 85, 255, 0.08);
    width: 100%;
    max-width: 600px;
    border-top: 5px solid black;
    box-sizing: border-box;
}

.telecom-title {
    text-align: center;
    margin: 0 0 35px 0;
    color: black;
    font-weight: 800;
    font-size: 1.8rem;
}

.telecom-field {
    margin-bottom: 22px;
    text-align: left;
}

.telecom-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
    font-size: 0.95rem;
}

.telecom-input {
    width: 100%;
    padding: 15px;
    background-color: #f8faff;
    border: 1px solid #dce4ec;
    border-radius: 8px;
    color: #2c3e50;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

select.telecom-input {
    cursor: pointer;
    appearance: auto;
}

.telecom-input:focus {
    border-color: #0056b3;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

.telecom-input:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
    background-color: #fdf5f4;
}

.telecom-checks {
    margin-top: 30px;
    font-size: 0.9rem;
    color: #5c6a79;
    text-align: left;
}

.telecom-check-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 12px;
}

.telecom-check-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #0056b3;
    cursor: pointer;
    flex-shrink: 0;
}

.telecom-check-row label {
    cursor: pointer;
    line-height: 1.5;
}

.telecom-link {
    color: #0056b3;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 4px;
    position: relative;
    z-index: 10;
}

.telecom-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 0.75rem;
    margin-left: 4px;
}

.telecom-arrow.open {
    transform: rotate(180deg);
}

.telecom-legal-mini {
    display: none;
    background-color: transparent;
    padding: 12px 0 0 0;
    margin-top: 8px;
    font-size: 0.8rem;
    color: #7f8c8d;
    line-height: 1.6;
    border-top: 1px solid #ecf0f1;
    text-align: justify;
}

.telecom-btn {
    width: 100%;
    padding: 16px;
    background-color: black;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.2);
}

.telecom-btn:hover {
    background-color: #004494;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.3);
}

.telecom-btn:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.telecom-note {
    text-align: center;
    font-size: 0.8rem;
    color: #95a5a6;
    margin-top: 15px;
}

.telecom-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    animation: teleFadeIn 0.3s ease;
}

.telecom-modal-success {
    background-color: white;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-top: 8px solid #2ecc71;
    animation: teleSlideUp 0.3s ease;
}

.telecom-modal-full {
    background-color: white;
    border-radius: 12px;
    width: 95%;
    max-width: 850px;
    height: 85vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: teleSlideUp 0.3s ease;
    overflow: hidden;
}

.telecom-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #95a5a6;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
    z-index: 100;
    transition: color 0.2s;
}

.telecom-close:hover {
    color: #2c3e50;
}

.telecom-tabs {
    display: flex;
    background-color: #f8faff;
    border-bottom: 2px solid #e1e8ed;
    padding-right: 50px;
    flex-shrink: 0;
}

.telecom-tab-btn {
    flex: 1;
    padding: 18px 10px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 700;
    color: #7f8c8d;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
    font-size: 0.95rem;
}

.telecom-tab-btn:hover {
    color: #2c3e50;
    background-color: #f1f5f8;
}

.telecom-tab-btn.telecom-active {
    color: #0056b3;
    border-bottom: 3px solid #0056b3;
    background-color: white;
}

.telecom-tab-body {
    padding: 35px;
    overflow-y: auto;
    text-align: left;
    font-size: 0.9rem;
    color: #34495e;
    line-height: 1.7;
    display: none;
    height: 100%;
}

.telecom-tab-body.telecom-active {
    display: block;
}

.telecom-tab-body h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 12px;
}

.telecom-tab-body h4 {
    margin-top: 25px;
    color: #0056b3;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.telecom-tab-body p {
    margin-bottom: 12px;
    text-align: justify;
}

.telecom-tab-body ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.telecom-tab-body li {
    margin-bottom: 6px;
}

.telecom-modal-success h3 {
    color: #2ecc71;
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.telecom-modal-success p {
    color: #5c6a79;
    line-height: 1.6;
    margin-bottom: 20px;
}

.telecom-bot-trap {
    display: none;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: -9999px;
}

@keyframes teleFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes teleSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .telecom-tabs {
        flex-direction: column;
        padding-right: 0;
        padding-top: 40px;
    }
    .telecom-tab-btn {
        padding: 12px;
        border-bottom: 1px solid #e1e8ed;
    }
    .telecom-tab-btn.telecom-active {
        border-left: 4px solid #0056b3;
        border-bottom: 1px solid #e1e8ed;
    }
    .telecom-close {
        top: 10px;
        right: 15px;
    }
}


/* =========================================
   ESTILOS ESPECÍFICOS PARA PÁGINA DE OFERTAS
   ========================================= */


/* Header de la página */

.ofertas-header {
    padding-top: 130px;
    padding-bottom: 50px;
    background: #F4F5F6;
    /* Mismo fondo que tu index */
    border-bottom: 1px solid #e9ecef;
}


/* Tarjeta de Oferta en la cuadrícula */

.oferta-card {
    border-radius: 16px;
    background-color: #ffffff;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.oferta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(9, 71, 226, 0.15) !important;
    border-color: rgba(9, 71, 226, 0.2);
}


/* Contenedor de la imagen para que sea cuadrada */

.oferta-img-container {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* Esto hace que el contenedor sea siempre un cuadrado perfecto 1:1 */
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background-color: #f8f9fa;
}

.oferta-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Asegura que la imagen llene el cuadrado sin deformarse */
    transition: transform 0.5s ease;
}

.oferta-card:hover .oferta-img {
    transform: scale(1.05);
}


/* Etiqueta pequeña sobre la imagen */

.oferta-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #dc3545;
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.4);
    z-index: 2;
}


/* Textos de la tarjeta */

.oferta-title {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2rem;
}


/* Tarjetas de "Próximamente" vacías */

.card-proximamente {
    background-color: #fbfbfc !important;
    border: 2px dashed #e2e8f0;
    cursor: default;
}

.card-proximamente:hover {
    transform: none;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
    border-color: #cbd5e1;
}


/* =========================================
   ESTILOS PARA EL MODAL DE OFERTAS
   ========================================= */


/* Personalización del botón del modal */

.btn-lo-quiero {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-lo-quiero:hover {
    background-color: #0738b3;
    border-color: #0738b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(9, 71, 226, 0.4) !important;
}


/* Ajustes para móvil en el modal */

@media (max-width: 991px) {
    #modalOfertaAmazon .col-lg-5 {
        height: 300px;
        /* Altura fija para la imagen en móvil */
    }
    #modalOfertaAmazon .col-lg-7 {
        padding: 2rem !important;
    }
}


/* Añadir a css/style.css solo si quieres un color específico para el botón hover de energía */

#energiaBtn:hover {
    background-color: #e0a800 !important;
    /* Un amarillo más oscuro */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 168, 0, 0.5) !important;
}

.btn-outline-warning:hover {
    background-color: #ffc107;
    color: #000 !important;
}

#modalEnergia011 .btn-lo-quiero:hover {
    background-color: #e0a800 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4) !important;
}