/* =========================================
   1. VARIABLES DE DISEÑO (MANUAL DE MARCA GARSAN)
   ========================================= */
:root {
    --brand-blue: #002072; 
    --brand-red: #DA291C;  
    --brand-white: #FFFFFF;
    --primary-color: var(--brand-red); 
    
    /* COLORES INTERCAMBIADOS SEGÚN LA IMAGEN */
    --bg-color: #00103A;          /* ANTES: var(--brand-blue) */        
    --bg-secondary: #002072;      /* ANTES: #00154A */    
    
    --text-color: var(--brand-white);      
    --text-light: #E0E7FF;      
    --font-family: 'Archivo Narrow', sans-serif;
    --transition: all 0.3s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 120%; }
body { font-family: var(--font-family); color: var(--text-color); background-color: var(--bg-color); line-height: 1.6; overflow-x: hidden; padding-top: 110px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.relative-z { position: relative; z-index: 2; }
.full-width { grid-column: 1 / -1 !important; }

/* =========================================
   2. HEADER Y NAVEGACIÓN
   ========================================= */
.header-multinational { position: fixed; top: 0; left: 0; width: 100%; z-index: 2000; box-shadow: 0 4px 20px rgba(0,0,0,0.05); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s ease, box-shadow 0.4s ease; }
.header-scrolled { background-color: rgba(0, 16, 58, 0.95) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2) !important; }
.header-hidden { transform: translateY(-100%); }

/* Barra superior pequeña (Utility Bar) */
.utility-bar { 
    background-color: #002072; color: #9CA3AF; font-size: 0.82rem; 
    font-weight: 600; letter-spacing: 0.5px; min-height: 36px; padding: 6px 0;
    display: flex; align-items: center; text-transform: uppercase; 
    position: relative; z-index: 1005; 
}
.utility-container { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.utility-right { display: flex; align-items: center; gap: 15px; height: 100%; }
.utility-link { color: #D1D5DB; transition: color 0.3s ease; display: flex; align-items: center; }
.utility-link:hover { color: #FFFFFF; }
.divider-small { width: 1px; height: 12px; background-color: #374151; }

/* Selector de Idioma */
.lang-dropdown-multi { position: relative; display: flex; align-items: center; height: 100%; }
.lang-dropbtn-multi { 
    background: transparent !important; border: none !important; padding: 0 !important; margin: 0 !important; 
    color: #D1D5DB; font-family: var(--font-family); font-size: 0.82rem; font-weight: 600; 
    letter-spacing: 0.5px; cursor: pointer; display: flex; align-items: center; gap: 4px; 
    transition: color 0.3s; outline: none; box-shadow: none; height: auto; line-height: 1; text-transform: uppercase;
}
.lang-dropbtn-multi:hover { color: #FFFFFF; }

.lang-content-multi { 
    display: none; position: absolute; right: -10px; top: 28px; 
    background-color: #002072; min-width: 140px; box-shadow: 0 10px 25px rgba(0,0,0,0.5); 
    border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); z-index: 2000; 
}
.lang-content-multi.show { display: block; animation: dropFade 0.2s ease forwards; }
@keyframes dropFade { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

.lang-content-multi a { 
    color: #D1D5DB; padding: 12px 15px; display: block; font-size: 0.85rem; 
    font-weight: 500; transition: background 0.2s, color 0.2s; text-transform: none; 
}
.lang-content-multi a:hover { background-color: rgba(255,255,255,0.05); color: var(--brand-red); }

/* Menú principal */
.main-navbar { background-color: transparent; padding: 15px 0; position: relative; z-index: 1000; }
.navbar-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.6rem; font-weight: 800; color: #FFFFFF; letter-spacing: -1px; }

.nav-list { display: flex; gap: 40px; align-items: center; margin: 0; }
.nav-list > li > a { font-size: 0.95rem; font-weight: 600; color: #FFFFFF; transition: all 0.3s ease; display: flex; align-items: center; gap: 6px; padding: 10px 0; transform-origin: left center; }
.nav-list > li > a:hover, .active-nav { transform: scale(1.15); color: #FFFFFF !important; }
.arrow-icon { color: var(--text-light); transition: transform 0.3s ease; display: block; } 
.dropdown-multi:hover .arrow-icon { transform: rotate(180deg); color: #FFFFFF; }

.dropdown-multi { position: relative; cursor: pointer; }
.dropdown-menu-multi { position: absolute; top: 100%; left: 50%; margin-left: -85px; width: 170px; background-color: transparent; box-shadow: none; border: none; padding: 15px 0 0 0; display: flex; flex-direction: column; gap: 6px; transform: skewX(-20deg) translateY(15px); transform-origin: top center; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.dropdown-multi:hover .dropdown-menu-multi { opacity: 1; visibility: visible; transform: skewX(-20deg) translateY(0); }
.dropdown-slanted-btn { display: block; width: 100%; background-color: #FFFFFF; padding: 12px 0; border-left: 8px solid var(--brand-red); box-shadow: 2px 4px 10px rgba(0,0,0,0.15); text-align: center; text-decoration: none; transition: background-color 0.3s ease; }
.dropdown-slanted-btn span { display: inline-block; transform: skewX(20deg); color: #00103A; font-weight: 800; font-size: 0.95rem; font-style: normal; transition: all 0.3s ease; }
.dropdown-slanted-btn:hover { background-color: #F8FAFC; }
.dropdown-slanted-btn:hover span, .dropdown-slanted-btn.active-nav span { transform: skewX(20deg) scale(1.15); color: var(--brand-red) !important; }

/* =========================================
   3. SECCIONES GLOBALES Y TEXTOS
   ========================================= */
.corporate-hero { padding: 180px 0 100px; background-color: #00103A; position: relative; overflow: hidden; margin-top: -110px; }
.corporate-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 60px; margin-bottom: 70px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.header-left { flex: 1; }
.header-right { flex: 1.5; display: flex; gap: 25px; }

.eyebrow-tag { display: inline-flex; align-items: center; gap: 10px; background: var(--bg-secondary); padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; color: #FFFFFF; box-shadow: 0 4px 15px rgba(0,0,0,0.2); margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.1); text-transform: uppercase; letter-spacing: 1px; }
.eyebrow-tag.dark-tag { background-color: #002072; border: none; }
.pulse-dot { width: 8px; height: 8px; background-color: var(--brand-red); border-radius: 50%; box-shadow: 0 0 0 0 rgba(218, 41, 28, 0.7); animation: pulseRed 2s infinite; }
@keyframes pulseRed { 0% { box-shadow: 0 0 0 0 rgba(218, 41, 28, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(218, 41, 28, 0); } 100% { box-shadow: 0 0 0 0 rgba(218, 41, 28, 0); } }

.section-title-modern { font-size: 3.5rem; color: #FFFFFF; font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; margin: 0; }
.hero-title-serious { font-size: 4rem; font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; color: #FFFFFF; margin-bottom: 25px; }
.hero-subtitle-serious { font-size: 1.4rem; color: var(--text-light); line-height: 1.6; }
.vertical-accent { width: 4px; background: linear-gradient(to bottom, var(--brand-red) 0%, rgba(218, 41, 28, 0.2) 100%); border-radius: 4px; flex-shrink: 0; }
.team-intro-text-modern { font-size: 1.3rem; color: var(--text-light); line-height: 1.8; margin: 0; }

/* =========================================
   4. QUÉ HACEMOS (DIAGONAL)
   ========================================= */
.slanted-services-section { padding: 60px 0 100px; background-color: var(--brand-blue); position: relative; z-index: 10; overflow: hidden; }
.slanted-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.slanted-grid { display: flex; align-items: flex-start; justify-content: center; gap: 0; margin-top: 40px; }
.slanted-col { flex: 1; position: relative; padding: 60px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 400px; z-index: 1; overflow: visible;}
.slanted-bg { position: absolute; top: 0; bottom: 0; left: -20px; right: -20px; background: transparent; border-right: 1px solid rgba(255, 255, 255, 0.15); transform: skewX(-15deg); z-index: -1; transition: background 0.4s ease; }
.slanted-col:nth-child(1) .slanted-bg { background: transparent; border-left: 1px solid rgba(255, 255, 255, 0.15); }
.slanted-col:hover .slanted-bg { background: #00103A; }
.slanted-col:last-child .slanted-bg { border-right: none; }
.slanted-content { position: relative; z-index: 2; }
.icon-anim-container { width: 60px; height: 60px; margin: 0 auto 25px; display: flex; align-items: center; justify-content: center; }
.slanted-svg { width: 100%; height: 100%; stroke: #FFFFFF; }
.slanted-content h3 { font-size: 1.5rem; color: #FFFFFF; font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.chevron-down { width: 20px; height: 20px; margin: 0 auto 20px; display: block; }
.step-arrow { display: flex; align-items: flex-start; justify-content: center; align-self: flex-start; padding-top: 72px; flex: 0 0 20px; font-size: 1.8rem; font-weight: 300; color: var(--brand-red); z-index: 2; pointer-events: none; margin: 0 -10px; }
.slanted-content p { color: var(--text-light); font-size: 1.2rem; line-height: 1.6; }
.arrow-between { position: absolute; right: -14px; top: 120px; width: 28px; height: 28px; z-index: 10; background: var(--bg-color); border-radius: 50%; padding: 2px; }

/* =========================================
   5. BENTO GRIDS (ECOSISTEMAS)
   ========================================= */
.ecosystem-section { padding: 100px 0; background-color: var(--bg-color); }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.bento-item { background: var(--bg-secondary); border-radius: 24px; padding: 35px; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.2); transition: all 0.4s ease; display: flex; flex-direction: column; height: 100%; }
.bento-item:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.3); }
.glass-bento { background: rgba(0, 16, 58, 0.6); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.2); }
.dark-bento { background: linear-gradient(135deg, var(--bg-secondary) 0%, #002072 100%); }
.dark-bento h3, .dark-bento p { color: white !important; }
.bento-large { grid-column: span 2; }
.bento-medium { grid-column: span 1; }
.bento-wide { grid-column: span 2; }
.bento-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.bento-icon-tech { width: 45px; height: 45px; background: rgba(255, 255, 255, 0.05); padding: 8px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.bento-icon-tech svg { width: 100%; height: 100%; }
.bento-item h3 { font-size: 1.4rem; color: #FFFFFF; font-weight: 800; margin: 0; }
.bento-item p { color: var(--text-light); font-size: 1.25rem; line-height: 1.6; margin-bottom: 25px; flex-grow: 1; }
.bento-content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; }

/* Bolsa y Mapas */
.market-data-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: auto; }
.market-card { background: var(--bg-secondary); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 15px; display: flex; flex-direction: column; transition: 0.4s ease; }
.market-name { font-size: 0.92rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; margin-bottom: 5px; }
.market-price { font-size: 1.6rem; font-weight: 800; color: #FFFFFF; display: flex; align-items: baseline; gap: 5px; transition: color 0.4s ease;}
.market-unit { font-size: 0.95rem; font-weight: 600; color: var(--text-light); }
.market-trend { font-size: 0.95rem; font-weight: 700; display: flex; align-items: center; gap: 4px; margin-top: 5px; transition: color 0.4s ease; }
.market-card.flash-up { background-color: rgba(16, 185, 129, 0.2); border-color: #10B981; }
.market-card.flash-up .market-price, .market-card.flash-up .market-trend { color: #34D399; }
.market-card.flash-down { background-color: rgba(239, 68, 68, 0.2); border-color: #EF4444; }
.market-card.flash-down .market-price, .market-card.flash-down .market-trend { color: #F87171; }

.hubs-visual { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: auto; padding: 20px 0; }
.hub-node { width: 60px; height: 60px; background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: white; font-weight: 800; font-size: 1.2rem; position: relative; z-index: 2; backdrop-filter: blur(5px); }
.hub-line { flex-grow: 1; height: 2px; background: rgba(255,255,255,0.2); position: relative; }
.hub-dot { width: 8px; height: 8px; background: var(--brand-red); border-radius: 50%; position: absolute; top: -3px; left: 0; box-shadow: 0 0 10px var(--brand-red); animation: travelLine 3s infinite ease-in-out; }

.traz-static-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 15px; text-align: center; }
.traz-card { display: flex; flex-direction: column; align-items: center; }
.traz-card h4 { margin-top: 15px; color: #FFFFFF; }
.traz-arrow { font-size: 2rem; color: var(--brand-red); font-weight: 800; }
.traz-svg path, .traz-svg circle, .traz-svg rect, .traz-svg line { stroke-dashoffset: 0 !important; opacity: 1 !important; stroke-dasharray: none !important; }

/* Flip Cards */
.services { padding: 100px 0; background-color: var(--bg-color); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.flip-card { background-color: transparent; width: 100%; height: 460px; perspective: 1000px; cursor: pointer; }
.flip-card-inner { position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); transform-style: preserve-3d; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.flip-card-front, .flip-card-back { position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 16px; overflow: hidden; }
.flip-card-front { background-color: #002072; }
.flip-card-front img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s ease, transform 0.4s ease; }
.flip-card-front .front-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(0, 16, 58, 0.95), rgba(0, 0, 0, 0.4)); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 30px 20px; transition: background 0.4s ease; }
.front-icon { font-size: 4rem; margin-bottom: 15px; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6)); }
.front-icon svg, .flip-icon svg { width: 1em; height: 1em; stroke-dasharray: none !important; stroke-dashoffset: 0 !important; animation: none !important; opacity: 1 !important; }
.front-title { color: white; font-size: 1.8rem; font-weight: 800; text-align: center; line-height: 1.2; margin-bottom: 25px; text-shadow: 0 4px 15px rgba(0,0,0,0.8); }
.front-hint { color: white; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; border: 1px solid rgba(255, 255, 255, 0.5); padding: 8px 20px; border-radius: 50px; backdrop-filter: blur(5px); background: rgba(255, 255, 255, 0.1); }
.flip-card-back { background-color: var(--bg-secondary); color: white; transform: rotateY(180deg); padding: 30px 25px; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 1px solid rgba(255,255,255,0.1); }
.flip-card-back .flip-icon { font-size: 2.5rem; margin-bottom: 15px; color: #FFFFFF; background: rgba(255, 255, 255, 0.1); width: 60px; height: 60px; line-height: 60px; border-radius: 50%; }
.flip-card-back h3 { color: #FFFFFF; font-size: 1.25rem; margin-bottom: 15px; font-weight: 800; }
.flip-card-back p { font-size: 1.15rem; color: var(--text-light); line-height: 1.6; margin: 0; }
.flip-card-back ul { text-align: left; margin: 0; padding: 0; list-style: none; width: 100%; }
.flip-card-back ul li { font-size: 0.95rem; color: var(--text-light); margin-bottom: 8px; padding-left: 15px; position: relative; }
.flip-card-back ul li::before { content: '•'; color: var(--brand-red); position: absolute; left: 0; font-weight: bold; }
@media (hover: hover) and (pointer: fine) {
    .flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
    .flip-card:hover .flip-card-front img { transform: scale(1.05); }
    .flip-card:hover .flip-card-front .front-overlay { background: linear-gradient(to top, rgba(0, 16, 58, 0.98), rgba(0, 0, 0, 0.6)); }
}
.flip-card.mobile-flipped .flip-card-inner { transform: rotateY(180deg); }

/* ── FLIP CARDS CON LOGO (fondo blanco) ── */
.flip-card-front.logo-front { background-color: #FFFFFF; }
.flip-card-front.logo-front .front-overlay { background: linear-gradient(to top, rgba(0, 16, 58, 0.92) 0%, rgba(0, 16, 58, 0.25) 50%, transparent 100%); justify-content: center; }
.flip-card-front.logo-front .logo-wrap { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 28px; }
.flip-card-front.logo-front .logo-wrap img { max-width: 72%; max-height: 36%; object-fit: contain; width: auto; height: auto; }
.flip-card-front.logo-front .logo-wrap .logo-divider { width: 55%; height: 1px; background: #E5E7EB; }
@media (hover: hover) and (pointer: fine) {
    .flip-card:hover .flip-card-front.logo-front .front-overlay {
        background: linear-gradient(to top, rgba(0, 16, 58, 0.97) 0%, rgba(0, 16, 58, 0.4) 55%, transparent 100%);
    }
}

/* Mapa Leaflet */
.custom-map-marker { position: relative; }
.marker-pin { width: 16px; height: 16px; background-color: var(--brand-red); border-radius: 50%; border: 3px solid white; box-shadow: 0 2px 5px rgba(0,0,0,0.3); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; }
.marker-pulse { width: 40px; height: 40px; background-color: rgba(218, 41, 28, 0.4); border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; animation: mapPulse 2s infinite; }
.blue-pin { background-color: #FFFFFF; } 
.blue-pulse { background-color: rgba(255, 255, 255, 0.4); animation: mapPulse 2.5s infinite; }
@keyframes mapPulse { 0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } }
.leaflet-popup-content-wrapper { background-color: var(--bg-secondary) !important; color: white !important; border: 1px solid rgba(255,255,255,0.1) !important; border-radius: 12px !important; box-shadow: 0 10px 30px rgba(0,0,0,0.6) !important; }
.leaflet-popup-tip { background-color: var(--bg-secondary) !important; }
.leaflet-popup-close-button { display: none !important; }
.leaflet-popup-content { margin: 12px 15px !important; line-height: 1.4 !important; font-family: var(--font-family) !important; }
.leaflet-popup-content b { color: #FFFFFF !important; font-size: 1rem !important; display: block !important; margin-bottom: 2px !important; }
.leaflet-popup-content span { color: #A9C2DF !important; font-size: 0.85rem !important; }

/* Contacto Formularios */
.bento-form { margin-top: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 25px; }
.input-field { display: flex; flex-direction: column; gap: 8px; }
.input-field.full-width { grid-column: span 2; }
.input-field label { font-size: 1rem; font-weight: 600; color: #FFFFFF; }
.input-field input, .input-field textarea { padding: 12px 15px; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; background-color: var(--bg-color); font-family: var(--font-family); font-size: 1rem; color: white; transition: all 0.3s ease; }
.input-field input:focus, .input-field textarea:focus { outline: none; border-color: var(--brand-red); background-color: var(--bg-secondary); box-shadow: 0 0 0 3px rgba(218, 41, 28, 0.2); }
.form-submit-btn { width: auto; padding: 14px 30px; font-size: 1rem; border: none; cursor: pointer; transition: all 0.3s ease; background-color: var(--brand-red); color: white; border-radius: 8px; font-weight: bold;}
.form-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(218, 41, 28, 0.4);}
.contact-details-list { display: flex; flex-direction: column; gap: 20px; margin-top: 15px; }
.contact-grid { display: grid !important; grid-template-columns: 2fr 1fr !important; gap: 25px !important; align-items: start !important; }
.contact-grid > * { grid-column: span 1 !important; }
.detail-item { display: flex; flex-direction: column; gap: 5px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.detail-item:last-child { border-bottom: none; }
.detail-label { font-size: 0.95rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }
.detail-value { font-size: 1.3rem; color: white; font-weight: 700; }

/* Footer Brutalista */
.footer-brutal { background: #00103A; border-top: 6px solid var(--brand-red); font-family: var(--font-family); position: relative; z-index: 10; transition: all 0.5s ease; }
.footer-trigger { text-align: center; padding: 8px 0; background: #002072; color: white; font-weight: 600; font-size: 0.85rem; display: flex; justify-content: center; align-items: center; cursor: pointer; }
.footer-trigger .chevron { font-size: 1rem; transition: transform 0.4s ease; display: inline-block; }
.footer-collapsible { max-height: 0; opacity: 0; overflow: hidden; transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
/* NUEVA CLASE PARA EL CLIC */
.footer-brutal.is-expanded .footer-collapsible {  max-height: 1200px !important;  opacity: 1 !important;  padding-top: 20px; }
.footer-brutal.is-expanded .footer-trigger .chevron { transform: rotate(180deg); color: var(--brand-red);  }
.footer-brutal.mobile-expanded .footer-collapsible { max-height: 1200px !important; opacity: 1 !important; padding-top: 10px;}
.footer-brutal.mobile-expanded .footer-trigger .chevron { transform: rotate(180deg); color: var(--brand-red); }
.footer-brutal__grid { display: grid; grid-template-columns: minmax(250px, 25%) 1fr; }
.footer-brutal__left { background: var(--brand-red); padding: 25px 8%; display: flex; flex-direction: column; justify-content: center; min-height: auto; }
.footer-brutal__bignum { font-size: 84px; font-weight: 800; color: rgba(0, 0, 0, 0.12); line-height: 0.8; margin-bottom: 5px; letter-spacing: -2px; }
.footer-brutal__years { font-size: 14px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255, 255, 255, 0.95); display: block; font-weight: 700; margin-bottom: 20px; }
.footer-brutal__logo-link { display: inline-block; margin-bottom: 15px; } 
.footer-brutal__logo-link svg { height: 24px; } 
.footer-brutal__socials { display: flex; gap: 8px; margin-top: 4px; }
.footer-brutal__social {  width: 32px; height: 32px;  background: rgba(255, 255, 255, 0.08); border: 0px solid rgba(255, 255, 255, 0.35); border-radius: 6px; display: flex; align-items: center; justify-content: center;  color: #fff; transition: background 0.3s, transform 0.2s, border-color 0.3s;  text-decoration: none; }
.footer-brutal__social:hover {  background: rgba(0, 0, 0, 0.40);  border-color: rgba(255, 255, 255, 0.6); transform: translateY(-2px); }
.footer-brutal__social svg { display: block; flex-shrink: 0; }
.footer-brutal__right { padding: 25px 6%; display: flex; justify-content: flex-start; gap: 12%; background: #00103A; }
.footer-brutal__col { min-width: 140px; }
.footer-brutal__col-title { font-size: 14px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); display: block; margin-bottom: 15px; font-weight: 700;}
.footer-brutal__link { font-size: 18px; font-weight: 500; color: #ffffff; display: block; margin-bottom: 8px; transition: all 0.3s ease; }
.footer-brutal__link:hover { color: rgba(255,255,255,0.7); padding-left: 5px; }
.footer-brutal__bottom { background: #002072; padding: 12px 6%; display: flex; justify-content: space-between; align-items: center; font-size: 14px; letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.5); }
.footer-brutal__certs { letter-spacing: 0.1em; font-weight: 600; }

/* =========================================
   ▶️ BLOQUE INDEX.HTML 
   ========================================= */
.hero-fusion { padding: 0; height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; background-color: var(--bg-color); margin-top: -110px; }
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; z-index: 0; opacity: 1; transition: opacity 1s ease; }
.hero-logo-end { position: absolute;  inset: 0;  z-index: 2;  opacity: 0; pointer-events: none; transition: opacity 1.5s ease; }
.hero-logo-end.visible { opacity: 1; }
.hero-logo-end-img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(0.9) saturate(1.1); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(0, 16, 58, 0.1), rgba(0, 16, 58, 0.55)); z-index: 1; }
.hero-content-fusion { position: relative; z-index: 3; width: 100%; height: 100%; display: flex; justify-content: flex-end; align-items: flex-end; padding-right: 0; }
.hero-fusion-text { width: auto; max-width: 700px; text-align: right; position: relative; z-index: 3; margin-bottom: -10vh; padding-right: 40px; }
.hero-fusion-text h2 { display: flex; flex-direction: column; align-items: flex-end; color: #FFFFFF; opacity: 0; transform: translateX(30px); animation: textFadeInRight 1.5s ease-out forwards; animation-play-state: paused; text-shadow: 0 4px 15px rgba(0,0,0,0.6); }
.hero-fusion-text .hero-line1 { font-family: 'Archivo Narrow', sans-serif; font-weight: 300; font-size: 1.1rem; letter-spacing: 5px; text-transform: uppercase; color: rgba(255,255,255,0.85); text-shadow: 0 1px 8px rgba(0,0,0,0.6); margin-bottom: 6px; line-height: 1; }
.hero-fusion-text .text-highlight { display: block; font-family: 'Archivo Narrow', sans-serif; font-weight: 900; font-size: clamp(2rem, 6.5vw, 5.5rem); letter-spacing: -1px; text-transform: uppercase; color: #FFFFFF; line-height: 1; white-space: nowrap; background: transparent; padding: 0; box-shadow: none;}
@keyframes textFadeInRight { to { opacity: 1; transform: translateX(0); } }
@keyframes videoFadeIn { to { opacity: 1; } }

.quienes-somos-section { padding: 160px 0 120px; background-color: #00103A; position: relative; overflow: hidden; }
.quienes-wrapper { display: flex; align-items: flex-start; gap: 80px; }
.quienes-left { flex: 0 0 25%; }
.eyebrow-text { font-size: 0.85rem; font-weight: 700; color: var(--brand-red); text-transform: uppercase; letter-spacing: 2px; display: block; }
.horizontal-accent { width: 40px; height: 3px; background-color: var(--brand-red); margin-top: 15px; }
.quienes-right { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.text-brand { font-weight: 700; color: var(--brand-white); }

#inicio, #quienes-somos-detalle, #cifras-clave { padding-top: 60px; padding-bottom: 60px; }
#inicio .body-text-large, #quienes-somos-detalle .body-text-large, #cifras-clave .body-text-large { margin-bottom: 0; font-size: 1.25rem; line-height: 1.8; color: rgba(255, 255, 255, 0.92); }
#inicio .quienes-right, #quienes-somos-detalle .quienes-right { gap: 16px; display: flex; flex-direction: column; }
#inicio .quienes-left { text-align: left; padding-top: 30px; }
#inicio .section-title-modern { font-size: 4.5rem; }
#inicio .horizontal-accent { margin: 15px 0 0; }

#cifras-clave { padding-top: 70px; padding-bottom: 70px;}
.cifras-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.cifra-item { display: flex; flex-direction: column; gap: 8px; }
.cifra-num { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: #FFFFFF; line-height: 1; letter-spacing: -1px; }
.cifra-text { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.6); line-height: 1.5;}

.section-divider { position: relative; width: 100%; height: 20px; margin: 10px 0; overflow: hidden; display: flex; align-items: center; }
.section-divider::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 100%; height: 4px; background: #DA291C; }
.section-divider.divider-right::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 100%; height: 4px; background: #DA291C; }
.hero-fusion::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: #DA291C; opacity: 0.75; z-index: 10; }

.reveal-slide-left { opacity: 0; transform: translateX(60px); transition: opacity 1.2s ease, transform 1.2s ease; }
.reveal-slide-right { opacity: 0; transform: translateX(-60px); transition: opacity 1.2s ease, transform 1.2s ease; }
.reveal-slide-left.is-visible, .reveal-slide-right.is-visible { opacity: 1; transform: translateX(0);}


/* =========================================
   7. PÁGINAS LEGALES (PRIVACIDAD, COOKIES, ETC)
   ========================================= */
.legal-document-section { padding: 20px 0 120px;  background-color: var(--bg-color); }
.legal-box { background: var(--bg-secondary);  border-radius: 24px;  padding: 60px 80px;  border: 1px solid rgba(255,255,255,0.05);  box-shadow: 0 20px 40px rgba(0,0,0,0.2);  max-width: 950px;  margin: 0 auto; }
.legal-box h2 { font-size: 1.6rem; color: #FFFFFF;  font-weight: 800;  margin: 60px 0 20px;  padding-bottom: 12px;  border-bottom: 1px solid rgba(255,255,255,0.1);  letter-spacing: -0.5px;}
.legal-box h2:first-child { margin-top: 0; }
.legal-box p { color: var(--text-light);  font-size: 1.2rem;  line-height: 1.8;  margin-bottom: 20px; }
.legal-box ul { margin-bottom: 30px;  padding-left: 20px; }
.legal-box ul li { font-size: 1.05rem;  line-height: 1.8;  margin-bottom: 12px;  list-style-type: none;  position: relative; }
.legal-box ul li::before { content: '→'; position: absolute; left: -25px; color: var(--brand-red); font-weight: bold; }
.legal-box ul li span { color: var(--text-light);  }
.legal-box strong {  color: #FFFFFF;  font-weight: 700; }
.legal-box a { color: var(--brand-red); text-decoration: underline; text-underline-offset: 4px; font-weight: 600;transition: color 0.3s ease;  }
.legal-box a:hover { color: #FFFFFF;  }
.legal-info-card {  background: rgba(255,255,255,0.03);  border: 1px solid rgba(255,255,255,0.1);  padding: 25px 30px;  border-radius: 12px; margin: 25px 0; }
.legal-info-card p { margin-bottom: 10px;  }
.legal-info-card p:last-child { margin-bottom: 0; }

/* Adaptación para móviles legales */
@media (max-width: 768px) {
    .legal-box { padding: 40px 25px; border-radius: 16px; }
    .legal-box h2 { font-size: 1.4rem; margin: 40px 0 15px; }
    .legal-box p, .legal-box ul li { font-size: 0.95rem; }
}

/* =========================================
   8. TABLAS LEGALES Y MODAL DE COOKIES
   ========================================= */

.table-container { width: 100%; overflow-x: auto; margin-bottom: 30px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); }
.legal-table { width: 100%; border-collapse: collapse; min-width: 600px; background: rgba(255, 255, 255, 0.02); }
.legal-table th { background: #002072; color: white; text-align: left; padding: 16px 20px; font-size: 1.05rem; font-weight: 700; border-bottom: 2px solid var(--brand-red); }
.legal-table td { padding: 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 1rem; color: var(--text-light); vertical-align: top; }
.legal-table tr:last-child td { border-bottom: none; }
.legal-table tr:hover td { background: rgba(255, 255, 255, 0.05); }

.cookie-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); z-index: 9999; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.cookie-modal-overlay.show-modal { opacity: 1; visibility: visible; }
.cookie-modal-content { background: var(--bg-secondary); width: 90%; max-width: 600px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 25px 50px rgba(0,0,0,0.5); display: flex; flex-direction: column; max-height: 90vh; }
.cookie-modal-header { padding: 25px 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; align-items: center; }
.cookie-modal-header h3 { color: white; margin: 0; font-size: 1.3rem; }
.close-modal-btn { background: none; border: none; color: var(--text-light); font-size: 1.5rem; cursor: pointer; transition: color 0.3s; }
.close-modal-btn:hover { color: var(--brand-red); }
.cookie-modal-body { padding: 30px; overflow-y: auto; }
.cookie-option-row { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.cookie-option-info h4 { color: white; font-size: 1.05rem; margin-bottom: 5px; }
.cookie-option-info p { color: var(--text-light); font-size: 0.85rem; margin: 0; padding-right: 20px; line-height: 1.4; }
.toggle-always-on { color: #10B981; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.cookie-modal-footer { padding: 20px 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: flex-end; gap: 15px; background: #002072; border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; }
.btn-outline { background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); color: white; padding: 12px 24px; border-radius: 8px; cursor: pointer; font-weight: 600; transition: all 0.3s; }
.btn-outline:hover { border-color: white; background: rgba(255, 255, 255, 0.05); }

/* Interruptores iOS */
.switch { position: relative; display: inline-block; width: 50px; height: 28px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255, 255, 255, 0.2); transition: .4s; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: white; transition: .4s; }
input:checked + .slider { background-color: var(--brand-red); }
input:focus + .slider { box-shadow: 0 0 1px var(--brand-red); }
input:checked + .slider:before { transform: translateX(22px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

@media (max-width: 768px) {
    .cookie-option-row { flex-direction: column; align-items: flex-start; gap: 15px; }
    .cookie-modal-footer { flex-direction: column; }
    .cookie-modal-footer button { width: 100%; }
}

/* =================================*/
/* 9. TARJETAS APARTADO GRUPO    */
/*==================================*/
.grid-dashboard-section { padding: 60px 0 100px; background-color: var(--bg-color); }
.gd-container { display: flex; max-width: 1400px; gap: 40px; align-items: flex-start; }

/* --- LADO IZQUIERDO: GRID DE TARJETAS --- */
.gd-grid-area { width: 60%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.gd-card { position: relative; height: 250px; background-size: cover; background-position: center; border-radius: 12px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; transition: transform 0.4s ease, box-shadow 0.4s ease; }

/* Efecto hover y overlay oscuro para que el texto sea legible */
.gd-card-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 32, 114, 0.1), rgba(0, 32, 114, 0.9)); transition: background 0.4s ease; z-index: 1; }
.gd-card:hover .gd-card-overlay { background: linear-gradient(to bottom, rgba(0, 32, 114, 0.3), rgba(0, 32, 114, 0.95)); }
.gd-card-content { position: relative; z-index: 2; transform: translateY(10px); transition: transform 0.4s ease; }
.gd-card:hover .gd-card-content,
.gd-card.active .gd-card-content { transform: translateY(0); }
.gd-tag { display: inline-block; background-color: var(--brand-red); color: #FFFFFF; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; padding: 4px 10px; border-radius: 4px; margin-bottom: 10px; }
.gd-title { font-family: 'Archivo Narrow', sans-serif; color: #FFFFFF; font-size: 1.50rem; font-weight: 800; margin: 0; letter-spacing: -0.5px; text-shadow: 0 4px 10px rgba(0,0,0,0.5); }

/* Estado activo de la tarjeta (Borde y resalte) */
.gd-card::after { content: ''; position: absolute; inset: 0; border: 3px solid transparent; border-radius: 12px; transition: border-color 0.4s ease; z-index: 3; pointer-events: none; }
.gd-card.active { transform: scale(0.98); }
.gd-card.active::after { border-color: var(--brand-red); }
.gd-card.active .gd-card-overlay { background: linear-gradient(to bottom, rgba(0, 32, 114, 0.5), rgba(0, 32, 114, 0.98)); }


/* --- LADO DERECHO: PANEL FIJO (STICKY) --- */
.gd-panel-area { width: 40%; position: relative; }
.gd-panel-sticky { position: relative; background: var(--bg-secondary); border-radius: 20px; padding: 40px; min-height: 460px; box-shadow: 0 20px 40px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.05); overflow: visible; transform: translateY(0); transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.gd-panel { position: absolute; top: 40px; left: 40px; right: 40px; bottom: 40px; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); display: flex; flex-direction: column; }
.gd-panel.active { opacity: 1; visibility: visible; transform: translateY(0); }
.gd-panel-num { font-family: 'Archivo Narrow', sans-serif; font-size: 3.5rem; font-weight: 900; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2); display: block; margin-bottom: 0px; line-height: 1; }
.gd-panel-title { font-size: 2.2rem; color: #FFFFFF; font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; border-bottom: 2px solid rgba(218, 41, 28, 0.5); /* Acento rojo */ padding-bottom: 15px; display: inline-block; }
.gd-panel-desc { color: var(--text-light); font-size: 1.15rem; line-height: 1.7; margin-bottom: 30px; }
.gd-panel-stats { display: flex; gap: 30px; margin-bottom: 35px; }
.gd-p-stat { display: flex; flex-direction: column; }
.gd-p-val { font-family: 'Archivo Narrow', sans-serif; font-size: 2rem; font-weight: 900; color: var(--brand-red); line-height: 1; }
.gd-p-lbl { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255, 255, 255, 0.5); margin-top: 8px; font-weight: 600; }
.gd-panel-link { display: inline-block; padding: 12px 24px; background-color: transparent; color: #FFFFFF; font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.3); transition: all 0.3s ease; margin-top: auto; align-self: flex-start; }
.gd-panel-link:hover { background-color: var(--brand-red); border-color: var(--brand-red); }

/* --- RESPONSIVE PARA MÓVILES Y TABLETS --- */
@media (max-width: 1050px) {
    .gd-container {
        flex-direction: column;
        gap: 30px;
    }
    .gd-grid-area {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .gd-grid-area {
        grid-template-columns: 1fr; /* 1 columna */
    }
    .gd-card {
        height: 280px; /* Altura original */
    }
}

/*Implementar los logos sin romper el diseño*/
.gd-card-logo { background-color: #ffffffd3!important; background-image: none !important; }
.gd-logo-container { position: absolute;  inset: 0; z-index: 0; display: flex; align-items: center; justify-content: center; padding: 30px; transition: transform 0.4s ease, opacity 0.4s ease;}
.gd-logo-img { max-width: 75%; max-height: 60%; object-fit: contain; filter: brightness(1); transition: transform 0.4s ease; }
.gd-card-logo:hover .gd-logo-img,
.gd-card-logo.active .gd-logo-img { transform: scale(1.05);}

/* Logo Organova Tech */
.gd-logo-organovatech { max-width: 82%; max-height: 55%; transform: translateY(-30px); }

/* Placeholder para logos que aún no están disponibles */
.gd-logo-placeholder { font-family: 'Archivo Narrow', sans-serif; font-size: 1.6rem; font-weight: 900; color: rgba(255,255,255,0.12); text-align: center; text-transform: uppercase; letter-spacing: -0.5px; line-height: 1.2; transition: color 0.4s ease; }
.gd-card-logo:hover .gd-logo-placeholder,
.gd-card-logo.active .gd-logo-placeholder { color: rgba(255,255,255,0.2);}

/* El overlay en tarjetas de logo es más sutil — solo en la parte de abajo para el texto */
.gd-card-logo .gd-card-overlay { background: linear-gradient(to bottom, transparent 45%, rgba(0,32,114,0.72)); }
.gd-card-logo:hover .gd-card-overlay,
.gd-card-logo.active .gd-card-overlay { background: linear-gradient(to bottom, rgba(0,32,114,0.1) 35%, rgba(0,32,114,0.82)); }


/* =========================================
   14. RESPONSIVE COMPLETO — TODOS LOS DISPOSITIVOS
   =========================================

   Breakpoints:
   • ≤1100px  → Tablet landscape / pantallas medianas
   • ≤1050px  → Menú móvil activo
   • ≤768px   → Tablet portrait / móvil grande
   • ≤600px   → Móvil estándar
   • ≤480px   → Móvil pequeño
   • ≤380px   → Móvil muy pequeño (iPhone SE, etc.)
   ========================================= */

/* ── 0. BASE: sin overflow horizontal en ningún dispositivo ── */
html, body { overflow-x: hidden; max-width: 100%; }
*, *::before, *::after { box-sizing: border-box; }
img, video, svg, iframe { max-width: 100%; }

/* ── 1. TABLET LANDSCAPE ≤1100px ── */
@media (max-width: 1100px) {
    .container { padding: 0 24px; }
    .footer-brutal__right { gap: 8%; padding: 25px 5%; }
    .footer-brutal__grid { grid-template-columns: minmax(260px, 28%) 1fr; }

    /* Bento: 2 columnas */
    .bento-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .bento-large, .bento-wide { grid-column: span 2; }
    .bento-medium { grid-column: span 1; }

    /* Quiénes somos */
    .quienes-wrapper { gap: 40px; }
    .quienes-content { min-width: 0; }

    /* Grupo — cards en 2 col */
    .gd-companies-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── 2. MENÚ MÓVIL ≤1050px ── */
.mobile-menu-btn {
    display: none;
    background: none; border: none;
    font-size: 1.8rem; color: #FFFFFF;
    cursor: pointer; padding: 5px;
    min-width: 44px; min-height: 44px;
    transition: var(--transition);
}

@media (max-width: 1050px) {
    /* Utility bar */
    .utility-left { display: none; }
    .utility-right { width: 100%; justify-content: center; }

    /* Botón hamburguesa */
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; padding: 10px; font-size: 1.8rem; }

    /* Nav desplegable */
    .desktop-nav {
        display: none;
        position: absolute; top: 100%; left: 0;
        width: 100%; background: var(--bg-color);
        box-shadow: 0 20px 40px rgba(0,0,0,0.6);
        border-top: 1px solid rgba(255,255,255,0.1);
        z-index: 1000; padding: 0;
        max-height: calc(100vh - 80px); overflow-y: auto;
    }
    .desktop-nav.show { display: block; animation: slideDownMenu 0.3s ease forwards; }
    @keyframes slideDownMenu { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

    .nav-list { flex-direction: column; gap: 0; align-items: stretch; }
    .nav-list > li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-list > li > a { padding: 16px 20px; width: 100%; justify-content: space-between; font-size: 1rem; min-height: 48px; }

    /* Idioma */
    .lang-content-multi { right: auto; left: 50%; transform: translateX(-50%); min-width: 120px; }
    .lang-content-multi.show { animation: dropFadeMobile 0.2s ease forwards; }
    @keyframes dropFadeMobile { from { opacity: 0; transform: translate(-50%,-5px); } to { opacity: 1; transform: translate(-50%,0); } }

    /* Submenú móvil */
    .dropdown-menu-multi {
        position: static; box-shadow: none; border: none;
        opacity: 1; visibility: visible; display: none;
        padding: 0; width: 170px; margin: 10px auto 15px auto;
        background: transparent; transform: skewX(-20deg) !important;
    }
    .dropdown-multi:hover .dropdown-menu-multi { display: none; }
    .dropdown-multi.open-mobile .dropdown-menu-multi { display: flex; flex-direction: column; gap: 8px; align-items: stretch; animation: fadeInMenu 0.3s ease; }
    .dropdown-multi.open-mobile > a .arrow-icon { transform: rotate(180deg); color: var(--brand-red); }
    @keyframes fadeInMenu { from { opacity: 0; } to { opacity: 1; } }

    .dropdown-slanted-btn {
        margin: 0; padding: 10px 0; width: 100%;
        background-color: #002072 !important;
        border-left: 6px solid var(--brand-red) !important;
        border-radius: 0 !important; text-align: center !important;
        transform: none !important;
        box-shadow: 2px 4px 10px rgba(0,0,0,0.15) !important;
        display: block; min-height: 44px;
    }
    .dropdown-slanted-btn span { display: inline-block; transform: skewX(20deg) !important; color: #E0E7FF !important; font-weight: 800; font-size: 0.9rem; }
    .dropdown-slanted-btn:active, .dropdown-slanted-btn:hover { background-color: #00154A !important; }
    .dropdown-slanted-btn:active span, .dropdown-slanted-btn:hover span { color: #FFFFFF !important; }

    /* Layouts */
    .quienes-wrapper { flex-direction: column; align-items: flex-start; gap: 30px; }
    .footer-brutal__grid { grid-template-columns: 1fr; }
    .footer-brutal__left { padding: 30px 20px; text-align: center; align-items: center; }
    .footer-brutal__socials { justify-content: center; }
    .footer-brutal__right { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); padding: 30px 20px; gap: 20px; text-align: center; }

    /* Hero index */
    .hero-content-fusion { padding: 0 20px; justify-content: center; align-items: flex-end; padding-bottom: 60px; }
    .hero-fusion-text { text-align: center; margin-bottom: 0; max-width: 100%; padding-right: 0; }
    .hero-fusion-text h2 { align-items: center; }
    .hero-fusion-text .text-highlight { font-size: 2.8rem; white-space: normal; }
    .hero-fusion-text .hero-line1 { letter-spacing: 3px; font-size: 0.85rem; }
    .hero-video { object-fit: cover !important; object-position: center center !important; }
    .hero-logo-end-img { object-position: center center !important; }
    .hero-overlay { background: linear-gradient(to top, rgba(0,16,58,0.85) 0%, rgba(0,16,58,0.50) 30%, rgba(0,16,58,0.10) 55%, rgba(0,16,58,0.0) 72%) !important; }
    .hero-fusion { height: 100svh; }
}

/* ── 3. TABLET PORTRAIT / MÓVIL GRANDE ≤768px ── */
@media (max-width: 768px) {
    /* Espaciado base */
    body { padding-top: 90px; }
    .container { padding: 0 16px; }
    section,
    .quienes-somos-section,
    .corporate-hero,
    .ecosystem-section,
    .services { padding-top: 60px !important; padding-bottom: 60px !important; }

    /* Tipografía */
    .hero h1,
    .section-title-modern,
    .hero-title-serious { font-size: 2rem !important; line-height: 1.2; letter-spacing: -1px; }
    .hero-subtitle-serious { font-size: 1rem !important; }
    .hero-fusion-text h2 { font-size: 1.5rem; }
    .hero-fusion-text .text-highlight { font-size: 2rem; white-space: normal; }

    /* Hero index */
    .hero { margin-top: -90px; padding: 140px 0 60px; }
    .hero-content-fusion { align-items: flex-end; padding: 0 20px; justify-content: center; }
    .hero-fusion-text { text-align: center; padding: 0; max-width: 100%; }

    /* Cifras */
    .cifras-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px 12px !important; }
    .cifra-num  { font-size: 2.2rem !important; }
    .cifra-text { font-size: 0.65rem !important; }

    /* Flip cards (Calidad) — 2×3 en tablet */
    .grid-3 { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; display: grid !important; }
    .flip-card { height: 260px !important; }
    .front-title { font-size: 0.95rem !important; margin-bottom: 8px !important; }
    .front-hint  { font-size: 0.58rem !important; padding: 4px 10px !important; }
    .flip-card-back { padding: 14px !important; }
    .flip-card-back .flip-icon { width: 36px !important; height: 36px !important; margin-bottom: 8px !important; }
    .flip-card-back h3 { font-size: 0.88rem !important; margin-bottom: 6px !important; }
    .flip-card-back p  { font-size: 0.72rem !important; line-height: 1.35 !important; }

    /* Bento — 1 columna */
    .bento-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
    .bento-large, .bento-medium, .bento-wide, [class*="bento-"] { grid-column: span 1 !important; }
    .bento-item { padding: 24px 18px !important; }

    /* Bento Mercado: gráficos en 1 col */
    .market-minicharts-grid { grid-template-columns: 1fr !important; }
    .market-minicharts-grid > div { height: 200px !important; }
    #garsan-fx-cards { grid-template-columns: repeat(2, 1fr) !important; }

    /* Mapa */
    #corporate-map { height: 320px !important; border-radius: 16px; }
    .map-section .container { flex-direction: column !important; }

    /* Contacto */
    .form-grid { grid-template-columns: 1fr; gap: 14px; }
    .input-field.full-width { grid-column: span 1; }
    .corporate-header { flex-direction: column; gap: 15px; margin-bottom: 25px; }

    /* Quiénes somos */
    .quienes-wrapper { flex-direction: column; gap: 30px; }
    .quienes-img { width: 100% !important; max-width: 100% !important; }
    .valores-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }

    /* Historia timeline */
    .timeline { padding-left: 20px !important; }
    .timeline-item::before { left: -20px !important; }

    /* Grupo */
    .gd-container { flex-direction: column !important; gap: 24px; }
    .gd-sidebar { width: 100% !important; position: static !important; }
    .gd-companies-grid { grid-template-columns: 1fr !important; }
    .gd-company-card { flex-direction: column !important; align-items: flex-start !important; }

    /* Trazabilidad */
    .traz-static-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
    .traz-arrow { transform: rotate(90deg) !important; display: block !important; margin: 0 auto !important; }
    .traz-card { padding: 20px 16px !important; }

    /* Cards genéricas */
    .card, .bento-item, .traz-card { padding: 24px 16px !important; border-radius: 16px !important; }

    /* RSC */
    .rsc-grid { grid-template-columns: 1fr !important; gap: 14px !important; }

    /* Footer */
    .footer-trigger { display: flex; padding: 15px 0; cursor: pointer; }
    .footer-collapsible { max-height: 0 !important; opacity: 0 !important; transition: max-height 0.6s ease, opacity 0.6s ease; }
    .footer-brutal.mobile-expanded .footer-collapsible { max-height: 1500px !important; opacity: 1 !important; padding-top: 20px; }
    .footer-brutal.mobile-expanded .footer-trigger .chevron { transform: rotate(180deg); color: var(--brand-red); }
    .footer-brutal__right { grid-template-columns: 1fr; gap: 20px; }
    .footer-brutal__bottom { flex-direction: column; gap: 12px; text-align: center; padding: 15px; font-size: 10px; }
    .footer-legal-links { flex-wrap: wrap; justify-content: center; gap: 6px; }

    /* Legal */
    .legal-box { padding: 30px 20px !important; }
    .legal-box h2 { font-size: 1.2rem !important; }
    .legal-table { font-size: 0.8rem !important; }
    .legal-info-card { padding: 16px !important; }

    /* Política cookies — tabla scroll horizontal */
    .legal-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@keyframes textFadeInUp { to { opacity: 1; transform: translateY(0); } }

/* ── 4. MÓVIL ESTÁNDAR ≤600px ── */
@media (max-width: 600px) {
    body { padding-top: 80px; }
    .container { padding: 0 14px; }

    /* Header */
    .main-navbar { padding: 0 !important; }
    .navbar-container { padding: 0 14px; }
    .utility-container { flex-direction: row; flex-wrap: wrap; gap: 6px; justify-content: center; }
    .utility-right { flex-wrap: wrap; justify-content: center; gap: 8px; }
    .utility-link { font-size: 0.7rem !important; padding: 4px 8px !important; }

    /* Tipografía */
    .section-title-modern,
    .hero-title-serious { font-size: 1.7rem !important; }
    .hero-subtitle-serious { font-size: 0.9rem !important; }
    .eyebrow-tag { font-size: 0.65rem !important; padding: 4px 12px !important; }

    /* Hero index */
    .hero-fusion-text .text-highlight { font-size: 1.75rem; }
    .hero-fusion-text .hero-line1 { font-size: 0.75rem; }

    /* Cifras: 2 col compacto */
    .cifras-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px 8px !important; }
    .cifra-num  { font-size: 1.9rem !important; }

    /* Flip cards — 1 col en móvil pequeño */
    .grid-3 { grid-template-columns: 1fr !important; gap: 10px !important; }
    .flip-card { height: 240px !important; }

    /* Bento FX tarjetas — 2 col */
    #garsan-fx-cards { grid-template-columns: repeat(2, 1fr) !important; gap: 6px !important; }
    .gfx-price { font-size: 1rem !important; }

    /* Formulario */
    .form-submit-btn { width: 100% !important; }

    /* Footer bignum */
    .footer-brutal__bignum { font-size: 62px; }
    .footer-brutal__left, .footer-brutal__right { padding: 20px 14px; }

    /* Grupo */
    .gd-logo-card { height: 100px !important; }
    .gd-company-header { flex-direction: column !important; gap: 10px !important; }

    /* Valores */
    .valores-grid { grid-template-columns: 1fr !important; }
}

/* ── 5. MÓVIL PEQUEÑO ≤480px ── */
@media (max-width: 480px) {
    body { padding-top: 74px; }
    .logo svg { height: 26px; }
    .container { padding: 0 12px; }

    .section-title-modern,
    .hero-title-serious { font-size: 1.5rem !important; letter-spacing: -0.5px; }

    /* Ocultar texto utility en pantallas muy pequeñas */
    .divider-small { display: none; }
    .utility-link { font-size: 0.65rem !important; }

    .cifras-grid { gap: 12px 8px !important; }
    .cifra-num  { font-size: 1.7rem !important; }

    /* Flip cards: altura reducida */
    .flip-card { height: 220px !important; }
    .flip-card-back p { font-size: 0.68rem !important; }

    /* Bento */
    .bento-item { padding: 20px 14px !important; }
    .bento-header h3 { font-size: 1rem !important; }

    /* Footer */
    .footer-brutal__bignum { font-size: 55px; letter-spacing: -2px; }

    /* Mapa */
    #corporate-map { height: 260px !important; }

    /* Ticker tape TradingView */
    .tradingview-widget-container { font-size: 0.75rem !important; }
}

/* ── 6. MÓVIL MUY PEQUEÑO ≤380px (iPhone SE, Galaxy S…) ── */
@media (max-width: 380px) {
    body { padding-top: 68px; }
    .container { padding: 0 10px; }
    .logo svg { height: 22px; }

    .section-title-modern,
    .hero-title-serious { font-size: 1.3rem !important; }

    .navbar-container { padding: 0 10px; }

    /* Flip cards */
    .grid-3 { gap: 8px !important; }
    .flip-card { height: 200px !important; }
    .front-title { font-size: 0.82rem !important; }
    .front-hint  { display: none !important; }
    .flip-card-back { padding: 10px !important; }
    .flip-card-back h3 { font-size: 0.78rem !important; }
    .flip-card-back p  { font-size: 0.63rem !important; }

    /* FX cards — 1 columna */
    #garsan-fx-cards { grid-template-columns: 1fr !important; }

    /* Ocultar FAX en muy pequeño */
    .gfx-card .gfx-label { font-size: 0.55rem !important; }
    .gfx-price { font-size: 0.9rem !important; }
}

/* ── 7. VÍDEO / FOTO RESPONSIVE ── */
.video-movil { display: none; }

@media (max-width: 768px), (max-width: 1024px) and (orientation: portrait) {
    .hero-video { object-fit: cover !important; animation: none !important; }
    .hero-logo-end-img { object-fit: cover !important; object-position: center center !important; }
    .hero-content-fusion {
        position: absolute !important;
        bottom: -10% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 20px !important;
        display: flex !important;
        justify-content: center !important;
    }
    .hero-fusion-text { margin-top: 0 !important; text-align: center !important; }
}

/* ── 8. HOVER SOLO EN DISPOSITIVOS CON PUNTERO FINO ── */

/* Flip card táctil */
.flip-card.mobile-flipped .flip-card-inner { transform: rotateY(180deg); }
.footer-brutal.mobile-expanded .footer-collapsible { max-height: 1200px !important; opacity: 1 !important; padding-top: 10px; }
.footer-brutal.mobile-expanded .footer-trigger .chevron { transform: rotate(180deg); color: var(--brand-red); }

    /* --- AJUSTES TARJETA FOSFA/GAFTA --- */
/* Empuja el texto de "Certificados" hacia abajo para que no tape las imágenes */
.flip-card-front.logo-front .front-overlay { 
    background: linear-gradient(to top, rgba(0, 16, 58, 0.95) 0%, rgba(0, 16, 58, 0.7) 35%, transparent 65%); 
    justify-content: flex-end; 
    padding-bottom: 40px; 
}

/* Estilo para los nuevos botones de descarga en la parte trasera */
.cert-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cert-btn:hover {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    box-shadow: 0 4px 10px rgba(218, 41, 28, 0.4);
    color: #FFFFFF;
}
/* Contenedor para que el logo quede a la izquierda del texto */
.hero-fusion-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 35px; /* Espacio entre el logo y las letras */
}

/* Efecto del logo: Empieza borroso e invisible */
.hero-animated-logo {
    max-width: 130px; /* Tamaño ajustable */
    opacity: 0;
    filter: blur(15px); /* Efecto difuminado */
    transform: translateX(-30px);
    animation: logoFadeInSync 1.5s ease-out forwards;
    animation-play-state: paused; /* Controlado por Javascript */
    animation-delay: 2.5s; /* Espera a que el vídeo enfoque al cielo */
}

@keyframes logoFadeInSync {
    to {
        opacity: 0.95; /* Ligeramente suave para integrarse con el cielo */
        filter: blur(0);
        transform: translateX(0);
    }
}

/* Actualizamos tu H2 para que tenga el mismo retraso y vayan al compás */
.hero-fusion-text h2 {
    animation-delay: 2.5s !important; /* Espera al cielo también */
}
@keyframes garsanSlide {
  0%   { opacity: 0; transform: translateX(-360px); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes garsanFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes garsanGlow {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO COMPLETO — NUEVO LAYOUT (imagen de referencia)
   ═══════════════════════════════════════════════════════════════ */
 
/* ── Overlay más oscuro en la izquierda para legibilidad ── */
.hero-overlay {
    background: linear-gradient(
        105deg,
        rgba(0, 16, 58, 0.72) 0%,
        rgba(0, 16, 58, 0.45) 50%,
        rgba(0, 16, 58, 0.15) 100%
    ) !important;
}
 
/* ── Layout de dos columnas dentro del hero ── */
.hero-content-fusion.container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 40px !important;
    padding: 0 40px !important;
    width: 100% !important;
    max-width: 1300px !important;
    margin: 0 auto !important;
    height: 100% !important;
}
 
/* ── COLUMNA IZQUIERDA ── */
.hero-left-col {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 200px;
}
 
/* ── BADGE ── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
 
    /* Estado inicial — invisible hasta la animación */
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-badge.gs-animate {
    opacity: 1;
    transform: translateY(0);
}
 
/* ── Ajuste del row logo+texto para alinearse a la izquierda ── */
#garsanHeroRow {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 22px;
}
 
/* ── Logo SVG del hero ── */
#garsanLogoCol {
    position: relative;
    flex-shrink: 0;
}
#garsanLogoSVG {
    width: 90px;
    height: auto;
    opacity: 0;
    transform: translateX(-40px);
    transition: none;
}
#garsanLogoSVG.gs-animate {
    animation: garsanSlide 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
#garsanGlow {
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    background: radial-gradient(ellipse, rgba(200,16,46,0.25) 0%, transparent 70%);
    opacity: 0;
    pointer-events: none;
}
#garsanGlow.gs-animate {
    animation: garsanGlow 1.5s ease forwards 0.3s;
}
 
/* ── Columna de texto del título ── */
/* ── Columna de texto del título ── */
#garsanTextCol {
    padding-left: 0; /* <--- Cambiar de 20px a 0 */
}
#garsanTextCol h2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    text-align: left !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}
.hero-line1 {
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 400;
    font-size: clamp(0.85rem, 1.4vw, 1.1rem);
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 4px;
    line-height: 1;
    opacity: 0;
    transform: translateX(20px);
}
.hero-line1.gs-animate {
    animation: garsanFadeUp 0.9s ease forwards 0.5s;
}
.text-highlight {
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 6vw, 5.2rem);
    letter-spacing: -1px;
    text-transform: uppercase;
    color:#ffffff;
    line-height: 0.92;
    opacity: 0;
    transform: translateX(20px);
}
.text-highlight.gs-animate {
    animation: garsanFadeUp 1s ease forwards 0.7s;
}
 
/* ── DESCRIPCIÓN ── */
.hero-desc {
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.65;
    max-width: 520px;
    margin-bottom: 32px;
 
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero-desc.gs-animate {
    opacity: 1;
    transform: translateY(0);
}
 
/* ── BOTONES ── */
.hero-cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
 
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero-cta-row.gs-animate {
    opacity: 1;
    transform: translateY(0);
}
 
.hero-btn-primary {
    display: inline-block;
    background-color: var(--brand-red);
    color: #FFFFFF;
    font-family: var(--font-family);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 15px 32px;
    border: 2px solid var(--brand-red);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}
.hero-btn-primary:hover {
    background-color: #b8201a;
    border-color: #b8201a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(218, 41, 28, 0.45);
}
 
.hero-btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #FFFFFF;
    font-family: var(--font-family);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 15px 32px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}
.hero-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

/* ── COLUMNA DERECHA: STATS ── */
.hero-stats-col {
    flex: 0 0 15%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: flex-end;       /* baja al fondo del hero */
    padding-bottom: 80px;       /* deja espacio al scroll indicator */
    margin-right: -10px;
}
 
.hero-stat-card {
    background: rgba(0, 10, 40, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-left: 3px solid var(--brand-red);
    padding: 10px 18px 10px;    /* más compacto */
    display: flex;
    flex-direction: column;
    gap: 2px;
 
    /* Estado inicial */
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s ease, border-color 0.3s ease;
}
.hero-stat-card.gs-animate {
    opacity: 1;
    transform: translateX(0);
}
.hero-stat-card:hover {
    background: rgba(0, 20, 60, 0.70);
    border-left-color: #ff3b2f;
}
 
.stat-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}
.stat-icon {
    width: 13px;
    height: 13px;
    color: var(--brand-red);
    flex-shrink: 0;
}
.stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-red);
}
.stat-number {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
    letter-spacing: -1px;
}
.stat-text {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.50);
}
 
/* ── SCROLL INDICATOR ── */
.hero-scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
 
    opacity: 0;
    transition: opacity 0.8s ease;
}
.hero-scroll-indicator.gs-animate {
    opacity: 1;
}
.hero-scroll-indicator span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}
.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: scrollWheelAnim 1.8s ease infinite;
}
@keyframes scrollWheelAnim {
    0%   { opacity: 1; transform: translateY(0); }
    60%  { opacity: 0; transform: translateY(10px); }
    100% { opacity: 0; transform: translateY(0); }
}
 
/* ═══════════════════════════════════════════════════════════════
   HERO RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-content-fusion.container {
        flex-direction: column !important;
        justify-content: flex-end !important;
        padding: 0 24px 80px !important;
        align-items: flex-start !important;
        gap: 24px !important;
    }
    .hero-left-col { flex: none; width: 100%; }
    .hero-stats-col {
        flex: none;
        width: 100%;
        flex-direction: row;
        gap: 10px;
    }
    .hero-stat-card { flex: 1; min-width: 0; }
    .stat-number { font-size: 1.6rem; }
}

@media (max-width: 640px) {
    .hero-stats-col { flex-direction: column; gap: 8px; }
    .hero-cta-row { flex-direction: column; gap: 10px; }
    .hero-btn-primary, .hero-btn-secondary { text-align: center; }
    .text-highlight { font-size: clamp(2.2rem, 10vw, 3.5rem); }
    .hero-badge { font-size: 0.62rem; letter-spacing: 1.5px; }
}

/*SONIDO DEL VIDEO*/
.sound-toggle {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.3s ease;
}
.sound-toggle:hover { background: rgba(0,0,0,0.7); }