/* --- USTAWIENIA BAZOWE I FONTY --- */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');

:root {
    --bg-cream: #FDF9F1;
    --text-green-dark: #37462B;
    --text-gray: #4A4A4A;
    --accent-yellow: #FFD644;
     --btn-hover: #FFC857;
}

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

body {
    background-color: var(--bg-cream); /* Kremowe tło na całej stronie, brak zaokrągleń */
    font-family: 'Geist', sans-serif;
    color: var(--text-gray);
}

body {
    padding-top: 110px;
}

body {
    overflow-x: hidden;
}

/* Ograniczenie szerokości zawartości i wyśrodkowanie */
main, footer {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}


.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background-color: transparent;
    z-index: 999;
    transform: translateY(0);
    opacity: 1;
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.35s ease-out,
        padding 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.is-top {
    padding: 20px 56px;
}

.main-header.hide-header {
    transform: translateY(-110%);
    opacity: 0;
    transition:
        transform 0.2s ease-in,
        opacity 0.16s ease-in,
        padding 0s;
}

.nav-pill {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 100px;
    padding: 22px 22px 22px 38px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.09);
    width: 100%;
    max-width: 1400px;
    position: relative;
    transition:
        background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        border-radius 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.is-top .nav-pill {
    background: transparent;
    border-radius: 0;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    padding-left: 0;
    padding-right: 0;
    max-width: 1600px;
    position: relative;
}

.main-header.is-top .main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex: none;
}

.main-header.is-top .logo {
    margin-left: 2%;
}

.main-header.is-top .nav-right {
    margin-left: auto;
}

/* W flat barze na górze: aktywny link bez tła pigułki — tylko kolor + podkreślenie */
.main-header.is-top .main-nav a.active {
    background-color: transparent;
    color: var(--text-green-dark);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    margin-right: 28px;
    text-decoration: none;
    color: inherit;
}

.nav-logo-img {
    width: 86px;
    height: auto;
    display: block;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.is-top .nav-logo-img {
    width: 115px;
}

.logo-text {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 1px;
    color: var(--text-green-dark);
}

.main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex: none;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-nav a {
    position: relative;
    display: block;
    padding: 8px 14px;
    border-radius: 100px;
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 0;
    height: 2px;
    background-color: var(--accent-yellow);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 10px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-green-dark);
    background-color: #f0ede8;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: calc(100% - 28px);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    margin-left: auto;
}

.nav-dolacz {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 100px;
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-dolacz svg {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-dolacz:hover {
    color: var(--text-green-dark);
    background-color: #f0ede8;
}

.nav-dolacz:hover svg {
    transform: scale(1.2) rotate(-8deg);
}

.nav-sep {
    display: block;
    width: 1px;
    height: 24px;
    background: #e0dcd4;
}


/* --- PRZYCISKI --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    color: #000;
    border: none;
    cursor: pointer;
}

.btn-yellow {
    position: relative;
    overflow: hidden;
    background-color: var(--accent-yellow);
    padding: 12px 24px;
    z-index: 1;
}

.btn-yellow::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--btn-hover);
    transition: bottom 0.35s ease;
    z-index: -1;
}

.btn-yellow:hover::before {
    bottom: 0;
}

.btn-yellow:hover {
    animation: button-bounce 0.45s ease forwards;
}


.btn-yellow:active {
    transform: scale(0.97);
}
@keyframes button-bounce {
    0% {
        transform: scale(1);
    }

    55% {
        transform: scale(1.07);
    }

    78% {
        transform: scale(1.04);
    }

    100% {
        transform: scale(1.03);
    }
}

.btn-large {
    padding: 16px 32px;
    font-size: 14px;
}

.btn-large span {
    margin-left: 10px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-large:hover span {
    transform: translateX(6px);
}

/* --- SEKCJA HERO --- */
/* ===================== HERO ===================== */

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    gap: 40px;
    position: relative;
    padding-bottom: 80px;
}

/* Pływające plamy w tle */
.hero-floaters {
    position: absolute;
    inset: -80px;
    pointer-events: none;
    z-index: 0;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-yellow);
    filter: blur(60px);
    opacity: 0.2;
    animation: hero-blob-float ease-in-out infinite;
}

.blob-1 { width: 280px; height: 280px; top: 160px; left: -50px;  animation-duration: 28s; animation-delay: 0s; }
.blob-2 { width: 200px; height: 200px; top: 60%;    left: 35%;    animation-duration: 22s; animation-delay: -8s; }
.blob-3 { width: 260px; height: 260px; bottom: -80px; right: 0;   animation-duration: 32s; animation-delay: -15s; }

@keyframes hero-blob-float {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(20px, -20px) scale(1.04); }
    66%  { transform: translate(-15px, 18px) scale(0.97); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Wodoznak OTO */
.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: 280px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(55, 70, 43, 0.055);
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
    user-select: none;
    letter-spacing: -8px;
}

/* Reveal animacje przy wczytaniu */
.hero-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-reveal.delay-1 { transition-delay: 0.1s; }
.hero-reveal.delay-2 { transition-delay: 0.2s; }
.hero-reveal.delay-3 { transition-delay: 0.32s; }
.hero-reveal.delay-4 { transition-delay: 0.46s; }
.hero-reveal.delay-5 { transition-delay: 0.58s; }

.hero-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Treść */
.hero-content {
    flex: 1;
    max-width: 620px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Badge row */
.hero-label-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-badge {
    background: var(--accent-yellow);
    color: var(--text-green-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
}

.hero-badge-line {
    width: 32px;
    height: 1px;
    background: rgba(55, 70, 43, 0.25);
}

.hero-badge-text {
    font-size: 13px;
    color: rgba(55, 70, 43, 0.55);
    font-weight: 500;
}

/* Nagłówek */
.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    line-height: 1.02;
    letter-spacing: -1.5px;
    color: var(--text-green-dark);
    margin-bottom: 32px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-line {
    display: block;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 44px;
    color: var(--text-gray);
    max-width: 480px;
}

/* Przyciski */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.hero-content .btn-large {
    padding: 18px 40px;
    font-size: 16px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.btn-arrow {
    display: inline-block;
    transition: transform 0.25s ease;
}

.btn-large:hover .btn-arrow {
    transform: translateX(5px);
}

.hero-secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-green-dark);
    text-decoration: none;
    border-bottom: 1px solid rgba(55, 70, 43, 0.25);
    padding-bottom: 2px;
    transition: border-color 0.2s ease, gap 0.2s ease;
}

.hero-secondary-link:hover {
    border-color: var(--text-green-dark);
    gap: 10px;
}

/* Zdjęcie */
.hero-image {
    flex: 1;
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-image img {
    width: 140%;
    max-width: none;
    height: auto;
    object-fit: contain;
    display: block;
    transform: translateX(30px);
}

/* Scroll indicator */
.hero-scroll-hint {
    position: absolute;
    bottom: 16px;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 3;
}

.hero-scroll-hint span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(55, 70, 43, 0.4);
    writing-mode: vertical-rl;
}

.hero-scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(55, 70, 43, 0.3), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
    100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

.oto-word span {
    color: var(--accent-yellow);
    font-style: italic;
    position: relative;
}

/* --- MIEJSCE NA KOLEJNE SEKCJE (TYMCZASOWE STYLOWANIE) --- */
section:not(.hero) {
    padding: 60px 0;
}

section:not(.hero) h2 {
    font-family: 'Playfair Display', serif;
    color: var(--text-green-dark);
    font-size: 36px;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

/* --- DELIKATNE KARTY: JAK TO ROBIMY --- */
/* --- KARTY ZE ZDJĘCIAMI: JAK TO ROBIMY --- */

.how-section {
    position: relative;
}

.how-section .section-intro {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.how-section .section-intro > p:last-child {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.how-image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 65px;
    margin-bottom: 30px;
    padding: 36px;
    position: relative;
}

/* Dekoracyjne narożniki w stylu kreślarskim/kadru */
.how-image-grid::before,
.how-image-grid::after,
.how-image-grid > .frame-corner-tr,
.how-image-grid > .frame-corner-bl {
    content: '';
    position: absolute;
    width: 38px;
    height: 38px;
    border: 2px solid var(--accent-yellow);
    opacity: 0.6;
    pointer-events: none;
}

.how-image-grid::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    transform: translate(-22px, -22px);
}

.how-image-grid::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    transform: translate(22px, 22px);
}

.how-image-grid > .frame-corner-tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    transform: translate(22px, -22px);
}

.how-image-grid > .frame-corner-bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
    transform: translate(-22px, 22px);
}

.how-image-grid::before,
.how-image-grid::after,
.how-image-grid > .frame-corner-tr,
.how-image-grid > .frame-corner-bl {
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease;
}

.how-image-grid.frames-visible::before { opacity: 0.6; transform: translate(0, 0); transition-delay: 0s; }
.how-image-grid.frames-visible::after { opacity: 0.6; transform: translate(0, 0); transition-delay: 0.15s; }
.how-image-grid.frames-visible > .frame-corner-tr { opacity: 0.6; transform: translate(0, 0); transition-delay: 0.3s; }
.how-image-grid.frames-visible > .frame-corner-bl { opacity: 0.6; transform: translate(0, 0); transition-delay: 0.45s; }

.how-image-grid > .how-image-card {
    position: relative;
    z-index: 1;
}

.how-image-card {
    background-color: #fff;
    border: 1px solid rgba(55, 70, 43, 0.08);
    border-radius: 16px;
    overflow: hidden;
    min-height: 540px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 2px 16px rgba(55, 70, 43, 0.04);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}

/* Linia akcentu wsuwająca się od lewej przy hover */
.how-image-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    height: 3px;
    width: 0;
    background: var(--accent-yellow);
    border-radius: 0 3px 3px 0;
    transition: width 0.45s cubic-bezier(0.22,1,0.36,1);
    z-index: 3;
}

.how-image-card:hover::before {
    width: 100%;
}

/* Naprzemienne offsety — karta 2 i 4 przesunięta w dół */
.how-image-grid > .how-image-card:nth-child(even) {
    margin-top: 36px;
}

.how-image-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 50px rgba(55, 70, 43, 0.1);
    border-color: rgba(55, 70, 43, 0.13);
}

/* Duży numer-wodoznak w tle karty */
.how-card-bg-number {
    position: absolute;
    bottom: 140px;
    right: -10px;
    font-family: 'Playfair Display', serif;
    font-size: 140px;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(55, 70, 43, 0.06);
    pointer-events: none;
    user-select: none;
    transition: -webkit-text-stroke 0.4s ease;
    z-index: 0;
}

.how-image-card:hover .how-card-bg-number {
    -webkit-text-stroke: 1px rgba(55, 70, 43, 0.13);
}

.how-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 34px 30px 22px;
    position: relative;
    z-index: 1;
}

.how-number-wrap {
    position: relative;
    display: inline-block;
}

.how-number {
    position: relative;
    z-index: 2;
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    line-height: 0.9;
    font-weight: 600;
    color: var(--text-green-dark);
}

.number-highlight {
    position: absolute;
    left: 6px;
    bottom: 0;
    width: 58px;
    height: 16px;
    background-color: var(--accent-yellow);
    border-radius: 4px 8px 8px 4px;
    z-index: 1;
    opacity: 0.65;
    transform: scaleX(0.6);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), opacity 0.4s ease;
}

.how-image-card:hover .number-highlight {
    transform: scaleX(1);
    opacity: 0.9;
}

/* Ikona w kółku */
.how-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(55, 70, 43, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(55, 70, 43, 0.45);
    transition: background 0.35s ease, color 0.35s ease;
}

.how-image-card:hover .how-icon {
    background: rgba(255, 214, 68, 0.25);
    color: var(--text-green-dark);
}

.how-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.5;
}

/* Kategoria z kropką */
.how-image-card .card-category {
    padding: 0 30px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: rgba(55, 70, 43, 0.5);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.how-image-card .card-category::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-yellow);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.how-image-card:hover .card-category {
    color: rgba(55, 70, 43, 0.8);
}

.how-image-card:hover .card-category::before {
    transform: scale(1.4);
}

.how-image-card h3 {
    padding: 0 30px;
    font-family: 'Playfair Display', serif;
    font-size: 27px;
    line-height: 1.2;
    font-weight: 500;
    color: var(--text-green-dark);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.how-image-card > p:last-of-type {
    padding: 0 30px;
    font-size: 14px;
    line-height: 1.75;
    color: rgba(74, 74, 74, 0.65);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.how-image-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-top: auto;
    display: block;
    opacity: 0.82;
    filter: saturate(0.85);
    transition: height 0.45s cubic-bezier(0.22,1,0.36,1),
                opacity 0.4s ease,
                filter 0.4s ease,
                transform 0.5s ease;
}

.how-image-card:hover img {
    height: 200px;
    opacity: 1;
    filter: saturate(1);
    transform: scale(1.02);
}

/* --- SEKCJA: EFEKTY FULL WIDTH --- */

.impact-full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: 60px; /* Zmniejszono odstęp nad sekcją z 90px */
    background-color: var(--text-green-dark);
    position: relative;
    overflow: hidden;
}

.impact-full > * {
    position: relative;
    z-index: 1;
}

/* Fotografia w tle — przewija się ze scrollem (efekt paralaksy) */
.impact-full > .impact-full-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.6);
    will-change: transform;
    backface-visibility: hidden;
}

.impact-full > .impact-full-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(55, 70, 43, 0.78) 0%, rgba(55, 70, 43, 0.92) 100%);
}

/* Ukośna siatka jak rysunek techniczny — przewija się ze scrollem */
.impact-full::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            rgba(253, 249, 241, 0.04) 0px,
            rgba(253, 249, 241, 0.04) 1px,
            transparent 1px,
            transparent 48px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(253, 249, 241, 0.04) 0px,
            rgba(253, 249, 241, 0.04) 1px,
            transparent 1px,
            transparent 48px
        );
    background-position: var(--impact-bg-x, 0px) var(--impact-bg-y, 0px);
    pointer-events: none;
    z-index: 0;
    will-change: background-position;
}

/* Cienka żółta linia oddzielająca sekcję od góry */
.impact-full::after {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent-yellow);
    opacity: 0.6;
    z-index: 0;
}

.impact-simple {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px; /* Zmniejszono wewnętrzny padding z 95px */
    color: var(--bg-cream);
    background: none;
    border: none;
    border-radius: 0;
}

.impact-simple-intro {
    max-width: 760px;
    margin: 0 auto 40px; /* Zmniejszono dolny margines z 60px */
    text-align: center;
}

/* Zmieniony napis EFEKTY */
.impact-kicker {
    font-family: 'Playfair Display', serif; /* Taka sama czcionka jak główne nagłówki */
    font-size: 46px; 
    font-weight: 500;
    color: var(--bg-cream);
    margin-bottom: 15px; /* Mniejszy margines */
    display: inline-block;
    border-bottom: none; /* Usunięto podkreślenie, by wyglądał jak klasyczny nagłówek */
}

/* Ukrywamy stary tekst w h2, skoro EFEKTY są teraz głównym tytułem */
.impact-simple-intro h2 {
    display: none;
}

.impact-simple-intro p:last-child {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(253, 249, 241, 0.85);
    max-width: 650px;
    margin: 0 auto;
}

/* Kafelki ze statystykami */
.impact-simple-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* Mniejszy odstęp między kafelkami (było 30px) */
    margin-top: 30px; /* Bliżej tekstu (było 40px) */
}

.impact-simple-item {
    text-align: center;
    padding: 40px 20px 36px;
    background: transparent;
    border: none;
    border-top: 1px solid rgba(253, 249, 241, 0.12);
    border-radius: 0;
    position: relative;
    transition: transform 0.35s ease;
}

/* Żółta kreska górna — wyrasta przy hover */
.impact-simple-item::before {
    content: '';
    position: absolute;
    top: -1px; left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 2px;
    background: var(--accent-yellow);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}

.impact-simple-item:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.impact-simple-item:hover {
    transform: translateY(-4px);
}

/* Liczby */
.impact-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    line-height: 1;
    font-weight: 600;
    color: var(--accent-yellow);
    margin-bottom: 14px;
    letter-spacing: -2px;
}

.impact-simple-item p {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(253, 249, 241, 0.8); /* Lekko ściemniony kremowy dla lepszego kontrastu z liczbą */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Dolna notatka */
.impact-simple-note {
    max-width: 760px;
    margin: 40px auto 0; /* Znacznie mniejszy górny margines (było 70px) */
    padding-top: 30px; /* Mniejszy odstęp od linii (było 40px) */
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    line-height: 1.5;
    font-style: italic;
    color: rgba(253, 249, 241, 0.7);
    border-top: 1px solid rgba(253, 249, 241, 0.15);
}

/* --- SEKCJA: CEL --- */

.goal-section {
    padding: 120px 0;
    position: relative;
    background-image:
        linear-gradient(rgba(55, 70, 43, 0.042) 1px, transparent 1px),
        linear-gradient(90deg, rgba(55, 70, 43, 0.042) 1px, transparent 1px);
    background-size: 54px 54px;
}

.goal-section::before {
    content: '';
    display: block;
    margin-bottom: 90px;
}

.goal-top {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 90px;
    margin-bottom: 80px;
}

.goal-text {
    max-width: 650px;
}

.goal-text .section-label {
    justify-content: flex-start;
    margin-bottom: 24px;
}

.goal-text .section-label::before {
    display: none;
}

.goal-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 58px;
    line-height: 1.05;
    letter-spacing: -1px;
    font-weight: 500;
    color: var(--text-green-dark);
    margin-bottom: 28px;
}

.goal-text p {
    font-size: 18px;
    line-height: 1.75;
    color: rgba(74, 74, 74, 0.78);
    margin-bottom: 18px;
}

/* Obrazek — narożniki zamiast pełnej ramki */
.goal-image-box {
    position: relative;
    border-radius: 34px;
    overflow: hidden;
    height: 430px;
    background-color: rgba(55, 70, 43, 0.08);
    box-shadow: 0 30px 80px rgba(55, 70, 43, 0.16);
}

.goal-image-box::before,
.goal-image-box::after {
    content: '';
    position: absolute;
    width: 36px;
    height: 36px;
    border-color: var(--accent-yellow);
    border-style: solid;
    opacity: 0.9;
    z-index: 2;
    pointer-events: none;
    transition: width 0.4s ease, height 0.4s ease;
}

.goal-image-box::before {
    top: 18px; left: 18px;
    border-width: 2px 0 0 2px;
    border-radius: 6px 0 0 0;
}

.goal-image-box::after {
    bottom: 18px; right: 18px;
    border-width: 0 2px 2px 0;
    border-radius: 0 0 6px 0;
}

.goal-image-box:hover::before,
.goal-image-box:hover::after {
    width: 52px;
    height: 52px;
}

.goal-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.goal-image-box:hover img {
    transform: scale(1.05);
}

/* Karty celu — ciemne, editorial */
.goal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(55, 70, 43, 0.1);
    border-radius: 28px;
    overflow: hidden;
}

.goal-card {
    position: relative;
    padding: 50px 40px 44px;
    background-color: var(--text-green-dark);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--card-delay, 0s),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--card-delay, 0s),
                background-color 0.35s ease;
}

.goal-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.goal-card-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 32px;
}

.goal-card-icon {
    color: rgba(255, 214, 68, 0.5);
    flex-shrink: 0;
    padding-top: 6px;
    transition: color 0.35s ease;
}

.goal-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.goal-card:hover .goal-card-icon {
    color: var(--accent-yellow);
}

/* Wielki numer w tle */
.goal-card::after {
    content: attr(data-num);
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-family: 'Playfair Display', serif;
    font-size: 160px;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(253, 249, 241, 0.07);
    pointer-events: none;
    user-select: none;
    transition: -webkit-text-stroke 0.4s ease;
}

.goal-card:hover::after {
    -webkit-text-stroke: 1px rgba(253, 249, 241, 0.14);
}

/* Żółta kreska na górze — wsuwa się przy hover */
.goal-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    height: 2px;
    width: 0;
    background: var(--accent-yellow);
    transition: width 0.5s cubic-bezier(0.22,1,0.36,1);
}

.goal-card:hover::before {
    width: 100%;
}

.goal-card:hover {
    background-color: rgba(55, 70, 43, 0.88);
    transform: translateY(-8px);
    box-shadow: 0 28px 52px rgba(55, 70, 43, 0.22);
    transition-delay: 0s;
}

.goal-card span {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1;
    color: var(--accent-yellow);
    position: relative;
    z-index: 1;
}

.goal-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 500;
    color: var(--bg-cream);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.goal-card p {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(253, 249, 241, 0.78);
    position: relative;
    z-index: 1;
    margin-top: auto;
}

/* --- SEKCJA: KONTAKT --- */

.contact-section {
    padding: 120px 0;
    position: relative;
}

/* Cienka linia rozdzielająca od góry */
.contact-section::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(55,70,43,0.14), transparent);
    margin-bottom: 90px;
}

.contact-intro {
    max-width: 640px;
    margin: 0 auto 70px;
    text-align: center;
}

.contact-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    line-height: 1.05;
    letter-spacing: -1px;
    font-weight: 500;
    color: var(--text-green-dark);
    margin-bottom: 24px;
}

.contact-intro > p:last-child {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(74, 74, 74, 0.72);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}


.contact-card {
    position: relative;
    padding: 44px 36px;
    border-radius: 28px;
    background-color: #fff;
    border: 1px solid rgba(55, 70, 43, 0.1);
    box-shadow: 0 4px 24px rgba(55, 70, 43, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.4s ease,
                background-color 0.35s ease;
}

/* Linia akcentu wsuwająca się od lewej */
.contact-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-yellow);
    border-radius: 0 3px 0 0;
    transition: width 0.45s cubic-bezier(0.22,1,0.36,1);
}

.contact-card:hover::before {
    width: 100%;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(55, 70, 43, 0.1);
}

.contact-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    line-height: 1;
    font-weight: 600;
    color: rgba(55, 70, 43, 0.14);
    margin-bottom: 28px;
    transition: color 0.3s ease;
}

.contact-card:hover .contact-number {
    color: rgba(55, 70, 43, 0.28);
}

.contact-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 500;
    color: var(--text-green-dark);
    margin-bottom: 16px;
}

.contact-card p {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(74, 74, 74, 0.72);
    margin-bottom: 32px;
    flex: 1;
}

.contact-link {
    margin-top: auto;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-green-dark);
    background-color: rgba(255, 214, 68, 0.2);
    border: 1px solid rgba(255, 214, 68, 0.5);
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease, gap 0.3s ease;
}

.contact-link:hover {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    gap: 13px;
}

/* --- STOPKA --- */

.site-footer {
    width: 100%;
    max-width: none;
    margin: 80px 0 0;
    padding: 80px 0 0;
    background-color: var(--text-green-dark);
    color: var(--bg-cream);
}

footer.site-footer {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 60px;

    display: grid;
    grid-template-columns: 1.1fr 1.4fr 0.7fr;
    gap: 70px;
}

/* logo + opis */

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.footer-logo-badge {
    width: 92px;
    height: 68px;
    border-radius: 18px;
    background-color: rgba(253, 249, 241, 0.95);
    border: 1px solid rgba(253, 249, 241, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.footer-logo-img {
    width: 112px;
    height: auto;
    display: block;
}

.footer-logo-text {
    font-size: 19px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--bg-cream);
}

/* nagłówki */

.footer-contact h3,
.footer-social h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 500;
    color: var(--bg-cream);
    margin-bottom: 26px;
}

/* kontakt */

.footer-contact-list {
    display: grid;
    gap: 12px;
}

.footer-contact-list p {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(253, 249, 241, 0.78);
}

.footer-contact-list span {
    display: inline-block;
    min-width: 76px;
    font-weight: 700;
    color: var(--bg-cream);
}

.footer-contact-list a {
    color: rgba(253, 249, 241, 0.78);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-list a:hover {
    color: var(--bg-cream);
}

/* social media */

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

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background-color: rgba(253, 249, 241, 0.08);
    border: 1px solid rgba(253, 249, 241, 0.14);
    color: var(--bg-cream);

    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;

    transition: background-color 0.3s ease,
                transform 0.3s ease;
}

.social-links a:hover {
    background-color: rgba(253, 249, 241, 0.18);
    transform: translateY(-4px);
}

/* dół stopki */

.footer-bottom {
    border-top: 1px solid rgba(253, 249, 241, 0.12);
    padding: 22px 40px;

    max-width: 1400px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    gap: 20px;

    font-size: 13px;
    color: rgba(253, 249, 241, 0.55);
}

.footer-bottom a {
    color: rgba(253, 249, 241, 0.75);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--bg-cream);
}



/* --- ANIMACJA KART PRZY SCROLLOWANIU: JAK TO ROBIMY --- */
.how-image-card {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.35s ease,
                background-color 0.35s ease,
                box-shadow 0.35s ease;
    transition-delay: var(--card-delay, 0s);
}

.how-image-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* --- ANIMACJA KART PRZY SCROLLOWANIU: KONTAKT --- */
.contact-card {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--card-delay, 0s);
}

.contact-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ===================== HAMBURGER / MENU MOBILNE ===================== */

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-green-dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
}

/* ===================== RESPONSYWNOŚĆ: TABLET (11"/13" w poziomie) ===================== */

@media (min-width: 1025px) and (max-width: 1366px) {

    .main-header {
        padding: 14px 20px;
    }

    .main-nav ul {
        gap: 0;
    }

    .main-nav a {
        font-size: 12px;
        padding: 7px 10px;
        white-space: nowrap;
    }

    .nav-dolacz {
        font-size: 12px;
    }

    .hero {
        gap: 24px;
    }

    .hero-content {
        max-width: 460px;
    }

    .hero-content h1 {
        font-size: 52px;
    }

    .hero-image img {
        width: 106%;
        transform: translateX(4px);
    }
}

/* ===================== RESPONSYWNOŚĆ: TABLET / MOBILE ===================== */

@media (max-width: 1024px) {

    main, footer {
        padding: 0 24px;
    }

    /* --- Nagłówek i menu --- */
    .main-header {
        padding: 12px 16px;
    }

    .nav-pill {
        padding: 8px 8px 8px 16px;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-logo-img {
        width: 42px;
    }

    body.nav-open {
        overflow: hidden;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 36px;
        position: fixed;
        inset: 0;
        padding: 110px 24px 50px;
        background-color: var(--bg-cream);
        z-index: 998;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                    opacity 0.35s ease,
                    visibility 0.45s;
    }

    .mobile-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-nav ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 26px;
    }

    .mobile-nav a {
        font-family: 'Playfair Display', serif;
        font-size: 28px;
        font-weight: 500;
        color: var(--text-green-dark);
        text-decoration: none;
    }

    .mobile-nav a.active {
        color: var(--text-green-dark);
        border-bottom: 2px solid var(--accent-yellow);
        padding-bottom: 4px;
    }

    .mobile-nav-cta {
        margin-top: 8px;
    }

    /* --- Hero --- */
    .hero {
        flex-direction: column;
        margin-top: 16px;
        padding-bottom: 50px;
        gap: 0;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        align-items: center;
    }

    .hero-label-row {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 46px;
        align-items: center;
        text-align: center;
    }

    .hero-content p {
        max-width: 100%;
        margin: 0 auto 36px;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px;
    }

    .hero-image {
        min-height: auto;
        order: -1;
        margin-bottom: 24px;
    }

    .hero-image img {
        width: 100%;
        transform: translateX(-18px);
    }

    .hero-watermark {
        font-size: 140px;
    }

    .hero-scroll-hint {
        display: none;
    }

    /* --- Jak to robimy --- */
    .how-image-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 24px;
        gap: 18px;
    }

    .how-image-grid > .how-image-card:nth-child(even) {
        margin-top: 0;
    }

    /* --- Efekty --- */
    .impact-simple-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .impact-kicker {
        font-size: 36px;
    }

    /* --- Cel --- */
    .goal-top {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 50px;
    }

    .goal-image-box {
        height: 320px;
        order: -1;
    }

    .goal-text h2 {
        font-size: 40px;
    }

    .goal-grid {
        grid-template-columns: 1fr;
    }

    /* --- Kontakt --- */
    .contact-intro h2 {
        font-size: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* --- Stopka --- */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 0 24px 48px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 22px 24px;
    }
}

@media (max-width: 600px) {

    body {
        padding-top: 80px;
    }

    main, footer {
        padding: 0 18px;
    }

    /* --- Nagłówek --- */
    .main-header {
        padding: 14px 18px;
    }

    .nav-logo-img {
        width: 80px;
    }

    /* --- Hero --- */
    .hero {
        margin-top: 8px;
        padding-bottom: 40px;
    }

    .hero-watermark {
        font-size: 90px;
    }

    .hero-content h1 {
        font-size: clamp(30px, 9vw, 36px);
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-image img {
        width: 100%;
        transform: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .hero-actions .btn-large {
        text-align: center;
        justify-content: center;
    }

    .hero-secondary-link {
        justify-content: center;
    }

    /* --- Sekcje ogólne --- */
    section:not(.hero) {
        padding: 50px 0;
    }

    section:not(.hero) h2 {
        font-size: 28px;
    }

    /* --- Jak to robimy --- */
    .how-section .section-intro {
        margin-bottom: 30px;
    }

    .how-image-grid {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 14px;
        margin-top: 20px;
    }

    .how-image-card {
        min-height: auto;
    }

    .how-card-top {
        padding: 24px 20px 16px;
    }

    .how-image-card .card-category {
        padding: 0 20px;
    }

    .how-image-card h3 {
        font-size: 22px;
        padding: 0 20px;
    }

    .how-image-card > p:last-of-type {
        padding: 0 20px;
        margin-bottom: 20px;
    }

    .how-image-card img {
        height: 180px;
    }

    /* --- Efekty --- */
    .impact-simple-stats {
        grid-template-columns: 1fr;
    }

    .impact-simple {
        padding: 48px 24px;
    }

    .impact-full-bg {
        display: none;
    }

    .impact-number {
        font-size: 54px;
    }

    .impact-kicker {
        font-size: 28px;
    }

    .impact-simple-note {
        font-size: 17px;
        margin-top: 28px;
        padding-top: 24px;
    }

    .impact-simple-item {
        padding: 28px 16px 24px;
    }

    /* --- Cel --- */
    .goal-section {
        padding: 70px 0;
    }

    .goal-section::before {
        margin-bottom: 50px;
    }

    .goal-text h2 {
        font-size: 32px;
    }

    .goal-image-box {
        height: 220px;
        border-radius: 22px;
    }

    .goal-card {
        padding: 32px 24px 28px;
    }

    .goal-card span {
        font-size: 28px;
    }

    .goal-card-top-row {
        margin-bottom: 20px;
    }

    .goal-card h3 {
        font-size: 20px;
    }

    /* --- Kontakt --- */
    .contact-section {
        padding: 70px 0;
    }

    .contact-section::before {
        margin-bottom: 50px;
    }

    .contact-intro {
        margin-bottom: 40px;
    }

    .contact-intro h2 {
        font-size: 32px;
    }

    .contact-card {
        padding: 28px 24px;
    }

    .contact-number {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .contact-card h3 {
        font-size: 24px;
    }

    /* --- Stopka --- */
    .site-footer {
        margin-top: 60px;
        padding-top: 60px;
    }

    .footer-inner {
        padding: 0 18px 40px;
        gap: 36px;
    }

    .footer-contact h3,
    .footer-social h3 {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .footer-bottom {
        padding: 18px 18px;
    }
}
