.contacts-page {
    background: #ececed;
    color: #0f344a;
    padding: 0 0 40px;
}

.contacts-page__container {
    width: min(1720px, calc(100% - 24px));
    margin: 0 auto;
}

.contacts-page__hero {
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
    url('/images/backgrounds/contacts-hero.png') center/cover no-repeat;
    margin-top: -150px;
    background-position: center 25%;
    background-size: 150%;
}

.contacts-page__hero h1 {
    margin: 0;
    text-align: center;
    color: #0d344c;
    font: 400 clamp(54px, 8vw, 92px)/1 'CormorantGaramond', Arial, sans-serif;
    margin-top: 110px;
}

.home-section-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

#contacts-channels.home-eligibility {
    background: #052e41;
    border-radius: 20px;
    padding: 68px 0 54px;
}

#contacts-channels .home-section-title {
    margin: 0 0 76px;
    color: #f0edf4;
    font: 400 72px/1.02 'CormorantGaramond', Arial, sans-serif;
    text-align: center;
}

#contacts-channels .home-eligibility__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

#contacts-channels .home-eligibility__card {
    border: 0;
    border-radius: 18px;
    background: #f5f4f1;
    min-height: 282px;
    padding: 44px 34px 34px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contacts-channels .home-eligibility__icon {
    width: 46px;
    height: 46px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    margin-bottom: 34px;
    background-size: cover;
}

#contacts-channels .home-eligibility__icon--pension {
    background-image: url('/images/icons/eligibility-pension.png');
}

#contacts-channels .home-eligibility__icon--jobless {
    background-image: url('/images/icons/eligibility-unemployed.png');
}

#contacts-channels .home-eligibility__icon--workers {
    background-image: url('/images/icons/eligibility-workers.png');
}

#contacts-channels .home-eligibility__icon--self {
    background-image: url('/images/icons/eligibility-self-employed.png');
}

#contacts-channels .home-eligibility__card h3 {
    margin: 0 0 26px;
    color: #13374d;
    font: 700 22px 'TildaSans', Arial, sans-serif;
}

#contacts-channels .home-eligibility__card p {
    margin: 0;
    color: #1b3b4f;
    font: 400 18px 'TildaSans', Arial, sans-serif;
}

#contacts-channels .home-eligibility__card a {
    color: inherit;
    text-decoration: none;
}

#contacts-channels .home-eligibility__card a:hover {
    text-decoration: underline;
}

.contacts-map-section {
    margin-top: 26px;
}

.contacts-map-section__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 16px;
}

.contacts-map-section__head h2 {
    margin: 0;
    color: #1e3464;
    font: 400 clamp(52px, 6.2vw, 80px)/0.95 'CormorantGaramond', Arial, sans-serif;
    text-align: right;
    max-width: 555px;
}

.contacts-map-section__badge {
    border-radius: 16px;
    background: #072f4a;
    color: #f0f4f7;
    padding: 18px 24px;
    font: 500 clamp(26px, 1.8vw, 42px)/1.32 'TildaSans', Arial, sans-serif;
    white-space: nowrap;
}

.contacts-map-section__canvas {
    position: relative;
    border-top: 10px solid #d9d9d9;
    border-bottom: 10px solid #072f4a;
}

.contacts-map-section__canvas iframe {
    display: block;
}

.contacts-map-card {
    position: absolute;
    left: 6%;
    top: 22%;
    width: min(430px, calc(100% - 24px));
    border-radius: 18px;
    background: #ededee;
    padding: 42px 44px;
    color: #153e56;
}

.contacts-map-card h3 {
    margin: 0 0 28px;
    color: #1e3464;
    font: 600 clamp(36px, 2.1vw, 48px)/1.1 'TildaSans', Arial, sans-serif;
}

.contacts-map-card p {
    margin: 0 0 12px;
    font: 400 clamp(24px, 1.35vw, 32px)/1.32 'TildaSans', Arial, sans-serif;
}

.contacts-map-card a {
    color: inherit;
    text-decoration: none;
}

.contacts-map-card a:hover {
    text-decoration: underline;
}

.contacts-map-card__socials {
    margin-top: 30px !important;
    display: flex;
    gap: 18px;
    font-weight: 600 !important;
}

.contacts-feedback {
    margin-top: 26px;
}

.contacts-feedback__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.contacts-feedback__media {
    height: 100%;
    min-height: 320px;
    border-radius: 14px;
    background: #d8d5ce url('/images/optimized/home-cta-686.jpg') center / cover no-repeat;
}

.contacts-feedback__content h2 {
    margin: 0 0 8px;
    color: #13374d;
    font: 700 clamp(32px, 2.1vw, 44px)/1.12 'TildaSans', Arial, sans-serif;
}

.contacts-feedback__content p {
    margin: 0 0 14px;
    color: #1b3b4f;
    font: 400 clamp(18px, 1.1vw, 22px)/1.4 'TildaSans', Arial, sans-serif;
}

.contacts-feedback .home-form {
    display: grid;
    gap: 10px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.contacts-feedback .home-form__input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid #ccd5db;
    border-radius: 10px;
    min-height: 48px;
    padding: 0 14px;
    color: #13374d;
    font: 400 16px/1.2 'TildaSans', Arial, sans-serif;
    background: #ffffff;
}

.contacts-feedback .home-form__consents {
    margin: 0;
    padding: 0;
    border: 0;
    display: grid;
    gap: 8px;
}

.contacts-feedback .home-form__check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #4e5f6b;
    font: 400 14px/1.35 'TildaSans', Arial, sans-serif;
}

.contacts-feedback .home-form__check input {
    margin-top: 2px;
}

.contacts-feedback .home-form__check a {
    color: #f08f76;
    text-decoration: none;
}

.contacts-feedback .home-form__submit {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 0;
    min-height: 52px;
    border-radius: 10px;
    background: #052e41;
    color: #ffffff;
    font: 700 18px/1.1 'TildaSans', Arial, sans-serif;
    cursor: pointer;
}

@media (max-width: 1400px) {
    #contacts-channels .home-eligibility__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #contacts-channels .home-eligibility__card {
        min-height: 340px;
    }

    .contacts-map-card {
        top: 1%;
        left: 1%;
        width: min(410px, calc(100% - 24px));
        padding: 28px 30px;
    }

    .contacts-feedback__wrap {
        grid-template-columns: 1fr;
    }

    .contacts-feedback__media {
        height: auto;
        min-height: 260px;
    }
}

@media (max-width: 1200px) {
    .contacts-page__hero {
        margin-top: -90px;
    }

    .contacts-page__hero h1 {
        margin-top: 70px;
    }
}

@media (max-width: 900px) {
    .contacts-page__hero {
        min-height: 220px;
        margin-top: 0;
    }

    .contacts-page__hero h1 {
        margin-top: 0;
        font-size: clamp(40px, 12vw, 54px);
    }

    #contacts-channels.home-eligibility {
        border-radius: 14px;
        padding: 24px 0 26px;
    }

    #contacts-channels .home-section-title {
        margin: 0 0 24px;
        margin-bottom: 24px;
        font-size: clamp(34px, 10.5vw, 46px);
        line-height: 1.08;
    }

    #contacts-channels .home-eligibility__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #contacts-channels .home-eligibility__card {
        border-radius: 12px;
        min-height: 0;
        padding: 22px 16px;
    }

    #contacts-channels .home-eligibility__icon {
        width: 36px;
        height: 36px;
        margin-bottom: 20px;
    }

    #contacts-channels .home-eligibility__card h3 {
        margin-bottom: 14px;
    }

    .contacts-map-section__head {
        flex-direction: column;
        gap: 14px;
    }

    .contacts-map-section__head h2 {
        max-width: none;
        text-align: center;
        font-size: clamp(38px, 11vw, 52px);
        line-height: 1.04;
    }

    .contacts-map-section__badge {
        border-radius: 12px;
        padding: 12px 16px;
        white-space: normal;
        text-align: center;
    }

    .contacts-map-section__canvas {
        border-top-width: 6px;
        border-bottom-width: 6px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .contacts-map-section__canvas iframe {
        order: 2;
        height: 420px;
        border-radius: 12px;
    }

    .contacts-map-card {
        order: 1;
        position: static;
        left: auto;
        right: auto;
        top: auto;
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        margin: 0;
        padding: 16px;
        border-radius: 12px;
    }

    .contacts-map-card h3 {
        margin-bottom: 12px;
        font-size: clamp(28px, 7.8vw, 34px);
    }

    .contacts-map-card p {
        margin-bottom: 8px;
        font-size: clamp(18px, 5.6vw, 24px);
    }

    .contacts-map-card__socials {
        margin-top: 14px !important;
    }

    .contacts-feedback__content h2 {
        font-size: clamp(30px, 8.5vw, 40px);
    }

    .contacts-feedback__content p {
        font-size: clamp(16px, 4.8vw, 20px);
    }

    .contacts-feedback .home-form__check {
        font-size: 13px;
    }

    .contacts-feedback .home-form__submit {
        min-height: 48px;
        font-size: 16px;
    }
}
@media screen and (max-width: 479px) {
    .contacts-page__hero {
        background-size: 215%;
        background-position: center -100px;
    }
}
