/* ──────────────────────────────────────────────
   YARVIK STUDIO — Design System
   Aesthetic: Editorial luxury, dark, minimal
   ────────────────────────────────────────────── */

:root {
    /* Colors */
    --c-bg:        #000000;
    --c-surface:   #111111;
    --c-surface-2: #181818;
    --c-border:    rgba(255,255,255,0.07);
    --c-border-2:  rgba(255,255,255,0.12);
    --c-lime:      #d4ff00;
    --c-lime-dim:  rgba(212,255,0,0.12);
    --c-white:     #ffffff;
    --c-muted:     #6b7280;
    --c-muted-2:   #9ca3af;

    /* Typography */
    --f-display: 'Syne', sans-serif;
    --f-body:    'Inter', sans-serif;

    /* Spacing (Extreme Pacing) */
    --space-xs:   0.5rem;
    --space-sm:   1rem;
    --space-md:   2rem;
    --space-lg:   5rem;
    --space-xl:   14rem;
    --space-2xl: 20rem;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --t-fast: 180ms var(--ease);
    --t-med:  350ms var(--ease);
    --t-slow: 600ms var(--ease);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--f-body);
    background-color: var(--c-bg);
    color: var(--c-white);
    line-height: 1.6;
    overflow-x: hidden;
    animation: fadeInPage 0.5s ease forwards;
    -webkit-font-smoothing: antialiased;
}

@keyframes fadeInPage {
    from { opacity: 0; }
    to { opacity: 1; }
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--f-body); border: none; background: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-lime); }

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: var(--f-display);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

input, textarea, select {
    font-family: inherit;
    color: inherit;
}

em {
    font-style: normal;
    color: var(--c-lime);
}

/* ── Utility ── */
.btn-lime {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--c-lime);
    color: #000;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 2px;
    transition: transform 0.1s linear, background-color var(--t-fast), color var(--t-fast);
    border: 1px solid var(--c-lime);
    will-change: transform;
}
.btn-lime:hover {
    background: transparent;
    color: var(--c-lime);
}

.btn-massive {
    font-size: clamp(1rem, 2vw, 1.5rem);
    padding: 1.5rem 3rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--c-muted-2);
    font-size: 0.95rem;
    transition: transform 0.1s linear, color var(--t-fast);
    will-change: transform;
}
.btn-ghost:hover { color: var(--c-white); }

.btn-full { width: 100%; justify-content: center; }

.dot { width: 8px; height: 8px; background: var(--c-lime); border-radius: 50%; display: inline-block; }

/* Section label */
.section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--c-border);
}
.section-label span:first-child { color: var(--c-lime); }

/* ── Reveal Animations & Parallax ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.parallax-wrap {
    overflow: hidden;
}
.parallax-img {
    height: 120%; /* Extra height for scroll space */
    width: 100%;
    object-fit: cover;
    will-change: transform;
    transition: transform 0.1s linear;
}

/* ── UI Extras (Noise, Preloader, Scroll) ── */
.noise-overlay {
    position: fixed; inset: 0; pointer-events: none; z-index: 9999;
    opacity: 0.04; mix-blend-mode: lighten;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.preloader {
    position: fixed; inset: 0; background: var(--c-bg); z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.8s ease-out, visibility 0.8s;
}
.preloader img {
    max-width: 80%; /* ensure it doesn't overflow on small mobile */
    margin: auto;
    display: block;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader__text {
    font-family: var(--f-display); font-size: 2rem; font-weight: 800; color: var(--c-white);
    animation: pulse 1.5s infinite ease-in-out;
}
.preloader__text em { font-style: normal; color: var(--c-lime); }
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.95); }
}

.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; background: var(--c-lime);
    width: 0%; z-index: 10001; transition: width 0.1s linear;
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px var(--c-white);
    transition: color 0.4s var(--ease), -webkit-text-stroke 0.4s var(--ease);
}
.text-outline:hover {
    color: var(--c-lime);
    -webkit-text-stroke: 1px var(--c-lime);
}

/* ── NAV ── */
.nav {
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important;
    width: 100%;
    z-index: 999;
    background: rgba(10,10,10,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--c-border);
    transition: var(--t-med);
}

.nav__inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    height: 68px;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
    z-index: 1000;
}
.nav__logo img {
    height: 36px;
    filter: drop-shadow(0 0 6px rgba(212,255,0,0.3));
}
.nav__logo span {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}
.nav__logo span em { font-style: normal; color: var(--c-lime); }

.nav__links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-left: auto;
}
.nav__links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--c-muted-2);
    transition: var(--t-fast);
    position: relative;
}
.mobile-nav-footer { display: none; }
.nav__links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -3px;
    width: 0; height: 1px;
    background: var(--c-lime);
    transition: var(--t-fast);
}
.nav__links a:hover { color: var(--c-white); }
.nav__links a:hover::after { width: 100%; }

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.nav__cart {
    position: relative;
    color: var(--c-muted-2);
    font-size: 1.1rem;
    padding: 8px;
    border-radius: 2px;
    transition: var(--t-fast);
}
.nav__cart:hover { color: var(--c-white); }

.cart-count {
    position: absolute;
    top: 2px; right: 2px;
    background: var(--c-lime);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    width: 16px; height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.nav__cta {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 0.85rem;
    background: var(--c-lime);
    color: #000;
    padding: 9px 20px;
    border-radius: 2px;
    transition: var(--t-fast);
}
.nav__cta:hover { background: #bde800; }

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 101;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
}
.nav__burger span {
    width: 24px; height: 1.5px;
    background: var(--c-white);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
    display: block;
    transform-origin: center;
}
.nav__burger.open span:nth-child(1) {
    transform: translateY(3.75px) rotate(45deg);
}
.nav__burger.open span:nth-child(2) {
    transform: translateY(-3.75px) rotate(-45deg);
}

/* ── HERO ── */
.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 130px var(--space-md) var(--space-xl) var(--space-md);
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
}

.hero__model {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 50%;
    height: 80%;
    z-index: 1;
    opacity: 0;
    animation: fadeInModel 2s ease forwards 0.5s;
}
@keyframes fadeInModel {
    to { opacity: 1; }
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin-bottom: 2.5rem;
}

.hero__title {
    font-size: clamp(3.5rem, 9vw, 8rem);
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 800;
    margin-bottom: 2rem;
}

.hero__sub {
    max-width: 480px;
    font-size: 1.05rem;
    color: var(--c-muted-2);
    line-height: 1.7;
    margin-bottom: 3rem;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: var(--space-xl);
}

.hero__scroll-hint {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-muted);
    position: absolute;
    bottom: var(--space-lg);
    right: var(--space-md);
}
.scroll-line {
    width: 60px;
    height: 1px;
    background: var(--c-border-2);
    position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--c-lime);
    animation: scrollSlide 2s ease-in-out infinite;
}
@keyframes scrollSlide {
    0%   { left: -100%; }
    50%  { left: 0; }
    100% { left: 100%; }
}

/* ── MARQUEE ── */
.marquee-band {
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
    background-color: var(--c-lime);
}
.marquee-track {
    display: inline-flex;
    gap: 1.5rem;
    animation: marquee 30s linear infinite;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #000;
}
.dot-sep { color: #000; font-weight: 800; }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── PARTNERS ── */
.partners {
    padding-top: var(--space-lg);
    padding-bottom: 0;
}
.partners__grid {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 3rem;
    flex-wrap: wrap;
}
.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}
.partner-logo img {
    max-height: 80px;
    width: auto;
    max-width: 200px;
    filter: brightness(0) invert(1) opacity(0.25);
    transition: filter 0.4s ease, transform 0.4s ease;
    object-fit: contain;
}
.partner-logo:hover img {
    filter: brightness(0) invert(1) opacity(1);
    transform: scale(1.05);
}

/* ── SECTIONS (shared) ── */
section {
    padding: var(--space-xl) var(--space-md);
    max-width: 1320px;
    margin: 0 auto;
}

/* ── SERVICES (Bento Grid) ── */
.services__grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.services__intro h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    position: sticky;
    top: 100px;
}
.services__intro p {
    color: var(--c-muted);
    font-size: 0.95rem;
    position: sticky;
    top: 220px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 280px 240px;
    gap: 0.5rem;
    width: 100%;
}

.bento-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: var(--c-surface-2);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    cursor: pointer;
    border: 1px solid var(--c-border);
    transition: transform var(--t-med), border-color var(--t-fast);
}
.bento-item:hover { border-color: var(--c-lime); }

.bento-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform var(--t-slow);
    filter: grayscale(80%) brightness(0.6);
}
.bento-item:hover .bento-bg {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(0.4);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
    z-index: 2;
}

.bento-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.bento-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
}

.bento-num {
    font-family: var(--f-display);
    font-size: 0.75rem;
    color: var(--c-lime);
    letter-spacing: 0.1em;
}

.bento-item h3 {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 700;
    line-height: 1.1;
    transition: color var(--t-fast);
}
.bento-item:hover h3 { color: var(--c-lime); }

.bento-reveal {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height var(--t-med), opacity var(--t-med), margin-top var(--t-med);
}
.bento-item:hover .bento-reveal {
    max-height: 200px;
    opacity: 1;
    margin-top: 1rem;
}

.bento-reveal p {
    font-size: 0.85rem;
    color: var(--c-muted-2);
    line-height: 1.5;
}

/* Bento Sizing (45-20-15-10 Logic) */
.bento-uv {
    grid-column: span 2;
    grid-row: span 2;
}
.bento-uv h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }

.bento-3d {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-design {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-web {
    grid-column: span 1;
    grid-row: span 1;
}

/* ── WORKS ── */
.works { padding-top: var(--space-xl); }

.works__header {
    margin-bottom: var(--space-lg);
}
.works__header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.works__filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.filter-work {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--c-muted);
    padding: 7px 16px;
    border-radius: 100px;
    border: 1px solid var(--c-border);
    background: transparent;
    transition: var(--t-fast);
    cursor: pointer;
}
.filter-work:hover { color: var(--c-white); border-color: var(--c-border-2); }
.filter-work.active {
    color: #000;
    background: var(--c-lime);
    border-color: var(--c-lime);
}

.works__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    grid-auto-flow: dense;
    gap: 1.25rem;
    padding-bottom: 2rem;
}

.work-item {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid var(--c-border);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), border-color var(--t-fast);
}
.work-item:hover { border-color: var(--c-lime); }

/* Bento Spans */
.work-item.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}
.work-item.bento-wide {
    grid-column: span 2;
    grid-row: span 1;
}
.work-item.bento-tall {
    grid-column: span 1;
    grid-row: span 2;
}

/* Hide filtered out elements */
.work-item.is-hidden {
    display: none !important;
}

@media (max-width: 1024px) {
    .works__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
        gap: 1rem;
    }
    .work-item.bento-large {
        grid-column: span 2;
        grid-row: span 2;
    }
    .work-item.bento-wide {
        grid-column: span 2;
        grid-row: span 1;
    }
    .work-item.bento-tall {
        grid-column: span 1;
        grid-row: span 2;
    }
}

@media (max-width: 640px) {
    .works__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 1rem;
    }
    .work-item, 
    .work-item.bento-large, 
    .work-item.bento-wide, 
    .work-item.bento-tall {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        height: 320px !important;
    }
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow), filter var(--t-med);
    filter: grayscale(80%) contrast(1.1);
}
.work-item:hover img {
    transform: scale(1.04);
    filter: grayscale(0%) contrast(1);
}

.work-item figcaption {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    transform: translateY(100%);
    transition: transform var(--t-med);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.work-item:hover figcaption { transform: translateY(0); }

.work-cat {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-lime);
}
.work-item h4 {
    font-size: 1rem;
    font-weight: 600;
}

/* ── STUDIO ── */
.studio { padding-top: var(--space-xl); border-top: 1px solid var(--c-border); }

/* ── CTA BREAKER ── */
.cta-breaker {
    padding: var(--space-xl) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cta-massive-btn {
    font-family: var(--f-display);
    font-size: clamp(3.5rem, 8vw, 8rem);
    font-weight: 800;
    line-height: 0.9;
    text-align: center;
    color: var(--c-white);
    transition: transform 0.1s linear;
    display: inline-block;
    will-change: transform;
    letter-spacing: -0.04em;
}
.cta-massive-btn:hover { color: var(--c-lime); }

/* ── EL ESTUDIO (SWISS MINIMALIST) ── */
.micro-label {
    display: block;
    font-size: 0.65rem;
    font-family: var(--f-body);
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--c-lime);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.swiss-hero {
    padding: calc(var(--space-xl) * 1.5) var(--space-md) var(--space-xl) var(--space-md);
    border-bottom: 1px solid var(--c-border);
}
.swiss-hero__inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.swiss-hero__text h1 {
    font-family: var(--f-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.swiss-hero__text p {
    font-size: 1.1rem;
    color: var(--c-muted);
    max-width: 80%;
}
.swiss-frame {
    width: 100%;
}
.swiss-frame img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.5s ease;
    /* Soft edge fade */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%),
                        linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%),
                linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-composite: intersect;
}
.swiss-frame:hover img { filter: grayscale(0%); }

/* ── STUDIO SPLIT LAYOUT (SIDE BY SIDE) ── */
.studio-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    max-width: 1500px;
    margin: 0 auto;
    padding: calc(var(--space-xl) * 1) var(--space-md);
    gap: 6rem;
}

.studio-split__left {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 6rem;
    height: max-content;
    z-index: 3;
}

.studio-split__right {
    position: relative;
    z-index: 2;
}

/* Adjust components inside split */
.swiss-hero__text { padding: 0; max-width: 90%; }
.swiss-values__inner { margin-top: 6rem; }

.sv-list {
    list-style: none;
    padding: 0; margin: 0;
}
.sv-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--c-border);
    align-items: start;
}
.sv-item:first-child { border-top: 1px solid var(--c-border); }
.sv-num {
    font-family: var(--f-body);
    font-weight: 600;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--c-muted);
}
.sv-title {
    font-family: var(--f-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--c-white);
    grid-column: 2;
}
.sv-desc {
    font-size: 0.95rem;
    color: var(--c-muted-2);
    grid-column: 2;
}

/* ── EL ESTUDIO (HOVER REVEAL) ── */
.hover-gallery {
    padding: 0;
    position: relative;
    width: 100%;
}
.hg-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}
.hg-mobile-img { display: none; }
.hg-item {
    display: flex;
    align-items: center;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: color var(--t-fast);
}
.hg-item:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
.hg-item:hover { color: var(--c-lime); }
.hg-item:hover .hg-title { color: var(--c-lime); transform: translateX(20px); }
.hg-item:hover .hg-num { color: var(--c-lime); }

.hg-num {
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--c-muted);
    width: 80px;
    transition: var(--t-fast);
}
.hg-title {
    font-family: var(--f-display);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 500;
    flex: 1;
    margin: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color var(--t-fast);
}
.hg-cat {
    font-size: 0.9rem;
    color: var(--c-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--t-fast);
}
.hg-item:hover .hg-cat {
    opacity: 1;
    transform: translateX(0);
}

/* Floating Image */
.hg-floating-img {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 450px;
    aspect-ratio: 4/5;
    pointer-events: none;
    opacity: 0;
    z-index: 1;
    overflow: hidden;
    transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    /* Soft edge fade */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%),
                        linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%),
                linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-composite: intersect;
}
.hg-floating-img.active {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
}
.hg-floating-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
}

/* ── PROCESS ── */
.process {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--c-border);
}

.process__inner {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-lg);
    align-items: start;
}
.process__inner h2 {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    position: sticky;
    top: 100px;
}

.process__steps {
    list-style: none;
    counter-reset: none;
    display: flex;
    flex-direction: column;
}

.process__steps li {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem 0;
    border-bottom: 1px solid var(--c-border);
}
.process__steps li:first-child { border-top: 1px solid var(--c-border); }

.step-n {
    font-family: var(--f-display);
    font-size: 0.75rem;
    color: var(--c-lime);
    letter-spacing: 0.08em;
    flex-shrink: 0;
    margin-top: 4px;
    width: 24px;
}

.process__steps strong {
    display: block;
    font-family: var(--f-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.process__steps p {
    font-size: 0.9rem;
    color: var(--c-muted);
    max-width: 500px;
}

/* ── SHOP ── */
.shop { padding-top: var(--space-xl); }

.shop__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    margin-bottom: var(--space-lg);
    gap: 2rem;
}
.shop__header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}
.shop__header p {
    color: var(--c-muted);
    font-size: 0.95rem;
    max-width: 320px;
}

.shop__filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--c-border);
    padding-bottom: 1.25rem;
}

.filter {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--c-muted);
    padding: 7px 16px;
    border-radius: 2px;
    border: 1px solid transparent;
    transition: var(--t-fast);
}
.filter:hover { color: var(--c-white); border-color: var(--c-border-2); }
.filter.active {
    color: #000;
    background: var(--c-lime);
    border-color: var(--c-lime);
}

.shop__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-md);
}

/* Product Card */
.product-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--c-border);
    transition: border-color var(--t-fast);
}
.product-card:hover { border-color: var(--c-border-2); }

.product-card__img {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--c-surface);
    position: relative;
}
.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}
.product-card:hover .product-card__img img { transform: scale(1.05); }

.product-card__badge {
    position: absolute;
    top: 14px; left: 14px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #000;
    background: var(--c-lime);
    padding: 4px 10px;
}

.product-card__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.5rem;
}
.product-card__body h4 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.product-card__body p {
    font-size: 0.82rem;
    color: var(--c-muted);
    flex-grow: 1;
    line-height: 1.55;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--c-border);
    padding-top: 1rem;
    margin-top: 0.5rem;
}
.product-price {
    font-family: var(--f-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--c-lime);
}
.add-cart-btn {
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid var(--c-border-2);
    color: var(--c-muted-2);
    padding: 7px 14px;
    border-radius: 2px;
    transition: var(--t-fast);
    display: flex;
    align-items: center;
    gap: 6px;
}
.add-cart-btn:hover {
    background: var(--c-lime);
    color: #000;
    border-color: var(--c-lime);
}

/* ── CONTACT ── */
.contact {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--c-border);
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact__left h2 {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    margin-bottom: 1.5rem;
}
.contact__left > p {
    color: var(--c-muted);
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 360px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--c-muted-2);
    transition: var(--t-fast);
}
.contact-link i {
    width: 20px;
    color: var(--c-lime);
    font-size: 1rem;
}
.contact-link:hover { color: var(--c-white); }

.contact__socials {
    display: flex;
    gap: 1.25rem;
}
.contact__socials a {
    font-size: 1.15rem;
    color: var(--c-muted);
    transition: var(--t-fast);
}
.contact__socials a:hover { color: var(--c-lime); }

/* Form */
.form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}
.form__field::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--c-lime);
    transition: width var(--t-med), left var(--t-med);
    pointer-events: none;
}
.form__field:focus-within::after {
    width: 100%;
    left: 0;
}

.form label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-lime);
    transition: color var(--t-fast), transform var(--t-fast);
}
.form__field:focus-within label {
    color: var(--c-white);
    transform: translateY(-2px);
}

.phone-input-container {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid var(--c-border-2);
    width: 100%;
}
.phone-input-container .phone-prefix-box {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--c-white);
    font-family: var(--f-display);
    font-size: 1.3rem;
    font-weight: 500;
    user-select: none;
    padding: 10px 0;
    position: relative;
}
.phone-input-container .phone-prefix-box img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}
.phone-input-container input {
    flex: 1;
    border-bottom: none !important;
}

/* Custom Country Selector Dropdown */
.phone-prefix-box.custom-phone-dropdown {
    position: relative;
    cursor: pointer;
}
.phone-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    width: 100%;
}
.phone-dropdown-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 240px;
    max-height: 280px;
    overflow-y: auto;
    background: #0d0d0d;
    border: 1px solid var(--c-border-2);
    border-radius: 8px;
    padding: 6px 0;
    margin: 0;
    list-style: none;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.phone-dropdown-list.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.phone-dropdown-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--c-muted-2);
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
    text-transform: none; /* Keep original casing for country names */
}
.phone-dropdown-list li:hover {
    background: rgba(212, 255, 0, 0.05);
    color: var(--c-lime);
}
.phone-dropdown-list li.selected {
    background: rgba(212, 255, 0, 0.1);
    color: var(--c-lime);
    font-weight: 700;
}
.phone-dropdown-list li img {
    width: 18px;
    height: auto;
    border-radius: 2px;
}
/* Scrollbar styling for dropdown */
.phone-dropdown-list::-webkit-scrollbar {
    width: 6px;
}
.phone-dropdown-list::-webkit-scrollbar-track {
    background: transparent;
}
.phone-dropdown-list::-webkit-scrollbar-thumb {
    background: var(--c-border-2);
    border-radius: 3px;
}
.phone-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: var(--c-lime);
}

/* Generic Custom Select Dropdown */
.custom-select-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.custom-select-trigger {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 14px;
    cursor: pointer;
    z-index: 2;
    color: var(--c-white);
}
.custom-select-trigger .custom-select-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 14px;
    opacity: 0; /* the native select's option text or floating label handles this usually, but wait, the native select is opacity 0 */
}
.custom-select-trigger i {
    transition: transform 0.2s ease;
    font-size: 0.8rem;
    color: var(--c-muted-2);
}
.custom-select-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    background: #0d0d0d;
    border: 1px solid var(--c-border-2);
    border-radius: 8px;
    padding: 6px 0;
    margin: 0;
    list-style: none;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.custom-select-options.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.custom-select-options li {
    padding: 10px 14px;
    color: var(--c-muted-2);
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
    cursor: pointer;
}
.custom-select-options li:hover {
    background: rgba(212, 255, 0, 0.05);
    color: var(--c-lime);
}
.custom-select-options li.selected {
    background: rgba(212, 255, 0, 0.1);
    color: var(--c-lime);
    font-weight: 700;
}
.custom-select-options::-webkit-scrollbar { width: 6px; }
.custom-select-options::-webkit-scrollbar-track { background: transparent; }
.custom-select-options::-webkit-scrollbar-thumb { background: var(--c-border-2); border-radius: 3px; }
.custom-select-options::-webkit-scrollbar-thumb:hover { background: var(--c-lime); }

.form input, .form select, .form textarea {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--c-border-2);
    color: var(--c-white);
    font-family: var(--f-display);
    font-size: 1.3rem;
    font-weight: 500;
    padding: 10px 0;
    border-radius: 0;
    outline: none;
    transition: border-color var(--t-fast);
}

.form select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23d4ff00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 6 8 10 12 6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 30px;
}

.form select option { background: #0a0a0a; font-family: var(--f-body); font-size: 1rem; color: var(--c-white); }

.form input::placeholder, .form textarea::placeholder { 
    color: var(--c-border-2); 
    font-weight: 400; 
    font-family: var(--f-body); 
    font-size: 1.1rem; 
}

.form input:focus, .form select:focus, .form textarea:focus {
    border-bottom-color: var(--c-lime);
}

.form input:-webkit-autofill,
.form textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 50px var(--c-bg) inset !important;
    -webkit-text-fill-color: var(--c-white) !important;
}

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

/* -- RADIO CARDS -- */
.form__field--services .service-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}
@media (max-width: 600px) {
    .form__field--services .service-cards { grid-template-columns: 1fr; }
}
.service-card {
    position: relative;
    cursor: pointer;
}
.service-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.service-card .card-content {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--c-muted-2);
    transition: all var(--t-fast);
}
.service-card:hover .card-content {
    border-color: var(--c-border-2);
    color: var(--c-white);
}
.service-card input:checked + .card-content {
    border-color: var(--c-lime);
    color: var(--c-bg);
    background: var(--c-lime);
}
.service-card i {
    font-size: 1.1rem;
}

/* -- DROPZONE -- */
.dropzone-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px dashed var(--c-border-2);
    border-radius: 4px;
    background: rgba(255,255,255,0.02);
    transition: border-color var(--t-fast), background var(--t-fast);
}
.dropzone-wrapper:focus-within {
    border-color: var(--c-lime);
    border-style: solid;
    background: transparent;
}
.dropzone-wrapper i {
    color: var(--c-muted);
    font-size: 1.4rem;
    transition: color var(--t-fast);
}
.dropzone-wrapper:focus-within i {
    color: var(--c-lime);
}
.dropzone-wrapper input {
    flex-grow: 1;
    border: none !important;
    padding: 0 !important;
    font-size: 1rem !important;
}

/* -- VALIDATION STATES -- */
.form__field.is-valid::after { background: #4caf50; width: 100%; left: 0; }
.form__field.is-valid label { color: #4caf50; }
.form__field.is-valid input, .form__field.is-valid textarea { border-bottom-color: #4caf50; }

.form__field.is-invalid::after { background: #f44336; width: 100%; left: 0; }
.form__field.is-invalid label { color: #f44336; }
.form__field.is-invalid input, .form__field.is-invalid textarea { border-bottom-color: #f44336; }

/* -- ABSTRACT VISUAL (CONTACT) -- */
.contact__abstract {
    position: relative;
    width: 100%;
    height: 300px;
    margin-top: 3rem;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 900px) {
    .contact__abstract { display: none; }
}

.cube-container {
    perspective: 800px;
}
.cube {
    width: 120px;
    height: 120px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 15s infinite linear;
}
.face {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 1px solid var(--c-lime);
    background: rgba(212, 255, 0, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.front  { transform: translateZ(60px); }
.back   { transform: rotateY(180deg) translateZ(60px); }
.right  { transform: rotateY(90deg) translateZ(60px); }
.left   { transform: rotateY(-90deg) translateZ(60px); }
.top    { transform: rotateX(90deg) translateZ(60px); }
.bottom { transform: rotateX(-90deg) translateZ(60px); }

@keyframes rotateCube {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(180deg); }
}

/* -- BUTTON LOADING STATE -- */
#btn-submit {
    position: relative;
    overflow: hidden;
}
#btn-submit .fa-spinner {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
    transition: var(--t-fast);
}
#btn-submit.loading .btn-text, #btn-submit.loading .btn-icon {
    opacity: 0;
}
#btn-submit.loading .fa-spinner {
    opacity: 1;
    visibility: visible;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── MODAL ── */
body.modal-blur-active > *:not(.modal):not(.cart-drawer):not(#overlay) {
    filter: blur(10px);
    pointer-events: none;
    user-select: none;
}
.modal {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--t-med);
}
.modal.open {
    opacity: 1;
    visibility: visible;
}
.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,0.8);
    backdrop-filter: blur(5px);
}
.modal__content {
    position: relative;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    padding: 3rem 2rem;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    z-index: 2;
    transform: translateY(20px);
    transition: var(--t-med);
}
.modal.open .modal__content {
    transform: translateY(0);
}
.modal__close {
    position: absolute;
    top: 15px; right: 15px;
    color: var(--c-muted);
    font-size: 1.2rem;
    cursor: pointer;
    background: none; border: none;
    transition: color var(--t-fast);
}
.modal__close:hover { color: var(--c-white); }
.modal__icon {
    font-size: 3rem;
    color: var(--c-lime);
    margin-bottom: 1.5rem;
}
.modal__content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.modal__content p {
    color: var(--c-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

/* ── CART DRAWER ── */
.cart-drawer {
    position: fixed;
    top: 0; right: 0;
    width: min(420px, 100vw);
    height: 100%;
    background: #0e0e0e;
    border-left: 1px solid var(--c-border-2);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--t-med);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer__header {
    padding: 1.5rem var(--space-md);
    border-bottom: 1px solid var(--c-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-drawer__header h4 {
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}
#close-cart {
    color: var(--c-muted);
    font-size: 1.25rem;
    transition: var(--t-fast);
}
#close-cart:hover { color: var(--c-white); }

.cart-drawer__items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cart-empty {
    text-align: center;
    color: var(--c-muted);
    font-size: 0.9rem;
    margin-top: 3rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 1rem;
    align-items: center;
    border-bottom: 1px solid var(--c-border);
    padding-bottom: 1.25rem;
}
.cart-item img {
    width: 64px; height: 64px;
    object-fit: cover;
}
.cart-item__name {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 3px;
}
.cart-item__price {
    font-size: 0.8rem;
    color: var(--c-lime);
    font-weight: 700;
    font-family: var(--f-display);
}
.cart-item__qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}
.qty-btn {
    width: 22px; height: 22px;
    border: 1px solid var(--c-border-2);
    color: var(--c-white);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    transition: var(--t-fast);
}
.qty-btn:hover { border-color: var(--c-lime); color: var(--c-lime); }
.qty-val { font-size: 0.85rem; font-weight: 600; min-width: 16px; text-align: center; }

.cart-remove {
    color: #555;
    font-size: 0.9rem;
    transition: var(--t-fast);
    align-self: flex-start;
}
.cart-remove:hover { color: #ff4f4f; }

.cart-drawer__footer {
    padding: 1.5rem var(--space-md);
    border-top: 1px solid var(--c-border);
}
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.85rem;
    color: var(--c-muted);
    margin-bottom: 0.75rem;
}
.cart-total strong {
    font-family: var(--f-display);
    font-size: 1.3rem;
    color: var(--c-lime);
}
.cart-name-input {
    width: 100%;
    margin-bottom: 0.75rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--c-border-2);
    color: var(--c-white);
    padding: 8px 0;
    font-family: var(--f-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--t-fast);
}
.cart-name-input:focus { border-color: var(--c-lime); }

.cart-note {
    font-size: 0.72rem;
    color: var(--c-muted);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    z-index: 190;
    display: none;
}
.overlay.open { display: block; }

/* ── FOOTER ── */
.footer {
    background: linear-gradient(to bottom, var(--c-bg) 0%, var(--c-lime) 70%);
    color: #000;
    padding: 4rem var(--space-md) 2.5rem var(--space-md);
    margin-top: 0;
}
.footer__inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer__brand img {
    height: 30px;
}
.footer__brand span {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 1rem;
}
.footer__brand span em { font-style: normal; color: var(--c-lime); }

.footer__copy {
    font-size: 0.78rem;
    color: rgba(0,0,0,0.8);
    margin-left: auto;
    font-weight: 600;
}

.footer__links {
    display: flex;
    gap: 2rem;
}
.footer__links a {
    font-size: 0.78rem;
    color: #000;
    font-weight: 700;
    transition: var(--t-fast);
}
.footer__links a:hover { color: rgba(0,0,0,0.5); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: 1fr;
    }
    .services__intro h2,
    .services__intro p { position: static; }

    .partners__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
        justify-items: center;
    }
    .partner-logo img {
        max-width: 120px;
        max-height: 50px;
    }

    .swiss-hero__inner { grid-template-columns: 1fr; gap: 2rem; }
    .swiss-hero__text p { max-width: 100%; }
    .sv-item { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.5rem 0; }
    .studio-split {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding-top: var(--space-xl);
    }
    .studio-split__left {
        position: static;
        height: auto;
    }
    .swiss-hero__text { max-width: 100%; }
    .swiss-values__inner { margin-top: 2rem; }
    
    /* Mobile Sticky Stack Gallery */
    .hg-list { padding-top: 2rem; }
    .hg-item { 
        padding: 2rem !important; 
        flex-direction: column; 
        justify-content: flex-end; 
        align-items: flex-start; 
        height: 65vh; 
        border-radius: 1rem; 
        border: 1px solid rgba(255,255,255,0.1); 
        overflow: hidden; 
        margin-bottom: 2rem; 
        background: var(--c-bg); 
        position: sticky; 
        box-shadow: 0 -20px 40px rgba(0,0,0,0.8);
    }
    .hg-mobile-img { 
        display: block; 
        position: absolute; 
        top: 0; left: 0; 
        width: 100%; height: 100%; 
        z-index: -1; 
    }
    .hg-mobile-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(40%); }
    .hg-mobile-img::after { 
        content: ''; position: absolute; inset: 0; 
        background: linear-gradient(to top, var(--c-bg) 0%, transparent 70%); 
    }
    
    .hg-title { font-size: 2.2rem; transform: none !important; margin-bottom: 0.2rem; color: var(--c-white); z-index: 2;}
    .hg-cat { opacity: 1; transform: none; color: var(--c-lime); font-weight: 600; z-index: 2;}
    .hg-num { position: absolute; top: 1.5rem; right: 1.5rem; color: var(--c-white); width: auto; font-size: 1.2rem; z-index: 2;}
    
    /* Staggered sticky tops */
    .hg-item:nth-child(1) { top: 90px; }
    .hg-item:nth-child(2) { top: 110px; }
    .hg-item:nth-child(3) { top: 130px; }
    .hg-item:nth-child(4) { top: 150px; }
    .hg-item:nth-child(5) { top: 170px; }
    .hg-item:nth-child(6) { top: 190px; }
    .hg-item:nth-child(7) { top: 210px; }
    .hg-item:nth-child(8) { top: 230px; }

    .hg-floating-img { display: none !important; }

    .process__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .process__inner h2 { position: static; }

    .contact__inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

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

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .bento-uv, .bento-3d, .bento-design, .bento-web {
        grid-column: span 1;
        grid-row: span 1;
        height: 280px;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 8rem;
    }

    .nav__links { display: none; }
    
    .nav__links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        height: 100svh;
        background: rgba(5,5,5,0.9);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        padding: 100px 2rem 3rem 2rem;
        gap: 1.5rem;
        border: none;
        z-index: 90;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s;
        overflow-y: auto; /* Prevent overflow if screen is very short */
    }
    
    .nav__links.open { opacity: 1; visibility: visible; }
    
    .nav__links a {
        font-family: var(--f-display);
        font-size: clamp(3rem, 12vw, 4.5rem);
        font-weight: 700;
        color: var(--c-white);
        line-height: 1;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
    
    .nav__links.open a {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav__links.open a:nth-child(1) { transition-delay: 0.1s; }
    .nav__links.open a:nth-child(2) { transition-delay: 0.15s; }
    .nav__links.open a:nth-child(3) { transition-delay: 0.2s; }
    .nav__links.open a:nth-child(4) { transition-delay: 0.25s; }
    .nav__links.open a:nth-child(5) { transition-delay: 0.3s; }
    
    .mobile-nav-footer { 
        display: flex; 
        flex-direction: column; 
        gap: 0.5rem; 
        margin-top: auto; 
        opacity: 0; 
        transition: opacity 0.5s ease;
    }
    .nav__links.open .mobile-nav-footer { 
        opacity: 1; 
        transition-delay: 0.4s; 
    }
    .mobile-nav-footer p, .mobile-nav-footer a { 
        font-family: var(--f-body); 
        font-size: 0.85rem; 
        color: var(--c-muted); 
        text-transform: uppercase; 
        letter-spacing: 0.05em; 
        line-height: 1.4; 
        font-weight: 500;
        transform: none !important;
        opacity: 1 !important;
        margin: 0;
    }
    .mobile-nav-footer a { color: var(--c-lime); text-decoration: none; margin-top: 1rem; }

    .nav__cta { display: none; }
    .nav__burger { display: flex; z-index: 101; }
    .nav__actions { margin-left: auto; }
    .nav__inner { justify-content: space-between; gap: 1rem; width: auto; }

    .hero__title { font-size: clamp(3rem, 12vw, 4rem); }
    .hero__model {
        width: 100%;
        right: 0;
        top: 0;
        height: 100vh;
        opacity: 0.15;
        z-index: 0;
    }

    .works__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }
    .work-item--large { grid-column: span 1; grid-row: span 1; }
    
    .sg-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer__inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
    .footer__copy { margin-left: 0; }

    .cta-massive-btn {
        font-size: clamp(2rem, 12vw, 3.5rem);
        padding: 0 1rem;
        word-wrap: break-word;
        white-space: normal;
    }

    .btn-massive {
        padding: 1rem 2rem;
        width: auto !important;
        max-width: fit-content;
        text-align: center;
        flex: 0 0 auto;
    }
}

/* =====================================================
   Yarvik Studio — Service Detail Sections
   Premium alternate split layout, spec list, transitions
   ===================================================== */
.service-detail {
    padding: var(--space-xl) var(--space-md);
    border-top: 1px solid var(--c-border);
    max-width: 1320px;
    margin: 0 auto;
    background: var(--c-bg);
}

.service-detail__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-lg);
    align-items: center;
}

/* Alternate Layouts via Modifier */
.service-detail--reverse .service-detail__grid {
    direction: rtl; /* Flip columns */
}
.service-detail--reverse .service-detail__content {
    direction: ltr; /* Reset text direction inside content */
}
.service-detail--reverse .service-detail__media {
    direction: ltr; /* Reset text direction inside media */
}

.service-detail__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-detail__num {
    font-family: var(--f-display);
    font-size: 0.8rem;
    color: var(--c-lime);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.service-detail__title {
    font-size: clamp(2.3rem, 4.5vw, 3.8rem);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.service-detail__desc {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--c-muted-2);
}

.service-specs {
    margin: 1rem 0 2rem 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.service-specs li {
    position: relative;
    padding-left: 1.8rem;
    font-size: 0.92rem;
    color: var(--c-white);
    line-height: 1.4;
    transition: transform var(--t-fast);
}

.service-specs li:hover {
    transform: translateX(5px);
}

.service-specs li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--c-lime);
    font-weight: 700;
}

.service-detail__media {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    width: 100%;
}

.service-detail__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow), filter var(--t-med);
    filter: grayscale(40%) contrast(1.05);
}

.service-detail__media:hover img {
    transform: scale(1.03);
    filter: grayscale(0%) contrast(1);
}

/* Custom 3D Model Container */
.service-detail__model {
    width: 100%;
    height: 100%;
    min-height: 380px;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .service-detail {
        padding: var(--space-lg) var(--space-md);
    }
    .service-detail__grid {
        gap: 3rem;
    }
    .service-specs {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
}

@media (max-width: 768px) {
    .service-detail {
        padding: var(--space-lg) var(--space-md);
    }
    .service-detail__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .service-detail--reverse .service-detail__grid {
        direction: ltr; /* Reset to normal stack order on mobile */
    }
    .service-detail__title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }
    .service-detail__media {
        aspect-ratio: 4 / 3;
    }
    .service-detail__model {
        min-height: 300px;
    }
}

/* Standalone Service Pages Helper */
.service-page {
    padding-top: 140px; /* Clear navbar spacing */
    padding-bottom: var(--space-xl);
    min-height: 80vh;
}
.service-page .service-detail {
    border-top: none !important;
    padding: 0 var(--space-md) !important;
}

@media (max-width: 1024px) {
    .service-page {
        padding-top: 110px;
        padding-bottom: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .service-page {
        padding-top: 90px;
        padding-bottom: var(--space-lg);
    }
}

/* ==========================================================================
   BREIFING PREMIUM UI/UX IMPROVEMENTS
   ========================================================================== */

/* 1. Clickable step progress dots */
.step-dot.active, .step-dot.completed {
    cursor: pointer !important;
}

/* 2. Live Brand Preview Mockup Card */
.brand-preview-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 0 20px rgba(255,255,255,0.02);
}
.brand-preview-card::before {
    content: 'PREVISUALIZACIÓN DE MARCA EN VIVO';
    position: absolute;
    top: 10px;
    left: 14px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--c-lime);
}
.brand-preview-display-text {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0;
    line-height: 1.1;
    color: #fff;
    min-height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: font-family 0.3s ease;
}
.brand-preview-palette-swatches {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}
.brand-preview-palette-swatches span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* 3. Interactive Budget Selector (Chips + Slider) */
.budget-presets {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.budget-chip {
    flex: 1;
    min-width: 120px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--c-border-2);
    border-radius: 8px;
    padding: 10px;
    color: var(--c-muted-2);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.budget-chip:hover {
    border-color: rgba(212,255,0,0.4);
    color: #fff;
}
.budget-chip.active {
    background: rgba(212,255,0,0.06);
    border-color: var(--c-lime);
    color: var(--c-lime);
    box-shadow: 0 0 10px rgba(212,255,0,0.1);
}
.budget-slider-wrapper {
    margin-top: 1.5rem;
}
.budget-slider-wrapper input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.07);
    border-radius: 3px;
    outline: none;
}
.budget-slider-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--c-lime);
    cursor: pointer;
    box-shadow: 0 0 12px rgba(212,255,0,0.6);
    transition: transform 0.15s ease;
}
.budget-slider-wrapper input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}
.budget-slider-value {
    font-family: var(--f-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--c-lime);
    margin-top: 0.75rem;
    display: block;
    text-align: right;
}

/* 4. Estimated Delivery Date Widget */
.delivery-date-widget {
    background: rgba(212,255,0,0.03);
    border: 1px solid rgba(212,255,0,0.15);
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.delivery-date-widget .widget-icon {
    font-size: 1.8rem;
    color: var(--c-lime);
    background: rgba(212,255,0,0.08);
    width: 52px;
    height: 52px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212,255,0,0.2);
}
.delivery-date-widget .widget-text {
    flex: 1;
}
.delivery-date-widget .widget-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--c-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}
.delivery-date-widget .widget-date {
    font-family: var(--f-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}
.delivery-date-widget .widget-subtext {
    font-size: 0.75rem;
    color: var(--c-muted-2);
    margin-top: 1px;
}

