/* ===========================
ROOT / ZMIENNE
=========================== */

:root {
    --bg: #f5f3ef;
    --surface: #ffffff;
    --surface-alt: #ece7de;
    --text: #333333;
    --text-muted: #666666;
    --dark: #111111;
    --dark-soft: #272727;
    --yellow: #ffd400;
    --yellow-hover: #ffe04d;
    --brown: #6a3b22;
    --green: #2e7d32;
    --pink: #e91e63;
    --blue: #2aa7df;
    --purple: #7a5af8;
    --orange: #f59e0b;
    --teal: #009688;
    --light-blue: #4fc3f7;
    --rose: #f06292;
    --radius: 22px;
    --shadow: 0 15px 40px rgba(0, 0, 0, 0.10);
    --container: 1200px;
}

/* ===========================
RESET
=========================== */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    min-width: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: "Poppins", sans-serif;
    line-height: 1.7;
	padding-top: 75px;
}
@media (max-width: 760px) {
    body {
        padding-top: 68px;
    }
}
img,
svg,
video,
iframe {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    max-width: 100%;
    font: inherit;
}

h1,
h2,
h3,
p,
a,
li {
    overflow-wrap: anywhere;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin-inline: auto;
}

.menu-bar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    background: rgba(17, 17, 17, 0.96);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

/* ===========================
DOSTĘPNOŚĆ
=========================== */

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 9999;
    transform: translateY(-150%);
    border-radius: 8px;
    background: var(--yellow);
    color: var(--dark);
    padding: 10px 16px;
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

/* ===========================
HEADER
=========================== */

.site-header {
    background: linear-gradient(135deg, var(--dark), var(--dark-soft));
    color: #ffffff;
}

.nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 75px;
    padding-block: 12px;
}

.brand {
    position: relative;
    z-index: 2;
    flex: 0 1 auto;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.brand span {
    color: var(--yellow);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.1);
}

.nav-toggle-box {
    position: relative;
    display: block;
    width: 26px;
    height: 20px;
}

.nav-toggle-line,
.nav-toggle-line::before,
.nav-toggle-line::after {
    position: absolute;
    left: 0;
    display: block;
    width: 26px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.25s ease, top 0.25s ease, opacity 0.25s ease;
}

.nav-toggle-line {
    top: 9px;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
    content: "";
}

.nav-toggle-line::before {
    top: -8px;
}

.nav-toggle-line::after {
    top: 8px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line::before {
    top: 0;
    transform: rotate(45deg);
    background: #ffffff;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line::after {
    top: 0;
    transform: rotate(-45deg);
    background: #ffffff;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px 22px;
    list-style: none;
}

.nav-links a {
    display: block;
    color: #e8e8e8;
    padding-block: 8px;
    font-size: 0.95rem;
    font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--yellow);
}

/* ===========================
HERO
=========================== */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    padding-block: 56px 72px;
    text-align: center;
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--yellow);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 9vw, 4.5rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.hero p {
    max-width: 640px;
    margin: 0 auto 34px;
    color: #dddddd;
    font-size: clamp(1rem, 3vw, 1.2rem);
}

.hero-image {
    width: min(100%, 520px);
    margin-inline: auto;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
    animation: float 5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-image {
        animation: none;
    }

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

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===========================
BUTTON
=========================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 54px;
    border-radius: 999px;
    background: var(--yellow);
    box-shadow: 0 10px 25px rgba(255, 212, 0, 0.25);
    color: var(--dark);
    padding: 15px 34px;
    font-weight: 700;
    text-align: center;
    transition: transform 0.25s, background-color 0.25s;
}

.btn:hover {
    transform: translateY(-3px);
    background: var(--yellow-hover);
}

.btn:focus-visible,
a:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
}

/* ===========================
SEKCJE
=========================== */

main section {
    padding-block: 70px;
    scroll-margin-top: 90px;
}

.section-title {
    max-width: 820px;
    margin: 0 auto 18px;
    color: var(--dark);
    font-size: clamp(1.8rem, 6vw, 3rem);
    line-height: 1.18;
    text-align: center;
}

.section-intro {
    max-width: 760px;
    margin: 0 auto 44px;
    color: var(--text-muted);
    text-align: center;
}

.features,
.benefit-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
}

.card,
.benefit,
.composition-box,
.contact-box {
    min-width: 0;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

/* ===========================
KARTY
=========================== */

.card {
    padding: 30px;
    transition: transform 0.3s;
}

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

.card h3 {
    margin-bottom: 12px;
    color: var(--brown);
    font-size: 1.18rem;
}

.card h3 i {
    width: 25px;
    margin-right: 8px;
    text-align: center;
}

.card:nth-child(1) h3 i {
    color: var(--green);
}

.card:nth-child(2) h3 i {
    color: #fbc02d;
}

.card:nth-child(3) h3 i {
    color: var(--pink);
}

.card:nth-child(4) h3 i {
    color: var(--brown);
}

.card p {
    color: var(--text-muted);
}

/* ===========================
BENEFITS
=========================== */

.benefits {
    background: var(--surface-alt);
}

.benefit {
    padding: 24px;
    font-weight: 600;
}

/* ===========================
COMPOSITION / SKŁAD
=========================== */

.composition {
    background: var(--bg);
}

.composition .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.composition .section-title i {
    flex: 0 0 auto;
    font-size: 1.08em;
}

.composition-box {
    max-width: 950px;
    margin-inline: auto;
    padding: clamp(24px, 5vw, 44px);
}

.composition-box h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 38px;
    margin-bottom: 15px;
    border-left: 5px solid var(--yellow);
    color: var(--brown);
    padding-left: 15px;
    font-size: clamp(1.15rem, 4vw, 1.45rem);
    font-weight: 700;
    line-height: 1.35;
}

.composition-box h3:first-child {
    margin-top: 0;
}

.composition-box h3 i {
    flex: 0 0 28px;
    width: 28px;
    text-align: center;
}

.composition-box ul {
    margin: 0 0 28px 26px;
}

.composition-box li {
    margin-bottom: 10px;
    color: #555555;
    line-height: 1.8;
}

.composition-box li::marker {
    color: var(--yellow);
}

.composition-box p {
    margin: 15px 0 30px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.9;
}

.composition-box p:last-child {
    margin-bottom: 0;
}

.composition-description {
    color: var(--text-muted);
    white-space: pre-line;
}

.placeholder-note {
    margin-top: 22px;
    border-left: 4px solid var(--yellow);
    background: #fff9d9;
    padding: 14px 16px;
    color: #574a00;
    font-size: 0.92rem;
}

/* ===========================
KOLORY IKON LUMI
=========================== */

.lumi-blue {
    color: var(--blue);
}

.lumi-green {
    color: #34b56a;
}

.lumi-yellow {
    color: var(--yellow);
}

.lumi-pink {
    color: var(--pink);
}

.lumi-brown {
    color: var(--brown);
}

.lumi-purple {
    color: var(--purple);
}

.lumi-orange {
    color: var(--orange);
}

.lumi-teal {
    color: var(--teal);
}

.lumi-light-blue {
    color: var(--light-blue);
}

.lumi-rose {
    color: var(--rose);
}

/* Kolory ikon kolejnych składników.
   Działają także bez ręcznego dodawania klas do każdego h3. */

.composition-box h3:nth-of-type(1) i {
    color: #34b56a;
}

.composition-box h3:nth-of-type(2) i {
    color: var(--blue);
}

.composition-box h3:nth-of-type(3) i {
    color: var(--purple);
}

.composition-box h3:nth-of-type(4) i {
    color: var(--pink);
}

.composition-box h3:nth-of-type(5) i {
    color: var(--orange);
}

.composition-box h3:nth-of-type(6) i {
    color: var(--yellow);
}

.composition-box h3:nth-of-type(7) i {
    color: #3cb371;
}

.composition-box h3:nth-of-type(8) i {
    color: var(--blue);
}

.composition-box h3:nth-of-type(9) i {
    color: #8b5cf6;
}

.composition-box h3:nth-of-type(10) i {
    color: var(--teal);
}

.composition-box h3:nth-of-type(11) i {
    color: var(--rose);
}

.composition-box h3:nth-of-type(12) i {
    color: var(--light-blue);
}

.composition-box h3:nth-of-type(13) i {
    color: #ffb300;
}

/* ===========================
CTA
=========================== */

.cta {
    background: linear-gradient(135deg, var(--dark), #252525);
    color: #ffffff;
    text-align: center;
}

.cta .section-title {
    color: #ffffff;
}

.cta p {
    margin-bottom: 34px;
    color: #dddddd;
    font-size: 1.08rem;
}

/* ===========================
KONTAKT
=========================== */

.contact {
    background: var(--surface-alt);
}

.contact-box {
    max-width: 760px;
    margin-inline: auto;
    padding: clamp(24px, 5vw, 42px);
    text-align: center;
}

.contact-box p {
    margin-bottom: 18px;
    color: var(--text-muted);
}

.contact-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    border-bottom: 2px solid var(--yellow);
    color: var(--brown);
    font-size: clamp(1rem, 4vw, 1.25rem);
    font-weight: 700;
}

.contact-email i {
    color: var(--blue);
}

/* ===========================
FOOTER
=========================== */
/* ===========================
FOOTER
=========================== */

footer {
    background: var(--dark);
    color: #aaaaaa;
    padding: 30px 16px;
    font-size: 0.9rem;
}

.footer-content {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.footer-text {
    line-height: 1.7;
}

.footer-policy {
    align-self: flex-end;
    color: var(--yellow);
    font-weight: 600;
    text-decoration: none;
    transition: color .25s ease;
}

.footer-policy:hover,
.footer-policy:focus-visible {
    color: var(--yellow-hover);
}

/* Telefon */

@media (max-width:760px){

    .footer-content{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-policy{
        margin-top: 14px;
        align-self: center;
    }

}

/* ===========================
TABLET
=========================== */

@media (min-width: 600px) {
    .features,
    .benefit-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ===========================
DESKTOP
=========================== */

@media (min-width: 900px) {
    .hero {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 70px;
        padding-block: 74px 92px;
        text-align: left;
    }

    .hero p {
        margin-left: 0;
    }

    .hero-image {
        margin-left: auto;
    }

    .features {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .benefit-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ===========================
MOBILE NAV
=========================== */

@media (max-width: 760px) {
    .nav {
        min-height: 68px;
        padding-block: 10px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: -16px;
        left: -16px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 2px;
        max-height: 0;
        overflow: hidden;
        padding: 0 10px;
        border-radius: 0 0 18px 18px;
        background: rgba(17, 17, 17, 0.98);
        box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition:
            max-height 0.32s ease,
            padding 0.32s ease,
            opacity 0.22s ease,
            transform 0.22s ease,
            visibility 0.22s ease;
    }

    .nav-links.is-open {
        max-height: 420px;
        padding: 10px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links li,
    .nav-links a {
        width: 100%;
    }

    .nav-links a {
        border-radius: 10px;
        padding: 13px 15px;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible {
        background: rgba(255, 212, 0, 0.12);
    }

    .composition .section-title {
        flex-direction: column;
        gap: 8px;
    }

    .composition-box {
        padding: 28px;
    }

    .composition-box h3 {
        font-size: 1.25rem;
    }
}

/* ===========================
MAŁE TELEFONY
=========================== */

@media (max-width: 420px) {
    .container {
        width: min(var(--container), calc(100% - 24px));
    }

    .btn {
        width: 100%;
        padding-inline: 18px;
    }

    .card,
    .benefit {
        padding: 21px;
    }

    .composition-box {
        padding: 22px;
        border-radius: 18px;
    }

    .composition-box h3 {
        gap: 9px;
        padding-left: 12px;
        font-size: 1.12rem;
    }

    .composition-box h3 i {
        flex-basis: 24px;
        width: 24px;
    }

    .composition-box ul {
        margin-left: 20px;
    }
}


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

    .nav-links {
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }
}

body.menu-open {
    overflow: hidden;
}

#start {
    scroll-margin-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
    .nav-links,
    .nav-toggle-line,
    .nav-toggle-line::before,
    .nav-toggle-line::after {
        transition: none;
    }
}
/* ===========================
BANER COOKIES
=========================== */

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

.cookie-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    padding: 16px;
}

.cookie-banner__content {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;

    width: min(100%, 1100px);
    margin-inline: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: rgba(17, 17, 17, 0.98);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
    color: #ffffff;
    padding: 20px 22px;

    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.cookie-banner__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 212, 0, 0.14);
    color: var(--yellow);
    font-size: 1.45rem;
}

.cookie-banner__text {
    min-width: 0;
}

.cookie-banner__text h2 {
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.3;
}

.cookie-banner__text p {
    margin-bottom: 4px;
    color: #d6d6d6;
    font-size: 0.88rem;
    line-height: 1.55;
}

.cookie-banner__text a {
    display: inline-block;
    color: var(--yellow);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-banner__text a:hover {
    color: var(--yellow-hover);
}

.cookie-banner__button {
    min-width: 118px;
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--dark);
    padding: 11px 22px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.cookie-banner__button:hover {
    background: var(--yellow-hover);
    transform: translateY(-2px);
}

.cookie-banner__button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .cookie-banner {
        padding: 10px;
    }

    .cookie-banner__content {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px;
        border-radius: 16px;
        padding: 16px;
    }

    .cookie-banner__icon {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }

    .cookie-banner__button {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 420px) {
    .cookie-banner__content {
        grid-template-columns: 1fr;
    }

    .cookie-banner__icon {
        display: none;
    }

    .cookie-banner__text p {
        font-size: 0.82rem;
    }
}