/* Importar Fuente Dinámica */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

/* --- VARIABLES GLOBALES (CSS Variables) --- */
:root {
    --primary: #2E7D32;
    --secondary: #1B5E20;
    --text: #333333;
    --bg-header: #ffffff;
    --hover: #4CAF50;
    --font-main: 'Montserrat', sans-serif;
    --wa-c1: #25D366;
    --wa-c2: #128C7E;
    --social-color: #028f00;
    --social-gap: 15px;
}

/* --- RESET BÁSICO --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-main); color: var(--text); background: #f9f9f9; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- HEADER GENERAL --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
    /* Override local de la variable de texto para el estado inicial */
    --text: #888888;
    color: var(--text);
}

.site-header.sticky {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 10px 0;
    /* Restaurar variable de texto al valor global */
    --text: #333333;
    color: var(--text);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

/* --- MENÚ DESKTOP --- */
.desktop-menu { display: none; }
@media (min-width: 992px) {
    .desktop-menu { display: flex; gap: 30px; align-items: center; }
    .desktop-menu a { text-transform: uppercase; letter-spacing: 1px; }
    .mobile-toggle { display: none; }
}

/* --- ESTILO 1: SAAS MODERNO --- */
.header-style-1 .desktop-menu a {
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
}
.header-style-1 .desktop-menu a:hover {
    background: var(--primary);
    color: white;
}
.header-style-1 .btn-header {
    background: var(--text);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
}

/* --- ESTILO 2: PROFESIONAL --- */
.header-style-2 {
    border-bottom: 1px solid #eee;
    background: white;
}
.header-style-2 .desktop-menu a {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 700;
    position: relative;
}
.header-style-2 .desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}
.header-style-2 .desktop-menu a:hover::after { width: 100%; }
.header-style-2 .btn-header {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 20px;
    font-weight: bold;
}
.header-style-2 .btn-header:hover {
    background: var(--primary);
    color: white;
}

/* --- ESTILO 3: ELEGANTE --- */
.header-style-3 {
    background: white;
}
.header-style-3 .logo img { height: 60px; }
.header-style-3 .desktop-menu a {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 18px;
    color: var(--text);
}
.header-style-3 .desktop-menu a:hover {
    color: var(--primary);
}
.header-style-3 .btn-header {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 10px 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- MENÚ MÓVIL (DRAWER) --- */
.mobile-toggle {
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text);
}

.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
.mobile-drawer-overlay.open { opacity: 1; visibility: visible; }

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    height: 100vh;
    background: white;
    z-index: 2001;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.mobile-drawer.open { transform: translateX(0); }

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.drawer-nav a {
    display: block;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
}

/* --- HERO SECTION (3 COLUMNAS) --- */
.hero-section {
    position: relative;
    min-height: 100vh; /* Ocupa toda la pantalla */
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1518977676601-b53f82aba655?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 60px; /* Padding superior para compensar el header fijo */
    color: white;
    text-align: center;
}

.hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr; /* Columna central más ancha */
    gap: 20px;
    align-items: center;
}

.hero-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    max-width: 180px; /* Tamaño controlado de logos laterales */
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
    transition: transform 0.3s;
}
.hero-logo:hover { transform: scale(1.05); }

/* Efecto Glassmorphism (Vidrio) */
.glass-box {
    background: rgba(255, 255, 255, 0.15); /* Transparencia */
    backdrop-filter: blur(12px); /* Desenfoque del fondo */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3); /* Borde sutil */
    border-radius: 30px; /* Bordes redondos */
    padding: 40px;
    margin-bottom: 30px;
    width: 100%;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle { font-size: 1.2rem; font-weight: 500; }

/* Responsivo: En móvil se hace una sola columna */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr; /* Una sola columna */
        gap: 40px;
    }
    .hero-logo { max-width: 120px; }
}

/* --- SECCIÓN 2: CONTENIDO GENERAL (TEXTO + IMAGEN) --- */
.section-padding {
    padding: 100px 20px;
    background: white;
}

.container-content {
    max-width: 1200px; /* Un poco más angosto que el hero para lectura cómoda */
    margin: 0 auto;
}

.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.img-rounded {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); /* Sombra suave premium */
    transition: transform 0.3s ease;
}

.img-rounded:hover {
    transform: translateY(-5px);
}

/* Responsivo para Sección 2 */
@media (max-width: 992px) {
    .grid-2-cols {
        grid-template-columns: 1fr; /* Apilar en móvil */
        gap: 40px;
    }
    .section-title { font-size: 2rem; }
}

/* --- SECCIÓN 3: ESTRUCTURA MIXTA --- */
.mb-50 { margin-bottom: 50px; }

.img-banner {
    width: 100%;
    height: 450px; /* Altura fija para dar presencia */
    object-fit: cover; /* Recorte inteligente */
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* --- SECCIÓN 4: UBICACIÓN (MAPA FLOTANTE) --- */
.section-map-bg {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1464226184884-fa280b87c399?q=80&w=2070&auto=format&fit=crop'); /* Fondo oscuro paisaje */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto Parallax Premium */
    padding: 100px 20px;
    text-align: center;
}

.floating-map {
    width: 100%;
    max-width: 1000px; /* Ancho máximo controlado */
    height: 500px; /* Altura fija estética */
    border-radius: 30px; /* Bordes muy redondos */
    box-shadow: 0 30px 60px rgba(0,0,0,0.6); /* Sombra profunda para flotar */
    border: 4px solid rgba(255,255,255,0.1); /* Borde sutil de cristal */
    margin: 40px auto 0; /* Centrado */
    display: block;
}

/* --- FOOTER --- */
.site-footer {
    background-color: #111111; /* Fondo oscuro premium */
    color: #ffffff;
    padding: 80px 20px 30px;
    font-size: 0.95rem;
    border-top: 4px solid var(--primary); /* Detalle de color corporativo */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Columnas iguales */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: white;
    letter-spacing: 1px;
}

.footer-divider {
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    margin-bottom: 25px;
}

.footer-links a {
    display: block;
    margin-bottom: 12px;
    color: #aaa;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.email-btn {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 12px 25px;
    border-radius: 50px;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    margin-top: 10px;
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
}
.email-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.whatsapp-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #fff;
}

/* Responsivo Footer */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr; gap: 50px; }
}

/* --- PÁGINA MISIÓN Y VISIÓN --- */
.page-hero-bg {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1589923188900-85dae523342b?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto Parallax */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 60px;
}

.page-main-title {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    margin-bottom: 60px;
    text-align: center;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.floating-white-box {
    background: white;
    border-radius: 40px; /* Orillas muy redondas */
    box-shadow: 0 50px 100px rgba(0,0,0,0.5); /* Sombra profunda para efecto flotante */
    padding: 60px;
    max-width: 1100px;
    width: 100%;
    color: #333;
}

.mv-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mv-divider {
    width: 80px;
    height: 5px;
    background: var(--secondary);
    margin: 15px 0 25px;
    border-radius: 10px;
}

/* --- SECCIÓN 2 MISIÓN VISIÓN (VALORES) --- */
.mv-values-section {
    padding: 100px 20px;
    background-color: #fff;
}

.mv-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
}

.mv-section-divider {
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin: 0 auto 60px;
    border-radius: 10px;
}

/* Estilos para el Contenedor C (Item de Valor) */
.value-item {
    margin-bottom: 40px;
}

.value-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.check-circle {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.value-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
}

.value-text {
    padding-left: 70px; /* Alineado con el título (50px icono + 20px gap) */
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .value-text { padding-left: 0; }
}

/* --- PÁGINA SERVICIOS --- */
.services-hero-bg {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1605000797499-95a51c5269ae?q=80&w=2071&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 60vh; /* Altura del Hero de Servicios */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 60px;
}

.services-grid-container {
    display: grid;
    grid-template-columns: 30% 70%; /* Estructura 30/70 solicitada */
    gap: 30px;
    align-items: stretch;
    margin-bottom: 60px;
}

.services-grid-container.inverted {
    grid-template-columns: 70% 30%;
}

.service-img-col img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    border-radius: 30px; /* Orillas redondas */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-info-col {
    /* Imagen de fondo personalizable */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1628352081506-83c43123ed6d?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    padding: 100px; /* Aumentado para centrar más el texto */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-info-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.btn-service {
    background: var(--primary);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
}
.btn-service:hover {
    transform: translateY(-3px);
    background: var(--secondary);
}

@media (max-width: 992px) {
    .services-grid-container {
        grid-template-columns: 1fr; /* 1 Columna en móvil */
    }
    .service-img-col { height: 300px; }
    .service-info-col { padding: 40px; } /* Ajuste para que en móvil no se pierda espacio */
}

/* --- GALERÍA INTERACTIVA --- */
.gallery-section {
    padding: 100px 20px;
    background-color: #f8f9fa; /* Fondo ligero para separar visualmente */
}

.gallery-title {
    font-size: 3.5rem; /* Título muy grande */
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: -1px;
}

.gallery-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50% - 50% */
    gap: 30px;
    align-items: start;
}

.main-display {
    width: 100%;
    aspect-ratio: 1 / 1; /* Cuadrado perfecto */
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    position: relative;
}

.main-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas de miniaturas */
    gap: 15px;
}

.collage-item {
    aspect-ratio: 1 / 1;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.collage-item:hover, .collage-item.active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 2px solid var(--primary);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Paginación de Galería */
.thumbnails-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.page-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}
.page-btn:disabled { background: #ccc; cursor: not-allowed; }
.page-btn:hover:not(:disabled) { background: var(--secondary); transform: scale(1.1); }
.page-info { font-weight: 600; color: #555; font-size: 0.9rem; }

@media (max-width: 992px) {
    .gallery-layout {
        grid-template-columns: 1fr;
    }
    .gallery-title { font-size: 2.5rem; }
}

/* --- PÁGINA CONTACTO --- */
.contact-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 0; /* Sin espacio para que se vea unido */
    min-height: 80vh;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-radius: 30px;
    overflow: hidden;
    background: white;
    margin: 140px auto 60px; /* Margen superior para el header fixed */
    max-width: 1200px;
}

.contact-image-col {
    position: relative;
}

.contact-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form-col {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-logo {
    max-width: 150px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: var(--font-main);
    transition: 0.3s;
    background: #f9f9f9;
}

.form-control:focus {
    border-color: var(--primary);
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        margin-top: 100px;
    }
    .contact-image-col {
        height: 300px;
    }
    .contact-form-col {
        padding: 40px 20px;
    }
}

/* --- ELEMENTOS FLOTANTES --- */

/* WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--wa-c1), var(--wa-c2));
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: white;
}

.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float:active { transform: scale(0.9); } /* Efecto aplastar */

/* Redes Sociales Laterales (Glassmorphism) */
.social-floating-sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: var(--social-gap);
    z-index: 9998;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.social-floating-sidebar a {
    color: var(--social-color);
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-floating-sidebar a:hover {
    transform: scale(1.2);
    color: var(--primary);
}

/* --- ELEMENTOS FLOTANTES --- */

/* WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--wa-c1), var(--wa-c2));
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: white;
}

.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float:active { transform: scale(0.9); } /* Efecto aplastar */

/* Redes Sociales Laterales (Glassmorphism) */
.social-floating-sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: var(--social-gap);
    z-index: 9998;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.social-floating-sidebar a {
    color: var(--social-color);
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-floating-sidebar a:hover {
    transform: scale(1.2);
    color: var(--primary);
}

/* --- RESPONSIVE MÓVIL (AJUSTES FINALES) --- */
@media (max-width: 768px) {
    /* Ajustes Generales */
    .section-padding { padding: 60px 20px; }
    .mb-50 { margin-bottom: 30px; }
    
    /* Títulos y Textos (Override con !important para asegurar legibilidad) */
    .hero-title { font-size: 2.2rem !important; line-height: 1.1; }
    .hero-subtitle { font-size: 1.1rem !important; }
    .section-title { font-size: 2rem !important; text-align: center; }
    .section-text { font-size: 1rem !important; text-align: justify; }
    
    /* Hero Section */
    .hero-section { padding-top: 120px; padding-bottom: 40px; }
    .glass-box { padding: 25px; }
    
    /* Imágenes */
    .img-rounded, .img-banner { 
    .img-rounded, .img-banner, .col-image img { 
        height: auto !important; /* Permitir que la altura sea automática */
        max-height: 
        max-height: 200px !important; /* Limitar altura para que sean más pequeñas en móvil */
        object-fit: contain !important; /* Asegurar que no se recorten */
        width: auto !important; /* Ajustar ancho al contenido */
        max-width: 100%;
        margin: 0 auto; /* Centrar */
        display: block;
    }
    
    /* Mapa */
    .floating-map { height: 300px; margin-top: 20px; }
    .section-map-bg { padding: 60px 20px; }

    /* Misión y Visión Mobile */
    .page-hero-bg { padding-top: 120px !important; padding-bottom: 60px !important; min-height: auto !important; }
    .page-main-title { font-size: 2.5rem !important; margin-bottom: 30px !important; line-height: 1.2 !important; }
    .floating-white-box { padding: 30px 20px !important; border-radius: 25px !important; }
    .mv-title { font-size: 1.8rem !important; text-align: center !important; }
    .mv-divider { margin-left: auto !important; margin-right: auto !important; }
    .mv-section-title { font-size: 2rem !important; }
    
    /* Values (Lista de Valores) */
    .value-item { margin-bottom: 30px !important; }
    .value-header { gap: 15px !important; }
    .check-circle { width: 40px !important; height: 40px !important; font-size: 18px !important; }
    .value-title { font-size: 1.2rem !important; }

    /* Servicios Mobile */
    .services-hero-bg { min-height: 40vh !important; padding: 120px 20px 40px !important; }
    .service-info-title { font-size: 1.8rem !important; text-align: center !important; }
    .service-info-col { padding: 30px 20px !important; }
    .service-info-col p { font-size: 1rem !important; text-align: justify !important; }
    .btn-service { width: 100% !important; text-align: center !important; display: block !important; }
    .service-img-col { height: 250px !important; }
    .service-img-col img { min-height: 0 !important; height: 100% !important; object-fit: cover !important; }
    .gallery-title { font-size: 2rem !important; margin-bottom: 30px !important; }
}
