/* CSS Variables and Base Setup */
:root {
    --bg-color: #050505;
    --text-color: #f5f5f5;
    --accent-color: #333;
    --primary-color: #fff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --fluid-text-base: clamp(0.875rem, 0.95vw + 0.6rem, 1.125rem);
    --fluid-text-lg: clamp(1.25rem, 1.5vw + 1rem, 1.75rem);
    /* Zmieniono dolną granicę na znacznie mniejszą, aby "Nowosielski" zmieściło się w 1 linii na bardzo wąskich ekranach (np. 320px) */
    --fluid-heading-1: clamp(1.8rem, 9vw, 10rem);
    --fluid-heading-2: clamp(1.25rem, 4.5vw + 0.5rem, 4rem);
    --fluid-heading-3: clamp(1.1rem, 3.5vw + 0.5rem, 2.5rem);
    
    --space-sm: clamp(1rem, 2vw, 2rem);
    --space-md: clamp(1.25rem, 4vw, 4rem);
    --space-lg: clamp(3rem, 8vw, 8rem);
}

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: var(--fluid-text-base);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Noise background */
.noise {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.06;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* Animated Gear Background */
.bg-gear-wrapper {
    position: fixed;
    top: -20vh;
    right: -20vw;
    width: 120vh;
    height: 120vh;
    z-index: -2;
    pointer-events: none;
    opacity: 0.03; /* Bardzo subtelne */
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-gear {
    width: 100%;
    height: 100%;
    fill: #ffffff;
    animation: rotateGear 120s linear infinite;
    transform-origin: center;
}

@keyframes rotateGear {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

#smooth-wrapper {
    overflow: hidden;
    width: 100%;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: calc(var(--space-sm) * 0.8) var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: all 0.4s ease;
    
    /* Default state (at the top) - completely transparent */
    background: transparent;
    border-bottom: 1px solid transparent;
    box-shadow: none;
}

/* Scrolled state - Glassmorphism 5.0 */
.main-nav.scrolled {
    background: rgba(5, 5, 5, 0.45);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 2.1vw, 2.35rem);
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 40%,
        #d4af37 50%, /* Złoty połysk */
        rgba(255, 255, 255, 1) 60%,
        rgba(255, 255, 255, 1) 100%
    );
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
    padding-right: 0.1em;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Duże logo na tablecie */
@media (min-width: 769px) and (max-width: 1023px) {
    .logo {
        font-size: clamp(1.95rem, 2.8vw, 2.4rem);
        letter-spacing: 0.06em;
    }
}

/* Pewne powiększenie na szerokim desktopie */
@media (min-width: 1024px) {
    .logo {
        font-size: clamp(2rem, 2.2vw, 2.5rem);
        letter-spacing: 0.06em;
    }
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    z-index: 102;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-flag {
    font-size: 1.2rem;
    line-height: 1;
}

.lang-arrow {
    transition: transform 0.3s ease;
}

.lang-switcher.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 120%;
    left: 0; /* Zmienione z right: 0 na left: 0 dla lepszego ułożenia na mobile */
    min-width: 120px;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown ul {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.lang-dropdown a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 101;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.menu-text {
    display: block;
    transition: opacity 0.3s ease;
}

.menu-icon {
    width: 40px;
    height: 20px;
    position: relative;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    position: absolute;
    transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.menu-icon span:first-child { top: 0; }
.menu-icon span:last-child { bottom: 0; }

.menu-toggle.active .menu-icon span:first-child {
    transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active .menu-icon span:last-child {
    transform: translateY(-9px) rotate(-45deg);
}

.menu-toggle.active .menu-text {
    opacity: 0; /* Ukrywa napis "Menu" po otwarciu, żeby nie przeszkadzał krzyżykowi */
}

/* Offcanvas Menu */
.offcanvas-menu {
    position: fixed;
    top: 0; right: 0;
    width: 100%; 
    height: 100vh;
    height: 100dvh; /* Dynamic Viewport Height - zapobiega ucinaniu dołu na mobile */
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1);
    clip-path: inset(0 0 0 100%);
    transition: clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1);
    overflow-y: auto; /* Pozwala na przewijanie, jeśli linków jest za dużo */
    padding: var(--space-lg) 0; /* Zapewnia miejsce na górny pasek i dół */
}

.offcanvas-menu.active {
    clip-path: inset(0 0 0 0);
}

.offcanvas-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    margin: auto 0; /* Centruje listę, jeśli jest miejsce */
}

.offcanvas-menu a {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 6vw, 3rem); /* Płynne skalowanie fontu dla małych ekranów */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.offcanvas-menu.active a {
    opacity: 1;
    transform: translateY(0);
}
.offcanvas-menu.active li:nth-child(1) a { transition-delay: 0.2s; }
.offcanvas-menu.active li:nth-child(2) a { transition-delay: 0.25s; }
.offcanvas-menu.active li:nth-child(3) a { transition-delay: 0.3s; }
.offcanvas-menu.active li:nth-child(4) a { transition-delay: 0.35s; }
.offcanvas-menu.active li:nth-child(5) a { transition-delay: 0.4s; }
.offcanvas-menu.active li:nth-child(6) a { transition-delay: 0.45s; }
.offcanvas-menu.active li:nth-child(7) a { transition-delay: 0.5s; }

.offcanvas-menu a:hover {
    color: rgba(255,255,255,0.5);
}

/* Hero Section */
.hero {
    height: 100vh;
    height: 100dvh; /* Dynamic Viewport Height - idealne dla mobile */
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: var(--space-md);
    padding-bottom: calc(var(--space-md) + 2rem); /* Extra padding for mobile browsers */
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 130%; /* Extra height for parallax */
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2) brightness(0.8);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, var(--bg-color) 0%, transparent 100%);
}

.hero-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: var(--space-sm) var(--space-md);
    }

    .nav-controls {
        width: 100%;
        justify-content: space-between;
        gap: 1rem;
    }
    
    .logo {
        font-size: 1.1rem; 
        width: 100%;
        text-align: center;
        margin-bottom: 0.25rem;
    }
    
    .lang-btn {
        padding: 0.5rem 0; 
        font-size: 0.9rem;
    }
    
    .lang-flag {
        font-size: 1.1rem;
    }
    
    .menu-toggle {
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    
    .menu-icon {
        width: 30px;
        height: 14px;
    }
    
    .menu-toggle.active .menu-icon span:first-child {
        transform: translateY(6px) rotate(45deg);
    }
    .menu-toggle.active .menu-icon span:last-child {
        transform: translateY(-6px) rotate(-45deg);
    }
    
    .hero-content h1 {
        /* Na małych ekranach pozwalamy na zawijanie wierszy (spacja między słowami), 
           ale zabraniamy dzielenia samych słów (Nowosielski).
           Dzięki temu "Marcel Nowosielski" może przejść do nowej linii, 
           ale samo słowo "Nowosielski" się nie złamie. */
        white-space: normal; 
        font-size: clamp(1.5rem, 10vw, 3rem); /* Agresywniejsze skalowanie na mobile */
    }
    
    .hero-content h1 .word {
        display: block; /* Wymusza każdy wyraz w nowej linii */
    }

    .hero-content h1.hero-headline {
        font-size: clamp(1.15rem, 4.5vw, 2.1rem);
        line-height: 1.2;
        white-space: normal;
    }

    .hero-content h1.hero-headline .word {
        display: inline;
    }
}

.hero-content h1.hero-headline {
    font-size: clamp(1.5rem, 3.5vw, 3.25rem);
    line-height: 1.12;
    white-space: normal;
    max-width: 22em;
    text-transform: none;
    letter-spacing: -0.03em;
}

/* Spójnik „i” z następnym wyrazem — bez SplitType nie łamie się samotnie */
.hero-headline .pl-nobreak,
.nowrap {
    white-space: nowrap;
}

.hero-content h1 {
    font-size: var(--fluid-heading-1);
    margin-bottom: var(--space-sm);
    line-height: 0.9;
    word-break: normal; /* Usunięto break-word, żeby nie dzieliło "Nowosielski" w połowie */
    hyphens: none; /* Wyłączono dzielenie wyrazów z myślnikiem */
    white-space: nowrap; /* Wymusza trzymanie słów w jednej linii (skalowanie załatwi resztę) */
    
    /* Shine effect */
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 40%,
        #d4af37 50%, /* Złoty połysk */
        rgba(255, 255, 255, 1) 60%,
        rgba(255, 255, 255, 1) 100%
    );
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite;
    padding-right: 0.1em;
}

/* For split-type text lines */
.line {
    overflow: hidden;
}
.line .word {
    transform: translateY(100%);
    /* Inherit the shine effect from parent h1 */
    background: inherit;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block; /* Fix for mobile rendering */
}

.subtitle {
    font-size: var(--fluid-text-lg);
    max-width: 600px;
    color: rgba(255,255,255,0.7);
}

/* Stats Section */
.stats {
    padding: var(--space-lg) var(--space-md);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid var(--glass-border);
}

.stat-item h3 {
    font-size: var(--fluid-heading-2);
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

/* Bento Grid */
.bento-grid-container {
    padding: 0 var(--space-md) var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: 2rem;
}

.bento-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.bento-item:hover {
    transform: scale(0.99);
}

.bento-img {
    height: 50%;
    overflow: hidden;
}

.bento-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 1s ease;
}

.bento-item:hover .bento-img img {
    transform: scale(1.05);
}

.bento-text {
    padding: var(--space-sm);
    display: flex;
    flex-direction: column;
}

.bento-text h2 {
    font-size: var(--fluid-heading-3);
    margin-bottom: 1rem;
}

.bento-text p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
    text-align: justify;
    hyphens: auto; /* Dodaje dzielenie wyrazów, żeby justify wyglądało lepiej */
}

.styled-list {
    margin-top: auto;
}

.styled-list li {
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-top: 1px solid var(--glass-border);
    color: rgba(255,255,255,0.9);
}
.styled-list li:last-child {
    border-bottom: 1px solid var(--glass-border);
}

/* Grid Layout definitions */
#investments-strategy { grid-column: span 12; flex-direction: row; }
#investments-strategy .bento-img { width: 50%; height: auto; }
#investments-strategy .bento-text { width: 50%; }

#packaging-materials { grid-column: span 7; }
#recycling-innovation { grid-column: span 5; }
#machinery-tech { grid-column: span 5; }
#capital-funding { grid-column: span 7; }

.mini-item { grid-column: span 4; justify-content: flex-start; }

.animated-icon-wrapper {
    width: 128px;
    height: 128px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    color: var(--text-color);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.animated-icon {
    width: 64px;
    height: 64px;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.bento-item:hover .animated-icon-wrapper {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
}

/* Specific Icon Animations (Always running, but faster/more intense on hover) */
.icon-gear {
    animation: spin 8s linear infinite;
}
.bento-item:hover .icon-gear {
    animation: spin 2s linear infinite;
}

.icon-globe {
    animation: rotate-globe 3s ease-in-out infinite alternate;
}
.bento-item:hover .icon-globe {
    animation: rotate-globe 1s ease-in-out infinite alternate;
}

.icon-chart {
    animation: draw-chart 1.5s ease-in-out infinite alternate;
}
.bento-item:hover .icon-chart {
    animation: draw-chart 0.5s ease-in-out infinite alternate;
}

.icon-rocket {
    animation: float-rocket 1s ease-in-out infinite alternate;
}
.bento-item:hover .icon-rocket {
    animation: launch-rocket 0.4s ease-in-out infinite alternate;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes rotate-globe {
    0% { transform: rotate(-15deg) scale(1); }
    100% { transform: rotate(15deg) scale(1.15); }
}

@keyframes draw-chart {
    0% { transform: scaleY(0.8) translateY(4px); }
    100% { transform: scaleY(1.1) translateY(-4px); }
}

@keyframes float-rocket {
    0% { transform: translateY(2px) rotate(-3deg); }
    100% { transform: translateY(-6px) rotate(3deg); }
}

@keyframes launch-rocket {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    100% { transform: translateY(-10px) rotate(10deg) scale(1.1); }
}

@media (max-width: 900px) {
    .bento-grid-container {
        display: flex;
        flex-direction: column;
        gap: 6rem; /* Jeszcze większy odstęp pionowy na urządzeniach mobilnych */
    }

    .bento-item {
        width: 100%;
    }

    #investments-strategy {
        flex-direction: column;
    }
    #investments-strategy .bento-img {
        width: 100%;
        height: 300px;
    }
    #investments-strategy .bento-text {
        width: 100%;
    }
}

/* Marquee / Partners — jasnoszare tło, żeby białe elementy logotypów były widoczne */
.partners {
    padding: var(--space-md) 0;
    background: #e8e8e8;
    overflow: hidden;
}

#partners .section-header h2,
#partners .section-header .lead,
.partners .section-header h2,
.partners .section-header .lead {
    color: #000 !important;
    background: none !important;
    -webkit-text-fill-color: #000 !important;
}

.marquee-wrapper {
    width: 100%;
    display: flex;
    overflow: hidden;
}

/* Dwie identyczne grupy obok siebie — translate -50% = dokładnie 1 cykl, bez „dziury” */
.marquee-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    width: max-content;
    /* JS ustawia --marquee-end w px (szerokość pierwszej grupy); fallback -50% bez JS */
    --marquee-end: -50%;
    animation: marquee 28s linear infinite;
    will-change: transform;
}

.marquee-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4rem;
    flex-shrink: 0;
    padding-right: 4rem;
}

.marquee-group .partner-item {
    flex-shrink: 0;
}

.marquee-content img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: none;
    opacity: 0.85;
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(var(--marquee-end), 0, 0); }
}

/* Footer */
footer {
    padding: var(--space-lg) var(--space-md);
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.footer-about h2, .footer-contact h2 {
    font-size: var(--fluid-heading-3);
    margin-bottom: var(--space-sm);
    
    /* Złoty połysk */
    display: inline-block;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 40%,
        #d4af37 50%,
        rgba(255, 255, 255, 1) 60%,
        rgba(255, 255, 255, 1) 100%
    );
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
    padding-right: 0.1em;
}

.about-content {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.about-image {
    width: 441px;
    height: 396px;
    flex-shrink: 0;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%; /* Zabezpieczenie przed wychodzeniem poza kontener */
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.tags {
    color: rgba(255,255,255,0.5);
    line-height: 2;
}

@media (max-width: 900px) {
    .about-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .about-image {
        width: 100%; /* Zdjęcie dopasuje się do szerokości ekranu */
        max-width: 441px; /* Nie przekroczy oryginalnej szerokości */
        height: auto; /* Zachowa proporcje */
        aspect-ratio: 441 / 396; /* Utrzyma proporcje prostokąta */
    }
}

address {
    font-style: normal;
    color: rgba(255,255,255,0.7);
    word-break: break-word; /* Zabezpieczenie przed długimi linkami/adresami e-mail */
}

.footer-about p.tags {
    text-align: left; /* Tagi lepiej wyglądają wyrównane do lewej */
}

address p {
    margin-bottom: 0.5rem;
    text-align: left;
}

address a:hover {
    color: #fff;
}

.social-links {
    margin-top: var(--space-sm);
    display: flex;
    gap: 1rem;
}

.footer-credits {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-credits a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credits a:hover {
    color: #d4af37;
}
    flex-wrap: wrap;
    gap: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-links a svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-3px);
}

.social-links a:hover svg {
    transform: scale(1.1);
}

.map-container {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: var(--space-md);
    border: 1px solid var(--glass-border);
}

.cookies-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    padding: var(--space-sm) var(--space-md);
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    border-top: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookies-notice p {
    margin: 0;
    flex: 1 1 auto;
}

.btn-cookie {
    background: #fff;
    color: #000;
    border: none;
    padding: 0.5rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-cookie:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   NEW SECTIONS STYLES
   ========================================= */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: #000;
    border: 1px solid #fff;
}

.btn-primary:hover {
    background: transparent;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-inline-nowrap {
    white-space: nowrap;
}

.nav-cta {
    display: none;
}
@media (min-width: 1024px) {
    .nav-cta {
        display: inline-flex;
        padding: 0.5rem 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 6px;
        font-size: 0.9rem;
        font-weight: 600;
        text-transform: uppercase;
        transition: all 0.3s ease;
    }
    .nav-cta:hover {
        border-color: #fff;
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Section Headers */
.section-header {
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 var(--space-md);
}

.section-header h2 {
    font-size: var(--fluid-heading-2);
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 0.2em;
    word-break: normal; /* Wyłączone łamanie słów, font-size skaluje się na mobile */
    overflow-wrap: normal;
    display: inline-block; /* Naprawia błąd WebKit ucinający wycentrowany tekst z background-clip */
    max-width: 100%;
}

/* Wymuszenie mniejszego fontu dla bardzo wąskich ekranów, by długie słowa się nie ucinały */
@media (max-width: 380px) {
    .section-header h2 {
        font-size: clamp(1.1rem, 7vw, 1.5rem);
    }
}

.section-header .lead {
    font-size: var(--fluid-text-lg);
    color: rgba(255, 255, 255, 0.8);
}

.scope-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #d4af37;
}

/* About Section */
.about-section {
    padding: var(--space-lg) var(--space-md);
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid var(--glass-border);
}

.about-intro {
    margin-bottom: 4rem;
}

.about-intro h2 {
    font-size: var(--fluid-heading-2);
    margin-bottom: 2rem;
}

.about-intro .lead {
    font-size: var(--fluid-text-lg);
    margin-bottom: 1.5rem;
    color: #fff;
}

.about-intro p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.about-intro .highlight {
    font-size: 1.2rem;
    font-weight: 600;
    color: #d4af37;
    margin-top: 2rem;
}

.milestones-wrapper {
    margin-top: 3rem;
}

.milestones-wrapper h3 {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #fff;
    letter-spacing: 0.05em;
}

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

.milestone-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.milestone-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.milestone-icon {
    display: inline-block;
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.milestone-year {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.05em;
}

.milestone-item p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.milestone-item p a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(212, 175, 55, 0.45);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.milestone-item p a:hover {
    color: #d4af37;
    text-decoration-color: #d4af37;
}

@media (min-width: 640px) {
    .milestones-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .milestones-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4rem 2rem;
    }
}

/* Products Section */
.products-section {
    padding: var(--space-lg) 0;
}

.services-list {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #d4af37;
    line-height: 1;
}

.service-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-transform: none;
    letter-spacing: normal;
}

.service-price {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.products-section .cta-group {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding: 0 var(--space-md);
}

/* How I Work Section */
.how-i-work-section {
    padding: var(--space-lg) 0;
    background: rgba(255, 255, 255, 0.02);
}

.steps-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-item {
    position: relative;
    padding: 2rem;
    border-left: 2px solid var(--glass-border);
}

.step-number {
    position: absolute;
    top: -15px;
    left: -20px;
    width: 40px;
    height: 40px;
    background: var(--bg-color);
    border: 2px solid #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #d4af37;
}

.step-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.step-item p {
    color: rgba(255, 255, 255, 0.7);
}

.how-i-work-footer {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding: 0 var(--space-md);
    color: rgba(255, 255, 255, 0.6);
}

/* Projects Section */
.projects-section {
    padding: var(--space-lg) 0;
}

.large-list {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.large-list li {
    font-size: 1.1rem;
    padding: 1rem 0;
}

.projects-section .cta-group {
    max-width: 1400px;
    margin: 2rem auto 0;
    padding: 0 var(--space-md);
}

/* Portfolio Section */
.portfolio-section {
    padding: var(--space-lg) 0;
    background: rgba(255, 255, 255, 0.02);
}

.portfolio-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.portfolio-column h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #d4af37;
}

.portfolio-footer {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding: 0 var(--space-md);
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
}

/* Marketplace Section */
.marketplace-section {
    padding: var(--space-lg) 0;
}

.marketplace-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.marketplace-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.check-list li {
    position: relative;
    padding-left: 1.5rem;
}

.check-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #d4af37;
}

.marketplace-section .cta-group {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding: 0 var(--space-md);
}

/* Partners Marquee Updates */
.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.partner-item img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: none;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.partner-item:hover img {
    opacity: 1;
}

.partner-item span {
    font-size: 0.9rem;
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Contact CTA */
.contact-cta {
    margin-bottom: 2rem;
}

.confidentiality-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Lead funnel: hero bullets */
.hero-points {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
    max-width: 36rem;
}

.hero-points li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.65rem;
    font-size: clamp(0.95rem, 1.2vw + 0.75rem, 1.05rem);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
}

.hero-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d4af37;
}

/* Sekcje lead (Oferta, Dlaczego my, Realizacje, formularz) */
.section-block {
    padding: var(--space-lg) var(--space-md);
    max-width: 1400px;
    margin: 0 auto;
}

.section-block .section-header {
    margin-bottom: var(--space-md);
}

.section-block .section-header h2 {
    margin-bottom: 0.75rem;
}

.section-block .section-header .lead {
    color: rgba(255, 255, 255, 0.65);
    max-width: 40rem;
}

.section-cta-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: var(--space-md);
}

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

@media (min-width: 640px) {
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .offer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.offer-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: border-color 0.3s ease;
}

.offer-card:hover {
    border-color: rgba(212, 175, 55, 0.35);
}

.offer-card h3 {
    font-size: clamp(1rem, 1vw + 0.85rem, 1.2rem);
    margin-bottom: 0.75rem;
    text-transform: none;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.offer-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.55;
    text-transform: none;
    letter-spacing: 0;
}

.section-header--center {
    text-align: center;
    max-width: 55rem; /* Zwiększono z 38rem, żeby długie słowa w h2 (MNINVESTMENTS) się nie ucinały na desktopie */
    margin-left: auto;
    margin-right: auto;
}

.section-header--center .lead {
    margin-left: auto;
    margin-right: auto;
    max-width: 38rem; /* Ograniczenie szerokości tekstu lead, żeby ładnie się łamał */
}

/* Dlaczego my — siatka kart */
.why-us-section {
    position: relative;
    padding-top: calc(var(--space-lg) + 0.5rem);
    padding-bottom: calc(var(--space-lg) + 0.5rem);
}

.why-us-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 90% 45% at 50% -5%, rgba(212, 175, 55, 0.09) 0%, transparent 52%);
    pointer-events: none;
    z-index: 0;
}

.why-us-section > .section-header,
.why-us-section > .why-us-grid,
.why-us-section > .section-cta-row {
    position: relative;
    z-index: 1;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.35rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .why-us-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.why-card {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 48%, rgba(0, 0, 0, 0.15) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 1.5rem 1.5rem 1.5rem 1.35rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.why-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #d4af37 0%, rgba(212, 175, 55, 0.2) 70%, transparent 100%);
    border-radius: 3px 0 0 3px;
}

.why-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

.why-card__head {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.why-card__icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.why-card__title {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 0.75vw + 0.85rem, 1.22rem);
    font-weight: 600;
    line-height: 1.28;
    letter-spacing: -0.02em;
    text-transform: none;
    margin: 0;
    color: #fff;
}

.why-card__body p {
    color: rgba(255, 255, 255, 0.74);
    margin-bottom: 0.85rem;
    line-height: 1.62;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.96rem;
}

.why-card__body p:last-child {
    margin-bottom: 0;
}

.why-list {
    list-style: none;
    padding-left: 0;
    margin: 0.6rem 0 1rem;
    color: rgba(255, 255, 255, 0.78);
}

.why-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.45rem;
    line-height: 1.52;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.95rem;
}

.why-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.why-list--compact {
    margin-top: 0.35rem;
}

.why-takeaway {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
    padding: 1rem 1.15rem;
    background: rgba(212, 175, 55, 0.09);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 0.65rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.94) !important;
    line-height: 1.55;
}

.why-takeaway--stack {
    line-height: 1.75;
}

.why-card--summary {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem 1.75rem;
    background: linear-gradient(160deg, rgba(212, 175, 55, 0.14) 0%, rgba(255, 255, 255, 0.04) 40%, rgba(5, 5, 5, 0.5) 100%);
    border-color: rgba(212, 175, 55, 0.32);
}

.why-card--summary:hover {
    transform: translateY(-2px);
}

.why-card--summary .why-card__head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.25rem;
}

.why-card--summary .why-card__icon {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.65rem;
}

.why-card--summary .why-card__title {
    font-size: clamp(1.15rem, 1.2vw + 0.95rem, 1.45rem);
}

.why-card__lead {
    font-size: 1.08rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.98) !important;
    line-height: 1.45;
}

.why-card--summary .why-card__body p {
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.section-divider {
    border: none;
    border-top: 1px solid var(--glass-border);
    margin: 2rem 0;
}

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

@media (min-width: 768px) {
    .cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.case-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 1.5rem;
}

.case-card h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    text-transform: none;
    letter-spacing: -0.02em;
}

.case-meta,
.case-effect {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0.5rem;
}

/* Formularz leadowy — wyraźnie wyróżniona karta */
.lead-form-section {
    position: relative;
    padding-top: calc(var(--space-lg) + 0.75rem);
    padding-bottom: calc(var(--space-lg) + 0.75rem);
    border-top: none;
    overflow: hidden;
}

.lead-form-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 85% 70% at 50% 0%, rgba(212, 175, 55, 0.11) 0%, transparent 58%);
    pointer-events: none;
    z-index: 0;
}

.lead-form-section > .lead-form-wrap {
    position: relative;
    z-index: 1;
}

.lead-form-wrap {
    position: relative;
    max-width: 36rem;
    margin: 0 auto;
    padding: 2rem 2rem 2.25rem;
    border-radius: 1rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 45%, rgba(0, 0, 0, 0.25) 100%);
    border: 1px solid rgba(212, 175, 55, 0.28);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 28px 56px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(212, 175, 55, 0.07);
}

.lead-form-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 1rem 1rem 0 0;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.35) 20%, #d4af37 50%, rgba(212, 175, 55, 0.35) 80%, transparent 100%);
    pointer-events: none;
}

.lead-form-kicker {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    color: #d4af37;
    margin: 0 0 0.65rem;
}

.lead-form-title {
    font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
    margin-bottom: 1.75rem;
    text-align: center;
    text-transform: none;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #fff 0%, #e8e8e8 45%, #c9c9c9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lead-form-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.lead-form-row label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    text-transform: none;
    letter-spacing: 0.02em;
}

.lead-form-row input,
.lead-form-row select {
    font-family: var(--font-body);
    font-size: 1rem;
    min-height: 48px;
    padding: 0.65rem 0.85rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-color);
    width: 100%;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.lead-form-row input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.lead-form-row input:focus,
.lead-form-row select:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.55);
    background: rgba(255, 255, 255, 0.06);
}

.lead-form-row select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.lead-form-consent {
    margin-top: 0.25rem;
}

.lead-form-consent__label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.72);
    cursor: pointer;
}

.lead-form-consent__label input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    min-height: unset;
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: rgba(212, 175, 55, 0.85);
    cursor: pointer;
}

.lead-form-consent__label a {
    color: rgba(212, 175, 55, 0.95);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.lead-form-consent__label a:hover {
    color: #fff;
}

.lead-form-submit {
    width: 100%;
    min-height: 52px;
    margin-top: 0.5rem;
    justify-content: center;
    font-size: 1rem;
}

.lead-form-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.lead-form-wrap.is-success .lead-form-content {
    display: none;
}

.lead-form-success {
    display: none;
    text-align: center;
    padding: 2rem 1rem 2.5rem;
}

.lead-form-wrap.is-success .lead-form-success {
    display: block;
}

.lead-form-success__text {
    margin: 0;
    font-family: var(--font-display, inherit);
    font-size: clamp(1.35rem, 4vw, 1.85rem);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.88) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

@media (max-width: 540px) {
    .lead-form-wrap {
        padding: 1.5rem 1.15rem 1.75rem;
    }

    .lead-form-kicker {
        letter-spacing: 0.14em;
        font-size: 0.68rem;
    }
}

.btn-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 1rem 2.5rem;
    line-height: 1.2;
}

.btn-hero-main {
    font-size: 1.15rem;
    font-weight: 700;
}

.btn-hero-sub {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.02em;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .btn-hero {
        padding: 0.85rem 1.5rem;
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .btn-hero-main {
        font-size: 1.05rem;
    }
    .btn-hero-sub {
        font-size: 0.75rem;
    }
}


.hero-social-proof {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hero-social-proof::before {
    content: "✓";
    color: #d4af37;
    font-weight: bold;
}
