:root {
    --bg-primary: #FBFBF9; 
    --text-primary: #232323; 
    --text-secondary: #6B6B6B;
    --accent-color: #D4AF37; 
    --accent-color-text: #B08D28;
    --border-color: #E8E6E1;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Jost', sans-serif; 
    --glass-bg: rgba(251, 251, 249, 0.75);
    --transition-premium: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

html { scroll-behavior: smooth; }
section { scroll-margin-top: 80px; }
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-primary); color: var(--text-primary);
    font-family: var(--font-body); -webkit-font-smoothing: antialiased;
    overflow-x: hidden; line-height: 1.6;
}
body.no-scroll { overflow: hidden; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-color); transition: background 0.3s; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-color); }
* { scrollbar-width: thin; scrollbar-color: var(--border-color) var(--bg-primary); }

@media (min-width: 1025px) {
    body.custom-cursor-active, 
    body.custom-cursor-active a, 
    body.custom-cursor-active button, 
    body.custom-cursor-active input, 
    body.custom-cursor-active textarea, 
    body.custom-cursor-active [data-modal], 
    body.custom-cursor-active label { 
        cursor: none !important; 
    }
}

.cursor-dot, .cursor-outline {
    position: fixed; top: 0; left: 0;
    border-radius: 50%; pointer-events: none; z-index: 99999; 
    transform: translate(calc(var(--x, -100px) - 50%), calc(var(--y, -100px) - 50%)) scale(var(--scale, 1));
}
.cursor-dot {
    width: 6px; height: 6px; background-color: var(--text-primary);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}
.cursor-outline {
    width: 30px; height: 30px; border: 1px solid var(--text-primary);
    transition: transform 0.15s ease-out, background-color 0.3s ease, border-color 0.3s ease; 
}
.cursor-hover {
    --scale: 1.5; 
    background-color: rgba(212, 175, 55, 0.15); /* Un relleno dorado muy sutil y transparente */
    border-color: var(--accent-color); /* Borde dorado sólido */
}
.cursor-hover-dot { width: 4px; height: 4px; background-color: var(--accent-color); }

@media (max-width: 1024px) {
    .cursor-dot, .cursor-outline { display: none !important; }
    body, a, button, input, textarea, [data-modal], label { cursor: auto !important; }
}

.magnetic { transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1); will-change: transform; }

/* =========================================
   PRELOADER PREMIUM (Pantalla de Carga)
   ========================================= */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100dvh;
    background-color: var(--bg-primary); 
    display: flex; align-items: center; justify-content: center;
    z-index: 100000; 
    transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1), visibility 1s;
}

#preloader.preload-finish { 
    opacity: 0; 
    visibility: hidden; 
    pointer-events: none; 
}

.preloader-content {
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}

.preloader-text-wrapper {
    overflow: hidden; 
    padding-bottom: 5px;
}

.preloader-logo { 
    font-family: var(--font-heading); 
    font-size: 3.5rem; 
    color: var(--text-primary); 
    letter-spacing: 15px; 
    margin-right: -15px;
    text-transform: uppercase; 
    display: block;
    transform: translateY(100%); 
    animation: slideUpReveal 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.preloader-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 10px;
    margin-right: -10px;
    color: var(--accent-color);
    opacity: 0;
    animation: fadeInStudio 0.8s ease forwards 0.6s; 
}

.preloader-line {
    width: 0; 
    height: 1px; 
    background-color: var(--text-primary); 
    margin-top: 1.5rem;
    opacity: 0.2;
    animation: drawLine 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards 0.4s;
}

/* --- ANIMACIONES DEL PRELOADER --- */
@keyframes slideUpReveal {
    to { transform: translateY(0); }
}

@keyframes fadeInStudio {
    0% { opacity: 0; transform: translateY(5px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes drawLine {
    0% { width: 0; }
    100% { width: 140px; }
}
.reveal, .reveal-instant { opacity: 0; transform: translateY(30px); transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1), transform 1s cubic-bezier(0.23, 1, 0.32, 1); }
.reveal-instant { transition-delay: 1.4s; } 
.reveal.active, .reveal-instant.active { opacity: 1; transform: translateY(0); }

header {
    position: fixed; width: 100%; padding: 1.5rem 4rem;
    display: flex; justify-content: space-between; align-items: center;
    background: transparent; z-index: 1000; transition: var(--transition-premium);
}
header.scrolled { 
    background: rgba(251, 251, 249, 0.85); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color); padding: 1rem 4rem;
}
header.header-hidden { transform: translateY(-100%); }

/* =========================================
   LOGO CON DESTELLO DORADO (SHINE EFFECT)
   ========================================= */
.logo { 
    font-family: var(--font-heading); 
    font-size: 1.5rem; 
    font-weight: 600; 
    text-decoration: none; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    background: linear-gradient(
        120deg, 
        var(--text-primary) 0%, 
        var(--text-primary) 40%, 
        var(--accent-color) 48%, 
        #ffffff 50%, 
        var(--accent-color) 52%, 
        var(--text-primary) 60%, 
        var(--text-primary) 100%
    );
    background-size: 250% auto;
    color: var(--text-primary);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-position: 200% center;
    animation: logo-shine 2.5s cubic-bezier(0.23, 1, 0.32, 1) 1.5s forwards;
}

@keyframes logo-shine {
    0% { background-position: 200% center; }
    100% { background-position: -50% center; }
}

@keyframes logo-shine-hover {
    0% { background-position: 200% center; }
    100% { background-position: -50% center; }
}

.nav-desktop { display: flex; align-items: center; gap: 2.5rem; }
.nav-link { text-decoration: none; color: var(--text-primary); font-size: 0.8rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px; transition: color 0.3s; position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 1px; background-color: var(--accent-color); transform: scaleX(0); transition: transform 0.3s ease; transform-origin: right; }
.nav-link:hover { color: var(--accent-color); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.lang-selector { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 500; }
.lang-selector a { text-decoration: none; color: var(--text-secondary); transition: color 0.3s; }
.lang-selector a.active { color: var(--accent-color-text); font-weight: 600; }
.lang-selector a:hover { color: var(--text-primary); }
.lang-selector .separator { color: var(--border-color); }
.lang-selector-mobile { margin: 1rem 0; font-family: var(--font-body); font-size: 1rem; color: var(--text-secondary); }
.lang-selector-mobile a { color: inherit; text-decoration: none; padding: 0 10px; }
.lang-selector-mobile a.active { color: var(--accent-color-text); font-weight: 600; }

.menu-toggle { display: none; background: none; border: none; width: 30px; height: 30px; position: relative; justify-content: center; align-items: center; z-index: 1001; }
.hamburger { width: 20px; height: 1px; background-color: var(--text-primary); position: absolute; transition: all 0.3s ease; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; width: 100%; height: 1px; background-color: var(--text-primary); transition: all 0.3s ease; }
.hamburger::before { transform: translateY(-6px); }
.hamburger::after { transform: translateY(6px); }

.nav-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100dvh; 
    background-color: var(--text-primary); z-index: 1000; display: flex; justify-content: center; align-items: center;
    transform: translateY(-100%); transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); opacity: 0;
}
.nav-overlay.active { transform: translateY(0); opacity: 1; }
.close-menu { position: absolute; top: 2rem; right: 2rem; background: none; border: none; color: #ffffff; font-size: 2rem; z-index: 1002; transition: transform 0.3s ease, color 0.3s ease; }
.close-menu:hover { color: var(--accent-color); transform: rotate(90deg); }

.nav-mobile { display: flex; flex-direction: column; align-items: center; gap: 2.5rem; padding: 2rem; }
.mobile-link { text-decoration: none; color: #ffffff; font-size: 1.5rem; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 3px; opacity: 0; transform: translateY(20px); transition: opacity 0.4s ease, transform 0.4s ease; transition-delay: 0.3s; }
.nav-overlay.active .mobile-link { opacity: 1; transform: translateY(0); }

.btn-outline, .btn-solid { padding: 0.8rem 2rem; border-radius: 4px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; text-decoration: none; transition: var(--transition-premium); border: 1px solid var(--text-primary); display: inline-flex; justify-content: center; align-items: center; gap: 10px; }
.btn-outline { color: var(--text-primary); background: transparent; }
.btn-outline:hover { background-color: var(--text-primary); color: var(--bg-primary); }
.btn-solid { background-color: var(--text-primary); color: var(--bg-primary); }
.btn-solid:hover { background-color: transparent; color: var(--text-primary); border-color: var(--text-primary);}
.btn-solid.sending { background-color: var(--text-secondary); color: white; pointer-events: none; opacity: 0.8; }

.video-hero { position: relative; width: 100%; height: 100dvh; overflow: hidden; display: flex; align-items: center; justify-content: center; background-color: var(--text-primary); }
.hero-video {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    min-width: 100%; 
    min-height: 100%; 
    width: auto; 
    height: auto; 
    transform: translate(-50%, -50%); 
    object-fit: cover; 
    z-index: 1;
    background-color: #111; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('../img/poster-desktop.webp')!important; 
}

@media (max-width: 1024px) {
    .hero-video {
        background-image: url('../img/poster-tablet.webp')!important; 
    }
}

@media (max-width: 480px) {
    .hero-video {
        background-image: url('../img/poster-mobile.webp')!important; 
    }
}

/* =========================================
   CAPA DE NIEBLA CON DESENFOQUE PROGRESIVO
   ========================================= */
.hero-overlay-dark {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    
    background: linear-gradient(
        to bottom,
        rgba(251, 251, 249, 0.90) 0%,   
        rgba(251, 251, 249, 0.40) 15%,  
        rgba(251, 251, 249, 0) 45%      
    );

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    -webkit-mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 15%,        
        transparent 45%,   
        transparent 100%
    );

    mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 15%,
        transparent 45%,
        transparent 100%
    );

    z-index: 2; pointer-events: none;
}
.scroll-indicator { position: absolute; bottom: 2.5rem; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; color: #ffffff !important; text-decoration: none !important; opacity: 0.7; transition: var(--transition-premium); }
.scroll-indicator:hover { opacity: 1; color: var(--accent-color) !important; }
.scroll-text { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 4px; font-weight: 600; }
.scroll-arrow { font-size: 1.2rem; animation: bounce 2s infinite ease-in-out; }

@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }

/* Intro (Agencia) */
.intro-section { padding: 10rem 4rem 6rem 4rem; background-color: var(--bg-primary); display: flex; justify-content: center; text-align: center; }
.intro-content { max-width: 900px; margin: 0 auto; text-align: center; }
.hero-subtitle { 
    font-size: 0.75rem !important; 
    font-weight: 600; 
    letter-spacing: 5px !important; 
    text-transform: uppercase; 
    color: var(--accent-color-text) !important; 
    margin-bottom: 2.5rem; 
    display: block; 
}
.intro-content h1 { font-family: var(--font-heading); font-size: 5rem; font-weight: 400; line-height: 1.1; color: var(--text-primary); margin-bottom: 2.5rem; }
.hero-description { 
    font-family: var(--font-body); 
    font-size: 1.45rem; 
    font-weight: 300; 
    color: #717171; 
    line-height: 2.1; 
    letter-spacing: 0.6px; 
    max-width: 850px; 
    margin: 0 auto; 
    text-align: center;
}
.editorial-title { 
    font-family: var(--font-heading); 
    font-size: 5.5rem; 
    font-weight: 400; 
    line-height: 1.05; 
    color: var(--text-primary); 
    margin-bottom: 3rem; 
    letter-spacing: -1px; 
}
.highlight-text {
    font-style: italic; 
    color: var(--text-secondary); 
}

/* Talentos */
.talents-section { padding: 6rem 4rem 8rem 4rem; max-width: 1600px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h3 { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 400; margin-bottom: 1rem; }
.section-header p { color: var(--text-secondary); letter-spacing: 1px; font-size: 1.1rem;}

.talents-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr)); gap: 2.5rem; }
.talent-card { position: relative; aspect-ratio: 3/4; border-radius: 4px; overflow: hidden; background: #e0e0e0; transition: var(--transition-premium); }
.empty-card { 
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.03) 0%, rgba(0, 0, 0, 0.02) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15); 
    display: flex; align-items: center; justify-content: center; text-align: center; 
    position: relative; overflow: hidden;
}
.empty-card::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    animation: digitalShine 4s infinite cubic-bezier(0.23, 1, 0.32, 1);
}
.empty-card:hover { 
    border-color: var(--accent-color); 
    transform: translateY(-5px); 
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.08);
}
.empty-content span { 
    font-family: var(--font-body); font-size: 1.5rem; font-weight: 300; display: block; margin-bottom: 0.5rem; color: var(--text-secondary); 
}
.empty-card:hover .empty-content span { color: var(--accent-color); }
.empty-content p { 
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; font-weight: 500; color: var(--text-secondary);
}

@keyframes digitalShine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Estudio */
.studio-section { padding: 8rem 4rem; background-color: var(--text-primary); color: var(--bg-primary); }
.studio-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.studio-text h2 { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 400; margin-bottom: 2rem; color: #fff; line-height: 1.1;}
.studio-text p { color: #a0a0a0; font-size: 1.1rem; line-height: 1.8; margin-bottom: 2rem; }
.studio-features { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.studio-features li { display: flex; align-items: center; gap: 1rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-color); }
.wireframe-placeholder { width: 100%; aspect-ratio: 4/5; border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; background: linear-gradient(45deg, rgba(255,255,255,0.02) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.02) 75%, transparent 75%, transparent); background-size: 20px 20px; }

/* Contacto y Formulario */
.contact-section { padding: 8rem 4rem; background-color: #f6f6f4; position: relative; z-index: 10; }
.contact-container { max-width: 650px; margin: 0 auto; padding: 4rem; border-radius: 8px;}
.glass-effect { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.5); box-shadow: 0 20px 40px rgba(0,0,0,0.03); }

.contact-form { display: flex; flex-direction: column; gap: 1.8rem; }
.input-wrapper { position: relative; width: 100%; }
.form-input { width: 100%; padding: 1.2rem; padding-right: 2.5rem !important; border: 1px solid var(--border-color); background: rgba(255,255,255,0.5); font-family: var(--font-body); color: var(--text-primary); font-size: 0.9rem; transition: all 0.3s ease; border-radius: 4px; box-sizing: border-box; }
.form-input::placeholder { color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; font-size: 0.75rem; font-weight: 500; }
.form-input:focus { outline: none; border-color: var(--accent-color); background: #ffffff; box-shadow: 0 5px 15px rgba(212,175,55,0.05); transform: translateY(-2px); }

.validation-icon { position: absolute; right: 1rem; top: 1.2rem; opacity: 0; transition: all 0.3s ease; transform: scale(0.5); }
textarea ~ .validation-icon { top: 1.5rem; }
.form-input.is-valid { border-color: #4CAF50 !important; }
.form-input.is-valid ~ .validation-icon { opacity: 1; transform: scale(1); color: #4CAF50; }
.form-input.is-invalid { border-color: #f44336 !important; animation: shake 0.4s; }

@keyframes shake { 0%, 100% {transform: translateX(0);} 25% {transform: translateX(-5px);} 75% {transform: translateX(5px);} }

.form-checkbox { display: flex; align-items: flex-start; gap: 0.8rem; font-size: 0.75rem; color: var(--text-secondary); margin-top: -0.5rem; }
.form-checkbox input[type="checkbox"] { margin-top: 0.2rem; cursor: pointer; accent-color: var(--text-primary); }

/* Textos Legales y Modales */
.legal-link-text { background: none; border: none; border-bottom: 1px solid var(--text-secondary); color: var(--text-primary); font-size: inherit; padding: 0; transition: all 0.3s; }
.legal-link-text:hover { color: var(--accent-color); border-color: var(--accent-color); }

.modal-legal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100dvh; background: rgba(15, 15, 15, 0.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 30000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1); }
.modal-legal-overlay.active { opacity: 1; visibility: visible; }
.modal-legal-content { background: var(--bg-primary); width: 90%; max-width: 700px; max-height: 85vh; padding: 4rem; border-radius: 8px; position: relative; transform: translateY(30px) scale(0.98); transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1); overflow-y: auto; }
.modal-legal-overlay.active .modal-legal-content { transform: translateY(0) scale(1); }
.close-modal { position: absolute; top: 1.5rem; right: 2rem; background: none; border: none; font-size: 1.5rem; color: var(--text-primary); transition: color 0.3s; }
.close-modal:hover { color: var(--accent-color); transform: rotate(90deg); }
.modal-legal-content h2 { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 400; margin-bottom: 2rem; color: var(--text-primary); }
.modal-text { font-size: 0.9rem; line-height: 1.8; color: var(--text-secondary); text-align: left; }
.modal-text h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 500; color: var(--text-primary); margin: 1.5rem 0 0.5rem 0; }
.modal-text p { margin-bottom: 1rem; }
.modal-text ul { margin-bottom: 1rem; padding-left: 1.5rem; }

/* Footer */
footer { padding: 4rem; border-top: 1px solid var(--border-color); font-size: 0.8rem; color: var(--text-secondary); font-weight: 500; position: relative; z-index: 1;}
.footer-content { display: flex; justify-content: space-between; align-items: center; max-width: 1600px; margin: 0 auto; gap: 2rem;}
.footer-left { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-legal { display: flex; gap: 1rem; flex-wrap: wrap; }
.legal-link { background: none; border: none; font-family: var(--font-body); font-size: 0.75rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s ease; padding: 0; }
.legal-link:hover { color: var(--accent-color); }
.footer-socials { display: flex; gap: 2rem; align-items: center; }
.footer-socials a { color: var(--text-primary) !important; text-decoration: none !important; transition: 0.3s; font-size: 1.2rem;}
.footer-socials a:hover { color: var(--accent-color) !important; transform: translateY(-3px); display: inline-block;}

.alert { padding: 1rem; margin-bottom: 2rem; border-radius: 4px; font-size: 0.85rem; text-align: center; font-weight: 600; }
.alert.success { background-color: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.alert.error { background-color: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }
.email-copy-container { position: relative; display: inline-flex; align-items: center; margin-left: 0.5rem; }
.copy-btn { background: none; border: none; color: var(--text-primary); font-size: 1.2rem; padding: 0; display: flex; }
.copy-btn:hover { color: var(--accent-color); }
.copy-tooltip { position: absolute; bottom: 150%; left: 50%; transform: translateX(-50%); background: var(--text-primary); color: var(--bg-primary); padding: 0.5rem 1rem; border-radius: 4px; font-size: 0.7rem; font-weight: 600; white-space: nowrap; opacity: 0; visibility: hidden; transition: all 0.3s ease; pointer-events: none; }
.copy-tooltip.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(-5px); }

.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 45px; height: 45px; background-color: var(--text-primary); color: var(--bg-primary); border: none; border-radius: 50%; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: var(--transition-premium); z-index: 999; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background-color: var(--accent-color); transform: translateY(-5px) scale(1.1); }

/* Responsive */
@media (max-width: 1024px) {
    header { padding: 1.2rem 2rem; justify-content: space-between; background-color: transparent; border-bottom: none;}
    header.scrolled { padding: 1rem 2rem; }
    .nav-desktop { display: none; } 
    .menu-toggle { display: flex; } 
    .scroll-indicator { bottom: 5rem; } 
    .editorial-title { font-size: 4rem; }
    .intro-section { padding: 6rem 2rem 4rem 2rem; }
    .intro-content h1 { font-size: 3.5rem; }
    .hero-description { font-size: 1.1rem; }

    .talents-section { padding: 5rem 2rem 6rem 2rem; }
    .section-header h3 { font-size: 2.8rem; margin-bottom: 0.5rem;}
    
    .studio-container { grid-template-columns: 1fr; gap: 2rem;}
    .studio-section { padding: 5rem 2rem; }
    .studio-text h2 { font-size: 2.8rem; margin-bottom: 1.5rem;}

    .contact-section { padding: 5rem 2rem; }
    .contact-container { padding: 2.5rem; }
    
    footer { padding: 3rem 2rem; }
    .footer-content { flex-direction: column-reverse; text-align: center; gap: 2rem; }
    .footer-legal { justify-content: center; }
}

@media (max-width: 768px) {
    .modal-legal-content { padding: 2.5rem 1.5rem; }
    .modal-legal-content h2 { font-size: 2rem; }
    .close-modal { top: 1rem; right: 1rem; }
    .hero-description { 
        font-size: 1.15rem; 
        line-height: 1.8; 
        letter-spacing: 0.3px;
    }
}

@media (max-width: 480px) {
    .intro-content h1 { font-size: 2.8rem; }
    .talents-grid { grid-template-columns: 1fr; }
    .contact-container { padding: 1.5rem; }
    .editorial-title { font-size: 3rem; }
    .hero-description { font-size: 1.1rem; }
    .form-input { padding: 1rem; padding-right: 2.5rem !important; }
}
/* =========================================
   ACCESIBILIDAD (Navegación por Teclado a11y)
   ========================================= */
*:focus-visible {
    outline: 2px solid var(--accent-color) !important;
    outline-offset: 4px;
    border-radius: 2px;
}
/* =========================================
   ADAPTACIÓN DEL CURSOR A FONDOS OSCUROS
   ========================================= */

body.on-dark-section .cursor-dot {
    background-color: var(--accent-color); 
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3); 
}

body.on-dark-section .cursor-outline {
    border-color: var(--accent-color); 
}

body.on-dark-section .cursor-outline.cursor-hover {
    background-color: rgba(212, 175, 55, 0.25); 
    border-color: var(--accent-color);
}

/* =========================================
   SLIDER ANTES/DESPUÉS (Laboratorio - Versión Minimalista Monocromo)
   ========================================= */
.image-compare-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5; 
    background-color: #111;
    overflow: hidden;
    cursor: ew-resize; 
    user-select: none;
    --pos: 50%; 
    
    border: 1px solid rgba(255, 255, 255, 0.2); 
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: border-color 0.3s ease; 
}

.image-compare-container:hover {
    border-color: rgba(255, 255, 255, 0.6); 
}

.compare-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.after-img { z-index: 1; }

.before-img {
    z-index: 2;
    clip-path: polygon(0 0, var(--pos) 0, var(--pos) 100%, 0 100%);
}

.compare-label {
    position: absolute;
    top: 2rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 600;
    color: #fff; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 4;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.label-before { left: 1rem; } 
.label-after { right: 1rem; }

.compare-handle {
    position: absolute;
    top: 0; bottom: 0;
    left: var(--pos);
    width: 2px;
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.handle-line {
    flex-grow: 1;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.handle-pull {
    width: 48px; height: 48px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4); 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); 
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff; 
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s, border-color 0.3s;
}

.handle-pull svg {
    width: 20px; height: 20px;
}

.handle-pull::after {
    content: ''; position: absolute; inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    animation: handle-pulse-white 3s infinite;
}

@keyframes handle-pulse-white {
    0% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.4; }
}

@media (max-width: 1024px) {
    .image-compare-container { aspect-ratio: 1/1; }
    .compare-label { top: 1rem; font-size: 0.55rem; padding: 4px 10px; }
    .label-before { left: 0.5rem; }
    .label-after { right: 0.5rem; }
    .handle-pull { width: 40px; height: 40px; }
    .handle-pull svg { width: 16px; height: 16px; }
}

/* =========================================
   TEXTOS DESCRIPTIVOS UNIFICADOS (Talento y Estudio)
   ========================================= */
.section-header p:not(.hero-subtitle),
.studio-text p:not(.hero-subtitle) {
    font-family: var(--font-body);
    font-size: 1.3rem; 
    font-weight: 300; 
    color: #717171; 
    line-height: 2.1; 
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
}

.studio-features {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.studio-features li {
    font-family: var(--font-body);
    font-size: 1.15rem; 
    font-weight: 300; 
    color: #717171;
    line-height: 1.8;
    letter-spacing: 0.5px;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px; 
}

.studio-features li i {
    color: var(--accent-color);
    font-size: 1.1rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .section-header p:not(.hero-subtitle),
    .studio-text p:not(.hero-subtitle) {
        font-size: 1.1rem;
        line-height: 1.8;
    }
    
    .studio-features li {
        font-size: 1.05rem;
        margin-bottom: 1rem;
    }
}
.highlight-legal {
    color: var(--accent-color-text);
    font-weight: 600;
}
/* =========================================
   TÍTULOS DE SECCIÓN (H2 y H3)
   ========================================= */
.section-header h3,
.studio-text h2,
.talents-text h2,
.contact-section h2 {
    font-family: var(--font-heading); /* Usa Playfair Display (o la fuente Serif elegante) */
    font-size: 3.5rem; /* Tamaño grande y editorial */
    font-weight: 400; /* Grosor normal, sin negritas toscas */
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px; /* Un pelín de tracking negativo para darles empaque */
}
.talents-section h2 {
    font-family: var(--font-heading); /* Usa Playfair Display (o la fuente Serif elegante) */
    font-size: 3.5rem; /* Tamaño grande y editorial */
    font-weight: 400; /* Grosor normal, sin negritas toscas */
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px; /* Un pelín de tracking negativo para darles empaque */
}

/* Ajuste específico para el título sobre fondo oscuro (Estudio y Contacto si es oscuro) */
.studio-text h2 {
    color: #FFFFFF;
}

/* Ajustes Responsive para que no se rompan en móvil */
@media (max-width: 1024px) {
    .section-header h3,
    .studio-text h2,
    .contact-section h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .section-header h3,
    .studio-text h2,
    .contact-section h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
}