/* =========================================
   1. VARIABLES Y RESET
   ========================================= */
:root {
    --color-bg: #ffffff;
    --color-text: #000000; /* Negro puro */
    --color-gray: #888888;
    --color-line: #e5e5e5;
    
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --padding-container: 5%;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 0;
    animation: fadeInPage 0.5s ease forwards 0.5s;
}

@keyframes fadeInPage { to { opacity: 1; } }

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { width: 100%; display: block; object-fit: cover; }

h1, h2, h3 {
    font-family: var(--font-head);
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 2px;
}

/* =========================================
   2. PRELOADER (Intro Cinemática)
   ========================================= */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1.5s ease-out, visibility 1.5s; 
}

#preloader video {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute;
}

.loaded #preloader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* =========================================
   3. UI FIJA (Menú + Idioma)
   ========================================= */
.fixed-ui {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 30px var(--padding-container);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    pointer-events: none;
}

.fixed-ui > * { pointer-events: auto; }

/* Estilos por defecto (Sobre fondo oscuro/video) */
.lang-switch {
    font-family: var(--font-head);
    font-size: 12px;
    letter-spacing: 1px;
    color: white;
    mix-blend-mode: difference;
}
.lang-switch a.active { font-weight: 700; border-bottom: 1px solid currentColor; }

.menu-btn {
    cursor: pointer;
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    mix-blend-mode: difference;
    color: white;
}

.lines { width: 25px; position: relative; }
.line {
    display: block;
    width: 100%; height: 2px;
    background-color: white;
    margin: 5px 0;
    transition: var(--transition);
}

.menu-open .line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-open .line:nth-child(2) { opacity: 0; }
.menu-open .line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- CORRECCIÓN MODO OSCURO --- */
.fixed-ui.dark-mode .lang-switch {
    color: black;
    background-color: transparent;
    mix-blend-mode: normal;
}
.fixed-ui.dark-mode .line { background-color: black; }


/* =========================================
   4. SIDE MENU (Menú Lateral)
   ========================================= */
.fullscreen-menu {
    position: fixed; top: 0; right: -100%;
    width: 400px; max-width: 100%; height: 100%;
    background-color: white; z-index: 900;
    display: flex; align-items: center; justify-content: center;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}
.fullscreen-menu.active { right: 0; }

.fullscreen-menu ul { text-align: left; padding-left: 50px; width: 100%; }
.fullscreen-menu li { margin: 20px 0; overflow: hidden; }

.fullscreen-menu a {
    font-family: var(--font-head); font-size: 2rem; text-transform: uppercase;
    color: var(--color-text); transition: var(--transition);
    display: block; transform: translateX(50px); opacity: 0;
}
.fullscreen-menu.active a { transform: translateX(0); opacity: 1; transition-delay: 0.2s; }
.fullscreen-menu a:hover { color: #888; padding-left: 10px; }

.menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 899;
    opacity: 0; visibility: hidden; transition: 0.5s ease;
}
.menu-overlay.active { opacity: 1; visibility: visible; }


/* =========================================
   5. HERO SECTION
   ========================================= */
#hero {
    height: 100vh; width: 100%;
    position: relative; display: flex; justify-content: center; align-items: center;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
}
.hero-bg img { height: 100%; filter: brightness(0.8); }

.hero-logo {
    width: 300px; max-width: 80%; opacity: 0;
    transform: scale(0.95); filter: blur(5px);
    transition: opacity 2s ease 1.3s, transform 2s ease 1.3s, filter 2s ease 1.3s;
}
body.loaded .hero-logo { opacity: 1; transform: scale(1); filter: blur(0px); }

.scroll-down {
    position: absolute; bottom: 30px; color: white;
    font-size: 1.5rem; animation: bounce 2s infinite; cursor: pointer; z-index: 10;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);} 60% {transform: translateY(-5px);}
}

/* =========================================
   6. INTRO NAV
   ========================================= */
#intro-nav { padding: 100px var(--padding-container); text-align: center; }
.inline-nav {
    margin-bottom: 60px; border-bottom: 1px solid var(--color-line);
    padding-bottom: 20px; display: flex; justify-content: center; gap: 30px; flex-wrap: wrap;
}
.inline-nav a {
    font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 2px; color: var(--color-gray);
}
.inline-nav a:hover { color: var(--color-text); }
.intro-text h1 { font-size: 2rem; margin-bottom: 30px; line-height: 1.4; }
.intro-text p { max-width: 700px; margin: 0 auto; color: var(--color-gray); }


/* =========================================
   7. GRILLAS Y HEADERS
   ========================================= */
#proyectos-home, #wip, #estudio-home { padding: 50px var(--padding-container); }

.section-header {
    display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    padding: 150px 0 80px 0; border-bottom: none;
}
.section-header h2 {
    font-size: 5rem; font-weight: 400; letter-spacing: 5px;
    margin-bottom: 20px; color: #1a1a1a;
}
.ver-mas {
    font-size: 0.8rem; text-transform: uppercase; font-weight: 600; letter-spacing: 2px;
    color: #888; position: relative;
}
.ver-mas::after {
    content: ''; display: block; width: 0; height: 1px; background: #000;
    transition: width 0.3s; margin: 5px auto 0 auto;
}
.ver-mas:hover::after { width: 100%; }


/* GRILLAS */
.grid-gallery, .projects-grid-full {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.wip-grid {
    column-count: 6; column-gap: 15px; width: 100%; display: block;
}
.wip-grid img {
    width: 100%; margin-bottom: 15px; break-inside: avoid; display: block;
}

/* TARJETAS */
.project-item a, .project-card {
    position: relative; display: block; overflow: hidden; cursor: pointer;
}
.project-item img, .card-image img, .project-card img {
    width: 100%; aspect-ratio: 4/5; display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); filter: grayscale(100%);
}
.project-info, .card-info {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    background-color: rgba(0, 0, 0, 0.6); opacity: 0; transition: all 0.4s ease; z-index: 10; padding: 20px;
}
.project-info h3, .card-info h3 {
    font-size: 1.2rem; margin-bottom: 10px; color: white;
    transform: translateY(20px); transition: transform 0.4s ease;
}
.project-info span, .card-info p {
    font-size: 0.9rem; color: #e0e0e0; text-transform: uppercase; letter-spacing: 1px;
    transform: translateY(20px); transition: transform 0.4s ease 0.1s;
}
.project-item:hover img, .project-card:hover img { transform: scale(1.05); filter: grayscale(0%); }
.project-item:hover .project-info, .project-card:hover .card-info { opacity: 1; }
.project-item:hover h3, .project-card:hover h3,
.project-item:hover span, .project-card:hover p { transform: translateY(0); }

/* =========================================
   8. ANIMACIÓN SCROLL REVEAL
   ========================================= */
.reveal {
    opacity: 0; transform: translateY(120px); 
    transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1); will-change: transform, opacity;
}
.reveal.active { opacity: 1; transform: translateY(0); }


/* =========================================
   9. ESTUDIO & CONTACTO (Home & Pages)
   ========================================= */
.estudio-content {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative;
}
#estudio-home { background-color: #fafafa; }

/* Parallax */
.parallax-wrapper {
    width: 100%; height: 550px; overflow: hidden; position: relative;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.15); 
    will-change: transform; transition: transform 0.1s linear; 
}
.parallax-img {
    width: 100%; height: 150%; object-fit: cover; position: absolute;
    top: -25%; will-change: transform;
}
.estudio-desc { z-index: 2; }
.estudio-desc p { font-size: 1.1rem; line-height: 1.8; color: #444; }

/* Internas */
.internal-page { padding-top: 100px; }
.page-title { text-align: center; padding: 50px 0 100px 0; }
.page-title h1 { font-size: 4rem; letter-spacing: 10px; }

/* Contacto */
.contact-content { height: 70vh; padding: 0 var(--padding-container); margin-bottom: 50px; }
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; height: 100%; gap: 50px; }
.info-block { margin-bottom: 40px; }
.info-block h3 { font-size: 0.9rem; color: var(--color-gray); margin-bottom: 15px; }
.whatsapp-btn-large {
    display: inline-block; background: black; color: white; padding: 15px 30px;
    margin-top: 20px; font-family: var(--font-head); letter-spacing: 2px;
}

/* =========================================
   10. FOOTER
   ========================================= */
footer { background-color: #0a0a0a; color: white; padding: 80px var(--padding-container); }
.footer-container { display: flex; flex-wrap: wrap; justify-content: space-between; margin-bottom: 50px; }
.footer-logo img { width: 150px; filter: invert(1); margin-bottom: 30px; }
.footer-cols { display: flex; gap: 80px; }

.col h4 { font-size: 0.8rem; color: #666; margin-bottom: 25px; letter-spacing: 1px; }
.col p, .col a {
    font-size: 0.9rem; color: #999; margin-bottom: 12px;
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; transition: all 0.3s ease;
}
.col i { font-size: 1.1rem; width: 20px; text-align: center; }
.col a:hover { color: #ffffff; transform: translateX(5px); }

.copyright { border-top: 1px solid #333; padding-top: 30px; font-size: 0.75rem; color: #555; text-align: center; }

/* =========================================
   11. FILTROS
   ========================================= */
.page-header { padding: 0 var(--padding-container) 50px; display: flex; justify-content: space-between; align-items: center; }
.filters { display: flex; gap: 20px; }
.filter-btn {
    background: none; border: none; cursor: pointer;
    font-family: var(--font-head); font-size: 0.8rem; color: var(--color-gray);
    transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover { color: black; font-weight: bold; text-decoration: underline; }

/* =========================================
   12. BOTONES FLOTANTES
   ========================================= */
.floating-buttons {
    position: fixed; bottom: 30px; right: 30px; z-index: 990;
    display: flex; flex-direction: column; gap: 15px; align-items: center;
}
.btn-top {
    width: 40px; height: 40px; background-color: black; color: white;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    cursor: pointer; opacity: 0; visibility: hidden;
    transform: translateY(20px); transition: all 0.4s ease; font-size: 1rem;
}
.btn-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.btn-top:hover { background-color: #333; transform: translateY(-3px); }

.btn-whatsapp {
    width: 50px; height: 50px; background-color: #25d366; color: white;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 1.8rem; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease; text-decoration: none;
}
.btn-whatsapp:hover { transform: scale(1.1); box-shadow: 0 6px 15px rgba(0,0,0,0.3); }

/* =========================================
   13. ESTILOS ESTUDIO (ARKHAM STYLE)
   ========================================= */

/* Socios (Fotos Controladas) */
.team-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px;
    max-width: 900px; margin: 0 auto; /* Centrado y tamaño limitado */
}
.team-member { text-align: left; }
.team-member img {
    width: 100%; aspect-ratio: 3/4; object-fit: cover;
    margin-bottom: 25px; filter: grayscale(100%); transition: all 0.5s ease;
}
.team-member:hover img { filter: grayscale(0%); }
.team-member h3 {
    font-size: 1.2rem; margin-bottom: 5px; display: inline-block;
    border-bottom: 2px solid black; padding-bottom: 5px;
}

/* Valores (Grilla Editorial) */
.values-container {
    margin-top: 100px; border-top: 1px solid #000; border-bottom: 1px solid #000;
}
.values-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
}
.value-card {
    padding: 60px 40px; border-right: 1px solid #000; transition: all 0.4s ease;
}
.value-card:last-child { border-right: none; }
.value-number {
    font-family: var(--font-head); font-size: 3rem; font-weight: 700;
    margin-bottom: 30px; display: block; opacity: 0.2; transition: opacity 0.4s;
}
.value-card h3 { font-size: 1.1rem; margin-bottom: 15px; font-weight: 700; }
.value-card p { font-size: 0.9rem; line-height: 1.6; color: #555; transition: color 0.4s; }

/* Efecto Hover Valores */
.value-card:hover { background-color: #000; }
.value-card:hover .value-number { color: #fff; opacity: 1; }
.value-card:hover h3 { color: #fff; }
.value-card:hover p { color: #ccc; }

/* =========================================
   14. PÁGINA DETALLE PROYECTO & LIGHTBOX
   ========================================= */

/* HERO BANNER PROYECTO (Estilo Kengo Kuma) */
.project-hero {
    width: 100%;
    height: 80vh; /* Casi pantalla completa */
    position: relative;
    overflow: hidden;
}
.project-hero img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.85); /* Oscurecer un poco para que el texto resalte */
}
.project-hero-title {
    position: absolute; bottom: 50px; left: 5%;
    color: white; z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.project-hero-title h1 { font-size: 3.5rem; margin-bottom: 10px; letter-spacing: 3px; }
.project-hero-title p { font-size: 1.2rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 300; }


/* FICHA TÉCNICA + DESCRIPCIÓN */
.project-info-container {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Columna angosta datos, ancha texto */
    gap: 80px;
    padding: 100px var(--padding-container);
    background: white;
}

.project-meta {
    display: flex; flex-direction: column; gap: 30px;
    border-right: 1px solid #eee; /* Línea divisoria sutil */
    padding-right: 20px;
}

.meta-item h4 { font-size: 0.75rem; color: #999; margin-bottom: 5px; letter-spacing: 1px; font-weight: 600; }
.meta-item p { font-size: 1rem; font-weight: 500; color: #000; }

.project-description h3 { font-size: 1.5rem; margin-bottom: 30px; font-weight: 600; }
.project-description p { font-size: 1.1rem; line-height: 1.8; color: #444; text-align: justify; margin-bottom: 20px; }


/* GALERÍA MASONRY PROYECTO */
.project-gallery-section { padding: 0 var(--padding-container) 100px; }
.gallery-masonry {
    column-count: 2; /* 2 columnas grandes para ver detalles */
    column-gap: 20px;
}
.gallery-item {
    width: 100%; margin-bottom: 20px; cursor: zoom-in;
    transition: opacity 0.3s; break-inside: avoid;
}
.gallery-item:hover { opacity: 0.9; }


/* NAVEGACIÓN SIGUIENTE / ANTERIOR */
.project-nav {
    border-top: 1px solid #000; border-bottom: 1px solid #000;
    padding: 60px var(--padding-container);
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 80px;
}
.nav-link { text-align: center; transition: opacity 0.3s; text-decoration: none; }
.nav-link:hover { opacity: 0.5; }
.nav-link span { font-size: 0.7rem; color: #999; display: block; margin-bottom: 10px; letter-spacing: 2px; }
.nav-link h4 { font-size: 1.5rem; font-weight: 700; color: black; }


/* --- LIGHTBOX (VISOR FLOTANTE - ESTILO ARKHAM) --- */
#lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95); /* Fondo un poco más sólido */
    z-index: 2000;
    display: none;
    flex-direction: column; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.4s ease;
}
#lightbox.active { display: flex; opacity: 1; }

.lb-content { 
    width: 90%; height: 80%; 
    display: flex; justify-content: center; align-items: center; 
    position: relative; 
}
.lb-content img { 
    max-width: 100%; max-height: 100%; 
    object-fit: contain; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.5); 
}

/* --- CONTROLES MINIMALISTAS --- */
#lightbox button {
    background: none; border: none; color: rgba(255, 255, 255, 0.6); 
    cursor: pointer; transition: all 0.3s ease; padding: 20px; outline: none;
}
#lightbox button:hover { color: white; transform: scale(1.1); }

/* Flechas Laterales (Más pequeñas y sutiles) */
#lb-prev { 
    position: absolute; left: 20px; top: 50%; transform: translateY(-50%); 
    z-index: 2001; font-size: 1.5rem; /* Reducido de 2rem */
}
#lb-next { 
    position: absolute; right: 20px; top: 50%; transform: translateY(-50%); 
    z-index: 2001; font-size: 1.5rem; /* Reducido de 2rem */
}

/* Botón Cerrar (Arriba derecha) */
#lb-close { 
    position: absolute; top: 20px; right: 20px; 
    font-size: 1.5rem; z-index: 2001; 
}

/* --- BARRA INFERIOR (PLAY + CONTADOR) --- */
.lb-controls {
    position: absolute; bottom: 30px; 
    display: flex; gap: 30px; align-items: center;
    /* Quitar estilos de botón pesado */
}

/* Botón Slideshow Minimalista (Solo Icono) */
#lb-play { 
    font-size: 1.2rem; /* Aumentamos tamaño porque ya no hay texto */
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2); /* Un borde sutil circular o cuadrado */
    width: 50px; height: 50px; /* Tamaño fijo cuadrado */
    border-radius: 50%; /* Hacemos que sea un círculo perfecto */
    display: flex; justify-content: center; align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

#lb-play:hover { 
    color: white; 
    border-color: white; 
    background: rgba(255,255,255,0.1);
}

#lb-play.playing { 
    color: white; 
    border-color: white;
}
/* Contador */
#lb-counter { 
    color: rgba(255, 255, 255, 0.4); 
    font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 2px; 
}

/* RESPONSIVE LIGHTBOX */
@media (max-width: 768px) {
    #lb-prev, #lb-next { font-size: 1.2rem; padding: 10px; }
    .lb-content { width: 100%; height: 60%; } /* Más espacio en móvil */
}

/* =========================================
   15. LEGO BUILDER (CONSTRUCTOR DE IDEAS)
   ========================================= */
#lego-builder {
    max-width: 800px; margin: 0 auto;
    padding: 0 var(--padding-container);
}

.builder-container {
    background: #f9f9f9; border: 1px solid #eee;
    padding: 40px; border-radius: 20px;
    text-align: center; position: relative;
    min-height: 400px; display: flex; flex-direction: column; justify-content: center;
}

/* Barra de progreso */
.progress-bar {
    width: 100%; height: 4px; background: #ddd;
    margin-bottom: 40px; border-radius: 2px; overflow: hidden;
}
.progress-fill {
    height: 100%; width: 25%; background: black; transition: width 0.4s ease;
}

/* Pasos */
.builder-step { display: none; animation: fadeIn 0.5s ease; }
.builder-step.active { display: block; }

.builder-step h3 { font-size: 1.5rem; margin-bottom: 30px; letter-spacing: 1px; }

/* Grilla de Opciones (Los bloques Lego) */
.options-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px; margin-bottom: 30px;
}

.lego-option {
    background: white; border: 2px solid transparent;
    padding: 30px 20px; cursor: pointer;
    transition: all 0.3s ease; border-radius: 10px;
    display: flex; flex-direction: column; align-items: center; gap: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.lego-option i { font-size: 2rem; color: #888; transition: 0.3s; }
.lego-option span { font-size: 0.9rem; font-weight: 600; color: #444; text-transform: uppercase; }
.lego-option small { font-size: 0.7rem; color: #999; font-weight: 400; display: block; margin-top: 5px;}

/* Efecto Hover y Selección */
.lego-option:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.lego-option:active { transform: scale(0.95); }

/* Input final */
.lego-input {
    width: 100%; max-width: 400px; padding: 15px;
    border: none; border-bottom: 2px solid #ccc;
    background: transparent; font-family: var(--font-head);
    font-size: 1.2rem; text-align: center; margin-bottom: 30px;
    outline: none;
}
.lego-input:focus { border-bottom-color: black; }

/* Botones */
.finish-btn {
    background: black; color: white; padding: 15px 40px;
    border: none; font-family: var(--font-head); font-size: 1rem;
    cursor: pointer; letter-spacing: 2px; transition: 0.3s;
    display: flex; align-items: center; gap: 10px; margin: 0 auto;
}
.finish-btn:hover { background: #333; transform: scale(1.05); }

.back-btn {
    background: none; border: none; text-decoration: underline;
    color: #888; cursor: pointer; margin-top: 20px; font-size: 0.9rem;
}

@media (max-width: 768px) {
    .builder-container { padding: 20px; }
    .options-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .lego-option { padding: 20px 10px; }
    .lego-option i { font-size: 1.5rem; }
    .lego-option span { font-size: 0.7rem; }
}

/* =========================================
   16. REDES SOCIALES (CONTACTO)
   ========================================= */
.social-icons-row {
    display: flex;
    gap: 25px; /* Espacio entre iconos */
    margin-top: 15px;
}

.social-icons-row a {
    font-size: 1.8rem; /* Tamaño grande */
    color: #000;       /* Negro puro */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.social-icons-row a:hover {
    color: #666;       /* Gris al pasar el mouse */
    transform: translateY(-3px); /* Pequeño salto hacia arriba */
}

/* =========================================
   17. BOTÓN ZOOM Y EFECTO
   ========================================= */

/* Estilo del botón (Igual al de Play) */
#lb-zoom {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

#lb-zoom:hover {
    color: white; border-color: white;
    background: rgba(255,255,255,0.1);
}

/* La imagen normal tiene cursor de lupa + */
#lb-img {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Transición suave */
    cursor: zoom-in;
}

/* CLASE ACTIVA: Cuando hacemos zoom */
#lb-img.zoomed {
    transform: scale(1.8); /* Aumenta 1.8 veces su tamaño */
    cursor: zoom-out;
    z-index: 10; /* Asegura que quede por encima */
}