﻿/* Variables CSS */
:root {
    --primary: #DC143C;
    --secondary: #1E3A8A;
    --accent: #0066FF;
    --dark: #0F172A;
    --light: #ECF0F1;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: var(--dark); background-color: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: linear-gradient(90deg, var(--secondary) 0%, #003A8C 50%, var(--primary) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 0.8rem 0;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.navbar-brand { display: flex; align-items: center; gap: 12px; color: white; font-weight: 700; font-size: 1.3rem; }
.logo-icon { font-size: 2rem; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.9; } }
.logo-text { display: flex; flex-direction: column; gap: 2px; }
.logo-title { font-size: 1.1rem; font-weight: 800; letter-spacing: 1px; }
.logo-subtitle { font-size: 0.7rem; opacity: 0.9; font-weight: 400; }
.navbar-menu { display: flex; list-style: none; gap: 2rem; align-items: center; }
.navbar-menu a { text-decoration: none; color: white; font-weight: 500; transition: var(--transition); position: relative; }
    .navbar-menu a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: white; transition: width 0.3s ease; }
    .navbar-menu a:hover::after { width: 100%; }
    .btn-emergency {
        position: relative; /* permitir posicionar icono fuera del flujo */
        background: white !important;
        color: var(--primary) !important;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 16px !important; /* padding horizontal limitado */
        padding-left: 44px !important; /* espacio para icono absoluto (no afecta centrado del texto) */
        border-radius: 24px;
        font-weight: 600;
        height: 40px; /* altura fija para consistencia */
        line-height: normal;
        box-sizing: border-box;
        min-width: 120px; /* evita compresión que desplace el texto */
    }
    .btn-emergency:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(255,255,255,0.3); }
    .btn-emergency i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); margin: 0; font-size: 1rem; }
.navbar-toggle { display: none; background: none; border: none; color: white; font-size: 1.8rem; cursor: pointer; }


/* Hero */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--secondary) 0%, #003A8C 40%, #9A0A2A 70%, var(--primary) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1200 120%22><path d=%22M0,50 Q300,0 600,50 T1200,50 L1200,120 L0,120 Z%22 fill=%22%23ffffff%22 opacity=%220.1%22/></svg>'); background-size: cover; opacity: 0.3; }
.hero::after { content: ''; position: absolute; top: 0; right: -100px; width: 400px; height: 400px; background: rgba(255,255,255,0.05); border-radius: 50%; animation: float 6s ease-in-out infinite; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; }
.hero-title { font-size: 3.5rem; font-weight: 800; margin-bottom: 1.5rem; line-height: 1.2; animation: slideInDown 0.8s ease; letter-spacing: -1px; }
.hero-subtitle { font-size: 1.3rem; margin-bottom: 2.5rem; opacity: 0.95; animation: slideInUp 0.8s ease 0.2s both; font-weight: 300; }
.hero-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; animation: slideInUp 0.8s ease 0.4s both; }
.hero-features { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.2); animation: slideInUp 0.8s ease 0.6s both; }
.hero-feature { display: flex; align-items: center; gap: 1rem; flex: 1; min-width: 200px; }
.feature-icon { font-size: 2rem; }
.feature-text { font-size: 0.95rem; font-weight: 500; line-height: 1.4; }

@keyframes slideInDown { from { opacity: 0; transform: translateY(-50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0) translateX(0); } 25% { transform: translateY(-20px) translateX(10px); } 50% { transform: translateY(-30px) translateX(0); } 75% { transform: translateY(-20px) translateX(-10px); } }

/* Botones */
.btn { padding: 12px 30px; border: 2px solid transparent; border-radius: 25px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: var(--transition); display: inline-block; text-decoration: none; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: #B01030; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(220,20,60,0.4); }
.btn-secondary { background: transparent; color: white; border-color: white; }
.btn-secondary:hover { background: white; color: var(--secondary); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(255,255,255,0.2); }

section { padding: 80px 20px; }
.section-title { font-size: 2.8rem; text-align: center; margin-bottom: 1rem; color: var(--dark); font-weight: 800; animation: slideInDown 0.6s ease; }
.section-subtitle { text-align: center; font-size: 1.1rem; color: #666; margin-bottom: 3rem; max-width: 800px; margin-left: auto; margin-right: auto; animation: slideInUp 0.6s ease 0.2s both; }

/* Servicios */
.servicios { background: #f8f9fa; }
.servicios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.servicio-card { background: white; padding: 2.5rem; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); text-align: center; transition: var(--transition); border-top: 4px solid var(--primary); animation: slideInUp 0.6s ease backwards; }
.servicio-card:nth-child(1) { animation-delay: 0.1s; }
.servicio-card:nth-child(2) { animation-delay: 0.2s; }
.servicio-card:nth-child(3) { animation-delay: 0.3s; }
.servicio-card:nth-child(4) { animation-delay: 0.4s; }
.servicio-card:nth-child(5) { animation-delay: 0.5s; }
.servicio-card:nth-child(6) { animation-delay: 0.6s; }
.servicio-card:nth-child(7) { animation-delay: 0.7s; }
.servicio-card:nth-child(8) { animation-delay: 0.8s; }
.servicio-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.servicio-icon { font-size: 3rem; margin-bottom: 1.5rem; display: block; animation: bounce 2s ease-in-out infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.servicio-card h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--dark); font-weight: 700; }
.servicio-card p { color: #666; line-height: 1.8; font-size: 0.95rem; }

/* Planes */
.planes { background: white; }
.planes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; align-items: start; }
.plan-card { background: white; border: 2px solid #e0e0e0; border-radius: 15px; padding: 2.5rem; text-align: center; transition: var(--transition); position: relative; animation: slideInUp 0.6s ease backwards; }
.plan-card:nth-child(1) { animation-delay: 0.1s; }
.plan-card:nth-child(2) { animation-delay: 0.2s; }
.plan-card:nth-child(3) { animation-delay: 0.3s; }
.plan-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.plan-card h3 { font-size: 1.6rem; margin-bottom: 0.5rem; color: var(--dark); font-weight: 800; }
.plan-description { font-size: 0.9rem; color: #999; margin-bottom: 1rem; }
.precio { font-size: 2.5rem; color: var(--primary); font-weight: 800; margin-bottom: 1.5rem; }
.precio span { font-size: 0.9rem; color: #999; font-weight: 400; }
.plan-features { list-style: none; margin-bottom: 2rem; text-align: left; }
.plan-features li { padding: 0.7rem 0; color: #666; border-bottom: 1px solid #eee; font-size: 0.95rem; }
.plan-features li:last-child { border-bottom: none; }
.plan-destacado { border-color: var(--primary); background: linear-gradient(135deg, rgba(220,20,60,0.05), rgba(30,58,138,0.05)); transform: scale(1.05); box-shadow: 0 10px 30px rgba(220,20,60,0.2); }
.plan-destacado:hover { transform: scale(1.05) translateY(-10px); box-shadow: 0 20px 50px rgba(220,20,60,0.3); }
.badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%); color: white; padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

/* Nosotros */
.nosotros { background: white; padding: 80px 20px; }
.nosotros .container { max-width: 1200px; margin: 0 auto; }
.nosotros-grid { display: grid; grid-template-columns: 40% 60%; gap: 60px; align-items: start; }
.nosotros-left { display: block; }
.about-gallery { display: grid; grid-template-rows: auto auto; gap: 16px; align-items: start; }
.large-wrap, .small-wrap { position: relative; overflow: hidden; border-radius: 12px; background: #f6f7fb; }
.gallery-img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 300ms cubic-bezier(.2,.9,.2,1); }
.large-wrap { aspect-ratio: 4/3; min-height: 280px; }
.small-wrap { aspect-ratio: 16/10; min-height: 140px; }
.badge-overlay { position: absolute; right: 16px; bottom: 16px; background: linear-gradient(90deg, var(--secondary), var(--primary)); color: white; padding: 12px 18px; border-radius: 12px; box-shadow: 0 8px 30px rgba(16,24,40,0.18); display: flex; flex-direction: column; align-items: flex-end; backdrop-filter: blur(4px); transform: translateY(10px); opacity: 0; transition: all 360ms ease; z-index: 12; }
.badge-title { font-weight: 800; font-size: 1.1rem; line-height: 1; }
.badge-sub { font-size: 0.85rem; font-weight: 600; opacity: 0.95; margin-top: 4px; }
.nosotros-right { display: block; }
.nosotros-title { font-size: 2rem; color: var(--dark); margin: 0 0 16px 0; font-weight: 800; text-align: left; }
.nosotros-lead { color: #4b5563; margin-bottom: 14px; font-size: 1rem; line-height: 1.6; text-align: left; }
.mission-vision { display: flex; gap: 16px; margin: 20px 0 24px 0; }
.card { background: white; border-radius: 12px; padding: 18px; box-shadow: 0 10px 30px rgba(16,24,40,0.06); transition: transform 300ms cubic-bezier(.2,.9,.2,1), box-shadow 300ms cubic-bezier(.2,.9,.2,1); }
.card:hover { transform: translateY(-8px); box-shadow: 0 18px 45px rgba(16,24,40,0.12); }
.card h4 { margin: 0 0 8px 0; color: var(--dark); font-size: 1.05rem; font-weight: 700; }
.card p { margin: 0; color: #6b7280; font-size: 0.95rem; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.stat { display: flex; flex-direction: column; align-items: center; padding: 16px; text-align: center; }
.stat-icon { font-size: 1.8rem; margin-bottom: 8px; }
.stat-number { font-weight: 800; color: var(--primary); font-size: 1.25rem; }
.stat-label { color: #6b7280; font-size: 0.9rem; margin-top: 6px; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal.in-view .gallery-img { transform: scale(1.02); }
.small-wrap.reveal.in-view .badge-overlay { transform: translateY(0); opacity: 1; }

@keyframes slideInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }

/* Contacto */
.contacto { background: white; }
.contacto-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: flex-start; }
.contacto-info { display: flex; flex-direction: column; gap: 1.5rem; }
.info-card { background: linear-gradient(135deg, #f0f4ff 0%, #fff 100%); padding: 1.8rem; border-radius: 12px; border-left: 4px solid var(--primary); transition: var(--transition); animation: slideInLeft 0.6s ease backwards; }
.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }
.info-card:nth-child(4) { animation-delay: 0.4s; }
.info-card:nth-child(5) { animation-delay: 0.5s; }
.info-card:hover { transform: translateX(10px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.card-title { font-size: 1.2rem; color: var(--primary); margin-bottom: 0.5rem; font-weight: 700; }
.card-number { font-size: 1.3rem; color: var(--dark); font-weight: 700; margin-bottom: 0.3rem; }
.card-text { font-size: 0.9rem; color: #999; }

.contacto-form-wrapper { animation: slideInRight 0.6s ease; margin-top: 1rem; }
.contacto-form-wrapper h3 { font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--dark); font-weight: 700; }
.contacto-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contacto-form input, .contacto-form textarea, .contacto-form select { padding: 14px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 0.95rem; font-family: inherit; transition: var(--transition); animation: slideInUp 0.6s ease backwards; }
.contacto-form input:focus, .contacto-form textarea:focus, .contacto-form select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(220,20,60,0.1); }
.btn-submit { width: 100%; }

/* Nueva columna del mapa (50% derecha) */
.map-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.map-card {
    flex: 1 1 auto;
    min-height: 450px;
}

.map-iframe, .map-iframe, #googleMapIframe, .map-iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: 12px;
    border: 0;
    box-shadow: 0 12px 40px rgba(16,24,40,0.12);
}

.map-reference {
    font-size: 0.95rem;
    color: #666;
    margin: 8px 0 0 0;
}

/* Alineación vertical: mapa ocupa la misma altura que las tarjetas de contacto */
.contacto-wrapper > .map-column { align-self: stretch; }

/* Botones Flotantes */
.floating-buttons { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 1rem; z-index: 999; }
.float-btn { width: 60px; height: 60px; border-radius: 50%; border: none; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); box-shadow: 0 5px 20px rgba(0,0,0,0.2); font-size: 1.5rem; }
.float-btn.whatsapp { background: #25D366; }
.float-btn.whatsapp:hover { background: #20BA5D; transform: scale(1.15); box-shadow: 0 8px 25px rgba(37,211,102,0.4); }
.float-btn.call { background: var(--primary); }
.float-btn.call:hover { background: #B01030; transform: scale(1.15); box-shadow: 0 8px 25px rgba(220,20,60,0.4); }
.float-btn.top { background: var(--secondary); display: none; }
.float-btn.top:hover { background: #0F2E7B; transform: scale(1.15); box-shadow: 0 8px 25px rgba(30,58,138,0.4); }
.float-btn.top.show { display: flex; }

/* Footer */
.footer { background: var(--dark); color: white; text-align: center; padding: 2rem; border-top: 3px solid var(--primary); }
.footer p { margin: 0.5rem 0; }

/* Responsive */
@media (max-width: 768px) {
    .navbar-menu { display: none; position: absolute; top: 60px; left: 0; right: 0; background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%); flex-direction: column; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
    .navbar-menu.active { display: flex; }
    .navbar-menu li { padding: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .navbar-toggle { display: block; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    .hero-features { flex-direction: column; gap: 1.5rem; }
    .hero-feature { flex-direction: column; }
    .contacto-wrapper { grid-template-columns: 1fr; }
    .nosotros-grid { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .mission-vision { flex-direction: column; gap: 12px; margin: 16px 0 20px 0; }
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .servicios-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
    .plan-destacado { transform: scale(1); }
    .plan-destacado:hover { transform: translateY(-10px); }
    section { padding: 50px 20px; }
    .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .section-title { font-size: 1.6rem; }
    .servicios-grid { grid-template-columns: 1fr; }
    .planes-grid { grid-template-columns: 1fr; }
    .about-img { height: 300px; }
    .nosotros-text h2 { font-size: 1.8rem; }
    .nosotros-text p { font-size: 0.95rem; }
    .mission-vision { gap: 1.5rem; }
    .stat { padding: 1.5rem 1rem; }
    .stat-number { font-size: 1.5rem; }
    .stat-icon { font-size: 2.2rem; }
    .stats-row { grid-template-columns: 1fr; gap: 1rem; }
    .floating-buttons { bottom: 20px; right: 20px; gap: 0.5rem; }
    .float-btn { width: 50px; height: 50px; font-size: 1.2rem; }

    /* Ajustes para botón Emergencias en móvil */
    .btn-emergency {
        height: 36px;
        min-width: 100px;
        padding-left: 36px !important; /* menos espacio para el icono en móvil */
        padding-right: 12px !important;
        font-size: 0.95rem;
    }
}

/* Font Awesome Íconos - Estilos profesionales */

/* Íconos en general */
i[class*="fa-"] {
    transition: var(--transition);
}

/* Logo y navbar */
.logo-icon i {
    color: white;
    font-size: 2rem;
}

.navbar-menu a i {
    margin-right: 6px;
    color: white;
}

.navbar-toggle i {
    color: white;
    font-size: 1.8rem;
}

.btn-emergency i {
    margin: 0;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;

    /* Color visible */
    color: var(--primary) !important;  /* rojo */
}

/* Hero - Íconos de features */
.feature-icon i {
    color: white;
    font-size: 28px;
    display: block;
}

.hero-buttons i {
    margin-right: 8px;
    font-size: 1rem;
}

/* Servicios - Íconos */
.servicio-icon i {
    color: var(--primary);
    font-size: 32px;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: var(--transition);
}

.servicio-card:hover .servicio-icon i {
    color: var(--secondary);
    transform: scale(1.1);
}

/* Nosotros - Misión y Visión */
.mission h4 i,
.vision h4 i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.icon-mission {
    color: var(--primary);
}

.icon-vision {
    color: var(--secondary);
}

/* Estadísticas */
.stat-icon i {
    color: var(--primary);
    font-size: 32px;
    margin-bottom: 1rem;
    display: inline-block;
    transition: var(--transition);
}

.stat:hover .stat-icon i {
    color: var(--secondary);
    transform: scale(1.15);
}

/* Contacto - Íconos de info */
.card-title i {
    margin-right: 10px;
    font-size: 1.3rem;
    transition: var(--transition);
}

.info-card:hover .card-title i {
    color: var(--primary);
    transform: translateX(5px);
}

.icon-emergency {
    color: var(--primary);
}

.icon-info {
    color: var(--secondary);
}

.icon-email {
    color: var(--primary);
}

.icon-location {
    color: var(--secondary);
}

.icon-time {
    color: var(--primary);
}

/* Botones flotantes */
.float-btn i {
    font-size: 20px;
    color: white;
    transition: var(--transition);
}

.float-btn.whatsapp i {
    font-size: 22px;
}

.float-btn.call i {
    font-size: 20px;
}

.float-btn.top i {
    font-size: 18px;
}

/* Animaciones de íconos en botones flotantes */
.float-btn:hover i {
    transform: scale(1.2);
}

.float-btn.whatsapp:hover i {
    animation: bounce 0.6s ease;
}

@keyframes bounce-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Responsive - Tamaños de íconos en móvil */
@media (max-width: 768px) {
    .feature-icon i {
        font-size: 24px;
    }

    .servicio-icon i {
        font-size: 28px;
    }

    .stat-icon i {
        font-size: 28px;
    }

    .card-title i {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .feature-icon i {
        font-size: 20px;
    }

    .servicio-icon i {
        font-size: 24px;
    }

    .stat-icon i {
        font-size: 24px;
    }

    .logo-icon i {
        font-size: 1.8rem;
    }

    .float-btn i {
        font-size: 18px;
    }
}

/* Mapa Interactivo - Glassmorphism */

.mapa-seccion {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 20px;
}

.mapa-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: slideInDown 0.8s ease;
}

.mapa-header .section-title i {
    margin-right: 12px;
    color: var(--primary);
}

.mapa-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(16, 24, 40, 0.15);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: slideInUp 0.8s ease 0.2s both;
    max-width: 1000px;
    margin: 0 auto;
    height: 500px;
    transition: all 0.6s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.mapa-container:hover {
    box-shadow: 0 30px 80px rgba(16, 24, 40, 0.25);
    transform: translateY(-8px);
}

#mapa {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    z-index: 1;
}

/* (Se omitieron estilos específicos de Leaflet; usamos iframe de Google Maps en la columna derecha) */

/* Información overlay del mapa */
.mapa-info-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 10;
    animation: slideInUp 1.2s ease 0.6s both;
}

.info-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 18px 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--primary);
    transition: all 0.4s ease;
}

.info-box:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transform: translateX(8px);
}

.info-box h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-box h3 i {
    font-size: 1.2rem;
}

.info-box p {
    margin: 6px 0;
    color: #4b5563;
    font-size: 0.95rem;
}

.mapa-coordenadas {
    font-size: 0.85rem !important;
    color: #999 !important;
    font-weight: 500;
}

/* Animaciones suaves para scroll reveal */
.mapa-container.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive - Mapa */
@media (max-width: 768px) {
    .mapa-seccion {
        padding: 60px 20px;
    }

    .mapa-container {
        height: 380px;
        border-radius: 16px;
    }

    .mapa-header .section-title {
        font-size: 2rem;
    }

    .mapa-info-overlay {
        bottom: 16px;
        left: 16px;
    }

    .info-box {
        padding: 14px 18px;
        border-radius: 12px;
    }

    .info-box h3 {
        font-size: 0.95rem;
    }

    .info-box p {
        font-size: 0.85rem;
    }

    /* Deshabilitar gestos agresivos en móvil para iframe del mapa */
    .map-iframe, #googleMapIframe {
        touch-action: manipulation;
    }
}

@media (max-width: 480px) {
    .mapa-seccion {
        padding: 40px 20px;
    }

    .mapa-container {
        height: 300px;
        border-radius: 14px;
        box-shadow: 0 10px 30px rgba(16, 24, 40, 0.12);
    }

    .mapa-header .section-title {
        font-size: 1.6rem;
    }

    .mapa-info-overlay {
        bottom: 12px;
        left: 12px;
    }

    .info-box {
        padding: 12px 16px;
        border-radius: 10px;
    }

    .info-box h3 {
        font-size: 0.85rem;
    }

    .info-box p {
        font-size: 0.75rem;
    }

    #mapa {
        border-radius: 14px;
    }
}
/* Sección Testimonios */
.testimonios {
    background: #f8f9ff;
    padding: 100px 20px;
    text-align: center;
}

/* Forzar altura correcta */
.testimonios-swiper .swiper-slide {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: auto !important;
    padding: 20px 0;
}

.testimonio-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 18px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    max-width: 450px;
    margin: 0 auto;
    transition: 0.4s ease;
}

.testimonio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.testimonio-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonio-name {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Dots modernos */
.swiper-pagination-bullet {
    background: var(--primary);
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    background: var(--secondary);
    opacity: 1;
}
