/*
 * K&M Invest — jeden kanoniczny komponent kontaktu i stopki.
 * Układ desktopowy odwzorowuje artboard 1920 px z Figmy i skaluje się proporcjonalnie.
 */

body.km-site-page .km-footer {
    color: #111;
    font-family: "Century Gothic", CenturyGothic, AppleGothic, Arial, sans-serif;
    line-height: 1.5;
}

body.km-site-page .km-footer a {
    color: inherit;
    text-decoration: none;
}

body.km-site-page .km-footer__line {
    display: flex;
    align-items: center;
}

body.km-site-page .km-footer__hours-title {
    margin-top: 30px !important;
    margin-bottom: 14px !important;
}

body.km-site-page .km-footer__project p {
    margin: 0 0 18px;
}

body.km-site-page .km-footer__project ul {
    margin: 0;
    padding-left: 22px;
    list-style: disc outside;
}

body.km-site-page .km-footer__project li {
    display: list-item;
}

body.km-site-page .km-sticky-switch {
    position: fixed;
    z-index: 95;
    left: 22px;
    top: 128px;
    width: 61px;
    display: grid;
    gap: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
}

body.km-site-page .km-sticky-switch span {
    padding: 0;
    background: transparent;
    color: #111;
    line-height: 1.1;
}

body.km-site-page .km-sticky-switch a {
    width: 61px;
    height: 63px;
    display: grid;
    place-items: center;
    background: transparent url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjEiIGhlaWdodD0iNjMiIHZpZXdCb3g9IjAgMCA2MSA2MyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTI4LjQ1MjEgMS4xNjE3NEMyOS42NzQ3IDAuMjc5ODgxIDMxLjMyNTMgMC4yNzk4OCAzMi41NDc5IDEuMTYxNzRMNTkuMDQ3OSAyMC4yNzZDNTkuOTU5OSAyMC45MzM5IDYwLjUgMjEuOTkwMyA2MC41IDIzLjExNDlWNTguMDY4QzYwLjUgNjAuMDAxIDU4LjkzMyA2MS41NjggNTcgNjEuNTY4SDRDMi4wNjcgNjEuNTY4IDAuNSA2MC4wMDEgMC41IDU4LjA2OFYyMy4xMTQ5QzAuNSAyMS45OTAzIDEuMDQwMTUgMjAuOTMzOSAxLjk1MjE1IDIwLjI3NkwyOC40NTIxIDEuMTYxNzRaIiBmaWxsPSIjQTM4QjRCIiBzdHJva2U9IndoaXRlIi8+Cjwvc3ZnPgo=") center / 61px 63px no-repeat;
    color: #fff;
    font-size: 24px;
    line-height: 1;
}

body.km-site-page .km-form__bottom .km-pill--form {
    border: 1.5px solid #a38b4b;
    background: transparent;
    color: #a38b4b !important;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body.km-site-page .km-form__bottom .km-pill--form > span:first-child {
    color: #a38b4b !important;
}

body.km-site-page .km-form__bottom .km-pill__circle {
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #a38b4b;
}

body.km-site-page .km-form__bottom .km-pill__arrow {
    display: block;
    object-fit: contain;
}

@media (min-width: 1101px) {
    body.km-site-page .km-contact-section {
        height: clamp(520px, 39.322917vw, 755px);
        padding: 0;
        background: #f8f5f1;
        overflow: hidden;
        scroll-margin-top: 99px;
    }

    body.km-site-page .km-contact-section > .km-shell {
        position: relative;
        width: min(87.5vw, 1680px);
        max-width: none;
        height: 100%;
        margin: 0 auto;
    }

    body.km-site-page .km-contact-section h2 {
        position: absolute;
        top: clamp(56px, 4.0625vw, 78px);
        left: 0;
        right: 0;
        margin: 0;
        transform: none;
        text-align: center;
        font-size: clamp(42px, 3.125vw, 60px);
        line-height: 1.2;
        font-weight: 400;
        letter-spacing: -.02em;
    }

    body.km-site-page .km-form {
        position: absolute;
        top: clamp(155px, 11.875vw, 228px);
        left: 50%;
        right: auto;
        width: min(70.208333vw, 1348px);
        margin: 0;
        transform: translateX(-50%);
        display: grid;
        grid-template-columns: minmax(0, 817fr) minmax(0, 823fr);
        column-gap: clamp(28px, 2.083333vw, 40px);
        row-gap: 0;
    }

    body.km-site-page .km-form__left,
    body.km-site-page .km-form__right {
        min-width: 0;
        padding: 0;
    }

    body.km-site-page .km-form__left label {
        display: grid;
        grid-template-rows: clamp(17px, 1.145833vw, 22px) 1fr;
        width: 100%;
        height: clamp(67px, 5vw, 96px);
        margin: 0 0 clamp(26px, 2.03125vw, 39px);
        font-family: "Century Gothic", CenturyGothic, AppleGothic, Arial, sans-serif;
        font-size: 18px;
        font-weight: 400;
        line-height: 1.2;
        letter-spacing: -.02em;
    }

    body.km-site-page .km-form__left label:last-child {
        margin-bottom: 0;
    }

    body.km-site-page .km-form input[type="text"],
    body.km-site-page .km-form input[type="email"],
    body.km-site-page .km-form input[type="tel"] {
        display: block;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        border-bottom: 1.5px solid #a38b4b;
        border-radius: 0;
        background: transparent;
        font: inherit;
        outline: 0;
    }

    body.km-site-page .km-form__message {
        position: relative;
        display: block;
        width: 100%;
        height: clamp(198px, 14.84375vw, 285px);
        margin: 0;
    }

    body.km-site-page .km-form__message > span {
        position: absolute;
        z-index: 2;
        top: clamp(12px, .833333vw, 16px);
        left: clamp(16px, 1.25vw, 24px);
        font-family: "Century Gothic", CenturyGothic, AppleGothic, Arial, sans-serif;
        font-size: 18px;
        font-weight: 400;
        line-height: 1.2;
        letter-spacing: -.02em;
    }

    body.km-site-page .km-form textarea {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 0;
        margin: 0;
        padding: clamp(38px, 2.604167vw, 50px) clamp(16px, 1.25vw, 24px) 18px;
        border: 1.5px solid #a38b4b;
        border-radius: clamp(16px, 1.041667vw, 20px);
        background: transparent;
        font: inherit;
        outline: 0;
        resize: none;
    }

    body.km-site-page .km-form__bottom {
        position: relative;
        display: block;
        width: 100%;
        height: clamp(64px, 4.791667vw, 92px);
        min-height: 0;
        margin: clamp(11px, .9375vw, 18px) 0 0;
    }

    body.km-site-page .km-form__bottom > input[type="checkbox"] {
        position: absolute;
        top: clamp(11px, .885417vw, 17px);
        left: 0;
        width: clamp(29px, 2.083333vw, 40px);
        height: clamp(29px, 2.083333vw, 40px);
        margin: 0;
        appearance: none;
        border: 1.5px solid #a38b4b;
        border-radius: clamp(7px, .520833vw, 10px);
        background: transparent;
    }

    body.km-site-page .km-form__bottom small {
        position: absolute;
        top: clamp(10px, .885417vw, 17px);
        left: clamp(46px, 3.385417vw, 65px);
        width: clamp(296px, 21.979167vw, 422px);
        max-width: none;
        margin: 0;
        font-size: clamp(10px, .625vw, 12px);
        line-height: 1.15;
        letter-spacing: -.02em;
    }

    body.km-site-page .km-form__bottom .km-pill--form {
        box-sizing: border-box;
        position: absolute;
        top: 0;
        right: 0;
        width: clamp(190px, 14.0625vw, 270px);
        height: 100%;
        margin: 0;
        padding: 0 clamp(6px, .416667vw, 8px) 0 clamp(23px, 1.666667vw, 32px);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0;
        overflow: hidden;
        border: 1.5px solid #a38b4b;
        border-radius: 999px;
        background: transparent;
        color: #a38b4b;
        font-size: clamp(14px, .9375vw, 18px);
        line-height: 1;
        font-weight: 700;
    }

    body.km-site-page .km-form__bottom .km-pill--form .km-pill__circle {
        position: static;
        display: grid;
        place-items: center;
        flex: 0 0 clamp(50px, 3.75vw, 72px);
        width: clamp(50px, 3.75vw, 72px);
        height: clamp(50px, 3.75vw, 72px);
        margin: 0;
        border-radius: 50%;
        background: #a38b4b;
        color: #fff;
    }

    body.km-site-page .km-form__bottom .km-pill__arrow {
        display: block;
        width: clamp(15px, 1.041667vw, 20px);
        height: clamp(15px, 1.041667vw, 20px);
        max-width: none;
        object-fit: contain;
    }



    body.km-site-page .km-footer {
        height: auto;
        min-height: clamp(330px, 24.166667vw, 464px);
        padding: 0;
        background: #f8f5f1;
    }

    body.km-site-page .km-footer .km-shell {
        width: min(84.375vw, 1620px);
        max-width: none;
    }

    body.km-site-page .km-footer__grid {
        position: relative;
        display: block;
        height: clamp(290px, 21.197917vw, 407px);
        padding: 0;
        gap: 32px;
        border-top: 1px solid #a38b4b;
    }

    body.km-site-page .km-footer__brand,
    body.km-site-page .km-footer__contact,
    body.km-site-page .km-footer__project,
    body.km-site-page .km-footer__links {
        position: absolute;
        top: clamp(36px, 2.5vw, 48px);
    }

    body.km-site-page .km-footer__brand {
        left: 0;
        width: min(16.614583vw, 319px);
    }

    body.km-site-page .km-footer__logo {
        display: block;
        width: min(16.614583vw, 319px);
        height: auto;
        object-fit: contain;
    }

    body.km-site-page .km-footer__contact {
        left: 25.308642%;
        width: 20.679012%;
    }

    body.km-site-page .km-footer__project {
        left: 50.925926%;
        width: 21.111111%;
    }

    body.km-site-page .km-footer__links {
        left: 76.419753%;
        width: 14.320988%;
    }

    body.km-site-page .km-footer h3 {
        margin: 0 0 clamp(13px, .9375vw, 18px);
        font-family: "Century Gothic", CenturyGothic, AppleGothic, Arial, sans-serif;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.12;
    }

    body.km-site-page .km-footer p,
    body.km-site-page .km-footer li {
        margin-top: 0;
        font-family: "Century Gothic", CenturyGothic, AppleGothic, Arial, sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 2;
    }

    body.km-site-page .km-footer__contact .km-footer__line {
        height: clamp(25px, 1.71875vw, 33px);
        gap: clamp(9px, .625vw, 12px);
        white-space: nowrap;
    }

    body.km-site-page .km-footer__icon,
    body.km-site-page .km-footer__icon svg,
    body.km-site-page .km-footer__icon img {
        display: block;
        width: clamp(17px, 1.145833vw, 22px);
        height: clamp(17px, 1.145833vw, 22px);
        flex-basis: clamp(17px, 1.145833vw, 22px);
        object-fit: contain;
    }

    body.km-site-page .km-footer__bottom {
        height: clamp(44px, 2.96875vw, 57px);
        padding: clamp(16px, 1.145833vw, 22px) 0 0;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        border-top: 1px solid #a38b4b;
        font-size: clamp(10px, .625vw, 12px);
        line-height: 1.25;
    }
}

@media (min-width: 1101px) and (max-width: 1600px) {
    body.km-site-page .km-form__bottom small {
        left: clamp(46px, 3.385417vw, 65px);
        right: calc(clamp(190px, 14.0625vw, 270px) + 24px);
        width: auto;
        max-width: none;
    }
}

@media (min-width: 1501px) and (max-width: 1759px) {
    body.km-site-page .km-footer {
        min-height: 0;
        height: auto;
    }

    body.km-site-page .km-footer .km-shell {
        width: min(calc(100% - 80px), 1500px);
        max-width: none;
    }

    body.km-site-page .km-footer__grid {
        position: relative;
        display: grid;
        grid-template-columns: minmax(240px, 1.05fr) minmax(270px, 1fr) minmax(300px, 1.15fr) minmax(190px, .75fr);
        gap: clamp(30px, 2.5vw, 48px);
        height: auto;
        min-height: 0;
        padding: 44px 0 52px;
        align-items: start;
    }

    body.km-site-page .km-footer__brand,
    body.km-site-page .km-footer__contact,
    body.km-site-page .km-footer__project,
    body.km-site-page .km-footer__links {
        position: relative;
        inset: auto;
        top: auto;
        left: auto;
        width: auto;
        min-width: 0;
    }

    body.km-site-page .km-footer__logo {
        width: min(100%, 319px);
    }

    body.km-site-page .km-footer__bottom {
        height: auto;
        min-height: 57px;
    }
}

@media (min-width: 1101px) and (max-width: 1500px) {
    body.km-site-page .km-footer {
        min-height: 0;
        height: auto;
    }

    body.km-site-page .km-footer .km-shell {
        width: min(calc(100% - 64px), 1260px);
        max-width: none;
    }

    body.km-site-page .km-footer__grid {
        position: relative;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: clamp(48px, 6vw, 90px);
        row-gap: 46px;
        height: auto;
        min-height: 0;
        padding: 48px 0 54px;
        align-items: start;
    }

    body.km-site-page .km-footer__brand,
    body.km-site-page .km-footer__contact,
    body.km-site-page .km-footer__project,
    body.km-site-page .km-footer__links {
        position: relative;
        inset: auto;
        top: auto;
        left: auto;
        width: auto;
        min-width: 0;
    }

    body.km-site-page .km-footer__logo {
        width: min(100%, 280px);
    }

    body.km-site-page .km-footer__contact .km-footer__line {
        white-space: normal;
    }

    body.km-site-page .km-footer__bottom {
        height: auto;
        min-height: 57px;
    }
}

@media (max-width: 1100px) {
    body.km-site-page .km-contact-section {
        height: auto;
        padding: 64px 0 58px;
        overflow: hidden;
        scroll-margin-top: 76px;
    }

    body.km-site-page .km-contact-section > .km-shell {
        width: min(calc(100% - 48px), 920px);
        height: auto;
    }

    body.km-site-page .km-contact-section h2 {
        position: relative;
        inset: auto;
        margin: 0 0 48px;
        transform: none;
        font-size: clamp(34px, 5vw, 48px);
        line-height: 1.15;
    }

    body.km-site-page .km-form {
        position: relative;
        inset: auto;
        width: 100%;
        margin: 0;
        transform: none;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    body.km-site-page .km-form__left label {
        display: grid;
        grid-template-rows: 20px 52px;
        width: 100%;
        height: 72px;
        margin: 0 0 20px;
    }

    body.km-site-page .km-form input[type="text"],
    body.km-site-page .km-form input[type="email"],
    body.km-site-page .km-form input[type="tel"] {
        width: 100%;
        height: 52px;
        padding: 0;
        border: 0;
        border-bottom: 1.5px solid #a38b4b;
        border-radius: 0;
        background: transparent;
    }

    body.km-site-page .km-form__message {
        position: relative;
        display: block;
        width: 100%;
        height: 218px;
        margin: 0;
    }

    body.km-site-page .km-form__message > span {
        position: absolute;
        z-index: 2;
        top: 14px;
        left: 18px;
    }

    body.km-site-page .km-form textarea {
        display: block;
        width: 100%;
        height: 218px;
        margin: 0;
        padding: 40px 18px 16px;
        resize: none;
    }

    body.km-site-page .km-form__bottom {
        position: relative;
        display: block;
        width: 100%;
        height: 68px;
        min-height: 0;
        margin: 12px 0 0;
    }

    body.km-site-page .km-form__bottom > input[type="checkbox"] {
        position: absolute;
        top: 10px;
        left: 0;
        width: 30px;
        height: 30px;
        margin: 0;
    }

    body.km-site-page .km-form__bottom small {
        position: absolute;
        top: 8px;
        left: 44px;
        width: calc(100% - 228px);
        max-width: none;
        font-size: 10px;
        line-height: 1.2;
    }

    body.km-site-page .km-form__bottom .km-pill--form {
        position: absolute;
        top: 0;
        right: 0;
        width: 170px;
        height: 60px;
        margin: 0;
        padding: 0 7px 0 23px;
    }

    body.km-site-page .km-form__bottom .km-pill__circle {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    body.km-site-page .km-footer,
    body.km-site-page .km-footer__grid {
        height: auto;
        min-height: 0;
    }

    body.km-site-page .km-footer__grid {
        position: relative;
        padding: 44px 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px;
    }

    body.km-site-page .km-footer__brand,
    body.km-site-page .km-footer__contact,
    body.km-site-page .km-footer__project,
    body.km-site-page .km-footer__links {
        position: relative;
        inset: auto;
        width: auto;
    }
}

@media (max-width: 820px) {
    body.km-site-page .km-sticky-switch {
        display: none;
    }
}

@media (max-width: 700px) {
    body.km-site-page .km-footer .km-shell {
        width: min(calc(100% - 30px), 720px);
    }

    body.km-site-page .km-contact-section {
        padding: 54px 0 48px;
    }

    body.km-site-page .km-contact-section > .km-shell {
        width: min(calc(100% - 30px), 600px);
    }

    body.km-site-page .km-contact-section h2 {
        margin-bottom: 38px;
        font-size: 34px;
    }

    body.km-site-page .km-form {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    body.km-site-page .km-form__bottom {
        height: auto;
        min-height: 150px;
    }

    body.km-site-page .km-form__bottom small {
        width: calc(100% - 48px);
    }

    body.km-site-page .km-form__bottom .km-pill--form {
        top: 78px;
        left: 0;
        right: auto;
    }

    body.km-site-page .km-footer__grid {
        grid-template-columns: 1fr;
    }

    body.km-site-page .km-footer__bottom {
        gap: 20px;
        flex-direction: column;
    }
}
