@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

/* ============================================================
   1. BASE & NAVEGACIÓN (GLOBAL)
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; scroll-behavior: smooth; }
body { background-color: #fff; color: #000; overflow-x: hidden; line-height: 1.4; }
::selection { background: #000; color: #fff; }
.site-loader { position: fixed; inset: 0; z-index: 7000; display: flex; align-items: center; justify-content: center; background: #000; color: #fff; transition: opacity 0.55s ease, visibility 0.55s ease, transform 0.55s ease; }
.loader-mark { display: flex; flex-direction: column; align-items: center; gap: 18px; font-size: clamp(0.78rem, 1.4vw, 1rem); font-weight: 900; letter-spacing: 0.22em; text-transform: uppercase; }
.loader-mark::after { content: ""; width: 88px; height: 1px; background: #fff; transform-origin: left; animation: loaderLine 1s cubic-bezier(0.76, 0, 0.24, 1) infinite; }
body.is-loaded .site-loader { opacity: 0; visibility: hidden; transform: scale(1.015); pointer-events: none; }
@keyframes loaderLine {
    0% { transform: scaleX(0); opacity: 0.35; }
    45% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(0); transform-origin: right; opacity: 0.35; }
}

nav { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 25px 5%; position: fixed; width: 100%; z-index: 1000; background: rgba(255,255,255,0.88); border-bottom: 1px solid rgba(0,0,0,0.06); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: padding 0.34s ease, background 0.34s ease, border-color 0.34s ease, box-shadow 0.34s ease; }
nav.nav-compact { padding-top: 14px; padding-bottom: 14px; background: rgba(255,255,255,0.74); border-color: rgba(0,0,0,0.09); box-shadow: 0 14px 40px rgba(0,0,0,0.045); }
.logo { font-weight: 900; font-size: 1.1rem; letter-spacing: -1px; text-transform: uppercase; color: #000; text-decoration: none; transition: opacity 0.28s ease, transform 0.28s ease; }
.logo:hover { opacity: 0.58; transform: translateY(-1px); }

.nav-links { display: flex; list-style: none; gap: 25px; align-items: center; }
.nav-links a { text-decoration: none; color: #000; font-weight: 700; text-transform: uppercase; font-size: 0.65rem; letter-spacing: 1px; transition: color 0.3s ease, opacity 0.3s ease; position: relative; }
.nav-links > li > a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1); }
.nav-links > li > a:hover::after { transform: scaleX(1); transform-origin: left; }
.mobile-menu-toggle { display: none; flex: 0 0 50px; width: 50px; height: 50px; border: 0; border-radius: 0; background: #000; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; position: relative; z-index: 1100; -webkit-appearance: none; appearance: none; }
.mobile-menu-toggle span { width: 20px; height: 2px; background: #fff; display: block; transition: 0.3s; }
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background: #fff; list-style: none; min-width: 160px; padding: 10px 0; box-shadow: 0 10px 25px rgba(0,0,0,0.05); opacity: 0; visibility: hidden; transition: 0.4s; border: 1px solid #eee; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu li a { padding: 10px 18px; display: block; font-size: 0.6rem; border-bottom: 1px solid #f9f9f9; text-align: center; }
.active-nav { color: #999 !important; }

/* ============================================================
   2. WIDGETS DE INTERACCIÓN (50px)
   ============================================================ */
.bottom-left-widgets { position: fixed; bottom: 30px; left: 30px; z-index: 2000; display: flex; gap: 10px; align-items: flex-end; }
.widget-block { background: #000; color: #fff; border: none; padding: 12px 22px; height: 50px; min-width: 50px; display: flex; align-items: center; justify-content: center; cursor: pointer; text-transform: uppercase; font-weight: 900; font-size: 0.75rem; transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease, opacity 0.28s ease; text-decoration: none; }
.widget-block:hover { transform: translateY(-3px); }
.language-switcher .widget-block { white-space: nowrap; }
.widget-block svg { width: 22px; height: 22px; }

#backToTop { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(28px) scale(0.92); background: #000; color: #fff; border: 1px solid #000; width: 54px; height: 54px; border-radius: 0; cursor: pointer; z-index: 2000; display: flex; align-items: center; justify-content: center; transition: transform 0.35s ease, opacity 0.35s ease, background 0.25s ease, color 0.25s ease; opacity: 0; pointer-events: none; }
#backToTop svg { width: 24px; height: 24px; stroke: currentColor; }
#backToTop.show { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; pointer-events: auto; }
#backToTop:hover { background: #fff; color: #000; }

.contact-widget { position: fixed; bottom: 30px; right: 30px; z-index: 2000; display: flex; flex-direction: column; align-items: flex-end; }
.contact-menu { background: #fff; border: 1px solid #eee; margin-bottom: 12px; width: 220px; display: none; flex-direction: column; box-shadow: 0 15px 35px rgba(0,0,0,0.1); border-radius: 4px; overflow: hidden; }
.contact-menu.active { display: flex; }
.menu-item { padding: 15px 20px; text-decoration: none; color: #000; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; border-bottom: 1px solid #f9f9f9; transition: background 0.25s ease, padding-left 0.25s ease; }
.menu-item:hover { background: #f6f6f6; padding-left: 26px; }

/* ============================================================
   3. SECCIONES DE INDEX (HERO & NOSOTROS)
   ============================================================ */
.hero { height: 85vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; padding: 0 8%; }
.hero h1 { font-size: clamp(2.5rem, 6.5vw, 6rem); line-height: 0.85; font-weight: 900; letter-spacing: -3px; text-transform: uppercase; }
.hero h1 span { color: #e0e0e0; }
.hero p { max-width: 560px; font-size: clamp(0.85rem, 1.4vw, 1.05rem); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #333; }

.editorial-marquee { overflow: hidden; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; background: #fff; white-space: nowrap; }
.marquee-track { display: flex; width: max-content; animation: marqueeMove 28s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; padding: 22px 28px; font-size: clamp(0.72rem, 1vw, 0.9rem); font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; color: #111; }
.marquee-track span::after { content: ""; width: 5px; height: 5px; margin-left: 28px; border-radius: 50%; background: #111; }
@keyframes marqueeMove { to { transform: translateX(-50%); } }

.about-section { padding: 120px 8%; background: #fafafa; border-top: 1px solid #f0f0f0; }
.about-container { display: flex; gap: 60px; max-width: 1400px; margin: 0 auto; }
.about-label { flex: 1; font-weight: 900; text-transform: uppercase; font-size: 0.7rem; color: #999; letter-spacing: 2px; }
.about-text { flex: 3; }
.about-text > p { max-width: 760px; font-size: clamp(1.08rem, 2vw, 1.7rem); line-height: 1.22; font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; }
.services-list { list-style: none; margin: 25px 0 35px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 700px; }
.services-list li { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; position: relative; padding-left: 20px; color: #444; transition: color 0.25s ease, transform 0.25s ease; }
.services-list li:hover { color: #000; transform: translateX(4px); }
.services-list li::before { content: "●"; position: absolute; left: 0; color: #000; font-size: 0.5rem; top: 2px; }
.btn-cta-dark { display: inline-block; padding: 16px 35px; background: #000; color: #fff; text-decoration: none; font-weight: 900; text-transform: uppercase; font-size: 0.65rem; transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease; margin-top: 10px; }
.btn-cta-dark:hover { transform: translateY(-3px); background: #222; }

/* Grilla Index (3 Columnas) */
.ogilvy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; width: 100%; line-height: 0; }
.project-card { position: relative; aspect-ratio: 16/10; overflow: hidden; text-decoration: none; }
.project-inner { width: 100%; height: 100%; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s cubic-bezier(0.22, 1, 0.36, 1); position: relative; }
.project-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 12%; background: #0a0a0a; color: #fff; text-align: center; }
.project-placeholder span { max-width: 520px; font-size: clamp(1.45rem, 3.8vw, 3.2rem); line-height: 0.9; font-weight: 900; letter-spacing: -0.05em; text-transform: uppercase; }
.project-card:hover .project-inner { transform: scale(1.035); filter: contrast(1.05); }
.project-info { position: absolute; bottom: 0; left: 0; padding: 34px 30px 30px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,0.9)); width: 100%; opacity: 0; transform: translateY(12px); transition: opacity 0.42s ease, transform 0.42s ease; }
.project-card:hover .project-info { opacity: 1; }
.project-card:hover .project-info { transform: translateY(0); }
.project-info h3 { font-size: 0.9rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; }
.project-info p { max-width: 390px; margin-top: 10px; font-size: clamp(0.58rem, 0.9vw, 0.72rem); line-height: 1.45; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.82); transform: translateY(8px); opacity: 0; transition: opacity 0.42s ease 0.06s, transform 0.42s ease 0.06s; }
.project-card:hover .project-info p { opacity: 1; transform: translateY(0); }

/* ============================================================
   4. ALIMENTOS (MASONRY & ZOOM)
   ============================================================ */
.gallery-container { padding: 120px 2% 100px; }
.masonry-grid { column-count: 4; column-gap: 12px; }
.photo-item { display: inline-block; width: 100%; margin-bottom: 12px; position: relative; cursor: pointer; break-inside: avoid; overflow: hidden; background: #000; }
.photo-item img { width: 100%; height: auto; display: block; transition: 0.6s; }
.photo-item:hover img { transform: scale(1.08); opacity: 0.7; }
.photo-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.4s; z-index: 10; }
.photo-item:hover .photo-overlay { opacity: 1; }
.photo-overlay span { color: #fff; font-weight: 900; font-size: 0.6rem; letter-spacing: 3px; border: 1px solid #fff; padding: 10px 20px; text-transform: uppercase; }

/* ============================================================
   5. FILM (SISTEMA EXCLUSIVO AISLADO - RESTAURADO)
   ============================================================ */
.film-page-wrapper { padding-top: 100px; max-width: 1400px; margin: 0 auto; }
.flm-video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 !important; width: 100%; }
.flm-video-card { position: relative; aspect-ratio: 9 / 16; background: #000; overflow: hidden; cursor: pointer; border: none; }
.flm-video-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.flm-preview-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s ease; pointer-events: none; }
.flm-video-card:hover .flm-preview-video { opacity: 1; }
.flm-video-card:hover img { transform: scale(1.05); }

.flm-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.3); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: 0.4s; z-index: 10; }
.flm-video-card:hover .flm-overlay { opacity: 1; }
.flm-play-btn { font-size: 2.2rem; color: #fff; margin-bottom: 12px; filter: drop-shadow(0 0 10px rgba(0,0,0,0.5)); }
.flm-overlay-text { color: #fff; font-weight: 900; font-size: 0.55rem; letter-spacing: 2px; border: 1px solid #fff; padding: 8px 18px; text-transform: uppercase; }

/* ============================================================
   6. PÁGINAS DE PROYECTOS INDEPENDIENTES (GENERAL)
   ============================================================ */
.project-hero-wide { width: 100%; padding-top: 80px; overflow: hidden; background: #f4f4f4; }
.project-hero-wide img { width: 100%; height: auto; object-fit: contain; object-position: center; display: block; }
.project-hero-wide.hero-balume img { object-position: center; }
.project-hero-wide.hero-superlabs img { object-position: center; }
.project-cover-hero { min-height: 72vh; display: flex; align-items: center; justify-content: center; background: #050505; }
.project-cover-hero img { width: 100%; min-height: 72vh; object-fit: cover; }
.project-title-hero { min-height: 78vh; padding: 140px 8% 80px; display: flex; align-items: center; justify-content: center; background: #050505; color: #fff; }
.project-title-card { width: 100%; max-width: 1100px; text-align: center; }
.project-title-card span { display: block; margin-bottom: 24px; font-size: 0.62rem; font-weight: 900; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.48); }
.project-title-card h1 { font-size: clamp(3rem, 10vw, 9rem); line-height: 0.82; font-weight: 900; letter-spacing: -0.07em; text-transform: uppercase; }
.project-intro-section { padding: 100px 8%; background: #fff; display: flex; gap: 80px; border-bottom: 1px solid #f1f1f1; position: relative; }
.project-intro-section::before { content: "Proyecto"; position: absolute; top: 44px; left: 8%; font-size: 0.58rem; font-weight: 900; letter-spacing: 0.22em; text-transform: uppercase; color: #a8a8a8; }
.project-meta { flex: 1; display: flex; flex-direction: column; gap: 25px; }
.meta-item label { display: block; font-weight: 900; text-transform: uppercase; font-size: 0.65rem; color: #999; letter-spacing: 2px; margin-bottom: 8px; }
.meta-item p { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.project-description-text { flex: 2; }
.project-description-text p { max-width: 900px; font-size: clamp(1.02rem, 1.35vw, 1.24rem); line-height: 1.68; color: #333; }

/* Grid Estándar 2x2 */
.project-grid-2x2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; padding: 0 5% 15px; max-width: 1800px; margin: 0 auto; }
.grid-item-project { aspect-ratio: 1080 / 1350; overflow: hidden; background: #f5f5f5; }
.grid-item-project img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease; }
.grid-item-project:hover img { transform: scale(1.025); filter: contrast(1.04); }

.project-grid-square { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; padding: 0 5% 15px; max-width: 1800px; margin: 0 auto; }
.grid-item-square { aspect-ratio: 1 / 1; overflow: hidden; background: #f5f5f5; }
.grid-item-square img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease; }
.grid-item-square:hover img { transform: scale(1.025); filter: contrast(1.04); }

.project-outro { padding: 0 5% 100px; max-width: 1800px; margin: 0 auto; }
.project-outro img { width: 100%; height: auto; display: block; }
.project-feature-visual { padding: 0 5% 110px; background: #fff; }
.project-feature-visual img { width: 100%; max-height: 920px; object-fit: cover; display: block; background: #f4f4f4; }
.project-feature-text { padding-top: 0; }
.project-feature-text .project-placeholder { min-height: 560px; }
.project-next { display: grid; grid-template-columns: 0.9fr 1.6fr auto; gap: 28px; align-items: end; padding: 72px 8%; border-top: 1px solid #eee; background: #fff; color: #000; text-decoration: none; transition: background 0.32s ease, color 0.32s ease; }
.project-next:hover { background: #050505; color: #fff; }
.project-next-label { font-size: 0.58rem; font-weight: 900; letter-spacing: 0.24em; text-transform: uppercase; color: #999; transition: color 0.32s ease; }
.project-next:hover .project-next-label { color: rgba(255,255,255,0.5); }
.project-next-title { font-size: clamp(2.2rem, 6vw, 6.8rem); line-height: 0.84; font-weight: 900; letter-spacing: -0.07em; text-transform: uppercase; }
.project-next-services { max-width: 300px; font-size: 0.64rem; line-height: 1.45; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: #777; transition: color 0.32s ease; }
.project-next:hover .project-next-services { color: rgba(255,255,255,0.72); }

/* ============================================================
   7. GRID ASIMÉTRICO (3 ARRIBA / 2 ABAJO - BALUME)
   ============================================================ */
.project-grid-custom { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; padding: 0 5%; max-width: 1800px; margin: 0 auto; }
.grid-item-custom { width: 100%; overflow: hidden; background: #f4f4f4; }
.grid-item-custom img { width: 100%; height: 100%; object-fit: cover; display: block; transition: 0.5s; }
.grid-item-custom:hover img { transform: scale(1.03); }
.row-3 { grid-column: span 2; aspect-ratio: 1 / 1; }
.row-2 { grid-column: span 3; aspect-ratio: 16 / 9; }

/* ============================================================
   8. LIGHTBOXES & FOOTER
   ============================================================ */
.lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.99); z-index: 3000; display: none; align-items: center; justify-content: center; }
.lb-photo-wrapper { width: 85vw; height: 80vh; display: flex; align-items: center; justify-content: center; }
.lb-photo-wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; }
.close-lightbox, .lb-nav, .flm-close, .flm-nav { background: #000; color: #fff; border: 1px solid #000; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.25s ease; font-size: 1.8rem; line-height: 1; }
.close-lightbox, .flm-close { position: absolute; top: 28px; right: 32px; font-size: 2rem; z-index: 3010; }
.lb-nav, .flm-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3010; }
.lb-nav.prev, .flm-nav.prev { left: 32px; }
.lb-nav.next, .flm-nav.next { right: 32px; }
.close-lightbox:hover, .lb-nav:hover, .flm-close:hover, .flm-nav:hover { background: #fff; color: #000; }
.flm-lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.99); z-index: 3000; display: none; align-items: center; justify-content: center; }
.flm-lb-container { height: 85vh; aspect-ratio: 9 / 16; background: #000; border-radius: 12px; overflow: hidden; position: relative; }
.flm-lb-container video { width: 100%; height: 100%; object-fit: cover; }
.flm-loading { position: absolute; inset: 0; z-index: 2; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.72); color: #fff; font-size: 0.62rem; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; }
.flm-loading.active { display: flex; }
.flm-loading::before { content: ""; width: 22px; height: 22px; border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff; border-radius: 50%; margin-right: 12px; animation: flmSpin 0.8s linear infinite; }
@keyframes flmSpin { to { transform: rotate(360deg); } }

.contact { padding: 120px 8%; text-align: center; background: #000; color: #fff; overflow: hidden; }
.contact h2 { max-width: 980px; margin: 0 auto 38px; font-size: clamp(2.3rem, 6vw, 5.8rem); line-height: 0.88; font-weight: 900; letter-spacing: -3px; text-transform: uppercase; }
.contact-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn { padding: 18px 45px; text-decoration: none; font-weight: 900; text-transform: uppercase; font-size: 0.7rem; transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease; display: inline-block; border: 1px solid #fff; color: #fff; }
.btn:hover { transform: translateY(-3px); }
.btn:hover { background: #fff; color: #000; }
.footer-credit { margin-top: 60px; font-size: 0.6rem; letter-spacing: 2px; text-transform: uppercase; opacity: 0.4; }

.reveal { opacity: 0; transform: translateY(20px); transition: 0.8s; }
.reveal.active { opacity: 1; transform: translateY(0); }

.brand-reveal { opacity: 0; transform: translateY(42px) scale(0.985); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); will-change: opacity, transform; }
.brand-reveal.active { opacity: 1; transform: translateY(0) scale(1); }
.brand-reveal.delay-1 { transition-delay: 0.08s; }
.brand-reveal.delay-2 { transition-delay: 0.16s; }
.brand-reveal.delay-3 { transition-delay: 0.24s; }
.brand-reveal.delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .brand-reveal { opacity: 1; transform: none; transition: none; }
    .marquee-track { animation: none; }
}

.page-transition-overlay { position: fixed; inset: 0; z-index: 5000; pointer-events: none; background: #000; clip-path: circle(0 at var(--transition-x, 50%) var(--transition-y, 50%)); transition: clip-path 0.62s cubic-bezier(0.76, 0, 0.24, 1); }
.page-transition-overlay.is-leaving { clip-path: circle(150vmax at var(--transition-x, 50%) var(--transition-y, 50%)); }
.page-transition-overlay.is-entering { clip-path: circle(150vmax at var(--transition-x, 50%) var(--transition-y, 50%)); }
.page-transition-overlay.is-entering.is-ready { clip-path: circle(0 at var(--transition-x, 50%) var(--transition-y, 50%)); }

.site-cursor { position: fixed; top: 0; left: 0; width: 34px; height: 34px; z-index: 4990; pointer-events: none; border: 1px solid #fff; border-radius: 50%; background: rgba(255,255,255,0.9); mix-blend-mode: difference; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(0.8); transition: width 0.22s ease, height 0.22s ease, opacity 0.18s ease, transform 0.16s ease; will-change: transform, width, height, opacity; }
.site-cursor::after { content: ""; position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); }
.site-cursor.is-visible { opacity: 1; transform: translate3d(var(--cursor-x, -50px), var(--cursor-y, -50px), 0) translate(-50%, -50%) scale(1); }
.site-cursor.is-hovering { width: 54px; height: 54px; background: rgba(255,255,255,0.72); }
.site-cursor.is-pressing { width: 24px; height: 24px; }
.site-touch-cursor { position: fixed; top: 0; left: 0; z-index: 4990; width: 58px; height: 58px; border-radius: 50%; pointer-events: none; border: 1px solid #fff; background: rgba(255,255,255,0.78); mix-blend-mode: difference; opacity: 0; transform: translate3d(var(--touch-x, -100px), var(--touch-y, -100px), 0) translate(-50%, -50%) scale(0.55); }
.site-touch-cursor.is-active { animation: touchCursorPulse 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes touchCursorPulse {
    0% { opacity: 0; transform: translate3d(var(--touch-x, -100px), var(--touch-y, -100px), 0) translate(-50%, -50%) scale(0.55); }
    28% { opacity: 1; }
    100% { opacity: 0; transform: translate3d(var(--touch-x, -100px), var(--touch-y, -100px), 0) translate(-50%, -50%) scale(1.35); }
}

@media (hover: hover) and (pointer: fine) {
    body.has-custom-cursor, body.has-custom-cursor a, body.has-custom-cursor button, body.has-custom-cursor [role="button"], body.has-custom-cursor input, body.has-custom-cursor textarea, body.has-custom-cursor select, body.has-custom-cursor .photo-item, body.has-custom-cursor .flm-video-card { cursor: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    .page-transition-overlay, .site-cursor, .site-touch-cursor { display: none; }
}

@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
    nav { padding: 18px 5%; }
    .logo { flex: 1 1 auto; min-width: 0; }
    .mobile-menu-toggle { display: flex !important; margin-left: auto; }
    .nav-links { position: fixed; top: 86px; left: 0; width: 100%; height: calc(100vh - 86px); display: none; flex-direction: column; align-items: flex-start; gap: 0; padding: 28px 8%; background: #fff; border-top: 1px solid #eee; overflow-y: auto; }
    .nav-links.mobile-open { display: flex !important; }
    .nav-links li { width: 100%; border-bottom: 1px solid #f0f0f0; }
    .nav-links a { display: block; width: 100%; padding: 18px 0; font-size: 0.85rem; letter-spacing: 1.5px; }
    .dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; min-width: 100%; padding: 0 0 12px 16px; }
    .dropdown:hover .dropdown-menu { transform: none; }
    .dropdown-menu li a { text-align: left; padding: 10px 0; border-bottom: 0; color: #777; }
    .ogilvy-grid, .flm-video-grid, .masonry-grid { grid-template-columns: repeat(2, 1fr); column-count: 2; }
    .flm-preview-video { display: none; }
    .project-grid-custom { grid-template-columns: 1fr; }
    .row-3, .row-2 { grid-column: span 1; }
    .project-grid-2x2 { grid-template-columns: 1fr; }
    .project-grid-square { grid-template-columns: 1fr; }
    .about-container, .project-intro-section { flex-direction: column; gap: 30px; }
    .project-hero-wide { padding-top: 86px; }
    .project-hero-wide.hero-balume img { object-position: center top; }
    .project-hero-wide.hero-superlabs img { object-position: center top; }
    .hero { height: 78vh; padding-top: 80px; }
    .hero h1, .contact h2 { letter-spacing: -2px; }
    .bottom-left-widgets { left: 18px; bottom: 18px; }
    .contact-widget { right: 18px; bottom: 18px; }
    .close-lightbox, .lb-nav, .flm-close, .flm-nav { display: none; width: 54px; height: 54px; }
    .close-lightbox, .flm-close { top: 18px; right: 18px; }
    .lb-nav.prev, .flm-nav.prev { left: 18px; }
    .lb-nav.next, .flm-nav.next { right: 18px; }
    .lb-photo-wrapper { width: 100vw; height: 78vh; padding: 0 18px; }
    .flm-lb-container { height: 78vh; }
    .contact { padding: 90px 8% 110px; }
}

@media (max-width: 700px) {
    nav { padding: 14px 5%; min-height: 76px; }
    .logo { font-size: 0.98rem; letter-spacing: -0.04em; }
    .mobile-menu-toggle { width: 46px; height: 46px; flex-basis: 46px; }
    .nav-links { top: 76px; height: calc(100vh - 76px); padding: 24px 8% 120px; }
    .nav-links a { font-size: 0.78rem; }
    .hero { min-height: 82svh; height: auto; padding: 112px 7% 64px; gap: 20px; }
    .hero h1 { font-size: clamp(2.7rem, 15vw, 4.8rem); line-height: 0.88; letter-spacing: -0.06em; }
    .hero p { max-width: 330px; font-size: 0.72rem; line-height: 1.55; letter-spacing: 0.12em; }
    .about-section { padding: 82px 7%; }
    .about-label { font-size: 0.64rem; }
    .about-text > p { font-size: 1.28rem; line-height: 1.18; }
    .services-list { grid-template-columns: 1fr; gap: 10px; margin: 26px 0 30px; }
    .services-list li { font-size: 0.68rem; }
    .ogilvy-grid, .flm-video-grid { grid-template-columns: 1fr; }
    .masonry-grid { column-count: 1; }
    .project-card { aspect-ratio: 4 / 3; }
    .project-info { opacity: 1; transform: none; padding: 22px; }
    .project-info h3 { font-size: 0.78rem; }
    .project-info p { max-width: 100%; margin-top: 8px; font-size: 0.6rem; line-height: 1.42; opacity: 1; transform: none; }
    .project-hero-wide { padding-top: 76px; }
    .project-cover-hero { min-height: 58vh; }
    .project-cover-hero img { min-height: 58vh; }
    .project-title-hero { min-height: 66vh; padding: 116px 7% 64px; }
    .project-title-card h1 { font-size: clamp(2.8rem, 16vw, 5.4rem); }
    .project-intro-section { padding: 68px 7%; gap: 34px; }
    .project-meta { gap: 18px; }
    .project-description-text p { font-size: 0.98rem; line-height: 1.62; }
    .project-grid-2x2, .project-grid-square, .project-grid-custom { padding-left: 0; padding-right: 0; }
    .project-outro { padding: 0 0 84px; }
    .project-feature-visual { padding: 0 0 84px; }
    .project-feature-visual img { max-height: none; }
    .project-feature-text .project-placeholder { min-height: 440px; }
    .project-next { grid-template-columns: 1fr; gap: 18px; padding: 54px 7%; }
    .project-next-title { font-size: clamp(2.4rem, 14vw, 4.8rem); }
    .project-next-services { max-width: 100%; }
    .marquee-track span { padding: 18px 22px; font-size: 0.66rem; }
    .gallery-container { padding: 96px 3% 90px; }
    .film-page-wrapper { padding-top: 76px; }
    .contact { padding: 82px 7% 118px; }
    .contact h2 { font-size: clamp(2.15rem, 13vw, 4.2rem); line-height: 0.92; letter-spacing: -0.06em; }
    .contact-buttons { gap: 10px; }
    .btn { width: 100%; max-width: 310px; text-align: center; padding: 17px 24px; }
    .bottom-left-widgets { left: 14px; bottom: 14px; gap: 8px; }
    .contact-widget { right: 14px; bottom: 14px; }
    .widget-block { height: 46px; min-width: 46px; padding: 10px 16px; font-size: 0.66rem; }
    #backToTop { width: 48px; height: 48px; bottom: 80px; }
    .loader-mark { font-size: 0.72rem; letter-spacing: 0.2em; }
}

@media (hover: none) {
    .project-card:hover .project-inner, .grid-item-project:hover img, .grid-item-square:hover img, .grid-item-custom:hover img { transform: none; filter: none; }
    .widget-block:hover, .btn:hover, .btn-cta-dark:hover { transform: none; }
}
