:root {
    --bg-dark: #07070a;
    --bg-panel: rgba(15, 15, 20, 0.6);
    --text-primary: #f0f0f5;
    --text-secondary: #8a8d9e;
    --color-cyan: #00f0ff;
    --color-cyan-glow: rgba(0, 240, 255, 0.4);
    --color-neon-green: #39ff14;
    --color-neon-purple: #b026ff;
    --border-glass: rgba(255, 255, 255, 0.08);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Cyberpunk Grid Background */
.cyber-grid-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: 
        linear-gradient(var(--border-glass) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-glass) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
    transform: perspective(500px) rotateX(60deg) scale(2.5) translateY(-100px);
    opacity: 0.15;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 40px; }
}

/* Base Utility Classes */
.text-cyan { color: var(--color-cyan); text-shadow: 0 0 10px var(--color-cyan-glow); }
.glass-panel, .glass-card, .data-module {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); letter-spacing: 1px; }

/* Glitch Effect Text */
.glitch-text {
    position: relative;
    display: inline-block;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}
.glitch-text::before, .glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
}
.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 red;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}
.glitch-text::after {
    left: -2px;
    text-shadow: -1px 0 var(--color-cyan);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}
@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 86px, 0); }
    20% { clip: rect(69px, 9999px, 14px, 0); }
    40% { clip: rect(97px, 9999px, 49px, 0); }
    60% { clip: rect(70px, 9999px, 57px, 0); }
    80% { clip: rect(11px, 9999px, 63px, 0); }
    100% { clip: rect(98px, 9999px, 20px, 0); }
}
@keyframes glitch-anim-2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    20% { clip: rect(12px, 9999px, 52px, 0); }
    40% { clip: rect(79px, 9999px, 83px, 0); }
    60% { clip: rect(13px, 9999px, 24px, 0); }
    80% { clip: rect(66px, 9999px, 32px, 0); }
    100% { clip: rect(91px, 9999px, 50px, 0); }
}

/* NAVBAR */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    padding: 15px 5%;
    transition: background 0.3s ease, padding 0.3s ease;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(7, 7, 10, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
    padding: 10px 5%;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 40px; transition: height 0.3s ease; }
.logo-img-enlarged { height: 75px; } /* Increased from 40px to 75px */
.navbar.scrolled .logo-img-enlarged { height: 50px; } /* Shrinks slightly on scroll */
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--text-primary); text-decoration: none; font-size: 0.9rem; font-weight: 600; font-family: var(--font-heading); transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--color-cyan); }
.mobile-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* Buttons */
.btn-neon {
    padding: 8px 18px; border: 1px solid var(--color-cyan); color: var(--color-cyan) !important;
    border-radius: 4px; text-transform: uppercase; background: transparent; transition: all 0.3s;
    box-shadow: 0 0 10px rgba(0,240,255,0.1) inset;
}
.btn-neon:hover {
    background: var(--color-cyan); color: var(--bg-dark) !important;
    box-shadow: 0 0 15px var(--color-cyan-glow);
}
.btn-primary-tech, .btn-secondary-tech {
    display: inline-block; padding: 12px 25px; border-radius: 4px; text-decoration: none; font-family: var(--font-heading);
    font-weight: 600; font-size: 0.9rem; transition: all 0.3s; cursor: pointer; border: none;
}
.btn-primary-tech {
    background: var(--color-cyan); color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}
.btn-primary-tech:hover { box-shadow: 0 0 25px rgba(0, 240, 255, 0.7); transform: translateY(-2px); }
.btn-secondary-tech {
    background: transparent; color: white; border: 1px solid var(--border-glass);
}
.btn-secondary-tech:hover { background: rgba(255,255,255,0.05); border-color: white; }

/* HERO */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 100px 5% 50px; position: relative; overflow: hidden;
    background: radial-gradient(circle at center, rgba(0,240,255,0.05) 0%, transparent 70%);
}
.hero-content { max-width: 900px; text-align: center; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.status-badge {
    display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-size: 0.8rem;
    padding: 5px 12px; border: 1px solid var(--border-glass); border-radius: 20px; background: rgba(0,0,0,0.5);
    margin-bottom: 20px; color: var(--color-neon-green);
}
.blinking-dot { width: 8px; height: 8px; background: var(--color-neon-green); border-radius: 50%; animation: blink 1.5s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--color-neon-green); } 50% { opacity: 0.3; box-shadow: none; } }
.hero-huge-logo { 
    max-width: 90%; 
    max-height: 40vh;
    width: auto;
    margin-bottom: 20px; 
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.4));
}
.heartbeat-anim {
    animation: heartbeat-multicolor 6s ease-in-out infinite;
}
@keyframes heartbeat-multicolor {
    0% { transform: scale(1); filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.5)); } /* Cyan */
    25% { transform: scale(1.02); filter: drop-shadow(0 0 35px rgba(176, 38, 255, 0.7)); } /* Purple */
    50% { transform: scale(1); filter: drop-shadow(0 0 25px rgba(255, 0, 128, 0.5)); } /* Pink */
    75% { transform: scale(1.02); filter: drop-shadow(0 0 35px rgba(57, 255, 20, 0.6)); } /* Neon Green */
    100% { transform: scale(1); filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.5)); } /* Cyan */
}
.hero-subtitle { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 35px; max-width: 700px; }
.hero-actions { display: flex; gap: 15px; justify-content: center; }

/* Decorative Graphics in Hero */
.tech-circle { position: absolute; border: 1px dashed var(--border-glass); border-radius: 50%; z-index: 1; }
.tc-1 { width: 400px; height: 400px; top: 10%; left: -100px; animation: spin 40s linear infinite; }
.tc-2 { width: 600px; height: 600px; bottom: -200px; right: -200px; border: 1px solid rgba(0,240,255,0.1); animation: spin 60s reverse linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* SECTION LAYOUTS */
.consorcio, .catalogo, .contacto { padding: 100px 5%; position: relative; z-index: 2; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header p { color: var(--text-secondary); margin-top: 10px; font-size: 1.1rem; }

/* CONSORCIO GRID */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.glass-card { padding: 30px; position: relative; overflow: hidden; transition: transform 0.3s; }
.glass-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }
.card-icon { font-size: 2.5rem; margin-bottom: 20px; color: white; }
.tech-card .card-icon { color: var(--color-cyan); text-shadow: 0 0 15px var(--color-cyan-glow); }
.creative-card .card-icon { color: var(--color-neon-purple); text-shadow: 0 0 15px rgba(176,38,255,0.4); }
.mgmt-card .card-icon { color: #ffaa00; text-shadow: 0 0 15px rgba(255,170,0,0.4); }
.esr-card { border-color: rgba(57, 255, 20, 0.3); }
.esr-card .card-icon { color: var(--color-neon-green); text-shadow: 0 0 15px rgba(57,255,20,0.4); }
.glass-card h3 { font-size: 1.2rem; margin-bottom: 15px; }
.glass-card p { font-size: 0.9rem; color: var(--text-secondary); }
.tech-line { position: absolute; bottom: 0; left: 0; height: 3px; width: 0%; background: var(--color-cyan); transition: width 0.4s ease; }
.glass-card:hover .tech-line { width: 100%; }

/* CATALOG GRID (FLIP CARDS) */
.netflix-row-container { margin-bottom: 45px; position: relative; }
.row-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; color: var(--text-primary); }
.netflix-carousel-wrapper { position: relative; display: flex; align-items: center; }
.netflix-carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px 5px; width: 100%; }
.netflix-carousel::-webkit-scrollbar { display: none; }
.carousel-control { position: absolute; z-index: 10; background: rgba(0,0,0,0.6); color: white; border: 1px solid var(--border-glass); border-radius: 50%; width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: all 0.3s; opacity: 0; }
.netflix-carousel-wrapper:hover .carousel-control { opacity: 1; }
.carousel-control:hover { background: var(--color-cyan); color: var(--bg-dark); }
.carousel-control.prev { left: -20px; }
.carousel-control.next { right: -20px; }

.netflix-card { flex: 0 0 calc(33.33% - 11px); scroll-snap-align: start; background: transparent !important; border: none !important; border-radius: 12px; padding: 0 !important; min-height: 400px; perspective: 1000px; cursor: pointer; }
.card-inner-flipper { position: relative; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); transform-style: preserve-3d; }
.netflix-card.flipped .card-inner-flipper { transform: rotateY(180deg); }
.card-front, .card-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 12px; border: 1px solid var(--border-glass); display: flex; flex-direction: column; justify-content: space-between; transition: border-color 0.3s; }
.card-front { background: var(--bg-panel); backdrop-filter: blur(12px); z-index: 2; }
.netflix-card:hover .card-front { border-color: rgba(255,255,255,0.25); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4); }
.card-back { background: var(--bg-dark); transform: rotateY(180deg); z-index: 1; padding: 24px; border-color: rgba(0, 240, 255, 0.3); box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.05); }

/* Theme Highlights */
.netflix-card.marketing-card .card-front { border-color: rgba(176,38,255,0.3); }
.netflix-card.marketing-card:hover .card-front { border-color: var(--color-neon-purple); box-shadow: 0 0 20px rgba(176,38,255,0.2); }
.netflix-card.combo-card .card-front { border-color: rgba(57, 255, 20, 0.3); }
.netflix-card.combo-card:hover .card-front { border-color: var(--color-neon-green); box-shadow: 0 0 20px rgba(57,255,20,0.2); }

/* Inner Content */
.card-inner-top h4 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.3; color: white; }
.card-desc { font-size: 0.82rem; margin-bottom: 20px; line-height: 1.5; color: var(--text-secondary); }
.card-features-list { margin-bottom: 24px; font-size: 0.8rem; color: var(--text-secondary); display: flex; flex-direction: column; gap: 8px; list-style: none; }
.card-features-list li { display: flex; align-items: flex-start; gap: 8px; line-height: 1.4; border-bottom: 1px dashed rgba(255,255,255,0.05); padding-bottom: 5px; }
.card-features-list i { color: var(--color-cyan); font-size: 0.85rem; margin-top: 3px; }
.marketing-card .card-features-list i { color: var(--color-neon-purple); }

.card-inner-bottom { border-top: 1px solid var(--border-glass); padding-top: 15px; margin-top: auto; }
.netflix-pricing-block { display: flex; justify-content: space-between; align-items: flex-end; }
.price-val-box { display: flex; flex-direction: column; }
.p-label { font-size: 0.65rem; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 4px; font-weight: 700; letter-spacing: 0.05em; }
.p-val { font-size: 1.1rem; font-family: var(--font-heading); font-weight: 800; color: white; }
.line-through { text-decoration: line-through; opacity: 0.5; font-size: 0.9rem; font-weight: 500; }
.text-neon { color: var(--color-neon-green); text-shadow: 0 0 10px rgba(57,255,20,0.3); font-size: 1.25rem; }

.click-for-more { margin-top: auto; padding-top: 12px; text-align: center; font-size: 0.72rem; color: var(--color-cyan); opacity: 0.85; display: flex; justify-content: center; align-items: center; gap: 5px; }

/* Badges */
.badge { display: inline-block; padding: 4px 10px; font-size: 0.68rem; font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.1em; border-radius: 4px; text-transform: uppercase; margin-bottom: 8px; }
.bg-cyan { background: rgba(0, 240, 255, 0.15); color: var(--color-cyan); border: 1px solid rgba(0,240,255,0.3); }
.bg-purple { background: rgba(176, 38, 255, 0.15); color: var(--color-neon-purple); border: 1px solid rgba(176,38,255,0.3); }
.bg-green { background: rgba(57, 255, 20, 0.15); color: var(--color-neon-green); border: 1px solid rgba(57,255,20,0.3); }

/* Responsive adjustments */
@media (max-width: 900px) { .netflix-card { flex: 0 0 calc(50% - 8px); } }
@media (max-width: 600px) { .netflix-card { flex: 0 0 90%; margin: 0 auto; } .carousel-control { display: none; } }

/* UNITARY SERVICES CATALOG */
.toggle-catalog-container { text-align: center; margin: 50px 0; }
.btn-catalog-toggle { padding: 15px 35px; font-size: 1rem; background: rgba(0, 240, 255, 0.05); border: 1px solid var(--color-cyan); color: var(--color-cyan); border-radius: 8px; cursor: pointer; transition: all 0.3s; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 2px; font-weight: 700; }
.btn-catalog-toggle:hover { background: var(--color-cyan); color: #000; box-shadow: 0 0 20px rgba(0,240,255,0.5); transform: translateY(-3px); }
.btn-catalog-toggle i { margin-right: 8px; }

.unitary-catalog-section { margin-top: 20px; padding: 40px; background: var(--bg-panel); border: 1px solid var(--border-glass); border-radius: 12px; backdrop-filter: blur(10px); display: none; }
.unitary-catalog-section.active { display: block; animation: slideDown 0.5s ease-out forwards; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.unitary-header { text-align: center; margin-bottom: 40px; }
.unitary-header h3 { font-size: 1.8rem; color: var(--color-cyan); margin-bottom: 10px; text-transform: uppercase; font-weight: 800; letter-spacing: 2px; }
.unitary-header p { color: var(--text-secondary); font-size: 0.9rem; max-width: 600px; margin: 0 auto; }

.unitary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }

.unitary-category { margin-bottom: 20px; }
.unitary-category-title { font-family: var(--font-heading); font-size: 1.1rem; color: white; border-bottom: 1px solid var(--border-glass); padding-bottom: 10px; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.unitary-category-title i { color: var(--color-neon-purple); }

.unitary-item { display: flex; justify-content: space-between; align-items: flex-start; padding: 15px; background: rgba(0,0,0,0.4); border: 1px solid transparent; border-radius: 8px; transition: all 0.3s; margin-bottom: 10px; }
.unitary-item:hover { border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.02); transform: translateX(5px); }
.unitary-item-info { flex: 1; padding-right: 15px; }
.unitary-item-name { font-weight: 700; color: #fff; font-size: 0.95rem; margin-bottom: 4px; }
.unitary-item-desc { font-size: 0.75rem; color: var(--text-secondary); line-height: 1.4; }
.unitary-item-price { text-align: right; min-width: 90px; }
.unitary-item-price .price-tag { display: block; font-family: var(--font-heading); font-weight: 800; color: var(--color-cyan); font-size: 1rem; }
.unitary-item-price .price-freq { display: block; font-size: 0.65rem; color: var(--text-secondary); text-transform: uppercase; margin-top: 2px; }

/* Theme Modifiers */
.cat-tech .unitary-category-title i { color: var(--color-cyan); }
.cat-mgmt .unitary-category-title i { color: var(--color-neon-green); }

/* PORTFOLIO GRID */
.portafolio { padding: 100px 5%; position: relative; z-index: 2; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.video-card { 
    background: var(--bg-panel); border: 1px solid var(--border-glass); border-radius: 12px; 
    overflow: hidden; cursor: pointer; transition: all 0.3s ease; position: relative;
}
.video-card:hover { border-color: var(--color-cyan); box-shadow: 0 0 20px rgba(0, 240, 255, 0.2); transform: translateY(-5px); }
.video-thumbnail-container { position: relative; width: 100%; height: 200px; background: #000; overflow: hidden; }
.video-thumbnail { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: opacity 0.3s; }
.video-card:hover .video-thumbnail { opacity: 1; }
.play-icon-overlay {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 50px; height: 50px; background: rgba(0,0,0,0.6); border: 1px solid var(--color-cyan);
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    color: var(--color-cyan); font-size: 1.2rem; opacity: 0.8; transition: all 0.3s;
}
.video-card:hover .play-icon-overlay { background: var(--color-cyan); color: var(--bg-dark); opacity: 1; box-shadow: 0 0 15px var(--color-cyan-glow); transform: translate(-50%, -50%) scale(1.1); }
.video-info { padding: 20px; }
.video-info h4 { font-size: 1.1rem; color: white; margin-bottom: 8px; }
.video-tag { font-family: var(--font-heading); font-size: 0.7rem; color: var(--color-cyan); }

/* VIDEO MODAL (LIGHTBOX) */
.video-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.95); z-index: 1000;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
    backdrop-filter: blur(10px);
}
.video-modal-overlay.active { opacity: 1; pointer-events: auto; }
.video-modal-content { position: relative; width: 90%; max-width: 1200px; border-radius: 8px; overflow: hidden; box-shadow: 0 0 30px rgba(0, 240, 255, 0.2); border: 1px solid var(--color-cyan); }
.close-video-modal {
    position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.6); border: 1px solid var(--color-cyan);
    color: var(--color-cyan); width: 40px; height: 40px; border-radius: 50%; font-size: 1.5rem;
    cursor: pointer; z-index: 1010; transition: all 0.3s; display: flex; justify-content: center; align-items: center;
}
.close-video-modal:hover { background: var(--color-cyan); color: var(--bg-dark); }
#full-video-player { width: 100%; max-height: 85vh; display: block; outline: none; background: #000; }

/* FLOATING WA BUTTON & MODAL */
.floating-wa-btn {
    position: fixed; bottom: 30px; left: 30px; z-index: 900;
    background: var(--color-neon-green); color: var(--bg-dark);
    border: none; border-radius: 50px; padding: 15px 25px;
    font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
    display: flex; align-items: center; gap: 10px;
    cursor: pointer; box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
    transition: all 0.3s;
}
.floating-wa-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.6);
}
.floating-wa-btn i { font-size: 1.5rem; }

.cinematic-pulse {
    animation: floating-pulse 3s infinite;
}
@keyframes floating-pulse {
    0% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(57, 255, 20, 0); }
    100% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0); }
}

.wa-survey-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.9); z-index: 1000;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
    backdrop-filter: blur(15px);
}
.wa-survey-modal-overlay.active { opacity: 1; pointer-events: auto; }
.wa-survey-content {
    position: relative;
    max-width: 900px; width: 95%; max-height: 90vh; overflow-y: auto;
    background: var(--bg-dark); border: 1px solid var(--color-cyan);
    box-shadow: 0 0 40px rgba(0,240,255,0.2);
    border-radius: 12px; padding: 40px;
}
.close-survey-modal {
    position: absolute; top: 20px; right: 20px; background: none; border: none;
    color: var(--color-cyan); font-size: 1.5rem; cursor: pointer; transition: color 0.3s;
}
.close-survey-modal:hover { color: white; }

/* CONTACT FORM inside modal */
.contact-wrapper { display: flex; flex-wrap: wrap; gap: 40px; }
.contact-info { flex: 1; min-width: 300px; }
.contact-info h2 { margin-bottom: 20px; font-size: 2rem; color: var(--color-cyan); text-shadow: 0 0 15px rgba(0,240,255,0.3); }
.contact-info p { color: var(--text-secondary); margin-bottom: 30px; }
.contact-details p { font-family: var(--font-heading); font-size: 0.9rem; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }

.contact-form-container { flex: 1; min-width: 300px; }
.form-step { display: none; animation: fadeIn 0.4s ease forwards; }
.form-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.form-step h3 { font-size: 1.1rem; margin-bottom: 20px; border-bottom: 1px solid var(--border-glass); padding-bottom: 10px; color: var(--color-cyan); }
.input-group { margin-bottom: 20px; }
.input-group label { display: block; font-size: 0.8rem; font-family: var(--font-heading); margin-bottom: 8px; color: var(--text-secondary); }
.input-group input, .input-group select {
    width: 100%; padding: 12px 15px; background: rgba(0,0,0,0.3); border: 1px solid var(--border-glass);
    color: white; border-radius: 4px; font-family: var(--font-body); font-size: 0.9rem; outline: none; transition: border-color 0.3s;
}
.input-group input:focus, .input-group select:focus { border-color: var(--color-cyan); }
.input-group select option { background: var(--bg-dark); }
.form-nav { display: flex; justify-content: space-between; margin-top: 30px; }
.summary-box { background: rgba(0,0,0,0.3); border: 1px dashed var(--border-glass); padding: 20px; border-radius: 4px; font-size: 0.9rem; }
.summary-box p { margin-bottom: 10px; color: var(--text-secondary); }
.summary-box span { color: white; font-weight: 500; }

/* FOOTER */
footer { text-align: center; padding: 40px 5%; border-top: 1px solid var(--border-glass); margin-top: 50px; }
.footer-logo { height: 30px; margin-bottom: 15px; opacity: 0.7; filter: grayscale(100%); transition: filter 0.3s, opacity 0.3s; }
.footer-logo:hover { filter: none; opacity: 1; }
.footer-content p { font-size: 0.8rem; color: var(--text-secondary); }
.footer-sub { font-family: var(--font-heading); font-size: 0.7rem !important; margin-top: 5px; opacity: 0.5; }

/* MOBILE RESPONSIVE */
.mobile-menu {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: var(--bg-dark);
    z-index: 99; display: flex; align-items: center; justify-content: center;
    transform: translateY(-100%); transition: transform 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 30px; text-align: center; }
.mobile-menu a { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; text-decoration: none; color: white; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .logo-img-enlarged { height: 50px; } /* Scale down on mobile */
    .hero-huge-logo { margin-top: 50px; }
    .hero-actions { flex-direction: column; }
    .wa-survey-content { padding: 20px; }
    .contact-wrapper { flex-direction: column; gap: 20px; }
    .floating-wa-btn { left: 20px; bottom: 20px; padding: 12px 20px; font-size: 0.9rem; }
}

/* CINEMATIC SCROLL ANIMATIONS */
.cinematic-fade-up { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.cinematic-fade-down { opacity: 0; transform: translateY(-40px); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.cinematic-zoom { opacity: 0; transform: scale(0.9); transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.cinematic-stagger { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }

.in-view { opacity: 1; transform: translate(0) scale(1); }

/* Apply transition delays for staggered elements in a grid */
.portfolio-grid .video-card:nth-child(1), .catalog-grid .data-module:nth-child(1) { transition-delay: 0.1s; }
.portfolio-grid .video-card:nth-child(2), .catalog-grid .data-module:nth-child(2) { transition-delay: 0.2s; }
.portfolio-grid .video-card:nth-child(3), .catalog-grid .data-module:nth-child(3) { transition-delay: 0.3s; }
.portfolio-grid .video-card:nth-child(4), .catalog-grid .data-module:nth-child(4) { transition-delay: 0.4s; }
.portfolio-grid .video-card:nth-child(5), .catalog-grid .data-module:nth-child(5) { transition-delay: 0.5s; }
.portfolio-grid .video-card:nth-child(6), .catalog-grid .data-module:nth-child(6) { transition-delay: 0.6s; }

