:root {
    --primary-color: #95bee9; /* Azul vibrante */
    --secondary-color: #3688db; /* Verde para CTAs secundarios */
    --accent-color: #ffc107; /* Amarillo para detalles */
    --dark-color: #04284b; /* Azul oscuro para textos y fondos principales */
    --light-color: #f8f9fa; /* Gris claro para fondos */
    --white-color: #ffff;
    --text-color: #050646; /* Texto general */
    --heading-color: #97a5e6; /* Títulos */
    --border-color: #dee2e6;

    --font-family-sans-serif: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family-sans-serif);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
    overflow-x: hidden;
    /* PADDING PARA COMPENSAR HEADER FIJO */
    padding-top: env(safe-area-inset-top, 0px);
}

/* Clase para bloquear scroll cuando el menú está abierto */
body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ====
   ESTILOS DEL MENÚ HAMBURGUESA LATERAL (ÚNICO)
   ==== */

/* Botón hamburguesa */
.hamburger {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 1rem);
    left: 1rem;
    z-index: 1001;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.hamburger span {
    display: block;
    height: 3px;
    width: 25px;
    background: var(--white-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Menú lateral */
.side-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    padding-top: calc(env(safe-area-inset-top, 20px) + 30px);
    background: linear-gradient(135deg, var(--dark-color) 0%, #bec5cc 100%);
    box-shadow: 2px 0 15px rgba(0,0,0,0.3);
    z-index: 1002;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.side-menu.open {
    left: 0;
}

/* Header del menú lateral */
.side-menu-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    /*background: linear-gradient(120deg, var(--dark-color) 0%, #bec5cc 250%);*/
}

.side-menu-logo {
    height: 80px;
    width: auto;
}

/* Lista del menú lateral */
.side-menu ul {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.side-menu ul li {
    margin: 0;
}

.side-menu ul li a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: var(--white-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.side-menu ul li a:hover {
    background: rgba(149, 190, 233, 0.15);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Overlay del menú */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}


/* ====
   ESTILOS ORIGINALES MANTENIDOS
   ==== */

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    line-height: 1.2;
    margin-bottom: 0.8em;
}

h1 { font-size: 2.2rem; }
h2 { 
    font-size: 2.2rem; 
    color: var(--dark-color); /* Mejora de Contraste */
}
h3 { font-size: 1.8rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-color);
}
/* Banner dinámico de aseguradoras */
.insurers-banner {
    overflow: hidden;
    padding: 40px 0;
    white-space: nowrap;
    position: relative;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,1) 10%, 
        rgba(255,255,255,1) 90%, 
        rgba(255,255,255,0) 100%);
}

.insurers-track {
    display: inline-flex;
    animation: scroll-left 30s linear infinite;
    align-items: center;
}

.insurer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 40px;
    min-width: 150px;
    transition: transform 0.3s ease;
}

.insurer-item:hover {
    transform: scale(1.1);
}

.insurer-item img {
    width: 120px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: grayscale(0%); /* Normal (a color) por defecto */
    transition: filter 0.3s ease;
}

.insurer-item:hover img {
    filter: grayscale(100%); /* Gris al hacer hover */
}

.insurer-item span {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
    white-space: normal;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.insurer-item:hover span {
    color: #666; /* Texto más gris al hacer hover */
}

/* Animación de desplazamiento */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pausa la animación al hacer hover */
.insurers-banner:hover .insurers-track {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .insurer-item {
        margin: 0 20px;
        min-width: 100px;
    }
    
    .insurer-item img {
        width: 80px;
        height: 40px;
    }
    
    .insurer-item span {
        font-size: 12px;
    }
    
    .insurers-track {
        animation-duration: 20s;
    }
}

@media (max-width: 480px) {
    .insurer-item {
        margin: 0 15px;
        min-width: 80px;
    }
    
    .insurer-item img {
        width: 60px;
        height: 30px;
    }
    
    .insurers-track {
        animation-duration: 15s;
    }
}
/* Botones */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #05364d;
    border-color: #181179;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--primary-color);
    text-decoration: underline;
}

.btn-link:hover {
    color: var(--dark-color);
}

/* Secciones generales */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 10px;
    color: var(--heading-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.bg-light {
    background-color: var(--light-color);
}

.bg-dark {
    background-color: var(--dark-color);
    color: var(--white-color);
}

.bg-primary-dark {
    background-color: var(--dark-color);
}

.bg-dark h2, .bg-dark h3 {
    color: var(--white-color);
}

.text-white {
    color: var(--white-color);
}

.text-center {
    text-align: center;
}

.mt-3 { margin-top: 20px; }
.mt-4 { margin-top: 30px; }
.mt-5 { margin-top: 50px; }

.hidden {
    display: none;
}

/* Header - CORREGIDO PARA MÓVIL */
header {
    background-color: #081c51;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.986);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    /* PADDING PARA NOTCH */
    padding-top: calc(env(safe-area-inset-top, 0px) + 15px);
}

header .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
}

.logo img {
    height: 60px;
    width: auto;
    transition: height 0.3s;
}

/* Navegación para Desktop */
header nav {
    display: block;
    width: auto;
    order: unset;
    background-color: transparent;
    position: static;
    top: auto;
    left: auto;
    box-shadow: none;
    padding: 0;
}

header nav.active {
    display: block;
}

header nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 30px;
}

header nav ul li a {
    color: var(--white-color);
    font-weight: 500;
    padding: 8px 0;
    display: block;
    border-bottom: none;
}

header nav ul li a:hover {
    color: var(--primary-color);
    background-color: transparent;
}

/* Dropdown Menu para Desktop */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--dark-color);
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-top: 3px solid var(--primary-color);
    border-radius: 5px;
    z-index: 1001;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--white-color);
    padding: 10px 15px;
    display: block;
    white-space: nowrap;
    background-color: transparent;
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.whatsapp-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffff;
    font-size: 1.1em;
    font-weight: 500;
}

.whatsapp-contact i {
    color: #25D366;
    font-size: 1.3rem;
}

/* ELIMINADO COMPLETAMENTE EL SEGUNDO HAMBURGUESA */
.hamburger-menu {
    display: none !important;
}

/* ====
   ESTILOS DEL CARRUSEL SWIPER (SIMPLIFICADO)
   ==== */
   
/* Hero Section - Contenedor principal */
.hero-section {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: calc(env(safe-area-inset-top, 0px) + 80px);
    overflow: hidden;
}
/* Contenedor del carrusel hero */
.hero-swiper {
    width: 100%;
    /* SIN ALTURA FIJA - se ajusta automáticamente */
}
.hero-swiper .swiper-wrapper {
    width: 100%;
    /* SIN ALTURA FIJA */
}

.hero-swiper .swiper-slide {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* SIN ALTURA FIJA - se ajusta a la imagen */
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: auto; /* CLAVE: altura automática */
    max-width: 100%;
    display: block;
    object-fit: contain; /* Mantiene proporciones sin cortar */
}

  /* Asegurar que el carrusel ocupe todo el ancho 
.hero-swiper-desktop {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}
/* Paginación del carrusel */
.hero-swiper .swiper-pagination {
    bottom: 15px;
    z-index: 10;
    position: absolute;
}

.hero-swiper .swiper-pagination-bullet {
    background: rgba(255,255,255,0.7);
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Hero Section - Contenedor principal MOVILE */

.hero-section-mobile    {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: calc(env(safe-area-inset-top, 0px) + 80px);
    overflow: hidden;
}
/* Contenedor del carrusel hero */
.hero-swiper {
    width: 100%;
    /* SIN ALTURA FIJA - se ajusta automáticamente */
}
.hero-swiper .swiper-wrapper {
    width: 100%;
    /* SIN ALTURA FIJA */
}

.hero-swiper .swiper-slide {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* SIN ALTURA FIJA - se ajusta a la imagen */
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: auto; /* CLAVE: altura automática */
    max-width: 100%;
    display: block;
    object-fit: contain; /* Mantiene proporciones sin cortar */
}

  /* Asegurar que el carrusel ocupe todo el ancho 
.hero-swiper-desktop {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}
/* Paginación del carrusel */
.hero-swiper .swiper-pagination {
    bottom: 15px;
    z-index: 10;
    position: absolute;
}

.hero-swiper .swiper-pagination-bullet {
    background: rgba(255,255,255,0.7);
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* OCULTAR FLECHAS COMPLETAMENTE */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    display: none !important;
}

.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* La imagen cubre todo el contenedor sin deformarse */
    z-index: 1; /* Fondo */
    
}


.hero-image-bg,
.hero-image-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* Encima de la imagen */
    width: 100%;
    padding: 32px 16px; /* Espacio alrededor del texto */
    box-sizing: border-box;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--white-color);
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--white-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Seguros Grid */
.insurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.insurance-card {
    background-color: var(--white-color);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.insurance-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.insurance-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.insurance-card h3 {
    margin-bottom: 15px;
    color: var(--heading-color);
}

.insurance-card p {
    color: var(--text-color);
    margin-bottom: 25px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    margin-bottom: 15px;
    color: var(--white-color);
}

.feature-item p {
    color: rgba(255,255,255,0.9);
}

/* Testimonials */
.testimonials {
    margin-top: 60px;
}

.testimonials h3 {
    color: var(--white-color);
    margin-bottom: 40px;
}

.testimonial-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background-color: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--white-color);
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info span {
    color: var(--accent-color);
    font-weight: 500;
}

/* About Us Section */
.about-us-section {
    margin-bottom: 40px;
}

.mission-vision-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.info-card {
    background-color: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.subsection-title {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.section-text {
    color: rgba(255,255,255,0.95);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Videos de Pólizas */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

.video-item {
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.video-item video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.video-item h4 {
    padding: 15px 20px 0;
    margin-bottom: 5px;
    color: var(--heading-color);
}

.video-item p {
    padding: 0 20px 20px;
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Calculadora de Seguros */
.calculator-form-container {
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--heading-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    outline: none;
}

/* CAMPO EMAIL OBLIGATORIO DESTACADO */
.form-group input[required] {
    border-left: 4px solid var(--primary-color);
}

.form-group.hidden {
    display: none;
}

.calculator-module.hidden {
    display: none;
}

.result-box {
    background-color: #e9f7ef;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.result-box h3 {
    color: #155724;
    margin-bottom: 15px;
}

.result-box p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #155724;
}

/* Contacto */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-form-container, .contact-info-block {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-form-container h3, .contact-info-block h3 {
    margin-top: 0;
    margin-bottom: 30px;
    color: var(--heading-color);
}

.contact-info-block p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.contact-info-block p i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.contact-info-block a {
    color: var(--text-color);
}
.contact-info-block a:hover {
    color: var(--primary-color);
}

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.social-links a {
    font-size: 1.8rem;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0 20px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col .footer-logo {
    height: 70px;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.7);
}

  /* Por defecto, solo se muestra el slider de escritorio */
.hero-swiper-mobile {
  display: none !important;
}
.hero-swiper-desktop {
  display: block !important;
}


/* ====
   RESPONSIVE DESIGN CORREGIDO
   ==== */

/* Tablet y móvil grande */
/* ====
   RESPONSIVE DESIGN CORREGIDO
   ==== */

/* Tablet y móvil grande */
@media (max-width: 992px) {
    /* AJUSTAR BODY PARA HEADER FIJO */
    body {
        padding-top: calc(env(safe-area-inset-top, 0px) + 0px);
    }
    
    /* AJUSTAR HERO PARA MÓVIL */
    .hero-section-mobile {
        margin-top: 0;
    }

    /* Ocultar navegación principal en móviles */
    header nav {
        display: none;
    }

    /* Ocultar acciones del header en móvil */
    .header-actions {
        display: none;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.7rem; }
    
    .btn-large { 
        padding: 12px 25px; 
        font-size: 1rem; 
    }

    .insurance-grid,
    .video-gallery,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-form-container,
    .contact-form-container,
    .contact-info-block {
        padding: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mission-vision-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-swiper-desktop {
    display: none !important;
  }
  .hero-swiper-mobile {
    display: block !important;
  }
    }

@media (max-width: 768px) {
    .hero-swiper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
    
    /* Limitar altura máxima en móvil */
    .hero-swiper .swiper-slide img {
        max-height: 60vh;
    }
}

@media (max-width: 480px) {
    .hero-swiper .swiper-slide img {
        max-height: 50vh;
    }
    
    .hero-swiper .swiper-pagination {
        bottom: 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col ul {
        padding-left: 0;
    }
    
    .hamburger {
        width: 40px;
        height: 40px;
    }
    
    .hamburger span {
        width: 22px;
        height: 2px;
    }
    
    .side-menu {
        width: 260px;
        left: -260px;
    }

    /* LOGO MÁS PEQUEÑO EN MÓVIL */
    .logo img {
        height: 50px;
    }

    /* HEADER MÁS COMPACTO */
    header {
        padding-bottom: 10px;
    }
}
/* Estilos para páginas internas de seguros */
.hero-section-inner {
    background-color: var(--light-color);
    color: var(--dark-color);
    padding-top: 60px;
    padding-bottom: 60px;
    margin-top: calc(env(safe-area-inset-top, 0px) + 80px);
}

.hero-section-inner h1 {
    color: var(--dark-color);
    font-size: 2.8rem;
    margin-bottom: 0.5em;
}

.hero-section-inner .section-subtitle {
    color: var(--text-color);
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 0;
}

.coverage-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 30px;
}

.coverage-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-color);
}

.coverage-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.coverage-item h4 {
    margin-bottom: 0.5em;
    color: var(--heading-color);
}

.coverage-item p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 0;
}

.insurer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px 40px;
    margin-top: 30px;
}

.insurer-logos span {
    padding: 10px 20px;
    background-color: var(--white-color);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-weight: 500;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--dark-color);
    border: 2px solid var(--accent-color);
}

.btn-accent:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    color: var(--dark-color);
    transform: translateY(-2px);
}

/* ====
   ESTILOS PARA LA PÁGINA DE PAGOS
   ==== */

.pagos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pago-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid var(--primary-color);
}

.pago-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.pago-card img {
    height: 70px;
    max-width: 180px;
    object-fit: contain;
    margin-bottom: 20px;
}

.pago-card span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* ESTILOS PARA EL BOTÓN FLOTANTE DE WHATSAPP */
.whatsapp-flotante {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 25px;
    background-color: #25D366; /* Color de WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
    z-index: 10000; /* Asegura que esté por encima de otros elementos */
    display: none; /* Oculto por defecto */
}

.whatsapp-flotante i {
    margin-top: 15px; /* Centra el ícono verticalmente */
}

/* MEDIA QUERY PARA MOSTRAR EL BOTÓN SOLO EN MÓVIL */
@media (max-width: 768px) {
    .whatsapp-flotante {
        display: block; /* Muestra el botón en pantallas de 768px o menos */
    }
}