/* =========================================================
   KONTAKT – HERO
========================================================= */

.contact-hero {
    position: relative;

    width: 100%;

    color: #fff;

    background-color: #080a0c;

    background-image:
        linear-gradient(
            90deg,
            rgba(5,7,9,.91) 0%,
            rgba(5,7,9,.70) 34%,
            rgba(5,7,9,.15) 63%,
            rgba(5,7,9,.08) 100%
        ),
        url("../images/hero-suchy-lad.webp");

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;

    overflow: hidden;
}


.contact-hero__inner {
    min-height: 400px;

    display: flex;
    align-items: center;

    padding-top: 42px;
    padding-bottom: 42px;
}


.contact-hero__content {
    max-width: 600px;
}


/* EYEBROW */

.contact-hero__eyebrow {
    margin-bottom: 17px;

    color: rgba(255,255,255,.91);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: .14em;
}


/* TITLE */

.contact-hero__title {
    margin: 0;

    color: #fff;

    font-size: clamp(48px, 5.2vw, 66px);
    font-weight: 800;

    line-height: .95;

    letter-spacing: -.04em;
}


.contact-hero__title span {
    display: block;

    margin-top: 6px;

    color: #c69a61;
}


/* TEXT */

.contact-hero__lead {
    max-width: 540px;

    margin: 17px 0 22px;

    color: rgba(255,255,255,.92);

    font-size: 16px;
    line-height: 1.55;
}


/* BUTTONS */

.contact-hero__buttons {
    display: flex;
    align-items: center;

    gap: 18px;
}


.contact-hero__secondary {
    min-height: 43px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 10px 23px;

    border: 1px solid rgba(255,255,255,.72);
    border-radius: 2px;

    color: #fff;

    background: rgba(0,0,0,.14);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .035em;

    text-decoration: none;

    transition:
        color .2s ease,
        background .2s ease;
}


.contact-hero__secondary:hover {
    color: #111;
    background: #fff;
}


.contact-hero__secondary i {
    font-size: 13px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .contact-hero {
        background-position: 60% center;
    }

    .contact-hero__inner {
        min-height: 360px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .contact-hero {
        background-position: 65% center;
    }

    .contact-hero__inner {
        min-height: 390px;

        align-items: flex-end;

        padding-top: 55px;
        padding-bottom: 32px;
    }

    .contact-hero__title {
        font-size: 42px;
    }

    .contact-hero__lead {
        font-size: 14px;
    }

    .contact-hero__buttons {
        flex-direction: column;
        align-items: stretch;

        gap: 10px;
    }

    .contact-hero__buttons > * {
        width: 100%;
    }

}

/* =========================================================
   KONTAKT – MAIN
========================================================= */

.contact-main {
    padding: 30px 0;

    background:
        linear-gradient(
            135deg,
            #fafafa 0%,
            #ffffff 50%,
            #fafafa 100%
        );
}


.contact-main__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, .94fr);

    gap: 38px;
}


/* =========================================================
   COMMON HEADING
========================================================= */

.contact-section-heading {
    margin-bottom: 20px;
}


.contact-section-heading h2 {
    margin: 0;

    color: #171717;

    font-size: 25px;
    font-weight: 800;

    line-height: 1.2;
}


.contact-section-heading > span {
    display: block;

    width: 47px;
    height: 2px;

    margin: 9px 0 11px;

    background: #bd9157;
}


.contact-section-heading p {
    max-width: 470px;

    margin: 0;

    color: #707070;

    font-size: 12px;
    line-height: 1.5;
}



/* =========================================================
   FORM WRAPPER
========================================================= */

.contact-form {
    padding: 27px 30px 25px;

    background:
        linear-gradient(
            135deg,
            #f8f8f8,
            #ffffff
        );

    border: 1px solid #eeeeee;
}


/* =========================================================
   FORM GRID
========================================================= */

.contact-form__row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;
}


.contact-form__field {
    position: relative;

    margin-bottom: 12px;
}


.contact-form__field > i {
    position: absolute;

    z-index: 2;

    top: 50%;
    left: 14px;

    transform: translateY(-50%);

    width: 18px;

    color: #858585;

    font-size: 13px;

    text-align: center;
}


.contact-form__field input,
.contact-form__field textarea {
    display: block;

    width: 100%;

    border: 1px solid #dedede;
    border-radius: 2px;

    outline: none;

    background: #fff;

    color: #333;

    font-family: inherit;

    font-size: 12px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.contact-form__field input {
    min-height: 46px;

    padding: 10px 13px 10px 43px;
}


.contact-form__field textarea {
    min-height: 155px;

    resize: vertical;

    padding: 14px 13px 14px 43px;

    line-height: 1.5;
}


.contact-form__field--textarea > i {
    top: 17px;

    transform: none;
}


.contact-form__field input:focus,
.contact-form__field textarea:focus {
    border-color: #bd9157;

    box-shadow:
        0 0 0 3px rgba(189,145,87,.09);
}


/* =========================================================
   CONSENT
========================================================= */

.contact-form__consent {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin: 3px 0 20px;

    color: #565656;

    font-size: 10px;
    line-height: 1.5;
}


.contact-form__consent input {
    flex: 0 0 auto;

    width: 17px;
    height: 17px;

    margin-top: 1px;

    accent-color: #b98c52;
}


.contact-form__consent a {
    color: #555;

    text-decoration: underline;
}


/* =========================================================
   SUBMIT
========================================================= */

.contact-form__submit {
    width: 100%;
    min-height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    border: 1px solid #b88a4d;
    border-radius: 2px;

    color: #fff;

    background:
        linear-gradient(
            180deg,
            #cda36b 0%,
            #aa7b46 100%
        );

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .04em;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease;
}


.contact-form__submit:hover {
    transform: translateY(-1px);

    background:
        linear-gradient(
            180deg,
            #d9b279,
            #b7894f
        );
}


.contact-form__submit i {
    transition: transform .2s ease;
}


.contact-form__submit:hover i {
    transform: translateX(4px);
}


.contact-form__required {
    display: block;

    margin-top: 10px;

    color: #999;

    font-size: 9px;

    text-align: center;
}



/* =========================================================
   CONTACT INFO
========================================================= */

.contact-info {
    padding: 27px 0;
}


.contact-info__list {
    padding-bottom: 18px;

    border-bottom: 1px solid #dedede;
}


.contact-info__item {
    display: grid;

    grid-template-columns: 58px 1fr;

    gap: 17px;

    align-items: center;

    margin-bottom: 14px;

    color: #171717;

    text-decoration: none;
}


.contact-info__item:last-child {
    margin-bottom: 0;
}


.contact-info__icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 3px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #c49a62,
            #a67742
        );

    font-size: 24px;
}


.contact-info__item small {
    display: block;

    margin-bottom: 1px;

    color: #222;

    font-size: 10px;
    font-weight: 700;
}


.contact-info__item strong {
    display: block;

    color: #171717;

    font-size: 16px;
    font-weight: 800;

    line-height: 1.25;
}


.contact-info__item span {
    display: block;

    margin-top: 2px;

    color: #777;

    font-size: 10px;
}


/* =========================================================
   MAP
========================================================= */

.contact-map {
    padding-top: 17px;
}


.contact-map h3 {
    margin: 0 0 10px;

    color: #171717;

    font-size: 15px;
    font-weight: 800;
}


.contact-map__box {
    position: relative;

    min-height: 215px;

    overflow: hidden;

    border: 1px solid #e0e0e0;

    background: #eee;
}


.contact-map__box > img {
    display: block;

    width: 100%;
    height: 215px;

    object-fit: cover;
}


.contact-map__label {
    position: absolute;

    top: 18px;
    right: 24px;

    padding: 10px 13px;

    background: rgba(255,255,255,.94);

    box-shadow:
        0 5px 20px rgba(0,0,0,.08);
}


.contact-map__label strong {
    display: block;

    color: #171717;

    font-size: 11px;
}


.contact-map__label span {
    display: block;

    margin-top: 3px;

    color: #555;

    font-size: 9px;

    line-height: 1.4;
}


.contact-map__button {
    position: absolute;

    right: 14px;
    bottom: 13px;

    min-height: 37px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 8px 15px;

    border: 1px solid #b78a50;
    border-radius: 2px;

    color: #9c6f3c;

    background: rgba(255,255,255,.94);

    font-size: 9px;
    font-weight: 700;

    text-decoration: none;
}



/* =========================================================
   BENEFITS
========================================================= */

.contact-benefits {
    background: #fff;

    border-top: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
}


.contact-benefits__grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    min-height: 160px;
}


.contact-benefit {
    position: relative;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 22px 35px;

    text-align: center;
}


.contact-benefit:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 32px;
    right: 0;
    bottom: 32px;

    width: 1px;

    background: #dddddd;
}


.contact-benefit__icon {
    min-height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 5px;

    color: #111;

    font-size: 34px;
}


.contact-benefit h3 {
    margin: 0 0 7px;

    color: #171717;

    font-size: 15px;
    font-weight: 700;
}


.contact-benefit p {
    max-width: 255px;

    margin: 0;

    color: #777;

    font-size: 11px;
    line-height: 1.45;
}



/* =========================================================
   FINAL CTA
========================================================= */

.contact-final {
    width: 100%;

    background: #0b0d10;
}


.contact-final__grid {
    display: grid;

    grid-template-columns: 1.3fr .7fr;

    min-height: 225px;
}


/* =========================================================
   FINAL LEFT
========================================================= */

.contact-final__visual {
    position: relative;

    min-height: 225px;

    overflow: hidden;
}


.contact-final__visual > img {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 225px;

    object-fit: cover;

    filter: grayscale(1);
}


.contact-final__visual::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(6,8,10,.94) 0%,
            rgba(6,8,10,.70) 47%,
            rgba(6,8,10,.12) 100%
        );
}


.contact-final__overlay {
    position: absolute;

    z-index: 2;

    top: 50%;
    left: 28px;

    transform: translateY(-50%);

    max-width: 330px;
}


.contact-final__overlay h2 {
    margin: 0;

    color: #fff;

    font-size: 25px;
    font-weight: 800;

    line-height: 1.1;
}


.contact-final__overlay h2 span {
    color: #c79b61;
}


.contact-final__line {
    width: 46px;
    height: 2px;

    margin: 12px 0;

    background: #c3985e;
}


.contact-final__overlay p {
    margin: 0;

    color: rgba(255,255,255,.78);

    font-size: 11px;
    line-height: 1.45;
}


/* =========================================================
   FINAL RIGHT
========================================================= */

.contact-final__content {
    min-height: 225px;

    display: grid;

    grid-template-columns: 58px 1fr;

    gap: 17px;

    align-items: center;

    padding: 30px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #bc915d,
            #9c6e3e
        );
}


.contact-final__icon {
    align-self: start;

    display: flex;
    justify-content: center;

    padding-top: 3px;

    color: #fff;

    font-size: 40px;
}


.contact-final__content h2 {
    margin: 0 0 22px;

    color: #fff;

    font-size: 21px;
    font-weight: 700;

    line-height: 1.2;
}


.contact-final__button {
    min-height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 9px 20px;

    border: 1px solid rgba(255,255,255,.72);
    border-radius: 2px;

    color: #fff;

    background: transparent;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .04em;

    text-decoration: none;

    transition:
        color .2s ease,
        background .2s ease;
}


.contact-final__button:hover {
    color: #96683a;

    background: #fff;
}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .contact-main__grid {
        grid-template-columns: 1fr;
    }


    .contact-info {
        padding-top: 0;
    }


    .contact-benefits__grid {
        grid-template-columns: repeat(3,1fr);
    }


    .contact-final__grid {
        grid-template-columns: 1fr 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .contact-form {
        padding: 24px 18px;
    }


    .contact-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }


    .contact-section-heading h2 {
        font-size: 22px;
    }


    .contact-benefits__grid {
        grid-template-columns: 1fr;
    }


    .contact-benefit {
        min-height: 140px;
    }


    .contact-benefit::after {
        display: none !important;
    }


    .contact-benefit:not(:last-child) {
        border-bottom: 1px solid #e6e6e6;
    }


    .contact-final__grid {
        grid-template-columns: 1fr;
    }


    .contact-final__visual,
    .contact-final__visual > img {
        min-height: 250px;
    }


    .contact-final__content {
        min-height: auto;

        padding: 28px 22px;
    }

}