:root {
    --primary: #2b3db3;
    /* Niebieski z Twoich screenów */
    --primary-dark: #1a2675;
    --accent: #2b3db3;
    --bg: #ffffff;
    --text: #0c1028;
    --text-light: rgba(12, 16, 40, 0.6);
    --road-dash: rgba(255, 255, 255, 0.6);
}

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

@media (max-width: 768px) {
    * {
        max-width: 100%;
    }

    img,
    video {
        max-width: 100%;
        height: auto;
    }
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    margin: 0;
    max-width: 100vw;
}

@media (min-width: 901px) {
    body {
        zoom: 1;
    }
}

/* --- CUSTOM SCROLLBAR --- */
/* Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: rgba(43, 61, 179, 0.7) transparent;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 18px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg,
            rgba(43, 61, 179, 0.08) 0%,
            rgba(43, 61, 179, 0.03) 50%,
            rgba(255, 255, 255, 0.02) 100%);
    border-radius: 20px;
    margin: 5px 0;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
            #2b3db3 0%,
            #4a63d4 25%,
            #2b3db3 75%,
            #1a2675 100%);
    border-radius: 20px;
    border: 3px solid transparent;
    background-clip: content-box;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 0 0 1px rgba(43, 61, 179, 0.4),
        inset 0 0 8px rgba(255, 255, 255, 0.4),
        0 0 20px rgba(43, 61, 179, 0.3);
    position: relative;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,
            #4a63d4 0%,
            #5a7dff 25%,
            #4a63d4 75%,
            #2b3db3 100%);
    box-shadow:
        0 0 0 1px rgba(74, 99, 212, 0.6),
        inset 0 0 12px rgba(255, 255, 255, 0.5),
        0 0 32px rgba(43, 61, 179, 0.5),
        0 4px 20px rgba(43, 61, 179, 0.35);
    border-color: rgba(74, 99, 212, 0.3);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg,
            #5a7dff 0%,
            #7a9dff 50%,
            #4a63d4 100%);
    box-shadow:
        0 0 0 1px rgba(90, 125, 255, 0.8),
        inset 0 0 16px rgba(255, 255, 255, 0.6),
        0 0 40px rgba(43, 61, 179, 0.6),
        0 6px 28px rgba(43, 61, 179, 0.4);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Dynamiczny scrollbar - progress indicator */
html {
    --scroll-progress: 0%;
}

/* --- LOADER --- */
.loader-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #0c1028 0%, #1a2675 50%, #0c1028 100%);
    background-size: 200% 200%;
    animation: loaderGradient 8s ease infinite;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.loader-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(43, 61, 179, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(43, 61, 179, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(43, 61, 179, 0.1) 0%, transparent 50%);
    animation: loaderGlow 6s ease-in-out infinite;
    pointer-events: none;
}

.loader-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)),
        radial-gradient(2px 2px at 60px 70px, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)),
        radial-gradient(1px 1px at 50px 50px, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0)),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)),
        radial-gradient(2px 2px at 90px 10px, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: loaderParticles 20s linear infinite;
    opacity: 0.6;
    pointer-events: none;
}

@keyframes loaderGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes loaderGlow {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes loaderParticles {
    0% {
        transform: translateY(0) translateX(0);
    }

    100% {
        transform: translateY(-200px) translateX(50px);
    }
}

.loader-counter {
    font-family: 'Syne', sans-serif;
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 40px rgba(43, 61, 179, 0.4);
}

.loader-text {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

/* --- 3D Background --- */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

/* --- SMOOTH SCROLL --- */
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;
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.8vw 2vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

@media (min-width: 901px) {
    nav {
        padding: 0.8vw 2vw;
    }
}

@media (max-width: 900px) {
    nav {
        padding: 15px 20px;
    }
}

nav.nav-hidden {
    transform: translateY(-100%);
}

.logo img {
    height: 2.3vw;
    width: auto;
    /* filter: brightness(0) saturate(100%) invert(22%) sepia(71%) saturate(1906%) hue-rotate(219deg) brightness(92%) contrast(92%); */
}

@media (max-width: 900px) {
    .logo img {
        height: 36px;
    }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.menu a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.73vw;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

@media (max-width: 900px) {
    .menu a {
        font-size: 16px;
    }
}

.menu a:hover {
    color: var(--primary);
}

.btn-header {
    padding: 0.6vw 1.6vw;
    border: none;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.68vw;
    letter-spacing: 0.8px;
    transition: 0.25s ease;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    background-size: 200% 100%;
    animation: headerGradient 3.5s ease infinite;
    box-shadow: 0 10px 28px rgba(43, 61, 179, 0.35);
    position: relative;
    overflow: hidden;
}

@media (max-width: 900px) {
    .btn-header {
        padding: 12px 30px;
        font-size: 13px;
    }
}

.btn-header:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 36px rgba(43, 61, 179, 0.45);
    filter: saturate(1.08);
}

.btn-header::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 60%;
    height: 200%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: translateX(-120%);
    animation: headerShine 4.5s ease infinite;
}

/* @keyframes headerGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes headerShine {
    0% {
        transform: translateX(-140%);
        opacity: 0;
    }

    35% {
        opacity: 0.6;
    }

    60% {
        transform: translateX(220%);
        opacity: 0;
    }

    100% {
        transform: translateX(220%);
        opacity: 0;
    }
} */

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 2000;
    width: 30px;
    height: 24px;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 10px;
}

.hamburger span:nth-child(3) {
    top: 20px;
}

.hamburger.open span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
    background: #fff;
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-60px);
}

.hamburger.open span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
    background: #fff;
}

.hamburger {
    z-index: 2001;
    position: fixed;
    top: 20px;
    right: 20px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    z-index: 1500;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    opacity: 0;
    overflow: hidden;
}

.mobile-menu.active {
    right: 0;
    opacity: 1;
}

.mobile-menu a {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    color: #fff;
    text-decoration: none;
    margin: 15px 0;
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.mobile-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.mobile-menu a:hover::after {
    width: 100%;
}

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

.mobile-menu.active a:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.active a:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu.active a:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu.active a:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-menu.active a:nth-child(5) {
    transition-delay: 0.5s;
}

#form2 .hero-subtitle {
    color: #000 !important;
}

@media (min-width: 900px) {
    section#form2 {
        transform: translate(0px, -8vh);
    }
}

/* --- MODAL --- */
/* .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top, rgba(43, 61, 179, 0.25), rgba(12, 16, 40, 0.92));
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: 0.35s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 90%;
    max-width: 560px;
    padding: 0;
    border-radius: 32px;
    transform: scale(0.82) translateY(24px);
    transition: 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 40px 120px rgba(11, 18, 58, 0.5),
        0 10px 35px rgba(43, 61, 179, 0.25);
}

.modal-form .input-group {
    display: grid;
    gap: 10px;
}

.modal-form .input-hint {
    font-size: 0.78rem;
    color: rgba(12, 16, 40, 0.6);
}

.modal-form .input-hint.error {
    color: #ff4d6d;
}

.modal-form .input-error {
    border-color: #ff4d6d !important;
    box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.12);
}

.modal-overlay.active .modal-box {
    transform: scale(1) translateY(0);
    animation: modalFloat 6s ease-in-out infinite;
}

.modal-box::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: transparent;
    pointer-events: none;
}

.modal-box::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    pointer-events: none;
}

@keyframes modalFloat {

    0%,
    100% {
        transform: scale(1) translateY(0);
    }

    50% {
        transform: scale(1) translateY(-6px);
    }
}

.modal-header {
    background: linear-gradient(135deg, #2b3db3 0%, #1a2675 95%);
    padding: 44px 40px 28px;
    position: relative;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(circle at right, rgba(255, 255, 255, 0.08), transparent 60%);
    pointer-events: none;
}

.modal-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.modal-header h2 {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.modal-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.modal-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.modal-steps::before {
    content: '';
    grid-column: 1 / -1;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-bottom: 6px;
}

.modal-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.7);
}

.modal-step .step-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.modal-step.active {
    color: #fff;
}

.modal-step.active .step-dot {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    color: var(--primary);
    border-color: #fff;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.35);
    animation: stepPulse 1.8s ease infinite;
}

.modal-step.done {
    color: rgba(255, 255, 255, 0.9);
}

.modal-step.done .step-dot {
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary-dark);
    border-color: rgba(255, 255, 255, 0.85);
} */

@keyframes stepPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

/* .close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    z-index: 10;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.modal-content {
    padding: 40px 40px 40px;
    position: relative;
    z-index: 2;
    background: #fff;
    margin-top: -0px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal-step-content {
    display: none;
    animation: modalStepIn 0.45s ease;
}

.modal-step-content.active {
    display: block;
}

.modal-step-content.active {
    display: grid;
    gap: 14px;
}

@keyframes modalStepIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.modal-actions .btn-contact {
    flex: 1;
    justify-content: center;
    border-radius: 14px;
    font-size: 0.78rem;
    letter-spacing: 1px;
    padding: 14px 18px;
}

.modal-actions .btn-secondary {
    background: #eef1ff;
    color: var(--primary-dark);
    box-shadow: none;
}

.modal-actions .btn-secondary:hover {
    background: #e3e7ff;
}

.modal-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 10px 28px rgba(43, 61, 179, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.modal-actions .btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 100%;
    height: 200%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.modal-actions .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    filter: brightness(1.08);
    box-shadow: 0 14px 36px rgba(43, 61, 179, 0.4);
    transform: translateY(-2px);
}

.modal-actions .btn-primary:hover::after {
    left: 100%;
}

.modal-actions .btn-primary:active {
    transform: translateY(0);
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 16px 18px;
    margin-bottom: 0;
    border: 1.5px solid rgba(43, 61, 179, 0.15);
    border-radius: 14px;
    font-family: inherit;
    background: #fff;
    color: var(--text);
    font-size: 0.98rem;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(12, 16, 40, 0.06);
}

.modal-form input::placeholder,
.modal-form textarea::placeholder {
    color: rgba(12, 16, 40, 0.45);
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: #2b3db3;
    background: #fff;
    box-shadow: 0 8px 24px rgba(12, 16, 40, 0.08), 0 0 0 4px rgba(43, 61, 179, 0.15);
    box-shadow: 0 0 0 4px rgba(43, 61, 179, 0.12), 0 12px 28px rgba(43, 61, 179, 0.08);
}

.modal-form button {
    width: 100%;
    padding: 16px;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(43, 61, 179, 0.3);
}

.modal-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(43, 61, 179, 0.4);
}

.modal-form button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(43, 61, 179, 0.2);
}

.modal-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-radius: 28px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    text-align: center;
    z-index: 10;
}

.modal-success.show {
    display: flex;
    animation: modalPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-success i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.modal-success h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    margin: 0 0 10px 0;
}

.modal-success p {
    margin: 0;
    opacity: 0.9;
}

@keyframes modalPop {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
} */

/* --- HERO --- */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    display: block;
    background-color: #000;
}

@media (max-width: 900px) {
    .hero-video-bg {
        width: 100%;
        height: 100%;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(1deg, #212c91 0%, rgba(12, 16, 40, 0.4) 100%); */
    z-index: 0;
}

.hero-content {
    text-align: center;
    z-index: 2;
    color: #fff;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 901px) {
    .hero-content {
        max-width: 980px;
    }
}

.hero-content h1 {
    font-size: 6.7vw;
    line-height: .94;
    margin-bottom: 2rem;
    font-family: "LCT Picon Condensed Black", Impact, Anton, "Haettenschweiler", "Arial Black", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
}

@media (max-width: 900px) {
    .hero-content h1 {
        font-size: 56px;
    }
}

.hero-title {
    font-family: 'Syne', sans-serif;
    font-size: 4.7vw;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    line-height: 0.95;
    margin: 0 0 18px 0;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

@media (max-width: 900px) {
    .hero-title {
        font-size: 54px;
    }
}

.hero-subtitle {
    font-size: 1.7vw;
    font-weight: 500;
    margin: 0 0 10px 0;
    letter-spacing: 0.2px;
    text-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
    .hero-subtitle {
        font-size: 18px;
    }
}

.hero-quote {
    font-size: 1.05rem;
    font-weight: 400;
    opacity: 0.9;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
    .hero-quote {
        font-size: 0.9rem;
        padding: 0 20px;
    }
}

.hero-form {
    width: 100%;
    max-width: 720px;
    margin: 22px auto 18px;
}

@media (max-width: 768px) {
    .hero-form {
        max-width: 95%;
        padding: 0 10px;
    }
}

.hero-form-field {
    position: relative;
    height: 66px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    align-items: stretch;
    transition: all 0.3s ease;
}

.hero-form-field:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.form-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.form-input-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    transition: all 0.3s ease;
}

.hero-form-field:hover .form-input-icon {
    color: var(--primary-dark);
}

.hero-form-field:hover .form-input-icon svg {
    stroke: var(--primary-dark);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hero-form-field {
        height: 56px;
    }

    .hero-form-field:hover {
        transform: translateY(-1px);
    }

    .form-input-icon {
        padding: 0 15px;
    }

    .form-input-icon svg {
        width: 20px;
        height: 20px;
    }
}

form.js-hero-multistep .sliding-element {
    position: relative;
    width: calc(100% - 140px);
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.2s ease, transform 0.4s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
}

form.js-hero-multistep .sliding-element.active {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
}


@media (min-width: 992px) {
    form.js-hero-multistep input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=range]) {
        font-size: 1.8rem;
    }
}

@media (min-width: 768px) {
    form.js-hero-multistep input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=range]) {
        padding-right: 140px;
        font-size: 1.6rem;
        padding-left: 70px;
    }
}

form.js-hero-multistep input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=range]) {
    font-size: 1.4rem;
    border: none !important;
    width: 100%;
    background: transparent;
    height: 100%;
    padding: 0 24px 0 24px;
    letter-spacing: 0.2px;
    outline: none;
}

form.js-hero-multistep input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=range]):focus {
    outline: none;
    box-shadow: none;
}

form.round-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=range]) {
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
    padding-left: 25px;
    width: 100%;
}

form.js-hero-multistep input::placeholder {
    opacity: 1;
}

@media (max-width: 900px) {
    #your-email::placeholder {
        content: attr(data-placeholder-short);
    }

    #your-email {
        font-size: 16px !important;
    }

    #your-phone-number::placeholder {
        content: attr(data-placeholder-short);
    }

    #your-phone-number {
        font-size: 16px !important;
    }

    #form2 form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=range]),
    form select,
    form textarea {
        padding: 0 !important;
    }
}

form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=range]),
form select,
form textarea {
    background: #fff;
    border: 1px solid #cbcbcb;
    border-radius: 4px;
    padding: 10px 15px;
}

form.round-form button,
form.round-form input {
    border-radius: 0;
    border: none;
}

.hero-form-btn {
    position: relative;
    width: 140px;
    height: 100%;
    background: #2b3db3;
    color: white;
    font-weight: 700;
    border: none;
    border-radius: 0 999px 999px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0);
    overflow: hidden;
}

.hero-form-btn::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -60%;
    width: 40%;
    height: 140%;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.8) 45%, transparent 70%);
    opacity: 0;
    transform: skewX(-18deg);
}

.hero-form-btn::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.hero-form-arrow {
    display: inline-block;
    transition: transform 0.25s ease;
    width: 44px;
    height: 20px;
    color: white;
}

.hero-form-arrow lottie-player {
    width: 44px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.hero-form-btn:hover {
    transform: scale(1.03);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.08), 0 12px 28px rgba(207, 241, 40, 0.55);
    filter: saturate(1.2);
}

.hero-form-btn:hover::before {
    opacity: 1;
    animation: heroButtonShine 0.7s ease-out forwards;
}

.hero-form-btn:hover::after {
    opacity: 1;
}

.hero-form-btn:active {
    transform: scale(0.98);
}

.hero-form-btn:hover .hero-form-arrow {
    transform: translateX(6px) scale(1.05);
}

.hero-form-field:focus-within {
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28), 0 0 0 2px rgba(207, 241, 40, 0.35);
}


@keyframes heroButtonShine {
    0% {
        left: -60%;
    }

    100% {
        left: 120%;
    }
}

.center-text-wrapper {
    background: #fff;
    padding: 100px 20px 60px;
    text-align: center;
}

@media (max-width: 768px) {
    .center-text-wrapper {
        padding: 60px 15px 40px;
    }
}

.center-text-main {
    font-size: 4rem;
    font-weight: 700;
    color: #0c1028;
    font-family: 'Syne', sans-serif;
}

@media (max-width: 768px) {
    .center-text-main {
        font-size: 1.8rem;
        padding: 0 15px;
    }
}

.scattered-quotes-section {
    background: #fff;
    position: relative;
    height: 400px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .scattered-quotes-section {
        height: auto;
        padding: 20px 15px;
    }
}

/*  thought-second */

.thoughts-block-second {
    position: relative;
    background: #fff;
}

.thoughts-block-second .center-text-wrapper,
.thoughts-block-second .scattered-quotes-section,
.thoughts-block-second .post-hero-text-wrapper {
    position: relative;
    background: transparent;
}

.thoughts-block-second .stripes {
    width: 120%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(10, 1fr);
    transform: skewY(-8deg);
    transform-origin: 0;
    position: absolute;
    left: -10%;
    right: -10%;
    height: 125%;
    pointer-events: none;
}

@media (max-width: 768px) {
    .thoughts-block-second .stripes {
        width: 100%;
        left: 0;
        right: 0;
    }
}

.thoughts-block-second .stripes-bg {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    background: rgba(12, 16, 40, 0.08);
}

.thoughts-block-second .stripes span {
    border-radius: 8px;
    background: rgba(12, 16, 40, 0.08);
}

.thoughts-block-second .stripes span:nth-of-type(1) {
    grid-column: 1 / span 3;
    grid-row: 9 / span 2;
    background: #125A8A;
    filter: opacity(0.9);
}

.thoughts-block-second .stripes span:nth-of-type(2) {
    grid-column: 3 / span 2;
    grid-row: 8;
    background: #1B85CA;
    filter: opacity(0.8);
}

.thoughts-block-second .stripes span:nth-of-type(3) {
    grid-column: 9 / span 4;
    grid-row: 1 / span 2;
    background: transparent;
}

.thoughts-block-second .stripes span:nth-of-type(4) {
    grid-column: 9 / span 3;
    grid-row: 1;
    background: #1B85CA;
}

.thoughts-block-second .stripes span:nth-of-type(5) {
    grid-column: 4 / span 3;
    grid-row: 3;
    background: #1E91DC;
    filter: opacity(0.2);
}

.thoughts-block-second .stripes span:nth-of-type(6) {
    grid-column: 9 / span 3;
    grid-row: 2;
    background: #125A8A;
}

.thoughts-block-second .stripes span:nth-of-type(7) {
    grid-column: 2 / span 2;
    grid-row: 3;
    background: #1B85CA;
    filter: opacity(0.8);
}

.thoughts-block-second .stripes span:nth-of-type(8) {
    grid-column: 10 / span 3;
    grid-row: 3;
    background: #209DEF;
}

.thoughts-block-second .stripes span:nth-of-type(9) {
    grid-column: 4 / span 1;
    grid-row: 7;
    background: #23A9FF;
    filter: opacity(0.2);
}

.thoughts-block-second .stripes span:nth-of-type(10) {
    grid-column: 9 / span 3;
    grid-row: 10;
    background: #209DEF;
    filter: opacity(0.8);
}

.thoughts-block-second .stripes span:nth-of-type(11) {
    grid-column: 1 / span 2;
    grid-row: 8;
    background: #23A9FF;
    filter: opacity(0.2);
}

.thoughts-block-second .stripes span:nth-of-type(12) {
    grid-column: 7 / span 2;
    grid-row: 10;
    background: #23A9FF;
    filter: opacity(0.2);
}

.thoughts-block-second .stripes span:nth-of-type(13) {
    grid-column: 11 / span 1;
    grid-row: 9;
    background: #125A8A;
}

.thoughts-block-second .stripes span:nth-of-type(14) {
    grid-column: 8 / span 2;
    grid-row: 3;
    background: #23A9FF;
    filter: opacity(0.2);
}

.thoughts-block-second .stripes span:nth-of-type(15) {
    grid-column: 9 / span 3;
    grid-row: 10;
    background: transparent;
}

@media (max-width: 900px) and (hover: none) and (pointer: coarse) {
    /* .thoughts-block-second .stripes span:nth-of-type(1) {
        grid-column: 1 / span 2;
        grid-row: 2;
        background: #1B85CA;
        filter: opacity(0.8);
    }

    .thoughts-block-second .stripes span:nth-of-type(2) {
        grid-column: 3 / span 6;
        grid-row: 2;
        background: #1E91DC;
        filter: opacity(0.2);
    }

    .thoughts-block-second .stripes span:nth-of-type(3) {
        grid-column: 9 / span 4;
        grid-row: 1 / span 2;
        background: transparent;
    }

    .thoughts-block-second .stripes span:nth-of-type(4) {
        grid-column: 9 / span 3;
        grid-row: 2;
        background: #1B85CA;
    }

    .thoughts-block-second .stripes span:nth-of-type(5) {
        grid-column: 4 / span 3;
        grid-row: 3;
        background: transparent;
        filter: opacity(0.2);
    }

    .thoughts-block-second .stripes span:nth-of-type(6) {
        grid-column: 9 / span 3;
        grid-row: 4;
        background: transparent;
    }

    .thoughts-block-second .stripes span:nth-of-type(7) {
        grid-column: 2 / span 2;
        grid-row: 3;
        background: transparent;
        filter: opacity(0.8);
    }

    .thoughts-block-second .stripes span:nth-of-type(8) {
        grid-column: 11 / span 3;
        grid-row: 5;
        background: #209DEF;
        filter: opacity(0.2);
    }

    .thoughts-block-second .stripes span:nth-of-type(9) {
        grid-column: 2 / span 1;
        grid-row: 7;
        background: #23A9FF;
        filter: opacity(0.2);
    }

    .thoughts-block-second .stripes span:nth-of-type(10) {
        grid-column: 9 / span 3;
        grid-row: 10;
        background: #209DEF;
        filter: opacity(0.8);
    }

    .thoughts-block-second .stripes span:nth-of-type(11) {
        grid-column: 1 / span 2;
        grid-row: 9;
        background: #23A9FF;
        filter: opacity(0.8);
    }

    .thoughts-block-second .stripes span:nth-of-type(12) {
        grid-column: 7 / span 2;
        grid-row: 10;
        background: #23A9FF;
        filter: opacity(0.2);
    }

    .thoughts-block-second .stripes span:nth-of-type(13) {
        grid-column: 11 / span 1;
        grid-row: 9;
        background: #125A8A;
        filter: opacity(0.6);
    }

    .thoughts-block-second .stripes span:nth-of-type(14) {
        grid-column: 8 / span 2;
        grid-row: 5;
        background: transparent;
        filter: opacity(0.2);
    }

    .thoughts-block-second .stripes span:nth-of-type(15) {
        grid-column: 9 / span 3;
        grid-row: 10;
        background: #125A8A;
        transform: skewY(8deg);
        clip-path: polygon(0 126%, 140% 43%, 100% 240%, 0 105%);
        z-index: -1;
    } */
}



/*  */

.thoughts-block {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.thoughts-block .center-text-wrapper,
.thoughts-block .scattered-quotes-section,
.thoughts-block .post-hero-text-wrapper {
    position: relative;
    z-index: 2;
    background: transparent;
}

.thoughts-block .stripes {
    width: 120%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(10, 1fr);
    transform: skewY(-8deg);
    transform-origin: 0;
    position: absolute;
    z-index: 1;
    left: -10%;
    right: -10%;
    top: -25%;
    height: 150%;
    pointer-events: none;
}

@media (max-width: 768px) {
    .thoughts-block .stripes {
        width: 100%;
        left: 0;
        right: 0;
    }
}

.thoughts-block .stripes-bg {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    background: rgba(12, 16, 40, 0.08);
}

.thoughts-block .stripes span {
    border-radius: 8px;
    background: rgba(12, 16, 40, 0.08);
}

.thoughts-block .stripes span:nth-of-type(1) {
    grid-column: 1 / span 3;
    grid-row: 9 / span 2;
    background: #125A8A;
    filter: opacity(0.9);
}

.thoughts-block .stripes span:nth-of-type(2) {
    grid-column: 3 / span 2;
    grid-row: 8;
    background: #1B85CA;
    filter: opacity(0.8);
}

.thoughts-block .stripes span:nth-of-type(3) {
    grid-column: 9 / span 4;
    grid-row: 1 / span 2;
    background: #125A8A;
}

.thoughts-block .stripes span:nth-of-type(4) {
    grid-column: 9 / span 3;
    grid-row: 3;
    background: #1B85CA;
}

.thoughts-block .stripes span:nth-of-type(5) {
    grid-column: 4 / span 3;
    grid-row: 3;
    background: #1E91DC;
    filter: opacity(0.2);
}

.thoughts-block .stripes span:nth-of-type(6) {
    grid-column: 9 / span 3;
    grid-row: 4;
    background: #125A8A;
}

.thoughts-block .stripes span:nth-of-type(7) {
    grid-column: 2 / span 2;
    grid-row: 3;
    background: #1B85CA;
    filter: opacity(0.8);
}

.thoughts-block .stripes span:nth-of-type(8) {
    grid-column: 10 / span 3;
    grid-row: 5;
    background: #209DEF;
}

.thoughts-block .stripes span:nth-of-type(9) {
    grid-column: 4 / span 1;
    grid-row: 7;
    background: #23A9FF;
    filter: opacity(0.2);
}

.thoughts-block .stripes span:nth-of-type(10) {
    grid-column: 9 / span 3;
    grid-row: 10;
    background: #209DEF;
    filter: opacity(0.8);
}

.thoughts-block .stripes span:nth-of-type(11) {
    grid-column: 1 / span 2;
    grid-row: 8;
    background: #23A9FF;
    filter: opacity(0.2);
}

.thoughts-block .stripes span:nth-of-type(12) {
    grid-column: 7 / span 2;
    grid-row: 10;
    background: #23A9FF;
    filter: opacity(0.2);
}

.thoughts-block .stripes span:nth-of-type(13) {
    grid-column: 11 / span 1;
    grid-row: 9;
    background: #125A8A;
}

.thoughts-block .stripes span:nth-of-type(14) {
    grid-column: 8 / span 2;
    grid-row: 5;
    background: #23A9FF;
    filter: opacity(0.2);
}

.thoughts-block .stripes span:nth-of-type(15) {
    grid-column: 9 / span 3;
    grid-row: 10;
    background: #125A8A;
    transform: skewY(8deg);
    clip-path: polygon(0 126%, 140% 43%, 100% 240%, 0 105%);
    z-index: -1;
}

@media (max-width: 900px) and (hover: none) and (pointer: coarse) {
    .thoughts-block .stripes span:nth-of-type(1) {
        grid-column: 1 / span 2;
        grid-row: 2;
        background: #1B85CA;
        filter: opacity(0.8);
    }

    .thoughts-block .stripes span:nth-of-type(2) {
        grid-column: 3 / span 6;
        grid-row: 2;
        background: #1E91DC;
        filter: opacity(0.2);
    }

    .thoughts-block .stripes span:nth-of-type(3) {
        grid-column: 9 / span 4;
        grid-row: 1 / span 2;
        background: transparent;
    }

    .thoughts-block .stripes span:nth-of-type(4) {
        grid-column: 9 / span 3;
        grid-row: 2;
        background: #1B85CA;
    }

    .thoughts-block .stripes span:nth-of-type(5) {
        grid-column: 4 / span 3;
        grid-row: 3;
        background: transparent;
        filter: opacity(0.2);
    }

    .thoughts-block .stripes span:nth-of-type(6) {
        grid-column: 9 / span 3;
        grid-row: 4;
        background: transparent;
    }

    .thoughts-block .stripes span:nth-of-type(7) {
        grid-column: 2 / span 2;
        grid-row: 3;
        background: transparent;
        filter: opacity(0.8);
    }

    .thoughts-block .stripes span:nth-of-type(8) {
        grid-column: 11 / span 3;
        grid-row: 5;
        background: #209DEF;
        filter: opacity(0.2);
    }

    .thoughts-block .stripes span:nth-of-type(9) {
        grid-column: 2 / span 1;
        grid-row: 7;
        background: #23A9FF;
        filter: opacity(0.2);
    }

    .thoughts-block .stripes span:nth-of-type(10) {
        grid-column: 9 / span 3;
        grid-row: 10;
        background: #209DEF;
        filter: opacity(0.8);
    }

    .thoughts-block .stripes span:nth-of-type(11) {
        grid-column: 1 / span 2;
        grid-row: 9;
        background: #23A9FF;
        filter: opacity(0.8);
    }

    .thoughts-block .stripes span:nth-of-type(12) {
        grid-column: 7 / span 2;
        grid-row: 10;
        background: #23A9FF;
        filter: opacity(0.2);
    }

    .thoughts-block .stripes span:nth-of-type(13) {
        grid-column: 11 / span 1;
        grid-row: 9;
        background: #125A8A;
        filter: opacity(0.6);
    }

    .thoughts-block .stripes span:nth-of-type(14) {
        grid-column: 8 / span 2;
        grid-row: 5;
        background: transparent;
        filter: opacity(0.2);
    }

    .thoughts-block .stripes span:nth-of-type(15) {
        grid-column: 9 / span 3;
        grid-row: 10;
        background: #125A8A;
        transform: skewY(8deg);
        clip-path: polygon(0 126%, 140% 43%, 100% 240%, 0 105%);
        z-index: -1;
    }
}

.quote-item {
    position: absolute;
    font-size: 1.45rem;
    color: #333;
    max-width: 220px;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    will-change: opacity, transform;
    font-family: "Lexend Deca", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.quote-item:nth-child(1) {
    top: -2%;
    left: 42%;
    max-width: 240px;
}

.quote-item:nth-child(2) {
    top: 20%;
    left: 30%;
}

.quote-item:nth-child(3) {
    top: 14%;
    right: 27%;
}

.quote-item:nth-child(4) {
    top: 37%;
    left: 44%;
}

.quote-item:nth-child(5) {
    top: 46%;
    left: 28%;
}

.quote-item:nth-child(6) {
    top: 48%;
    right: 28%;
}

.quote-item:nth-child(7) {
    top: 65%;
    left: 52%;
}

.quote-item:nth-child(8) {
    top: 83%;
    right: 55%;
}

@media (max-width: 900px) and (hover: none) and (pointer: coarse) {
    .quote-item {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin-bottom: 20px;
        max-width: 100%;
        text-align: center;
    }

    .quote-item:nth-child(1),
    .quote-item:nth-child(2),
    .quote-item:nth-child(3),
    .quote-item:nth-child(4),
    .quote-item:nth-child(5),
    .quote-item:nth-child(6),
    .quote-item:nth-child(7),
    .quote-item:nth-child(8) {
        max-width: none;
        top: auto !important;
        left: auto !important;
        right: auto !important;
    }
}

@media (min-width: 768px) {
    .thoughts-block .stripes {
        top: -35%;
        height: 170%;
    }
}

.hero-prefix {
    font-weight: 300;
    font-size: 1.5rem;
    display: block;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-header-second {
    font-size: 1.8rem !important;
    color: #0c1028 !important;
    line-height: 1.4 !important;
    font-style: italic !important;
}

.typing-text {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 0 10px rgba(255, 255, 255, 0.35);
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.2);
}

.hero-suffix {
    font-weight: 300;
    font-size: 1.8rem;
    display: block;
    margin-top: 15px;
}

.hero-content h1,
.hero-prefix,
.hero-suffix {
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.hero-cta {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
}

.hero-cta .btn-contact,
.stats-cta .btn-contact {
    margin-top: 0;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.4rem;
        line-height: 1;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-quote {
        font-size: 0.95rem;
    }
}

/* --- CONTENT --- */
.section {
    padding: 100px 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 15px;
        width: 100%;
    }
}

.section {
    animation: sectionFadeIn 0.8s ease forwards;
    opacity: 0;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-header-first {
    font-size: 4rem !important;
    font-weight: 700 !important;
    color: #0c1028 !important;
    font-family: 'Syne', sans-serif !important;
}

.section-header-second {
    font-size: 1.8rem !important;
    color: #0c1028 !important;
    max-width: 700px !important;
    line-height: 1.4 !important;
    font-style: italic !important;
    margin-bottom: 70px;
    margin-left: 15px;
}

.label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
    border: 1px solid var(--primary);
    padding: 5px 15px;
    border-radius: 50px;
    animation: fadeInUp 0.6s ease forwards;
}

.headline {
    font-family: 'Syne', sans-serif;
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--text);
    font-weight: 700;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

@media(max-width: 768px) {
    .headline {
        font-size: 2.2rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.section-header h2 {
    font-family: 'Syne', sans-serif;
    font-size: 2.8rem;
    color: var(--text);
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.8rem;
        padding: 0 20px;
    }
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 25px auto;
    border-radius: 2px;
}

/* --- USŁUGI (Styl z Twojego screena: białe, wyrównane do lewej) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
}

.service-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 6px;
    text-align: left;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .service-card {
        padding: 30px 25px;
        transition: all 0.3s ease;
    }

    .service-card.in-view {
        border-color: var(--primary);
        box-shadow: 0 10px 30px rgba(43, 61, 179, 0.2);
        background: linear-gradient(135deg, rgba(43, 61, 179, 0.02) 0%, rgba(43, 61, 179, 0.05) 100%);
    }

    .service-card.in-view .icon-box {
        color: var(--primary-dark);
        transform: scale(1.05);
    }

    .service-card.in-view h3 {
        color: var(--primary);
    }

    .service-card:hover {
        transform: none;
    }

    .service-card:hover::before {
        left: -100%;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(43, 61, 179, 0.05), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(43, 61, 179, 0.15);
    transform: translateY(-5px);
}

.icon-box {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    transform: translateZ(20px);
    display: inline-block;
    transition: all 0.3s ease;
}

.service-card:hover .icon-box {
    animation-play-state: paused;
    transform: translateZ(20px) scale(1.15) rotate(6deg);
    color: var(--primary-dark);
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 10px;
    transform: translateZ(10px);
    color: var(--text);
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    transform: translateZ(5px);
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: var(--text);
}

.btn-contact {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 35px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: 0.3s;
    transform: translateZ(10px);
}

.btn-contact:hover {
    background: #1a2675;
}

.btn-contact.btn-light {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.btn-contact.btn-light:hover {
    background: #f4f6ff;
    color: var(--primary-dark);
}

.btn-contact.btn-light.cta-pulse {
    animation: contactPulse 2.6s ease-out infinite;
}

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

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

@keyframes contactPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.btn-header {
    position: relative;
}

.btn-header::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    background: radial-gradient(circle, rgba(43, 61, 179, 0.35), transparent 70%);
    border-radius: 999px;
    z-index: -1;
    opacity: 0.9;
    filter: blur(6px);
    animation: pulse-glow 2.4s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes iconPulseRotate {

    0%,
    100% {
        transform: translateZ(20px) scale(1);
    }

    50% {
        transform: translateZ(20px) scale(1.08) rotate(-4deg);
    }
}

.icon-box {
    animation: iconPulseRotate 3.2s ease-in-out infinite;
}

.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 40px;
    color: #fff;
    text-align: center;
    margin: 60px auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(43, 61, 179, 0.3);
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

.stats-section::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    opacity: 0.8;
    pointer-events: none;
}

.stats-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 25px;
}

.stats-title {
    text-align: left;
}

.stats-title p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
}

.stats-visual {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 20px 22px;
    backdrop-filter: blur(6px);
}

.stats-chart {
    height: 150px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.chart-bar {
    flex: 1;
    height: 100%;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.chart-bar::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55));
}

.stats-section.animated .chart-bar::before {
    animation: barGrow 1.6s ease forwards;
    height: var(--h);
}

.chart-bar span {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.72rem;
    letter-spacing: 0.6px;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

@keyframes barGrow {
    from {
        height: 0;
    }

    to {
        height: var(--h);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-family: 'Syne', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    animation: numberGlow 0.4s ease;
}

@keyframes numberGlow {
    0% {
        text-shadow: 0 5px 20px rgba(0, 0, 0, 0.2), 0 0 30px rgba(255, 255, 255, 0.3);
    }

    100% {
        text-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    }
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.stats-cta {
    margin-top: 35px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.rotating-stats-container {
    position: relative;
    padding: 60px 40px;
    text-align: center;
    background: rgba(43, 61, 179, 0.05);
    border-radius: 15px;
    margin: 40px auto;
    min-height: 120px;
}

.rotating-stat {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    transition: opacity 0.3s ease;
    will-change: opacity;
}

/*  */
.timeline-section {
    padding: 100px 40px;
    max-width: 1500px;
    margin: 0 auto;
}

.timeline-container {
    position: relative;
    padding: 20px 0;
    max-width: 100%;
    overflow-x: hidden;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 50px;
    width: 45%;
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
    text-align: left;
    padding-right: 65px;
}


.timeline-item:nth-child(even) {
    margin-left: 52%;
    text-align: left;
    padding-left: 60px;
}

.timeline-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary);
    transition: all 0.4s ease;
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 4px solid var(--primary);
}

.timeline-content:hover {
    box-shadow: 0 15px 40px rgba(43, 61, 179, 0.2);
    transform: translateY(-5px);
}

.timeline-number {
    position: absolute;
    left: 50%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    transform: translateX(-50%);
    box-shadow: 0 5px 15px rgba(43, 61, 179, 0.3);
}

.timeline-content h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.timeline-content ul {
    font-size: 0.95rem;
    color: var(--text-light);
}

.timeline-content ul li {
    margin-bottom: 8px;
}

@media(max-width: 768px) {
    .timeline-container::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        margin-left: 0 !important;
        padding-left: 90px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        transform: translateX(0);
    }

    .timeline-number {
        left: 30px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .timeline-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .timeline-content ul {
        font-size: 0.85rem;
        padding-left: 15px;
        margin: 12px 0;
    }

    .timeline-content ul li {
        margin-bottom: 6px;
    }
}

.testimonials-section {
    padding: 100px 40px;
    background: linear-gradient(135deg, rgba(43, 61, 179, 0.03) 0%, rgba(26, 38, 117, 0.03) 100%);
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-card::before {
    content: '\"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(43, 61, 179, 0.15);
    border-color: var(--primary);
}

.star-rating {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
}

.testimonial-role {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.faq-section {
    padding: 100px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(43, 61, 179, 0.1);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #fff;
}

.faq-question h3 {
    color: var(--text);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.faq-icon {
    color: var(--primary);
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background: #fff;
    transition: all 0.4s ease;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 25px;
}

/* --- ROAD ANIMATION (Nowa, zgodna ze screenem) --- */
.road-container {
    width: 100%;
    max-width: 100vw;
    height: 140px;
    background-color: var(--primary);
    transform: skewY(-2.5deg);
    /* Pochylenie */
    margin-top: 80px;
    margin-bottom: 20px;
    /* POPRAWIONY ODSTĘP do wideo */
    position: relative;
    z-index: 10;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
}

@media (max-width: 768px) {
    .road-container {
        height: 100px;
        margin-top: 40px;
    }
}

@media (max-width: 600px) {
    .road-container {
        display: none;
    }
}

.road-container::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

.road-lines-wrapper {
    display: flex;
    width: 200%;
    /* Żeby animacja była płynna */
    animation: drive 1.5s linear infinite;
}

.road-dash {
    width: 120px;
    height: 40px;
    background-color: var(--road-dash);
    margin-right: 60px;
    display: inline-block;
    border-radius: 4px;
}

@keyframes drive {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-180px);
        /* Szerokość dasha + margines */
    }
}

/* --- PORTFOLIO SECTION --- */
.portfolio-section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    min-height: 520px;
}

.portfolio-tabs {
    position: relative;
    --g: 10px;
    display: grid;
    height: 340px;
    border-radius: 28px;
    overflow: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease;
    box-shadow: 0 45px 110px rgba(0, 0, 0, 0.22);
    background: #fff;
    /* clip-path: inset(1px); */
}

.portfolio-tab {
    --_p: calc(-1 * var(--g));
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    font-size: 1.6rem;
    font-weight: 700;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: 0.4s 0.1s;
    font-family: 'Syne', sans-serif;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-tab.active {
    transform: scale(0.98);
}

.portfolio-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.6;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.25), transparent 55%);
}

.portfolio-tab::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 60%);
    mix-blend-mode: screen;
}

.portfolio-tab[data-tab="realizacje"] {
    background: linear-gradient(135deg, #2b3db3, #111b52);
    clip-path: polygon(0 0, calc(100% + var(--_p)) 0, 0 calc(100% + var(--_p)));
    z-index: 1;
}

.portfolio-tab[data-tab="reel"] {
    background: linear-gradient(135deg, #111b52, #2b3db3);
    clip-path: polygon(100% 100%, 100% calc(0% - var(--_p)), calc(0% - var(--_p)) 100%);
    z-index: 0;
}

.portfolio-tabs.is-hover-realizacje .portfolio-tab[data-tab="realizacje"] {
    --_p: calc(50% - var(--g));
}

.portfolio-tabs.is-hover-realizacje .portfolio-tab[data-tab="reel"] {
    --_p: calc(-50% - var(--g));
}

.portfolio-tabs.is-hover-reel .portfolio-tab[data-tab="reel"] {
    --_p: calc(50% - var(--g));
}

.portfolio-tabs.is-hover-reel .portfolio-tab[data-tab="realizacje"] {
    --_p: calc(-50% - var(--g));
}

.portfolio-tab span {
    position: relative;
    z-index: 1;
}

.portfolio-tabs .portfolio-hit {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
    cursor: pointer;
}

.portfolio-tabs .portfolio-hit.realizacje {
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.portfolio-tabs .portfolio-hit.reel {
    clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

.portfolio-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.portfolio-tab-content {
    position: absolute;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portfolio-tab-content.active {
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
    position: relative;
}

.portfolio-section.has-active .portfolio-tabs {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.96);
}

.portfolio-section.has-active .portfolio-content {
    opacity: 1;
    pointer-events: all;
}

.portfolio-modal {
    z-index: 1000;
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(43, 61, 179, 0.3);
}

#realizacje-content.active .portfolio-modal {
    max-width: 95%;
}

.portfolio-section.show-realizacje {
    margin-top: 10vh;
    padding-bottom: 25vh;
}


.portfolio-modal img {
    width: 100%;
    height: auto;
    display: block;
}

.portfolio-video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.portfolio-video-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.portfolio-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.portfolio-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg) scale(1.1);
}

@media (max-width: 768px) {
    .portfolio-section {
        padding: 60px 20px;
        min-height: 420px;
    }

    .portfolio-tabs {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 20vh;
        height: auto;
        border-radius: 20px;
        overflow: visible;
        box-shadow: none;
    }

    .portfolio-tab {
        font-size: 1.05rem;
        min-height: 64px;
        border-radius: 16px;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        transform: none;
    }

    .portfolio-tab[data-tab="realizacje"],
    .portfolio-tab[data-tab="reel"] {
        clip-path: none;
    }

    .portfolio-tab:active,
    .portfolio-tab:focus-visible {
        transform: scale(0.98);
        box-shadow: 0 10px 26px rgba(43, 61, 179, 0.25);
        outline: none;
    }

    .portfolio-tabs.is-hover-realizacje .portfolio-tab[data-tab="realizacje"],
    .portfolio-tabs.is-hover-reel .portfolio-tab[data-tab="reel"] {
        transform: scale(0.99);
        box-shadow: 0 10px 26px rgba(43, 61, 179, 0.25);
    }

    .portfolio-modal {
        max-width: 100%;
    }

    .portfolio-content {
        margin-top: 20vh;
    }

    .portfolio-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        top: 15px;
        right: 15px;
    }
}

/* --- SHOWREEL --- */
.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(43, 61, 179, 0.3);
    border: 4px solid #fff;
    z-index: 5;
    transition: all 0.4s ease;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    background: #000;
}

@media (max-width: 768px) {
    .video-wrapper {
        aspect-ratio: 16 / 9;
        border: 2px solid #fff;
        box-shadow: 0 20px 50px rgba(43, 61, 179, 0.25);
    }
}

.video-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(43, 61, 179, 0.1), transparent);
    z-index: 1;
    transition: opacity 0.4s ease;
}

.video-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 50px 120px rgba(43, 61, 179, 0.5);
}

.video-wrapper:hover::before {
    opacity: 0;
}

.video-wrapper video {
    width: 100%;
    display: block;
    cursor: pointer;
    height: 100%;
    object-fit: cover;
}

.showreel-text {
    text-align: center;
    margin-top: 50px;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    box-shadow: 0 10px 40px rgba(43, 61, 179, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.3);
    opacity: 1;
    pointer-events: all;
}

.play-btn.hidden {
    pointer-events: none;
}

.play-btn i {
    margin-left: 5px;
}

.video-wrapper:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 15px 50px rgba(43, 61, 179, 0.7);
}

@media (max-width: 768px) {
    .play-btn {
        width: 70px;
        height: 70px;
        font-size: 1.4rem;
    }
}

/* --- PORTFOLIO (Pełna lista) --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    contain: layout style paint;
}

@media(max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }
}

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

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    will-change: auto;
    backface-visibility: hidden;
    contain: layout style paint;
    aspect-ratio: 1;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease-out;
    backface-visibility: hidden;
}

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

.pf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 61, 179, 0.85);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.portfolio-item:hover .pf-overlay {
    opacity: 1;
}

.pf-icon {
    font-size: 1.5rem;
    color: var(--primary);
    background: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(20px);
}

.portfolio-item:hover .pf-icon {
    transform: translateY(0);
}

/* --- BIO --- */
.bio-section {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 100px 40px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.03);
    margin: 50px auto;
}

.bio-text {
    flex: 1;
}

.bio-image {
    flex: 1.5;
}

.bio-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media(max-width: 900px) {
    .bio-section {
        flex-direction: column-reverse;
        padding: 40px;
    }
}

/* --- TEAM --- */
.team-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.team-member {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    text-align: center;
    width: 260px;
    border: 1px solid #f0f0f0;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    transform: scaleX(0);
    transition: 0.4s;
    transform-origin: left;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member:hover::before {
    transform: scaleX(1);
}

.member-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    background-size: contain;
    background-position: center;
}

.team-member h4 {
    color: var(--text);
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 700;
}

.team-member p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Aktywne linki kontaktowe */
.team-contact {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.team-contact a {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.team-contact a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* --- FOOTER (Oryginalny) --- */
footer {
    background: #212c91;
    color: #fff;
    text-align: center;
    padding: 100px 20px 40px;
    position: relative;
    overflow: hidden;
}

.footer-divider {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--bg);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    filter: blur(0.5px);
    transform: translateZ(0);
    backface-visibility: hidden;
}

footer h2 {
    margin-bottom: 15px;
    font-size: 2.5rem;
    font-family: 'Syne', sans-serif;
}

footer p {
    opacity: 0.7;
    margin-bottom: 40px;
    font-weight: 300;
}

/* --- SCROLL TO TOP BUTTON --- */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 999;
    box-shadow: 0 5px 25px rgba(43, 61, 179, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 35px rgba(43, 61, 179, 0.6);
}

/* --- COOKIES BANNER --- */
.cookies-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(200%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 25px 35px;
    border-radius: 15px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    max-width: 600px;
    width: 90%;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid rgba(43, 61, 179, 0.1);
}

.cookies-banner.show {
    transform: translateX(-50%) translateY(0);
}

.cookies-banner::after {
    content: '✕';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.cookies-banner::after:hover {
    color: var(--text);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .cookies-banner {
        bottom: 15px;
        padding: 20px 25px;
        padding-top: 35px;
        width: 95%;
    }

    .cookies-banner.show {
        transform: translateX(-50%) translateY(0);
    }
}

.cookies-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .cookies-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

.cookies-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.cookies-text {
    flex: 1;
}

.cookies-text h4 {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text);
}

.cookies-text p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.cookies-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .cookies-buttons {
        width: 100%;
        gap: 8px;
    }

    .cookies-btn {
        flex: 1;
        padding: 8px 15px;
    }
}

.cookies-btn {
    padding: 10px 25px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.cookies-accept {
    background: var(--primary);
    color: #fff;
}

.cookies-accept:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 61, 179, 0.3);
}

.cookies-decline {
    background: transparent;
    color: var(--text);
    border: 1px solid #ddd;
}

.cookies-decline:hover {
    background: #f5f5f5;
}

/* --- CUSTOM VIDEO CONTROLS --- */
.custom-video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.video-wrapper:hover .custom-video-controls,
.custom-video-controls.show {
    opacity: 1;
}

.video-progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 10px;
    position: relative;
}

.video-progress {
    height: 100%;
    background: var(--primary);
    border-radius: 10px;
    width: 0;
    transition: width 0.1s linear;
}

.video-controls-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.video-control-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
}

.video-control-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.volume-control-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.volume-slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 28px;
}

.volume-control-wrapper:hover .volume-slider-container {
    opacity: 1;
    width: 130px;
}

.ios-video .volume-slider-container {
    display: none;
    width: 0;
}

.volume-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.15);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    position: relative;
    padding: 0;
    margin: 0;
    line-height: 0;
    display: block;
    box-shadow: none;
}

.volume-slider:hover {
    background: rgba(255, 255, 255, 0.2);
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: none;
    transition: all 0.2s ease;
    border: none;
    transform: translateY(-6px);
}

.volume-slider::-webkit-slider-thumb:hover {
    width: 24px;
    height: 24px;
    box-shadow: none;
    transform: translateY(-8px);
    background: var(--primary-dark);
}

.volume-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
    box-shadow: none;
    transition: all 0.2s ease;
    margin: 0;
}

.volume-slider::-moz-range-thumb:hover {
    width: 24px;
    height: 24px;
    box-shadow: none;
    background: var(--primary-dark);
}

.volume-slider::-webkit-slider-runnable-track {
    background: linear-gradient(to right, var(--primary) 0%, var(--primary) var(--volume-percent, 100%), rgba(255, 255, 255, 0.3) var(--volume-percent, 100%), rgba(255, 255, 255, 0.3) 100%);
    height: 8px;
    border-radius: 4px;
    transition: background 0.1s linear;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.volume-slider:hover::-webkit-slider-runnable-track {
    background: linear-gradient(to right, var(--primary) 0%, var(--primary) var(--volume-percent, 100%), rgba(255, 255, 255, 0.3) var(--volume-percent, 100%), rgba(255, 255, 255, 0.3) 100%);
}

.volume-slider::-moz-range-track {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.volume-slider::-moz-range-progress {
    background: var(--primary);
    height: 8px;
    border-radius: 4px;
    transition: all 0.1s linear;
    border: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
}

.volume-slider:hover::-moz-range-progress {
    background: var(--primary);
}

.video-time {
    color: #fff;
    font-size: 0.85rem;
    margin-left: auto;
}

/* --- LIGHTBOX (Premium) --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(12, 16, 40, 0.98);
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 0 120px;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 100%;
    max-height: 90vh;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: lightboxZoom 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8);
    object-fit: contain;
    transition: opacity 0.15s ease;
}

.lightbox-close {
    position: fixed;
    top: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #fff;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5), 0 0 0 4px var(--primary);
    line-height: 1;
}

.lightbox-close:hover {
    background: #fff;
    color: var(--primary);
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 0 4px #fff;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #fff;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-nav:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.9rem;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-time {
    color: #fff;
    font-size: 0.85rem;
    margin-left: auto;
}

/* --- SEKCJA NIEBIESKA Z TELEFONEM --- */
.yellow-phone-section {
    background: var(--primary);
    padding: 120px 40px;
    position: relative;
    overflow: hidden;
}

.yellow-phone-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
    pointer-events: none;
}

.yellow-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.yellow-text {
    z-index: 2;
}

.yellow-text h2 {
    font-family: 'Syne', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.1;
}

.yellow-divider {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.7);
    margin: 30px 0;
}

.yellow-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.yellow-text .btn-contact {
    background: #fff;
    color: var(--primary);
}

.yellow-text .btn-contact:hover {
    background: #f4f6ff;
    color: var(--primary-dark);
}

.yellow-phone-img {
    position: relative;
    z-index: 2;
    animation: floatPhone 6s ease-in-out infinite;
}

.yellow-phone-img img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.2));
}

@keyframes floatPhone {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* --- SEKCJA BIO_REACTION Z LAPTOPEM --- */
.bio-laptop-section {
    background: white;
    padding: 0;
    position: relative;
}

.bio-laptop-image-full {
    width: 100%;
    overflow: hidden;
}

.bio-laptop-image-full img {
    width: 100%;
    height: auto;
    display: block;
}

.bio-laptop-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    padding: 100px 40px;
}

.bio-laptop-text {
    order: 1;
}

.bio-laptop-text h2 {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.1;
}

.bio-laptop-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.bio-social-links {
    display: flex;
    gap: 20px;
}

.bio-social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.3rem;
}

.bio-social-icon:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px);
}

/* Bio Carousel */
.bio-carousel-wrapper {
    order: 2;
    display: none;
}

/* Bio Gallery */
.bio-gallery {
    order: 2;
}

.bio-gallery-grid {
    display: columns;
    columns: 4;
    column-gap: 20px;
    row-gap: 20px;
}

.bio-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    break-inside: avoid;
    cursor: pointer;
}

.bio-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

/* --- BRANDS SLIDER --- */
.brands-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f2ff 0%, #fff 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

@media (max-width: 768px) {
    .brands-section {
        padding: 50px 0;
    }
}

.brands-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 40px;
}

.brands-header h3 {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
}

.brands-track-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0 40px;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

@media (max-width: 768px) {
    .brands-track-wrapper {
        padding: 0 15px;
    }
}

.brands-track-wrapper.dragging {
    cursor: grabbing;
}

.brands-track {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    will-change: transform;
}

.brand-item {
    min-width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: grab;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
}

.brand-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 8px;
    pointer-events: none;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(43, 61, 179, 0.15);
}

.brand-item img {
    max-width: 100%;
    max-height: 60%;
    object-fit: contain;
    filter: opacity(0.8);
    transition: filter 0.3s ease;
}

.brand-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
}

.brand-item:hover img {
    filter: opacity(1);
}

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

    .btn-header {
        display: none !important;
    }

    .hamburger {
        display: block !important;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .road-container {
        transform: skewY(0);
        height: 100px;
        margin-bottom: 40px;
        margin-top: 60px;
    }

    .section-header {
        align-items: center;
        text-align: center;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .yellow-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bio-laptop-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bio-carousel-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .bio-carousel-container {
        width: 100%;
    }

    .bio-carousel-btn {
        width: 40px;
        height: 40px;
    }

    .yellow-text h2,
    .bio-laptop-text h2 {
        font-size: 2rem;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .brands-header h3 {
        font-size: 1.5rem;
    }

    .brand-item {
        min-width: 150px;
        height: 80px;
    }

    .stats-top {
        grid-template-columns: 1fr;
    }

    .stats-title {
        text-align: center;
    }
}


.post-hero-text-wrapper {
    background: #fff;
    padding: 80px 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .post-hero-text-wrapper {
        padding: 50px 15px;
    }
}

.post-hero-text-first {
    font-size: 2.5rem;
    color: #0c1028;
    line-height: 1.3;
    font-family: 'Syne', sans-serif;
    display: inline;
}

@media (max-width: 768px) {
    .post-hero-text-first {
        font-size: 1.5rem;
    }
}

.post-hero-text-gold {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffc107;
    line-height: 1.3;
    font-family: 'Syne', sans-serif;
    display: inline;
    margin: 0 0.2em;
}

@media (max-width: 768px) {
    .post-hero-text-gold {
        font-size: 1.5rem;
    }
}

.post-hero-text-wrapper>div:last-of-type {
    margin-top: 10px;
}

.post-hero-text-second {
    font-size: 1.8rem;
    /* font-weight: 400; */
    color: #0c1028;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.4;
    font-style: italic;
}

@media (max-width: 768px) {
    .post-hero-text-second {
        font-size: 1.1rem;
        padding: 0 10px;
    }
}

/* Portfolio animations */
.portfolio-item {
    opacity: 1;
    cursor: pointer;
    animation: fadeInScale 0.6s ease forwards;
    animation-fill-mode: both;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.portfolio-item:nth-child(1) {
    animation-delay: 0s;
}

.portfolio-item:nth-child(2) {
    animation-delay: 0.1s;
}

.portfolio-item:nth-child(3) {
    animation-delay: 0.2s;
}

.portfolio-item:nth-child(4) {
    animation-delay: 0.3s;
}

@media (min-width: 901px) {
    .hamburger {
        display: none !important;
    }
}

/* --- SOCIAL PROOF SECTION --- */
.socialproof-section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
}

.socialproof-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.socialproof-inner > div {
    margin-bottom: 50px;
}

.socialproof-inner > div:nth-child(2) {
    margin-bottom: 5px;
}

.socialproof-header {
    text-align: center;
}

.socialproof-header h2 {
    font-family: 'Syne', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 15px;
}

.socialproof-header p {
    font-size: 1.8rem;
    color: var(--text);
    font-style: italic;
    line-height: 1.4;
}

.socialproof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.socialproof-card {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 35px 30px;
    transition: all 0.3s ease;
    text-align: center;
}

.socialproof-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 35px rgba(43, 61, 179, 0.15);
    transform: translateY(-5px);
}

.socialproof-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 25px;
    line-height: 1.5;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.socialproof-input {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.socialproof-input input {
    background: #f8f9ff;
    border: 1px solid #e0e4ff;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    transition: all 0.3s ease;
    width: 140px;
    text-align: center;
}

.socialproof-input input::placeholder {
    color: rgba(12, 16, 40, 0.4);
}

.socialproof-input input:focus {
    outline: none;
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(43, 61, 179, 0.1);
}

.socialproof-input span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .socialproof-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .socialproof-card {
        padding: 30px 25px;
    }
}

@media (max-width: 640px) {
    .socialproof-section {
        padding: 60px 20px;
    }

    .socialproof-inner {
        gap: 35px;
    }

    .socialproof-header h2 {
        font-size: 2.5rem;
    }

    .socialproof-header p {
        font-size: 1.2rem;
    }

    .socialproof-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .socialproof-card {
        padding: 25px 20px;
    }

    .socialproof-card h3 {
        font-size: 0.9rem;
        min-height: 40px;
    }

    .socialproof-input input {
        width: 120px;
        font-size: 1rem;
    }
}

/* --- COVERFLOW GALLERY --- */
.coverflow-container {
    --cf-size: clamp(200px, 40vw, 500px);
    --cf-gap: clamp(80px, 20vw, 350px);
    position: relative;
    width: 100%;
    padding: 30px 0;
}

.coverflow-stage {
    position: relative;
    height: calc(var(--cf-size) + 50px);
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.coverflow-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.coverflow-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--cf-size);
    aspect-ratio: 1/1;
    transform-style: preserve-3d;
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1), opacity 0.4s, filter 0.4s;
    opacity: 0;
    pointer-events: none;
}

.coverflow-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    display: block;
}

.coverflow-item[data-dist="0"] {
    transform: translate(-50%, -50%) scale(1) rotateY(0);
    opacity: 1;
    z-index: 50;
    pointer-events: auto;
    filter: none;
}

.coverflow-item[data-dist="-1"] {
    transform: translate(-50%, -50%) translateX(calc(-1 * var(--cf-gap))) scale(0.85) rotateY(-30deg);
    opacity: 0.7;
    z-index: 40;
    pointer-events: auto;
    filter: brightness(0.85);
}

.coverflow-item[data-dist="1"] {
    transform: translate(-50%, -50%) translateX(var(--cf-gap)) scale(0.85) rotateY(30deg);
    opacity: 0.7;
    z-index: 40;
    pointer-events: auto;
    filter: brightness(0.85);
}

.coverflow-item[data-dist="-2"],
.coverflow-item[data-dist="2"] {
    opacity: 0;
    pointer-events: none;
}

.coverflow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.coverflow-nav:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.coverflow-nav.prev {
    left: 15px;
}

.coverflow-nav.next {
    right: 15px;
}

.coverflow-nav.prev::before {
    content: '‹';
}

.coverflow-nav.next::before {
    content: '›';
}

.coverflow-thumbs-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 0 15px;
    overflow-x: auto;
    scrollbar-width: none;
}

.coverflow-thumbs-bar::-webkit-scrollbar {
    display: none;
}

.coverflow-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
    opacity: 0.6;
    overflow: hidden;
}

.coverflow-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.coverflow-thumb.active {
    border-color: #2b3db3;
    opacity: 1;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(43, 61, 179, 0.3);
}

.coverflow-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.coverflow-lightbox.open {
    display: flex;
}

.coverflow-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 2.2rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform 0.2s ease, background 0.2s ease;
    padding: 0;
    line-height: 1;
}

.coverflow-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-50%) scale(1.08);
}

.coverflow-lightbox-nav.prev {
    left: 20px;
}

.coverflow-lightbox-nav.next {
    right: 20px;
}

.coverflow-lightbox-nav.prev::before {
    content: '‹';
}

.coverflow-lightbox-nav.next::before {
    content: '›';
}

.coverflow-lightbox-img {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 4px;
    animation: cfZoom 0.3s ease-out;
}

@keyframes cfZoom {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.coverflow-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 2.2rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: 0.2s;
    z-index: 2;
}

.coverflow-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

body.coverflow-lb-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .coverflow-container {
        --cf-size: clamp(180px, 35vw, 400px);
        --cf-gap: 25vw;
    }

    .coverflow-nav {
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .coverflow-container {
        --cf-size: clamp(150px, 50vw, 300px);
        --cf-gap: 18vw;
        padding: 20px 0;
    }

    .coverflow-stage {
        height: calc(var(--cf-size) + 30px);
    }

    .coverflow-nav {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    .coverflow-nav.prev {
        left: 10px;
    }

    .coverflow-nav.next {
        right: 10px;
    }

    .coverflow-lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1.6rem;
    }

    .coverflow-lightbox-nav.prev {
        left: 10px;
    }

    .coverflow-lightbox-nav.next {
        right: 10px;
    }

    .coverflow-thumb {
        width: 60px;
        height: 60px;
    }

    .coverflow-thumbs-bar {
        margin-top: 15px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .coverflow-container {
        --cf-size: clamp(130px, 55vw, 260px);
        --cf-gap: 14vw;
        padding: 15px 0;
    }

    .coverflow-stage {
        height: calc(var(--cf-size) + 25px);
    }

    .coverflow-item[data-dist="-1"],
    .coverflow-item[data-dist="1"] {
        transform: translate(-50%, -50%) translateX(var(--cf-gap)) scale(0.8) rotateY(25deg);
    }

    .coverflow-nav {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .coverflow-nav.prev {
        left: 5px;
    }

    .coverflow-nav.next {
        right: 5px;
    }

    .coverflow-thumb {
        width: 50px;
        height: 50px;
    }

    .coverflow-thumbs-bar {
        margin-top: 12px;
        gap: 6px;
        padding: 0 10px;
    }
}

/* ==========================================
   TOAST NOTIFICATIONS
   ========================================== */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.4);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 400px;
    pointer-events: auto;
    transform: translateX(450px);
    opacity: 0;
    animation: toast-slide-in 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.toast.toast-hide {
    animation: toast-slide-out 0.3s ease-in forwards;
}

.toast-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-icon i {
    font-size: 14px;
}

.toast-message {
    flex: 1;
    line-height: 1.5;
}

.toast-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    color: #ffffff;
}

@keyframes toast-slide-in {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toast-slide-out {
    to {
        transform: translateX(450px);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    #toast-container {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }
    
    .toast {
        min-width: auto;
        width: 100%;
    }
}