        body {
            background-color: #f4f6f9;
        }

        .card-custom {
            border-radius: 8px;
            padding: 15px;
            text-align: center;
            box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
        }

        .card-custom img {
            width: 100%;
            height: 280px;
            object-fit: cover;
            border-radius: 5px;
        }

        .card-title-custom {
            margin-top: 15px;
            font-weight: bold;
            color: #0b3c7c;
            font-size: 18px;
        }

        .card-custom:hover {
            transform: translateY(-5px);
            transition: 0.3s;
        }

    body {
        background: #f4f6f9;
    }

    .stats-section {
        background: #dcdcdc;
        padding: 40px 20px;
    }

    .stat-item {
        text-align: center;
        position: relative;
    }

    .stat-item:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 10%;
        height: 80%;
        width: 1px;
        background: #bbb;
    }

    .icon-circle {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background: #1f4e8c;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 10px;
        color: white;
        font-size: 28px;
    }

    .icon-circle.light {
        background: #2c6fb7;
    }

    .stat-number {
        font-size: 26px;
        font-weight: bold;
        color: #1f4e8c;
    }

    .stat-text {
        color: #1f4e8c;
        font-size: 14px;
    }

    .stat-sub {
        font-size: 13px;
        color: #1f4e8c;
    }

    .iso-img {
        width: 70px;
        margin-bottom: 10px;
    }



/* PARA LA IMAGEN DE NECECITA MAS INFORMACION*/

/* GENERAL */
.contact-section {
    overflow: hidden;
    background: #f5f5f5;
}

.form-side {
    padding: 80px; /* Más aire para que respire */
    z-index: 10;
}

.titulo {
    color: #0b3c7c;
    font-weight: 800;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

/* BANDERAS */
.flags {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.flag {
    text-align: center;
    cursor: pointer;
    padding: 10px;
    color: #999;
    font-weight: bold;
    transition: 0.3s;
}

.flag.active {
    color: #0b3c7c;
    border-bottom: 3px solid #8b1e2d; /* Estilo más moderno */
}

/* INPUTS */
.form-control {
    margin-bottom: 5px;
    height: 50px;
    border: 1px solid #ced4da;
    border-radius: 0; /* Estilo corporativo cuadrado */
}

.form-control:focus {
    border-color: #0b3c7c;
    box-shadow: none;
}

/* IMAGEN Y FLECHA */
.image-side {
    position: relative;
    min-height: 600px;
    background-image: url('../img/Quienes_somos.png'); 
    background-size: cover;
    background-position: center;
}

/* Capa azul sobre la foto */
.image-side::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 60, 124, 0.5); /* Azul con transparencia */
    z-index: 1;
}

/* LA FLECHA BLANCA (Arrow Divider) */
.arrow-divider {
    position: absolute;
    top: 0;
    left: -2px; /* Ajuste para evitar líneas raras */
    width: 200px; /* Ancho de la punta de la flecha */
    height: 100%;
    background: #f5f5f5; /* Debe ser el mismo color que .form-side */
    z-index: 5;
    /* Los puntos definen: (arriba-izq, arriba-punta, abajo-punta, abajo-izq) */
    clip-path: polygon(0 0, 0 100%, 100% 50%);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .form-side { padding: 40px; }
    .image-side { display: none; }
}




/* CODIGO PARA EL PIE DE PAGINA*/

/* FOOTER */
.footer {
    background: #0b3c7c;
}

/* MENU */
.footer-menu {
    gap: 20px;
}

.footer-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-menu li a:hover {
    color: #ff4d4d;
}

/* LINEA */
hr {
    opacity: 0.2;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-menu {
        flex-direction: column;
        gap: 10px;
    }
}


/* --------------------------------------------ALGUNOS CLIENTES QUE CONFIAN EN NOSOTROS-------------------------------------------*/
/* Animación del Título */
.reveal-text {
    animation: fadeInUp 0.8s ease backwards;
}

/* Estilos de los logos */
.client-logo {
    max-height: 90px;

    opacity: 100;
    transition: all 0.4s ease;
}

/* Efecto hover individual */
.client-item {
    background-color: #fff;
    transition: all 0.3s ease;
    overflow: hidden;
}

.client-item:hover {
    background-color: #f8f9fa;
    box-shadow: inset 0 0 15px #062F6E;
    z-index: 10;
}

.client-item:hover .client-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Animación de entrada en cascada para la cuadrícula */
.client-item {
    animation: fadeInScale 0.5s ease backwards;
}

/* Delays para efecto cascada (12 items) */
.client-item:nth-child(1) { animation-delay: 0.1s; }
.client-item:nth-child(2) { animation-delay: 0.2s; }
.client-item:nth-child(3) { animation-delay: 0.3s; }
.client-item:nth-child(4) { animation-delay: 0.4s; }
.client-item:nth-child(5) { animation-delay: 0.5s; }
.client-item:nth-child(6) { animation-delay: 0.6s; }
.client-item:nth-child(7) { animation-delay: 0.7s; }
.client-item:nth-child(8) { animation-delay: 0.8s; }
.client-item:nth-child(9) { animation-delay: 0.9s; }
.client-item:nth-child(10) { animation-delay: 1.0s; }
.client-item:nth-child(11) { animation-delay: 1.1s; }
.client-item:nth-child(12) { animation-delay: 1.2s; }

/* Keyframes */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}



/*********************************************** PARA LA SECCION DE NOSOTROS ********************************************/

/* Variables y Utilidades */
.text-navy { color: #0b3c7c; }
.border-left-navy { border-left: 4px solid #0b3c7c; }

.experience-section {
    overflow: hidden;
}

/* Contenedor de Imagen */
.experience-visual-wrapper {
    z-index: 1;
}

.visual-composition-container {
    position: relative;
    display: inline-block;
}

.main-composed-img {
    position: relative;
    z-index: 3;
    filter: drop-shadow(10px 10px 20px rgba(0,0,0,0.1));
    max-width: 80%; /* Cambia este valor (ej. de 80% a 60%) para achicarla */
    height: auto;    
}

/* Decoración de fondo (Triángulo gris sutil) */
.bg-decoration {
    position: absolute;
    top: 25%;
    left: 10%;
    width: 50%;
    height: 50%;
    background: #f4f6f9;
    clip-path: polygon(10% 0%, 100% 30%, 90% 100%, 0% 70%);
    z-index: 1;
}

/* Iconos Flotantes */
.floating-asset {
    position: absolute;
    z-index: 5;
    transition: transform 0.4s ease;
}


/* Efecto Hover */
.experience-visual-wrapper:hover .floating-asset {
    transform: translateY(-10px);
}

/* Tipografía y Espaciado */
.main-description {
    font-size: 1.15rem;
    line-height: 1.5;
    color: #8E8A8A;
}

.second-description {
    font-size: 1.25rem;
    line-height: 1.5;
    color: #000000;
}

.sub-description {
    font-size: 1.05rem;
    line-height: 1.6;
}



/* Mobile Adjustments */
@media (max-width: 991px) {
    .experience-text {
        text-align: center;
    }
    .border-left-navy {
        border-left: none;
        border-top: 3px solid #0b3c7c;
        padding-left: 0;
        padding-top: 15px;
        display: inline-block;
    }
    .icon-plus { left: 0; }
}


/* --------------------------------------------PLANES DE SEGUROS-------------------------------------------*/

/* --- ESTILOS SECCIÓN TIPOS DE SEGUROS --- */

/* Generales */
.text-navy {
    color: #0b3c7c; /* Azul marino corporativo */
}

.seguros-types-section {
    position: relative;
    background-color: #ffffff;
}

/* Header con Fondo */
.seguros-header-bg {
    background-image: linear-gradient(rgba(11, 60, 124, 0.7), rgba(11, 60, 124, 0.7)); /* AJUSTAR RUTA DE IMAGEN */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto Parallax suave */
}

.seguros-header-bg h1 {
    font-size: 3rem;
    font-style: italic;
    color: #ffffff;
}

.letter-spacing {
    letter-spacing: 2px;
}

/* Contenedor de la Grilla (Sección Blanca Superpuesta) */
.seguros-grid-container {
    width: 90%;
    max-width: 1200px;
    margin-top: -60px; /* Superpone el contenedor blanco sobre el header azul */
    border-radius: 8px;
    position: relative;
    z-index: 10;
}

/* Contenedor del icono más pequeño */
.seguro-icon-wrapper {
    width: 70px;   /* Antes 70px */
    height: 70px;  /* Antes 70px */
    background-color: #0b3c7c;
    flex-shrink: 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Ajuste del tamaño de la imagen/icono interno */
.seguro-icon {
    max-width: 90%; /* Ajusta este % para que el icono no toque los bordes */
    
}

.font-weight-bold{
 font-weight: bold;
}


/* Texto y Títulos de los Seguros */
.seguro-text h5 {
    font-size: 1.1rem;
    color: #525252;
    font-weight: bold;
}

.seguro-text p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #525252 !important;
}

.btn-read-more {
    text-decoration: none;
    font-weight: bold;
    color: #0b3c7c;
    transition: color 0.3s ease;
}

.btn-read-more:hover {
    color: #0b3c7c; /* Color rojo corporativo al hover */
    text-decoration: underline;
}

/* Efectos al pasar el mouse (hover) sobre un ítem */
.seguro-item:hover .seguro-icon-wrapper {
    transform: scale(1.1);
    background-color: #0b3c7c; /* Rojo corporativo al hover */
}

/* Ajustes Responsive para Móviles */
@media (max-width: 991px) {
    .seguros-grid-container {
        padding: 2rem !important;
        margin-top: -30px;
    }
    .seguros-header-bg h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .seguros-grid-container {
        width: 95%;
    }
    .seguro-item {
        flex-direction: column;
        text-align: center;
        align-items: center !important;
    }
    .seguro-icon-wrapper {
        margin-right: 0 !important;
        margin-bottom: 15px;
    }
}


****************
/* 1. Contenedor Principal */
.seguros-header-bg {
    width: 100%;
    min-height: 300px; /* Altura mínima del banner */
    overflow: hidden;
    background-color: #0b3c7c; /* Color de respaldo */
}

/* 2. Wrapper de la imagen y el filtro azul */
.banner-image-wrapper {
    position: relative;
    width: 100%;
    z-index: 1;
}

.img-banner-header {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Capa Azul Transparente */
.banner-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 60, 124, 0.6); /* Azul al 60% de opacidad */
    z-index: 2;
}

/* 3. Posicionamiento del Texto ENCIMA */
.banner-text-container {
    position: absolute;
    top: 25%; /* Centrado vertical */
    left: 0%; /* Centrado horizontal */
    transform: translate(-50%, -50%); /* Ajuste fino de centro */
    width: 100%;
    z-index: 10; /* Valor alto para estar sobre el ::after azul */
}

.banner-text-container h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.letter-spacing {
    letter-spacing: 3px;
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .banner-text-container h1 {
        font-size: 2rem;
    }
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

.check-circle{
    letter-spacing: 10px;
    color: #2c6fb7

}

/* --- ESTILOS REPRODUCCIÓN IMAGEN: BENEFICIOS ADICIONALES --- */

/* Contenedor principal de la tarjeta */
.beneficios-adicionales-section {
    background-color: #f8f9fa; /* Fondo gris muy suave para resaltar la tarjeta */
}

/* La tarjeta azul con bordes redondeados y sombra (como la imagen) */
.beneficios-card-azul {
    background-color: #0b3c7c; /* Azul marino corporativo (tomado de tu imagen) */
    color: #ffffff;           /* Texto blanco */
    padding: 1rem;           /* Espaciado interno generoso */
    border-radius: 20px;     /* Bordes redondeados más pronunciados */
    max-width: 650px;         /* Ancho máximo similar a la imagen */
    width: 100%;
}

/* Título: Beneficios adicionales */
.beneficios-titulo {
    font-size: 1.8rem; /* Tamaño de fuente del título */
    color: #ffffff;
}

/* Clase de utilidad para Itálico y Negrita */
.italic-bold {
    font-style: italic;
    font-weight: 700; /* Negrita pronunciada */
}

/* Estilos de la Lista de Beneficios */
.beneficios-list li {
    font-family: 'Open Sans', sans-serif; /* Suposición de fuente limpia */
    font-size: 1.1rem; /* Tamaño de fuente similar */
    color: #ffffff;    /* Color del texto blanco */
    line-height: 1.5;   /* Espaciado entre líneas */
}

/* Estilo del Icono (El check-lg blanco) */
.beneficios-list i {
    font-size: 1.3rem; /* Tamaño del icono */
    color: #ffffff;   /* Color del icono blanco */
}

/* Ajuste de margen para el icono */
.beneficios-list li span {
    display: inline-block;
}

/* Ajustes Responsive */
@media (max-width: 768px) {
    .beneficios-card-azul {
        padding: 2rem;
    }
    .beneficios-titulo {
        font-size: 1.5rem;
    }
    .beneficios-list li {
        font-size: 1rem;
    }
}

/* Asegura que el contenedor de los logos siempre tenga la misma altura */
#marcasCarousel .carousel-item {
    min-height: 150px; /* Ajusta este valor según el tamaño de tus logos */
    height: 150px;     /* Altura fija para evitar que el carrusel "salte" */
}

/* Fuerza a que la fila (row) ocupe todo el alto del item */
#marcasCarousel .carousel-item .row {
    height: 100%;
}

/* Controla el tamaño de los logos para que no deformen el carrusel */
.logo-marca {
    max-height: 80px;  /* Limita la altura del logo */
    width: auto;       /* Permite que el ancho sea proporcional */
    object-fit: contain; /* Evita que la imagen se estire */
    margin: 0 auto;
}

/******************************************************OPCION DE CONTACTENOS*******************************************/
body {
            background-color: #f4f6f9; /* Fondo gris AdminLTE */
            font-family: 'Roboto', sans-serif;
            color: #333;
        }

        /* Contenedor del Formulario (Tarjeta Blanca) */
        .contact-card {
            background-color: #ffffff;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            max-width: 650px;
            width: 100%;
            margin: 50px auto;
            overflow: hidden;
            border: 1px solid #eaeaea;
        }

        /* --- Estilos de las Pestañas (Tabs) --- */
        .nav-tabs-custom {
            border-bottom: none;
            background-color: #fbfbfb; /* Color de fondo suave de las pestañas inactivas */
            margin-bottom: 0px;
        }
        .nav-tabs-custom .nav-item {
            flex: 1;
            text-align: center;
        }
        .nav-tabs-custom .nav-link {
            border: none;
            border-bottom: 3px solid transparent;
            color: #555;
            font-weight: 500;
            font-size: 1.05rem;
            padding: 15px 0;
            border-radius: 0;
            transition: all 0.2s ease;
        }
        .nav-tabs-custom .nav-link:hover {
            border-bottom-color: #ced4da;
            background-color: #f1f1f1;
        }
        .nav-tabs-custom .nav-link.active {
            color: #0b3c7c; /* Azul marino de tu marca */
            background-color: #ffffff;
            border-bottom: 3px solid #0b3c7c;
        }

        /* Estilos de los Iconos de Banderas en Pestañas */
        .flag-icon-tab {
            font-size: 1.5rem;
            margin-bottom: 5px;
            display: block;
        }

        /* Para el icono de los TAB*/
        .img-tab {
            width: 30px !important;
            height: auto; /* Mantiene la proporción */
            display: block !important; /* Permite que el margen automático funcione */
            margin: 0 auto 5px auto !important; /* Centra horizontalmente y da espacio abajo */
            text-align: center !important; 
        }

        /* Adicionalmente, asegúrate de que el contenedor (el <a>) esté centrado */
        .nav-tabs-custom .nav-link {
            text-align: center !important;
            display: flex !important;
            flex-direction: column !important; /* Pone la imagen arriba y el texto abajo */
            align-items: center !important;    /* Centra ambos elementos */
            justify-content: center !important;
        }


        /* --- Estilos del Cuerpo del Formulario --- */
        .card-body-custom {
            padding: 10px;
        }

        /* Estilos de los Campos de Entrada (Inputs y Textarea) */
        .form-control-custom {
            border-radius: 0px; /* Bordes rectos */
            border: 1px solid #ced4da;
            padding: 8px 10px;
            font-size: 1.05rem;
            font-weight: 300;
            color: #333;
            transition: all 0.2s ease;
        }
        .form-control-custom::placeholder {
            color: #adb5bd; /* Gris claro de los placeholders en la imagen */
            font-weight: 300;
        }
        .form-control-custom:focus {
            color: #333;
            background-color: #fff;
            border-color: #0b3c7c; /* Borde azul al focus */
            outline: 0;
            box-shadow: 0 0 0 0.1rem rgba(11, 60, 124, 0.15); /* Sombra suave azul */
        }

        /* --- Estilos del Campo de Teléfono (Input con Bandera) --- */
        .input-group-phone {
            position: relative;
        }
        .phone-flag-prepend {
            position: absolute;
            left: 1px;
            top: 1px;
            bottom: 1px;
            display: flex;
            align-items: center;
            padding: 0 12px;
            border-right: 1px solid #ced4da;
            background-color: #f8f9fa;
            color: #555;
            font-size: 0.9rem;
            z-index: 5;
            cursor: pointer;
        }
        .form-control-phone {
            padding-left: 65px; /* Espacio para la bandera y código */
        }
        .phone-flag-prepend::after {
            content: "\f107"; /* Icono de caret-down de FontAwesome */
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            margin-left: 5px;
            font-size: 0.8rem;
        }

        /* --- Estilos del Botón de Enviar --- */
        .btn-enviar {
            background-color: #8b0000; /* Color vino tinto oscuro exacto de tu marca */
            color: #ffffff;
            border: none;
            border-radius: 4px; /* Bordes ligeramente redondeados */
            font-weight: 500;
            font-size: 1.1rem;
            padding: 12px 25px;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
        }
        .btn-enviar:hover {
            background-color: #700000; /* Tono más oscuro al hover */
            color: #ffffff;
        }
        .btn-enviar:focus {
            box-shadow: 0 0 0 0.2rem rgba(139, 0, 0, 0.25);
        }

        /* Ajustes Responsive */
        @media (max-width: 768px) {
            .contact-card {
                margin: 20px auto;
            }
            .card-body-custom {
                padding: 25px;
            }
        }