@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Inter:wght@100..900&display=swap');

/* KOLORY */
:root {
    --kolor-tla: #FBFBFA;
    --kolor-tekstu: #111111;
    --kolor-szary-box: #DDDDDD;
    --kolor-jasny: #FFFFFF;
}

/* GLOBALNE */
* {
    transition: 0.3s ease-out;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 10px;
}

body {
    font-size: 1.8rem;
    font-family: "EB Garamond", serif;
    background-color: var(--kolor-tla);
    color: var(--kolor-tekstu);
    overflow-x: hidden;
}

/* TYPOGRAFIA */
h1, h2, h3 {
    font-family: "Inter", sans-serif;
    font-weight: 900;
}

h2 {
    font-size: 5rem;
    margin-bottom: 2rem;
    text-transform: lowercase;
}

/* NAV DESKTOP */
nav {
    background-color: var(--kolor-tla);
    padding: 2rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.2);
}

nav .logo {
    font-family: "Inter", sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
}

nav .zawartosc-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a.logo {
    font-family: "Inter", sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--kolor-tekstu);
    text-decoration: none;
    text-transform: none; /* Zapobiega zamianie na wielkie litery */
    letter-spacing: normal; /* Zapobiega rozstrzeleniu liter */
}

/* Blokuje kolor dla linków w menu */
nav a, nav a:visited {
    display: block;
    color: var(--kolor-tekstu);
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 400;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

/* Zabezpieczenie koloru dla logo we wszystkich stanach */
nav a.logo,
nav a.logo:visited,
nav a.logo:hover,
nav a.logo:active,
nav a.logo:focus {
    font-family: "Inter", sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--kolor-tekstu) !important;
    opacity: 1 !important; /* <--- Ta linijka blokuje przezroczystość z nav a:hover */
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    -webkit-tap-highlight-color: transparent;
}

nav a:hover {
    opacity: 0.5;
}

nav a.aktywna::before, .nakladka a.aktywna::before {
    content: "[ ";
}

nav a.aktywna::after, .nakladka a.aktywna::after {
    content: " ]";
}

/* NAV MOBILE */
.burger {
    display: none;
    position: fixed;
    right: 2rem;
    top: 1.5rem;
    background-color: transparent;
    color: #888888; /* Delikatny szary kolor ikonki */
    font-size: 3rem;
    padding: 0.2rem 0.7rem;
    cursor: pointer;
    z-index: 101;
    transition: color 0.3s ease;
}

/* Efekt po najechaniu lub dotknięciu */
.burger:active {
    color: var(--kolor-tekstu);
}

.nakladka {
    background-color: rgba(251, 251, 250, 0.95); /* Jasne tło, prawie białe, półprzezroczyste */
    position: fixed;
    height: 100%;
    width: 0;
    overflow: hidden;
    right: 0;
    z-index: 102;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: width 0.4s ease-in-out;
}

.zamknijX {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--kolor-tekstu);
    font-size: 4rem;
    cursor: pointer;
    font-weight: 200;
}

.nakladka ol {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3vh;
}

.nakladka a {
    color: var(--kolor-tekstu); /* Ciemny tekst na jasnym tle */
    font-size: 3.5rem;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-weight: 300; /* Lżejsza waga liter */
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

/* WSZYSTKIE SEKCJE */
section {
    min-height: auto;            /* wysokość zależna od treści -> równy odstęp do linii */
    padding: 10rem 5% 9rem 5%;   /* dolny odstęp 9rem, jednolity dla wszystkich sekcji */
    display: flex;
    justify-content: center;
    scroll-margin-top: 8rem;
    border-bottom: 1px solid rgba(26, 26, 26, 0.2);
}

.zawartosc {
    max-width: 1400px;
    width: 100%;
}

/* HERO - DESKTOP */
#hero {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0 9rem 0;   /* dolny odstęp 9rem - taki sam jak pozostałe sekcje */
    margin-top: 8rem;
    border-bottom: 1px solid rgba(26, 26, 26, 0.2);
}

.relative-hero {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 660px;   /* dopasowane do dołu grafiki -> równy odstęp do linii jak w innych sekcjach */
    margin: 0 auto;
}

.hero-content-wrapper {
    position: absolute;
    right: 5%;
    top: 50px;
    display: inline-block;
}

.hero-image {
    position: absolute;
    right: -120px;
    top: -40px;
    width: 500px;
    height: 650px;
    object-fit: cover;
    z-index: 1;

    /* Dodana przezroczystość (np. 50%) */
    opacity: 0.5;
}

.hero-outline {
    position: absolute;
    right: 380px;
    top: 100px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 180px;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
    z-index: 2;
    line-height: 0.8;
    letter-spacing: -2px;
    color: var(--kolor-tla);
    -webkit-text-stroke: 0;
    text-shadow:
        -1px -1px 0 var(--kolor-tekstu),
         1px -1px 0 var(--kolor-tekstu),
        -1px  1px 0 var(--kolor-tekstu),
         1px  1px 0 var(--kolor-tekstu);
}

.hero-solid {
    position: absolute;
    right: 124px;
    top: 260px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 210px;
    text-transform: lowercase;
    color: var(--kolor-tekstu);
    margin: 0;
    white-space: nowrap;
    z-index: 3;
    line-height: 0.8;
    letter-spacing: -5px;
}

.manifest {
    position: absolute;
    right: 520px;
    top: 580px;
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 2.6rem;
    color: var(--kolor-tekstu);
    margin: 0;
    white-space: nowrap;
    z-index: 4;
}

/* PORTFOLIO */
.portfolio-kolumny {
    display: flex;
    gap: 60px;
    margin-top: 40px;
}

.kol-lewa, .kol-prawa {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.etykieta-dzialu {
    font-family: 'Inter', sans-serif;
    font-weight: 100;
    font-size: 42px;
    color: var(--kolor-tekstu);
    margin-bottom: 20px;
}

/* Obrazki Lewa Kolumna */
.img-ccj { width: 220px; margin-left: 10%; }
.img-wat { width: 140px; margin: 30px 0 0 40%; }
.img-sdr { width: 180px; margin: 30px 0 0 20%; }

.img-szkic { width: 85%; margin-left: 25%; }

.img-lodka {
    width: 70%;
    margin-left: 5%;
    position: relative;
    z-index: 1;
}
.img-zima {
    width: 80%;
    margin-top: 5%;
    margin-left: 28%;
    position: relative;
    z-index: 2; /* Zima nałożona na Łódkę i Kałużę */
}
.img-rustykalne {
    width: 100%;
    margin-top: 10%;
    margin-left: 15%;
    position: relative;
    z-index: 4; /* Dzbanek na samym wierzchu */
}

/* Obrazki Prawa Kolumna */
.img-screen { width: 100%; margin-top: 10px; }
.img-plakat { width: 65%; margin: 30px 0 0 auto; }
.img-ksiazka { width: 110%; margin-left: -15%; margin-top: 60px; position: relative; z-index: 3; }

.img-kaluza {
    width: 85%;
    margin-top: -180%;
    margin-left: 135%;
    position: relative;
    z-index: 1;
}
.img-miasto {
    width: 65%;
    margin-top: 15%; /* Odstęp w dół od Kałuży */
    margin-left: 135%;
    position: relative;
    z-index: 3; /* Miasto pod dzbankiem, ale nad resztą */
}

/* Utrzymanie układu pionowego na dużych ekranach */
.karuzela {
    display: flex;
    flex-direction: column;
}

/* PORTFOLIO - efekt: zdjęcia czarno-białe, kolor po najechaniu */
.karuzela img {
    filter: grayscale(1);
    transition: filter 0.5s ease, transform 0.5s ease;   /* płynny kolor i płynne powiększenie */
}

/* Desktop (mysz): kolor + delikatny zoom po najechaniu kursorem */
@media (hover: hover) {
    .karuzela img:hover {
        filter: grayscale(0);
        transform: scale(1.04);
        z-index: 10;
        position: relative;
    }
}

/* WARSZTAT */
#warsztat {
    min-height: auto;  
}

.trzy-kolumny {
    display: flex;
    gap: 4rem;
    justify-content: center;
    margin-top: 80px;
}
.trzy-kolumny .box {
    background-color: var(--kolor-szary-box);
    flex: 0 1 400px;
    aspect-ratio: 4/3;
    overflow: hidden;  
}

.trzy-kolumny .box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* O MNIE */
.grid-o-mnie {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 4rem;
}
.pusty-box-szeroki {
    flex: 1;
    min-height: 300px; 
    max-width: 60%;
    margin-left: 80px;
    background-color: transparent;
    margin-bottom: 0;      /* równy odstęp sekcji; wyrównanie do dołu daje align-items: flex-end */
    transform: translateY(11px);  /* korekta interlinii -> dół tekstu równo z dołem zdjęcia */
}

/* Styl dla akapitów wewnątrz sekcji O mnie */
.pusty-box-szeroki p {
    font-family: "EB Garamond", serif;
    font-size: 2.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--kolor-tekstu);
}

/* Ostatni akapit bez dolnego marginesu -> dół tekstu równo z dołem zdjęcia */
.pusty-box-szeroki p:last-child {
    margin-bottom: 0;
}
.pusty-box-pionowy {
    background-color: var(--kolor-szary-box);
    flex: 0 1 420px;
    height: 600px;
    margin-bottom: 0;
    margin-right: 80px;
    object-fit: cover;
}

/* KONTAKT */
#kontakt {
    min-height: auto; /* Wyłącza wymuszoną wysokość na cały ekran */
    padding-bottom: 9rem; /* taki sam dolny odstęp jak pozostałe sekcje */
    border-bottom: none;  
}

/* Slogan reklamowy */
.slogan {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 3rem;
    line-height: 1.3;
    margin: 0;
    white-space: nowrap;         
    color: var(--kolor-tekstu);
}

/* Układ: lewa kolumna (slogan + dane, jak "o mnie") + formularz (prawa, na wysokości sloganu) */
.kontakt-grid {
    display: flex;
    gap: 6rem;
    align-items: flex-start;     
    justify-content: space-between;
    margin-left: 80px;           
}

.kontakt-lewa {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.dane-kontaktowe {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 0 0 auto;
    min-width: 240px;
}

.dane-kontaktowe p {
    font-family: "Inter", sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
}

/* Formularz kontaktowy */
.formularz-kontaktowy {
    flex: 0 1 600px;
    margin-left: auto;          
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
}

.formularz-kontaktowy .pole {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.formularz-kontaktowy label {
    font-family: "Inter", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
}

.formularz-kontaktowy input,
.formularz-kontaktowy textarea {
    font-family: "EB Garamond", serif;
    font-size: 1.8rem;
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(26, 26, 26, 0.3);
    background-color: var(--kolor-jasny);
    color: var(--kolor-tekstu);
    width: 100%;
}

.formularz-kontaktowy input:focus,
.formularz-kontaktowy textarea:focus {
    outline: none;
    border-color: var(--kolor-tekstu);
}

.formularz-kontaktowy textarea {
    resize: vertical;
}

.formularz-kontaktowy button {
    align-self: flex-start;
    font-family: "Inter", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    padding: 1.3rem 3rem;
    border: 1px solid var(--kolor-tekstu);
    background-color: var(--kolor-tekstu);
    color: var(--kolor-jasny);
    cursor: pointer;
}

.formularz-kontaktowy button:hover {
    background-color: transparent;
    color: var(--kolor-tekstu);
}

.formularz-info {
    font-family: "Inter", sans-serif;
    font-size: 1.4rem;
    color: var(--kolor-tekstu);
    min-height: 1.4rem;
}

.formularz-info:empty {
    display: none;
}

/* STOPKA - linia pozioma + copyright (wszystkie wersje) */
.stopka {
    border-top: 1px solid rgba(26, 26, 26, 0.2);
    padding: 3rem 5%;
    text-align: center;
}

.stopka p {
    font-family: "Inter", sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.05rem;
    color: var(--kolor-tekstu);
}

/* KROPKI POD KARUZELĄ - domyślnie ukryte (desktop ma galerie w pionie) */
.kropki {
    display: none;
}

.kropka {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.25);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.kropka.aktywna {
    background: var(--kolor-tekstu);
    transform: scale(1.35);
}

/* LIGHTBOX - powiększenie zdjęć portfolio */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(17, 17, 17, 0.92);
    align-items: center;
    justify-content: center;
    padding: 5vw;
    cursor: zoom-out;
}

.lightbox.otwarty {
    display: flex;
}

.lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    filter: none !important;   /* zawsze pełny kolor w powiększeniu */
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.55);
}

.lightbox-zamknij {
    position: absolute;
    top: 1.5rem;
    right: 2.5rem;
    font-family: "Inter", sans-serif;
    font-size: 4.5rem;
    line-height: 1;
    color: var(--kolor-jasny);
    background: none;
    border: none;
    cursor: pointer;
}

/* Strzałki nawigacji w lightboxie */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Inter", sans-serif;
    font-size: 6rem;
    line-height: 1;
    color: var(--kolor-jasny);
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem 1.5rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.lightbox-nav:hover {
    opacity: 1;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* POJAWIANIE SIĘ PRZY SCROLLU (tylko gdy JS aktywny) */
.js section h2,
.js #portfolio .temat-portfolio,
.js #warsztat .trzy-kolumny,
.js #o-mnie .grid-o-mnie,
.js #kontakt .kontakt-grid,
.js .stopka {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .widoczny {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ANIMACJA HERO PRZY WEJŚCIU */
@keyframes heroPojaw {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

#hero .relative-hero {
    animation: heroPojaw 1s ease 0.1s both;
}

@media (prefers-reduced-motion: reduce) {
    .js section h2,
    .js #portfolio .temat-portfolio,
    .js #warsztat .trzy-kolumny,
    .js #o-mnie .grid-o-mnie,
    .js #kontakt .kontakt-grid,
    .js .stopka {
        opacity: 1;
        transform: none;
        transition: none;
    }
    #hero .relative-hero {
        animation: none;
    }
}

/* DODATEK DLA DESKTOPU - Utrzymanie układu pionowego portfolio */
.karuzela {
    display: flex;
    flex-direction: column;
}



/* WSPÓLNY UKŁAD MOBILNY + TABLETOWY (<= 1300px) */
/* układ TELEFONOWY (pionowy), żeby telefon ZAWSZE działał. */

@media (max-width: 1300px) {

    /* NAWIGACJA */
    nav .zawartosc-nav { display: none !important; }
    nav a.logo { display: block !important; }

    .burger {
        display: block;
        top: 8px;
        right: 5%;
    }

    /* Sekcje i tytuły */
    section { padding: 8rem 5% 9rem 5%; }   /* dolny odstęp 9rem jak na desktopie */
    h2 { font-size: 3.5rem; }

    /* ---------- HERO (telefon) ---------- */
    #hero {
        height: auto;
        min-height: 0;
        margin-top: 7rem;
        padding: 0 5% 9rem 5%;
        display: block;
        overflow-x: hidden;
        border-bottom: 1px solid rgba(26, 26, 26, 0.2);
    }

    .relative-hero {
        position: relative;
        width: 100%;
        max-width: 440px;
        height: 94vw;
        max-height: 430px;
        margin: 0 auto;
    }

    .hero-content-wrapper {
        position: static;
        display: block;
    }

    .hero-image {
        position: absolute;
        top: 5vw;
        right: 0;
        left: auto;
        width: 61vw;
        height: 90vw;
        max-width: 268px;
        max-height: 396px;
        object-fit: cover;
        opacity: 0.45;
        z-index: 1;
    }

    .hero-outline {
        position: absolute;
        top: 29vw;
        left: 3%;
        right: auto;
        margin: 0;
        font-family: 'Inter', sans-serif;
        font-weight: 800;
        font-size: 17vw;
        line-height: 0.8;
        letter-spacing: -1px;
        white-space: nowrap;
        text-transform: uppercase;
        color: var(--kolor-tla);
        -webkit-text-stroke: 0;
        text-shadow:
            -1px -1px 0 var(--kolor-tekstu),
             1px -1px 0 var(--kolor-tekstu),
            -1px  1px 0 var(--kolor-tekstu),
             1px  1px 0 var(--kolor-tekstu);
        z-index: 2;
    }

    .hero-solid {
        position: absolute;
        top: 45vw;
        left: 15%;
        right: auto;
        margin: 0;
        font-family: 'Inter', sans-serif;
        font-weight: 800;
        font-size: 20vw;
        line-height: 0.8;
        letter-spacing: -3px;
        white-space: nowrap;
        text-transform: lowercase;
        color: var(--kolor-tekstu);
        z-index: 3;
    }

    .manifest {
        position: absolute;
        top: 69vw;
        left: 13%;
        right: auto;
        margin: 0;
        font-family: 'EB Garamond', serif;
        font-style: italic;
        font-size: 1.7rem;
        white-space: nowrap;
        color: var(--kolor-tekstu);
        z-index: 4;
    }

    /* ---------- PORTFOLIO (kolumna + karuzele poziome) ---------- */
    .portfolio-kolumny {
        display: flex;
        flex-direction: column;
        gap: 40px;
        margin-top: 20px;
    }

    .kol-lewa, .kol-prawa {
        display: contents;
    }

    .temat-logo { order: 1; }
    .temat-design { order: 2; }
    .temat-akwarele { order: 3; }
    .temat-szkic { order: 4; }

    .etykieta-dzialu {
        margin-top: 20px !important;
        margin-bottom: 15px;
    }

    .karuzela {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 20px;
        align-items: center;
    }

    .karuzela img {
        height: 280px !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        flex: 0 0 auto;
        scroll-snap-align: start;
        object-fit: contain;
        filter: none;            /* mobile/tablet: zdjęcia zawsze kolorowe (brak hovera) */
    }

    /* Mniejsze logotypy w dziale "Logo" */
    .temat-logo .karuzela img {
        height: 150px !important;
    }

    /* Kropki (wskaźnik slajdów) widoczne tylko na mobile/tablecie */
    .kropki {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 14px;
    }

    /* ---------- WARSZTAT (karuzela pozioma jak w portfolio) ---------- */
    .trzy-kolumny {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        margin-top: 40px;
        padding-bottom: 20px;
    }

    .trzy-kolumny .box {
        flex: 0 0 80%;
        max-width: 360px;
        height: auto;
        aspect-ratio: 4/3;
        scroll-snap-align: start;
    }

    /* ---------- O MNIE (telefon: pionowo) ---------- */
    #o-mnie {
        min-height: auto;
    }

    .grid-o-mnie {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .pusty-box-pionowy {
        order: 1;
        flex: none;
        width: 140px;
        height: 180px;
        margin: 0 0 20px 0;
    }

    .pusty-box-szeroki {
        order: 2;
        flex: none;
        max-width: 100%;
        width: 100%;
        margin: 0;
        transform: translateY(11px);   /* korekta interlinii -> równy odstęp pod opisem jak w innych sekcjach */
    }

    .pusty-box-szeroki p {
        font-size: 1.8rem;
    }

    /* ---------- KONTAKT (telefon: jedna kolumna, slogan może się zawinąć) ---------- */
    .slogan {
        font-size: 2.4rem;
        white-space: normal;         /* na telefonie slogan zawija się, jeśli się nie mieści */
        margin: 0;
    }

    .kontakt-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 3rem;
        margin-left: 0;
        justify-content: flex-start;
    }

    .kontakt-lewa {
        gap: 2.5rem;
    }

    .dane-kontaktowe {
        margin-left: 0;
        margin-top: 0;
        min-width: 0;
    }

    .formularz-kontaktowy {
        flex: none;
        margin-left: 0;
        max-width: 100%;
    }
}


/* TYLKO TABLET (801px - 1300px)                                      */
@media (min-width: 801px) and (max-width: 1300px) {

    /* ---------- HERO (tablet, kompozycja jak desktop) ---------- */
    #hero {
        padding: 0 0 9rem 5%;
    }

    .relative-hero {
        container-type: inline-size;
        max-width: 900px;
        height: auto;
        max-height: none;
        aspect-ratio: 100 / 97;
        margin: 0 0 0 auto;
    }

    .hero-image {
        top: 4cqw;
        width: 60cqw;
        height: 88cqw;
        max-width: none;
        max-height: none;
    }

    .hero-outline {
        top: 26cqw;
        left: 2%;
        font-size: 19cqw;
        letter-spacing: -2px;
    }

    .hero-solid {
        top: 42cqw;
        left: 12%;
        font-size: 23cqw;
    }

    .manifest {
        top: 70cqw;
        left: 30%;
        font-size: clamp(1.4rem, 4cqw, 2.4rem);
    }

    /* ---------- O MNIE (tablet: dwie kolumny, większe zdjęcie) ---------- */
    .grid-o-mnie {
        flex-direction: row;
        align-items: flex-end;       /* tekst wyrównany do dołu zdjęcia */
        gap: 3rem;
    }

    .pusty-box-szeroki {
        order: 1;
        flex: 1;
        max-width: none;
        width: auto;
        min-height: 0;
        margin: 0;
        transform: translateY(9px);   /* tablet: korekta interlinii do dołu zdjęcia */
    }

    .pusty-box-pionowy {
        order: 2;
        flex: 0 0 420px;
        width: 420px;
        height: 560px;
        margin: 0;
    }

    /* ---------- KONTAKT (tablet: dwie kolumny) ---------- */
    .kontakt-grid {
        flex-direction: row;
        align-items: flex-start;     
        justify-content: space-between;
        gap: 3rem;
        margin-left: 0;
    }

    .kontakt-lewa {
        gap: 3rem;
    }

    .slogan {
        white-space: nowrap;         
        font-size: 2.2rem;
    }

    .formularz-kontaktowy {
        flex: 0 1 460px;
        max-width: 460px;
        margin-left: 0;
    }
}
