/* ==========================================================================
   Pelletarium - style strony głównej
   Projekt mobile first: bazowe reguły dotyczą najwęższych ekranów,
   media queries (min-width) tylko dokładają / poszerzają układ na większych.
   Paleta kolorów zgodna z logo marki (assets/img/logoMaster.png).
   ========================================================================== */

:root {
    /* Zielenie i żółcie 1:1 z palety marki. */
    --c-green-900: #1f5824;
    --c-green-700: #2e7d32;
    --c-green-500: #66bb3b;
    --c-green-50: #eaf7ea;

    --c-yellow-600: #ff9800;
    --c-yellow-400: #ffc107;
    --c-yellow-50: #fff8e1;

    --c-ink: #1c2419;
    --c-ink-muted: #5c6a56;
    --c-bg: #ffffff;
    --c-border: #e3ebdf;

    --c-danger: #c62828;
    --c-danger-bg: #fdecea;
    --c-success: #2e7d32;
    --c-success-bg: #eaf7ea;

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 10px rgba(31, 88, 36, 0.08);
    --shadow-md: 0 12px 30px rgba(31, 88, 36, 0.12);
    --shadow-lg: 0 24px 60px rgba(31, 88, 36, 0.16);

    --max-width: 1180px;
    --font-heading: "Poppins", "Segoe UI", Arial, sans-serif;
    --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

/* Jednolite, jednokolorowe ikony SVG (zielone lub białe wg kontekstu, przez
   currentColor) zamiast kolorowych emoji - patrz .icon-svg w miejscach użycia. */
.icon-svg {
    display: block;
    flex-shrink: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 74px;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--c-ink);
    background: var(--c-bg);
    line-height: 1.65;
    font-size: 1rem;
}

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

a {
    color: var(--c-green-700);
}

h1, h2, h3 {
    font-family: var(--font-heading);
    line-height: 1.18;
    margin: 0 0 0.6em;
    color: var(--c-green-900);
    font-weight: 700;
}

h2 {
    font-size: 1.9rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--c-yellow-50);
    color: var(--c-yellow-600);
    border: 1px solid var(--c-yellow-400);
    border-radius: var(--radius-pill);
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-lead {
    color: var(--c-ink-muted);
    max-width: 60ch;
    margin: 0 0 2.4rem;
    font-size: 1.05rem;
}

.section-heading {
    max-width: 640px;
}

section {
    padding: 3.6rem 0;
}

/* Półprzezroczysta zieleń (nie pełne kryjące tło) - żeby drzewo z .site-main::before
   (patrz niżej) było widoczne także pod sekcją "O nas". */
.section-alt {
    background: rgba(234, 247, 234, 0.55);
}

/* Wspólne tło (drzewo, assets/img/tloWww.png) dla wszystkich sekcji pod hero,
   naniesione na .site-main::before - stąd sięga dokładnie od góry pierwszej
   sekcji do dołu ostatniej (overflow:hidden przycina je równo przed stopką,
   która ma już własne, kryjące tło i w efekcie zasłania resztę obrazka). */
.site-main {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.site-main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/tloWww.png") top center no-repeat;
    background-size: 100% 100%;
    z-index: 0;
	opacity: 0.3;
}

.site-main > section {
    position: relative;
    z-index: 1;
}

/* Delikatne, dodatkowe tło z motywem roślinnym pod samą sekcją Oferta - osobna
   warstwa (::before), żeby filter/opacity dotyczyły tylko obrazka, a nie treści
   nad nim (nałożenie opacity bezpośrednio na #oferta wyblakłoby też tekst i karty). */
#oferta {
    position: relative;
    background: transparent;
}

#oferta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/tloOferta.png") center top / cover no-repeat;
    filter: grayscale(1);
    opacity: 0.1;
    z-index: 0;
}

#oferta > .container {
    position: relative;
    z-index: 1;
}

/* --- Przyciski ------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    padding: 0.5rem 1.0rem;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--c-green-700);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--c-green-900);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: var(--c-yellow-400);
    color: var(--c-green-900);
    box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
    background: var(--c-yellow-600);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border-color: var(--c-green-700);
    color: var(--c-green-700);
}

.btn-outline:hover {
    background: var(--c-green-50);
}

.btn:disabled {
    opacity: 0.6;
    cursor: progress;
}

/* --- Nagłówek / nawigacja --------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.logo-link {
    display: block;
    line-height: 0;
}

.logo-link img {
    height: 70px;
    width: auto;
}

.nav-toggle {
    background: var(--c-green-50);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.7rem;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
}

.main-nav.is-open {
    display: block;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0.6rem 1.25rem 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

/* Celowo ".main-nav ul a" (nie ".main-nav a") - przycisk .nav-cta leży poza <ul>
   i nie może dziedziczyć tu koloru/obramowania linków menu, inaczej nadpisuje .btn-primary. */
.main-nav ul a {
    display: block;
    padding: 0.7rem 0.2rem;
    text-decoration: none;
    color: var(--c-ink);
    font-weight: 600;
    border-bottom: 1px solid var(--c-border);
}

.nav-cta {
    display: block;
    margin: 0.9rem 1.25rem 1.2rem;
    text-align: center;
    /* W menu przycisk ma zostać zielony, ale bez obramowania - w odróżnieniu od
       innych miejsc, gdzie .btn-outline zachowuje ramkę (np. w hero). */
    border-color: transparent;
	background: var(--c-green-50);
}

@media (min-width: 860px) {
    .nav-toggle {
        display: none;
    }

    .main-nav {
        display: flex;
        align-items: center;
        gap: 1.8rem;
        position: static;
        box-shadow: none;
        border-bottom: none;
        background: transparent;
    }

    .main-nav ul {
        flex-direction: row;
        padding: 0;
        gap: 1.8rem;
    }

    .main-nav ul a {
        border-bottom: none;
        padding: 0.3rem 0;
    }

    .nav-cta {
        margin: 0;
    }
}

/* --- Hero -------------------------------------------------------------------- */
/* Pełnoekranowe zdjęcie w tle (od krawędzi do krawędzi, także za przezroczystym
   nagłówkiem), przyciemnione zielonym gradientem pod tekst, oraz oktagonalna
   plakietka - układ wzorowany na nowoczesnych landing page'ach z branży ogrodniczej. */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 480px;
    padding: 3rem 0;
    color: #fff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(20, 56, 24, 0.95) 0%, rgba(24, 68, 29, 0.82) 32%, rgba(31, 88, 36, 0.4) 52%, rgba(31, 88, 36, 0.18) 100%),
        linear-gradient(0deg, rgba(15, 43, 18, 0.55) 0%, rgba(15, 43, 18, 0) 30%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 860px;
}

.hero-copy h1 {
    font-size: 2.1rem;
    color: #fff;
}

.hero-copy p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.30rem;
    max-width: 160ch;
}

.hero .eyebrow {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--c-yellow-400);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 1.5rem 0 1.8rem;
}

.hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.14);
}

.hero-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.hero-highlights li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-highlights .check-icon {
    background: var(--c-yellow-400);
    color: var(--c-green-900);
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--c-green-700);
    color: #fff;
    font-size: 0.75rem;
}

/* Plakietka z certyfikatem - jasnozielona karta w stylu .pellet-feature-note
   (logo + tekst obok siebie), a nie kryjący, ciemny ósmokąt jak wcześniej. */
.hero-badge {
    display: none;
}

@media (min-width: 640px) {
    .hero-badge {
        position: absolute;
        z-index: 2;
        right: 6%;
        bottom: 10%;
        max-width: 260px;
        display: flex;
        align-items: center;
        gap: 0.8rem;
        padding: 0.9rem 1.1rem;
        color: var(--c-green-900);
        background: var(--c-green-50);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
    }

    .hero-badge-logo {
        flex-shrink: 0;
        width: 44px;
        height: 44px;
    }

    .hero-badge-text {
        font-family: var(--font-heading);
        font-size: 0.85rem;
        font-weight: 700;
        line-height: 1.3;
    }
}

@media (min-width: 860px) {
    .hero {
        min-height: min(88vh, 720px);
        padding: 4.5rem 0;
    }

    .hero-copy h1 {
        font-size: 3.5rem;
    }

    .hero-badge {
        right: 8%;
        bottom: 14%;
        max-width: 280px;
    }
}

/* --- Oferta: sekcja Pellet (zdjęcie w organicznym "blobie" + cechy) ----------- */

.text-accent-green {
    color: var(--c-green-700);
}

.pellet-feature {
    display: grid;
    gap: 2.6rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.pellet-feature-media {
    position: relative;
    width: min(100%, 380px);
    aspect-ratio: 4 / 5;
    margin: 0 auto;
}

.pellet-blob-outline {
    position: absolute;
    inset: -16px;
    width: calc(100% + 32px);
    height: calc(100% + 32px);
    fill: none;
    stroke: var(--c-green-500);
    stroke-width: 3;
}

.pellet-blob-photo {
    position: absolute;
    inset: 0;
    /* clip-path i border muszą być na tym divie, nie na <img> - na elementach
       zastępowanych (img/video) niektóre przeglądarki liczą objectBoundingBox
       bez obramowania, przez co border "wypada" poza przycięty obszar i znika. */
    clip-path: url(#pelletBlobClip);
    border: 5px solid #fff;
}

.pellet-blob-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pellet-accent-photo {
    position: absolute;
    right: -6%;
    bottom: 14%;
    width: 34%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: var(--shadow-lg);
}

.pellet-accent-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.pellet-feature-cta-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.6rem;
}

.pellet-feature-copy .eyebrow {
    margin-bottom: 0.8rem;
}

.pellet-feature-copy h2 {
    font-size: 1.9rem;
}

.pellet-feature-copy > p {
    color: var(--c-ink-muted);
    /*max-width: 52ch;*/
}

.pellet-feature-rows {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin: 1.8rem 0;
}

.pellet-feature-row {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.pellet-feature-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--c-green-500);
    background: #fff;
    color: var(--c-green-700);
}

.pellet-feature-row h3 {
    font-size: 1.05rem;
    margin: 0 0 0.2rem;
}

.pellet-feature-row p {
    color: var(--c-ink-muted);
    font-size: 0.92rem;
    margin: 0;
}

.pellet-feature-stat {
    background: linear-gradient(155deg, var(--c-green-900) 0%, var(--c-green-700) 100%);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 1.4rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.2rem;
}

.pellet-feature-stat strong {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1;
}

.pellet-feature-stat span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pellet-feature-note {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    background: var(--c-green-50);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.1rem;
}

.pellet-feature-note p {
    margin: 0;
    color: var(--c-ink-muted);
    font-size: 0.92rem;
}

@media (min-width: 640px) {
    .pellet-feature-rows {
        grid-template-columns: 1fr auto;
        grid-template-rows: repeat(2, auto);
    }

    .pellet-feature-stat {
        grid-column: 2;
        grid-row: 1 / 3;
        width: 150px;
    }
}

@media (min-width: 900px) {
    .pellet-feature {
        grid-template-columns: 0.85fr 1.15fr;
        gap: 3.5rem;
    }

    .pellet-feature-media {
        width: 100%;
        max-width: 420px;
        margin: 0;
    }

    .pellet-feature-copy h2 {
        font-size: 2.3rem;
    }
}

/* --- Palety pelletu dostępne w magazynie (zdjęcia + ceny z panelu) ------------ */

.pallet-stock {
    margin-bottom: 2.4rem;
}

.pallet-stock-heading h3 {
    margin-bottom: 0.3rem;
}

.pallet-stock-heading p {
    color: var(--c-ink-muted);
    margin: 0;
}

.pallet-stock-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 1.4rem;
}

@media (min-width: 480px) {
    .pallet-stock-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 640px) {
    .pallet-stock-grid {
        /* Stała liczba kolumn (nie auto-fill) - zawsze maksymalnie 3 zdjęcia
           w jednym wierszu, kolejne wpisy zawijają się do następnego wiersza. */
        grid-template-columns: repeat(3, 1fr);
    }
}

.pallet-stock-item {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pallet-stock-photo {
    width: 100%;
    height: 220px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (min-width: 480px) {
    .pallet-stock-photo {
        height: 300px;
    }
}

.pallet-stock-photo img {
    /* Zdjęcie skalowane w całości do wnętrza karty (bez kadrowania) -
       niezależnie od jego oryginalnej szerokości/wysokości nigdy nie
       przekroczy wysokości karty, tło wypełnia biel jak .delivery-check. */
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    padding: 20px;
}

.pallet-stock-price {
    display: inline-block;
    margin: 0 auto 1rem;
    padding: 0.5rem 1.1rem;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--c-green-900);
    border: 2px solid var(--c-green-900);
    border-radius: var(--radius-lg);
    background: var(--c-green-50);
}

/* --- Sprawdzanie dostawy ------------------------------------------------------ */

.delivery-check {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.7rem 2rem;
    box-shadow: var(--shadow-md);
}

.delivery-check-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.delivery-check-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--c-green-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-green-700);
}

.delivery-check h3 {
    margin-bottom: 0.3rem;
}

.delivery-check .field-hint {
    margin: 0;
    color: var(--c-ink-muted);
}

.delivery-form-row {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

@media (min-width: 560px) {
    .delivery-form-row {
        flex-direction: row;
    }

    .delivery-form-row input {
        flex: 1;
    }
}

.delivery-result {
    margin-top: 1.2rem;
}

.alert {
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
    font-weight: 600;
	margin: 20px;
}

.alert-danger {
    background: var(--c-danger-bg);
    color: var(--c-danger);
    border: 1px solid #f3b7b3;
	margin: 20px;
}

.alert-success {
    background: var(--c-success-bg);
    color: var(--c-success);
    border: 1px solid var(--c-green-500);
	margin: 20px;
}

.alert-neutral {
    background: var(--c-yellow-50);
    color: #8a6600;
    border: 1px solid var(--c-yellow-400);
	margin: 20px;
}

.transport-request {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px dashed var(--c-border);
}

/* --- O nas --------------------------------------------------------------------- */

.about-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 860px) {
    .about-grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 3rem;
    }
}

.about-media {
    position: relative;
}

.about-media-shape {
    position: absolute;
    inset: -5% -6%;
    background: linear-gradient(135deg, var(--c-green-500) 0%, var(--c-yellow-400) 100%);
    border-radius: 55% 45% 40% 60% / 50% 55% 45% 50%;
    opacity: 0.3;
    z-index: 0;
}

.about-media-frame {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-copy p {
    margin: 0 0 0.9rem;
    color: var(--c-ink-muted);
}

.about-copy .pellet-feature-note {
    margin: 1.4rem 0;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
    margin-top: 1.6rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--c-border);
    text-align: center;
}

.about-feature .pellet-feature-icon {
    margin: 0 auto 0.7rem;
}

.about-feature h3 {
    font-size: 0.95rem;
    margin: 0 0 0.25rem;
}

.about-feature p {
    font-size: 0.85rem;
    color: var(--c-ink-muted);
    margin: 0;
}

@media (min-width: 1000px) {
    .about-features {
        grid-template-columns: repeat(4, 1fr);
    }
}

.about-location-card {
    position: absolute;
    left: 1.4rem;
    bottom: 1.4rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    max-width: 210px;
    background: linear-gradient(155deg, var(--c-green-900) 0%, var(--c-green-700) 100%);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 0.9rem 1.1rem;
    box-shadow: var(--shadow-lg);
}

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

.about-location-card div {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    line-height: 1.35;
}

.about-location-card strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

.about-cta-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 1.1rem 1.4rem;
    background: var(--c-green-50);
    border-radius: var(--radius-md);
}

.about-cta-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--c-green-700);
}

.about-cta-bar p {
    margin: 0;
    color: var(--c-ink);
    font-weight: 500;
}

.about-cta-bar a {
    font-weight: 700;
}

/* --- Kontakt --------------------------------------------------------------------- */

.contact-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 860px) {
    .contact-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 2.6rem;
    }
}

.contact-form-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.7rem;
    box-shadow: var(--shadow-sm);
}

.contact-info-card {
    background: linear-gradient(160deg, var(--c-green-900) 0%, var(--c-green-700) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 1.9rem 1.7rem;
    box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
    color: #fff;
}

.contact-assurance-list {
    list-style: none;
    padding: 0;
    margin: 1.3rem 0 1.6rem;
    display: grid;
    gap: 0.9rem;
}

.contact-assurance-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
}

.contact-assurance-list .check-icon {
    background: var(--c-yellow-400);
    color: var(--c-green-900);
    margin-top: 0.1rem;
}

.contact-assurance-actions {
    display: grid;
    gap: 0.7rem;
}

/* Wariant .btn-outline na ciemnej karcie - domyślny zielony obrys byłby niewidoczny. */
.contact-info-card .btn-outline {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    justify-content: flex-start;
}

.contact-info-card .btn-outline:hover {
    background: rgba(255, 255, 255, 0.14);
}

/* --- Formularze ------------------------------------------------------------------- */

form .field {
    margin-bottom: 1.1rem;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    background: #fbfcfa;
    color: var(--c-ink);
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--c-green-500);
    background: #fff;
    box-shadow: 0 0 0 4px var(--c-green-50);
}

textarea {
    resize: vertical;
    min-height: 130px;
}

.required-note {
    color: var(--c-ink-muted);
    font-size: 0.85rem;
    margin-top: -0.5rem;
    margin-bottom: 1.1rem;
}

.form-message {
    margin-top: 0.9rem;
    font-weight: 600;
}

.form-message.is-success {
    color: var(--c-success);
}

.form-message.is-error {
    color: var(--c-danger);
}

/* Pole honeypot - ukryte przed ludźmi, ale widoczne dla botów wypełniających każde pole. */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* --- Stopka ---------------------------------------------------------------------- */

.site-footer {
    background: var(--c-green-900);
    color: #cfe4cd;
    margin-top: 2rem;
    padding: 2.6rem 0 1.6rem;
    font-size: 0.92rem;
}

.footer-inner {
    display: grid;
    gap: 1.8rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 700px) {
    .footer-inner {
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 2rem;
    }
}

.footer-brand img {
    height: 34px;
    margin-bottom: 0.8rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    max-width: 40ch;
    color: #b9d3b6;
}

.footer-col h4 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    margin: 0 0 0.9rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.footer-col a {
    color: #cfe4cd;
    text-decoration: none;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-top: 1.4rem;
    color: #a8c4a5;
    font-size: 0.85rem;
}

@media (min-width: 700px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-credit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
}

/* Logo Netixo na białej, lekko zaokrąglonej plakietce - żeby było czytelne
   na ciemnozielonym tle stopki niezależnie od własnych kolorów logotypu. */
.footer-credit-badge {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 0.3rem 0.65rem;
    line-height: 0;
}

.footer-credit-badge img {
    display: block;
    height: 14px;
    width: auto;
}

/* --- Przycisk "do góry" ------------------------------------------------------------ */
/* Ukryty, dopóki JS (assets/js/main.js) nie doda .is-visible po przewinięciu strony. */

.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 60;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--c-green-700);
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.15s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--c-green-900);
}

/* --- Baner cookies ------------------------------------------------------------------ */

.cookie-banner {
    position: fixed;
    left: 1.1rem;
    bottom: 1.1rem;
    z-index: 60;
    width: calc(100vw - 2.2rem);
    max-width: 360px;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--c-ink-muted);
}

.cookie-banner .btn {
    align-self: flex-start;
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
}

/* --- Polityka prywatności (podstrona) ------------------------------------------------ */

.legal-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 2.6rem 1.25rem 3.5rem;
}

.legal-page h1 {
    font-size: 1.9rem;
    margin-top: 0.6rem;
}

.legal-page h2 {
    font-size: 1.2rem;
    margin-top: 2.2rem;
}

.legal-page h2.legal-divider {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--c-border);
    font-size: 1.5rem;
}

.legal-page ul {
    padding-left: 1.3rem;
    margin: 0.8rem 0 1.2rem;
    display: grid;
    gap: 0.45rem;
}

.legal-page a {
    font-weight: 600;
}
