/* ==========================
    FUENTES Y RESET GENERAL
    ========================== */

/* Importar fuente local específica */
@font-face {
    font-family: 'HDColton-WideBlack';
    src: url('../fonts/HDColton-WideBlack.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

/* NOTA: Montserrat y Roboto ahora se cargan vía <link> en HTML desde Google Fonts. */

/* Reset general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    overflow-x: hidden;
    font-family: 'Roboto', sans-serif;
    background-color: black;
    color: white;
}

/* ==========================
    HEADER Y NAVEGACIÓN (OPTIMIZADO)
    ========================== */

#main-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: top 0.3s ease-in-out;
    height: 72px; /* Altura base mobile */
    max-height: 72px; 
    overflow: hidden; 
}

.nav-container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    position: relative; 
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px; 
}

/* Logo */
.logo {
    order: 2;
    position: absolute;
    left: 50%;
    top: 50%; 
    transform: translate(-50%, -50%); 
}
.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: black;
}

/* Botón Hamburguesa (2 Líneas - Izquierda) */
#menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1010; 
    order: 1; 
    background: transparent;
    border: none;
    padding: 0;
    position: relative; 
    transition: left 0.4s ease-in-out;
}
#menu-toggle span {
    display: block;
    width: 100%;
    height: 4px;
    background: black;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform-origin: center;
    border-radius: 2px;
}

/* Animación a 'X' */
#main-nav.active ~ #menu-toggle span:nth-child(1) { 
    transform: translateY(9px) rotate(45deg);
}
#main-nav.active ~ #menu-toggle span:nth-child(2) {
    transform: translateY(-9px) rotate(-45deg);
}


/* Menú Principal */
#main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1005;
    overflow-y: auto;
    padding: 80px 20px 20px 20px;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
#main-nav.active { display: flex; }
#main-nav ul { list-style: none; padding: 0; width: 100%; }
#main-nav ul li { margin: 10px 0; }
#main-nav ul li a {
    font-family: 'HDColton-WideBlack', sans-serif;
    font-size: clamp(2.5rem, 8vw, 60px);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: black;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    display: block;
    padding: 10px 0;
}
#main-nav ul li a:hover { color: #007bff; }

/* Switcher de Idioma */
.language-switcher {
    display: flex;
    gap: 10px; 
    align-items: center;
}

/* Clase .lang-button (Corregida) */
.lang-button {
    background: transparent;
    border: none;
    color: black; 
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    padding: 5px 10px;
    cursor: pointer;
    font-weight: 700;
    opacity: 0.7; 
    transition: opacity 0.3s ease; 
}
.lang-button:hover { 
    text-decoration: none; 
    opacity: 1; 
}
.lang-button.active-lang {
    opacity: 1;
    font-weight: bold; 
}

/* Grupo de Controles Derecha */
.nav-controls {
    display: flex; 
    align-items: center; 
    gap: 15px; 
    order: 3; 
}

/* Botón/Enlace Client Portal */
.client-portal-button {
    color: #404040; 
    text-decoration: none;
    font-family: 'Montserrat', sans-serif; 
    font-size: 0.9em; 
    font-weight: 700; 
    padding: 5px 8px; 
    border: 1px solid #888888; 
    border-radius: 4px; 
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap; 
}
.client-portal-button:hover {
    background-color: #f0f0f0; 
    color: #000;
    text-decoration: none; 
}


/* --- Media Query Desktop Menu (Panel Izquierdo 30%) --- */
@media (min-width: 1024px) {
    #main-header { 
        height: 80px; 
        max-height: 80px;
    } 
    .nav-container { padding: 0 40px; }
    .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }

    #menu-toggle {
        position: absolute; 
        left: 40px; 
        top: 50%; 
        transform: translateY(-50%); 
        order: 1; 
    }

    /* Posiciona el grupo .nav-controls */
    .nav-controls { 
        position: absolute; 
        right: 40px; 
        top: 50%; 
        transform: translateY(-50%); 
        order: 3; 
        gap: 20px; 
    }

    /* Estilos específicos de botones en desktop */
    .lang-button { font-size: 1.1rem; }
    .client-portal-button { font-size: 1.0rem; }


    #main-nav {
        width: 30vw;
        height: 100vh;
        left: 0;
        right: auto;
        top: 0;
        background: white;
        box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
        padding: 40px; 
        text-align: left;
        align-items: flex-start;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.4s ease-in-out;
        display: flex; 
    }
    #main-nav.active { transform: translateX(0); }
    #main-nav ul { align-items: flex-start; padding: 0; }
    #main-nav ul li { margin: 15px 0; }
    #main-nav ul li a { font-size: clamp(1.5rem, 2.2vw, 2rem); text-align: left; padding: 5px 0; }
    #main-nav ul li a:hover { color: #ff0000; }

    /* Mover el botón Toggle/X cuando el menú está activo */
    #main-nav.active ~ .nav-container #menu-toggle { 
        left: 80px; 
    }

    #main-header.hidden { top: -100px; } 
}


/* ==========================
    VIDEO HEADER
    ========================== */

/* === JS MANEJA MARGEN === */
/* Quitar margen/padding a la sección exterior */
#video-container {
    margin-top: 0; 
    padding-top: 0; 
}

/* Aplicar SÓLO altura al DIV INTERNO .video-container */
.video-container {
    position: relative;
    width: 100%;
    /* Altura base (como en el backup, ajustada para altura móvil) */
    height: calc(100vh - 72px); /* Altura base móvil */
    overflow: hidden;
    margin-top: 0; /* <<-- ELIMINADO MARGIN TOP (JS lo añadirá) */
}

/* === JS MANEJA MARGEN === */
/* Ajustar SÓLO altura para desktop */
@media (min-width: 1024px) {
     #video-container {
         margin-top: 0; 
    }
    .video-container {
         height: calc(100vh - 80px); /* Altura desktop */
         /* SIN margin-top aquí */
    }
}

#video-bg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* --- Media Query Altura Video Móvil (768px) --- */
/* Restauramos la altura fija deseada para móvil */
@media (max-width: 768px) {
    .video-container {
        height: 500px; /* <<-- RESTAURADA ALTURA MÓVIL DESEADA */
         /* SIN margin-top aquí */
    }
}

/* ==========================
    IMAGEN BRANDS
    ========================== */
/* ... (Resto del CSS sin cambios) ... */
.image-container { width: 100%; display: flex; justify-content: center; align-items: center; line-height: 0;}
.brands-image { width: 100%; height: auto; object-fit: cover; display: block;}
@media (max-width: 768px) { .brands-image { content: url("../images/brands_mob.jpg"); } }

/* ==========================
    ESTILOS UNIFICADOS PARA CUERPOS DE TEXTO
    ========================== */
/* ... (Resto del CSS sin cambios) ... */
.text-body, .highlight-body, .edit-description, .ia-description, .bio-text p, .bio-description p, .film-description, .film-synopsis, .advertising-description { font-family: 'Roboto', sans-serif; font-weight: 100; font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.6; text-align: center; max-width: 95%; margin: 20px auto 40px auto; word-spacing: 0.08em; padding: 2px; white-space: normal; overflow-wrap: break-word; hyphens: none; word-break: normal; color: inherit; }
.text-body { color: black; max-width: 100%; margin-bottom: 1px; } .highlight-body { color: #ffffff; max-width: 100%; margin-bottom: 1px; } @media (max-width: 768px) { .highlight-body { font-size: clamp(1.1rem, 1.2vw, 1.4rem); max-width: 95%; padding: 10px 3%; } } .edit-description { color: black; } .ia-description { width: 100%; margin-bottom: 40px; } .bio-text p { color: #ffffff; max-width: 100%; margin-bottom: 40px; } .bio-description p { color: #ffffff; max-width: 100%; margin-bottom: 1px; } .film-description { width: 100%; margin: 20px auto 60px auto; max-width: 95%; font-weight: 100;} .film-synopsis { text-align: center; margin: 15px auto 40px auto; max-width: 90%; white-space: pre-line; font-weight: 100; } .advertising-description { color: black; max-width: 100%; margin-bottom: 1px; }

/* ==========================
    CONTENEDOR TEXTO PRINCIPAL (Solo título)
    ========================== */
/* ... (Resto del CSS sin cambios) ... */
.text-container { width: 100%; background-color: white; color: black; padding: 2%; padding-top: 30px; padding-bottom: 40px; text-align: center; margin-bottom: 5px; }
.text-title { font-size: clamp(2rem, 2.8vw, 2.8rem)!important; font-weight: 900; font-family: 'Montserrat', sans-serif; color: black; text-align: center; margin: 0 auto 20px auto; word-spacing: 0.08em; padding: 1px 1%; overflow-wrap: break-word; white-space: normal; hyphens: none; word-break: normal; }

/* ==========================
    HIGHLIGHTED MOTION GRAPHICS (Solo título)
    ========================== */
/* ... (Resto del CSS sin cambios) ... */
#highlighted-motion-graphics { color: #ffffff; text-align: center; margin: 0 auto 5px auto; word-spacing: 0.08em; padding: 80px 1% 40px; overflow-wrap: break-word; white-space: normal; hyphens: none; word-break: normal; }
.highlight-title { font-size: clamp(3rem, 6vw, 8rem); font-family: 'HDColton-WideBlack', sans-serif; line-height: 1.2; text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 95vw; margin: 0 auto 30px auto; text-align: center; }
@media (max-width: 1024px) { .highlight-title { font-size: clamp(2.5rem, 4vw, 5rem); } }

/* ==========================
    INFO VIDEO OVERLAY (Base)
    ========================== */
/* ... (Resto del CSS sin cambios) ... */
#video-info { position: relative; z-index: 10; width: 100%; background-color: #171717; color: white; padding: 20px; display: flex; justify-content: space-between; align-items: flex-start; font-family: 'Roboto', sans-serif; border-top: 1px solid rgba(255, 255, 255, 0.2); max-width: 1000px; margin: 10px auto 0 auto; pointer-events: auto; flex-wrap: wrap; }
.video-details, .video-credits { flex: 1; padding: 5px 15px; font-size: clamp(0.9rem, 1.2vw, 1rem); }
.video-credits { text-align: right; }
#video-info h3 { font-size: 1.6rem; margin-bottom: 8px; font-weight: 700; font-family: 'Montserrat', sans-serif; }
#video-info p { font-size: 1rem; margin-bottom: 5px; line-height: 1.4; font-weight: 400; }
.video-credits p { font-size: clamp(0.7rem, 0.9vw, 0.9rem); line-height: 1.4; color: white; font-weight: 400; }
.video-details p { font-size: 1rem; line-height: 1.5; margin-bottom: 4px; font-weight: 400; }
#video-info a { color: #0099ff; text-decoration: none; font-weight: 700; font-family: 'Montserrat', sans-serif;}
#video-info a:hover { text-decoration: underline; }
@media (max-width: 768px) {
    #video-info { flex-direction: column; padding: 15px; align-items: center; text-align: center; }
    .video-details, .video-credits { text-align: center !important; padding: 5px 10px; width: 100%; flex-basis: auto; }
    #video-info h3 { font-size: 1.3rem; }
    #video-info p { font-size: 0.95rem; line-height: 1.4; }
    .video-credits p { font-size: 0.85rem !important; text-align: center !important; line-height: 1.3; }
}

/* ==========================
    WORK GALLERY
    ========================== */
/* ... (Resto del CSS sin cambios) ... */
#work-gallery { width: 100vw; overflow-x: hidden; background: #000; padding: 40px 0; }
.gallery-container { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; width: 100%; max-width: 100%; margin: 0 auto; padding: 0; }
.work-item { width: 100%; aspect-ratio: 1000 / 700; overflow: hidden; cursor: pointer; } 
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; display: block; }
.work-item img:hover { transform: scale(1.05); }
@media (max-width: 768px) {
    #work-gallery { padding: 20px 0; }
    .gallery-container { display: flex; flex-direction: column; align-items: center; }
    .work-item { width: 100%; max-width: 100vw; }
}

/* ==========================
    VIDEO OVERLAY (#video-overlay) - Ajuste Botón Cerrar
    ========================== */
/* ... (Resto del CSS sin cambios) ... */
#video-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.95); display: none; justify-content: center; align-items: center; z-index: 1000; flex-direction: column; padding: 20px; box-sizing: border-box; }
#video-content { position: relative; width: 90%; max-width: 1000px; display: flex; justify-content: center; align-items: center; flex-direction: column; }
#video-wrapper { position: relative; width: 100%; padding-top: 56.25%; background: #111; }
#video-frame { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
#close-video { position: absolute; top: -35px; right: 0; background: none; border: none; font-size: 30px; line-height: 1; color: white; cursor: pointer; z-index: 1100; padding: 5px; }


/* ==========================
    EDIT SECTION (Solo título)
    ========================== */
/* ... (Resto del CSS sin cambios) ... */
#edit-section { width: 100%; background: white; padding: 20px 0 40px 0; text-align: center; margin-bottom: 5px; }
.edit-header { width: 100%; margin: 0 auto; padding: 40px 20px; text-align: center; }
.edit-title { font-size: clamp(3rem, 6vw, 8rem); font-family: 'HDColton-WideBlack', sans-serif; text-transform: capitalize; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 95vw; margin: 0 auto 30px auto; color: #000000; }
.edit-container { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; width: 100%; padding: 20px 0; gap: 20px; }
.edit-item { display: flex; align-items: flex-end; width: 100%; margin-bottom: 40px; padding: 0 20px; box-sizing: border-box; }
.edit-video { width: 60%; aspect-ratio: 16/9; border: none; background: white; }
.edit-text { width: 40%; color: black; text-align: left; display: flex; flex-direction: column; justify-content: flex-end; align-self: flex-end; padding-left: 20px; margin-bottom: 0; }
.edit-text h3 { font-size: clamp(1.6rem, 2vw, 2.2rem); font-family: 'Montserrat', sans-serif; font-weight: 700; color: black; margin: 0 0 10px 0; text-align: left; }
.edit-text p { font-size: clamp(1.1rem, 1.2vw, 1.4rem); font-family: 'Roboto', sans-serif; line-height: 1.6; font-weight: 100; color: black; text-align: left; margin: 0; word-spacing: 0.08em; white-space: normal; overflow-wrap: break-word; hyphens: none; word-break: normal; }
.edit-text a { color: #007bff; text-decoration: none; font-weight: 600; }
.edit-text a:hover { color: #0056b3; text-decoration: underline; }
@media (min-width: 1025px) { .edit-text { position: relative; top: 2px; } }
@media (max-width: 1024px) {
    .edit-item { flex-direction: column; align-items: center; text-align: center; padding: 0 5%; }
    .edit-video { width: 100%; max-width: 100%; margin-bottom: 20px; }
    .edit-text { width: 100%; padding: 0; text-align: center; align-items: center; justify-content: flex-start; }
    .edit-text h3, .edit-text p { text-align: center; }
}

/* ==========================
    IA SECTION (Solo título y subtítulo)
    ========================== */
/* ... (Resto del CSS sin cambios) ... */
#ia-section { width: 100vw; background: black; color: white; padding: 20px 0; text-align: center; overflow-x: hidden; }
.ia-container { max-width: 2600px; margin: 0 auto; padding: 0 5%; }
.ia-title { font-size: clamp(3rem, 6vw, 8rem); font-family: 'HDColton-WideBlack', sans-serif; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 95vw; margin: 0 auto 10px auto; }
.ia-subtitle { font-size: clamp(1.6rem, 3vw, 4rem); font-family: 'Montserrat', sans-serif; font-weight: 700; margin: 0 auto 20px auto; max-width: 95%; }
.ia-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; width: 100vw; max-width: 100%; padding: 0; margin-top: 40px; }
.ia-item { cursor: pointer; }
.ia-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform 0.3s ease; display: block; }
.ia-gallery img:hover { transform: scale(1.02); }
@media (max-width: 1024px) { .ia-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .ia-gallery { grid-template-columns: repeat(1, 1fr); } }

/* ==========================
    IA OVERLAY (#ia-overlay) - Ajuste Botón Cerrar
    ========================== */
/* ... (Resto del CSS sin cambios) ... */
#ia-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.95); display: none; justify-content: center; align-items: center; z-index: 1000; flex-direction: column; padding: 20px; box-sizing: border-box; }
#ia-content { position: relative; width: 90%; max-width: 900px; display: flex; flex-direction: column; align-items: center; }
#ia-video-wrapper { position: relative; width: 100%; padding-top: 56.25%; background: #111; }
#ia-video-frame { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
#close-ia { position: absolute; top: -35px; right: 0; background: none; border: none; font-size: 30px; color: white; cursor: pointer; z-index: 1100; padding: 5px; line-height: 1; }
#ia-info { text-align: center; margin-top: 20px; color: white; font-family: 'Roboto', sans-serif; }
#ia-info h3 { font-size: 1.8rem; font-weight: 700; font-family: 'Montserrat', sans-serif; }
#ia-info p { font-size: 1.2rem; }
#ia-info a { color: #0099ff; text-decoration: none; font-weight: 700; font-family: 'Montserrat', sans-serif; }
#ia-info a:hover { text-decoration: underline; }

/* ==========================
    BIO SECTION (Solo títulos)
    ========================== */
/* ... (Resto del CSS sin cambios) ... */
#bio-section { width: 100%; background: black; color: white; padding: 60px 0; }
.bio-container { max-width: 2160px; margin: 0 auto; padding: 20px; text-align: center; }
.bio-text h2 { font-size: clamp(3rem, 6vw, 8rem); font-family: 'HDColton-WideBlack', sans-serif; text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 95vw; margin: 0 auto 10px auto; }
.bio-text h3 { font-size: clamp(1.6rem, 2vw, 2rem); font-family: 'Montserrat', sans-serif; font-weight: 700; margin: 0 auto 10px auto; max-width: 95%; }
.bio-content { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding: 0 10%; margin-top: 60px; }
.bio-image { flex: 1; max-width: 45%; }
.bio-image img { width: 100%; height: auto; object-fit: cover; display: block; }
.bio-info { flex: 1; max-width: 50%; display: flex; flex-direction: column; text-align: center; }
.bio-award { width: 100%; display: flex; justify-content: center; align-items: center; margin-bottom: 20px; }
.bio-award img { width: 100%; height: auto; object-fit: cover; display: block; }
.bio-description { text-align: center; }
@media (max-width: 1024px) {
    .bio-content { flex-direction: column; align-items: center; text-align: center; padding: 0 5%; }
    .bio-image, .bio-info { max-width: 100%; }
    .bio-info { display: flex; flex-direction: column; align-items: center; }
    .bio-award img { margin-bottom: 15px; }
}

/* ==========================
    FILM & PRODUCTION (Espaciado y sinopsis corregidos)
    ========================== */
/* ... (Resto del CSS sin cambios) ... */
#film-production { background: #212121; color: white; padding: 60px 20px; text-align: center; }
.film-container { max-width: 2160px; margin: 0 auto; }
.film-title { font-size: clamp(2.4rem, 6vw, 8rem) !important; font-weight: 900; font-family: 'Montserrat', sans-serif; color: #ffffff; text-align: center; margin: 0 auto 30px auto; word-spacing: 0.08em; padding: 1px 1%; overflow-wrap: break-word; white-space: normal; hyphens: none; word-break: normal; max-width: 95%; line-height: 1.1; }
.film-description { margin: 20px auto 60px auto; max-width: 95%; font-weight: 100;}
.film-gallery { display: flex; flex-direction: column; gap: 40px; }
.film-item { display: flex; flex-direction: column; align-items: center; width: 100%; }
.film-video { width: 100%; max-width: 2000px; aspect-ratio: 16/9; border: none; }
.film-title-video { font-size: clamp(1.8rem, 2.2vw, 2.5rem); font-family: 'Montserrat', sans-serif; font-weight: 700; text-align: center; margin: 30px auto 15px auto; max-width: 95%; }
.film-synopsis { text-align: center; margin: 15px auto 40px auto; max-width: 90%; white-space: pre-line; font-weight: 100; }
.film-credits { text-align: center; font-family: 'Roboto', sans-serif; font-size: clamp(0.6rem, 0.8vw, 0.9rem); line-height: 1.4; margin-top: 10px; font-weight: 400; color: #aaa;}
.film-extras { display: inline-block; margin-top: 10px; font-size: clamp(1rem, 1.2vw, 1.4rem); font-family: 'HDColton-WideBlack', sans-serif !important; color: #ffffff; text-decoration: none; background: none; border: none; cursor: pointer; }
.film-extras:hover { color: #d7ead3; }

/* ==========================
    ADVERTISING SECTION (Galería móvil corregida)
    ========================== */
/* ... (Resto del CSS sin cambios) ... */
#advertising-section { width: 100%; background: white; color: black; padding: 60px 0; text-align: center; }
.advertising-container { max-width: 1200px; margin: 0 auto; padding: 20px; }
.advertising-title { font-size: clamp(3rem, 6vw, 8rem); font-family: 'HDColton-WideBlack', sans-serif; text-transform: capitalize; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 95vw; margin: 0 auto 10px auto; }
.advertising-subtitle { font-size: clamp(1.8rem, 2.5vw, 2.5rem); font-family: 'Montserrat', sans-serif; font-weight: 700; margin: 0 auto 20px auto; color: black; max-width: 95%;}
.advertising-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; width: 100%; max-width: 100%; margin: 40px auto 0 auto; padding: 0; }
.advertising-item { width: 100%; aspect-ratio: 1000 / 700; overflow: hidden; cursor: pointer; }
.advertising-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; display: block; }
.advertising-item:hover img { transform: scale(1.05); }


/* ==========================
     ADVERTISING OVERLAY (#advertising-overlay) - Ajuste Botón Cerrar 
    ========================== */
/* ... (Resto del CSS sin cambios) ... */
#advertising-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(255, 255, 255, 0.95); display: none; justify-content: center; align-items: center; z-index: 1000; flex-direction: column; padding: 20px; box-sizing: border-box; }
#advertising-video-content { position: relative; width: 90%; max-width: 1000px; display: flex; justify-content: center; align-items: center; flex-direction: column; }
#advertising-video-wrapper { position: relative; width: 100%; padding-top: 56.25%; background: #eee; }
#advertising-video-frame { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
#close-advertising-video { position: absolute; top: -35px; right: 0; background: none; border: none; font-size: 30px; line-height: 1; color: black; cursor: pointer; z-index: 1100; padding: 5px; }
#advertising-info { width: 100%; max-width: 1000px; padding: 20px; color: black; font-family: 'Roboto', sans-serif; text-align: center; background: transparent; display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
#advertising-info h3 { font-size: 2rem; font-weight: 700; margin-bottom: 10px; color: black; font-family: 'Montserrat', sans-serif; }
#advertising-info p { font-size: 1.2rem; margin: 5px 0; color: black; line-height: 1.4; }
#advertising-info a { color: black; text-decoration: underline; font-weight: 700; font-family: 'Montserrat', sans-serif; }
#advertising-info a:hover { text-decoration: none; }

/* ==========================
    CONTACT SECTION
    ========================== */
/* ... (Resto del CSS sin cambios) ... */
#contact-section { width: 100%; background: black; color: white; padding: 60px 0; }
.contact-container { max-width: 1200px; margin: 0 auto; padding: 20px; }
.contact-title { font-size: clamp(3rem, 6vw, 8rem); font-family: 'HDColton-WideBlack', sans-serif; text-transform: none; text-overflow: ellipsis; max-width: 90vw; margin: 0 auto 30px auto; text-align: center; line-height: 1.1; white-space: normal; }
.contact-form { display: flex; flex-direction: column; gap: 15px; max-width: 800px; margin: 0 auto; }
.contact-form label { font-size: 1rem; font-family: 'Montserrat', sans-serif; text-align: left; font-weight: 700;}
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; font-size: 1rem; border: 1px solid white; background: black; color: white; font-family: 'Roboto', sans-serif; outline: none; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.contact-button { width: 100%; padding: 15px; font-size: 1rem; border: 2px solid white; background: none; color: white; font-family: 'HDColton-WideBlack', sans-serif; text-transform: uppercase; cursor: pointer; transition: 0.3s; }
.contact-button:hover { background: white; color: black; }


/* ==========================
    FOOTER
    ========================== */
/* ... (Resto del CSS sin cambios) ... */
#main-footer { width: 100%; background-color: white; color: black; padding: 60px 0; text-align: center; }
.footer-container { max-width: 2600px; margin: 0 auto; padding: 0 20px; }
.footer-title { font-size: clamp(3rem, 5vw, 8rem); font-family: 'HDColton-WideBlack', sans-serif; text-transform: uppercase; margin-bottom: 20px; line-height: 1.1; white-space: normal; }
.footer-description {
    font-size: 0.7rem !important;
    font-family: 'Roboto', sans-serif;
    color: #999 !important;
    margin: 5px auto 0 auto;
    max-width: 70% !important;
    line-height: 1.2 !important;
    text-align: center;
    opacity: 0.6 !important;
}
@media (max-width: 768px) {
    .footer-title { font-size: 2.5rem; }
    .footer-description {
        font-size: 0.6rem !important;
        max-width: 85% !important;
        line-height: 1.1 !important;
        opacity: 0.5 !important;
    }
}

/* ==========================
     AJUSTE WRAP TÍTULOS EN MÓVIL  Y AD GALLERY
    ========================== */
/* ... (Resto del CSS sin cambios) ... */
@media (max-width: 768px) {
  .highlight-title,
  .edit-title,
  .ia-title,
  .bio-text h2,
  .advertising-title,
  .contact-title {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: break-word; 
    hyphens: auto;
  }

  /* Ajuste específico de tamaño para títulos en móvil */
    .highlight-title { font-size: clamp(2.2rem, 7vw, 4.5rem); }
    .edit-title { font-size: clamp(2.0rem, 6.5vw, 4.0rem); line-height: 1.15; }
    .ia-title { font-size: clamp(2.2rem, 7vw, 4.5rem); }
    .bio-text h2 { font-size: clamp(2.2rem, 7vw, 4.5rem); }
    .advertising-title { font-size: clamp(2.2rem, 7vw, 4.5rem); }
    .contact-title { font-size: clamp(2.5rem, 7vw, 5rem); }

  .advertising-gallery { 
      grid-template-columns: repeat(1, 1fr); 
  }

   .nav-controls { 
       margin-left: 10px; 
   }
   /* === ELIMINADO height: 500px de aquí === */
   /* .video-container {
        height: 500px; 
   } */ 
}


/* Estilos básicos para los botones de idioma */
/* ... (Resto del CSS sin cambios) ... */
.language-switcher {
      padding: 0; 
      display: flex; 
      align-items: center; 
}

.lang-button {
    background-color: transparent; 
    border: none; 
    color: #404040; 
    cursor: pointer;
    padding: 5px 8px; 
    margin: 0 3px; 
    font-family: inherit; 
    font-size: 0.9em; 
    opacity: 0.7; 
    transition: opacity 0.3s ease;
    font-weight: 700; 
}

.lang-button:hover {
    opacity: 1; 
    text-decoration: none; 
}

.lang-button.active-lang {
    opacity: 1;
    font-weight: bold; 
}

/* --- FIN DEL CÓDIGO CSS --- */