:root {
    --main-color: #414833;
    --plus-color: #333d29;
    --hover-color: #b2ba97;
    --button-color: #656d4a;
    --text-color: #020202;
    --text-color2: #fefae0;
    --main-font: 'Manrope', Arial, sans-serif;
    --style-font: 'Lora', Times, serif;
    --code-font: 'Space Mono', serif;
    --font-weight: 400;
    --font-weight2: 700;

    /* Fluid Spacing System */
    --space-xs: clamp(4px, 1vw, 10px);
    --space-md: clamp(15px, 2vw, 25px);
    --space-lg: clamp(20px, 3vw, 40px);

    /* Transparency system */
    --border-color: rgba(254, 250, 224, 0.1);
    --border-light: rgba(254, 250, 224, 0.05);
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-bg-hover: rgba(255, 255, 255, 0.04);
    --accent-transparent: rgba(164, 172, 134, 0.2);
    --shadow-sm: 0 10px 20px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.3);

    /* Font scale */
    --fs-display: clamp(2.8rem, 5vw, 4.6rem);
    --fs-h1: clamp(2rem, 4vw, 3rem);
    --fs-h2: clamp(1.6rem, 3vw, 2.5rem);
    --fs-h3: clamp(1.2rem, 2vw, 1.4rem);
    --fs-body: clamp(0.95rem, 1.2vw, 1.1rem);
    --fs-small: clamp(0.85rem, 1.2vw, 0.95rem);
    --fs-xs: clamp(0.75rem, 1vw, 0.85rem);
    --fs-xxs: clamp(0.7rem, 1vw, 0.8rem);
}

/*FONTS*/

@font-face {
    font-display: swap;
    font-family: 'Lora';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/lora-v37-latin/lora-v37-latin-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Lora';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/lora-v37-latin/lora-v37-latin-500.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Lora';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/lora-v37-latin/lora-v37-latin-700.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Space Mono';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/space-mono-v17-latin/space-mono-v17-latin-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Space Mono';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/space-mono-v17-latin/space-mono-v17-latin-700.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/manrope-v20-latin/manrope-v20-latin-regular.woff2') format('woff2');
}

/*CUSTOM SCROLLBAR (PREMIUM)*/

/* Dla Firefoxa */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--hover-color) var(--plus-color);
}

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

::-webkit-scrollbar-track {
    background: var(--plus-color);
    border-left: 1px solid var(--border-light);
}

::-webkit-scrollbar-thumb {
    background: rgba(164, 172, 134, 0.4);
    border-radius: 10px;
    border: 2px solid var(--plus-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--hover-color);
}

/*RESET & BASE*/

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-color: var(--plus-color);
    font-weight: var(--font-weight);
    font-family: var(--main-font);
    color: var(--text-color2);
    letter-spacing: 0.5px;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: var(--font-weight2);
    font-family: var(--style-font);
    letter-spacing: normal;
    text-wrap: balance;
}

h1 {
    font-size: var(--fs-display);
}

h2 {
    font-size: var(--fs-h1);
}

h3 {
    font-size: var(--fs-h2);
}

h4 {
    font-size: var(--fs-h3);
}

.hero-desc,
.section-desc,
p {
    text-wrap: pretty;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

section {
    padding: 100px 0;
}

/*ACCESSIBILITY: GLOBAL FOCUS*/
*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--hover-color);
    outline-offset: 4px;
    border-radius: 2px;
}

/*SKIP LINK*/
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background-color: var(--main-color);
    color: var(--text-color2);
    padding: 12px 24px;
    font-weight: 700;
    text-decoration: none;
    z-index: 9999;
    transition: top 0.3s ease;
    border-bottom-right-radius: 4px;
}

.skip-link:focus,
.skip-link:focus-visible {
    top: 0;
    outline: 2px solid #ffffff;
    outline-offset: -4px;
}

/*ACCESSIBILITY: REDUCED MOTION*/
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/*CONTAINER SYSTEM*/

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.container--wide {
    max-width: 1600px;
}

.container--medium {
    max-width: 1100px;
}

.container--narrow {
    max-width: 900px;
}

.container--tight {
    max-width: 700px;
}

/*SECTION HEADER SYSTEM*/

.section-header {
    margin-bottom: 60px;
    max-width: 650px;
}

.section-header h2 {
    font-size: var(--fs-h1);
    margin: var(--space-xs) 0 var(--space-md) 0;
    color: var(--text-color2);
}

.section-header--centered {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/*GLASS CARD UTILITY*/

.glass-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.glass-card:hover,
.glass-card.active {
    background-color: var(--card-bg-hover);
    border-color: var(--hover-color);
}

/*LABEL / MONO UTILITY*/

.section-label {
    font-family: var(--code-font);
    color: var(--hover-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: var(--fs-xxs);
}

.section-desc {
    opacity: 0.8;
    line-height: 1.6;
    color: var(--text-color2);
}

/*SCROLL FADE-IN ANIMATION*/

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/*HEADER*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 85px;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}

header.scrolled {
    background: rgba(51, 61, 41, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    height: 75px;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--code-font);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-color2);
    text-decoration: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    z-index: 1003;
}

.logo .logo-dot {
    color: var(--hover-color);
}

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

.navlink {
    font-family: var(--main-font);
    font-size: var(--fs-small);
    color: rgba(254, 250, 224, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.navlink:hover {
    color: var(--text-color2);
}

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

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background-color: var(--text-color2);
    color: var(--main-color);
    border-radius: 4px;
    font-family: var(--code-font);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: var(--hover-color);
    color: var(--plus-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.lang-switch {
    font-family: var(--code-font);
    font-size: var(--fs-xs);
    color: rgba(254, 250, 224, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-sep {
    opacity: 0.3;
}

.lang-link {
    color: rgba(254, 250, 224, 0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.lang-link:hover {
    color: var(--hover-color);
}

.lang-active {
    color: var(--text-color2);
    font-weight: 700;
    cursor: default;
}

/*HAMBURGER*/

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
    position: relative;
}

.hamburger .line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-color2);
    margin: 6px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 900px) {
    .hamburger {
        display: block;
    }

    .desktop-nav,
    .nav-right {
        display: none;
    }
}

/*MOBILE MENU*/

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(51, 61, 41, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.mobile-link {
    font-family: var(--style-font);
    font-size: 2rem;
    color: var(--text-color2);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-link:hover,
.mobile-link:focus-visible {
    color: var(--hover-color);
}

.btn-mobile {
    margin-top: 20px;
    padding: 14px 32px;
    background-color: var(--text-color2);
    color: var(--main-color) !important;
    border: 2px solid var(--text-color2);
    border-radius: 4px;
    font-family: var(--code-font);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-mobile:hover,
.btn-mobile:focus-visible {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
    color: var(--plus-color) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.mobile-lang {
    margin-top: 20px;
    font-family: var(--code-font);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/*HERO*/

#hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--main-color);
    position: relative;
    overflow: hidden;
}

.hero-lcp-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
}

#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(51, 61, 41, 0.8), rgba(51, 61, 41, 0.9));
    z-index: 1;
    pointer-events: none;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    max-width: 1000px;
    padding: 0 20px;
    margin-top: -20px;
    position: relative;
    z-index: 3;
}

.hero-subtitle {
    font-family: var(--code-font);
    color: var(--hover-color);
    font-size: var(--fs-body);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

#hero h1 {
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-color2);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-desc {
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto 2rem auto;
    opacity: 0.85;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/*BUTTONS*/

.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1.2;
    font-family: var(--code-font);
}

.btn-primary {
    background-color: var(--text-color2);
    color: var(--main-color);
    border: 2px solid var(--text-color2);
}

.btn-primary:hover {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
    color: var(--plus-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color2);
    border: 2px solid var(--text-color2);
}

.btn-secondary:hover {
    background-color: var(--button-color);
    color: var(--text-color2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/*OFFER SECTION*/

#offer {
    padding: 120px 0;
    background-color: var(--plus-color);
    position: relative;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    row-gap: 45px;
}

.offer-item {
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.offer-icon {
    width: auto;
    height: auto;
    background-color: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
    color: var(--hover-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

.offer-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5px;
}

.offer-item:hover .offer-icon {
    transform: translateX(5px);
    color: var(--text-color2);
}

.offer-item h3 {
    font-family: var(--style-font);
    font-size: var(--fs-h3);
    margin-bottom: 15px;
    color: var(--text-color2);
}

.offer-item p {
    font-size: var(--fs-small);
    line-height: 1.7;
    color: var(--text-color2);
    opacity: 0.7;
    margin: 0;
}

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

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

    .offer-item {
        padding: 30px 25px;
    }
}

/*WORK SECTION*/

#work {
    padding: 100px 0;
    background-color: var(--plus-color);
}

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

.work-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.work-card:hover {
    transform: translateY(-5px);
}

.card-image-frame {
    display: block;
    width: 100%;
    --frame-height: 260px;
    height: var(--frame-height);
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: top;
    transition: transform 3.5s ease-in-out;
    filter: brightness(0.9);
}

.work-card:hover .card-img {
    transform: translateY(calc(-100% + var(--frame-height)));
    filter: brightness(1);
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-num {
    font-family: var(--code-font);
    color: var(--hover-color);
    font-size: var(--fs-xxs);
    margin-bottom: 5px;
    display: block;
}

.work-card h3 {
    font-family: var(--style-font);
    font-size: var(--fs-h3);
    margin-bottom: 2px;
    color: var(--text-color2);
}

.card-cat {
    font-size: var(--fs-xs);
    opacity: 0.5;
    margin-bottom: 15px;
    font-family: var(--main-font);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-color2);
}

.card-desc {
    font-size: var(--fs-small);
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 20px;
    color: var(--text-color2);
}

.project-meta {
    margin-top: auto;
    padding-top: 15px;
    margin-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.meta-label {
    font-family: var(--code-font);
    font-size: var(--fs-xxs);
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 3px;
    color: var(--text-color2);
}

.meta-value {
    font-family: var(--code-font);
    color: var(--hover-color);
    font-weight: 700;
    font-size: var(--fs-xs);
}

.card-actions {
    width: 100%;
}

.btn-full {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 14px 0;
    background-color: transparent;
    border: 1px solid var(--text-color2);
    color: var(--text-color2);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.work-card:hover .btn-full {
    background-color: var(--text-color2);
    color: var(--plus-color);
    cursor: pointer;
}

/*KONTROLKI SLIDERA*/

.work-controls {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
}

.work-controls.visible {
    display: flex;
}

.work-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.work-arrow:hover:not(:disabled) {
    border-color: var(--hover-color);
    background: var(--card-bg-hover);
    color: var(--hover-color);
    transform: scale(1.08);
}

.work-arrow:disabled {
    opacity: 0.2;
    cursor: default;
    transform: none;
}

.work-arrow svg {
    pointer-events: none;
}

.work-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.work-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(254, 250, 224, 0.3);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.work-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
}

.work-dot:hover {
    border-color: var(--hover-color);
    background: rgba(164, 172, 134, 0.3);
}

.work-dot.active {
    background: var(--hover-color);
    border-color: var(--hover-color);
    box-shadow: 0 0 8px rgba(164, 172, 134, 0.4);
    transform: scale(1.25);
}

/*ANIMACJA WEJŚCIA KARTY*/

@keyframes workSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/*SLIDER MODE*/

@media (max-width: 1024px) {
    .work-grid {
        display: block;
    }

    .work-card {
        display: none;
    }

    .work-card.active-slide {
        display: flex;
        animation: workSlideIn 0.4s ease;
        max-width: 650px;
        margin: 0 auto;
    }

    .work-card:hover .card-img {
        transform: none;
        filter: brightness(1);
    }

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

    .card-image-frame {
        --frame-height: 280px;
    }
}

@media (max-width: 768px) {
    .work-card.active-slide {
        max-width: 100%;
    }

    .card-image-frame {
        --frame-height: 260px;
    }
}

@media (max-width: 600px) {
    .card-image-frame {
        --frame-height: 240px;
    }

    .card-content {
        padding: 20px 18px;
    }

    .work-card h3 {
        font-size: 1.15rem;
    }

    .card-desc {
        font-size: var(--fs-xs);
    }

    .project-meta {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .meta-item {
        flex-direction: row;
        gap: 10px;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }

    .work-controls {
        margin-top: 25px;
        gap: 15px;
    }

    .work-arrow {
        width: 42px;
        height: 42px;
    }

    .work-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 375px) {
    .card-image-frame {
        --frame-height: 200px;
    }

    .card-content {
        padding: 16px 14px;
    }

    .btn-full {
        font-size: 0.85rem;
        padding: 12px 0;
    }

    .meta-label,
    .meta-value {
        font-size: var(--fs-xxs);
    }
}

/*PROCESS SECTION*/

#process {
    padding: 120px 0;
    background-color: var(--plus-color);
    color: var(--text-color2);
    overflow: hidden;
}

.timeline-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    margin-top: 40px;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-transparent);
    z-index: 0;
    border-radius: 2px;
}

.timeline-progress {
    position: absolute;
    top: 48px;
    left: 0;
    height: 2px;
    background-color: var(--hover-color);
    width: 0%;
    z-index: 1;
    transition: width 0.1s linear;
    box-shadow: 0 0 15px var(--hover-color);
}

.timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: var(--accent-transparent);
    box-shadow: var(--shadow-md);
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.15);
    background-color: var(--hover-color);
    color: var(--plus-color);
    box-shadow: 0 0 25px rgba(164, 172, 134, 0.5);
    border-color: var(--hover-color);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
}

.timeline-item:hover .timeline-content h3 {
    color: var(--hover-color);
}

.timeline-marker {
    width: 56px;
    height: 56px;
    box-sizing: border-box;
    background-color: var(--plus-color);
    border: 2px solid var(--hover-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--code-font);
    font-size: 1.1rem;
    color: var(--hover-color);
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    z-index: 3;
    box-shadow: 0 0 0 8px var(--plus-color);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, color 0.3s ease;
}

.timeline-item.filled .timeline-marker {
    background-color: var(--hover-color);
    color: var(--plus-color);
    border-color: var(--hover-color);
    box-shadow: 0 0 20px rgba(164, 172, 134, 0.6);
    transform: scale(1.1);
}

.timeline-item.filled h3 {
    color: var(--hover-color);
    transition: color 0.3s ease-out;
}

.timeline-content {
    padding: 0 5px;
    transition: transform 0.3s ease;
}

.timeline-content h3 {
    font-family: var(--style-font);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color2);
    transition: color 0.3s ease;
}

.timeline-content p {
    font-size: var(--fs-small);
    line-height: 1.6;
    opacity: 0.8;
}

@media (max-width: 1024px) {

    .timeline-wrapper::before,
    .timeline-progress {
        display: none;
    }

    .timeline-wrapper {
        grid-template-columns: 1fr;
        padding-left: 0;
        gap: 0;
        margin-top: 20px;
    }

    .timeline-wrapper::after {
        content: '';
        position: absolute;
        left: 28px;
        top: 20px;
        bottom: 20px;
        width: 2px;
        background: linear-gradient(to bottom,
                transparent 0%,
                rgba(164, 172, 134, 0.3) 10%,
                rgba(164, 172, 134, 0.3) 90%,
                transparent 100%);
        z-index: 0;
    }

    .timeline-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 30px;
        padding: 0 0 50px 0;
        border: none;
        transform: none !important;
    }

    .timeline-item:hover {
        background-color: transparent;
        box-shadow: none;
        border: none;
    }

    .timeline-item:hover .timeline-marker {
        transform: scale(1);
        background-color: transparent;
    }

    .timeline-item:hover .timeline-content {
        transform: none;
    }

    .timeline-item.filled .timeline-marker {
        background-color: var(--hover-color);
        transform: scale(1);
    }

    .timeline-marker {
        flex-shrink: 0;
        margin-bottom: 0;
        margin-top: 0;
        box-shadow: 0 0 0 10px var(--plus-color);
    }

    .timeline-content {
        padding-top: 10px;
        transform: none !important;
    }

    .timeline-item:last-child {
        padding-bottom: 0;
    }
}

/*ABOUT SECTION*/

#about {
    padding: 140px 0;
    background-color: var(--main-color);
    color: var(--text-color2);
    position: relative;
}

.about-split {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: start;
    position: relative;
}

.about-left {
    position: sticky;
    top: 150px;
    height: fit-content;
}

.principles-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.principle-line {
    font-family: var(--style-font);
    font-weight: 500;
    font-size: var(--fs-h2);
    line-height: 1.2;
    margin: 0;
    cursor: default;
    color: var(--text-color2);
    opacity: 0.45;
    transition: opacity 0.5s ease, transform 0.5s ease, color 0.5s ease;
}

.principle-line.active {
    opacity: 1;
    transform: translateX(10px);
    text-shadow: 0 0 20px var(--accent-transparent);
}

.principle-line:hover {
    color: var(--hover-color);
    opacity: 1;
}

.about-right {
    border-left: 1px solid var(--border-color);
    padding-left: 60px;
    padding-top: 10px;
}

.about-right h2 {
    margin: var(--space-xs) 0 var(--space-lg) 0;
    color: var(--text-color2);
}

.about-bio p {
    font-size: var(--fs-body);
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 650px;
}

.about-bio strong {
    color: var(--hover-color);
    font-weight: 400;
}

.about-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.cred-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cred-label {
    font-family: var(--code-font);
    font-size: var(--fs-xxs);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    color: var(--hover-color);
}

.cred-value {
    font-family: var(--code-font);
    font-size: var(--fs-xs);
    color: var(--text-color2);
}

.cred-value.active {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cred-value.active::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background-color: var(--hover-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--hover-color);
}

@media (max-width: 800px) {
    .about-split {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-left {
        position: static;
    }

    .principle-line {
        font-size: 2.2rem;
        opacity: 0.5;
        transform: none !important;
    }

    .principle-line.active {
        opacity: 1;
        transform: none;
    }

    .about-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-color);
        padding-top: 50px;
    }
}

/*FAQ SECTION*/

#faq {
    padding: 120px 0;
    background-color: var(--main-color);
    color: var(--text-color2);
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    padding: 0 30px;
}

/* glass-card handles bg/border/hover, we only override for active */
.faq-item.active {
    box-shadow: var(--shadow-md);
}

.faq-item:hover {
    border-color: rgba(164, 172, 134, 0.4);
    background-color: rgba(255, 255, 255, 0.03);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--style-font);
    font-size: 1.25rem;
    color: var(--text-color2);
    transition: color 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--hover-color);
}

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

.faq-item.active .faq-answer {
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.answer-content {
    padding-bottom: 30px;
    padding-right: 40px;
    max-width: 90%;
}

.answer-content p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 15px;
}

@media (max-width: 700px) {
    .faq-item {
        padding: 0 20px;
    }

    .faq-question {
        font-size: 1.1rem;
        padding: 20px 0;
    }

    .answer-content {
        padding-right: 0;
        max-width: 100%;
    }
}

/*MISSION SECTION*/

#mission {
    padding: 120px 0;
    background-color: var(--plus-color);
    text-align: center;
    color: var(--text-color2);
    position: relative;
    overflow: hidden;
}

#mission .section-label {
    display: inline-block;
}

#mission h2 {
    margin-bottom: 25px;
}

.mission-desc {
    font-size: var(--fs-body);
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 30px;
}

.mission-note {
    font-family: var(--code-font);
    font-size: var(--fs-xxs);
    color: var(--hover-color);
    opacity: 0.7;
    letter-spacing: 0.5px;
    padding-top: 20px;
    border-top: 1px solid var(--accent-transparent);
    display: inline-block;
}

/*CONTACT SECTION*/

#contact {
    padding: 140px 0 160px 0;
    background-color: var(--main-color);
}

.contact-desc {
    font-size: 1.15rem;
    color: var(--text-color2);
    opacity: 0.8;
    line-height: 1.6;
}

.contact-body-split {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: start;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 5px;
}

.sidebar-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-block h3 {
    font-family: var(--code-font);
    font-size: var(--fs-xxs);
    color: var(--hover-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}

.sidebar-block p,
.sidebar-text {
    font-size: var(--fs-small);
    line-height: 1.6;
    color: var(--text-color2);
    opacity: 0.7;
    margin: 0;
}

.sidebar-link {
    font-size: var(--fs-small);
    color: var(--text-color2);
    opacity: 0.8;
    text-decoration: none;
    border-bottom: 1px solid rgba(254, 250, 224, 0.2);
    padding-bottom: 2px;
    display: inline-block;
    transition: all 0.3s ease;
    word-break: break-all;
}

.sidebar-link:hover {
    color: var(--hover-color);
    border-bottom-color: var(--hover-color);
    opacity: 1;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--code-font);
    font-size: var(--fs-xxs);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--hover-color);
    margin-bottom: 5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--hover-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(164, 172, 134, 0.6);
}

.contact-form-wrapper {
    padding-left: 60px;
    border-left: 1px solid var(--border-color);
}

.contact-form-simple {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.form-field label {
    font-family: var(--code-font);
    font-size: var(--fs-xxs);
    color: var(--text-color2);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.5;
}

.form-field label span {
    opacity: 0.5;
    text-transform: lowercase;
}

.form-field input,
.form-field textarea {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 14px 18px;
    font-family: var(--main-font);
    font-size: 1rem;
    color: var(--text-color2);
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--hover-color);
    background-color: var(--card-bg-hover);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(254, 250, 224, 0.25);
    font-weight: 300;
}

.form-field textarea {
    resize: none;
    height: 210px;
    line-height: 1.6;
}

.form-field input:-webkit-autofill {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: var(--text-color2) !important;
}

/*private note*/
.form-privacy {
    font-family: var(--main-font);
    color: rgba(254, 250, 224, 0.5);
    font-size: var(--fs-xxs);
    line-height: 1.5;
    text-align: center;
    margin-top: 5px;
}

.form-privacy a {
    color: rgba(254, 250, 224, 0.7);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(254, 250, 224, 0.2);
    transition: all 0.3s ease;
}

.form-privacy a:hover {
    color: var(--hover-color);
    text-decoration-color: var(--hover-color);
}

/*CUSTOM SELECT*/

.custom-select {
    position: relative;
    width: 100%;
    user-select: none;
}

.select-trigger {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 14px 18px;
    font-family: var(--main-font);
    font-size: 1rem;
    color: rgba(254, 250, 224, 0.25);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.custom-select.has-value .select-trigger {
    color: var(--text-color2);
}

.select-trigger:hover,
.custom-select.open .select-trigger {
    border-color: var(--hover-color);
    background-color: var(--card-bg-hover);
}

.select-trigger::after {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a4ac86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.custom-select.open .select-trigger::after {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background-color: var(--plus-color);
    border: 1px solid rgba(254, 250, 224, 0.15);
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 99;
    overflow: hidden;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.custom-option {
    display: block;
    padding: 12px 18px;
    font-family: var(--main-font);
    font-size: 1rem;
    color: var(--text-color2);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.custom-option:hover {
    background-color: var(--hover-color);
    color: var(--plus-color);
}

/*SUBMIT BUTTON & SUCCESS*/

.contact-form-simple .btn-submit {
    width: 100%;
    background-color: var(--text-color2);
    color: var(--main-color);
    border: none;
    border-radius: 4px;
    padding: 16px 0;
    font-family: var(--code-font);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.contact-form-simple .btn-submit:hover {
    background-color: var(--hover-color);
    color: var(--plus-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.form-success {
    padding: 50px 20px;
    text-align: center;
}

.success-title {
    font-family: var(--style-font);
    font-size: 1.8rem;
    color: var(--hover-color);
    margin-bottom: 10px;
}

.success-text {
    font-size: 1.05rem;
    opacity: 0.8;
}

@media (max-width: 900px) {
    .contact-body-split {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form-wrapper {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-top: 40px;
    }
}

@media (max-width: 768px) {
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/*FOOTER*/

footer {
    padding: 80px 0 40px 0;
    background-color: var(--plus-color);
    color: var(--text-color2);
    border-top: 1px solid var(--border-light);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-light);
}

.footer-logo {
    font-family: var(--code-font);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color2);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 5px;
}

.footer-role {
    font-family: var(--code-font);
    font-size: var(--fs-xxs);
    color: var(--hover-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.footer-mission-text {
    font-size: var(--fs-small);
    line-height: 1.7;
    opacity: 0.6;
    max-width: 350px;
}

.footer-heading {
    font-family: var(--code-font);
    font-size: var(--fs-xxs);
    color: var(--hover-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link {
    font-size: var(--fs-small);
    color: var(--text-color2);
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s ease, color 0.3s ease, transform 0.3s ease;
    width: fit-content;
}

.footer-link:hover {
    opacity: 1;
    color: var(--hover-color);
    transform: translateX(3px);
}

.icon-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-link svg {
    opacity: 0.8;
    transition: transform 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    font-family: var(--code-font);
    font-size: var(--fs-xxs);
    opacity: 0.7;
}

.footer-tagline {
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

    .brand-col {
        grid-column: span 2;
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .brand-col {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 1024px) {

    /* Zmniejsz padding sekcji */
    section {
        padding: 80px 0;
    }

    #offer,
    #faq,
    #mission {
        padding: 80px 0;
    }

    #about {
        padding: 100px 0;
    }

    #contact {
        padding: 100px 0 120px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Header mniejszy */
    header {
        height: 75px;
    }

    header.scrolled {
        height: 65px;
    }
}

@media (max-width: 768px) {

    /* Container padding */
    .container {
        padding: 0 24px;
    }

    .nav-container {
        padding: 0 24px;
    }

    /* Sekcje — dalsze zmniejszenie */
    section {
        padding: 60px 0;
    }

    #offer,
    #faq,
    #mission {
        padding: 60px 0;
    }

    #about {
        padding: 80px 0;
    }

    #contact {
        padding: 80px 0 100px 0;
    }

    /* Hero — przyciski w kolumnie */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }

    .hero-desc {
        font-size: var(--fs-small);
    }

    .hero-content {
        margin-top: 0;
    }

    /* About — footer w kolumnie */
    .about-footer {
        flex-direction: column;
        gap: 25px;
    }

    /* Principle lines — mniejsze */
    .principle-line {
        font-size: 1.9rem;
    }

    /* Section header */
    .section-header h2 {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
    }

    /* Footer — mniejszy padding */
    footer {
        padding: 60px 0 30px 0;
    }

    .footer-top {
        padding-bottom: 40px;
        gap: 40px;
    }

    /* Timeline na mobile — mniejszy marker */
    .timeline-marker {
        width: 48px;
        height: 48px;
        font-size: 0.95rem;
    }

    /* DODAJEMY TO: Linia musi się przesunąć, bo kulka ma teraz 48px (połowa to 24) */
    .timeline-wrapper::after {
        left: 24px;
    }

    .timeline-content h3 {
        font-size: 1.3rem;
    }

    /* Mission */
    .mission-desc {
        font-size: var(--fs-small);
    }

    /* Contact desc */
    .contact-desc {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {

    /* Hero — mniejszy heading */
    #hero h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }


    /* Offer icon mniejszy */
    .offer-icon svg {
        width: 28px;
        height: 28px;
    }

    /* Contact sidebar — mniejszy spacing */
    .sidebar-link {
        font-size: 1rem;
    }

    /* About bio — mniejszy max-width */
    .about-bio p {
        font-size: var(--fs-small);
        line-height: 1.7;
    }

    /* Mobile menu — mniejsze linki */
    .mobile-link {
        font-size: 1.7rem;
    }

    .btn-mobile {
        font-size: 1.1rem;
        padding: 12px 28px;
    }
}

@media (max-width: 480px) {

    /* Container — najwęższy padding */
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
    }

    /* Sekcje — minimalne paddingi */
    section {
        padding: 50px 0;
    }

    #offer,
    #faq,
    #mission {
        padding: 50px 0;
    }

    #about {
        padding: 60px 0;
    }

    #contact {
        padding: 60px 0 80px 0;
    }

    /* Hero */
    .hero-content {
        padding: 0 5px;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 1px;
        margin-bottom: 1rem;
    }

    #hero h1 {
        font-size: clamp(1.8rem, 7.5vw, 2.4rem);
        margin-bottom: 1rem;
    }

    .hero-buttons .btn {
        max-width: 100%;
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    /* Buttons ogólne — mniejszy padding */
    .btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    /* Principle lines */
    .principle-line {
        font-size: 1.6rem;
    }

    /* Offer cards */
    .offer-item {
        padding: 25px 20px;
    }

    .offer-item h3 {
        font-size: 1.15rem;
    }

    /* Timeline */
    .timeline-marker {
        width: 42px;
        height: 42px;
        font-size: 0.85rem;
    }

    .timeline-content h3 {
        font-size: 1.15rem;
    }

    .timeline-content p {
        font-size: var(--fs-xs);
    }

    .timeline-wrapper::after {
        left: 21px;
    }

    .timeline-item {
        padding-left: 0;
        gap: 20px;
    }

    /* FAQ */
    .faq-question {
        font-size: 1rem;
        padding: 18px 0;
    }

    .answer-content p {
        font-size: var(--fs-small);
    }

    /* Contact form */
    .form-field input,
    .form-field textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .select-trigger {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .contact-form-simple .btn-submit {
        padding: 14px 0;
        font-size: 0.9rem;
    }

    /* Footer */
    footer {
        padding: 40px 0 25px 0;
    }

    .footer-top {
        gap: 35px;
        padding-bottom: 30px;
    }

    .footer-logo {
        font-size: 1.1rem;
    }

    .footer-mission-text {
        font-size: var(--fs-xs);
    }

    /* Success message */
    .success-title {
        font-size: 1.4rem;
    }

    .success-text {
        font-size: var(--fs-small);
    }

    /* Section header */
    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        margin: 10px 0 15px 0;
    }

    /* Mobile link */
    .mobile-link {
        font-size: 1.5rem;
        gap: 20px;
    }

    .btn-mobile {
        font-size: 1rem;
    }
}

@media (max-width: 375px) {

    body {
        font-size: 18px;
    }

    .container {
        padding: 0 14px;
    }

    .nav-container {
        padding: 0 14px;
    }

    /* Hero */
    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    #hero h1 {
        font-size: clamp(1.6rem, 7vw, 2rem);
    }

    .principle-line {
        font-size: 1.4rem;
        gap: 10px;
    }

    /* About */
    .about-right h2 {
        margin: 15px 0 25px 0;
        font-size: 1.4rem;
    }

    .cred-value {
        font-size: var(--fs-xxs);
    }

    /* Offer */
    .offer-item {
        padding: 20px 16px;
    }

    /* FAQ */
    .faq-item {
        padding: 0 14px;
    }

    .faq-question {
        font-size: 0.95rem;
    }

    /* Contact */
    .form-field label {
        font-size: 0.65rem;
    }

    /* Footer */
    .footer-bottom {
        font-size: 0.65rem;
    }
}

/*ANIMATIONS*/

/*PREMIUM TEXT REVEAL*/
.fade-in .section-header h2 {
    clip-path: inset(100% 0 0 0);
    transform: translateY(30px);
    opacity: 0;
    transition: clip-path 1.2s cubic-bezier(0.19, 1, 0.22, 1),
        transform 1.2s cubic-bezier(0.19, 1, 0.22, 1),
        opacity 0.5s ease;
}

.fade-in.visible .section-header h2 {
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
    opacity: 1;
}

/*PREMIUM TIMELINE DRAW*/
.timeline-wrapper::before {
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.3s;
}

#process.visible .timeline-wrapper::before {
    transform: scaleX(1);
}

/*1. ANIMACJE NA START (HEADER & HERO)*/
@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

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

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

/* Header*/
header {
    animation: slideDownFade 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Sekcja Hero*/
.hero-subtitle,
#hero h1,
.hero-desc,
.hero-buttons {
    opacity: 0;
    animation: slideUpFade 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-subtitle {
    animation-delay: 0.1s;
}

#hero h1 {
    animation-delay: 0.25s;
}

.hero-desc {
    animation-delay: 0.4s;
}

.hero-buttons {
    animation-delay: 0.55s;
}


/*2. PŁYNNE POJAWIANIE PRZY SCROLLU*/
.fade-in {
    opacity: 1;
}

.fade-in .section-header,
.fade-in .offer-item,
.fade-in .work-card,
.fade-in .faq-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in.visible .section-header,
.fade-in.visible .offer-item,
.fade-in.visible .work-card,
.fade-in.visible .faq-item {
    opacity: 1;
    transform: translateY(0);
}

.fade-in.visible .section-header {
    transition-delay: 0s;
}

.fade-in.visible .offer-item:nth-child(1),
.fade-in.visible .work-card:nth-child(1),
.fade-in.visible .faq-item:nth-child(1) {
    transition-delay: 0.1s;
}

.fade-in.visible .offer-item:nth-child(2),
.fade-in.visible .work-card:nth-child(2),
.fade-in.visible .faq-item:nth-child(2) {
    transition-delay: 0.2s;
}

.fade-in.visible .offer-item:nth-child(3),
.fade-in.visible .work-card:nth-child(3),
.fade-in.visible .faq-item:nth-child(3) {
    transition-delay: 0.3s;
}

.fade-in.visible .offer-item:nth-child(4),
.fade-in.visible .faq-item:nth-child(4) {
    transition-delay: 0.4s;
}

.fade-in.visible .offer-item:nth-child(5),
.fade-in.visible .faq-item:nth-child(5) {
    transition-delay: 0.5s;
}

.fade-in.visible .offer-item:nth-child(6),
.fade-in.visible .faq-item:nth-child(6) {
    transition-delay: 0.6s;
}


/*3. MIĘKKIE HOVERY NA KARTACH*/
.glass-card,
.btn {
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/*4. ASYMETRYCZNE WEJŚCIA (O MNIE & KONTAKT)*/
.fade-in .about-right,
.fade-in .contact-form-wrapper,
.fade-in .contact-sidebar {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in.visible .about-right,
.fade-in.visible .contact-form-wrapper,
.fade-in.visible .contact-sidebar {
    opacity: 1;
    transform: translateY(0);
}

/*Tylko na dużych ekranach (>800px)*/
@media (min-width: 801px) {

    .fade-in .about-right,
    .fade-in .contact-form-wrapper {
        transform: translateX(20px);
    }

    .fade-in .contact-sidebar {
        transform: translateX(-20px);
    }

    .fade-in.visible .about-right,
    .fade-in.visible .contact-form-wrapper,
    .fade-in.visible .contact-sidebar {
        transform: translateX(0);
    }
}

.fade-in.visible .about-right {
    transition-delay: 0.2s;
}

.fade-in.visible .contact-sidebar {
    transition-delay: 0.1s;
}

.fade-in.visible .contact-form-wrapper {
    transition-delay: 0.3s;
}