/* ==========================================================================
   1. VARIABLES Y ESTILOS BASE
   ========================================================================== */
:root {
    --om-teal: #3AB4B5;
    --om-teal-dark: #2A8E8E;
    --om-yellow: #C49A45;
    --om-yellow-hover: #A88135;
    --om-bg-light: #F8FAFC;
    --om-text: #2D3748;
    --om-white: #FFFFFF;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--om-bg-light);
    color: var(--om-text);
    margin: 0;
    padding: 0;
}

.page { display: flex !important; flex-direction: column !important; width: 100% !important; min-height: 100vh !important; }
main { width: 100% !important; flex: 1 !important; }

/* ==========================================================================
   2. COMPONENTES: HEADER FLOTANTE DINÁMICO
   ========================================================================== */
.sticky-header { position: fixed; top: 0; left: 0; z-index: 1000; width: 100%; }

.glass-navbar { 
    background: rgba(255, 255, 255, 0.15); 
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.05) 100%); 
    backdrop-filter: blur(16px); 
    -webkit-backdrop-filter: blur(16px); 
    border-bottom: 1px solid rgba(196, 154, 69, 0.3); 
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); 
    padding: 15px 40px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    transition: all 0.4s ease; 
}

.glass-navbar.scrolled {
    background: rgba(255, 255, 255, 0.96); 
    backdrop-filter: blur(25px); 
    -webkit-backdrop-filter: blur(25px); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); 
    padding: 8px 40px; 
    border-bottom: 1px solid rgba(196, 154, 69, 0.8);
}

.glass-navbar img { height: 60px; object-fit: contain; transition: all 0.4s ease; }
.glass-navbar.scrolled img { height: 50px; } 

.navbar-links { display: flex; align-items: center; gap: 5px; }
.nav-link-inicio { color: var(--om-yellow) !important; text-shadow: none; margin-right: 15px; text-decoration: none; font-weight: 700; font-size: 15px; position: relative; padding: 5px 0; transition: color 0.3s ease; }
.nav-link-inicio::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--om-teal); transition: width 0.3s ease-in-out; }
.nav-link-inicio:hover { color: var(--om-teal) !important; }
.nav-link-inicio:hover::after { width: 100%; }

.nav-separator { width: 1px; height: 24px; background-color: rgba(196, 154, 69, 0.3); margin: 0 10px; }
.social-icons-nav { display: flex; gap: 15px; margin-right: 20px; align-items: center; }
.social-icons-nav a { color: var(--om-yellow) !important; font-size: 18px; transition: all 0.3s ease; text-shadow: none; }
.social-icons-nav a:hover { color: var(--om-teal) !important; transform: translateY(-2px); }

.btn-glass-teal { background: var(--om-teal); color: var(--om-white) !important; text-decoration: none; font-weight: bold; font-size: 14px; padding: 10px 22px; border-radius: 8px; border: none; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(58, 180, 181, 0.3); cursor: pointer; }
.btn-glass-teal:hover { background: var(--om-teal-dark); transform: translateY(-2px); color: white !important;}

/* ==========================================================================
   3. HERO SECCIÓN
   ========================================================================== */
.hero-video-container { position: relative; width: 100%; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translateX(-50%) translateY(-50%); z-index: -2; object-fit: cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.1); z-index: -1; }
.hero-glass-card { background: transparent; padding: 50px 20px; max-width: 800px; text-align: center; color: var(--om-white); position: relative; z-index: 1; }
.hero-glass-card h1 { font-size: 3.5rem; font-weight: 700; margin-bottom: 20px; text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); }
.text-yellow { color: var(--om-yellow); }
.hero-glass-card p { font-size: 1.2rem; margin: 0 auto 30px auto; line-height: 1.6; text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6); font-weight: 500; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; }
.btn-glass-yellow { background: rgba(196, 154, 69, 0.95); color: var(--om-white); padding: 14px 28px; border-radius: 8px; font-weight: bold; text-decoration: none; transition: all 0.3s ease; border: none; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.btn-glass-yellow:hover { background: var(--om-yellow-hover); transform: translateY(-3px); }
.btn-glass-outline { background: rgba(255, 255, 255, 0.15); border: 2px solid var(--om-white); color: var(--om-white); padding: 12px 28px; border-radius: 8px; font-weight: bold; text-decoration: none; transition: all 0.3s ease; backdrop-filter: blur(4px); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.btn-glass-outline:hover { background: rgba(255, 255, 255, 0.3); transform: translateY(-3px); }

/* ==========================================================================
   4. TÍTULOS GLOBALES Y ACORDEÓN EXPANDIDO (EDGE-TO-EDGE)
   ========================================================================== */
.content-section { margin-bottom: 30px; }
.section-heading { margin: 0 0 30px 0; text-align: center; padding: 0 5%; }
.section-title { color: var(--om-teal-dark); font-size: 2.4rem; margin: 0 0 8px 0; font-weight: 700; text-align: center; line-height: 1.2; }
.section-subtitle { color: #718096; font-size: 1.1rem; margin: 0 0 15px 0; text-align: center; }
.title-separator { height: 4px; width: 60px; background-color: var(--om-yellow); border-radius: 2px; margin: 0 auto; }

.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* Acordeón ocupando absolutamente todo el ancho (sin bordes) */
.services-section { padding: 40px 0 30px 0; background-color: var(--om-bg-light); }
.accordion-container { display: flex; width: 100%; max-width: 100%; height: 450px !important; min-height: 450px !important; margin: 0; border-radius: 0; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.accordion-item { position: relative; flex: 1; transition: flex 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); background-size: cover; background-position: center; cursor: pointer; overflow: hidden; display: flex; align-items: flex-end; }
.accordion-item:hover { flex: 5; }
.accordion-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transition: all 0.5s ease; }
.bg-teal { background: linear-gradient(to bottom, rgba(58, 180, 181, 0) 0%, rgba(58, 180, 181, 0.9) 100%); }
.bg-dark { background: linear-gradient(to bottom, rgba(45, 55, 72, 0) 0%, rgba(45, 55, 72, 0.9) 100%); }
.bg-blue { background: linear-gradient(to bottom, rgba(26, 73, 113, 0) 0%, rgba(26, 73, 113, 0.9) 100%); }
.bg-teal-dark { background: linear-gradient(to bottom, rgba(42, 142, 142, 0) 0%, rgba(42, 142, 142, 0.9) 100%); }
.bg-yellow { background: linear-gradient(to bottom, rgba(196, 154, 69, 0) 0%, rgba(168, 129, 53, 0.95) 100%); }
.bg-navy { background: linear-gradient(to bottom, rgba(13, 27, 42, 0) 0%, rgba(13, 27, 42, 0.9) 100%); }
.accordion-item:hover .accordion-overlay { background: linear-gradient(to top, rgba(13, 40, 71, 0.95) 0%, rgba(13, 40, 71, 0.2) 100%); }

.accordion-content { position: relative; z-index: 2; padding: 25px 20px; color: var(--om-white); width: 100%; min-width: 200px; display: flex; flex-direction: column; }
.accordion-icon { font-family: 'Segoe UI Emoji', sans-serif; }
.accordion-title { font-size: 1.15rem; font-weight: 700; margin: 0; white-space: nowrap; text-shadow: 1px 1px 4px rgba(0,0,0,0.4); }
.accordion-details { max-height: 0; opacity: 0; overflow: hidden; transition: all 0.5s ease; transform: translateY(20px); }
.accordion-item:hover .accordion-details { max-height: 150px; opacity: 1; transform: translateY(0); margin-top: 15px; }
.accordion-desc { font-size: 0.95rem; margin-bottom: 15px; line-height: 1.5; white-space: normal; }
.accordion-btn { font-size: 0.85rem; font-weight: bold; color: var(--om-yellow); text-transform: uppercase; text-decoration: none; display: inline-flex; border: none; background: transparent; cursor: pointer; padding: 0; }

/* ==========================================================================
   5. CUADRÍCULA DE SERVICIOS FLUIDA
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 40px; width: 100%; padding: 0 5%; box-sizing: border-box; }
.service-card { background: var(--om-white); border-radius: 16px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: all 0.3s ease; border-bottom: 4px solid transparent; cursor: pointer; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-bottom: 4px solid var(--om-teal); }
/* El uso de aspect-ratio previene deformaciones sin importar qué tan ancha sea la pantalla */
.service-img-wrapper { width: 100%; aspect-ratio: 4/3; height: auto; overflow: hidden; position: relative; }
.service-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-img { transform: scale(1.05); }
.service-info { padding: 25px; text-align: center; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.service-info h3 { color: var(--om-teal-dark); font-size: 1.4rem; margin: 0 0 10px 0; font-weight: 700; }
.service-info p { color: #718096; font-size: 0.95rem; margin: 0; }

/* ==========================================================================
   6. BANNER DE ESTADÍSTICAS (PANTALLA COMPLETA DISTRIBUIDA)
   ========================================================================== */
.stats-banner { padding: 40px 0; background-color: var(--om-bg-light); } 
.stats-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; width: 100%; padding: 0 5%; box-sizing: border-box; }

@keyframes floatPulse {
    0% { transform: translateY(0); box-shadow: 0 5px 20px rgba(0,0,0,0.05); border-top-color: var(--om-teal); }
    50% { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(196, 154, 69, 0.15); border-top-color: var(--om-yellow); }
    100% { transform: translateY(0); box-shadow: 0 5px 20px rgba(0,0,0,0.05); border-top-color: var(--om-teal); }
}

.stat-box { background: var(--om-white); text-align: center; padding: 40px 20px; border-radius: 16px; border-top: 4px solid var(--om-teal); animation: floatPulse 4s infinite ease-in-out; }
.stat-delay-1 { animation-delay: 0s; }
.stat-delay-2 { animation-delay: 1s; }
.stat-delay-3 { animation-delay: 2s; }
.stat-delay-4 { animation-delay: 3s; }

.stat-box:hover { animation-play-state: paused; transform: translateY(-10px) scale(1.02); border-top-color: var(--om-yellow); }
.stat-icon { font-size: 2.5rem; color: var(--om-yellow); margin-bottom: 15px; transition: transform 0.3s ease; }
.stat-box:hover .stat-icon { transform: scale(1.15) rotate(5deg); color: var(--om-teal); }
.stat-number { font-size: 3.5rem; color: var(--om-teal-dark); margin: 0 0 5px 0; font-weight: 800; }
.stat-number span { color: var(--om-yellow); }
.stat-text { color: #718096; font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin: 0; }

/* ==========================================================================
   7. LÍNEA DE TIEMPO HORIZONTAL (DISTRIBUCIÓN PERFECTA)
   ========================================================================== */
.horizontal-timeline-wrapper { position: relative; width: 100%; padding: 0 5%; box-sizing: border-box; margin: 20px auto 0 auto; overflow: hidden; padding-top: 10px; }

@keyframes breatheLine {
    0% { transform: scaleY(1); background-color: var(--om-teal); }
    50% { transform: scaleY(1.5); background-color: var(--om-yellow); }
    100% { transform: scaleY(1); background-color: var(--om-teal); }
}
.ht-line { position: absolute; top: 32px; left: 0; width: 100%; height: 4px; background: var(--om-teal); z-index: 1; animation: breatheLine 3s infinite ease-in-out; }

/* Flex con distribución equivalente, permite que cada tarjeta se expanda sin miedo a distorsión */
.horizontal-timeline { display: flex; justify-content: space-between; gap: 30px; padding: 0 0 40px 0; scroll-snap-type: x mandatory; scrollbar-width: none; overflow-x: auto; }
.horizontal-timeline::-webkit-scrollbar { display: none; }
.ht-item { flex: 1; min-width: 250px; position: relative; scroll-snap-align: start; }

@keyframes pulseNodeScale {
    0% { transform: translateX(-50%) translateY(-50%) scale(1); box-shadow: 0 0 0 0 rgba(196, 154, 69, 0.4); }
    50% { transform: translateX(-50%) translateY(-50%) scale(1.4); box-shadow: 0 0 0 15px rgba(196, 154, 69, 0); }
    100% { transform: translateX(-50%) translateY(-50%) scale(1); box-shadow: 0 0 0 0 rgba(196, 154, 69, 0); }
}
.ht-node { width: 24px; height: 24px; background: var(--om-yellow); border: 4px solid var(--om-white); border-radius: 50%; position: absolute; top: 22px; left: 50%; transform: translateX(-50%) translateY(-50%); z-index: 2; animation: pulseNodeScale 2.5s infinite ease-in-out; }

@keyframes breatheCard {
    0% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.03) translateY(-5px); border-top-color: var(--om-yellow); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
    100% { transform: scale(1) translateY(0); }
}
.ht-card { margin-top: 50px; background: var(--om-white); border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.06); overflow: hidden; border-top: 4px solid transparent; transition: all 0.3s ease; animation: breatheCard 4s infinite ease-in-out; }

.ht-item:nth-child(1) .ht-card { animation-delay: 0s; }
.ht-item:nth-child(2) .ht-card { animation-delay: 1s; }
.ht-item:nth-child(3) .ht-card { animation-delay: 2s; }
.ht-item:nth-child(4) .ht-card { animation-delay: 3s; }

.ht-card:hover { animation-play-state: paused; transform: translateY(-8px) scale(1.05); border-top-color: var(--om-teal); box-shadow: 0 15px 30px rgba(0,0,0,0.1); z-index: 10; }

/* AQUÍ ESTÁ EL SECRETO: aspect-ratio hace que la altura crezca proporcionalmente al ancho */
.ht-card img { width: 100%; aspect-ratio: 16/9; height: auto; object-fit: cover; }

.ht-card-content { padding: 20px; text-align: center; }
.ht-card-content h3 { color: var(--om-teal-dark); font-size: 1.2rem; margin-top: 0; margin-bottom: 10px; font-weight: 700; }
.ht-card-content p { margin: 0; color: #718096; line-height: 1.5; font-size: 0.9rem; }

/* ==========================================================================
   8. TESTIMONIOS (CARRUSEL INFINITO)
   ========================================================================== */
.marquee-container { width: 100%; overflow: hidden; position: relative; display: flex; margin-top: 20px; padding: 10px 0; } 
@keyframes slideMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}
.marquee-track { display: flex; gap: 30px; width: max-content; animation: slideMarquee 35s linear infinite; }
.marquee-track:hover { animation-play-state: paused; cursor: pointer; }

.testimonial-card { width: 350px; background: var(--om-bg-light); padding: 30px; border-radius: 16px; border-left: 4px solid var(--om-yellow); box-shadow: 0 5px 15px rgba(0,0,0,0.03); flex-shrink: 0; transition: transform 0.3s ease; }
.testimonial-card:hover { transform: scale(1.03); background: var(--om-white); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.t-stars { color: var(--om-yellow); margin-bottom: 15px; font-size: 1.1rem; }
.t-text { font-style: italic; color: var(--om-text); line-height: 1.6; margin-bottom: 20px; font-size: 0.95rem; }
.t-author { font-weight: bold; color: var(--om-teal-dark); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }

/* ==========================================================================
   9. MAPAS Y FOOTER
   ========================================================================== */
.locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; width: 100%; padding: 0 5%; box-sizing: border-box; }
.location-card { background: var(--om-white); border-radius: 12px; overflow: hidden; box-shadow: 0 5px 25px rgba(0,0,0,0.08); display: flex; flex-direction: column; border-top: 4px solid var(--om-yellow); }
.location-info { padding: 25px 30px; }
.location-info h3 { color: var(--om-teal-dark); margin: 0 0 15px 0; font-size: 1.5rem; }
.location-info p { margin: 5px 0; color: #4A5568; font-size: 1rem; }
.location-info i { width: 25px; text-align: center; color: var(--om-teal); }
.contact-link { color: var(--om-teal); text-decoration: none; font-weight: bold; transition: color 0.3s ease; }
.contact-link:hover { color: var(--om-yellow); }
.map-container { width: 100%; height: 300px; }
.map-container iframe { width: 100%; height: 100%; display: block; }

.main-footer { background-color: var(--om-white); color: #4A5568; padding: 60px 0 20px 0; font-size: 0.95rem; border-top: 4px solid var(--om-teal); }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; width: 100%; padding: 0 5%; box-sizing: border-box; margin: 0 auto 40px auto; }
.footer-column h4 { color: var(--om-teal-dark); font-size: 1.2rem; margin-bottom: 20px; font-weight: 700; position: relative; padding-bottom: 10px; }
.footer-column h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background-color: var(--om-yellow); border-radius: 2px; } 
.footer-logo { height: 60px; margin-bottom: 15px; } 
.footer-socials { display: flex; gap: 15px; margin-top: 20px; }
.footer-socials a { width: 35px; height: 35px; background-color: #f1f5f9; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--om-teal); transition: all 0.3s ease; text-decoration: none; border: 1px solid transparent; }
.footer-socials a:hover { background: var(--om-teal); color: var(--om-white); transform: translateY(-3px); box-shadow: 0 4px 10px rgba(58,180,181,0.3); }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: 12px; }
.footer-column ul li a { color: #4A5568; text-decoration: none; transition: color 0.3s ease; font-weight: 500; }
.footer-column ul li a:hover { color: var(--om-yellow); } 
.footer-contact li { display: flex; align-items: flex-start; gap: 15px; line-height: 1.5; margin-bottom: 15px; }
.footer-contact i { margin-top: 4px; font-size: 1.1rem; color: var(--om-yellow); } 
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #e2e8f0; color: #718096; font-size: 0.85rem; width: 100%; padding: 0 5%; box-sizing: border-box; margin: 0 auto; }

/* ==========================================================================
   10. CHATBOT Y MODAL (POPUP)
   ========================================================================== */
.chatbot-container { position: fixed; bottom: 30px; right: 30px; z-index: 9999; }
.chatbot-toggle-btn { background-color: var(--om-teal); color: var(--om-white); border: none; padding: 14px 24px; border-radius: 30px; font-weight: bold; cursor: pointer; box-shadow: 0 5px 15px rgba(58, 180, 181, 0.3); transition: all 0.3s ease; }
.chatbot-toggle-btn:hover { background-color: var(--om-teal-dark); transform: translateY(-2px); }
.chatbot-window { position: absolute; bottom: 65px; right: 0; width: 340px; background-color: var(--om-white); border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e2e8f0; }
.chatbot-header { background-color: var(--om-teal); color: var(--om-white); padding: 15px 20px; }
.chatbot-header h3 { margin: 0; font-size: 15px; color: var(--om-white); }
.chatbot-header p { margin: 2px 0 0 0; font-size: 11px; color: var(--om-yellow); }
.chatbot-body { height: 320px; padding: 15px; overflow-y: auto; background-color: #f8fafc; }
.message-row { display: flex; width: 100%; margin-bottom: 10px; }
.bot-row { justify-content: flex-start; }
.user-row { justify-content: flex-end; }
.message-bubble { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.4; }
.bot-row .message-bubble { background-color: var(--om-white); color: var(--om-text); border-bottom-left-radius: 2px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.user-row .message-bubble { background-color: var(--om-teal); color: var(--om-white); border-bottom-right-radius: 2px; }
.chatbot-footer { padding: 12px; background-color: var(--om-white); border-top: 1px solid #edf2f7; }
.options-grid { display: flex; flex-direction: column; gap: 6px; }
.option-btn, .reset-btn { background-color: #f8fafc; color: var(--om-teal-dark); border: 1px solid #cbd5e1; padding: 9px; border-radius: 6px; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: all 0.2s; text-align: left; }
.option-btn:hover { background-color: var(--om-teal); color: var(--om-white); border-color: var(--om-teal); }
.reset-btn { width: 100%; background-color: var(--om-yellow); color: var(--om-white); border-color: var(--om-yellow); text-align: center; }
.reset-btn:hover { background-color: var(--om-yellow-hover); }

/* ESTILOS PARA LA VENTANA MODAL (POPUP DE SERVICIOS) */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(13, 27, 42, 0.8); backdrop-filter: blur(5px); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; animation: fadeIn 0.3s forwards; padding: 20px; box-sizing: border-box; }
.modal-content { background: var(--om-white); width: 100%; max-width: 600px; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.3); transform: translateY(50px); opacity: 0; animation: slideUp 0.4s forwards 0.1s; position: relative; display: flex; flex-direction: column; max-height: 90vh; }
.modal-header { position: relative; height: 200px; flex-shrink: 0; }
.modal-header img { width: 100%; height: 100%; object-fit: cover; }
.modal-close { position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.6); color: white; border: none; width: 35px; height: 35px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: background 0.3s; z-index: 10; }
.modal-close:hover { background: var(--om-yellow); }
.modal-body { padding: 30px; overflow-y: auto; }
.modal-body h3 { color: var(--om-teal-dark); margin: 0 0 15px 0; font-size: 1.8rem; display: flex; align-items: center; gap: 10px; }
.modal-body p { color: #4A5568; line-height: 1.6; font-size: 1.05rem; margin-bottom: 25px; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { transform: translateY(0); opacity: 1; } }

/* ==========================================================================
   11. PÁGINAS INTERNAS ESPECÍFICAS
   ========================================================================== */
.page-header { background-color: #F8FAFC; border-bottom: 2px solid var(--om-yellow); padding: 120px 20px 40px 20px; text-align: center; margin-bottom: 40px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.page-header h1 { color: var(--om-teal-dark); font-size: 2.8rem; margin: 0 0 10px 0; font-weight: 700; position: relative; display: inline-block; padding-bottom: 10px; }
.page-header h1::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background-color: var(--om-yellow); border-radius: 2px; }
.page-header p { color: #4A5568; font-size: 1.1rem; max-width: 600px; margin: 15px auto 0 auto; }
.page-container { width: 100%; padding: 0 5%; box-sizing: border-box; margin: 0 auto; padding-bottom: 40px; }

.youtube-container { position: relative; width: 100%; max-width: 900px; margin: 0 auto; padding-bottom: 56.25%; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.youtube-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.mv-section { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.mv-card { background: var(--om-white); padding: 40px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border-top: 4px solid var(--om-teal); transition: transform 0.3s ease; }
.mv-card:hover { transform: translateY(-5px); border-top-color: var(--om-yellow); }
.mv-icon { font-size: 2.5rem; color: var(--om-yellow); margin-bottom: 20px; }
.mv-card h3 { color: var(--om-teal-dark); margin-bottom: 15px; }
.mv-card p { line-height: 1.7; color: var(--om-text); }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 25px; margin-top: 40px; }
.value-item { text-align: center; background: var(--om-white); padding: 30px 20px; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.03); border: 1px solid transparent; transition: all 0.3s ease; }
.value-item:hover { border-color: var(--om-teal); box-shadow: 0 10px 20px rgba(0,0,0,0.08); transform: translateY(-5px); }
.value-icon { font-size: 2rem; color: var(--om-teal); margin-bottom: 15px; }
.value-item h4 { color: var(--om-text); margin-bottom: 10px; }
.value-item p { font-size: 0.9rem; color: #718096; }

.awards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.award-card { background: var(--om-white); padding: 20px; border-radius: 10px; text-align: center; border: 1px solid #e2e8f0; transition: transform 0.3s ease; }
.award-card:hover { transform: scale(1.02); border-color: var(--om-yellow); }
.award-img { width: 100%; height: 180px; object-fit: contain; margin-bottom: 15px; }
.award-card p { font-size: 0.9rem; color: var(--om-text); font-weight: 600; }

.team-light-section { background-color: var(--om-white); padding: 60px 5%; margin-top: 40px; border-top: 1px solid #e2e8f0; }
.team-subtitle { color: var(--om-yellow); font-size: 0.85rem; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.team-title { color: var(--om-teal-dark); font-size: 2.8rem; font-weight: 700; margin-bottom: 50px; line-height: 1.2; }
.text-teal-italic { color: var(--om-teal); font-style: italic; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; width: 100%; margin: 0 auto; }
.team-member { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); cursor: pointer; border-bottom: 4px solid var(--om-yellow); background: var(--om-white); }
/* Aspect ratio garantiza el encuadre perfecto del equipo */
.team-member img { width: 100%; aspect-ratio: 3/4; height: auto; object-fit: cover; display: block; transition: transform 0.5s ease; }
.team-member:hover img { transform: scale(1.05); }
.team-member-info { padding: 25px 20px; text-align: center; background: var(--om-white); z-index: 2; position: relative; }
.team-member-info h3 { color: var(--om-teal-dark); font-size: 1.2rem; margin: 0 0 5px 0; font-weight: bold; font-family: 'Segoe UI', sans-serif; }
.team-member-info p { color: #718096; font-size: 0.9rem; margin: 0; font-weight: 500; }

/* ==========================================================================
   13. PÁGINA DE CONTACTO
   ========================================================================== */
.contact-grid-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.contact-info-left { padding: 20px 0; }
.contact-info-left h4 { color: var(--om-teal); font-size: 1rem; text-transform: uppercase; margin-bottom: 10px; }
.contact-info-left h2 { color: var(--om-teal-dark); font-size: 2.2rem; margin: 0 0 20px 0; font-weight: 700; line-height: 1.2; }
.contact-info-left p { color: #4A5568; line-height: 1.6; margin-bottom: 30px; font-size: 1.05rem; }
.contact-methods { display: flex; gap: 30px; }
.c-method { display: flex; align-items: center; gap: 10px; font-weight: bold; color: var(--om-teal-dark); }
.c-method i { color: var(--om-yellow); font-size: 1.2rem; }

.contact-info-right { background: linear-gradient(135deg, var(--om-teal) 0%, var(--om-teal-dark) 100%); border-radius: 16px; padding: 40px; color: var(--om-white); box-shadow: 0 15px 30px rgba(58,180,181,0.2); }
.contact-info-right h3 { font-size: 1.5rem; margin: 0 0 20px 0; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 15px; }
.working-hours { list-style: none; padding: 0; margin: 0 0 30px 0; }
.working-hours li { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.95rem; opacity: 0.9; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 5px;}
.contact-socials { display: flex; gap: 15px; align-items: center; }
.contact-socials span { font-weight: bold; margin-right: 10px; }
.contact-socials a { width: 35px; height: 35px; background: rgba(255,255,255,0.2); display: flex; justify-content: center; align-items: center; border-radius: 50%; color: white; transition: all 0.3s; text-decoration: none;}
.contact-socials a:hover { background: var(--om-yellow); transform: translateY(-3px); }

.contact-grid-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 60px; }
.contact-img-wrapper { border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); height: 100%; min-height: 400px; }
.contact-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.contact-form-wrapper { padding: 20px 0; }
.contact-form-wrapper h4 { color: var(--om-teal); font-size: 1rem; text-transform: uppercase; margin-bottom: 10px; }
.contact-form-wrapper h2 { color: var(--om-teal-dark); font-size: 2.2rem; margin: 0 0 20px 0; font-weight: 700; line-height: 1.2; }
.contact-form-wrapper p { color: #4A5568; line-height: 1.6; margin-bottom: 30px; font-size: 0.95rem; }

.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.form-group { flex: 1; }
.form-control { width: 100%; padding: 14px 15px; border: 1px solid #cbd5e1; border-radius: 8px; font-family: inherit; font-size: 0.95rem; transition: all 0.3s; background: #f8fafc; box-sizing: border-box; }
.form-control:focus { outline: none; border-color: var(--om-teal); background: var(--om-white); box-shadow: 0 0 0 3px rgba(58,180,181,0.1); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ==========================================================================
   14. RESPONSIVIDAD UNIFICADA (MÓVILES)
   ========================================================================== */
@media (max-width: 768px) {
    .glass-navbar { flex-direction: column; padding: 15px; gap: 15px; }
    .glass-navbar.scrolled { padding: 10px; }
    .navbar-links { gap: 15px; flex-wrap: wrap; justify-content: center; }
    .nav-link-inicio { margin-right: 0; }
    .nav-separator { display: none; }
    .social-icons-nav { margin-right: 0; margin-bottom: 10px; width: 100%; justify-content: center; }
    
    .hero-glass-card { padding: 30px 20px; margin: 0 15px; }
    .hero-glass-card h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    
    .accordion-container { flex-direction: column; height: auto !important; min-height: auto !important; }
    .accordion-item { height: 120px; flex: none; margin-bottom: 10px; }
    .accordion-item:hover { height: 260px; }
    
    .stats-container { gap: 15px; padding: 0 5%; }
    .stat-box { padding: 25px 10px; }
    .stat-number { font-size: 2.5rem; }
    .stat-icon { font-size: 2rem; }

    .horizontal-timeline { padding: 0 0 20px 0; display: grid; grid-template-columns: 1fr; gap: 20px;}
    .ht-line { display: none; } /* En móvil ocultamos la línea verde de fondo */
    .ht-node { display: none; } /* En móvil ocultamos los puntos amarillos */
    .ht-item { min-width: 100%; }
    .ht-card { margin-top: 0; }
    
    .page-header { padding: 100px 20px 30px 20px; }
    .page-header h1 { font-size: 2rem; }
    .page-container { padding: 0 5% 40px 5%; }
    
    .modal-header { height: 150px; }
    .modal-body { padding: 20px; }
    .modal-body h3 { font-size: 1.5rem; }

    .contact-grid-top, .contact-grid-bottom { grid-template-columns: 1fr; gap: 30px; }
    .contact-methods { flex-direction: column; gap: 15px; }
    .form-row { flex-direction: column; gap: 20px; }
    .contact-img-wrapper { min-height: 250px; }
}
/* ==========================================================================
   15. LOGIN ADMIN OCULTO
   ========================================================================== */
.admin-login-wrapper { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: linear-gradient(135deg, #0b1521 0%, #162a40 100%); position: absolute; top: 0; left: 0; width: 100%; z-index: 9999; }
.admin-login-card { background: var(--om-white); padding: 40px; border-radius: 16px; width: 100%; max-width: 400px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); border-top: 4px solid var(--om-yellow); }
.admin-logo { text-align: center; margin-bottom: 30px; }
.admin-logo img { height: 60px; margin-bottom: 10px; }
.admin-logo p { color: #718096; font-size: 0.9rem; margin: 0; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; }
.admin-login-card label { display: block; margin-bottom: 8px; color: var(--om-teal-dark); font-weight: bold; font-size: 0.9rem; }
.error-msg { background: #fee2e2; color: #e11d48; padding: 10px; border-radius: 8px; font-size: 0.85rem; margin-top: 15px; text-align: center; border: 1px solid #fca5a5; }

/* ==========================================================================
   16. DASHBOARD ANALÍTICA
   ========================================================================== */
.dashboard-layout { display: flex; min-height: 100vh; background-color: #f1f5f9; position: absolute; top: 0; left: 0; width: 100%; z-index: 9998; }
.dashboard-sidebar { width: 260px; background: #0b1521; color: white; display: flex; flex-direction: column; box-shadow: 4px 0 15px rgba(0,0,0,0.05); }
.sidebar-brand { padding: 25px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); text-align: center; }
.sidebar-brand img { height: 45px; filter: brightness(0) invert(1); }
.sidebar-nav { padding: 20px 0; flex: 1; }
.sidebar-nav a { display: flex; align-items: center; gap: 15px; padding: 15px 25px; color: #a0aec0; text-decoration: none; transition: all 0.3s; font-size: 0.95rem; }
.sidebar-nav a:hover, .sidebar-nav a.active { background: rgba(58, 180, 181, 0.2); color: var(--om-yellow); border-left: 4px solid var(--om-yellow); }
.sidebar-footer { padding: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.sidebar-footer a { color: var(--om-teal); text-decoration: none; display: flex; align-items: center; gap: 10px; font-weight: bold; }

.dashboard-main { flex: 1; display: flex; flex-direction: column; overflow-y: auto; }
.dashboard-header { background: var(--om-white); padding: 20px 40px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.dashboard-header h2 { margin: 0; color: var(--om-teal-dark); font-size: 1.5rem; }
.admin-profile { display: flex; align-items: center; gap: 15px; font-weight: bold; color: #4A5568; }
.avatar { width: 40px; height: 40px; background: var(--om-yellow); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }

.dashboard-content { padding: 40px; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-bottom: 30px; }
.kpi-card { background: var(--om-white); padding: 25px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); display: flex; align-items: center; gap: 20px; }
.kpi-icon { width: 60px; height: 60px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: white; flex-shrink: 0; }
.kpi-info p { margin: 0 0 5px 0; color: #718096; font-size: 0.9rem; text-transform: uppercase; font-weight: bold; }
.kpi-info h3 { margin: 0 0 5px 0; font-size: 2rem; color: var(--om-text); line-height: 1; }
.trend.positive { color: #10b981; font-size: 0.85rem; font-weight: bold; }

.dash-bottom-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.dash-panel { background: var(--om-white); border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); overflow: hidden; }
.panel-header { padding: 20px 25px; border-bottom: 1px solid #f1f5f9; }
.panel-header h3 { margin: 0; color: var(--om-teal-dark); font-size: 1.1rem; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th { padding: 15px 25px; background: #f8fafc; color: #718096; font-size: 0.85rem; text-transform: uppercase; }
.data-table td { padding: 15px 25px; border-bottom: 1px solid #f1f5f9; color: var(--om-text); font-size: 0.95rem; }
.panel-note { padding: 15px 25px; font-size: 0.8rem; color: #94a3b8; font-style: italic; margin: 0; }

.msg-list { padding: 0; }
.msg-item { display: flex; gap: 15px; padding: 20px 25px; border-bottom: 1px solid #f1f5f9; align-items: flex-start; }
.msg-avatar { width: 40px; height: 40px; background: rgba(58, 180, 181, 0.2); color: var(--om-teal-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; }
.msg-text p { margin: 5px 0 0 0; font-size: 0.9rem; color: #718096; }
.msg-time { font-size: 0.8rem; color: #cbd5e1; white-space: nowrap; }