/* 
   makeH - Perspective Design System
   Colors: Orange, Black, White
   Mode: Spatial VR / Glassmorphism 
*/

html { scroll-behavior: smooth; }

:root {
    --clr-primary: #FF7A00;
    --clr-primary-glow: rgba(255, 122, 0, 0.4);
    --clr-surface: #000000;
    --clr-surface-light: #111111; 
    --clr-surface-lighter: #222222;
    --clr-bg: #000000;
    --clr-text: #FFFFFF;
    --clr-text-muted: rgba(255, 255, 255, 0.8);
    --clr-border: #FFFFFF;
    --clr-border-highlight: #FF7A00;

    --font-display: 'Outfit', sans-serif;
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Outfit', sans-serif;
    --font-mono: 'Outfit', sans-serif;

    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-md: 20px;
    --text-lg: 24px;
    --text-xl: 32px;
    --text-xxl: 64px;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-6: 24px;
    --space-8: 32px;
    --space-16: 64px;

    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-pill: 100px;
}

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

body {
    background: #050200; /* Fondo base muy oscuro para resaltar la luz */
    background-attachment: fixed;
    color: var(--clr-text);
    font-family: var(--font-secondary);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    cursor: none; /* Hide default cursor for custom cursor */
    position: relative;
}

/* --- Ambient Glowing Orbs (Glassmorphism) --- */
body::before, body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -5;
    pointer-events: none;
    opacity: 0.65;
    will-change: transform;
}

body::before {
    width: 600px;
    height: 600px;
    background: #FF7A00; /* Naranja principal de MakeH */
    top: -150px;
    left: -100px;
    animation: floatOrb1 20s ease-in-out infinite alternate;
}

body::after {
    width: 500px;
    height: 500px;
    background: #bd2a00; /* Naranja/rojo oscuro para profundidad */
    bottom: -150px;
    right: -100px;
    animation: floatOrb2 25s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(15vw, 15vh) scale(1.2); }
    100% { transform: translate(-5vw, 25vh) scale(0.9); }
}

@keyframes floatOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20vw, -20vh) scale(1.1); }
    100% { transform: translate(10vw, -30vh) scale(1); }
}

a, button, input, textarea {
    cursor: none !important;
}

.text-primary { color: var(--clr-primary); }

/* --- Custom Cursor --- */
.custom-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 20px; height: 20px;
    background-color: var(--clr-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s, mix-blend-mode 0.2s;
    mix-blend-mode: difference;
}
.custom-cursor.cursor-hover {
    width: 60px; height: 60px;
    background-color: #FFFFFF;
}

/* --- Noise Overlay (Removed) --- */
.noise-overlay {
    display: none;
}

.spatial-canvas {
    position: relative; width: 100%; min-height: 100vh; height: auto;
    display: flex; justify-content: center; align-items: flex-start;
    padding-top: 80px; /* Offset for navbar */
    gap: var(--space-8); z-index: 10;
    transition: opacity 0.5s ease-in-out;
    margin-top: -100vh; /* Overlaps with the end of zoom-hero for seamless transition */
}

.floating-element {
    transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
}

/* --- Centered Top Navbar --- */
.top-navbar-wrapper {
    position: fixed; top: 0; left: 0; width: 100%;
    display: flex; justify-content: center;
    z-index: 2000; pointer-events: none;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0;
    transform: translateY(-100%);
}

.top-navbar {
    display: flex; justify-content: center; align-items: center; gap: var(--space-6);
    padding: 16px 48px;
    width: 100%;
    background: #000000;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    box-shadow: none;
    pointer-events: auto;
}

.nav-link {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.2s ease;
    padding: 0;
}

.nav-link:hover { 
    color: var(--clr-primary);
}
.nav-link.active { 
    color: var(--clr-primary); 
}

.logo { 
    font-family: var(--font-display); 
    font-size: var(--text-lg); 
    font-weight: 500; 
    letter-spacing: 2px; 
    padding: 4px 24px;
    color: #ffffff !important;
    background: transparent !important;
}

.logo:hover {
    text-shadow: 0 0 15px var(--clr-primary-glow);
}

/* --- Main Spatial Panel --- */
.spatial-panel {
    position: relative;
    width: 100vw; max-width: 100vw; min-height: calc(100vh - 120px); height: auto;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

/* SPA Views */
.view-section { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; opacity: 0; pointer-events: none; transform: translateZ(-50px) scale(0.98); transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.view-section.active-view { position: relative; height: auto; min-height: 100%; opacity: 1; pointer-events: all; transform: translateZ(0) scale(1); z-index: 2; }

/* Layouts */
.panel-info { flex: 1; padding: 60px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(to right, rgba(0,0,0,0.3) 0%, transparent 100%); border-right: 1px solid rgba(255, 255, 255, 0.05); }
.panel-showcase { flex: 1.2; position: relative; display: flex; align-items: center; justify-content: center; padding: 60px; perspective: 1000px; }

/* Typography */
.panel-header h1 { font-family: var(--font-display); font-size: var(--text-xxl); font-weight: 500; letter-spacing: 4px; text-transform: uppercase; text-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.subtitle { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--clr-text-muted); letter-spacing: 2px; }

/* =========================================
   MINIMALIST PAGE LOADER
   ========================================= */

.page-loader {
    position: fixed;
    inset: 0;
    background: #000000;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.loader-logo {
    font-family: var(--font-display); 
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 700; 
    letter-spacing: 2px; 
    color: #ffffff;
    animation: pulseLoader 1.5s infinite alternate;
}

.loader-progress-container {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress-bar {
    width: 0%;
    height: 100%;
    background: var(--clr-primary);
    transition: width 0.1s linear;
}

.loader-progress-text {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--clr-text-muted);
    letter-spacing: 2px;
}

@keyframes pulseLoader {
    0% { opacity: 0.6; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1.05); text-shadow: 0 0 30px var(--clr-primary-glow); }
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* =========================================
   ZOOM HERO — MRM-style scroll-driven zoom
   ========================================= */

.zoom-hero {
    position: relative;
    width: 100%;
    height: 250vh; /* 2.5x viewport for smooth zoom without empty gaps */
    z-index: 100;
    pointer-events: none; /* Allow mouse interactions to pass through to the canvas below */
}

.zoom-hero-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 100;
    background: var(--clr-bg);
    will-change: opacity;
}

/* 
   Anti-pixelation strategy: 
   Render text at 80vw (very large), start scaled DOWN to 0.22 (looks ~18vw).
   Zoom scales UP toward natural size — the browser rasterizes at 80vw resolution,
   so the text stays crisp throughout the entire animation.
*/
.zoom-hero-text {
    font-family: var(--font-display);
    font-size: clamp(30rem, 80vw, 80rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -4px;
    white-space: nowrap;
    will-change: transform, opacity;
    transform-origin: center center;
    transform: scale(0.22); /* Initial: looks like ~18vw */
    transition: none; /* Controlled by JS — no CSS transition */
    user-select: none;
    display: flex;
    align-items: baseline;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    position: relative;
    z-index: 2;
}

.zoom-word {
    display: inline-block;
}

/* Portal glow — radial light that appears during zoom, suggesting a passage */
.zoom-portal {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(255, 122, 0, 0.20) 0%,
        rgba(255, 122, 0, 0.08) 30%,
        transparent 60%
    );
    opacity: 0;
    transform: scale(0.3);
    pointer-events: none;
    z-index: 1;
    will-change: opacity, transform;
    transition: none;
}

/* Vignette — dark tunnel edges that intensify during zoom */
.zoom-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 50% 50%,
        transparent 30%,
        rgba(0, 0, 0, 0.6) 80%,
        rgba(0, 0, 0, 0.9) 100%
    );
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    will-change: opacity;
    transition: none;
}

.zoom-subtitle {
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    color: var(--clr-text-muted);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-top: 24px;
    opacity: 1;
    will-change: opacity;
    transition: none;
    position: relative;
    z-index: 3;
}

.zoom-scroll-hint {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 1;
    will-change: opacity;
    transition: none;
    z-index: 3;
}

.zoom-scroll-hint span {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
}

.zoom-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--clr-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* View 1: Home specifics (Retro Layout) */
#view-home { justify-content: flex-start; align-items: center; overflow-y: visible; }

.retro-hero { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 0; margin-top: -80px; width: 100%; min-height: 100%; text-align: center; position: relative; }
.retro-hero::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,0.05); z-index: -1; }

.retro-subtitle { font-size: var(--text-base); color: var(--clr-text-muted); margin-bottom: var(--space-2); font-family: var(--font-secondary); text-transform: uppercase; letter-spacing: 4px; }
.retro-title { font-size: 10vw; line-height: 1; margin-bottom: var(--space-8); font-weight: 700; color: var(--clr-text); letter-spacing: -2px; text-shadow: 4px 4px 0 rgba(255,255,255,0.1); }
.retro-title .text-primary { color: var(--clr-primary); }

.retro-content-grid { display: flex; justify-content: center; width: 100%; max-width: 1200px; padding: 0 var(--space-6); }

.retro-features { text-align: center; padding: var(--space-6) 0; display: none; }
.left-features { border-right: 1px solid rgba(255,255,255,0.1); padding-right: var(--space-8); }
.right-features { border-left: 1px solid rgba(255,255,255,0.1); padding-left: var(--space-8); }

.feature-number { font-size: var(--text-xxl); font-family: var(--font-primary); font-weight: bold; margin-bottom: var(--space-4); position: relative; padding-bottom: var(--space-2); color: var(--clr-primary); }
.feature-number::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 2px; background: var(--clr-text); }
.retro-features ul { list-style: none; padding: 0; }
.retro-features li { font-size: var(--text-base); font-family: var(--font-secondary); font-weight: 500; color: var(--clr-text-muted); margin-bottom: var(--space-3); transition: all 0.2s; display: inline-block; padding: 4px 12px; }
.retro-features li:hover { background: var(--clr-primary); color: #000; transform: skewX(-10deg); box-shadow: 2px 2px 0 #FFF; }

.retro-center-showcase { display: flex; justify-content: center; align-items: center; }

/* Presentation Carousel (View 1) */
.presentation-carousel {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.carousel-card {
    position: absolute;
    width: 360px;
    height: 420px;
    background: var(--clr-surface);
    border: 2px solid var(--clr-border);
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.5s ease-in-out;
    box-shadow: 6px 6px 0 var(--clr-primary);
    overflow: hidden;
}
.card-img-wrapper {
    width: 100%;
    height: 240px;
    border-bottom: 2px solid var(--clr-border);
    background: var(--clr-primary);
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}
.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.4);
    mix-blend-mode: multiply;
    transition: all 0.4s ease;
}
.card-content {
    padding: var(--space-4) var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-card:hover {
    background: var(--clr-text);
    border-color: var(--clr-primary);
    box-shadow: 10px 10px 0 var(--clr-primary);
}
.carousel-card:hover .card-img-wrapper {
    background: #000;
    border-bottom-color: #000;
}
.carousel-card:hover .card-img-wrapper img {
    filter: grayscale(100%) contrast(1.5) invert(1);
    mix-blend-mode: screen;
}
.carousel-card:hover h3 { color: var(--clr-bg); }
.carousel-card:hover p { color: #333; }
.carousel-card h3 { font-family: var(--font-secondary); font-weight: 700; font-size: var(--text-lg); margin-bottom: var(--space-2); text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s; }
.carousel-card p { font-family: var(--font-secondary); font-size: var(--text-sm); color: var(--clr-text-muted); line-height: 1.5; transition: color 0.3s; margin: 0; }

/* Coverflow Stack States (No Overlap) */
.item-1 { left: 50%; transform: translateX(-50%) scale(1); z-index: 3; opacity: 1; pointer-events: auto; }
.item-2 { left: 50%; transform: translate(calc(-50% + 360px)) scale(0.8); z-index: 2; opacity: 1; pointer-events: none; filter: brightness(0.6); }
.item-3 { left: 50%; transform: translate(calc(-50% - 360px)) scale(0.8); z-index: 2; opacity: 1; pointer-events: none; filter: brightness(0.6); }
.carousel-hidden { left: 50%; transform: translateX(-50%) scale(0.5); z-index: 1; opacity: 0; pointer-events: none; }

.carousel-controls { display: flex; gap: var(--space-4); margin-top: var(--space-6); justify-content: center; }
.carousel-controls .nav-btn { background: transparent; border: 2px solid var(--clr-primary); color: var(--clr-primary); width: 50px; height: 50px; border-radius: 0; display: flex; justify-content: center; align-items: center; font-size: var(--text-lg); cursor: none; transition: all 0.3s; }
.carousel-controls .nav-btn:hover { background: var(--clr-primary); color: #000; transform: translateY(-4px); box-shadow: 4px 4px 0 #FFF; }

/* Playground Section */
.playground-section { width: 100%; min-height: 50vh; display: flex; flex-direction: column; justify-content: center; align-items: center; border-top: none; padding: var(--space-8); position: relative; margin-top: 0; }
.playground-header { position: absolute; top: var(--space-4); left: var(--space-6); font-family: var(--font-secondary); font-size: var(--text-sm); color: var(--clr-primary); letter-spacing: 2px; }
.canvas-container { width: 100%; max-width: 1400px; height: 500px; display: flex; justify-content: center; align-items: center; }
#particle-text { width: 100%; height: 100%; cursor: none; }

/* View 2: Services */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-4); }
.feature-list li { display: flex; gap: var(--space-3); }
.feature-list .marker { width: 4px; height: auto; min-height: 100%; background: var(--clr-primary); display: inline-block; border-radius: 2px; }
.feature-list strong { font-size: var(--text-base); font-weight: 600; display: block; margin-bottom: 2px; }
.feature-list p { font-size: var(--text-xs); color: var(--clr-text-muted); margin-bottom: 0px; }

.services-showcase { flex-direction: column; align-items: flex-start; justify-content: center; }
.section-title-right { font-family: var(--font-display); font-size: var(--text-lg); margin-bottom: var(--space-6); }
.services-stack { display: flex; flex-direction: column; gap: var(--space-4); width: 100%; }
.service-card { background: var(--clr-surface-light); border: 1px solid var(--clr-border); border-radius: var(--radius-md); padding: var(--space-4); position: relative; border-left: 2px solid var(--clr-primary); backdrop-filter: blur(10px); }
.service-num { font-family: var(--font-mono); font-size: var(--text-sm); font-weight: bold; position: absolute; top: var(--space-4); right: var(--space-4); }
.service-card h3 { font-size: var(--text-md); margin-bottom: var(--space-1); }
.service-card p { font-size: var(--text-xs); color: var(--clr-text-muted); }

/* View 3: Pricing */
#view-pricing { flex-direction: column; padding: 40px 60px; }
.pricing-container { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center;}
.pricing-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); margin-top: var(--space-6); }
.price-card { background: var(--clr-surface-light); border: 1px solid var(--clr-border); border-radius: var(--radius-md); padding: var(--space-6); display: flex; flex-direction: column; position: relative; backdrop-filter: blur(10px); }
.price-card.popular { background: rgba(255, 122, 0, 0.05); border-color: rgba(255, 122, 0, 0.3); transform: scale(1.05) translateZ(50px); box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(255,122,0,0.1); }
.price-card.custom { background: linear-gradient(135deg, var(--clr-primary), #8F2B00); border: none; }
.popular-badge { font-family: var(--font-mono); font-size: 10px; color: var(--clr-primary); position: absolute; top: 12px; left: var(--space-6); font-weight: bold; }
.price-card h3 { font-size: var(--text-lg); margin-bottom: 2px; margin-top: var(--space-2); }
.price-sub { font-size: var(--text-xs); color: var(--clr-text-muted); margin-bottom: var(--space-4); }
.price-card.custom .price-sub { color: rgba(255,255,255,0.8); }
.price-tag { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; margin-bottom: 4px; }
.usd { font-size: var(--text-sm); font-family: var(--font-primary); font-weight: 400; color: var(--clr-text-muted); }
.fee { font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--space-6); }
.price-card.custom .fee { color: white; }
.specs { list-style: none; font-size: var(--text-sm); color: var(--clr-text-muted); border-top: 1px solid var(--clr-border); padding-top: var(--space-4); }
.price-card.custom .specs { color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.2); }
.specs li { margin-bottom: var(--space-2); }

/* =========================================
   SECCIÓN FINAL: CONTACTO & AGENDA
   ========================================= */

.final-contact-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.contact-content {
    text-align: center;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.contact-massive-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--clr-text);
    text-transform: uppercase;
    letter-spacing: -2px;
}

.agenda-btn {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 4px;
    padding: 24px 60px;
    background: var(--clr-primary);
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 0;
    border: 2px solid var(--clr-primary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.agenda-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: all 0.6s ease;
}

.agenda-btn:hover {
    background: transparent;
    color: var(--clr-primary);
    box-shadow: 0 0 40px rgba(255, 122, 0, 0.4);
    transform: translateY(-5px);
}

.agenda-btn:hover::before {
    left: 100%;
}

:focus-visible { outline: 2px solid var(--clr-primary); outline-offset: 4px; }

/* =========================================
   HORIZONTAL SCROLL TIMELINE (NOSOTROS)
   ========================================= */

.hscroll-wrapper {
    position: relative;
    width: 100%;
    /* Height = totalPanels * 100vh, set by JS */
    margin-top: var(--space-16);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hscroll-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hscroll-track {
    display: flex;
    height: 100%;
    will-change: transform;
}

.hscroll-panel {
    flex: 0 0 100vw;
    width: 100vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
}

.panel-inner {
    max-width: 1200px;
    width: 90%;
    padding: var(--space-8);
    position: relative;
    z-index: 2;
}

/* --- Panel Types --- */

/* Intro Panel */
.panel-intro .panel-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.panel-tag {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--clr-primary);
    letter-spacing: 3px;
    margin-bottom: var(--space-4);
    text-transform: uppercase;
}

.panel-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 700;
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: var(--space-6);
}

.panel-line {
    width: 120px;
    height: 3px;
    background: var(--clr-primary);
    margin-bottom: var(--space-6);
    transition: width 0.8s ease;
}

.panel-intro:hover .panel-line {
    width: 200px;
}

.panel-body {
    font-size: var(--text-md);
    color: var(--clr-text-muted);
    line-height: 1.6;
}

.scroll-arrow {
    margin-top: var(--space-8);
    font-size: 3rem;
    color: var(--clr-primary);
    animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(20px); }
}

/* Story Panels (Split Layout) */
.split-panel {
    display: flex;
    gap: var(--space-8);
    align-items: center;
    height: 80%;
}

.split-panel.reverse {
    flex-direction: row-reverse;
}

.split-media {
    flex: 1;
    position: relative;
    height: 100%;
    max-height: 500px;
    overflow: hidden;
    border: 2px solid var(--clr-border);
}

.panel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.3);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, filter;
    transform: translateZ(0);
}

.split-media:hover .panel-img {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.05);
}

.img-overlay-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--clr-primary);
    color: #000;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 700;
    padding: 8px 20px;
    letter-spacing: 3px;
    z-index: 3;
}

.split-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-year {
    font-family: var(--font-display);
    font-size: clamp(5rem, 8vw, 9rem);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255,255,255,0.15);
    line-height: 1;
    margin-bottom: var(--space-4);
    transition: all 0.5s ease;
}

.split-text:hover .timeline-year {
    -webkit-text-stroke: 2px var(--clr-primary);
    text-shadow: 0 0 60px rgba(255,106,0,0.3);
}

.split-text h3 {
    font-family: var(--font-secondary);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.split-text p {
    font-size: var(--text-base);
    color: var(--clr-text-muted);
    line-height: 1.8;
    max-width: 450px;
}

/* Quote Panel */
.panel-quote {
    background: radial-gradient(ellipse at center, rgba(255,106,0,0.08) 0%, transparent 70%);
}

.panel-quote .panel-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.manifesto-quote {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    color: rgba(255,255,255,0.9);
    border: none;
    padding: 0;
    margin: 0;
}

/* Stats Panel */
.panel-stats .panel-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-8);
    width: 100%;
    max-width: 700px;
}

.stat-card {
    border: 1px solid rgba(255,255,255,0.1);
    padding: var(--space-8);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(0,0,0,0.5);
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--clr-primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.stat-card:hover::before {
    transform: scaleY(1);
}

.stat-card:hover {
    border-color: var(--clr-primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255,106,0,0.2);
}

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 700;
    display: block;
    margin-bottom: var(--space-2);
    position: relative;
    z-index: 1;
    transition: color 0.4s;
}

.stat-card:hover .stat-num {
    color: #000;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: 3px;
    color: var(--clr-text-muted);
    position: relative;
    z-index: 1;
    transition: color 0.4s;
}

.stat-card:hover .stat-label {
    color: #000;
}

/* CTA End Panel */
.panel-cta-end .panel-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-timeline-btn {
    margin-top: var(--space-8);
    font-family: var(--font-secondary);
    font-size: var(--text-lg);
    font-weight: 700;
    letter-spacing: 3px;
    padding: 20px 50px;
    border: 2px solid var(--clr-primary);
    background: transparent;
    color: var(--clr-primary);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.cta-timeline-btn:hover {
    background: var(--clr-primary);
    color: #000;
    transform: translateY(-4px);
    box-shadow: 6px 6px 0 #fff;
}

/* --- Timeline Progress Bar (bottom of viewport) --- */
.timeline-progress {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 600px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    z-index: 100;
}

.timeline-bar {
    height: 100%;
    width: 0%;
    background: var(--clr-primary);
    transition: width 0.15s linear;
    box-shadow: 0 0 15px rgba(255,106,0,0.6);
}

.timeline-dots {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.tl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    transition: all 0.3s;
}

.tl-dot.active {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    box-shadow: 0 0 15px rgba(255,106,0,0.8);
    transform: scale(1.5);
}

.tl-dot::after {
    content: attr(data-year);
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 9px;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.tl-dot.active::after {
    color: var(--clr-primary);
}

/* --- In-viewport reveal animations --- */
.hscroll-panel .panel-inner {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hscroll-panel.in-view .panel-inner {
    opacity: 1;
    transform: translateY(0);
}



/* =========================================
   SECTION DIVIDERS — IMMERSIVE TRANSITIONS
   ========================================= */

.section-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

/* --- DIVIDER 1: Glitch Pulse --- */
.divider-glitch {
    height: 250px;
    background: transparent;
}

.divider-line-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0;
    position: relative;
    z-index: 2;
}

.divider-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-primary), transparent);
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    width: 0%;
    opacity: 0;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.divider-glitch.in-view .divider-line {
    width: 40%;
    opacity: 1;
}

.divider-emblem {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.divider-emblem-inner {
    font-size: 24px;
    color: var(--clr-primary);
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
    filter: drop-shadow(0 0 20px rgba(255, 106, 0, 0.6));
    display: block;
}

.divider-glitch.in-view .divider-emblem-inner {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Pulsing ring behind emblem */
.divider-emblem::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 50%;
    opacity: 0;
    animation: none;
}

.divider-glitch.in-view .divider-emblem::before {
    opacity: 1;
    animation: emblemPulse 2s ease-in-out infinite;
}

@keyframes emblemPulse {
    0% { transform: scale(0.8); opacity: 0.8; border-color: rgba(255, 106, 0, 0.5); }
    50% { transform: scale(1.5); opacity: 0; border-color: rgba(255, 106, 0, 0); }
    100% { transform: scale(0.8); opacity: 0.8; border-color: rgba(255, 106, 0, 0.5); }
}

/* Floating particles */
.divider-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.d-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--clr-primary);
    border-radius: 50%;
    opacity: 0;
}

.divider-glitch.in-view .d-particle {
    animation: particleFly 3s ease-in-out infinite;
}

.d-particle:nth-child(1) { left: 10%; top: 30%; animation-delay: 0s !important; }
.d-particle:nth-child(2) { left: 25%; top: 60%; animation-delay: 0.3s !important; }
.d-particle:nth-child(3) { left: 40%; top: 20%; animation-delay: 0.6s !important; }
.d-particle:nth-child(4) { left: 55%; top: 70%; animation-delay: 0.9s !important; }
.d-particle:nth-child(5) { left: 70%; top: 40%; animation-delay: 1.2s !important; }
.d-particle:nth-child(6) { left: 85%; top: 25%; animation-delay: 1.5s !important; }
.d-particle:nth-child(7) { left: 15%; top: 75%; animation-delay: 1.8s !important; }
.d-particle:nth-child(8) { left: 90%; top: 55%; animation-delay: 2.1s !important; }

@keyframes particleFly {
    0% { opacity: 0; transform: translateY(20px) scale(0); }
    20% { opacity: 1; transform: translateY(0) scale(1); }
    80% { opacity: 1; transform: translateY(-15px) scale(1); }
    100% { opacity: 0; transform: translateY(-30px) scale(0); }
}

/* --- DIVIDER 2: Cinematic Wipe --- */
.divider-cinematic {
    height: 400px;
    background: #000;
    overflow: hidden;
}

.cinematic-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255, 106, 0, 0.06) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 1.5s ease;
}

.divider-cinematic.in-view .cinematic-bg {
    opacity: 1;
}

.cinematic-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 3;
    position: relative;
}

.cinematic-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.c-line {
    display: block;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    width: 0;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.c-line:nth-child(1) { transition-delay: 0.2s; }
.c-line:nth-child(2) { transition-delay: 0.4s; }
.c-line:nth-child(3) { transition-delay: 0.6s; }

.divider-cinematic.in-view .c-line:nth-child(1) { width: 160px; }
.divider-cinematic.in-view .c-line:nth-child(2) { width: 120px; }
.divider-cinematic.in-view .c-line:nth-child(3) { width: 80px; }

.cinematic-text {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 200;
    letter-spacing: 20px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
    white-space: nowrap;
    position: relative;
}

.cinematic-text::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--clr-primary);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s;
}

.divider-cinematic.in-view .cinematic-text {
    opacity: 1;
    transform: translateY(0);
}

.divider-cinematic.in-view .cinematic-text::after {
    transform: translateX(-50%) scaleX(1);
}

/* Wipe curtains */
.cinematic-wipe-left,
.cinematic-wipe-right {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: var(--clr-primary);
    z-index: 4;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1) 0.1s;
}

.cinematic-wipe-left {
    left: 0;
    transform-origin: left center;
    transform: scaleX(0);
}

.cinematic-wipe-right {
    right: 0;
    transform-origin: right center;
    transform: scaleX(0);
}

/* Wipe IN on first visibility (curtain covers), then OUT (reveals) */
.divider-cinematic.wipe-phase-1 .cinematic-wipe-left,
.divider-cinematic.wipe-phase-1 .cinematic-wipe-right {
    transform: scaleX(1);
}

.divider-cinematic.wipe-phase-2 .cinematic-wipe-left {
    transform-origin: right center;
    transform: scaleX(0);
    transition-delay: 0s;
}

.divider-cinematic.wipe-phase-2 .cinematic-wipe-right {
    transform-origin: left center;
    transform: scaleX(0);
    transition-delay: 0s;
}

/* --- DIVIDER 3: Horizon Expand --- */
.divider-horizon {
    height: 350px;
    background: #000;
}

.horizon-grid {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    opacity: 0;
    transition: opacity 1s ease 0.3s;
    z-index: 1;
}

.divider-horizon.in-view .horizon-grid {
    opacity: 1;
}

.horizon-row {
    display: flex;
    justify-content: center;
    gap: 0;
}

.horizon-row span {
    display: block;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.04);
    margin: 15px 0;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.divider-horizon.in-view .horizon-row span {
    width: 20vw;
}

.horizon-row:nth-child(1) span { transition-delay: 0.2s; background: rgba(255, 255, 255, 0.03); }
.horizon-row:nth-child(2) span { transition-delay: 0.4s; background: rgba(255, 255, 255, 0.06); }
.horizon-row:nth-child(3) span { transition-delay: 0.6s; background: rgba(255, 255, 255, 0.03); }

.horizon-center {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.horizon-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(255, 106, 0, 0.15);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.divider-horizon.in-view .horizon-ring {
    opacity: 1;
    transform: scale(1);
    animation: ringPulse 4s ease-in-out infinite;
}

.horizon-ring-2 {
    width: 180px !important;
    height: 180px !important;
    border-color: rgba(255, 106, 0, 0.08) !important;
    transition-delay: 0.7s !important;
    animation-delay: 0.5s !important;
}

.horizon-ring-3 {
    width: 240px !important;
    height: 240px !important;
    border-color: rgba(255, 106, 0, 0.04) !important;
    transition-delay: 0.9s !important;
    animation-delay: 1s !important;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.6; }
}

.horizon-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 8px;
    color: var(--clr-primary);
    text-transform: uppercase;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s;
    position: relative;
    z-index: 3;
}

.divider-horizon.in-view .horizon-label {
    opacity: 1;
    transform: scale(1);
}

/* =========================================
   PORTFOLIO / TRABAJOS
   ========================================= */

.portfolio-section {
    width: 100%;
    padding: 120px 0 80px;
    border-top: 1px solid rgba(255,255,255,0.06);
    position: relative;
}

/* --- Portfolio List --- */
.portfolio-list {
    width: 100%;
    padding: 0 60px;
}

.portfolio-header {
    margin-bottom: 60px;
    padding-top: 20px;
}

.portfolio-header .panel-tag {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(4rem, 10vw, 9rem);
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 0.95;
    color: var(--clr-text);
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.portfolio-header.in-view .panel-tag,
.portfolio-header.in-view .portfolio-main-title {
    opacity: 1;
    transform: translateY(0);
}

/* --- Portfolio Items (Vertical Stack) --- */
.portfolio-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.portfolio-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 160px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(40px);
}

.portfolio-item.in-view {
    opacity: 1;
    transform: none;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 50%);
    pointer-events: none;
    z-index: 0;
}

.portfolio-item:last-child {
    border-bottom: none;
}

.portfolio-item.in-view:hover {
    height: 240px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 106, 0, 0.25);
    transform: translateY(-4px);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.08), 0 20px 40px rgba(0,0,0,0.3);
}

/* Thumbnail reveal */
.pi-img-wrap {
    position: absolute;
    right: 0;
    top: 0;
    width: 0%;
    height: 100%;
    overflow: hidden;
    transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.portfolio-item:hover .pi-img-wrap {
    width: 45%;
}

.pi-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: filter 0.8s ease, transform 0.8s ease;
    transform: scale(1.1);
}

.portfolio-item:hover .pi-img {
    filter: grayscale(0%);
    transform: scale(1);
}

/* Info row */
.pi-info {
    display: flex;
    align-items: baseline;
    gap: 30px;
    padding: 0 20px;
    z-index: 2;
    position: relative;
}

.pi-index {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--clr-primary);
    letter-spacing: 2px;
}

.pi-name {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--clr-text);
    transition: all 0.5s ease;
    text-transform: uppercase;
}

.portfolio-item:hover .pi-name {
    color: var(--clr-primary);
    letter-spacing: 3px;
    font-weight: 700;
}

.pi-type {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.35);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* =========================================
   IMMERSIVE PROJECT OVERLAY
   ========================================= */

.immersive-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    visibility: hidden;
}

.immersive-overlay.active {
    pointer-events: all;
    visibility: visible;
}

/* Curtain — the dramatic entry */
.io-curtain {
    position: absolute;
    inset: 0;
    background: #000;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
}

.immersive-overlay.phase-1 .io-curtain {
    transform: scaleY(1);
}

.immersive-overlay.phase-2 .io-curtain {
    transform: scaleY(1);
}

/* Closing curtain goes up */
.immersive-overlay.closing .io-curtain {
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1) 0.15s;
}

/* Content */
.io-content {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 2;
    opacity: 0;
    background: #000;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.immersive-overlay.phase-2 .io-content {
    opacity: 1;
    pointer-events: all;
    transition: opacity 0.6s ease 0.15s;
}

.immersive-overlay.closing .io-content {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

/* Back Button */
.pd-back, .pd-back-bottom {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--clr-text);
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 14px 30px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 60;
    border-radius: var(--radius-pill);
}

.pd-back {
    position: sticky;
    top: 24px;
    left: 40px;
    z-index: 100;
    margin: 24px 0 0 40px;
}

.pd-back:hover, .pd-back-bottom:hover {
    background: var(--clr-primary);
    color: #000;
    border-color: var(--clr-primary);
}

/* Hero */
.pd-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.pd-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) brightness(0.9);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.pd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.0) 0%,
        rgba(0,0,0,0.2) 40%,
        rgba(0,0,0,0.8) 80%,
        rgba(0,0,0,1) 100%
    );
}

.pd-hero-text {
    position: absolute;
    bottom: 80px;
    left: 60px;
    z-index: 5;
    opacity: 0;
    transform: translateY(40px);
    animation: heroTextIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

@keyframes heroTextIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pd-index {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--clr-primary);
    letter-spacing: 3px;
    display: block;
    margin-bottom: 16px;
}

.pd-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(5rem, 12vw, 12rem);
    font-weight: 200;
    letter-spacing: -5px;
    line-height: 0.85;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.pd-category {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.45);
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Content */
.pd-content {
    padding: 80px 60px;
    max-width: 1000px;
    background: #000;
}

.pd-section {
    margin-bottom: 60px;
}

.pd-meta {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.pd-meta-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pd-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--clr-primary);
    text-transform: uppercase;
}

.pd-value {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
}

.pd-description h3,
.pd-approach h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--clr-primary);
    margin-bottom: 24px;
}

.pd-description p,
.pd-approach p {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.9;
    color: rgba(255,255,255,0.65);
}

/* Gallery */
.pd-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-bottom: 60px;
}

.pd-gallery-img {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.pd-gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(60%);
    transition: all 0.6s ease;
}

.pd-gallery-img:hover img {
    filter: grayscale(0%);
    transform: scale(1.04);
}

/* CTA */
.pd-cta-section {
    text-align: center;
    padding: 40px 0 80px;
}

.pd-back-bottom {
    font-size: 14px;
    padding: 18px 40px;
}

/* =========================================
   PRICING — STICKY SCROLL SECTION
   ========================================= */

.pricing-sticky-wrapper {
    position: relative;
    height: 600vh; /* scroll space: 6 viewports, extra space at end for fade out */
}

.pricing-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video BG */
.pricing-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.pricing-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

/* Sticky Content */
.pricing-sticky-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-header {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3.5rem, 8vw, 8rem);
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 0.95;
    color: var(--clr-text);
    text-transform: uppercase;
    margin-top: 8px;
}

.pricing-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: rgba(255,255,255,0.45);
    letter-spacing: 1px;
    margin-top: 16px;
}

/* Cards Grid */
.pricing-cards-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
}

/* Individual Card */
.ps-card {
    opacity: 0;
    transform: translateY(80px) scale(0.92);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ps-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.ps-card-inner {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05),
                0 30px 60px rgba(0,0,0,0.4);
    border-radius: 24px;
    padding: 36px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ps-card-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%);
    pointer-events: none;
}

.ps-card-inner:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 106, 0, 0.25);
    transform: translateY(-6px);
}

/* Popular Card */
.ps-card-inner.ps-popular {
    background: rgba(255, 106, 0, 0.08);
    border-color: rgba(255, 106, 0, 0.3);
}

.ps-card-inner.ps-popular:hover {
    background: rgba(255, 106, 0, 0.14);
    border-color: var(--clr-primary);
}

/* Custom Card */
.ps-card-inner.ps-custom {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.12);
}

/* Badge */
.ps-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: #000;
    background: var(--clr-primary);
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 16px;
    width: fit-content;
}

/* Tag */
.ps-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--clr-primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

/* Name */
.ps-name {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 4px;
    text-transform: uppercase;
}

/* Description */
.ps-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

/* Price */
.ps-price {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 4px;
}

.ps-price span {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1px;
}

/* Fee */
.ps-fee {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--clr-primary);
    margin-bottom: 24px;
}

/* Specs */
.ps-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 20px;
    margin-top: auto;
}

.ps-specs li {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: rgba(255,255,255,0.55);
    padding: 6px 0;
    padding-left: 18px;
    position: relative;
}

.ps-specs li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--clr-primary);
    font-size: 11px;
}

/* Responsive */
@media (max-width: 900px) {
    .pricing-cards-scroll {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .pricing-cards-scroll {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   CONTACT REVEAL & SCHEDULER (CALENDAR)
   ========================================= */

.final-contact-section {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.final-contact-section.in-view {
    opacity: 1;
    transform: translateY(0);
}

.scheduler-container {
    width: 100%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scheduler-container.active {
    display: block;
    /* opacity and transform handled by timeout in js for smooth intro */
}

.scheduler-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 24px;
    margin-bottom: 30px;
}

.scheduler-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--clr-text);
}

.scheduler-mode {
    display: flex;
    background: rgba(0,0,0,0.4);
    border-radius: 30px;
    padding: 4px;
}

.mode-btn {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    background: transparent;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.mode-btn.active {
    background: var(--clr-primary);
    color: #000;
    font-weight: 700;
}

.scheduler-body {
    display: flex;
    gap: 40px;
}

.scheduler-calendar {
    flex: 1;
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-nav button {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--clr-text);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.calendar-nav button:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}

#cal-month-year {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

.calendar-grid-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 10px;
}

.calendar-grid-header span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--clr-primary);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.cal-day:hover:not(.disabled) {
    border-color: var(--clr-primary);
    background: rgba(255, 106, 0, 0.1);
}

.cal-day.active {
    background: var(--clr-primary);
    color: #000;
    border-color: var(--clr-primary);
    font-weight: 700;
}

.cal-day.disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.scheduler-times {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 40px;
    border-left: 1px solid rgba(255,255,255,0.06);
    max-height: 280px;
    overflow-y: auto;
}

.scheduler-times::-webkit-scrollbar {
    width: 4px;
}
.scheduler-times::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.times-placeholder {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.3);
    text-align: center;
    margin-top: 50%;
}

.time-slot {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 12px;
    color: var(--clr-text);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.time-slot:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}

.time-slot.active {
    background: var(--clr-primary);
    color: #000;
    font-weight: bold;
    border-color: var(--clr-primary);
}

.scheduler-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: none;
    text-align: right;
}

.scheduler-footer.visible {
    display: block;
}

.confirm-btn {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 16px 40px;
    background: var(--clr-primary);
    color: #000;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
}

.confirm-btn:hover {
    box-shadow: 0 0 20px rgba(255, 122, 0, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .scheduler-body {
        flex-direction: column;
    }
    .scheduler-times {
        width: 100%;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.06);
        padding-top: 20px;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .time-slot {
        flex: 1 1 calc(33.333% - 10px);
    }
}

/* Scheduler Multi-Step */
.scheduler-steps-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.scheduler-step {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.scheduler-step.active {
    display: block;
    opacity: 1;
}

.scheduler-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.glass-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 16px;
    color: var(--clr-text);
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    transition: all 0.3s;
    resize: none;
}

.glass-input:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: inset 0 0 10px rgba(255,106,0,0.1);
    background: rgba(255,255,255,0.08);
}

.back-step-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
    margin-right: 20px;
}

.back-step-btn:hover {
    color: var(--clr-primary);
}

.align-left {
    justify-content: flex-start !important;
}

/* =========================================
   NAVBAR LIQUID GLASS & COLLAPSE EFFECT
   ========================================= */

#navInner {
    transition: max-width 0.8s cubic-bezier(0.25, 1, 0.5, 1), background 0.8s ease, border-radius 0.8s ease;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-radius: 999px !important; /* Always fully rounded pill shape */
}

/* Glass effect when scrolled */
.nav-glass {
    background: rgba(10, 10, 10, 0.2) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.05);
}

/* Expanded state (desktop) - snugger max-width to bring borders closer to outer links */
@media (min-width: 768px) {
    #navInner:not(.nav-collapsed) {
        width: 100% !important;
        max-width: 750px !important;
    }
}

/* Collapsed state */
.nav-collapsed {
    width: 180px !important;
    max-width: 180px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    justify-content: center !important;
}

/* Hide links and menu toggle when collapsed */
.nav-collapsed > ul,
.nav-collapsed > #menuToggle {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

/* Show them otherwise */
#navInner:not(.nav-collapsed) > ul,
#navInner:not(.nav-collapsed) > #menuToggle {
    opacity: 1;
    transition: opacity 0.6s 0.1s ease;
}

/* Keep logo ALWAYS centered */
.nav-logo {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}

/* Lock positions to center so they NEVER slide inward - balanced margins to offset right list width */
@media (min-width: 768px) {
    #navInner {
        position: relative;
        min-height: 60px;
    }

    #navInner > ul:nth-of-type(1) {
        position: absolute !important;
        right: 50% !important;
        margin-right: 135px !important; 
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: max-content;
    }

    #navInner > ul:nth-of-type(2) {
        position: absolute !important;
        left: 50% !important;
        margin-left: 105px !important; 
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: max-content;
    }
}

/* ==========================================================================
   MOBILE OVERRIDES (width <= 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Reset custom cursor and enable default system cursor */
    body, a, button, input, textarea, select, li, .carousel-card {
        cursor: auto !important;
    }
    .custom-cursor {
        display: none !important;
    }

    /* 2. Optimize background glows for performance */
    body::before, body::after {
        animation: none !important;
        width: 250px !important;
        height: 250px !important;
        opacity: 0.5 !important;
    }
    body::before {
        top: -50px !important;
        left: -50px !important;
    }
    body::after {
        bottom: -50px !important;
        right: -50px !important;
    }

    /* 3. Mobile Navbar adjustments */
    #navInner {
        width: calc(100vw - 32px) !important;
        max-width: 100vw !important;
        border-radius: 999px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        min-height: 52px !important;
    }
    #navInner.nav-collapsed {
        width: calc(100vw - 32px) !important;
        max-width: 100vw !important;
    }
    #navInner.nav-collapsed > #menuToggle {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    #navInner.nav-collapsed > .logo {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
    }

    /* 4. Zoom Hero text adjustments */
    .zoom-hero-text {
        font-size: clamp(8rem, 35vw, 20rem) !important;
    }
    .zoom-subtitle {
        font-size: 11px !important;
        letter-spacing: 3px !important;
        margin-top: 16px !important;
    }

    /* 5. Canvas and Playground spacing */
    .playground-section {
        padding: var(--space-4) !important;
        min-height: auto !important;
    }
    .canvas-container {
        height: 350px !important;
    }

    /* 6. Section Dividers */
    .divider-glitch {
        height: 150px !important;
    }
    .divider-cinematic {
        height: 250px !important;
    }
    .cinematic-text {
        font-size: 24px !important;
        letter-spacing: 6px !important;
    }
    .divider-horizon {
        height: 200px !important;
    }

    /* 7. Nosotros Horizontal Scroll -> Vertical Layout */
    .hscroll-wrapper {
        height: auto !important;
        margin-top: var(--space-8) !important;
    }
    .hscroll-sticky {
        position: relative !important;
        height: auto !important;
        overflow: visible !important;
    }
    .hscroll-track {
        flex-direction: column !important;
        height: auto !important;
        transform: none !important;
    }
    .hscroll-panel {
        width: 100vw !important;
        height: auto !important;
        padding: 48px 16px !important;
        flex: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .panel-inner {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .hscroll-panel.in-view .panel-inner {
        opacity: 1 !important;
        transform: none !important;
    }
    .split-panel, .split-panel.reverse {
        flex-direction: column !important;
        gap: var(--space-4) !important;
        height: auto !important;
        align-items: stretch !important;
    }
    .split-media {
        width: 100% !important;
        height: 220px !important;
        max-height: 220px !important;
    }
    .split-text {
        width: 100% !important;
        padding-top: 12px;
    }
    .split-text p {
        max-width: 100% !important;
        font-size: 15px !important;
        line-height: 1.6 !important;
    }
    .split-text h3 {
        font-size: 22px !important;
        margin-bottom: 8px !important;
    }
    .panel-title {
        font-size: 32px !important;
        line-height: 1.1 !important;
    }
    .panel-body {
        font-size: 16px !important;
    }
    .scroll-arrow {
        display: none !important;
    }
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin-top: 24px !important;
    }
    .stat-card {
        padding: 24px !important;
    }
    .timeline-progress {
        display: none !important;
    }

    /* 8. Portfolio (Trabajos) Cards */
    .portfolio-list {
        padding: 0 16px !important;
    }
    .portfolio-header {
        margin-bottom: 40px !important;
    }
    .portfolio-main-title {
        font-size: 48px !important;
    }
    .portfolio-items {
        gap: 24px !important;
    }
    .portfolio-item, .portfolio-item.in-view {
        flex-direction: column !important;
        align-items: stretch !important;
        height: auto !important;
        min-height: auto !important;
        border-radius: 16px !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .portfolio-item.in-view:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.3) !important;
        height: auto !important;
    }
    .pi-img-wrap {
        position: relative !important;
        width: 100% !important;
        height: 200px !important;
        right: auto !important;
        top: auto !important;
    }
    .pi-img {
        filter: grayscale(0%) !important;
        transform: scale(1) !important;
    }
    .pi-info {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
        padding: 16px !important;
    }
    .pi-index {
        font-size: 11px !important;
    }
    .pi-name {
        font-size: 28px !important;
        margin: 4px 0 !important;
    }
    .pi-type {
        font-size: 12px !important;
    }

    /* 9. Pricing Section */
    .pricing-sticky-wrapper {
        height: auto !important;
    }
    .pricing-sticky {
        position: relative !important;
        height: auto !important;
        overflow: visible !important;
        padding: 60px 16px !important;
    }
    .pricing-sticky-content {
        padding: 0 !important;
        max-width: 100% !important;
    }
    .pricing-cards-scroll {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        opacity: 1 !important;
    }
    .ps-card {
        opacity: 1 !important;
        transform: none !important;
    }
    .ps-card-inner {
        padding: 28px 20px !important;
        height: auto !important;
    }
    .pricing-header {
        margin-bottom: 30px !important;
    }
    .pricing-title {
        font-size: 44px !important;
    }
    .pricing-sub {
        font-size: 14px !important;
        margin-top: 10px !important;
    }

    /* 10. Contact / Agenda */
    .final-contact-section {
        padding: 80px 16px !important;
    }
    .contact-content {
        gap: 32px !important;
    }
    .contact-massive-title {
        font-size: 32px !important;
        letter-spacing: -1px !important;
    }
    .agenda-btn {
        padding: 16px 32px !important;
        font-size: 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .scheduler-container {
        padding: 20px 16px !important;
        border-radius: 12px !important;
    }
    .scheduler-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
        padding-bottom: 16px !important;
        margin-bottom: 20px !important;
    }
    .scheduler-header h3 {
        font-size: 15px !important;
    }
    .calendar-grid {
        gap: 4px !important;
    }
    .cal-day {
        font-size: 12px !important;
    }
    .time-slot {
        font-size: 12px !important;
        padding: 8px !important;
    }

    /* 11. Standalone Project Page mobile adjustments */
    .project-page-content {
        padding-top: 60px;
    }
    .project-page-content > div[style*="position: absolute; top: 100px; left: 40px;"],
    .project-page-content > div:first-of-type {
        position: absolute !important;
        top: 80px !important;
        left: 16px !important;
    }
    .pd-back {
        padding: 10px 20px !important;
        font-size: 11px !important;
        letter-spacing: 1px !important;
        margin: 0 !important;
    }
    .pd-hero {
        height: 50vh !important;
    }
    .pd-hero-text {
        left: 16px !important;
        bottom: 30px !important;
    }
    .pd-title {
        font-size: 36px !important;
        letter-spacing: -1px !important;
        line-height: 1.0 !important;
    }
    .pd-category {
        font-size: 12px !important;
        letter-spacing: 2px !important;
    }
    .pd-content {
        padding: 40px 16px !important;
    }
    .pd-meta {
        gap: 20px !important;
        padding-bottom: 24px !important;
    }
    .pd-meta-item {
        flex: 1 1 calc(50% - 10px);
    }
    .pd-description h3,
    .pd-approach h3 {
        font-size: 20px !important;
        margin-bottom: 12px !important;
    }
    .pd-description p,
    .pd-approach p {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }
    .pd-gallery-page {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin-top: 30px !important;
    }
    #pd-website-url {
        width: 100% !important;
        text-align: center !important;
        padding: 14px 20px !important;
        box-sizing: border-box !important;
    }
    .pd-back-bottom {
        font-size: 11px !important;
        padding: 12px 24px !important;
        letter-spacing: 1px !important;
    }
}
