/* ==========================================================================
   EMMEGI PRODUCTION — MIPCOM CANNES 2026
   Cinematic Dark Theme Inspired by Framek Video Production
   ========================================================================== */

:root {
    --bg-dark: #05070a;
    --bg-panel: #0d1118;
    --bg-card: rgba(16, 21, 30, 0.7);
    --bg-card-hover: rgba(22, 29, 41, 0.9);
    --border: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(221, 104, 61, 0.45);

    /* Main Brand Color (#dd683d) */
    --primary: #dd683d;
    --primary-glow: rgba(221, 104, 61, 0.35);
    --primary-hover: #c95930;
    --main: #dd683d;
    --main-glow: rgba(221, 104, 61, 0.35);

    /* Brand Accents */
    --terracotta: #dd683d;
    --terracotta-glow: rgba(221, 104, 61, 0.35);
    --teal: #dd683d;
    /* Aliased to main #dd683d */
    --teal-glow: rgba(221, 104, 61, 0.35);
    --gold: #d4af37;

    /* Typography Colors */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Fonts */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto Condensed', sans-serif;
    --font-serif: 'Roboto Condensed', sans-serif;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Reset & Basics */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Film Grain Texture */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   PRELOADER & CINEMATIC INTRO
   ========================================================================== */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #030406;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    max-width: 580px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preloader-emmegi-logo {
    width: min(340px, 78vw);
    max-height: 96px;
    height: auto;
    filter: drop-shadow(0 6px 24px rgba(221, 104, 61, 0.45));
    animation: preloaderPulse 1.8s ease-in-out infinite alternate;
}

@keyframes preloaderPulse {
    0% {
        transform: scale(0.97);
        opacity: 0.85;
    }

    100% {
        transform: scale(1.02);
        opacity: 1;
        filter: drop-shadow(0 8px 32px rgba(221, 104, 61, 0.65));
    }
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.scrolled {
    background: rgba(5, 7, 10, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 14px 40px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    height: 48px;
    width: auto;
    transition: transform 0.3s ease;
}

.brand-link:hover .brand-logo {
    transform: scale(1.03);
}

.mipcom-header-badge {
    height: 24px;
    opacity: 0.85;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 16px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.25s ease;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 9999px;
    padding: 3px;
    gap: 2px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 10px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.lang-btn.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(221, 104, 61, 0.4);
}

.lang-btn:hover:not(.active) {
    color: #ffffff;
}

/* Header CTA Button */
.btn-header-cta {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 9px 18px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-header-cta:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(221, 104, 61, 0.4);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle Button */
.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    transition: all 0.25s ease;
    z-index: 101;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--teal);
}

.hamburger-bar {
    width: 20px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Overlay & Panel */
.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 990;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0.35s ease;
}

.mobile-drawer.open {
    pointer-events: auto;
    visibility: visible;
}

.mobile-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.mobile-drawer.open .mobile-drawer-overlay {
    opacity: 1;
}

.mobile-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85%;
    max-width: 360px;
    background: #090d14;
    border-left: 1px solid var(--border);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-out);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
}

.mobile-drawer.open .mobile-drawer-panel {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.mobile-drawer-logo {
    height: 38px;
    width: auto;
}

.mobile-drawer-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 0;
}

.mobile-nav-link {
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 6px 0;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    color: var(--teal);
    transform: translateX(4px);
}

.mobile-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.mobile-lang-switcher {
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
}

.mobile-drawer-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 14px 20px;
    font-size: 13px;
}

/* ==========================================================================
   HERO SECTION & VIDEO EXPERIENCE
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    transition: filter 0.5s ease;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(5, 7, 10, 0.6) 0%,
            rgba(5, 7, 10, 0.35) 40%,
            rgba(5, 7, 10, 0.75) 85%,
            rgba(5, 7, 10, 1) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    width: 100%;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(221, 104, 61, 0.15);
    border: 1px solid rgba(221, 104, 61, 0.35);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ff8c5a;
    text-transform: uppercase;
}

.pulsing-dot {
    width: 8px;
    height: 8px;
    background: #dd683d;
    border-radius: 50%;
    box-shadow: 0 0 10px #dd683d;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(38px, 6vw, 76px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.5px;
    text-transform: uppercase;
    color: #ffffff;
    max-width: 950px;
}

.hero-headline span.highlight-teal {
    background: linear-gradient(135deg, #ff9466, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(16px, 1.8vw, 20px);
    color: #cbd5e1;
    max-width: 650px;
    line-height: 1.6;
    font-weight: 300;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.btn-primary-glow {
    background: linear-gradient(135deg, #ff7a47 0%, var(--primary) 100%);
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(221, 104, 61, 0.4);
    transition: all 0.3s var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(221, 104, 61, 0.6);
}

.btn-secondary-ghost {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 16px 28px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Video Control Bar at Bottom of Hero */
.hero-video-controls {
    position: absolute;
    bottom: 30px;
    left: 40px;
    right: 40px;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    pointer-events: auto;
}

.sound-toggle-btn {
    background: rgba(13, 17, 24, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.sound-toggle-btn:hover {
    background: rgba(221, 104, 61, 0.2);
    border-color: var(--primary);
}

/* Equalizer Bars */
.eq-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
}

.eq-bar {
    width: 2px;
    background: #ff8c5a;
    height: 4px;
    border-radius: 1px;
}

.eq-bars.playing .eq-bar:nth-child(1) {
    animation: eqJump 0.8s infinite ease-in-out;
}

.eq-bars.playing .eq-bar:nth-child(2) {
    animation: eqJump 0.6s infinite ease-in-out 0.2s;
}

.eq-bars.playing .eq-bar:nth-child(3) {
    animation: eqJump 0.7s infinite ease-in-out 0.4s;
}

@keyframes eqJump {

    0%,
    100% {
        height: 4px;
    }

    50% {
        height: 14px;
    }
}

.video-progress-container {
    flex: 1;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-timeline {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.video-timeline-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--teal);
}

.video-time-counter {
    font-size: 11px;
    color: var(--text-muted);
    font-family: monospace;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.25s ease;
}

.scroll-indicator:hover {
    color: #ffffff;
}

.scroll-arrow {
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(5px);
    }

    60% {
        transform: translateY(2px);
    }
}

/* ==========================================================================
   MIPCOM CANNES EVENT BANNER
   ========================================================================== */
.market-banner-section {
    position: relative;
    background: var(--bg-panel);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 60px 40px;
    overflow: hidden;
}

.market-banner-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(221, 104, 61, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.market-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: center;
}

.market-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.market-logo-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 8px;
}

.market-official-logo {
    height: 75px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.08));
}

.market-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.market-cta-wrap {
    display: flex;
    align-items: center;
}

.market-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

.section-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--teal);
    text-transform: uppercase;
}

.market-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3.2vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: #ffffff;
}

.market-desc {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

.market-details-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.market-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.market-card:hover {
    border-color: var(--border-highlight);
    background: rgba(221, 104, 61, 0.05);
}

.market-card.full-width {
    grid-column: span 2;
}

.card-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.card-value {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.card-value.highlight {
    color: var(--primary);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    padding: 120px 24px;
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
}

.about-header {
    margin-bottom: 60px;
}

.about-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.6vw, 46px);
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    line-height: 1.25;
    text-wrap: balance;
    margin-top: 12px;
}

.about-columns {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.stats-grid-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-item {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-highlight);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
    line-height: 1.2;
}

.stat-item:first-child .stat-num {
    background: linear-gradient(135deg, #ff8c5a 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-desc {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ==========================================================================
   VISITING HOURS — ORIGINAL DRAMEDY MYSTERY SERIES (REPLACES PORTFOLIO)
   ========================================================================== */
.visiting-hours-section {
    position: relative;
    background: #040609;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 110px 0 90px;
    overflow: hidden;
}

.visiting-hours-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 380px;
    background: radial-gradient(ellipse at top, rgba(221, 104, 61, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.vh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.vh-container-padded {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 2. TITOLO */
.vh-title-block {
    text-align: center;
    margin-bottom: 40px;
}

.vh-main-title {
    font-family: var(--font-heading);
    font-size: clamp(38px, 6.2vw, 76px);
    font-weight: 800;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.08;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.7);
}

.vh-tagline {
    font-size: clamp(18px, 2.3vw, 26px);
    font-style: italic;
    color: #cbd5e1;
    margin-top: 12px;
    letter-spacing: 0.5px;
    font-weight: 300;
}

/* 1B. TRAILER VIDEO IN PAGINA (MOLTO PIÙ GRANDE, NO DOPPIO PULSANTE) */
.vh-inpage-video-wrap {
    width: 100%;
    max-width: min(1520px, 95vw);
    margin: 0 auto 65px;
    padding: 0 16px;
    box-sizing: border-box;
}

.vh-inpage-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85), 0 0 40px rgba(221, 104, 61, 0.22);
}

.vh-inpage-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vh-video-play-cover {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.4s ease, visibility 0.4s;
    backdrop-filter: blur(2px);
}

.vh-video-play-cover.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.vh-big-play-btn {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(221, 104, 61, 0.65);
    transition: transform 0.3s ease, background 0.3s ease;
}

.vh-big-play-btn svg {
    margin-left: 4px;
}

.vh-play-glow {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 2px solid rgba(221, 104, 61, 0.55);
    animation: vhPlayPulse 2s infinite ease-out;
}

@keyframes vhPlayPulse {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    100% {
        transform: scale(1.38);
        opacity: 0;
    }
}

.vh-big-play-btn:hover {
    transform: scale(1.12);
    background: #ff8c5a;
}

/* 3. GENERE E LOGLINE */
.vh-logline-block {
    text-align: center;
    margin: 0 auto 48px;
}

.vh-genre-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}

.vh-logline-lead {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.7vw, 34px);
    font-weight: 600;
    line-height: 1.35;
    color: #ffffff;
    letter-spacing: -0.3px;
    text-wrap: balance;
}

/* 4. SINOSSI (DUE CAPOVERSI, COLONNA STRETTA) */
.vh-synopsis-block {
    display: flex;
    justify-content: center;
    margin-bottom: 74px;
}

.vh-synopsis-narrow {
    max-width: 620px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.vh-synopsis-p {
    font-size: 17px;
    line-height: 1.82;
    color: #94a3b8;
    font-weight: 400;
    text-align: center;
}

/* 5. CAROUSEL FULL WIDE (ALMENO 3 IMMAGINI ASSIEME) */
.vh-fullwide-carousel-section {
    position: relative;
    width: 100%;
    margin: 0 0 75px;
    padding-top: 8px;
    overflow: hidden;
}

.vh-carousel-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.vh-carousel-counter {
    font-family: monospace;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
}

.vh-counter-slash {
    color: var(--text-muted);
    margin: 0 4px;
}

.vh-carousel-nav-arrows {
    display: flex;
    gap: 12px;
    padding: 6px;
    margin: -6px;
}

.vh-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}

.vh-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 4px 20px rgba(221, 104, 61, 0.4);
}

.vh-fw-viewport {
    width: 100%;
    padding: 20px 32px 30px;
    margin-top: -8px;
    margin-bottom: -12px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.vh-fw-viewport:active {
    cursor: grabbing;
}

.vh-fw-track {
    display: flex;
    gap: 20px;
    transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1);
    will-change: transform;
}

.vh-fw-slide {
    flex: 0 0 calc((100% - 40px) / 3);
    width: calc((100% - 40px) / 3);
    min-width: calc((100% - 40px) / 3);
    box-sizing: border-box;
    position: relative;
    padding: 4px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.vh-fw-card {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.35s ease;
}

.vh-fw-card:hover {
    transform: translateY(-5px);
    border-color: rgba(221, 104, 61, 0.65);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.vh-fw-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    transition: transform 0.5s ease;
}

.vh-fw-card:hover .vh-fw-img {
    transform: scale(1.04);
}

.vh-fw-zoom-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
    backdrop-filter: blur(6px);
}

.vh-fw-card:hover .vh-fw-zoom-badge {
    opacity: 1;
    transform: scale(1.1);
    background: var(--primary);
    border-color: var(--primary);
}

/* Dots Indicator */
.vh-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.vh-dot {
    width: 9px;
    height: 9px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.22);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}

.vh-dot.is-active {
    width: 28px;
    background: var(--primary);
}

@media (min-width: 1600px) {
    .vh-fw-slide {
        flex: 0 0 calc((100% - 60px) / 3.4);
        width: calc((100% - 60px) / 3.4);
        min-width: calc((100% - 60px) / 3.4);
    }
}

@media (max-width: 1024px) {
    .vh-fw-slide {
        flex: 0 0 calc((100% - 20px) / 2.2);
        width: calc((100% - 20px) / 2.2);
        min-width: calc((100% - 20px) / 2.2);
    }
}

@media (max-width: 640px) {
    .vh-fw-viewport {
        padding: 16px 16px 24px;
    }

    .vh-fw-slide {
        flex: 0 0 82%;
        width: 82%;
        min-width: 82%;
    }
}

/* 6. CREDITI (COME IN FONDO A UNA LOCANDINA) */
.vh-poster-credits-block {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 16px;
    margin: 20px 0 30px;
}

.vh-credits-presents {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.vh-credits-billing {
    font-size: 12px;
    line-height: 1.95;
    color: #cbd5e1;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    max-width: 860px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .visiting-hours-section {
        padding: 60px 0 50px;
    }

    .vh-fullwide-carousel-section {
        margin-bottom: 45px;
    }
}

/* ==========================================================================
   SERVICES & CAPABILITIES
   ========================================================================== */
.services-section {
    padding: 120px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    max-width: 1080px;
    margin: 0 auto 50px;
}

.services-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 2.8vw, 38px);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.3;
    text-wrap: balance;
    text-transform: uppercase;
    margin-top: 12px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 30px;
    position: relative;
    transition: all 0.3s var(--ease-out);
    display: flex;
    flex-direction: column;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 30px;
    right: 30px;
    height: 2px;
    background: linear-gradient(90deg, #dd683d, #ff8c5a);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-highlight);
    background: var(--bg-card-hover);
}

.service-card:hover::after {
    opacity: 1;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--teal);
    opacity: 0.8;
    margin-bottom: 20px;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* ==========================================================================
   QUICK-DROP LEAD CAPTURE FORM (OPTIMIZED FOR SMARTPHONES)
   ========================================================================== */
.contact-section {
    padding: 100px 40px 140px;
    background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-dark) 100%);
    border-top: 1px solid var(--border);
    position: relative;
}

.contact-container {
    max-width: 880px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.6vw, 46px);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.25;
    text-wrap: balance;
    text-transform: uppercase;
    margin-top: 10px;
}

.contact-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 12px auto 0;
    line-height: 1.6;
}

.contact-card-box {
    background: rgba(16, 21, 30, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.contact-card-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #dd683d, #ff8c5a);
}

.form-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field.full {
    grid-column: span 2;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px 18px;
    color: #ffffff;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.25s ease;
}

.form-textarea {
    min-height: 110px;
    resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 3px rgba(221, 104, 61, 0.25);
}

.form-privacy-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.btn-form-submit {
    width: 100%;
    background: linear-gradient(135deg, #ff7a47 0%, var(--primary) 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 18px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(221, 104, 61, 0.35);
}

.btn-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(221, 104, 61, 0.55);
}

.btn-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Success Card */
.form-success-box {
    display: none;
    text-align: center;
    padding: 30px 10px;
}

.success-check-icon {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid #10b981;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-size: 28px;
    margin-bottom: 20px;
}

.success-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.success-desc {
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 480px;
    margin: 0 auto 28px;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-vcard {
    background: var(--bg-panel);
    border: 1px solid var(--teal);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-vcard:hover {
    background: var(--teal);
}

.btn-reset-form {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-reset-form:hover {
    color: #ffffff;
    border-color: #ffffff;
}

/* ==========================================================================
   FULLSCREEN STILLS LIGHTBOX
   ========================================================================== */
.vh-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.vh-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.vh-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 5, 8, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    cursor: zoom-out;
}

.vh-lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.vh-lightbox-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.08);
}

.vh-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.vh-lightbox-nav.prev {
    left: 24px;
}

.vh-lightbox-nav.next {
    right: 24px;
}

.vh-lightbox-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.08);
}

.vh-lightbox-content {
    position: relative;
    z-index: 5;
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vh-lightbox-img {
    max-width: 90vw;
    max-height: 82vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    user-select: none;
    transition: transform 0.25s ease;
}

.vh-lightbox-counter {
    margin-top: 14px;
    font-family: monospace;
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--gold);
    background: rgba(0, 0, 0, 0.55);
    padding: 4px 14px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .vh-lightbox-nav {
        width: 44px;
        height: 44px;
    }

    .vh-lightbox-nav.prev {
        left: 12px;
    }

    .vh-lightbox-nav.next {
        right: 12px;
    }

    .vh-lightbox-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: #040507;
    border-top: 1px solid var(--border);
    padding: 60px 40px 40px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 44px;
    width: auto;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-link {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
    .site-header {
        padding: 16px 24px;
    }

    .site-header.scrolled {
        padding: 12px 24px;
    }

    .hero-content {
        padding: 0 24px;
    }

    .market-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .header-actions .btn-header-cta {
        display: none;
    }

    .header-actions .lang-switcher {
        display: none;
    }

    /* Show inside mobile drawer instead */
    .mobile-menu-btn {
        display: flex;
    }

    .brand-logo {
        height: 42px;
        width: auto;
    }

    .mipcom-header-badge {
        display: none;
    }

    .hero-headline {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-video-controls {
        left: 20px;
        right: 20px;
        bottom: 20px;
        flex-wrap: wrap;
    }

    .video-progress-container {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .form-grid-two {
        grid-template-columns: 1fr;
    }

    .form-field.full {
        grid-column: span 1;
    }

    .contact-card-box {
        padding: 24px 20px;
    }

    .market-details-cards {
        grid-template-columns: 1fr;
    }

    .market-card.full-width {
        grid-column: span 1;
    }

    .stats-grid-about {
        grid-template-columns: 1fr;
    }

    .about-section {
        padding: 60px 20px;
    }

    .market-banner-section {
        padding: 50px 20px;
    }

    .services-section {
        padding: 60px 20px;
    }

    .contact-section {
        padding: 60px 20px 90px;
    }

    .site-footer {
        padding: 40px 20px 30px;
    }

    .vh-fw-viewport {
        padding: 10px 18px 16px;
    }

    .vh-fw-slide {
        flex: 0 0 82%;
        width: 82%;
        min-width: 82%;
        height: auto;
    }

    .vh-carousel-dots {
        margin-top: 14px;
    }
}