:root {
    --fs-tlo: #F7F3EC;
    --fs-tlo-menu: rgba(247, 243, 236, 0.97);
    --fs-tekst: #263A35;
    --fs-tekst-lagodny: #5f6e68;
    --fs-zielen: #263A35;
    --fs-zielen-ciemny: #1d2d29;
    --fs-szalka: #8FAF9B;
    --fs-karta: #ffffff;
    --fs-linia: rgba(38, 58, 53, 0.10);
    --fs-cien: 0 18px 46px rgba(38, 58, 53, 0.10);
    --fs-szerokosc: 1480px;
    --fs-font-glowny: "Montserrat", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    width: 100%;
    overflow-x: hidden;
    background: #ffffff;
    color: var(--fs-tekst);
    font-family: var(--fs-font-glowny);
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

body.fs-menu-zablokowane {
    overflow: hidden;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select,
optgroup {
    font-family: var(--fs-font-glowny);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li {
    font-family: var(--fs-font-glowny);
}

.fs-naglowek {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    min-height: 78px;
    background:
        radial-gradient(circle at 7% 42%, rgba(143, 175, 155, 0.16), transparent 34%),
        linear-gradient(90deg, rgba(247, 243, 236, 0.98) 0%, rgba(255, 255, 255, 0.98) 50%, rgba(247, 243, 236, 0.98) 100%);
    border-bottom: 1px solid var(--fs-linia);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.fs-naglowek__srodek {
    width: min(var(--fs-szerokosc), calc(100% - 72px));
    min-height: 78px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: clamp(24px, 3vw, 46px);
}

.fs-logo {
    display: inline-flex;
    align-items: center;
    min-width: 250px;
    color: var(--fs-zielen);
}

.fs-logo__tekst {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    font-family: var(--fs-font-glowny);
    font-size: clamp(21px, 1.55vw, 28px);
    line-height: 1;
    letter-spacing: -0.025em;
    font-weight: 600;
    white-space: nowrap;
}

.fs-logo__obraz {
    display: block;
    width: auto;
    max-width: 230px;
    max-height: 48px;
    object-fit: contain;
}

.fs-menu {
    justify-self: center;
}

.fs-menu__lista {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 2.65vw, 48px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.fs-menu__lista li {
    margin: 0;
    padding: 0;
}

.fs-menu__link,
.fs-menu__lista a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 78px;
    color: rgba(38, 58, 53, 0.90);
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.012em;
    white-space: nowrap;
    transition: color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.fs-menu__link:hover,
.fs-menu__lista a:hover,
.fs-menu__link:focus-visible,
.fs-menu__lista a:focus-visible,
.fs-menu__link.is-aktywny,
.fs-menu__lista .current-menu-item > a,
.fs-menu__lista .current_page_item > a {
    color: var(--fs-zielen);
    outline: none;
}

.fs-menu__link:hover,
.fs-menu__lista a:hover {
    transform: translateY(-1px);
}

.fs-menu__link::after,
.fs-menu__lista a::after {
    display: none;
}

.fs-naglowek__cta,
.fs-menu__cta-mobile {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 226px;
    min-height: 46px;
    padding: 0 42px;
    border: 1px solid rgba(38, 58, 53, 0.12);
    border-radius: 13px;
    background: linear-gradient(135deg, var(--fs-zielen) 0%, #1f342f 100%);
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    box-shadow:
        0 16px 34px rgba(38, 58, 53, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    overflow: hidden;
    transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.fs-naglowek__cta::before,
.fs-menu__cta-mobile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.16) 42%, rgba(143, 175, 155, 0.24) 100%);
    transform: translateX(-108%);
    transition: transform 360ms ease;
}

.fs-naglowek__cta:hover,
.fs-naglowek__cta:focus-visible,
.fs-menu__cta-mobile:hover,
.fs-menu__cta-mobile:focus-visible {
    background: linear-gradient(135deg, var(--fs-zielen-ciemny) 0%, #16231f 100%);
    border-color: rgba(143, 175, 155, 0.34);
    transform: translateY(-2px);
    box-shadow:
        0 20px 42px rgba(38, 58, 53, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
    outline: none;
}

.fs-naglowek__cta:hover::before,
.fs-naglowek__cta:focus-visible::before,
.fs-menu__cta-mobile:hover::before,
.fs-menu__cta-mobile:focus-visible::before {
    transform: translateX(0);
}

.fs-menu__cta-mobile {
    display: none;
}

.fs-menu-przycisk {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(38, 58, 53, 0.13);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--fs-zielen);
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 10px 24px rgba(38, 58, 53, 0.08);
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.fs-menu-przycisk:hover,
.fs-menu-przycisk:focus-visible {
    background: #ffffff;
    border-color: rgba(38, 58, 53, 0.22);
    box-shadow: 0 13px 28px rgba(38, 58, 53, 0.12);
    transform: translateY(-1px);
    outline: none;
}

.fs-menu-przycisk span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 220ms ease, opacity 180ms ease, width 180ms ease;
}

.fs-menu-przycisk span:nth-child(2) {
    width: 16px;
}

.fs-menu-przycisk.is-otwarte span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.fs-menu-przycisk.is-otwarte span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.fs-menu-przycisk.is-otwarte span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.fs-tresc {
    min-height: 60vh;
}

@media (max-width: 1320px) {
    .fs-naglowek__srodek {
        width: min(100% - 48px, var(--fs-szerokosc));
        column-gap: 24px;
    }

    .fs-logo {
        min-width: 210px;
    }

    .fs-logo__tekst {
        font-size: 24px;
    }

    .fs-logo__obraz {
        max-width: 205px;
        max-height: 44px;
    }

    .fs-menu__lista {
        gap: 24px;
    }

    .fs-menu__link,
    .fs-menu__lista a,
    .fs-naglowek__cta {
        font-size: 14px;
    }

    .fs-naglowek__cta {
        min-width: 206px;
        min-height: 44px;
        padding: 0 34px;
    }
}

@media (max-width: 1080px) {
    .fs-naglowek {
        min-height: 72px;
    }

    .fs-naglowek__srodek {
        position: relative;
        min-height: 72px;
        grid-template-columns: auto auto;
        justify-content: space-between;
        column-gap: 18px;
    }

    .fs-logo {
        min-width: 0;
    }

    .fs-logo__tekst {
        font-size: 20px;
    }

    .fs-logo__obraz {
        max-width: 180px;
        max-height: 40px;
    }

    .fs-menu-przycisk {
        display: inline-flex;
        justify-self: end;
        margin-left: auto;
    }

    .fs-naglowek__cta {
        display: none;
    }

    .fs-menu {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        justify-self: auto;
        display: block;
        max-height: 0;
        padding: 0 16px;
        border: 1px solid rgba(38, 58, 53, 0.10);
        border-radius: 20px;
        background: var(--fs-tlo-menu);
        box-shadow: var(--fs-cien);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px) scale(0.985);
        transform-origin: top center;
        transition:
            max-height 340ms cubic-bezier(.2,.8,.2,1),
            padding 340ms cubic-bezier(.2,.8,.2,1),
            opacity 220ms ease,
            transform 260ms ease,
            visibility 0s linear 340ms;
    }

    .fs-menu.is-otwarte {
        max-height: 620px;
        padding: 14px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        transition:
            max-height 360ms cubic-bezier(.2,.8,.2,1),
            padding 360ms cubic-bezier(.2,.8,.2,1),
            opacity 220ms ease,
            transform 260ms ease,
            visibility 0s linear 0s;
    }

    .fs-menu__lista {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2px;
        align-items: stretch;
        justify-content: stretch;
        margin: 0;
        padding: 0;
    }

    .fs-menu__link,
    .fs-menu__lista a {
        width: 100%;
        min-height: 46px;
        padding: 0 12px;
        border-radius: 12px;
        color: rgba(38, 58, 53, 0.88);
        font-size: 14px;
        font-weight: 500;
        transform: none;
        transition: background 180ms ease, color 180ms ease, padding-left 180ms ease;
    }

    .fs-menu__link:hover,
    .fs-menu__lista a:hover,
    .fs-menu__link:focus-visible,
    .fs-menu__lista a:focus-visible,
    .fs-menu__link.is-aktywny,
    .fs-menu__lista .current-menu-item > a,
    .fs-menu__lista .current_page_item > a {
        background: rgba(143, 175, 155, 0.15);
        color: var(--fs-zielen);
        padding-left: 16px;
        transform: none;
    }

    .fs-menu__cta-mobile {
        display: flex;
        width: 100%;
        min-height: 50px;
        margin-top: 12px;
        border-radius: 14px;
        font-size: 14px;
        padding: 0 24px;
    }
}

@media (max-width: 640px) {
    .fs-naglowek__srodek {
        width: calc(100% - 28px);
        min-height: 68px;
        column-gap: 14px;
    }

    .fs-naglowek {
        min-height: 68px;
    }

    .fs-logo__tekst {
        font-size: 20px;
        letter-spacing: -0.025em;
    }

    .fs-logo__obraz {
        max-width: 172px;
        max-height: 38px;
    }

    .fs-menu-przycisk {
        width: 43px;
        height: 43px;
        border-radius: 13px;
    }

    .fs-menu {
        top: calc(100% + 8px);
    }
}

@media (max-width: 380px) {
    .fs-logo__tekst {
        font-size: 20px;
    }

    .fs-logo__obraz {
        max-width: 148px;
    }

    .fs-menu__link,
    .fs-menu__lista a {
        font-size: 14px;
    }
}

.fs-stopka {
    width: 100%;
    background:
        radial-gradient(circle at 9% 12%, rgba(143, 175, 155, 0.16), transparent 32%),
        linear-gradient(90deg, rgba(247, 243, 236, 0.96) 0%, rgba(255, 255, 255, 0.98) 52%, rgba(247, 243, 236, 0.96) 100%);
    border-top: 1px solid var(--fs-linia);
    color: var(--fs-tekst);
    font-family: var(--fs-font-glowny);
}

.fs-stopka__srodek {
    width: min(var(--fs-szerokosc), calc(100% - 72px));
    margin: 0 auto;
}

.fs-stopka__gora {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) minmax(150px, 0.82fr) minmax(150px, 0.82fr) minmax(210px, 1fr) minmax(210px, 0.98fr);
    gap: clamp(26px, 3vw, 58px);
    padding: 46px 0 38px;
}

.fs-stopka__marka,
.fs-stopka__kolumna {
    min-width: 0;
}

.fs-stopka__kolumna {
    position: relative;
}

.fs-stopka__kolumna:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 7px;
    bottom: 9px;
    left: calc(clamp(26px, 3vw, 58px) / -2);
    width: 1px;
    background: rgba(38, 58, 53, 0.10);
}

.fs-stopka__logo {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--fs-zielen);
}

.fs-stopka__logo-tekst {
    display: inline-flex;
    align-items: center;
    font-size: clamp(24px, 2vw, 34px);
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.035em;
    color: var(--fs-zielen);
}

.fs-stopka__logo-obraz {
    display: block;
    width: auto;
    max-width: 240px;
    max-height: 58px;
    object-fit: contain;
}

.fs-stopka__opis {
    max-width: 310px;
    margin: 18px 0 24px;
    color: rgba(38, 58, 53, 0.78);
    font-size: 14px;
    line-height: 1.85;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.fs-stopka__sociale {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fs-stopka__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(145deg, var(--fs-zielen) 0%, var(--fs-zielen-ciemny) 100%);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(38, 58, 53, 0.16);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.fs-stopka__social svg {
    display: block;
    width: 18px;
    height: 18px;
}

.fs-stopka__social svg path,
.fs-stopka__social svg rect,
.fs-stopka__social svg circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fs-stopka__social--facebook svg path {
    fill: currentColor;
    stroke: none;
}

.fs-stopka__social:hover,
.fs-stopka__social:focus-visible {
    background: linear-gradient(145deg, #314942 0%, var(--fs-zielen) 100%);
    transform: translateY(-3px);
    box-shadow: 0 18px 32px rgba(38, 58, 53, 0.22);
    outline: none;
}

.fs-stopka__kolumna h2 {
    margin: 0 0 16px;
    color: var(--fs-zielen);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.fs-stopka__kolumna ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fs-stopka__kolumna li {
    margin: 0;
    padding: 0;
    color: rgba(38, 58, 53, 0.82);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.fs-stopka__kolumna a {
    color: rgba(38, 58, 53, 0.82);
    transition: color 180ms ease, transform 180ms ease;
}

.fs-stopka__kolumna a:hover,
.fs-stopka__kolumna a:focus-visible {
    color: var(--fs-zielen);
    outline: none;
}

.fs-stopka__kontakt li {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 10px;
    align-items: start;
}

.fs-stopka__ikona {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 9px;
    background: rgba(143, 175, 155, 0.18);
    color: var(--fs-zielen);
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(38, 58, 53, 0.08);
}

.fs-stopka__ikona svg {
    display: block;
    width: 15px;
    height: 15px;
}

.fs-stopka__ikona img {
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.fs-stopka__ikona svg path,
.fs-stopka__ikona svg circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fs-stopka__ikona--telefon svg path {
    fill: currentColor;
    stroke: none;
}

.fs-stopka__godziny p {
    margin: 0 0 22px;
    color: rgba(38, 58, 53, 0.82);
    font-size: 14px;
    line-height: 1.85;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.fs-stopka__godziny strong {
    font-weight: 600;
}

.fs-stopka__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 218px;
    min-height: 44px;
    padding: 0 18px 0 22px;
    border: 1px solid rgba(38, 58, 53, 0.18);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 243, 236, 0.72));
    color: var(--fs-zielen);
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: 0 10px 24px rgba(38, 58, 53, 0.07);
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.fs-stopka__cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(143, 175, 155, 0.13), rgba(234, 219, 212, 0.16));
    opacity: 0;
    transition: opacity 180ms ease;
    pointer-events: none;
}

.fs-stopka__cta span:first-child,
.fs-stopka__cta-strzalka {
    position: relative;
    z-index: 1;
}

.fs-stopka__cta-strzalka {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 999px;
    background: rgba(143, 175, 155, 0.18);
    color: var(--fs-zielen);
    box-shadow: inset 0 0 0 1px rgba(38, 58, 53, 0.08);
    transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.fs-stopka__cta-strzalka svg {
    display: block;
    width: 15px;
    height: 15px;
}

.fs-stopka__cta-strzalka svg path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fs-stopka__cta:hover,
.fs-stopka__cta:focus-visible {
    background: #ffffff;
    border-color: rgba(38, 58, 53, 0.30);
    color: var(--fs-zielen);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(38, 58, 53, 0.12);
    outline: none;
}

.fs-stopka__cta:hover::before,
.fs-stopka__cta:focus-visible::before {
    opacity: 1;
}

.fs-stopka__cta:hover .fs-stopka__cta-strzalka,
.fs-stopka__cta:focus-visible .fs-stopka__cta-strzalka {
    background: var(--fs-zielen);
    color: #ffffff;
    transform: translateX(3px);
    box-shadow: 0 10px 18px rgba(38, 58, 53, 0.18);
}

.fs-stopka__dol {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0 22px;
    border-top: 1px solid rgba(38, 58, 53, 0.10);
}

.fs-stopka__dol p {
    margin: 0;
    color: rgba(38, 58, 53, 0.70);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.fs-stopka__realizacja {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    color: rgba(38, 58, 53, 0.62);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.fs-stopka__realizacja a {
    color: var(--fs-zielen);
    font-weight: 700;
    transition: color 180ms ease, opacity 180ms ease;
}

.fs-stopka__realizacja a:hover,
.fs-stopka__realizacja a:focus-visible {
    color: var(--fs-zielen-ciemny);
    opacity: 0.82;
    outline: none;
}

@media (max-width: 1180px) {
    .fs-stopka__gora {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .fs-stopka__kolumna::before {
        display: none;
    }
}

@media (max-width: 820px) {
    .fs-stopka__srodek {
        width: calc(100% - 36px);
    }

    .fs-stopka__gora {
        grid-template-columns: 1fr 1fr;
        gap: 28px 24px;
        padding: 38px 0 30px;
    }

    .fs-stopka__marka {
        grid-column: 1 / -1;
    }

    .fs-stopka__opis {
        max-width: 100%;
    }

    .fs-stopka__dol {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .fs-stopka__realizacja {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .fs-stopka__gora {
        grid-template-columns: 1fr;
    }

    .fs-stopka__logo-tekst {
        font-size: 26px;
    }

    .fs-stopka__logo-obraz {
        max-width: 210px;
        max-height: 52px;
    }

    .fs-stopka__cta {
        width: 100%;
    }
}
