:root {
    --bg-color: #050505;
    --text-color: #F8FAFC;
    --accent: #22D3EE;
    --muted: #64748B;
    --border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --page-padding: clamp(1.25rem, 2.5vw, 2.5rem);
    --section-padding: clamp(4rem, 8vw, 8rem);
    --hero-padding-top: clamp(8rem, 12vw, 14rem);
    --cyan: #22D3EE;
    --light: #F8FAFC;

    /* Standardized Fluid Typographic Scale */
    --font-size-massive: clamp(2.8rem, 7.5vw, 7rem);
    --font-size-sub-massive: clamp(2.2rem, 5.5vw, 4.5rem);
    --font-size-title: clamp(1.8rem, 4vw, 3.5rem);
    --font-size-step-title: clamp(1.6rem, 3.5vw, 3rem);
    --font-size-subtitle: clamp(1.2rem, 2.5vw, 1.8rem);
    --font-size-body: clamp(0.95rem, 1.2vw, 1.15rem);
    --font-size-small: clamp(0.7rem, 0.9vw, 0.8rem);
}

/* TEXT REVEAL UTILITIES */
.word-mask {
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
    margin-right: 0.2em;
    padding-bottom: 0.1em;
}

.word-inner {
    display: inline-block;
    transform: translateY(110%) rotate(3deg);
    transform-origin: top left;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.reveal-element.revealed .word-inner {
    transform: translateY(0) rotate(0deg);
}

.reveal-element.revealed .word-mask:nth-child(1) .word-inner {
    transition-delay: 0.05s;
}

.reveal-element.revealed .word-mask:nth-child(2) .word-inner {
    transition-delay: 0.1s;
}

.reveal-element.revealed .word-mask:nth-child(3) .word-inner {
    transition-delay: 0.15s;
}

.reveal-element.revealed .word-mask:nth-child(4) .word-inner {
    transition-delay: 0.2s;
}

.reveal-element.revealed .word-mask:nth-child(5) .word-inner {
    transition-delay: 0.25s;
}

.reveal-element.revealed .word-mask:nth-child(6) .word-inner {
    transition-delay: 0.3s;
}


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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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");
    opacity: 0.02;
    pointer-events: none;
    z-index: 9999;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--page-padding);
}

.container-full {
    max-width: 100%;
    padding: 0 var(--page-padding);
}

/* Header */
.editorial-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    /*mix-blend-mode: difference;*/
    /* Removing difference mode to allow background col */
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle separation */
    transition: var(--transition);
}

.flex-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrap {
    display: flex;
    align-items: center;
    position: relative;
}

.logo-img {
    height: 44px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.logo-img.logo-hover {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
}

@media (hover: hover) {
    .logo-wrap:hover .logo-default {
        opacity: 0;
    }

    .logo-wrap:hover .logo-hover {
        opacity: 1;
    }
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-separator {
    color: var(--muted);
    font-size: 1rem;
    font-weight: 700;
    user-select: none;
}

.nav-item {
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 4px;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--accent);
    transition: var(--transition);
}

@media (hover: hover) {
    .nav-item:hover::after {
        width: 100%;
    }
}

.nav-status {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    border-left: 1px solid var(--border);
    padding-left: 1rem;
    margin-left: 1rem;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
    color: white;
}

/* Hide cloned mobile language toggle on desktop viewports */
.mobile-lang-toggle {
    display: none;
}

/* Hero Section */
.hero-editorial {
    padding: 220px 0 100px;
    min-height: 90vh;
}

.hero-top-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.tag-outline {
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-small-text {
    font-size: 0.8rem;
    color: var(--muted);
    text-align: right;
    line-height: 1.5;
}

.massive-text {
    font-size: var(--font-size-massive);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.05em;
    margin-bottom: clamp(2rem, 4vw, 4rem);
}

.cyan-text {
    color: var(--accent);
}

.hero-bottom-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
}

.intro-p {
    max-width: 500px;
    font-size: var(--font-size-body);
    color: rgba(255, 255, 255, 0.85); /* Unified paragraph style */
    line-height: 1.6;
    font-weight: 400;
}

.btn-circular {
    width: 150px;
    height: 150px;
    border: 1px solid white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: var(--transition);
}

@media (hover: hover) {
    .btn-circular:hover {
        background: white;
        color: black !important;
        transform: scale(1.1);
    }
}

.btn-circular-cyan {
    border: 1px solid rgba(34, 211, 238, 0.4);
    color: var(--accent);
}

@media (hover: hover) {
    .btn-circular-cyan:hover {
        background: var(--accent);
        color: var(--bg-color) !important;
        transform: scale(1.1);
        border-color: var(--accent);
    }
}

.btn-text {
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 900;
}

.btn-icon {
    font-size: 1.5rem;
    margin-top: 5px;
}

/* View All Projects Button */
.btn-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    color: white;
    /* Start white for better visibility */
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    position: relative;
    overflow: hidden;
}

@media (hover: hover) {
    .btn-view-all:hover {
        background: white;
        color: black;
        border-color: white;
        transform: translateY(-2px);
    }
}

.btn-view-all span {
    transition: transform 0.4s ease;
    display: inline-block;
}

@media (hover: hover) {
    .btn-view-all:hover span {
        transform: translateX(5px);
    }
}

/* Marquee */
.marquee-section {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.marquee {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.marquee-content span {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    padding-right: 2rem;
    color: rgba(255, 255, 255, 0.2);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Work Section */
.work-section {
    padding: var(--section-padding) 0;
}

@media (min-width: 1025px) {
    .work-section .container {
        padding-left: calc(var(--page-padding) * 2);
        padding-right: calc(var(--page-padding) * 2);
    }
}

.work-header {
    margin-bottom: 6rem;
}

.sub-massive-text {
    font-size: var(--font-size-sub-massive);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.work-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-item {
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    color: var(--muted);
}

.filter-item.active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(34, 211, 238, 0.05);
}

@media (hover: hover) {
    .filter-item:hover {
        border-color: var(--accent);
        color: var(--accent);
        background: rgba(34, 211, 238, 0.05);
    }
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 4rem;
}

.work-item {
    cursor: pointer;
}

.work-img-wrap {
    width: 100%;
    aspect-ratio: 1.3/1;
    background: #111;
    border-radius: 4px;
    /* More Swiss/Editorial: less rounded */
    overflow: hidden;
    margin-bottom: 1.25rem;
    position: relative;
}

/* Parallax on Images (Reverted) */
.work-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
    filter: grayscale(100%);
}

/* Fix for Hover + Parallax Conflict */
@media (hover: hover) {
    .work-item:hover .work-img-wrap img {
        transform: scale(1.05);
        /* Just scale, no translateY */
        transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
        filter: grayscale(0%);
    }
}

.work-info h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}



.work-info p {
    color: var(--muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
}

/* Method Section - Editorial Refinement */
.method-section {
    padding: var(--section-padding) 0;
    position: relative;
    background: #000;
    overflow: hidden;
}

.method-container {
    position: relative;
    padding-left: 4rem;
    /* More padding */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    /* Centered but with offset */
}

/* Cleaner, thinner timeline */
.timeline-line {
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.05);
    /* Very subtle base line */
}

.timeline-progress {
    width: 100%;
    height: 0%;
    background: var(--accent);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
    transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.8s ease, box-shadow 0.8s ease;
}

.method-step {
    position: relative;
    padding: 6rem 0;
    /* Increase vertical breathing room */
    opacity: 0.2;
    /* Darker inactive state for contrast */
    transform: translateY(40px);
    /* Slide up effect instead of left */
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    gap: 6rem;
    align-items: baseline;
}

.method-step.step-active {
    opacity: 1;
    transform: translateY(0);
}

.step-marker {
    position: absolute;
    left: -3rem; /* Places the marker exactly over the 1rem timeline line (parent has 4rem pl) */
    top: 5.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 0;
}

/* Minimalist Dot */
.step-dot {
    width: 8px;
    height: 8px;
    background: #333;
    border: none;
    border-radius: 50%;
    transition: var(--transition), background 0.5s ease, box-shadow 0.5s ease;
    z-index: 10;
    position: absolute;
    left: 0; /* Dead on the marker */
    transform: translate(-50%, -50%);
}

.step-active .step-dot {
    background: var(--accent);
    transform: translate(-50%, -50%) scale(1.4); /* Keep centering while scaling */
    box-shadow: 0 0 10px var(--accent);
}

/* Editorial Numbers */
.step-num {
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    color: var(--muted);
    position: absolute;
    left: -2.5rem; /* Pushed cleanly left of the timeline */
    top: 50%;
    transform: translateY(-50%);
}

.step-active .step-num {
    color: white; /* Matches high contrast */
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* Massive Editorial Typography */
.step-content h3 {
    font-size: var(--font-size-step-title);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: white;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* Matches new 3D logic */
}

.step-content p {
    font-size: var(--font-size-body);
    color: rgba(255, 255, 255, 0.85); /* Unified paragraph style */
    max-width: 500px;
    line-height: 1.6;
    font-weight: 400;
}

/* About Section */
.about-editorial {
    padding: var(--section-padding) 0;
    border-top: 1px solid var(--border);
}

.grid-split {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 8rem;
    align-items: center;
}

.mood-box {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 4px;
    overflow: hidden;
    background: #111;
}

.mood-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.2);
}

.tag-small {
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 2rem;
}

.cool-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--muted);
    transition: var(--transition);
}

@media (hover: hover) {
    .cool-tag:hover {
        border-color: var(--accent);
        color: var(--accent);
    }
}

.section-title {
    font-size: var(--font-size-massive);
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 3rem;
    letter-spacing: -0.05em;
}

.capabilities {
    list-style: none;
    margin-top: 4rem;
}

.capabilities li {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.capabilities span {
    font-size: 0.7rem;
    color: var(--muted);
}

/* Contact Section */
.contact-editorial {
    padding: var(--section-padding) 0;
    background: #000;
}

.cta-massive-wrap {
    margin-bottom: 80px;
}

.contact-intro {
    font-size: 1.15rem; /* Unified paragraph size */
    color: rgba(255, 255, 255, 0.85); /* Unified paragraph style */
    max-width: 600px;
    margin-top: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Editorial Form */
.editorial-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 6rem;
    max-width: 860px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.form-section:last-of-type,
.form-section:has(+ .form-submit-wrap) {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.form-section-num {
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--cyan);
    letter-spacing: 0.15em;
}

.form-section-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 500;
}

.form-grid-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .form-grid-row {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem;
    }
}

.req {
    color: var(--cyan);
    margin-left: 0.1em;
}

.form-optional {
    color: rgba(255, 255, 255, 0.2);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    font-size: 0.9em;
}

.select-wrap {
    position: relative;
}

.select-wrap select {
    padding-right: 2.5rem;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    transition: color 0.25s ease;
}

.select-wrap:focus-within .select-arrow {
    color: var(--cyan);
}

.select-wrap select option {
    background: #0d0d0d;
    color: var(--light);
}

.form-submit-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 1.5rem;
    width: 100%;
}

.form-helper-text {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 0.8rem;
    letter-spacing: 0.5px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-helper-text.valid {
    color: var(--cyan);
}

/* Premium Form Direct Contact Section */
.form-direct-contact {
    width: 100%;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.direct-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.direct-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.direct-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--light);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.direct-link:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    background: rgba(34, 211, 238, 0.03);
    transform: translateY(-1px);
}

.direct-link svg {
    color: var(--cyan);
    transition: transform 0.3s ease;
}

.direct-link:hover svg {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .form-direct-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    
    .direct-links {
        gap: 1rem;
        width: 100%;
    }
    
    .direct-link {
        width: 100%;
        justify-content: center;
    }
}

.btn-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--cyan);
    color: #050505;
    border: none;
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 1rem 2rem;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

@media (hover: hover) {
    .btn-form-submit:hover {
        background: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(34, 211, 238, 0.2);
    }
}

.btn-form-submit svg {
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .btn-form-submit:hover svg {
        transform: translateX(4px);
    }
}

.form-alt-contact {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.3);
    flex: 1;
}

.form-alt-contact a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 0.05em;
    transition: color 0.2s, border-color 0.2s;
}

@media (hover: hover) {
    .form-alt-contact a:hover {
        color: var(--cyan);
        border-color: var(--cyan);
    }
}

.contact-footer {
    display: flex;
    gap: 8rem;
    border-top: 1px solid var(--border);
    padding-top: 4rem;
}


.contact-col h4 {
    text-transform: uppercase;
    font-size: 0.7rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.contact-col p,
.contact-col a {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    text-decoration: none;
    color: white;
    margin-bottom: 0.5rem;
}

/* Final Footer */
.final-footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}

.flex-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--muted);
}

/* Hamburger Toggle Button */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1100; /* Higher than menu overlay */
    padding: 0;
    margin-left: auto;
}

.burger-bar {
    position: absolute;
    left: 4px;
    width: 24px;
    height: 2px;
    background-color: white;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), top 0.4s, opacity 0.4s;
}

.line-top { top: 9px; }
.line-mid { top: 16px; }
.line-bot { top: 23px; }

/* Active burger state into an X */
.burger-active .line-top {
    transform: rotate(45deg);
    top: 16px;
    background-color: var(--cyan);
}
.burger-active .line-mid {
    opacity: 0;
}
.burger-active .line-bot {
    transform: rotate(-45deg);
    top: 16px;
    background-color: var(--cyan);
}

/* Custom Cursor Mobile Fix */
@media (pointer: coarse) {
    .custom-cursor {
        display: none !important;
    }
}

/* Responsive */
/* Responsive */
@media (max-width: 968px) {
    .marquee-section {
        display: none !important;
    }

    .noise-overlay {
        opacity: 0.045; /* Slightly higher contrast for mobile displays */
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
    }

    .mobile-nav-toggle {
        display: block;
        order: 2;
        margin-left: auto;
        margin-right: 0;
    }

    .logo-wrap {
        width: auto;
        justify-content: flex-start;
        order: 1;
        margin-left: 0;
        margin-right: auto;
    }

    .editorial-header {
        background: rgba(5, 5, 5, 0.9) !important;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 1rem 0;
    }

    .flex-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 var(--page-padding);
        height: auto;
    }

    .nav-status {
        display: none !important;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
        z-index: 1050;
        border-top: none;
        margin-top: 0;
        padding-top: 2rem;
    }

    .mobile-menu-active .nav-menu {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu .nav-item {
        font-size: 1.8rem;
        font-weight: 900;
        letter-spacing: 2px;
        color: white;
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-menu-active .nav-menu .nav-item {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger links fade-in */
    .mobile-menu-active .nav-menu .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .mobile-menu-active .nav-menu .nav-item:nth-child(3) { transition-delay: 0.2s; }
    .mobile-menu-active .nav-menu .nav-item:nth-child(5) { transition-delay: 0.3s; }
    .mobile-menu-active .nav-menu .nav-item:nth-child(7) { transition-delay: 0.4s; }
    .mobile-menu-active .nav-menu .nav-item:nth-child(9) { transition-delay: 0.5s; }

    .nav-separator {
        display: none !important;
    }

    /* Mobile Language Toggle inside menu overlay */
    .mobile-lang-toggle {
        display: flex;
        gap: 1rem;
        margin-top: 2rem;
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1.5rem;
        width: 150px;
        justify-content: center;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease 0.6s, transform 0.5s ease 0.6s;
    }

    .mobile-menu-active .mobile-lang-toggle {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-lang-toggle .lang-btn {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-wrap: nowrap !important;
        gap: 1rem !important;
        justify-content: flex-start;
        width: 100%;
        margin-top: 1.5rem;
    }

    .btn-circular {
        width: clamp(100px, 24vw, 120px) !important;
        height: clamp(100px, 24vw, 120px) !important;
        padding: 0.5rem;
    }

    .btn-circular .btn-text {
        font-size: 0.7rem !important;
        letter-spacing: 0.5px !important;
    }

    .btn-circular .btn-icon {
        font-size: 1.1rem !important;
        margin-top: 2px !important;
    }

    .hero-bottom-info {
        flex-direction: column;
        gap: 3rem;
        align-items: flex-start;
    }

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

    .grid-split {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-text {
        order: 1;
    }

    .about-visual {
        order: 2;
        margin-top: 1rem;
    }

    .method-container {
        padding-left: 0;
    }

    .method-step {
        flex-direction: column;
        gap: 1.5rem;
        padding: 3rem 0;
    }

    .step-marker {
        position: static;
        width: auto;
        height: auto;
        justify-content: flex-start;
        margin-bottom: 0.5rem;
    }

    .step-num {
        position: static !important;
        transform: none !important;
        display: block;
        font-size: 1.1rem;
        font-weight: 900;
        color: var(--cyan) !important;
        margin-bottom: 0.25rem;
        text-shadow: none !important;
    }

    .step-dot {
        display: none;
    }

    .timeline-line {
        display: none;
    }

    .capabilities li {
        font-size: 1rem;
        gap: 1rem;
    }

    /* Contact Form Mobile */
    .contact-side-info {
        display: none !important;
    }

    .form-submit-wrap {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

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

    .editorial-form input[type="text"],
    .editorial-form input[type="email"],
    .editorial-form select,
    .editorial-form textarea {
        font-size: 1rem;
    }
}


/* Custom Cursor Styles */
.custom-cursor {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10001;
    /* Ensure on top of everything */
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border 0.3s, transform 0.1s;
    mix-blend-mode: difference;
    /* Critical for visibility over text */
}

.cursor-active {
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: 1px solid white !important;
    mix-blend-mode: normal !important;
}

.cursor-active.cursor-logo {
    border-color: var(--cyan, #22D3EE) !important;
}

/* Specific for light backgrounds if needed (e.g. white marquee) */
/* But header is dark, so white ring is perfect. */

.cursor-text {
    font-size: 10px;
    font-weight: 900;
    color: white;
    /* Text inside cursor becomes white */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
    white-space: nowrap;
    display: none;
    /* Only for work items */
}

.work-item:hover~.custom-cursor .cursor-text,
.custom-cursor .cursor-text {
    display: block;
    align-items: center;
    justify-content: center;
}

.project-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}

.project-hero-content {
    position: absolute;
    bottom: 4rem;
    left: var(--page-padding);
    color: white;
}

.project-client {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--accent);
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.95);
}

.project-title {
    font-size: var(--font-size-massive);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 2rem;
    text-shadow: 0 10px 50px rgba(0, 0, 0, 1), 0 4px 15px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.9);
}

.project-section {
    padding: var(--section-padding) 0;
}

.project-challenge {
    max-width: 800px;
    margin: 0 auto;
}

.challenge-p {
    font-size: var(--font-size-subtitle);
    line-height: 1.4;
    font-weight: 500;
    color: white;
}

.project-synergy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.synergy-text {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.synergy-gallery {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.synergy-img {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.synergy-img img {
    width: 100%;
    display: block;
}

.project-impact {
    background: #111;
    padding: var(--section-padding) 0;
    margin-top: var(--section-padding);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    text-align: center;
}

/* Next Project Nav */
.next-project-nav {
    background: #000;
    margin-bottom: 0;
    overflow: hidden;
}

.next-project-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 0;
    text-decoration: none;
    color: white;
    background: transparent;
    transition: background 0.4s ease;
}

@media (hover: hover) {
    .next-project-link:hover {
        background: #111;
    }
}

.next-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
    margin-bottom: 1rem;
}

.next-title {
    font-size: var(--font-size-sub-massive);
    font-weight: 900;
    margin: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
    .next-project-link:hover .next-title {
        transform: translateX(20px);
        color: var(--accent);
    }
}

.arrow-icon {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
    .next-project-link:hover .arrow-icon {
        transform: translateX(10px);
    }
}

/* Updated Impact Metrics */
.impact-item h4 {
    font-size: 6rem;
    /* Massive Scale */
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 0.5rem;
    line-height: 1;
}


.impact-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 1px;
}

.project-cta {
    padding: var(--section-padding) 0;
    text-align: center;
}

.cta-title {
    font-size: 4vw;
    font-weight: 900;
    margin-bottom: 2rem;
}

/* Mobile Responsive Adjustments for Project Page */

/* Tablet Specific Adjustments (769px - 1024px) */
@media (max-width: 1024px) {

    .massive-text {
        font-size: 10vw;
        /* Safe size for tablet */
        word-break: break-word;
    }

    .project-title {
        font-size: 8vw;
        word-break: break-word;
        line-height: 1.1;
    }

    .impact-grid {
        gap: 2rem;
    }

    .impact-item h4 {
        font-size: 4rem;
        /* Reduce from 6rem */
    }

    .project-synergy {
        gap: 3rem;
    }

    .cta-title {
        font-size: 6vw;
    }

    .next-title {
        font-size: 6vw;
    }

    .logo-wrap {
        justify-content: flex-start;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .project-hero-content {
        left: var(--page-padding);
        bottom: 3rem;
        right: var(--page-padding);
    }

    .project-synergy {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .synergy-text {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }

    .project-impact {
        padding: 60px 0;
        width: 100%;
    }

    .impact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Premium Reveal Animations */
.reveal-element {
    opacity: 0;
    transform: translateY(40px); /* Clean upward slide */
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Luxurious Image Reveal - Zoom Out Blur */
.synergy-img.reveal-element img,
.project-hero img.reveal-element,
.project-hero.reveal-element img {
    transform: scale(1.1);
    filter: blur(10px);
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), filter 1.5s ease-out;
    will-change: transform, filter;
}

.synergy-img.revealed img,
.project-hero.revealed img {
    transform: scale(1);
    filter: blur(0);
}

/* SERVICES */
.services-impact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-impact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem;
    }
}

.service-impact-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.35s ease, background 0.35s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.service-impact-card:hover,
.service-impact-card.active-scroll {
    transform: translateY(-5px);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.3);
}

.service-web-card:hover,
.service-web-card.active-scroll {
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(34, 211, 238, 0.07));
    border-color: rgba(34, 211, 238, 0.35);
}
.service-systems-card:hover,
.service-systems-card.active-scroll {
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(37, 50, 230, 0.09));
    border-color: rgba(99, 113, 246, 0.4);
}
.service-ecommerce-card:hover,
.service-ecommerce-card.active-scroll {
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(100, 60, 220, 0.09));
    border-color: rgba(160, 100, 250, 0.4);
}
.service-support-card:hover,
.service-support-card.active-scroll {
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(16, 185, 129, 0.09));
    border-color: rgba(16, 185, 129, 0.4);
}

/* Light sweep shimmer on hover */
.service-impact-card::before {
    content: '';
    position: absolute;
    top: 0; left: -150%;
    width: 60%; height: 100%;
    transform: skewX(-20deg);
    z-index: 0;
    pointer-events: none;
}
.service-impact-card:hover::before,
.service-impact-card.active-scroll::before {
    animation: glassShine 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.service-web-card::before { background: linear-gradient(to right, rgba(34,211,238,0) 0%, rgba(34,211,238,0.15) 50%, rgba(34,211,238,0) 100%); }
.service-systems-card::before { background: linear-gradient(to right, rgba(37,50,230,0) 0%, rgba(37,50,230,0.15) 50%, rgba(37,50,230,0) 100%); }
.service-ecommerce-card::before { background: linear-gradient(to right, rgba(160,100,250,0) 0%, rgba(160,100,250,0.15) 50%, rgba(160,100,250,0) 100%); }
.service-support-card::before { background: linear-gradient(to right, rgba(16,185,129,0) 0%, rgba(16,185,129,0.15) 50%, rgba(16,185,129,0) 100%); }

@keyframes glassShine {
    0% { left: -150%; }
    100% { left: 200%; }
}

.service-icon-bg {
    width: 44px;
    height: 44px;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.35s ease, transform 0.35s ease;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.service-icon-bg svg {
    width: 100%;
    height: 100%;
}

.service-web-card:hover .service-icon-bg,
.service-web-card.active-scroll .service-icon-bg { color: rgba(34, 211, 238, 1); transform: scale(1.1); }
.service-systems-card:hover .service-icon-bg,
.service-systems-card.active-scroll .service-icon-bg { color: rgba(99, 113, 246, 1); transform: scale(1.1); }
.service-ecommerce-card:hover .service-icon-bg,
.service-ecommerce-card.active-scroll .service-icon-bg { color: rgba(160, 100, 250, 1); transform: scale(1.1); }
.service-support-card:hover .service-icon-bg,
.service-support-card.active-scroll .service-icon-bg { color: rgba(16, 185, 129, 1); transform: scale(1.1); }

.sic-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sic-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}

.sic-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 1.75rem;
    font-weight: 400;
}

.sic-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
    margin-top: auto;
}

.sic-footer span {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.sic-footer p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
}

.sic-visual-wrap,
.sic-ecommerce-img-wrap,
.sic-visual-icon {
    display: none !important;
}


/* CONTACT SECTION - Form Fields */

.editorial-form .input-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 0;
}

.editorial-form label.field-label {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-form .input-group:focus-within label.field-label {
    color: var(--cyan);
}

.editorial-form input[type="text"],
.editorial-form input[type="email"],
.editorial-form select,
.editorial-form textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    font-family: var(--font-main);
    font-size: 0.95rem;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    width: 100%;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.editorial-form input[type="text"]:hover,
.editorial-form input[type="email"]:hover,
.editorial-form select:hover,
.editorial-form textarea:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.editorial-form input[type="text"]:focus,
.editorial-form input[type="email"]:focus,
.editorial-form select:focus,
.editorial-form textarea:focus {
    border-color: var(--cyan);
    background: rgba(34, 211, 238, 0.04);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.08);
}

.editorial-form input::placeholder,
.editorial-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.editorial-form textarea {
    min-height: 130px;
    resize: none;
    line-height: 1.6;
}

/* Real-Time Input Validation Styling */
.editorial-form .invalid-field {
    border-color: rgba(239, 68, 68, 0.45) !important;
    background: rgba(239, 68, 68, 0.01) !important;
}

.editorial-form .invalid-field:focus {
    border-color: rgba(239, 68, 68, 0.7) !important;
    background: rgba(239, 68, 68, 0.03) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08) !important;
}

.editorial-form .valid-field {
    border-color: rgba(34, 211, 238, 0.3) !important;
    background: rgba(34, 211, 238, 0.01) !important;
}

.editorial-form .valid-field:focus {
    border-color: var(--cyan) !important;
    background: rgba(34, 211, 238, 0.04) !important;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.08) !important;
}

/* Transition validation status colors to field labels */
.editorial-form .input-group:has(.invalid-field) label.field-label {
    color: rgba(239, 68, 68, 0.75) !important;
}

.editorial-form .input-group:has(.valid-field) label.field-label {
    color: rgba(34, 211, 238, 0.6) !important;
}

/* Trust / Logos Section Scrollytelling */
.trust-logos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
    justify-content: center;
}

.trust-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.trust-logo-wrapper img {
    max-width: 140px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%) brightness(200%);
    opacity: 0.4;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
    .trust-logo-wrapper:hover img {
        filter: grayscale(0%) brightness(100%);
        opacity: 1;
        transform: scale(1.05);
    }

    .trust-logo-wrapper.logo-hover-original:hover img {
        filter: none !important;
        opacity: 1 !important;
    }
}

@media (max-width: 768px) {
    .trust-logos-grid {
        gap: 2rem;
    }
    .trust-logo-wrapper img {
        max-width: 100px;
        max-height: 60px;
    }
}

/* PILL BUTTONS */
.btn-pill-cyan {
    display: inline-flex;
    align-items: center;
    background: var(--cyan);
    color: #000;
    text-decoration: none;
    padding: 1.1rem 2.8rem;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

@media (hover: hover) {
    .btn-pill-cyan:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 10px 25px rgba(34, 211, 238, 0.3);
        background: #fff;
    }
}

.btn-pill-cyan .arrow {
    margin-left: 12px;
    font-size: 1.2rem;
    line-height: 1;
}

/* Full width dynamic pill button for contact form */
.btn-form-submit-pill {
    width: 100%;
    background-color: var(--cyan);
    color: #050505;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 100px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

@media (hover: hover) {
    .btn-form-submit-pill:not(:disabled):hover {
        background-color: white;
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(34, 211, 238, 0.3);
    }
}

.btn-form-submit-pill:disabled {
    background-color: #1a1a1a;
    color: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    opacity: 0.75;
}

/* MAIN FOOTER */
.main-footer {
    background: #000;
    padding: clamp(5rem, 9vw, 9rem) 0 clamp(2.5rem, 5vw, 5rem) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0;
}

#contact,
.contact-editorial,
.cta-editorial,
.project-cta {
    background: #000 !important;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.8fr 3.2fr;
    gap: clamp(3rem, 6vw, 6rem);
    margin-bottom: clamp(4rem, 7vw, 7rem);
}

.footer-tagline {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 900;
    line-height: 1.3;
    color: var(--light);
    max-width: 320px;
    letter-spacing: -0.5px;
    opacity: 0.9;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 2rem;
    display: block;
    filter: brightness(1.1);
}

/* Logotipo del Header en Cian */
.logo-svg path[stroke="#ffffff"] {
    stroke: var(--cyan) !important;
    transition: stroke 0.3s ease;
}
.logo-svg g[fill="#ffffff"] {
    fill: var(--cyan) !important;
    transition: fill 0.3s ease;
}

/* Hover del Logotipo del Header */
@media (hover: hover) {
    .logo-wrap:hover .logo-svg path[stroke="#ffffff"] {
        stroke: var(--cyan-hover) !important;
    }
    .logo-wrap:hover .logo-svg g[fill="#ffffff"] {
        fill: var(--cyan-hover) !important;
    }
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
    gap: clamp(2.5rem, 4vw, 4rem);
}

.footer-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 700;
    margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
    display: block;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 1.2vw, 1.25rem);
}

.footer-links a {
    display: inline-block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.4rem 0;
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: fit-content;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--cyan);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
    .footer-links a:hover {
        color: #ffffff;
        transform: translate3d(6px, 0, 0);
    }
    .footer-links a:hover::after {
        transform: scaleX(1);
        transform-origin: left;
    }
}

.footer-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 400;
}

.footer-bottom {
    padding-top: clamp(2rem, 3.5vw, 3.5rem);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.5px;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: clamp(3rem, 5vw, 5rem);
    }

    .footer-nav-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
        gap: clamp(2rem, 4vw, 4rem);
    }

    .footer-tagline {
        max-width: 100%;
        font-size: clamp(1.4rem, 3vw, 1.6rem);
    }
}

@media (max-width: 600px) {
    .footer-nav-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr));
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* ==========================================================================
   CASE STUDY / PROJECT TYPOGRAPHY OVERRIDES
   Ensures that only the first/main title of the page is massive,
   and subsequent section titles maintain a balanced visual hierarchy.
   ========================================================================== */

.project-section .section-title,
.multipum-page .section-title {
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    font-weight: 900;
    text-transform: uppercase;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .project-section .section-title,
    .multipum-page .section-title {
        font-size: 8vw;
    }
}

/* ==========================================================================
   PREMIUM UX/UI EXPANSION COMPONENT STYLES
   ========================================================================== */

/* 1. Hero Morphing Glow */
.hero-glow-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
    height: 70vw;
    max-width: 900px;
    max-height: 900px;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
    opacity: 0.22;
    mix-blend-mode: screen;
}

.hero-glow-bubble {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--cyan) 0%, rgba(37, 50, 230, 0.4) 40%, rgba(0, 0, 0, 0) 70%);
    filter: blur(120px);
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    animation: heroGlowMorph 7s infinite alternate ease-in-out;
}

@keyframes heroGlowMorph {
    0% {
        border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
        transform: translate(-35vw, -8vh) rotate(0deg) scale(0.85);
    }
    50% {
        border-radius: 60% 40% 40% 60% / 50% 60% 40% 50%;
        transform: translate(0vw, 6vh) rotate(180deg) scale(1.25);
    }
    100% {
        border-radius: 50% 50% 50% 50% / 40% 60% 40% 60%;
        transform: translate(35vw, -8vh) rotate(360deg) scale(0.95);
    }
}

.hero-editorial {
    position: relative;
    overflow: hidden;
}
.hero-editorial .container {
    position: relative;
    z-index: 1;
}

/* 2. Testimonials Carousel */
.testimonials-section {
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #000;
}

.testimonials-container {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0 auto;
    padding: 0 3rem;
    text-align: center;
}

.testimonials-slider {
    position: relative;
    min-height: 250px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial-slide.exit {
    opacity: 0;
    transform: translateX(-50px);
}

.testimonial-quote {
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    font-weight: 500;
    line-height: 1.5;
    color: var(--light);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-quote::before {
    content: '“';
    color: var(--cyan);
    font-size: 2.5rem;
    font-family: serif;
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 0.2rem;
}

.testimonial-quote::after {
    content: '”';
    color: var(--cyan);
    font-size: 2.5rem;
    font-family: serif;
    line-height: 0;
    vertical-align: -0.4em;
    margin-left: 0.2rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.btn-nav-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-nav-arrow:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.05);
    transform: scale(1.05);
}

.btn-nav-arrow svg {
    width: 18px;
    height: 18px;
}

/* 3. FAQ Accordion */
.faq-section {
    padding: var(--section-padding) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #000;
}

.faq-container {
    max-width: 850px;
    margin: 4rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease;
}

.faq-row:hover {
    background: rgba(255, 255, 255, 0.01);
}

.faq-trigger {
    width: 100%;
    padding: 1.75rem 1rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.faq-row:hover .faq-trigger {
    color: var(--cyan);
}

.faq-icon-marker {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
    margin-left: 1rem;
    color: var(--muted);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.faq-icon-marker::before,
.faq-icon-marker::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-icon-marker::before {
    top: 9px;
    left: 2px;
    width: 16px;
    height: 2px;
}

.faq-icon-marker::after {
    top: 2px;
    left: 9px;
    width: 2px;
    height: 16px;
}

.faq-row.active .faq-icon-marker {
    transform: rotate(135deg);
    color: var(--cyan);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content-inner {
    padding: 0 1rem 1.75rem 1rem;
    color: var(--muted);
    line-height: 1.6;
    font-size: 1rem;
}

.faq-content-inner p {
    margin-bottom: 1rem;
}
.faq-content-inner p:last-child {
    margin-bottom: 0;
}

/* 4. Budget Simulator Card */
.budget-simulator-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 3.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    transition: all 0.5s ease;
    grid-column: span 1;
    position: relative;
    overflow: hidden;
}

@media (min-width: 969px) {
    .pricing-grid:has(.budget-simulator-card) {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    }
}

.budget-simulator-card:hover {
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 10px 40px rgba(34, 211, 238, 0.05);
}

.sim-features-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex-grow: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-bottom: 2rem;
}

.sim-checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
}

.sim-real-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.sim-custom-checkbox {
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.sim-checkbox-wrap:hover .sim-custom-checkbox {
    border-color: var(--cyan);
}

.sim-real-checkbox:checked + .sim-custom-checkbox {
    background: var(--cyan);
    border-color: var(--cyan);
    color: #000;
}

.sim-custom-checkbox svg {
    width: 12px;
    height: 12px;
    stroke-width: 3px;
}

.sim-indicator {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.sim-result-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.2);
    transition: color 0.3s ease;
}

.sim-timeline-value {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.25rem;
}

.btn-pricing-pill {
    display: block;
    text-align: center;
    padding: 1rem;
    background: var(--cyan);
    border: 1px solid var(--cyan);
    border-radius: 100px;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.25);
}

.btn-pricing-pill:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* 5. Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan) 0%, #2532e6 100%);
    z-index: 9999;
    box-shadow: 0 1px 10px rgba(34, 211, 238, 0.4);
    pointer-events: none;
    transition: width 0.1s ease-out;
}