/**
 * Landing — paleta + system komponentów (max-width, radius, spacing)
 * Powierzchnie: base #F7F3EC · alt #F1EBE2 · surface #FCFAF7
 */

.layout-home {
    --bg: #f7f3ec;
    --bg-alt: #f1ebe2;
    --surface: #fcfaf7;
    /* Karty „cieplejsze” (korzyści): mieszanka surface + alt */
    --surface-soft: color-mix(in srgb, var(--surface) 82%, var(--bg-alt) 18%);
    --text: #262421;
    --text-muted: rgba(38, 36, 33, 0.52);
    --text-body: rgba(38, 36, 33, 0.78);
    --brand: #74806a;
    --brand-hover: #5f6b56;
    --brand-soft: rgba(116, 128, 106, 0.16);
    /* Akcent złoty — tylko CTA, badge, drobne podkreślenia (nie tła sekcji, nie body) */
    --accent: #d79a2b;
    --accent-hover: #bc8a24;
    --accent-on: #1a1917;
    --line: rgba(38, 36, 33, 0.065);
    --line-strong: rgba(38, 36, 33, 0.12);

    --radius-card: 24px;
    --radius-btn: 13px;
    --radius-btn-lg: 15px;
    --radius-badge: 6px;
    --radius-pill: 9999px;

    --shadow-soft: 0 2px 10px rgba(38, 36, 33, 0.045);
    --shadow-card: 0 14px 44px rgba(38, 36, 33, 0.065);
    --shadow-card-hover: 0 18px 52px rgba(38, 36, 33, 0.085);
    --shadow-featured: 0 26px 64px rgba(38, 36, 33, 0.12);
    --shadow-cta: 0 28px 72px rgba(38, 36, 33, 0.1);

    --space-section: clamp(4.75rem, 13vw, 9.5rem);
    --space-head-body: clamp(3rem, 6vw, 5rem);
    --content-max: 85rem;

    --home-font: "Inter", system-ui, sans-serif;
    --home-display: "DM Sans", system-ui, sans-serif;

    font-family: var(--home-font);
    font-size: 1.0625rem;
    color: var(--text-body);
    background: var(--bg);
    font-feature-settings: "kern" 1, "liga" 1;
    line-height: 1.74;
}

.layout-home a {
    color: var(--brand);
}

.layout-home a:hover {
    color: var(--brand-hover);
}

.layout-home .btn-home--primary,
.layout-home .btn-home--primary:hover {
    color: var(--accent-on);
}

/* —— Navbar —— */
.site-header {
    --site-header-h: 4.85rem;
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: var(--site-header-h);
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

@supports not (background: color-mix(in srgb, white 50%, black 50%)) {
    .site-header {
        background: rgba(247, 243, 236, 0.97);
    }
}

.site-header__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 1.1rem clamp(1.25rem, 4vw, 2.25rem);
    min-height: var(--site-header-h);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

.site-header__menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin-left: auto;
}

.site-header__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header__menu-toggle {
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: var(--radius-btn);
    cursor: pointer;
    color: var(--text);
}

.site-header__menu-toggle:hover {
    background: rgba(38, 36, 33, 0.06);
}

.site-header__menu-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.site-header__burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 1.35rem;
    height: 1rem;
}

.site-header__burger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition:
        transform 0.22s ease,
        opacity 0.2s ease;
    transform-origin: center;
}

.site-header--nav-open .site-header__burger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-header--nav-open .site-header__burger span:nth-child(2) {
    opacity: 0;
}

.site-header--nav-open .site-header__burger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--home-display);
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -0.038em;
    color: var(--text);
    text-decoration: none;
}

.site-logo__mark {
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 4px;
    background: var(--brand);
    flex-shrink: 0;
}

.site-logo:hover {
    color: var(--brand);
}

.site-logo:hover .site-logo__mark {
    background: var(--accent);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    margin-left: 0;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.site-nav a {
    color: rgba(38, 36, 33, 0.48);
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--text);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-home--nav-secondary {
    font-size: 0.875rem;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-btn);
    font-weight: 500;
    color: rgba(38, 36, 33, 0.42);
    border-color: transparent;
    background: transparent;
}

.btn-home--nav-secondary:hover {
    color: var(--text);
    background: rgba(38, 36, 33, 0.05);
}

.btn-home--nav-cta {
    font-size: 0.9375rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    padding: 0.78rem 1.55rem;
    min-height: 2.85rem;
    border-radius: var(--radius-btn);
    box-shadow: 0 6px 22px rgba(215, 154, 43, 0.35);
}

.btn-home--nav-cta:hover {
    box-shadow: 0 8px 28px rgba(215, 154, 43, 0.42);
    transform: translateY(-2px);
}

@media (max-width: 720px) {
    body.site-nav-open {
        overflow: hidden;
    }

    .site-header__inner {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        row-gap: 0;
    }

    .site-logo {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 3.25rem);
        align-self: center;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-header__menu-toggle {
        display: inline-flex;
        align-self: center;
    }

    /**
     * Rząd 1: logo | hamburger. Rząd 2: menu na pełnej szerokości pod paskiem (jak typowy navbar collapse).
     */
    .site-header__menu {
        flex: 1 1 100%;
        width: 100%;
        order: 3;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0 !important;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        border: 0;
        border-radius: 0 0 var(--radius-card) var(--radius-card);
        background: var(--surface);
        box-shadow: 0 12px 32px rgba(38, 36, 33, 0.08);
        transition:
            max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.22s ease,
            padding 0.22s ease,
            visibility 0.22s ease;
    }

    .site-header--nav-open .site-header__menu {
        max-height: min(88vh, 560px);
        padding: 0.85rem 0 1.35rem;
        margin-top: 0.65rem !important;
        border-top: 1px solid var(--line);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .site-nav {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0;
    }

    .site-nav a {
        padding: 0.9rem 0.15rem;
        border-bottom: 1px solid var(--line);
        font-size: 1rem;
        font-weight: 600;
        color: var(--text);
    }

    .site-nav a:hover {
        color: var(--brand);
    }

    .site-header__actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        padding-top: 1.1rem;
        margin-top: 0.25rem;
    }

    .site-header__actions .btn-home {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 721px) {
    .site-header__inner {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .site-header__menu-toggle {
        display: none !important;
    }

    .site-header__menu {
        position: static !important;
        order: 0 !important;
        flex: unset !important;
        flex-basis: auto !important;
        width: auto !important;
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        margin-left: auto !important;
        margin-top: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        flex-direction: row !important;
        align-items: center !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .site-logo {
        max-width: none !important;
        overflow: visible !important;
        white-space: normal !important;
        text-overflow: unset !important;
    }
}

/* —— Przyciski globalne —— */
.btn-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.65rem;
    min-height: 3rem;
    border-radius: var(--radius-btn);
    font-family: var(--home-display);
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.03em;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
}

.btn-home:active {
    transform: translateY(1px) scale(0.99);
}

.btn-home--sharp {
    border-radius: var(--radius-btn);
}

.btn-home--ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid color-mix(in srgb, var(--brand) 38%, transparent);
}

.btn-home--ghost:hover {
    background: var(--brand-soft);
    border-color: var(--brand);
}

.btn-home--on-splash {
    color: var(--text-muted);
    border-color: var(--line);
    background: transparent;
}

.btn-home--on-splash:hover {
    background: var(--surface);
    border-color: color-mix(in srgb, var(--brand) 32%, transparent);
    color: var(--text);
}

.btn-home--primary {
    background: var(--accent);
    color: var(--accent-on);
    box-shadow: 0 4px 18px rgba(215, 154, 43, 0.28);
}

.btn-home--primary:hover {
    background: var(--accent-hover);
    color: var(--accent-on);
    box-shadow: 0 8px 28px rgba(215, 154, 43, 0.35);
    transform: translateY(-2px);
}

.btn-home--cta-final {
    font-size: 1.0625rem;
    padding: 1.15rem 2.55rem;
    min-height: 3.7rem;
    border-radius: var(--radius-btn-lg);
    letter-spacing: 0.045em;
    font-weight: 800;
    box-shadow: 0 8px 30px rgba(215, 154, 43, 0.35);
}

.btn-home--in-card {
    width: 100%;
    max-width: 100%;
    padding: 1.05rem 1.5rem;
    min-height: 3.35rem;
}

/* —— Hero —— */
.home-hero--splash {
    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 12vw, 8.5rem) clamp(1.25rem, 4vw, 2.25rem)
        calc(var(--space-section) + clamp(2.5rem, 5vw, 4rem));
}

.home-hero--splash .home-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--bg);
}

.home-hero__grain {
    display: none;
}

.home-hero--splash .home-hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    gap: clamp(2.25rem, 5.5vw, 3.75rem);
    align-items: start;
}

@media (min-width: 900px) {
    .home-hero--splash .home-hero__inner {
        grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
        align-items: start;
    }

    .home-hero__visual {
        margin-top: -0.75rem;
    }
}

.home-hero__intro {
    max-width: min(34rem, 100%);
}

.home-hero__eyebrow {
    font-family: var(--home-display);
    font-size: 0.6875rem;
    letter-spacing: 0.16em;
    font-weight: 700;
    color: var(--brand);
    margin: 0 0 clamp(1.35rem, 2.5vw, 1.85rem);
}

.home-hero__title {
    margin: 0 0 clamp(1.75rem, 3.5vw, 2.35rem);
    line-height: 0.98;
}

.home-hero__title-pre {
    display: block;
    font-family: var(--home-display);
    font-size: clamp(1.5rem, 3.1vw, 1.95rem);
    font-weight: 600;
    letter-spacing: -0.032em;
    color: var(--text);
}

.home-hero__title-main {
    display: block;
    font-family: var(--home-display);
    font-size: clamp(3.1rem, 8.5vw, 4.65rem);
    font-weight: 800;
    letter-spacing: -0.048em;
    line-height: 1.02;
    color: var(--text);
}

.home-hero__tagline {
    font-family: var(--home-font);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-muted);
    margin: 0 0 1.35rem;
    line-height: 1.78;
    max-width: 30rem;
}

.home-hero__bullets {
    margin: 0 0 2.25rem;
    padding: 0;
    list-style: none;
    font-size: 1rem;
    line-height: 1.78;
    color: var(--text-body);
}

.home-hero__bullets li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.75rem;
}

.home-hero__bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--brand);
    opacity: 0.9;
}

.home-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.home-hero--splash .btn-home--primary {
    padding: 1rem 1.85rem;
    min-height: 3.25rem;
    border-radius: var(--radius-btn-lg);
}

.home-hero__note {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 1.5rem 0 0;
}

.home-hero__note a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-hero__visual {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.home-hero__figure {
    width: 100%;
    max-width: min(32rem, 100%);
    margin: 0;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}

@media (min-width: 900px) {
    .home-hero__figure {
        max-width: min(34rem, 100%);
    }
}

.home-hero__figure img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

@media (prefers-reduced-motion: reduce) {
    .btn-home--primary:hover,
    .btn-home--nav-cta:hover {
        transform: none;
    }

    .btn-home:active {
        transform: none;
    }
}

.home-hero__credit {
    margin: 0;
    padding: 0.65rem 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.45;
    background: color-mix(in srgb, var(--bg) 75%, var(--surface));
}

/* —— Split (tło alt + asymetria zdjęcie / tekst) —— */
.home-split {
    padding: calc(var(--space-section) + clamp(1rem, 3vw, 2rem)) clamp(1.25rem, 4vw, 2.25rem);
    border-block: 1px solid var(--line);
}

.home-split--alt {
    background: var(--bg-alt);
}

.home-split__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    gap: clamp(2.75rem, 6.5vw, 4.75rem);
    align-items: center;
}

@media (min-width: 900px) {
    .home-split__inner {
        grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
        gap: clamp(3.25rem, 7vw, 5.25rem);
    }
}

.home-split__copy {
    max-width: min(31rem, 100%);
}

.home-split__media {
    position: relative;
    min-height: clamp(320px, 42vw, 420px);
}

.home-split__photo {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-card);
    background-size: cover;
    background-position: center 35%;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.home-split__title {
    font-family: var(--home-display);
    font-size: clamp(1.95rem, 3.75vw, 2.65rem);
    font-weight: 800;
    margin: 0 0 0.25rem;
    line-height: 1.12;
    letter-spacing: -0.04em;
    color: var(--text);
}

.home-split__title strong {
    font-weight: 800;
    color: var(--brand);
}

.home-split__title::after {
    content: "";
    display: block;
    width: 4.25rem;
    height: 5px;
    border-radius: 999px;
    margin: 0.85rem 0 1.1rem;
    background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 52%, var(--accent-hover) 100%);
    box-shadow:
        0 2px 12px rgba(215, 154, 43, 0.28),
        0 1px 4px rgba(116, 128, 106, 0.22),
        inset 0 1px 0 rgba(252, 250, 247, 0.35);
}

.home-split__lead {
    margin: 0 0 2.25rem;
    font-size: 1.125rem;
    line-height: 1.82;
    color: var(--text-muted);
    max-width: 28rem;
}

.home-split__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.35rem 2.1rem;
    align-items: center;
}

.home-split__link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--brand);
    text-decoration: none;
}

.home-split__play {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent);
    position: relative;
    flex-shrink: 0;
}

.home-split__play::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-42%, -50%);
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent var(--brand);
}

/* —— Sekcje ogólne —— */
.home-section {
    padding: var(--space-section) clamp(1.25rem, 4vw, 2.25rem);
}

.home-section--alt {
    background: var(--bg-alt);
}

.home-section--plans {
    background: var(--bg);
}

.home-section--process {
    background: var(--bg);
    border-block: 1px solid var(--line);
}

.home-section--cta-band {
    background: var(--bg-alt);
    padding: var(--space-section) clamp(1.25rem, 4vw, 2.25rem);
}

.home-section__inner {
    max-width: var(--content-max);
    margin: 0 auto;
}

.home-section__head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto var(--space-head-body);
}

.home-section__head--wide {
    max-width: 44rem;
}

.home-section__head--editorial {
    text-align: left;
    margin-left: 0;
    max-width: 36rem;
}

.home-section__head--process {
    margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.home-section__title {
    font-family: var(--home-display);
    font-size: clamp(1.85rem, 3.35vw, 2.5rem);
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.04em;
    line-height: 1.14;
    color: var(--text);
}

.home-section__title strong {
    font-weight: 800;
    color: var(--brand);
}

.home-section__head .home-section__title::after {
    content: "";
    display: block;
    width: min(4.75rem, 26vw);
    height: 5px;
    border-radius: 999px;
    margin: 0.85rem auto 1rem;
    background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 52%, var(--accent-hover) 100%);
    box-shadow:
        0 2px 12px rgba(215, 154, 43, 0.28),
        0 1px 4px rgba(116, 128, 106, 0.22),
        inset 0 1px 0 rgba(252, 250, 247, 0.35);
}

.home-section__head--editorial .home-section__title::after {
    margin-left: 0;
    margin-right: auto;
}

.home-section__subtitle {
    margin: 0 auto;
    max-width: 34rem;
    color: var(--text-muted);
    font-size: 1.0625rem;
    line-height: 1.82;
    font-weight: 400;
}

.home-section__head--wide .home-section__subtitle {
    max-width: 38rem;
}

.home-section__head--editorial .home-section__subtitle {
    margin-left: 0;
    margin-right: 0;
    max-width: 32rem;
}

/* —— Pricing —— */
.home-plans {
    display: grid;
    gap: clamp(1.75rem, 4vw, 2.35rem);
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: stretch;
    padding: 0.65rem 0.35rem 0.15rem;
}

.home-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 22rem;
    padding: 0;
    border-radius: var(--radius-card);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.home-plan-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.home-plan-card--featured {
    border: 3px solid color-mix(in srgb, var(--brand) 48%, transparent);
    box-shadow: var(--shadow-featured);
    transform: scale(1.026);
    z-index: 2;
    min-height: 26.5rem;
}

@media (max-width: 639px) {
    .home-plan-card--featured {
        transform: none;
    }
}

.home-plan-card__badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -46%);
    padding: 0.3rem 0.72rem;
    font-family: var(--home-display);
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-on);
    background: linear-gradient(155deg, #e8bc55 0%, var(--accent) 50%, #9a7218 100%);
    border-radius: var(--radius-badge);
    border: 1px solid rgba(252, 250, 247, 0.35);
    box-shadow:
        0 2px 8px rgba(38, 36, 33, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.home-plan-card__body {
    flex: 1 1 auto;
    padding: 2.75rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    text-align: left;
}

.home-plan-card__desc {
    margin: 1.25rem 0 0;
    font-size: 0.9375rem;
    line-height: 1.72;
    color: var(--text-muted);
    font-weight: 400;
}

.home-plan-card__features {
    margin: 1.25rem 0 0;
    padding: 0 0 0 1.15rem;
    list-style: disc;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-body);
}

.home-plan-card__features li {
    margin-bottom: 0.45rem;
}

.home-plan-card__features li:last-child {
    margin-bottom: 0;
}

.home-plan-card--featured .home-plan-card__body {
    padding-top: 3.25rem;
}

.home-plan-card__name {
    font-family: var(--home-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

.home-plan-card__price {
    font-family: var(--home-display);
    font-size: clamp(2.15rem, 4.2vw, 2.75rem);
    font-weight: 800;
    color: var(--brand);
    margin: 0;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.home-plan-card__hint {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0.75rem 0 0;
    line-height: 1.5;
}

.home-plan-card__footer {
    padding: 1.75rem 2rem 2.25rem;
    margin-top: auto;
}

.home-plan-card__btn {
    margin: 0 auto;
}

.home-plans__empty {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
}

/* —— FAQ —— */
.home-section--faq .home-section__head {
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.home-faq {
    max-width: 44rem;
    margin: 0 auto;
    display: grid;
    gap: 1.15rem;
}

.home-faq__item {
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius-card);
    background: var(--surface);
    border: 1px solid color-mix(in srgb, var(--line-strong) 75%, transparent);
    box-shadow: var(--shadow-soft);
}

.home-faq__q {
    font-family: var(--home-display);
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.65rem;
    color: var(--text);
    line-height: 1.3;
}

.home-faq__a {
    margin: 0;
    font-size: 1rem;
    line-height: 1.82;
    color: var(--text-muted);
}

/* —— Korzyści —— */
.home-section--benefits .home-features {
    max-width: var(--content-max);
    margin: 0 auto;
}

.home-features {
    display: grid;
    gap: 2rem;
}

@media (min-width: 640px) {
    .home-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.65rem;
    }
}

.home-feature {
    background: var(--surface-soft);
    border-radius: var(--radius-card);
    padding: 3rem 2.35rem;
    min-height: 18rem;
    border: 1px solid color-mix(in srgb, var(--line-strong) 85%, var(--brand) 4%);
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.25s ease;
}

@supports not (background: color-mix(in srgb, white 50%, black 50%)) {
    .home-feature {
        background: var(--surface);
    }
}

.home-feature:hover {
    box-shadow: var(--shadow-card);
}

.home-feature__icon {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: var(--radius-btn);
    background: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    line-height: 1;
    margin-bottom: 1.9rem;
}

.home-feature h3 {
    font-family: var(--home-display);
    font-size: 1.28rem;
    margin: 0 0 0.95rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--text);
}

.home-feature p {
    margin: 0;
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.82;
}

/* —— Kroki (process) —— */
.home-steps--process {
    position: relative;
    max-width: min(72rem, 100%);
    margin: 0 auto;
    counter-reset: step;
}

@media (min-width: 768px) {
    .home-steps--process {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(2rem, 4vw, 3rem);
        padding-top: 0.75rem;
    }

    .home-steps--process::before {
        content: "";
        position: absolute;
        top: 2rem;
        left: 9%;
        right: 9%;
        height: 2px;
        border-radius: 1px;
        background: linear-gradient(
            90deg,
            transparent,
            color-mix(in srgb, var(--brand) 52%, transparent) 12%,
            color-mix(in srgb, var(--brand) 52%, transparent) 88%,
            transparent
        );
        z-index: 0;
        pointer-events: none;
        box-shadow: 0 1px 0 rgba(252, 250, 247, 0.65);
    }
}

.home-steps--process .home-step {
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .home-steps--process .home-step {
        text-align: center;
        padding: 0 0.65rem;
    }

    .home-steps--process .home-step::before {
        position: relative;
        left: auto;
        top: auto;
        margin: 0 auto 1.85rem;
    }
}

.home-steps--process .home-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 92%, #fff) 0%, var(--brand) 100%);
    color: var(--surface);
    font-weight: 800;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--home-display);
    letter-spacing: -0.04em;
    box-shadow: 0 8px 26px rgba(116, 128, 106, 0.28);
    border: 4px solid var(--surface);
}

@media (max-width: 767px) {
    .home-steps--process {
        display: flex;
        flex-direction: column;
        gap: 2.85rem;
        padding-left: 0.25rem;
    }

    .home-steps--process .home-step {
        padding-left: 5rem;
        padding-bottom: 0;
    }

    .home-steps--process .home-step::before {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.2rem;
    }

    .home-steps--process .home-step:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 1.65rem;
        top: 3.85rem;
        bottom: -2.85rem;
        width: 2px;
        background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 42%, transparent), transparent);
        border-radius: 1px;
    }
}

.home-step h3 {
    font-family: var(--home-display);
    font-size: 1.3125rem;
    margin: 0 0 0.75rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--text);
}

.home-step p {
    margin: 0;
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.82;
}

/* —— Final CTA —— */
.home-cta {
    max-width: min(54rem, 100%);
    margin: 0 auto;
    padding: clamp(3.65rem, 9.5vw, 5.35rem) clamp(2.35rem, 5.5vw, 4rem);
    border-radius: var(--radius-card);
    background: var(--surface);
    color: var(--text);
    text-align: center;
    border: 1px solid color-mix(in srgb, var(--line-strong) 88%, var(--brand) 8%);
    box-shadow:
        var(--shadow-cta),
        0 0 0 1px rgba(252, 250, 247, 0.85) inset;
}

.home-cta h2 {
    font-family: var(--home-display);
    font-size: clamp(2rem, 4.6vw, 2.85rem);
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.042em;
    line-height: 1.12;
    color: var(--text);
}

.home-cta h2::after {
    content: "";
    display: block;
    width: min(5rem, 28vw);
    height: 5px;
    border-radius: 999px;
    margin: 1.15rem auto 1.45rem;
    background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 52%, var(--accent-hover) 100%);
    box-shadow:
        0 2px 12px rgba(215, 154, 43, 0.28),
        0 1px 4px rgba(116, 128, 106, 0.22),
        inset 0 1px 0 rgba(252, 250, 247, 0.35);
}

.home-cta__lead {
    margin: 0 0 2.85rem;
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.82;
    font-weight: 400;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.home-cta .btn-home--primary {
    min-width: min(100%, 22rem);
}

/* Stopka */
.site-footer {
    background: var(--bg);
    color: var(--text-muted);
    padding: clamp(3rem, 8vw, 4.5rem) clamp(1.25rem, 4vw, 2.25rem) 2rem;
    font-size: 1rem;
    line-height: 1.75;
    border-top: 1px solid var(--line);
}

.site-footer a {
    color: var(--brand);
}

.site-footer a:hover {
    color: var(--brand-hover);
}

.site-footer__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    gap: 2.75rem;
}

@media (min-width: 640px) {
    .site-footer__inner {
        grid-template-columns: 1.2fr 1fr 1fr;
    }
}

.site-footer__brand {
    font-family: var(--home-display);
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--text);
    margin: 0 0 0.65rem;
}

.site-footer__col h4 {
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 1rem;
    font-weight: 600;
}

.site-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__col li {
    margin-bottom: 0.55rem;
}

.site-footer__bottom {
    max-width: var(--content-max);
    margin: 2.75rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}
