/* --- ULTIMATE MONOCHROME EDITORIAL (MIRROR SYNC) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --bg-ivory: #FAF9F6;
    --bg-white: #FFFFFF;
    --text-black: #111111;
    --text-grey: #444444;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-ivory);
    color: var(--text-black);
    font-family: var(--font-sans);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.header {
    display: flex;
    justify-content: flex-start; /* Logo a sinistra con padding */
    align-items: center;
    padding: 60px 15%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    pointer-events: none;
}

.logo-text {
    pointer-events: auto;
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: -1px;
}

/* --- HERO SECTION --- */
.hero-scroll-container { height: 800vh; background: var(--bg-ivory); position: relative; }
.hero { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; }

.focus-text, .goal-text { position: absolute; top: 25%; font-family: var(--font-serif); font-size: clamp(30px, 4vw, 55px); font-weight: 500; font-style: italic; z-index: 10; line-height: 1; }
.focus-text { left: max(5%, calc(50% - 460px)); text-align: right; }
.goal-text { right: max(5%, calc(50% - 460px)); text-align: left; }

.strength-text {
    position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%);
    font-family: var(--font-serif); font-size: clamp(80px, 15vw, 150px);
    font-weight: 700; text-transform: uppercase; color: #1a1a1a;
    letter-spacing: -3px; z-index: 1; line-height: 1;
}

.hero-image-wrapper { position: sticky; top: 0; left: 0; width: 100%; height: 100vh; z-index: 5; display: flex; justify-content: center; align-items: center; }
.hero-image-wrapper canvas { width: clamp(400px, 50vw, 800px); height: 95vh; object-fit: contain; object-position: bottom center; }

/* --- INFO & STATS --- */
.info-side { position: absolute; top: 40%; transform: translateY(-50%); z-index: 100; width: 280px; pointer-events: none; }
.info-left { left: 5%; } .info-right { right: 3%; }
.info-box { display: flex; flex-direction: column; gap: 15px; opacity: 0; pointer-events: auto; }
.info-label { font-size: 0.7rem; font-weight: 900; letter-spacing: 3px; color: var(--text-grey); }
.info-title { font-family: var(--font-serif); font-size: 2.2rem; line-height: 0.9; color: var(--text-black); }
.info-desc { font-size: 0.9rem; color: var(--text-grey); line-height: 1.5; font-weight: 300; }

.stats-left { position: absolute; bottom: 8%; left: max(3%, calc(50% - 680px)); z-index: 15; display: flex; flex-direction: column; gap: 40px; }
.stat-item h3 { font-family: var(--font-serif); font-size: clamp(2.2rem, 3.5vw, 3.2rem); font-weight: 400; color: #111; line-height: 1; }
.stat-item p { font-size: 0.85rem; color: #555; font-weight: 300; }
.stat-line { height: 1px; width: 100%; max-width: 100px; margin-top: 10px; background: var(--text-black); opacity: 0.2; }

/* --- LOGOS BAR --- */
.logos-footer { padding: 40px 0 60px; position: relative; z-index: 100; width: 100%; background: var(--bg-ivory); }
.logos-track { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; opacity: 0.3; }
.logotype { font-size: 0.9rem; font-weight: 900; letter-spacing: 2px; }

.seminar-card {
    position: absolute; bottom: 10%; right: max(3%, calc(50% - 680px)); z-index: 15;
    background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08); padding: 35px; border-radius: 16px; max-width: 380px;
}

.seminar-subtitle { font-size: 0.7rem; font-weight: 900; letter-spacing: 2px; color: var(--text-grey); text-transform: uppercase; display: block; margin-bottom: 20px; }
.seminar-title { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 300; line-height: 1.2; margin-bottom: 25px; color: var(--text-black); }

.info-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 25px;
    background: #111111;
    color: #FFFFFF;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

.info-cta span { font-size: 1.2rem; margin-left: 5px; }
.info-cta:hover { transform: scale(1.05); background: #333; }

.btn-register {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-register-text {
    background: #111;
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-register-icon {
    width: 44px;
    height: 44px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- MOBILE BRANDING (HIDDEN BY DEFAULT) --- */
.mobile-sticky-brand { display: none; }

/* --- GALLERY (MANUAL SCROLL) --- */
.gallery-section { padding: 160px 0; background: var(--bg-ivory); position: relative; z-index: 150; height: auto; }
.gallery-wrapper { width: 100%; }
.gallery-container { width: 100%; }

.section-header { text-align: center; margin-bottom: 100px; padding: 0 5vw; }
.section-title { font-family: var(--font-serif); font-size: clamp(3rem, 8vw, 5.5rem); line-height: 0.9; letter-spacing: -2px; }

.gallery-h-wrapper { 
    width: 100%; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 5vw 40px;
    position: relative;
}
.gallery-h-wrapper::-webkit-scrollbar { display: none; }

.gallery-nav-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.05);
    color: var(--text-black);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 200;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.gallery-nav-btn:hover { background: #fff; transform: translateY(-50%) scale(1.1); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.gallery-nav-btn.prev { left: 2vw; }
.gallery-nav-btn.next { right: 2vw; }

@media (max-width: 768px) {
    .gallery-nav-btn { display: none; } /* Hidden on mobile to keep touch behavior clean */
}

.gallery-grid { display: flex !important; gap: 40px; width: max-content; }
.gallery-item { 
    flex-shrink: 0; 
    width: 420px; 
    aspect-ratio: 3 / 4; 
    overflow: hidden; 
    border-radius: 20px; 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); 
    transition: transform 0.4s ease; 
    scroll-snap-align: center;
}
.gallery-item.large { width: 500px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 10%; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* --- PARADISE CTA --- */
.paradise-cta-wrapper {
    display: flex;
    justify-content: center;
    padding-top: 60px;
    background: var(--bg-ivory);
    position: relative;
    z-index: 155;
    margin-top: -80px; /* Pull it up a bit if needed */
    margin-bottom: 80px;
}

.btn-paradise {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 50px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.btn-paradise:hover {
    transform: translateY(-8px) scale(1.05);
    background: #333;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.btn-paradise i {
    transition: transform 0.4s ease;
}

.btn-paradise:hover i {
    transform: translateX(5px);
}

/* --- INDUSTRY CREDITS --- */
.industry-credits { padding: 120px 0; background: var(--bg-ivory); position: relative; z-index: 100; overflow: hidden; }
.credits-container { display: flex; flex-direction: column; gap: 200px; }

.credit-block { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.music-block { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }

.credit-visuals { position: relative; display: flex; justify-content: center; align-items: center; }
.icon-wrapper { position: absolute; z-index: 50; top: -30px; left: -10px; mix-blend-mode: difference; color: white; opacity: 0.15; }
.music-block .icon-wrapper { left: auto; right: -10px; }
.credit-icon { width: 120px; height: 120px; stroke-width: 0.5px; }

.hero-credit-wrapper { 
    width: 420px; 
    max-width: 100%;
    aspect-ratio: 4 / 5.5; 
    overflow: hidden; 
    border-radius: 4px; 
    transition: transform 0.8s ease; 
    background: transparent;
}
.hero-credit-wrapper:hover { transform: scale(1.01); }
.hero-credit-img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    object-position: bottom; 
}

.credit-info { 
    display: flex; 
    flex-direction: column; 
    gap: 30px; 
    padding: 20px 0;
    border-left: 0.5px solid rgba(0,0,0,0.1);
    padding-left: clamp(20px, 4vw, 60px);
}
.music-block .credit-info {
    padding: 20px 0;
    border-left: none;
    border-right: 0.5px solid rgba(0,0,0,0.1);
    padding-right: clamp(20px, 4vw, 60px);
    text-align: right;
    align-items: flex-end;
}
.music-block .project-frames-container { justify-content: flex-end; }
.music-block .frame-item-wrapper { align-items: flex-end; }


.credit-title { font-family: var(--font-serif); font-size: clamp(2.2rem, 5vw, 4rem); line-height: 0.85; letter-spacing: -2px; }
.credit-desc { font-size: 1rem; line-height: 1.8; color: var(--text-grey); font-weight: 300; max-width: 500px; }

.project-frames-carousel-container { 
    width: 100%; 
    overflow: hidden; 
    margin-top: 40px;
    padding: 20px 0;
}
.cinema-carousel-track { 
    display: flex; 
    gap: 25px; 
    width: max-content;
    flex-wrap: nowrap !important;
}

.project-frames-container { display: flex; gap: 25px; }

.frame-item-wrapper { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    width: 160px; 
    flex-shrink: 0;
    opacity: 1 !important; 
    visibility: visible !important;
    transform: none !important;
}

.frame-img-box {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    background: #fff;
    border: 1px solid rgba(0,0,0,0.03);
}

.frame-item { 
    width: 100%; 
    height: 100%;
    object-fit: cover; 
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1); 
    cursor: pointer; 
}
.frame-item:hover { transform: scale(1.05); }
.frame-caption { font-size: 0.65rem; font-weight: 600; letter-spacing: 1.5px; color: var(--text-grey); opacity: 0.5; text-transform: uppercase; text-align: inherit; }

/* --- PHILOSOPHY SECTION REDESIGN --- */
.philosophy-section { padding: 160px 0; background: var(--bg-ivory); position: relative; z-index: 100; }
.philosophy-header { margin-bottom: 100px; text-align: center; max-width: 1000px; margin-left: auto; margin-right: auto; }
.philosophy-title { font-family: var(--font-serif); font-size: clamp(3rem, 7vw, 6rem); line-height: 0.9; margin-top: 20px; letter-spacing: -3px; }

.philosophy-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 60px; 
    margin-top: 80px; 
}
.philosophy-item { 
    position: relative;
    padding: 40px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    transition: transform 0.4s ease;
}
.philosophy-item:hover { transform: translateY(-10px); }
.philosophy-number { 
    font-family: var(--font-serif); 
    font-size: 4rem; 
    opacity: 0.05; 
    position: absolute; 
    top: 20px; 
    right: 20px; 
    font-weight: 700;
}
.philosophy-subtitle { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 500; color: var(--text-black); margin-bottom: 20px; position: relative; }
.philosophy-item p { font-size: 0.95rem; line-height: 1.6; color: var(--text-grey); font-weight: 300; }

/* --- PRODUCTS SECTION REDESIGN --- */
.products-section { padding: 120px 0 160px; background: #fff; position: relative; z-index: 100; overflow: hidden; }
.products-container { display: flex; flex-direction: column; gap: 100px; }

/* --- TICKER SECTION --- */
.ticker-section { 
    width: 100vw; 
    margin-left: calc(-50vw + 50%); 
    overflow: hidden; 
    padding: 40px 0;
}
.ticker-row { 
    padding: 20px 0; 
    white-space: nowrap;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.ticker-row.backward { border-bottom: 1px solid rgba(0,0,0,0.05); }

.ticker-track { 
    display: flex; 
    width: max-content; 
    gap: 80px;
    align-items: center;
}

.ticker-item { 
    font-family: var(--font-sans); 
    font-size: clamp(3rem, 10vw, 6rem); 
    font-weight: 900; 
    letter-spacing: -2px; 
    color: var(--text-black);
    text-transform: uppercase;
    opacity: 0.15;
    transition: opacity 0.4s ease;
}
.ticker-item:hover { opacity: 0.8; }

.products-footer { 
    margin-top: 60px; 
    text-align: center; 
    max-width: 800px; 
    margin-left: auto; 
    margin-right: auto;
}
.products-footer p { 
    font-size: 0.8rem; 
    letter-spacing: 3px; 
    font-weight: 400; 
    opacity: 0.5; 
    line-height: 2;
}

/* --- CONTACT SECTION (LIGHT) --- */
.contact-section { padding: 120px 0; background: var(--bg-ivory); color: var(--text-black); text-align: center; border-top: 0.5px solid rgba(0,0,0,0.1); border-bottom: 0.5px solid rgba(0,0,0,0.1); }
.contact-title { font-family: var(--font-serif); font-size: clamp(2.5rem, 6vw, 4rem); line-height: 0.85; margin-bottom: 3rem; letter-spacing: -1px; }

.whatsapp-cta { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta-desc { font-size: 0.9rem; opacity: 0.5; letter-spacing: 1px; font-weight: 300; }
.whatsapp-button { display: inline-block; padding: 15px 40px; border: 1px solid var(--text-black); color: var(--text-black); text-decoration: none; border-radius: 100px; font-weight: 500; font-size: 0.8rem; letter-spacing: 2px; transition: all 0.3s ease; }
.whatsapp-button:hover { background: var(--text-black); color: #fff; }

/* --- LIGHTBOX --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(250, 249, 246, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}
.lightbox.active { display: flex; }
.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.1);
    transform: scale(0.9);
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}
.lightbox.active .lightbox-content { transform: scale(1); }
.lightbox-close {
    position: absolute;
    top: 40px;
    right: 60px;
    color: var(--text-black);
    font-size: 40px;
    font-weight: 200;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.lightbox-close:hover { opacity: 0.5; }

/* --- MAIN FOOTER --- */
.main-footer { background: #fff; color: var(--text-black); padding: 100px 0 60px; border-top: 1px solid rgba(0,0,0,0.05); }
.footer-content { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 80px; }
.footer-logo { font-family: var(--font-serif); font-size: 3rem; font-weight: 900; letter-spacing: -2px; }
.footer-nav { display: flex; gap: 40px; }
.footer-nav a { color: var(--text-black); text-decoration: none; font-size: 0.75rem; font-weight: 600; letter-spacing: 3px; opacity: 0.4; transition: opacity 0.3s ease; }
.footer-nav a:hover { opacity: 1; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 40px; border-top: 0.5px solid rgba(0,0,0,0.05); font-size: 0.65rem; opacity: 0.3; letter-spacing: 3px; }

/* --- RESPONSIVE DESIGN (TABLET 1100px) --- */
@media (max-width: 1100px) {
    .industry-credits { padding: 60px 0; }
    .credits-container { gap: 80px; }
    .credit-block, .music-block { 
        display: flex !important;
        flex-direction: column !important;
        gap: 40px; 
        text-align: center; 
        align-items: center;
    }
    .music-block .credit-visuals { order: -1; }
    
    .credit-info, .music-block .credit-info { 
        padding: 0 !important; 
        border: none !important; 
        text-align: center !important; 
        align-items: center !important;
        width: 100% !important;
    }
    .credit-title { font-size: 2.8rem; margin-bottom: 20px; }
    .credit-desc { margin: 0 auto 30px; max-width: 90%; }
    
    .hero-credit-wrapper { 
        width: 100% !important; 
        max-width: 380px !important; 
        aspect-ratio: 4 / 5.5 !important; 
        margin: 0 auto 40px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .project-frames-carousel-container {
        width: 100vw;
        margin-left: -5vw;
        padding-left: 5vw;
    }
    .frame-item-wrapper { 
        width: 160px !important; 
        min-width: 160px !important;
        flex-shrink: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* --- RESPONSIVE DESIGN (MOBILE 768px) --- */
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .header { padding: 30px 5%; }
    .hero-scroll-container { height: 600vh; }
    .hero-image-wrapper { height: 80vh; top: 22vh !important; width: 100vw; position: absolute; z-index: 5; }
    .hero-image-wrapper canvas { width: 100%; height: 100%; object-fit: contain; object-position: top center; }

    #hero-fallback-img { width: 100%; height: 100%; object-fit: contain; object-position: top center; position: absolute; top: 0; left: 0; opacity: 1; z-index: 10; }

    .focus-text, .goal-text { top: 12vh; font-size: 1.4rem !important; position: absolute; z-index: 100; }
    .strength-text { top: 16vh; font-size: 2.8rem !important; position: absolute; z-index: 100; left: 50% !important; transform: translateX(-50%) !important; }

    .mobile-sticky-brand { display: none; flex-direction: column; align-items: center; width: 100%; position: absolute; top: 12vh; left: 0; z-index: 200; text-align: center; opacity: 0; pointer-events: none; }
    .msb-small { font-family: var(--font-serif); font-size: 1.3rem; letter-spacing: 2px; font-style: italic; color: var(--text-black); }
    .msb-large { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 900; line-height: 0.9; color: var(--text-black); }

    .stats-left { top: 25vh !important; bottom: auto !important; left: 0 !important; width: 100% !important; flex-direction: row !important; justify-content: center !important; gap: 15px !important; }
    .stat-item h3 { font-size: 1.4rem; } 
    .stat-item p { font-size: 0.75rem; }

    .info-side { width: 100% !important; left: 0 !important; bottom: 0 !important; top: auto !important; height: 140px; z-index: 250; }
    .info-box, .seminar-card { position: absolute; bottom: 0; left: 3%; width: 94%; background: rgba(255,255,255,0.85); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); padding: 15px 20px; border-radius: 20px; opacity: 0; }
    .info-title { font-size: 1.5rem; } 
    .info-desc { font-size: 0.85rem; }
    .info-cta { padding: 10px 20px; font-size: 0.65rem; margin-top: 10px; }
    
    .section-title { font-size: 2.8rem; }
    .gallery-section { padding: 80px 0; }
    .gallery-h-wrapper { padding: 0 20px 30px; }
    .gallery-grid { gap: 20px; }
    .gallery-item { width: 80vw; aspect-ratio: 3 / 4; border-radius: 20px; scroll-snap-align: center; }
    
    .contact-section { padding: 80px 0; }
    .contact-title { font-size: 2.2rem !important; margin-bottom: 2rem !important; }
    
    .main-footer { padding: 60px 0; }
    .footer-content { flex-direction: column; gap: 40px; text-align: center; align-items: center; }
    .footer-nav { flex-direction: column; gap: 15px; align-items: center; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }

    .philosophy-grid { grid-template-columns: 1fr; gap: 30px; }
    .ticker-item { font-size: 2.2rem; }

    .credit-title { font-size: 2.2rem; }
    .hero-credit-wrapper { max-width: 300px !important; aspect-ratio: 4 / 5.5 !important; }

    .frame-item-wrapper { width: 150px !important; min-width: 150px !important; }
}