/* 
   FRONT PAGE STYLES - Hero, Manifesto, Vision, Services
   Loading: Only on front-page.php
*/

/* === GLOBAL PAGE BACKGROUND (matches Kontakt page) === */
body {
    background: #1C222E !important;
}

/* Noise overlay removed - was causing animation effect */

/* === SECTION SEPARATORS === */
.section-separator {
    width: 100%;
    max-width: 1200px;
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(198, 123, 92, 0.3) 20%,
            rgba(198, 123, 92, 0.5) 50%,
            rgba(198, 123, 92, 0.3) 80%,
            transparent 100%);
    position: relative;
    z-index: 50;
}

/* Subtle glow effect */
.section-separator::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 20%;
    right: 20%;
    height: 5px;
    background: radial-gradient(ellipse at center, rgba(198, 123, 92, 0.15) 0%, transparent 70%);
    filter: blur(3px);
}

/* === HERO SECTION === */
.elementor-section,
.elementor-column,
.elementor-widget-container {
    overflow: visible !important;
}

.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #050505 !important;
    overflow: visible !important;
    z-index: 1;
    isolation: isolate;
}

/* Bottom gradient blend */
/* Bottom gradient blend removed as requested */

/* Hero Video - Full section background (optimized) */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Performance optimizations */
    will-change: auto;
    transform: translateZ(0);
}

/* Warm overlay restored */
/* Bottom gradient only, removing full overlay & grain */
.hero-video-wrapper::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    top: auto;
    bottom: 0;
    height: 30%;
    background: linear-gradient(to top, #050505 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

@keyframes blobMorph {

    0%,
    100% {
        border-radius: 60% 40% 55% 45% / 55% 60% 40% 45%;
    }

    25% {
        border-radius: 45% 55% 60% 40% / 40% 55% 45% 60%;
    }

    50% {
        border-radius: 55% 45% 40% 60% / 60% 40% 55% 45%;
    }

    75% {
        border-radius: 40% 60% 45% 55% / 45% 55% 60% 40%;
    }
}

/* Hero Content */
.hero-content {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    text-align: left;
    max-width: 50%;
    isolation: isolate;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    font-family: var(--font-head) !important;
    font-size: clamp(4rem, 14vw, 16rem) !important;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
}

.line-wrapper {
    display: block;
    overflow: visible;
    line-height: 1.0;
}

.hero-line-1 {
    display: block;
    transform: translateY(5%);
    position: relative;
    z-index: 1;
    /* Outline text effect - explicit for production */
    color: transparent !important;
    -webkit-text-stroke: 1.5px var(--text-main) !important;
    -webkit-text-stroke: 1.5px #E8E0D5 !important;
    text-stroke: 1.5px #E8E0D5 !important;
}

.hero-line-2 {
    display: block;
    color: var(--text-main);
    transform: translateY(-5%);
    position: relative;
    z-index: 2;
}

.subtitle-wrapper {
    position: absolute;
    bottom: 55px;
    left: 40px;
    margin-top: 0;
    z-index: 100;
    isolation: isolate;
}

.hero-subtitle {
    font-family: var(--font-body);
    color: var(--accent);
    font-size: clamp(0.7rem, 1.2vw, 1rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
    padding-left: 0.5em;
}

/* HUD Elements */
.location-hud-top {
    position: absolute;
    top: 10% !important;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 20;
    mix-blend-mode: difference;
    isolation: isolate;
}

.status-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulsing-dot {
    width: 6px;
    height: 6px;
    background-color: #00FF94;
    border-radius: 50%;
    box-shadow: 0 0 10px #00FF94;
    animation: pulse 2s infinite;
}

.status-text {
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--secondary);
    text-transform: uppercase;
}

.city-text {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--text-main);
    text-transform: uppercase;
}

.coords-display {
    position: absolute;
    bottom: 15px;
    left: 40px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    line-height: 1.6;
    color: var(--text-main);
    opacity: 0.9;
    z-index: 100;
    border-left: 1px solid var(--line-color);
    padding-left: 15px;
}

.coord-label {
    color: var(--accent);
    margin-right: 5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 0px !important;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    z-index: 10;
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--secondary), transparent);
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.4;
        filter: brightness(1);
    }

    50% {
        opacity: 1;
        filter: brightness(1.3);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

/* Mobile Hero - Full-screen video background with text at bottom */
@media (max-width: 768px) {
    .hero-section {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        padding: 0 20px 30px;
        padding-top: 55vh;
        /* Push content to bottom */
        min-height: 85vh;
        height: 85vh;
        overflow: hidden;
    }

    /* Video as full-screen background */
    .hero-video-wrapper {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        transform: none !important;
        width: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
        opacity: 0.85;
        z-index: 1;
    }

    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-content {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100%;
        max-width: 100% !important;
        padding: 0;
        text-align: left !important;
        z-index: 10;
    }

    .hero-title {
        font-size: clamp(3.2rem, 17vw, 6rem) !important;
        width: 100% !important;
        text-align: left !important;
        line-height: 0.95 !important;
        align-items: flex-start !important;
    }

    .line-wrapper {
        text-align: left !important;
    }

    .subtitle-wrapper {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        margin-top: 30px;
    }

    .hero-subtitle {
        font-size: 0.85rem !important;
        letter-spacing: 0.2em !important;
        text-align: left !important;
        padding-left: 0;
    }

    .location-hud-top {
        display: none !important;
    }

    .coords-display {
        display: none !important;
    }

    .hero-section::after {
        display: none;
    }
}

/* === MANIFESTO SECTION === */
.manifesto-section {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    padding: 12vh 5vw 8vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    /* Solid background for seamless section transitions */
    background: #1C222E;
}

/* Grain overlay behind content (z-index: 0 = behind text/images) */
.manifesto-section::before,
.nasza-oferta-section::before,
.process-section::before,
.vision-teaser-section::before {
    content: '';
    position: absolute;
    inset: 0;
    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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.015;
    pointer-events: none;
    z-index: -1;
}

/* Floating Orbs */
.manifesto-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.4;
}

.manifesto-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: 30%;
    right: -10%;
    animation: orbFloat 20s ease-in-out infinite;
}

.manifesto-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(176, 112, 84, 0.4) 0%, transparent 70%);
    bottom: 20%;
    left: -5%;
    animation: orbFloat 25s ease-in-out infinite reverse;
}

.manifesto-orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(198, 123, 92, 0.6) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation: orbFloat 15s ease-in-out infinite;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -20px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 30px) scale(0.95);
    }

    75% {
        transform: translate(20px, 10px) scale(1.05);
    }
}

.manifesto-statement {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 80px;
}

.statement-label {
    display: block;
    font-family: var(--font-head);
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 30px;
    opacity: 0.8;
}

.statement-title {
    font-family: var(--font-head);
    font-size: clamp(3rem, 10vw, 10rem) !important;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    color: transparent !important;
    -webkit-text-stroke: 1px var(--text-main) !important;
    text-stroke: 1px var(--text-main) !important;
    margin: 0;
    /* Fix text-stroke rendering artifacts */
    paint-order: stroke fill;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.statement-title .line-reveal {
    display: block;
    font-family: inherit !important;
}

.statement-title .accent-line {
    color: var(--accent);
    -webkit-text-stroke: 0 !important;
    text-stroke: 0 !important;
    font-style: italic;
}

.manifesto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.manifesto-desc {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.desc-text {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.3vw, 1.3rem);
    line-height: 1.7;
    color: rgba(232, 224, 213, 1);
}

@media (max-width: 992px) {
    .manifesto-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* === NASZA OFERTA SECTION === */
.nasza-oferta-section {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    /* Solid background for seamless transitions */
    background: #1C222E;
    overflow: hidden;
}

/* Grain/blend overlays removed - using body-level grain */

.oferta-layout {
    display: grid;
    grid-template-columns: 55% 45%;
    min-height: auto;
    position: relative;
    z-index: 3;
}

/* Centered Header Wrapper - Full Width */
.oferta-header-wrapper {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 120px 5vw 0;
}

/* Left Content Panel */
.oferta-content-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px 80px 100px 60px;
    order: 1;
}

/* Header Section */
.oferta-header {
    margin-bottom: 60px;
    width: 100%;
    text-align: center;
}

.oferta-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.label-line {
    display: block;
    width: 40px;
    height: 1px;
}

.line-left {
    background: linear-gradient(90deg, transparent, var(--accent));
}

.line-right {
    background: linear-gradient(90deg, var(--accent), transparent);
}

.oferta-title {
    margin: 0;
}

.oferta-title .title-line {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    font-weight: 700;
    line-height: 1.0;
    text-transform: uppercase;
    color: var(--text-main);
}

.oferta-title .title-accent {
    color: transparent !important;
    font-family: var(--font-head) !important;
    -webkit-text-stroke: 1px var(--accent) !important;
    text-stroke: 1px var(--accent) !important;
    font-style: italic;
    /* Fix text-stroke rendering artifacts */
    paint-order: stroke fill;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Intro paragraph */
.oferta-intro {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    line-height: 1.7;
    color: rgba(232, 224, 213, 0.7);
    margin-top: 25px;
    max-width: 480px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Floating Orb */
.oferta-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198, 123, 92, 0.3) 0%, transparent 70%);
    filter: blur(80px);
    top: 20%;
    right: 5%;
    z-index: 1;
    pointer-events: none;
    animation: orbPulse 8s ease-in-out infinite;
}

@keyframes orbPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.6;
    }
}

/* Features List */
.oferta-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 25px 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: rgba(232, 224, 213, 0.02);
    transition: all 0.4s ease;
}

.feature-item:hover {
    background: rgba(232, 224, 213, 0.05);
    border-color: rgba(198, 123, 92, 0.2);
    transform: translateX(8px);
}

.feature-number {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.5;
    line-height: 1;
    min-width: 45px;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-number {
    opacity: 1;
    transform: scale(1.1);
}

.feature-content h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-content p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(232, 224, 213, 0.6);
    margin: 0 0 12px 0;
}

/* Feature Tags */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tags span {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(198, 123, 92, 0.1);
    border: 1px solid rgba(198, 123, 92, 0.25);
    padding: 5px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-tags span {
    background: rgba(198, 123, 92, 0.15);
    border-color: rgba(198, 123, 92, 0.4);
}

/* CTA Button */
.oferta-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
    /* Force line-height to 1 for perfect vertical centering */
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-main);
    text-decoration: none;
    padding: 24px 50px 20px 50px;
    /* Uneven padding for optical centering of uppercase text */
    border: 1px solid rgba(232, 224, 213, 0.25);
    border-radius: 50px;
    transition: all 0.4s ease;
    margin: 0 auto;
}

.oferta-cta:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #1C222E;
}

.cta-arrow {
    display: flex;
    transition: transform 0.3s ease;
}

.oferta-cta:hover .cta-arrow {
    transform: translateX(5px);
}

/* Right Image Panel */
.oferta-image-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    order: 2;
}

.image-frame {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 20px;
}

.oferta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.image-frame:hover .oferta-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(28, 34, 46, 0.8) 100%);
    pointer-events: none;
}

/* Decorative corners */
.image-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent);
    pointer-events: none;
    opacity: 0.6;
}

.image-corner-tl {
    top: -15px;
    left: -15px;
    border-right: none;
    border-bottom: none;
    border-radius: 10px 0 0 0;
}

.image-corner-br {
    bottom: -15px;
    right: -15px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 10px 0;
}

/* Stats below image */
.image-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    padding: 25px 30px;
    background: rgba(232, 224, 213, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(232, 224, 213, 0.06);
}

.image-stats .oferta-cta {
    width: 80%;
    padding: 24px 20px 20px 20px;
    justify-content: center;
    margin-top: 20px;
    background: transparent;
    border: 1px solid rgba(198, 123, 92, 0.5);
    color: var(--text-main);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.image-stats .oferta-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.image-stats .oferta-cta:hover::before {
    width: 120%;
    height: 400%;
}

.image-stats .oferta-cta:hover {
    color: #1C222E;
    border-color: var(--accent);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(198, 123, 92, 0.4), transparent);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
}

.stat-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(232, 224, 213, 0.5);
    margin-top: 8px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .oferta-content-panel {
        padding: 80px 50px 80px 40px;
    }

    .oferta-image-panel {
        padding: 40px;
    }

    .image-frame {
        max-width: 380px;
    }
}

@media (max-width: 992px) {
    .oferta-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .oferta-image-panel {
        order: 1;
        padding: 80px 40px 40px;
    }

    .image-frame {
        max-width: 350px;
        aspect-ratio: 4/3;
    }

    .oferta-content-panel {
        order: 2;
        padding: 40px 30px 80px;
    }

    .oferta-header {
        margin-bottom: 40px;
    }

    .image-stats {
        gap: 40px;
        margin-top: 30px;
    }
}

/* Mobile CTA - Hidden by default on desktop */
.oferta-mobile-cta {
    display: none;
}

@media (max-width: 600px) {
    /* === NASZA OFERTA MOBILE REDESIGN === */

    /* Hide image panel and stats on mobile */
    .oferta-image-panel {
        display: none !important;
    }

    /* Layout adjustments */
    .oferta-layout {
        display: block;
    }

    .oferta-header-wrapper {
        padding: 60px 20px 0;
        text-align: left;
    }

    .oferta-content-panel {
        padding: 30px 20px 40px;
        text-align: left;
        align-items: flex-start;
    }

    /* Title styling */
    .oferta-header {
        margin-bottom: 30px;
        text-align: left;
    }

    .oferta-title .title-line {
        font-size: clamp(2rem, 10vw, 2.5rem);
        line-height: 0.95;
    }

    .oferta-title .title-accent {
        font-size: clamp(2.5rem, 12vw, 3rem);
        display: block;
        margin-top: 5px;
    }

    /* Intro text with left border accent */
    .oferta-intro {
        text-align: left;
        max-width: 100%;
        margin: 25px 0 0 0;
        padding-left: 15px;
        border-left: 2px solid var(--accent);
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Features list */
    .oferta-features {
        gap: 35px;
        margin-bottom: 40px;
    }

    /* Feature item - complete redesign */
    .feature-item {
        position: relative;
        display: block;
        padding: 0 0 30px 10px;
        background: transparent;
        border: none;
        border-radius: 0;
    }

    .feature-item:hover {
        background: transparent;
        border-color: transparent;
        transform: none;
    }

    /* Large background number */
    .feature-number {
        position: absolute;
        left: -5px;
        top: -15px;
        font-size: 3rem;
        font-weight: 900;
        color: var(--accent);
        opacity: 0.1;
        z-index: 0;
        min-width: auto;
        transition: opacity 0.3s ease;
    }

    .feature-item:hover .feature-number {
        opacity: 0.2;
        transform: none;
    }

    /* Feature content */
    .feature-content {
        position: relative;
        z-index: 1;
    }

    .feature-content h3 {
        font-size: 1rem;
        color: var(--accent);
        margin-bottom: 10px;
        letter-spacing: 0.05em;
    }

    .feature-content p {
        font-size: 0.8rem;
        line-height: 1.7;
        margin-bottom: 15px;
    }

    /* Tags */
    .feature-tags {
        gap: 6px;
    }

    .feature-tags span {
        font-size: 0.55rem;
        font-family: 'Space Mono', monospace;
        letter-spacing: 0.08em;
        padding: 4px 10px;
        border-radius: 2px;
    }

    /* Bottom separator line */
    .feature-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, rgba(198, 123, 92, 0.2), transparent);
    }

    .feature-item:last-child::after {
        display: none;
    }

    /* Mobile CTA Button */
    .oferta-mobile-cta {
        display: block;
        width: 100%;
        padding: 16px 0;
        margin-top: 20px;
        text-align: center;
        font-family: var(--font-head);
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: var(--accent);
        text-decoration: none;
        border: 1px solid var(--accent);
        border-radius: 50px;
        transition: all 0.3s ease;
    }

    .oferta-mobile-cta:hover {
        background: var(--accent);
        color: #0F1115;
    }
}

/* === PROCESS SECTION === */
.process-section {
    position: relative;
    z-index: 5;
    padding: 10vh 5vw;
    /* Solid background for seamless transitions */
    background: #1C222E;
    overflow: hidden;
}

/* Grain overlay removed - using body-level grain */

.process-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.process-header {
    text-align: center;
    margin-bottom: 80px;
}

.process-title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-main);
    margin: 0 0 20px 0;
    line-height: 1.1;
}

.process-intro {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.7;
    color: rgba(232, 224, 213, 0.65);
    max-width: 600px;
    margin: 0 auto;
}

/* Timeline */
.process-timeline {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
}

/* Step Card */
.process-step {
    flex: 1 1 280px;
    max-width: 280px;
    min-height: 320px;
    text-align: center;
    padding: 40px 25px;
    background: rgba(232, 224, 213, 0.02);
    border: 1px solid rgba(232, 224, 213, 0.06);
    border-radius: 20px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-step:hover {
    background: rgba(232, 224, 213, 0.05);
    border-color: rgba(198, 123, 92, 0.3);
    transform: translateY(-8px);
}

/* Step Icon */
.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    padding: 15px;
    border-radius: 50%;
    background: rgba(198, 123, 92, 0.1);
    border: 1px solid rgba(198, 123, 92, 0.3);
    transition: all 0.3s ease;
}

.step-icon svg {
    width: 100%;
    height: 100%;
    color: var(--accent);
}

.process-step:hover .step-icon {
    background: rgba(198, 123, 92, 0.2);
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(198, 123, 92, 0.3);
}

/* Step Number */
.process-step .step-number {
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent);
    opacity: 0.7;
    margin-bottom: 12px;
}

/* Step Title */
.process-step .step-title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-main);
    margin: 0 0 12px 0;
}

/* Step Description */
.process-step .step-desc {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(232, 224, 213, 0.6);
    margin: 0 0 18px 0;
}

/* Step Tags */
.process-step .step-tags {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: auto;
}

.process-step .step-tags span {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(198, 123, 92, 0.1);
    border: 1px solid rgba(198, 123, 92, 0.2);
    padding: 5px 10px;
    border-radius: 15px;
}

/* Connector */
.process-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    padding-top: 70px;
    opacity: 0.3;
}

.process-connector svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

/* CTA */
.process-cta {
    text-align: center;
    margin-top: 60px;
}

.process-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1C222E;
    text-decoration: none;
    padding: 18px 40px;
    background: var(--accent);
    border-radius: 50px;
    transition: all 0.4s ease;
}

.process-btn:hover {
    background: var(--text-main);
    transform: scale(1.03);
    box-shadow: 0 10px 40px rgba(198, 123, 92, 0.3);
}

.process-btn svg {
    transition: transform 0.3s ease;
}

.process-btn:hover svg {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 1100px) {
    .process-timeline {
        flex-wrap: wrap;
        gap: 15px;
    }

    .process-step {
        flex: 1 1 calc(50% - 40px);
        max-width: none;
    }

    .process-connector {
        display: none;
    }
}

/* Arc Navigation - Hidden by default on desktop */
.process-arc-nav {
    display: none;
}

@media (max-width: 600px) {

    /* === PROCESS MOBILE CAROUSEL === */
    .process-section {
        padding: 60px 20px 40px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .process-container {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .process-header {
        margin-bottom: 30px;
        text-align: center;
    }

    .process-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        line-height: 1.1;
    }

    .process-intro {
        display: none;
    }

    /* Timeline becomes a single-step display */
    .process-timeline {
        position: relative;
        flex: 1;
        display: block;
        min-height: 350px;
    }

    /* Hide connectors */
    .process-connector {
        display: none !important;
    }

    /* Hide all steps, show only active */
    .process-step {
        display: none;
        position: relative;
        flex: none;
        max-width: none;
        min-height: auto;
        text-align: left;
        padding: 0;
        background: transparent;
        border: none;
        border-radius: 0;
        align-items: flex-start;
        animation: stepFadeIn 0.5s ease forwards;
    }

    .process-step.active {
        display: flex;
        flex-direction: column;
    }

    @keyframes stepFadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .process-step:hover {
        background: transparent;
        border-color: transparent;
        transform: none;
    }

    /* Top row: Icon + Tags */
    .process-step .step-icon {
        order: 1;
        width: 56px;
        height: 56px;
        margin: 0 0 20px 0;
        padding: 14px;
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(28, 34, 46, 1), rgba(15, 17, 21, 1));
        border: 1px solid rgba(198, 123, 92, 0.3);
        box-shadow: 0 0 20px -5px rgba(198, 123, 92, 0.3);
    }

    .process-step .step-tags {
        order: 2;
        position: absolute;
        top: 10px;
        left: 80px;
        justify-content: flex-start;
        gap: 10px;
        margin-top: 0;
    }

    .process-step .step-tags span {
        font-family: 'Space Mono', monospace;
        font-size: 0.6rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        color: var(--secondary);
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(191, 166, 138, 0.4);
        padding: 0 0 3px 0;
        border-radius: 0;
    }

    /* Step Number - Large background decoration */
    .process-step .step-number {
        position: absolute;
        top: 30px;
        right: 0;
        font-family: 'Space Mono', monospace;
        font-size: 10rem;
        font-weight: 900;
        color: var(--text-main);
        opacity: 0.02;
        line-height: 1;
        z-index: 0;
        pointer-events: none;
        margin: 0;
    }

    /* Title */
    .process-step .step-title {
        order: 3;
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        font-weight: 700;
        color: var(--text-main);
        margin: 20px 0 25px 0;
        line-height: 1.1;
        letter-spacing: -0.02em;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        position: relative;
        z-index: 1;
    }

    /* Description with left border */
    .process-step .step-desc {
        order: 4;
        padding-left: 15px;
        border-left: 2px solid rgba(198, 123, 92, 0.4);
        font-size: 1rem;
        line-height: 1.8;
        color: rgba(232, 224, 213, 0.8);
        margin: 0;
        position: relative;
        z-index: 1;
    }

    /* === ARC NAVIGATION === */
    .process-arc-nav {
        display: block;
        position: relative;
        height: 180px;
        margin-top: auto;
        margin-bottom: 10px;
        padding: 0 5px;
        overflow: visible;
    }

    .arc-line {
        position: absolute;
        bottom: 50px;
        left: 0;
        width: 100%;
        height: 100px;
        pointer-events: none;
    }

    .arc-glow {
        position: absolute;
        width: 60px;
        height: 60px;
        bottom: 45px;
        left: 10%;
        transform: translateX(-50%);
        background: var(--accent);
        border-radius: 50%;
        filter: blur(25px);
        opacity: 0.4;
        transition: left 0.5s ease;
        pointer-events: none;
    }

    .arc-step {
        position: absolute;
        bottom: 50px;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #0F1115;
        border: 1px solid rgba(42, 45, 61, 0.6);
        color: rgba(232, 224, 213, 0.4);
        font-family: 'Space Mono', monospace;
        font-size: 0.75rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        outline: none;
    }

    .arc-step:nth-child(3) {
        left: 15%;
        transform: translateX(-50%) translateY(30px);
    }

    .arc-step:nth-child(4) {
        left: 38%;
        transform: translateX(-50%) translateY(5px);
    }

    .arc-step:nth-child(5) {
        left: 62%;
        transform: translateX(-50%) translateY(5px);
    }

    .arc-step:nth-child(6) {
        left: 85%;
        transform: translateX(-50%) translateY(30px);
    }

    .arc-step.active {
        background: #0F1115;
        border-color: var(--accent);
        color: var(--accent);
        box-shadow: 0 0 15px rgba(198, 123, 92, 0.3);
        transform: translateX(-50%) translateY(30px) scale(1.1);
    }

    .arc-step:nth-child(4).active,
    .arc-step:nth-child(5).active {
        transform: translateX(-50%) translateY(5px) scale(1.1);
    }

    .arc-step:hover:not(.active) {
        border-color: rgba(232, 224, 213, 0.6);
        color: rgba(232, 224, 213, 0.8);
    }

    .arc-step-label {
        position: absolute;
        bottom: -5px;
        left: 15%;
        transform: translateX(-50%);
        font-family: 'Space Mono', monospace;
        font-size: 0.55rem;
        font-weight: 700;
        letter-spacing: 0.15em;
        color: var(--accent);
        transition: left 0.5s ease, bottom 0.5s ease;
        white-space: nowrap;
        z-index: 50;
    }

    /* CTA Button mobile styling */
    .process-cta {
        margin-top: 20px;
    }

    .process-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
        font-size: 0.8rem;
        border: 1px solid var(--accent);
        background: transparent;
        color: var(--accent);
        border-radius: 50px;
    }

    .process-btn:hover {
        background: var(--accent);
        color: #0F1115;
    }
}

/* === SERVICES TEASER === */
.services-teaser-section {
    padding: 100px 5vw;
    position: relative;
    z-index: 5;
}

.blueprint-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
}

.st-container {
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.st-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    padding-bottom: 20px;
    position: relative;
}

/* Gradient line matching section separators */
.st-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(198, 123, 92, 0.3) 20%,
            rgba(198, 123, 92, 0.5) 50%,
            rgba(198, 123, 92, 0.3) 80%,
            transparent 100%);
}

.st-title {
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--text-main);
    margin: 0;
}

.st-count {
    font-size: 1rem;
    color: var(--accent);
    vertical-align: super;
}

.simple-link {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--secondary);
    text-decoration: none;
    border: 1px solid var(--secondary);
    padding: 10px 20px;
    border-radius: 20px;
    transition: all 0.3s;
}

.simple-link:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #000;
}

.st-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: var(--line-color);
    border: 1px solid var(--line-color);
}

.st-card {
    background-color: var(--bg-color);
    padding: 40px;
    transition: background-color 0.3s;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.st-card:hover {
    background-color: rgba(232, 224, 213, 0.03);
}

.st-num {
    font-family: 'Space Mono', monospace;
    color: var(--accent);
    font-size: 12px;
    display: block;
    margin-bottom: 20px;
}

.st-name {
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--text-main);
    margin: 0;
    line-height: 1;
}

.st-desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--secondary);
    margin-top: 20px;
    opacity: 0.6;
}

@media (max-width: 992px) {
    .st-grid {
        grid-template-columns: 1fr;
    }

    .st-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* === VIBE PORTAL === */
.vibe-portal-section {
    position: relative;
    height: 80vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--bg-color);
}

/* Hover on button reveals more color - remove non-animatable approach */

/* Grain texture overlay like manifesto */
.vibe-portal-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 3;
}

/* Top and bottom gradient blend */
.vibe-portal-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(28, 34, 46, 1) 0%, transparent 15%),
        linear-gradient(to top,
            rgba(28, 34, 46, 1) 0%,
            rgba(28, 34, 46, 0.95) 8%,
            rgba(28, 34, 46, 0.8) 15%,
            rgba(28, 34, 46, 0.5) 25%,
            transparent 40%);
    pointer-events: none;
    z-index: 4;
}

/* Show and use the bg-wrapper for animation */
.vp-bg-wrapper {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    transform: translateY(-10%);
    z-index: 1;
}

.vp-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.6);
    transition: filter 0.8s ease;
}

/* Dark overlay that fades on hover */
.vp-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 34, 46, 0.5);
    z-index: 2;
    transition: opacity 0.8s ease;
}

/* Smooth color reveal on section hover */
.vibe-portal-section:hover .vp-bg-img {
    filter: grayscale(0%) brightness(0.8);
}

.vibe-portal-section:hover .vp-overlay {
    opacity: 0.3;
}

.vp-content {
    position: relative;
    z-index: 500;
    text-align: center;
    isolation: isolate;
    will-change: transform;
    /* Creates stacking context */
    transform: translateZ(0);
    /* Force GPU layer */
}

.vp-label {
    font-family: var(--font-body);
    color: var(--text-main);
    letter-spacing: 4px;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.vp-title {
    font-family: var(--font-head);
    font-size: clamp(4rem, 8vw, 8rem) !important;
    line-height: 0.9;
    color: var(--text-main);
    margin-bottom: 50px;
}



.circle-btn span {
    font-family: var(--font-head);
    font-size: 12px;
    text-align: center;
    color: var(--text-main);
    line-height: 1.4;
    transition: color 0.4s ease;
}

/* ========================================
   STYLES MIGRATED FROM GLOBAL.CSS
======================================== */
/* --- HERO (Landing page.html) --- */
.elementor-section,
.elementor-column,
.elementor-widget-container {
    overflow: visible !important;
}

.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1C222E;
    /* Let WebGL show through */
    overflow: visible !important;
    z-index: 1;
    isolation: isolate;
}

/* Bottom gradient for seamless blend with next section */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(28, 34, 46, 1) 0%, transparent 100%);
    pointer-events: none;
    z-index: 20;
}

/* Hero-local grain with fade at bottom */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 15;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
}



@keyframes blobMorph {

    0%,
    100% {
        border-radius: 60% 40% 55% 45% / 55% 60% 40% 45%;
    }

    25% {
        border-radius: 45% 55% 60% 40% / 40% 55% 45% 60%;
    }

    50% {
        border-radius: 55% 45% 40% 60% / 60% 40% 55% 45%;
    }

    75% {
        border-radius: 40% 60% 45% 55% / 45% 55% 60% 40%;
    }
}

/* Mobile Hero Adjustments */
@media (max-width: 768px) {
    .hero-section {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        padding: 0 20px 50px;
        padding-top: 66vh;
        /* Push content to bottom 1/3 */
    }

    .hero-video-wrapper {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        transform: none !important;
        width: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
        opacity: 0.85;
        z-index: 1;
    }

    .hero-content {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100%;
        max-width: 100% !important;
        padding: 0;
        text-align: left !important;
        z-index: 10;
    }

    .hero-title {
        font-size: clamp(3.2rem, 17vw, 6rem) !important;
        width: 100% !important;
        align-items: flex-start !important;
        text-align: left !important;
        line-height: 0.95 !important;
    }

    .line-wrapper {
        text-align: left !important;
    }

    .subtitle-wrapper {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        margin-top: 30px;
        text-align: left !important;
    }

    .hero-subtitle {
        font-size: 0.85rem !important;
        letter-spacing: 0.2em !important;
        text-align: left !important;
        padding-left: 0;
    }

    .location-hud-top {
        display: none !important;
    }

    .coords-display {
        display: none !important;
    }

    .scroll-indicator {
        display: none !important;
    }
}

.hero-visual-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vh;
    height: 60vh;
    /* Scaled down a bit from 100vh for cleaner look */
    z-index: -1;
    pointer-events: none;
    will-change: transform;
}

.hero-visual {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    mix-blend-mode: screen;
    box-shadow: 0 0 120px rgba(198, 123, 92, 0.15);
    opacity: 0.01;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    text-align: left;
    max-width: 50%;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    font-family: var(--font-head);
    font-size: clamp(4rem, 14vw, 16rem);
    line-height: 0.9;
    font-weight: 700;
    text-transform: uppercase;
}

.line-wrapper {
    display: block;
    overflow: visible;
    line-height: 0.8;
}

.line-1 {
    display: block;
    color: transparent;
    -webkit-text-stroke: 2px var(--text-main);
    transform: translateY(5%);
    position: relative;
    z-index: 1;
}

.line-2 {
    display: block;
    color: var(--text-main);
    transform: translateY(-5%);
    position: relative;
    z-index: 2;
    mix-blend-mode: normal;
}

/* --- LIQUID DISTORTION EFFECT - DISABLED --- */
.liquid-distort {
    /* filter disabled */
    transition: filter 0.3s ease;
}

.liquid-distort:hover {
    /* Effect disabled */
}

.hero-line-1 {
    display: block;
    transform: translateY(5%);
    position: relative;
    z-index: 1;
}

.hero-line-2 {
    display: block;
    color: var(--text-main);
    transform: translateY(-5%);
    position: relative;
    z-index: 2;
}


/* --- GLITCH EFFECT (for EVENTS text) --- */
.glitch-wrapper {
    position: relative;
    overflow: visible;
    display: block;
    line-height: 0.9;
}

.glitch-text {
    display: block;
    color: var(--text-main);
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    overflow: hidden;
    color: var(--text-main);
}

.glitch-text::before {
    left: 3px;
    text-shadow: -3px 0 #ff00c1;
    clip-path: inset(44% 0 56% 0);
    animation: glitch-anim-1 3s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -3px;
    text-shadow: 3px 0 #00FF94;
    clip-path: inset(24% 0 66% 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
    animation-delay: 0.15s;
}


@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(44% 0 56% 0);
    }

    5% {
        clip-path: inset(12% 0 78% 0);
    }

    10% {
        clip-path: inset(85% 0 7% 0);
    }

    15% {
        clip-path: inset(44% 0 56% 0);
    }

    20% {
        clip-path: inset(22% 0 68% 0);
    }

    25% {
        clip-path: inset(44% 0 56% 0);
    }

    30% {
        clip-path: inset(90% 0 3% 0);
    }

    35% {
        clip-path: inset(44% 0 56% 0);
    }

    40% {
        clip-path: inset(3% 0 90% 0);
    }

    45% {
        clip-path: inset(44% 0 56% 0);
    }

    50% {
        clip-path: inset(68% 0 22% 0);
    }

    55% {
        clip-path: inset(44% 0 56% 0);
    }

    60% {
        clip-path: inset(15% 0 75% 0);
    }

    65% {
        clip-path: inset(44% 0 56% 0);
    }

    70% {
        clip-path: inset(80% 0 10% 0);
    }

    75% {
        clip-path: inset(44% 0 56% 0);
    }

    80% {
        clip-path: inset(5% 0 85% 0);
    }

    85% {
        clip-path: inset(44% 0 56% 0);
    }

    90% {
        clip-path: inset(50% 0 40% 0);
    }

    95% {
        clip-path: inset(44% 0 56% 0);
    }

    100% {
        clip-path: inset(33% 0 57% 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(24% 0 66% 0);
    }

    5% {
        clip-path: inset(78% 0 12% 0);
    }

    10% {
        clip-path: inset(7% 0 85% 0);
    }

    15% {
        clip-path: inset(24% 0 66% 0);
    }

    20% {
        clip-path: inset(68% 0 22% 0);
    }

    25% {
        clip-path: inset(24% 0 66% 0);
    }

    30% {
        clip-path: inset(3% 0 90% 0);
    }

    35% {
        clip-path: inset(24% 0 66% 0);
    }

    40% {
        clip-path: inset(90% 0 3% 0);
    }

    45% {
        clip-path: inset(24% 0 66% 0);
    }

    50% {
        clip-path: inset(22% 0 68% 0);
    }

    55% {
        clip-path: inset(24% 0 66% 0);
    }

    60% {
        clip-path: inset(75% 0 15% 0);
    }

    65% {
        clip-path: inset(24% 0 66% 0);
    }

    70% {
        clip-path: inset(10% 0 80% 0);
    }

    75% {
        clip-path: inset(24% 0 66% 0);
    }

    80% {
        clip-path: inset(85% 0 5% 0);
    }

    85% {
        clip-path: inset(24% 0 66% 0);
    }

    90% {
        clip-path: inset(40% 0 50% 0);
    }

    95% {
        clip-path: inset(24% 0 66% 0);
    }

    100% {
        clip-path: inset(57% 0 33% 0);
    }
}

/* Hero line 1 and 2 refinements */
.hero-line-1 {
    display: block;
    transform: translateY(5%);
    position: relative;
    z-index: 1;
}

.hero-line-2 {
    display: block;
    transform: translateY(-5%);
    position: relative;
    z-index: 2;
}

.subtitle-wrapper {
    position: absolute;
    bottom: 55px;
    left: 40px;
    margin-top: 0;
    z-index: 12;
}

.hero-subtitle {
    font-family: var(--font-body);
    color: var(--accent);
    font-size: clamp(0.7rem, 1.2vw, 1rem);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
    padding-left: 0.5em;
}

.location-hud-top {
    position: absolute;
    top: 10% !important;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 20;
    mix-blend-mode: difference;
}

.status-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulsing-dot {
    width: 6px;
    height: 6px;
    background-color: #00FF94;
    border-radius: 50%;
    box-shadow: 0 0 10px #00FF94;
    animation: pulse 2s infinite;
}

.status-text {
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--secondary);
    text-transform: uppercase;
}

.city-text {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--text-main);
    text-transform: uppercase;
}

.coords-display {
    position: absolute;
    bottom: 15px;
    left: 40px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    line-height: 1.6;
    color: var(--secondary);
    opacity: 0.6;
    z-index: 20;
    border-left: 1px solid var(--line-color);
    padding-left: 15px;
}

.coord-label {
    color: var(--accent);
    margin-right: 5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 0px !important;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    z-index: 10;
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--secondary), transparent);
    animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* --- MANIFESTO (Landing page.html) --- */
/* === MANIFESTO SECTION === */
.manifesto-section {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    padding: 150px 5vw 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(28, 34, 46, 0.98) 0%, rgba(28, 34, 46, 0.92) 30%, rgba(28, 34, 46, 1) 100%),
        url('https://images.unsplash.com/photo-1516450360452-9312f5e86fc7?w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Grain overlay for seamless transition */
.manifesto-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
}

/* Top and bottom gradient for seamless blend */
.manifesto-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        /* Top blend from hero */
        linear-gradient(to bottom, rgba(28, 34, 46, 1) 0%, transparent 30%),
        /* Bottom blend to vision-teaser */
        linear-gradient(to top, rgba(28, 34, 46, 1) 0%, rgba(28, 34, 46, 0.6) 10%, transparent 25%);
    pointer-events: none;
    z-index: 2;
}

/* Floating Orbs */
.manifesto-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.4;
}

.manifesto-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: 10%;
    right: -10%;
    animation: orbFloat 20s ease-in-out infinite;
}

.manifesto-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(176, 112, 84, 0.4) 0%, transparent 70%);
    bottom: 20%;
    left: -5%;
    animation: orbFloat 25s ease-in-out infinite reverse;
}

.manifesto-orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(198, 123, 92, 0.6) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation: orbFloat 15s ease-in-out infinite;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -20px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 30px) scale(0.95);
    }

    75% {
        transform: translate(20px, 10px) scale(1.05);
    }
}

/* Statement Section */
.manifesto-statement {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 80px;
}

.statement-label {
    display: block;
    font-family: var(--font-head);
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 30px;
    opacity: 0.8;
}

.statement-title {
    font-family: var(--font-head);
    font-size: clamp(3rem, 10vw, 10rem);
    font-weight: 700;
    line-height: 0.95;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-main);
    text-stroke: 1px var(--text-main);
    margin: 0;
    /* Fix text-stroke rendering artifacts */
    paint-order: stroke fill;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.statement-title .line-reveal {
    display: block;
    font-family: inherit !important;
}

.statement-title .accent-line {
    color: var(--accent);
    -webkit-text-stroke: 0;
    font-style: italic;
}

.statement-title .accent-line em {
    font-style: italic;
}

/* Content Grid */
.manifesto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.manifesto-desc {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.desc-text {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.3vw, 1.3rem);
    line-height: 1.7;
    color: rgba(232, 224, 213, 1);
}

/* Individual words for wave reveal */
.desc-word {
    display: inline-block;
    opacity: 0.65;
    /* Increased base visibility further */
    /* Default dimmed state */
    transition: opacity 0.15s linear;
    will-change: opacity;
    transform: translateZ(0);
    /* GPU acceleration */
    margin-right: 0.25em;
    cursor: default;
    font-weight: 400 !important;
    /* Force uniform weight */
    font-size: inherit;
    color: inherit;
}

/* Full visibility on mobile - no hover effect */
@media (max-width: 1024px) {
    .desc-word {
        opacity: 1 !important;
        transition: none;
    }
}

.text-highlight {
    font-weight: 400 !important;
    /* Make uniform */
    color: inherit !important;
}

/* Remove underline from highlights if present */
.text-highlight::after {
    display: none;
}

.desc-word.text-highlight {
    color: inherit;
    /* Remove white override */
    font-weight: 400;
}

.manifesto-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
    margin-top: 40px;
    opacity: 0.5;
}

/* Services Section */
.manifesto-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    background: transparent;
    border: none;
    box-shadow: none;
    /* Removed 3D transform and transition to fix jitter */
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
    border-radius: 15px;
    transition: background 0.3s ease;
    cursor: default;
    will-change: transform;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    color: var(--accent);
}

.service-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 5px rgba(198, 123, 92, 0.6));
    transition: filter 0.3s ease;
}

.service-item:hover .service-icon svg {
    filter: drop-shadow(0 0 8px rgba(198, 123, 92, 0.9));
}

.service-name {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-main);
    margin-bottom: 5px;
}

.service-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(232, 224, 213, 0.5);
}

/* Mobile Responsive - Services */
@media (max-width: 768px) {
    .manifesto-services {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 20px;
    }

    .service-item {
        padding: 15px;
    }

    .service-icon {
        width: 30px;
        height: 30px;
    }

    .service-name {
        font-size: 0.85rem;
    }

    .service-desc {
        font-size: 0.75rem;
    }
}

/* Bottom Line */
.manifesto-line {
    position: absolute;
    bottom: 50px;
    left: 5vw;
    right: 5vw;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .manifesto-section {
        padding: 100px 5vw 80px;
        min-height: auto;
    }

    .manifesto-orb-1 {
        width: 250px;
        height: 250px;
    }

    .manifesto-orb-2,
    .manifesto-orb-3 {
        display: none;
    }

    .statement-title {
        -webkit-text-stroke: 1px var(--text-main);
    }

    .manifesto-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .manifesto-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 30px;
    }

    .stat-item {
        flex: 1;
        min-width: 45%;
        border-bottom: none;
        padding-bottom: 0;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

.marquee-wrapper {
    width: 100%;
    padding: 80px 0;
    overflow: hidden;
    background: transparent;
    position: relative;
    z-index: 5;
}

/* Gradient lines matching section separators */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transform: translateX(-50%);
    width: 100%;
    /* max-width removed to align with full screen width as requested */
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(198, 123, 92, 0.3) 20%,
            rgba(198, 123, 92, 0.5) 50%,
            rgba(198, 123, 92, 0.3) 80%,
            transparent 100%);
}

.marquee-wrapper::before {
    top: 0;
}

.marquee-wrapper::after {
    bottom: 0;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    will-change: transform;
}

.marquee-item {
    font-family: var(--font-head);
    font-size: clamp(3rem, 6vw, 8rem);
    padding-right: 40px;
    text-transform: uppercase;
    opacity: 0.8;
    mix-blend-mode: overlay;
    color: var(--text-main);
}

.solid-content {
    background-color: var(--bg-color);
    padding-top: 100px;
    padding-bottom: 150px;
    position: relative;
    z-index: 10;
    box-shadow: 0 -50px 150px var(--bg-color);
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5vw;
    align-items: center;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1;
    margin-bottom: 40px;
    color: var(--text-main);
}

.text-accent {
    color: var(--accent);
    font-style: italic;
}

.separator-line {
    width: 0%;
    height: 2px;
    background-color: var(--accent);
    margin-bottom: 40px;
}

.body-text {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.2vw, 1.4rem);
    line-height: 1.6;
    color: rgba(232, 224, 213, 0.8);
    max-width: 600px;
}

.highlight {
    color: var(--text-main);
    font-weight: 600;
    border-bottom: 1px solid var(--line-color);
}

.manifesto-visual {
    position: relative;
    height: 600px;
    width: 100%;
}

.image-mask {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background-color: #000;
    clip-path: inset(100% 0 0 0);
    will-change: clip-path;
    transform: translateZ(0);
}

.reveal-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1) grayscale(20%);
    transform: scale(1.2);
    will-change: transform;
}

.video-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.1;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* --- PORTFOLIO (Landing page.html) --- */
.portfolio-section {
    position: relative;
    height: 100vh;
    width: 100%;
    background-color: var(--bg-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
}

.portfolio-header {
    position: absolute;
    top: 50px;
    left: 5vw;
    z-index: 10;
}

.section-label {
    font-family: var(--font-body);
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--accent);
}

.gallery-wrapper {
    display: flex;
    gap: 10vw;
    padding-left: 15vw;
    width: 400%;
    height: 70vh;
    align-items: center;
    will-change: transform;
}

.gallery-item {
    position: relative;
    flex-shrink: 0;
    width: 35vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-number {
    position: absolute;
    top: -10%;
    left: -10%;
    font-family: var(--font-head);
    font-size: 15vw;
    opacity: 0.1;
    pointer-events: none;
}

.item-card {
    position: relative;
    width: 100%;
    height: 80%;
    z-index: 2;
}

.card-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-top-left-radius: 150px;
    border-bottom-right-radius: 150px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    transition: border-radius 0.5s ease;
}

.item-card:hover .card-image-wrapper {
    border-radius: 20px;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) sepia(0.2);
    transform: scale(1.1);
    transition: filter 0.5s ease, transform 0.8s ease;
}

.item-card:hover .card-image {
    filter: grayscale(0%);
    transform: scale(1);
}

.card-content {
    position: absolute;
    bottom: 40px;
    left: -40px;
    z-index: 3;
    mix-blend-mode: difference;
}

.project-title {
    font-family: var(--font-head);
    font-size: 3rem;
    line-height: 0.9;
    margin: 0;
    color: var(--text-main);
}

.project-cat {
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-top: 10px;
    color: var(--secondary);
    text-transform: uppercase;
}

/* --- SERVICES TEASER (Landing page.html) --- */
.services-teaser-section {
    position: relative;
    padding: 120px 5vw;
    background-color: var(--bg-color);
    border-top: 1px solid var(--line-color);
    overflow: hidden;
}

.blueprint-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--line-color) 1px, transparent 1px), linear-gradient(90deg, var(--line-color) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    pointer-events: none;
}

.st-container {
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.st-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--line-color);
    padding-bottom: 20px;
}

.st-title {
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--text-main);
    margin: 0;
}

.st-count {
    font-size: 1rem;
    color: var(--accent);
    vertical-align: super;
}

.simple-link {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--secondary);
    text-decoration: none;
    border: 1px solid var(--secondary);
    padding: 10px 20px;
    border-radius: 20px;
    transition: all 0.3s;
}

.simple-link:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #000;
}

.st-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: var(--line-color);
    border: 1px solid var(--line-color);
}

.st-card {
    background-color: var(--bg-color);
    padding: 40px;
    transition: background-color 0.3s;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.st-card:hover {
    background-color: rgba(232, 224, 213, 0.03);
}

.st-num {
    font-family: 'Space Mono', monospace;
    color: var(--accent);
    font-size: 12px;
    display: block;
    margin-bottom: 20px;
}

.st-name {
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--text-main);
    margin: 0;
    line-height: 1;
}

.st-desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--secondary);
    margin-top: 20px;
    opacity: 0.6;
}

/* --- VIBE PORTAL (Landing page.html) --- */
.vibe-portal-section {
    position: relative;
    height: 80vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vp-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    transform: translateY(-10%);
    z-index: 1;
}

.vp-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.6);
}

.vp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, var(--bg-color) 120%);
}

.vp-content {
    position: relative;
    z-index: 10;
    text-align: center;
    /* mix-blend-mode removed - was causing button background to blend with image */
}

.vp-label {
    font-family: var(--font-body);
    color: var(--text-main);
    letter-spacing: 4px;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.vp-title {
    font-family: var(--font-head);
    font-size: clamp(4rem, 8vw, 8rem);
    line-height: 0.9;
    color: var(--text-main);
    margin-bottom: 50px;
}

.circle-btn {
    width: 120px;
    height: 120px;
    border: 1px solid var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 0 auto;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.circle-btn span {
    font-family: var(--font-head);
    font-size: 12px;
    text-align: center;
    color: var(--text-main);
    line-height: 1.4;
}

.circle-btn:hover {
    background-color: var(--text-main);
    transform: scale(1.1);
}

.circle-btn:hover span {
    color: var(--bg-color);
    font-weight: 700;
}


/* ========================================
   VISION TEASER SECTION (Nasze Wizje)
======================================== */
/* ===============================================
   VISION TEASER SECTION 
   (Moodboard / 3D Render teaser to Vibe Check)
   =============================================== */

.vision-teaser-section {
    padding: 8vh 5vw 12vh;
    position: relative;
    z-index: 10;
    overflow: hidden;
    /* Solid background for seamless transitions */
    background: #1C222E;
}

/* Noise texture overlay - DISABLED to remove grain from vision cards */
/* .vision-teaser-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
} */

/* Blend overlay removed - sections now use transparent background */

.vision-header {
    margin-bottom: 80px;
    text-align: center;
}

.section-title-large {
    font-family: var(--font-head);
    font-size: clamp(3rem, 7vw, 6rem);
    color: var(--text-main);
    line-height: 0.95;
    margin: 20px 0;
}

/* Horizontal Scroll Carousel */
.vision-grid {
    display: flex;
    flex-direction: row;
    gap: 2vw;
    max-width: 100%;
    margin: 0 auto 5vh;
    padding: 0 2vw;
    /* Reduced from 5vw to allow more space */
    justify-content: center;
    /* Allow scrolling only if absolutely necessary, but aim for fit */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.vision-grid::-webkit-scrollbar {
    display: none;
}

/* Vision Card - Responsive sizing based on viewport */
.vision-card {
    flex: 1;
    /* Allow cards to grow and fill the row */
    position: relative;
    height: 65vh;
    /* Increased from 55vh */
    min-height: 400px;
    /* Increased min-height */
    border-radius: 16px;
    overflow: hidden;
    cursor: default;
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.5s ease;
    isolation: isolate;
    z-index: 10;
    scroll-snap-align: center;
}

.vision-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Background Image */
.vision-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.vision-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.5) contrast(1.1);
    /* Split transition to allow separate control */
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1), filter 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    transform: scale(1.05);
}

/* Content Overlay */
.vision-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    z-index: 3;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.vision-tag {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--accent);
    display: block;
    margin-bottom: 15px;
    opacity: 0.8;
}

.vision-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--text-main);
    margin: 0;
    line-height: 1;
    letter-spacing: -1px;
    transition: transform 0.4s ease;
}

/* Hover Effects */
.vision-card:hover {
    transform: translateY(-15px);
}

.vision-card:hover .vision-bg img {
    filter: grayscale(30%) brightness(0.7) contrast(1.2);
    transform: scale(1);
    /* Add delay specifically to filter on hover - delayed until movement finishes */
    transition-delay: 0s, 1.2s;
}

.vision-card:hover .vision-title {
    transform: translateY(-5px);
}

/* CTA Area */
.vision-cta {
    text-align: center;
    padding-top: 20px;
}

.vision-cta-text {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 30px;
}

.vision-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--text-main);
    font-family: var(--font-head);
    font-size: 1rem;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.4s ease;
    border-radius: 50px;
}

.vision-btn:hover {
    transform: scale(1.05);
    /* GSAP handles colors, but these are fallbacks */
    background-color: rgba(232, 224, 213, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #000000;
}

.vision-btn svg {
    transition: transform 0.3s;
}

.vision-btn:hover svg {
    transform: translateX(5px);
}


/* Large screens - ensure proper sizing */
@media (min-width: 1440px) {
    .vision-grid {
        display: flex;
        gap: 2vw;
        justify-content: center;
    }

    .vision-card {
        flex: 1;
        /* Fill the space */
        height: 65vh;
        /* Match the new global height */
        min-height: 450px;
        max-height: 800px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .vision-grid {
        /* Keep them in a row */
        display: flex;
        flex-wrap: nowrap;
        gap: 15px;
    }

    .vision-card {
        /* Ensure they can shrink a bit but try to fit 4 */
        flex: 1;
        min-width: 0;
        /* Allow shrinking */
        height: 60vh;
        min-height: 350px;
    }
}

@media (max-width: 600px) {

    /* === VISION TEASER MOBILE CAROUSEL === */
    .vision-teaser-section {
        padding: 60px 0 80px;
    }

    .vision-header {
        margin-bottom: 40px;
        padding: 0 20px;
        text-align: center;
    }

    /* Centered label with lines */
    .vision-header .section-label {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        opacity: 0.5;
        margin-bottom: 15px;
    }

    .vision-header .section-label::before,
    .vision-header .section-label::after {
        content: '';
        width: 30px;
        height: 1px;
        background: var(--accent);
    }

    .section-title-large {
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 0.9;
    }

    /* Horizontal scroll container */
    .vision-grid {
        display: flex;
        flex-direction: row;
        gap: 16px;
        padding: 0 20px 20px;
        margin: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        /* Touch action controlled by JS */
        touch-action: pan-y;
    }

    .vision-grid::-webkit-scrollbar {
        display: none;
    }

    /* Card styling for carousel */
    .vision-card {
        flex: 0 0 85vw;
        max-width: 320px;
        height: auto;
        min-height: auto;
        max-height: none;
        aspect-ratio: 3/4;
        border-radius: 16px;
        scroll-snap-align: center;
        border: 1px solid rgba(42, 45, 61, 0.5);
    }

    .vision-card:last-child {
        margin-right: 20px;
    }

    /* Background image mobile styling */
    .vision-bg {
        background: #0F1115;
    }

    .vision-bg img {
        filter: grayscale(100%) brightness(0.5) contrast(1.1);
        opacity: 0.6;
        transform: scale(1);
        transition: all 1s ease;
    }

    .vision-card:hover .vision-bg img,
    .vision-card:focus-within .vision-bg img {
        filter: grayscale(0%) brightness(0.8) contrast(1.1);
        opacity: 1;
        transform: scale(1.1);
    }

    /* Multi-layer gradient overlay */
    .vision-content {
        padding: 24px;
        background:
            linear-gradient(to top, rgba(15, 17, 21, 0.95) 0%, rgba(15, 17, 21, 0.4) 50%, transparent 100%),
            linear-gradient(to bottom, rgba(15, 17, 21, 0.3) 0%, transparent 30%);
    }

    /* Colored accent dot */
    .vision-card::before {
        content: '';
        position: absolute;
        top: 24px;
        left: 24px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--accent);
        box-shadow: 0 0 10px var(--accent);
        z-index: 5;
    }

    .vision-card:nth-child(2)::before {
        background: var(--secondary);
        box-shadow: 0 0 10px var(--secondary);
    }

    .vision-card:nth-child(3)::before {
        background: #7da0b1;
        box-shadow: 0 0 10px #7da0b1;
    }

    .vision-card:nth-child(4)::before {
        background: #5c8b65;
        box-shadow: 0 0 10px #5c8b65;
    }

    .vision-tag {
        font-size: 9px;
        letter-spacing: 0.15em;
        color: var(--secondary);
        opacity: 0.8;
        margin-bottom: 10px;
    }

    .vision-title {
        font-size: 1.5rem;
        letter-spacing: -0.5px;
        line-height: 1.1;
        transform: translateY(5px);
        transition: transform 0.5s ease;
    }

    .vision-card:hover .vision-title {
        transform: translateY(0);
    }

    /* Remove hover lift on mobile */
    .vision-card:hover {
        transform: none;
    }
}

/* ========================================
   VIBE PORTAL SECTION (CTA to Vibe Check)
======================================== */

.vibe-portal-section {
    position: relative;
    z-index: 5;
    min-height: 80vh;
    padding: 120px 5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Base dark background for seamless blend */
    background-color: #1C222E;
}

/* Top blend overlay - covers top edge seamlessly */
.vp-top-blend {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(to bottom,
            rgba(28, 34, 46, 1) 0%,
            rgba(28, 34, 46, 0.8) 30%,
            rgba(28, 34, 46, 0.4) 60%,
            rgba(28, 34, 46, 0) 100%);
    z-index: 20;
    pointer-events: none;
}

/* Background image wrapper */
.vp-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.vp-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(20%) brightness(0.5) contrast(1.1);
    transform: scale(1.05);
    transition: transform 8s ease-out, filter 1s ease;
}

.vibe-portal-section:hover .vp-bg-img {
    transform: scale(1);
    filter: grayscale(0%) brightness(0.8) contrast(1.1);
}

/* Multi-layer gradient overlay */
.vp-overlay {
    position: absolute;
    inset: 0;
    background:
        /* Top blend - seamless from vision-teaser (extended) */
        linear-gradient(to bottom, rgba(28, 34, 46, 1) 0%, rgba(28, 34, 46, 0.6) 15%, rgba(28, 34, 46, 0) 35%),
        /* Bottom blend - seamless to services-teaser */
        linear-gradient(to top, rgba(28, 34, 46, 1) 0%, rgba(28, 34, 46, 0.6) 15%, rgba(28, 34, 46, 0) 35%),
        /* Accent color wash - adds warmth */
        radial-gradient(ellipse at 70% 30%, rgba(198, 123, 92, 0.25) 0%, rgba(28, 34, 46, 0) 50%),
        /* Cool blue accent for balance */
        radial-gradient(ellipse at 20% 70%, rgba(100, 150, 255, 0.15) 0%, rgba(28, 34, 46, 0) 50%),
        /* Center vignette - focuses attention */
        radial-gradient(ellipse at center, rgba(28, 34, 46, 0) 20%, rgba(28, 34, 46, 0.7) 100%);
    z-index: 10;
}

/* Noise texture for visual consistency */
.vibe-portal-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
    z-index: 3;
}

/* Decorative orbs moved to ::before - keeping ::after for blend gradients only */
/* Note: Orbs effect removed to prioritize blend gradients */

@keyframes vibeGlow {
    0% {
        opacity: 0.4;
        transform: translate(0, 0) scale(1);
    }

    100% {
        opacity: 0.7;
        transform: translate(-30px, 30px) scale(1.1);
    }
}

/* Content container */
.vp-content {
    position: relative;
    z-index: 30;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Label text */
.vp-label {
    font-family: var(--font-head);
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    padding: 10px 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Main title */
.vp-title {
    font-family: var(--font-head);
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 0.95;
    margin: 0;
    color: var(--text-main);
    text-shadow:
        0 0 40px rgba(198, 123, 92, 0.3),
        0 0 80px rgba(198, 123, 92, 0.15);
    letter-spacing: -2px;
}

/* Circle CTA button - Vibe Portal specific */
.vibe-portal-section .circle-btn {
    width: 120px !important;
    height: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    min-height: 120px !important;
    max-height: 120px !important;
    aspect-ratio: 1 / 1 !important;
    font-size: 0.85rem !important;
    margin-top: 20px !important;
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 50% !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

.vibe-portal-section .circle-btn span {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    font-size: 11px !important;
    transition: all 0.4s ease !important;
}

.vibe-portal-section .circle-btn:hover {
    background-color: rgb(198, 123, 92) !important;
    background-image: none !important;
    border-color: rgb(198, 123, 92) !important;
    transform: scale(1.1) !important;
    box-shadow:
        0 0 40px rgba(198, 123, 92, 0.6),
        0 15px 40px rgba(0, 0, 0, 0.4) !important;
}

.vibe-portal-section .circle-btn:hover span {
    color: #1C222E !important;
    font-weight: 700 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .vibe-portal-section {
        min-height: 70vh;
        padding: 80px 5vw;
    }

    .vp-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .vibe-portal-section .circle-btn {
        width: 130px;
        height: 130px;
        font-size: 0.85rem;
    }

    /* Full width background image on mobile */
    .vp-bg-wrapper {
        width: 100%;
        height: 100%;
        transform: none;
    }

    .vp-bg-img {
        object-position: center center;
    }

    /* Strong bottom blend on mobile */
    .vibe-portal-section::after {
        background:
            linear-gradient(to bottom, rgba(28, 34, 46, 1) 0%, transparent 15%),
            linear-gradient(to top,
                rgba(28, 34, 46, 1) 0%,
                rgba(28, 34, 46, 0.95) 5%,
                rgba(28, 34, 46, 0.85) 10%,
                rgba(28, 34, 46, 0.6) 18%,
                rgba(28, 34, 46, 0.3) 28%,
                transparent 45%);
    }

    .vibe-portal-section {
        padding-bottom: 0;
    }
}

/* ------------------------------------------------------------------
   4. EXPERTISE SECTION (Redesigned) 
   ------------------------------------------------------------------ */
.services-teaser-section {
    position: relative;
    background-color: #1C222E;
    padding: 120px 5vw 150px;
    z-index: 5;
    overflow: hidden;
}

/* Blend from Vibe Portal */
.st-top-blend {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom,
            rgba(28, 34, 46, 1) 0%,
            rgba(28, 34, 46, 0.8) 40%,
            rgba(28, 34, 46, 0) 100%);
    z-index: 10;
    pointer-events: none;
}

.st-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 20;
}

.st-header {
    margin-bottom: 80px;
}

.section-label {
    display: block;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 14px;
    letter-spacing: 2px;
    color: rgba(232, 224, 213, 0.5);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.st-title-large {
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--text-main, #E8E0D5);
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
}

.expertise-list {
    display: flex;
    flex-direction: column;
}

.expertise-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0;
    text-decoration: none !important;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
}

/* Gradient line separator at top */
.expertise-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 20%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 80%,
            transparent 100%);
}

.expertise-item:last-child::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 20%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 80%,
            transparent 100%);
}

.exp-left {
    display: flex;
    align-items: baseline;
    gap: 40px;
    flex: 1;
}

.exp-num {
    font-family: 'Space Mono', monospace;
    /* Fallback if var not ready */
    font-size: 14px;
    color: rgb(198, 123, 92);
    /* Accent */
    opacity: 0.8;
}

.exp-title {
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    font-weight: 400;
}

.exp-right {
    flex: 1.2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 60px;
}

.exp-desc {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.4);
    max-width: 450px;
    margin: 0;
    line-height: 1.6;
    transition: all 0.5s ease;
    padding-right: 40px;
}

.exp-icon {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    flex-shrink: 0;
}

/* Hover & Active States */
.expertise-item:hover {
    padding-left: 30px;
    border-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
}

.expertise-item:hover .exp-title {
    color: #ffffff;
    font-weight: 500;
    letter-spacing: -1px;
}

.expertise-item:hover .exp-desc {
    color: rgba(255, 255, 255, 0.9);
}

.expertise-item:hover .exp-icon {
    background: rgb(198, 123, 92);
    border-color: rgb(198, 123, 92);
    color: #1C222E;
    transform: scale(1.1) rotate(-45deg);
    box-shadow: 0 0 30px rgba(198, 123, 92, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .expertise-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .exp-right {
        width: 100%;
        padding-left: 0;
        margin-left: 0;
        justify-content: space-between;
    }

    .exp-left {
        gap: 20px;
    }

    .exp-desc {
        font-size: 1rem;
        max-width: 70%;
    }
}

@media (max-width: 768px) {
    .st-title-large {
        font-size: 3rem;
    }

    .exp-title {
        font-size: 2rem;
    }

    .exp-desc {
        display: none;
        /* Hide desc on mobile for cleaner look */
    }

    .exp-right {
        justify-content: flex-end;
    }

    .expertise-item:hover {
        padding-left: 0;
        /* No shift on mobile */
    }
}