:root {
    --main-color: #414833;
    --plus-color: #333d29;
    --hover-color: #a4ac86;
    --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;
}

/* lora-regular - latin */
@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'),
        url('fonts/lora-v37-latin/lora-v37-latin-regular.ttf') format('truetype');
}

/* lora-500 - latin */
@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'),
        url('fonts/lora-v37-latin/lora-v37-latin-500.ttf') format('truetype');
}

/* lora-600 - latin */
@font-face {
    font-display: swap;
    font-family: 'Lora';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/lora-v37-latin/lora-v37-latin-600.woff2') format('woff2'),
        url('fonts/lora-v37-latin/lora-v37-latin-600.ttf') format('truetype');
}

/* lora-700 - latin */
@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'),
        url('fonts/lora-v37-latin/lora-v37-latin-700.ttf') format('truetype');
}

/* space-mono-regular - latin */
@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'),
        url('fonts/space-mono-v17-latin/space-mono-v17-latin-regular.ttf') format('truetype');
}

/* space-mono-700 - latin */
@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'),
        url('fonts/space-mono-v17-latin/space-mono-v17-latin-700.ttf') format('truetype');
}

/* manrope-regular - latin */
@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'),
        url('fonts/manrope-v20-latin/manrope-v20-latin-regular.ttf') format('truetype');
}



* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--plus-color);
    font-weight: var(--font-weight);
    font-family: var(--main-font);
    color: var(--text-color2);
    font-size: 20px;
    letter-spacing: 0.5px;
}


h1,
h2,
h3,
h4,
h5 {
    font-weight: var(--font-weight2);
    font-family: var(--style-font);
    letter-spacing: normal;
}

h1 {
    font-size: 4.6rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container,
header .nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    align-items: center;
}

section {
    padding: 100px 0;
}

/* =========================
   ULTIMATE GLASS HEADER
   ========================= */

/* =========================
   REAL FROSTY GLASS (LIGHTER)
   ========================= */

header {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    height: 72px;
    z-index: 1000;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.22) 0%,
            rgba(255, 255, 255, 0.15) 100%), rgba(10, 15, 10, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
        0 15px 35px rgba(0, 0, 0, 0.3);
    border-radius: 100px;
    padding: 0 10px;
}

.nav-container {
    width: 100%;
    height: 100%;
    padding: 0 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    /* KLUCZ: Wszystko w jednej linii poziomej */
}

/* --- 1. LOGO --- */
.logo {
    font-family: var(--code-font);
    /* Manrope */
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    height: 100%;
}

.logo .logo-dot {
    color: var(--hover-color);
}

/* --- 2. NAV LINKS --- */
.desktop-nav {
    display: flex;
    gap: 20px;
    height: 100%;
    align-items: center;
}

.navlink {
    font-family: var(--main-font);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    /* Szaro-biały */
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 8px;
}

.navlink:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
    /* Subtelne tło na hover */
}

/* --- 3. PRAWA STRONA (BTN + LANG) --- */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    /* Odstęp między przyciskiem a językiem */
    height: 100%;
}

/* Button "Get in touch" */
.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 44px;
    /* Wysokość przycisku */
    padding: 0 24px;

    background-color: var(--text-color2);
    /* Kremowy */
    color: var(--plus-color);
    /* Ciemny tekst */

    border-radius: 50px;
    font-family: var(--main-font);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;

    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    /* Glow effect */
}

/* Lang Switch (PL | EN) */
.lang-switch {
    font-family: var(--code-font);
    /* Space Mono */
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-sep {
    opacity: 0.3;
}

.lang-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.lang-link:hover {
    color: var(--hover-color);
}

.lang-active {
    color: #fff;
    font-weight: 700;
    cursor: default;
}
/* =========================
   HAMBURGER BUTTON STYLES
   ========================= */
.hamburger {
    display: none; /* Ukryty na komputerach */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000; /* Musi być wyżej niż mobile-menu (które ma 999)! */
    position: relative;
}

.hamburger .line {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 6px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Pokazujemy hamburgera na mniejszych ekranach */
@media (max-width: 900px) {
    .hamburger {
        display: block;
    }
    
    /* Ukrywamy desktopowe elementy z prawej strony na mobile */
    .desktop-nav,
    .nav-right {
        display: none;
    }
}

/* Animacja w X po kliknięciu */
.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);
}
/* =========================
   MOBILE MENU STYLES (NEW)
   ========================= */
.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;
    border: 2px solid var(--text-color2);
    border-radius: 4px;
    font-size: 1.2rem;
}

.mobile-lang {
    margin-top: 20px;
    font-family: var(--code-font);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* MOBILE MENU STYLES */
@media (max-width: 768px) {
    header {
        width: 92%;
        /* Nieco szerzej na mobile */
        top: 15px;
    }

    .hamburger {
        display: block;
    }

    nav ul {
        display: none;
        /* Domyślnie ukryte */
        position: absolute;
        top: 100%;
        /* Zaraz pod belką */
        left: 0;
        width: 100%;
        background-color: rgba(65, 72, 51, 0.95);
        /* Ciemniejsze tło dla czytelności */
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);

        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 40px 0;

        border-radius: 0 0 16px 16px;
        /* Zaokrąglenie tylko na dole */
        border: 1px solid rgba(254, 250, 224, 0.1);
        border-top: none;

        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }

    nav ul.active {
        display: flex;
    }

    /* Na mobile usuwamy zaokrąglenie dołu samej belki, gdy menu jest otwarte */
    header:has(nav ul.active) {
        border-radius: 16px 16px 0 0;
    }
}

/*hero*/

#hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(51, 61, 41, 0.8),
            rgba(51, 61, 41, 0.9)), url('photo/hero.png');

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

}

.hero-content {
    max-width: 1000px;
    padding: 0 20px;
    margin-top: -20px;
}

.hero-subtitle {
    font-family: var(--code-font);
    color: var(--hover-color);
    font-size: 1rem;
    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 / WHAT YOU GET (MATTE & SOLID VERSION)
   ======================== */

#offer {
    padding: 120px 0;
    background-color: var(--plus-color);
    /* Twoje standardowe tło */
    position: relative;
}

.offer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.offer-header {
    margin-bottom: 80px;
    max-width: 580px;
}

.offer-header h2 {
    font-size: 3rem;
    margin: 15px 0 20px 0;
    color: var(--text-color2);
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- KARTA (MATTE / FLAT) --- */
.offer-item {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(254, 250, 224, 0.1);
    padding: 40px 35px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    transition: all 0.3s ease;
}

.offer-item:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: var(--hover-color);
}

/* --- IKONA (POPRAWKA - BEZ RAMKI) --- */
.offer-icon {
    width: auto;
    height: auto;
    background-color: transparent;
    border: none;
    border-radius: 0;
    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);
    background-color: transparent;
    border: none;
}

/* --- TYPOGRAFIA --- */
.offer-item h3 {
    font-family: var(--style-font);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color2);
}

.offer-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    /* Spójny kolor tekstu z resztą strony */
    color: var(--text-color2);
    opacity: 0.7;
    margin: 0;
}

/* --- RESPONSIVE --- */
@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*/

/* ========================
   WORK SECTION (FINAL)
   ======================== */

#work {
    padding: 100px 0;
    background-color: var(--plus-color);
}

.work-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- HEADER --- */
.work-header {
    margin-bottom: 50px;
    max-width: 700px;
}

.work-header h2 {
    font-size: 3rem;
    color: var(--text-color2);
    margin: 10px 0;
}

.section-label {
    font-family: var(--code-font);
    color: var(--hover-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
}

.section-desc {
    opacity: 0.7;
    line-height: 1.6;
    color: var(--text-color2);
}

/* --- GRID --- */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- KARTA (MATTE STYLE) --- */
.work-card {
    /* Tło i ramka spójne z sekcją Offer */
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(254, 250, 224, 0.1);
    border-radius: 8px;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.work-card:hover {
    transform: translateY(-5px);
    border-color: var(--hover-color);
    background-color: rgba(255, 255, 255, 0.04);
}

/* --- ZDJĘCIE (SCROLL EFFECT) --- */
.card-image-frame {
    display: block;
    width: 100%;
    /* To jest wysokość "okienka" */
    height: 260px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-img {
    width: 100%;
    /* WAŻNE: height musi być auto, żeby zdjęcie było długie */
    height: auto;
    display: block;
    object-fit: cover;
    object-position: top;

    /* Czas trwania przewijania - 3s lub 4s jest optymalne */
    transition: transform 3.5s ease-in-out;

    filter: brightness(0.9);
}

.work-card:hover .card-img {
    /* Magia scrollowania: przesuń w górę o całą długość zdjęcia minus wysokość okienka */
    transform: translateY(calc(-100% + 260px));

    filter: brightness(1);
}

/* --- TREŚĆ KARTY --- */
.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Rozciąga treść, żeby przycisk był na dole */
}

/* Numeracja */
.card-num {
    font-family: var(--code-font);
    color: var(--hover-color);
    font-size: 0.8rem;
    margin-bottom: 5px;
    display: block;
}

/* Tytuł */
.work-card h3 {
    font-family: var(--style-font);
    font-size: 1.4rem;
    margin-bottom: 2px;
    color: var(--text-color2);
}

/* Kategoria */
.card-cat {
    font-size: 0.85rem;
    opacity: 0.5;
    margin-bottom: 15px;
    font-family: var(--main-font);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-color2);
}

/* Opis */
.card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 20px;
    color: var(--text-color2);
}

/* --- NOWE: PROJECT META (STATYSTYKI) --- */
.project-meta {
    margin-top: auto;
    /* Popycha sekcję na sam dół dostępnego miejsca */
    padding-top: 15px;
    margin-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* Linia oddzielająca */

    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: 0.7rem;
    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: 0.9rem;
}

/* --- ACTIONS (PRZYCISK FULL WIDTH) --- */
.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;
}

/* --- RESPONSIVE (MOBILE SCROLL) --- */
@media (max-width: 1024px) {
    .work-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 20px;
        /* Ukrywanie scrollbara */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .work-grid::-webkit-scrollbar {
        display: none;
    }

    .work-card {
        min-width: 85vw;
        flex-shrink: 0;
        scroll-snap-align: center;
    }

    .card-img {
        transform: none !important;
        filter: brightness(1);
    }
}

/* ========================
   PROCESS SECTION (STABLE & CENTERED)
   ======================== */

#process {
    padding: 120px 0;
    background-color: var(--plus-color);
    color: var(--text-color2);
    /* Zapobiega pojawianiu się poziomych pasków przewijania przy animacjach */
    overflow: hidden;
}

.process-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.process-header {
    margin-bottom: 60px;
    max-width: 600px;
}

.process-header h2 {
    font-size: 3rem;
    margin: 15px 0 20px 0;
    color: var(--text-color2);
}

/* --- GRID SYSTEM --- */
.timeline-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    padding-top: 0;
    margin-top: 40px;
}

/* --- LINIA TŁA (SZAFA) --- */
/* MATEMATYKA: Padding itemu (20px) + Połowa kółka (28px) = 48px */
.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 48px;
    /* IDEALNY ŚRODEK KÓŁKA */
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(164, 172, 134, 0.2);
    z-index: 0;
    border-radius: 2px;
}

/* --- PASEK POSTĘPU (KOLOROWY) --- */
.timeline-progress {
    position: absolute;
    top: 48px;
    /* MUSI BYĆ IDENTYCZNE JAK WYŻEJ */
    left: 0;
    height: 2px;
    background-color: var(--hover-color);
    width: 0%;
    /* JS steruje szerokością */
    z-index: 1;
    transition: width 0.1s linear;
    box-shadow: 0 0 15px var(--hover-color);
}

/* --- KARTA PROCESU (ITEM) --- */
.timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;

    /* WAŻNE: Padding góry (20px) determinuje pozycję kółka */
    padding: 20px;
    border-radius: 12px;

    /* Transparentny border, żeby karta nie skakała przy hoverze */
    border: 1px solid transparent;

    /* Płynne przejścia kolorów */
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* --- HOVER EFFECT (STABILNY) --- */
/* Karta stoi w miejscu (brak translateY), zmienia się tylko tło/border */
.timeline-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(164, 172, 134, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Marker: Tylko się powiększa (skaluje od środka), więc nie ucieka z linii */
.timeline-item:hover .timeline-marker {
    transform: scale(1.15);
    /* Powiększenie */
    background-color: var(--hover-color);
    color: var(--plus-color);
    box-shadow: 0 0 25px rgba(164, 172, 134, 0.5);
    /* Glow */
    border-color: var(--hover-color);
}

/* Tekst: Delikatnie unosi się do góry, dając efekt "lift" bez ruszania kółkiem */
.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
}

/* Tytuł zmienia kolor */
.timeline-item:hover .timeline-content h3 {
    color: var(--hover-color);
}


/* --- MARKER (KÓŁKO) --- */
.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;
    /* Odstęp od tekstu */

    position: relative;
    z-index: 3;

    /* Cień imituje "wycięcie" linii pod spodem */
    box-shadow: 0 0 0 8px var(--plus-color);

    /* Płynne skalowanie */
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, color 0.3s ease;
}

/* --- STAN "FILLED" (JS) --- */
/* To się dzieje, gdy pasek dojedzie do kółka */
.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;
}

/* --- TREŚĆ TEKSTOWA --- */
.timeline-content {
    padding: 0 5px;
    transition: transform 0.3s ease;
    /* Płynny ruch tekstu góra/dół */
}

.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: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
}

/* ========================
   MOBILE & TABLET (PIONOWO)
   ======================== */
@media (max-width: 1024px) {

    /* Ukrywamy poziomą linię i pasek */
    .timeline-wrapper::before,
    .timeline-progress {
        display: none;
    }

    .timeline-wrapper {
        grid-template-columns: 1fr;
        padding-left: 0;
        gap: 0;
        margin-top: 20px;
    }

    /* PIONOWA LINIA TŁA */
    .timeline-wrapper::after {
        content: '';
        position: absolute;
        /* Wyśrodkowanie linii w pionie względem kółka */
        /* Padding-left itemu (20px) + Połowa kółka (28px) = 48px */
        left: 48px;
        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: 25px;
        padding: 0 0 50px 20px;
        /* Padding-left 20px ważny dla linii */
        border: none;

        /* Reset interakcji na mobile */
        transform: none !important;
    }

    /* Wyłączamy hover effect na dotykowych ekranach */
    .timeline-item:hover {
        background-color: transparent;
        box-shadow: none;
        border: none;
    }

    .timeline-item:hover .timeline-marker {
        transform: scale(1);
        background-color: transparent;
        /* Chyba że jest filled (poniżej) */
    }

    /* Reset ruchu tekstu na mobile */
    .timeline-item:hover .timeline-content {
        transform: none;
    }

    /* Stan wypełniony (Filled) na mobile */
    .timeline-item.filled .timeline-marker {
        background-color: var(--hover-color);
        transform: scale(1);
        /* Bez powiększania na mobile */
    }

    .timeline-marker {
        flex-shrink: 0;
        margin-bottom: 0;
        margin-top: 0;
        /* Box shadow musi być solidny żeby przykryć pionową linię */
        box-shadow: 0 0 0 10px var(--plus-color);
    }

    .timeline-content {
        padding-top: 10px;
        /* Wyrównanie tekstu do środka kółka */
        padding-right: 0;
        transform: none !important;
    }

    .timeline-item:last-child {
        padding-bottom: 0;
    }
}

/* ========================
   ABOUT SECTION (MANIFESTO STYLE)
   ======================== */

#about {
    padding: 140px 0;
    background-color: var(--main-color);
    /* Ciemna zieleń */
    color: var(--text-color2);
    position: relative;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-split {
    display: grid;
    /* Lewa kolumna węższa, prawa szersza */
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: start;
    position: relative;
}

/* --- ABOUT LEFT (STICKY) --- */
.about-left {
    position: sticky;
    top: 150px;
    height: fit-content;
}

.principles-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* --- BASE STATE (PRZYGASZONY) --- */
.principle-line {
    font-family: var(--style-font);
    font-weight: 500;
    font-size: 2.6rem;
    line-height: 1.2;
    margin: 0;
    cursor: default;

    /* Domyślnie ciemne/szare */
    color: rgba(254, 250, 224, 0.2);

    /* Płynna zmiana koloru */
    transition: color 0.5s ease, transform 0.5s ease;
}

/* --- ACTIVE STATE (PODŚWIETLONY) --- */
.principle-line.active {
    color: var(--text-color2);
    /* Jasny beż */
    /* Opcjonalnie: delikatne przesunięcie w prawo dla podkreślenia */
    transform: translateX(10px);
    text-shadow: 0 0 20px rgba(164, 172, 134, 0.2);
    /* Subtelny glow */
}

/* Opcja: Jak najedziesz myszką, to konkretna linia się zapala */
.principle-line:hover {
    color: var(--hover-color);
    opacity: 1;
}

/* --- MOBILE --- */
@media (max-width: 1024px) {
    .about-left {
        position: static;
        margin-bottom: 40px;
    }

    .principle-line {
        font-size: 2.2rem;
        /* Na mobile wszystkie są jasne, bo nie ma efektu cycle */
        color: rgba(254, 250, 224, 0.5);
        transform: none !important;
    }

    .principle-line.active {
        color: var(--text-color2);
        transform: none;
    }
}

/* --- PRAWA STRONA --- */
.about-right {
    /* Dodajemy linię oddzielającą z lewej strony tekstu */
    border-left: 1px solid rgba(254, 250, 224, 0.1);
    padding-left: 60px;
    /* Odstęp od linii */
    padding-top: 10px;
}

.about-right h3 {
    font-size: 2.5rem;
    margin: 20px 0 40px 0;
    color: var(--text-color2);
}

.about-bio p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 650px;
}

.about-bio strong {
    color: var(--hover-color);
    /* Wyróżnienie "from scratch" */
    font-weight: 400;
    /* Lora bold looks distinct anyway */
    border-bottom: 1px solid rgba(164, 172, 134, 0.3);
}

/* --- CREDENTIALS / STATUS (TAGI NA DOLE) --- */
.about-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(254, 250, 224, 0.1);

    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: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
    color: var(--hover-color);
}

.cred-value {
    font-family: var(--code-font);
    font-size: 0.9rem;
    color: var(--text-color2);
}

.cred-value.active {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Zielona kropka statusu */
.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);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .about-split {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-left {
        position: static;
        /* Wyłączamy sticky na tablecie */
    }

    .about-right {
        border-left: none;
        /* Usuwamy linię */
        padding-left: 0;
        border-top: 1px solid rgba(254, 250, 224, 0.1);
        /* Dajemy linię u góry */
        padding-top: 50px;
    }

    .manifesto-line {
        font-size: 2.8rem;
    }
}

/* ========================
   FAQ SECTION (SINGLE COLUMN - CLEAN)
   ======================== */

#faq {
    padding: 120px 0;
    background-color: var(--main-color);
    color: var(--text-color2);
}

.faq-container {
    max-width: 900px;
    /* Szerszy niż tekst, węższy niż full-width */
    margin: 0 auto;
    padding: 0 40px;
}

.faq-header {
    margin-bottom: 60px;
    text-align: left;
    /* Możesz zostawić center, ale left wygląda bardziej tech */
}

.faq-header h2 {
    font-size: 3rem;
    margin: 15px 0 20px 0;
    color: var(--text-color2);
}

/* --- LIST LAYOUT (STACK) --- */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Odstęp między kartami */
}

/* --- FAQ CARD STYLE --- */
.faq-item {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(254, 250, 224, 0.1);
    border-radius: 8px;
    padding: 0 30px;
    /* Więcej oddechu w środku */
    transition: all 0.3s ease;
}

/* Hover */
.faq-item:hover {
    border-color: rgba(164, 172, 134, 0.4);
    background-color: rgba(255, 255, 255, 0.03);
}

/* Active */
.faq-item.active {
    border-color: var(--hover-color);
    background-color: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* --- PYTANIE --- */
.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;
    /* Większy font, bo mamy miejsce */
    color: var(--text-color2);

    transition: color 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--hover-color);
}

/* --- ODPOWIEDŹ --- */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.answer-content {
    padding-bottom: 30px;
    padding-right: 40px;
    /* Margines na tekst, żeby nie był za szeroki */
    max-width: 90%;
    /* Żeby tekst nie lał się od ściany do ściany */
}

.answer-content p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 15px;
}

/* --- MOBILE --- */
@media (max-width: 700px) {
    .faq-container {
        padding: 0 25px;
    }

    .faq-item {
        padding: 0 20px;
    }

    .faq-question {
        font-size: 1.1rem;
        padding: 20px 0;
    }

    .answer-content {
        padding-right: 0;
        max-width: 100%;
    }
}

/* ========================
   MISSION SECTION (SVG VERSION)
   ======================== */

#mission {
    padding: 120px 0;
    background-color: var(--plus-color);
    text-align: center;
    color: var(--text-color2);
    position: relative;
    overflow: hidden;
    /* Żeby SVG nie wychodziły poza sekcję */
}

/* KONTENER NA TEKST */
.mission-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
    /* Tekst na wierzchu */
}

/* KONTENER NA SVG (TŁO) */
.mission-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Nieklikalne */
    z-index: 1;
    /* Pod tekstem */
}

/* STYL DLA OBU ZWIERZAKÓW */
.animal-svg {
    position: absolute;
    width: 400px;
    /* Duży rozmiar */
    height: 400px;

    /* KOLOR I STYL LINI */
    color: var(--hover-color);
    /* Używamy Twojego zielonego akcentu */
    opacity: 0.15;
    /* Bardzo delikatne (15%) */
    stroke-width: 0.8px;
    /* Cieniutka, precyzyjna linia - wygląda jak "hand coded" */

    /* Opcjonalnie: lekki obrót dla luzu */
    transform: rotate(0deg);
}

/* POZYCJA KOTA */
.cat {
    left: -50px;
    bottom: -50px;
    transform: rotate(-10deg);
}

/* POZYCJA PSA */
.dog {
    right: -50px;
    bottom: -50px;
    transform: rotate(10deg);
}

/* --- RESZTA STYLI TEKSTU (Bez zmian) --- */
#mission .section-label {
    margin-bottom: 15px;
    display: inline-block;
    font-family: var(--code-font);
    font-size: 0.9rem;
    color: var(--hover-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

#mission h2 {
    font-size: 3rem;
    color: var(--text-color2);
    margin-bottom: 25px;
}

.mission-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 30px;
}

.mission-note {
    font-family: var(--code-font);
    font-size: 0.8rem;
    color: var(--hover-color);
    opacity: 0.7;
    letter-spacing: 0.5px;
    padding-top: 20px;
    border-top: 1px solid rgba(164, 172, 134, 0.2);
    display: inline-block;
}

/* --- MOBILE --- */
@media (max-width: 900px) {
    .animal-svg {
        width: 250px;
        height: 250px;
        opacity: 0.08;
        /* Jeszcze mniej widoczne na telefonie */
    }

    .cat {
        left: -40px;
        bottom: 0;
    }

    .dog {
        right: -40px;
        bottom: 0;
    }
}

/* ========================
   CONTACT SECTION
   ======================== */

#contact {
    padding: 120px 0;
    /* Ciemne tło główne */
    background-color: var(--main-color);
    color: var(--text-color2);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* LEWA: INFO */
.contact-info h2 {
    font-size: 3rem;
    margin: 15px 0 20px 0;
    line-height: 1.1;
}

.contact-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 50px;
    max-width: 450px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
    padding: 30px 0;
    border-top: 1px solid rgba(254, 250, 224, 0.1);
    border-bottom: 1px solid rgba(254, 250, 224, 0.1);
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    font-family: var(--code-font);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--hover-color);
    opacity: 0.7;
}

.detail-value {
    font-size: 1.1rem;
    color: var(--text-color2);
}

a.detail-value:hover {
    color: var(--hover-color);
}

.contact-note {
    font-family: var(--code-font);
    font-size: 0.85rem;
    opacity: 0.5;
    font-style: italic;
}

/* PRAWA: FORMULARZ */
.contact-form-wrapper {
    background-color: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(254, 250, 224, 0.05);
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-family: var(--code-font);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.form-group .optional {
    text-transform: none;
    font-size: 0.7rem;
    opacity: 0.5;
    margin-left: 5px;
}

/* Style Inputów */
.form-group input,
.form-group textarea,
.form-group select {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(254, 250, 224, 0.1);
    border-radius: 4px;
    padding: 15px;
    color: var(--text-color2);
    font-family: var(--main-font);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--hover-color);
    background-color: rgba(0, 0, 0, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Select custom arrow hack */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "▼";
    font-size: 0.7rem;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--hover-color);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
}

.form-group select option {
    background-color: var(--main-color);
}

/* Success Message */
.form-success {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid var(--hover-color);
    border-radius: 4px;
    background-color: rgba(164, 172, 134, 0.05);
}

.success-title {
    font-family: var(--style-font);
    font-size: 1.5rem;
    color: var(--text-color2);
    margin-bottom: 10px;
}

/* ========================
   FOOTER
   ======================== */

footer {
    padding: 80px 0 40px 0;
    background-color: var(--plus-color);
    border-top: 1px solid rgba(254, 250, 224, 0.05);
    color: var(--text-color2);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(254, 250, 224, 0.05);
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--code-font);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-color2);
}

.footer-role {
    font-family: var(--code-font);
    font-size: 0.8rem;
    opacity: 0.5;
    margin-top: 5px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-link {
    font-family: var(--code-font);
    font-size: 0.9rem;
    opacity: 0.6;
    transition: opacity 0.3s ease, color 0.3s ease;
    color: var(--text-color2);
}

.footer-link:hover {
    opacity: 1;
    color: var(--hover-color);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.footer-mission {
    font-size: 0.9rem;
    opacity: 0.5;
    font-style: italic;
}

.footer-tagline {
    font-family: var(--code-font);
    font-size: 0.8rem;
    opacity: 0.4;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-copy {
    font-size: 0.75rem;
    opacity: 0.2;
    margin-top: 20px;
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-info h2 {
        font-size: 2.5rem;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
}

@media (max-width: 600px) {

    .mission-container,
    .contact-container,
    .footer-container {
        padding: 0 25px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}