/*
 * Contacts page refinements 2026.
 * Scope: /kontakty/ only. Loaded after contacts-modern.css.
 */

/* Keep the approved hero composition, but show the person's face fully. */
.kyc-contacts-hero {
    background-position: center 12%;
}

/* The hero now contains one primary action only. */
.kyc-contacts-hero__actions {
    gap: 0;
}

/* Compact QR card with a larger readable code and less empty white space. */
.kyc-contacts-hero__qr {
    width: 188px;
    padding: 14px 14px 13px;
}

.kyc-contacts-hero__qr strong {
    margin-bottom: 10px;
    text-align: left;
}

.kyc-contacts-hero__qr img {
    width: 150px;
    height: 150px;
    max-width: 100%;
    margin: 0 auto;
}

/* High-visibility appointment notice between quick contacts and the address/map section. */
.kyc-contact-appointment {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-top: 18px;
    border: 1px solid #f0aaa5;
    border-left: 5px solid #e52e2e;
    border-radius: 10px;
    padding: 16px 20px;
    color: #5f2d2a;
    background: linear-gradient(90deg, #fff0ef 0%, #fff7f3 58%, #fffdf9 100%);
    box-shadow: 0 9px 26px rgba(211, 45, 45, .13);
}

.kyc-contact-appointment__icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border: 1px solid #ffd0cb;
    border-radius: 50%;
    color: #d92d2d;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(211, 45, 45, .13);
}

.kyc-contact-appointment__icon svg {
    width: 23px;
    height: 23px;
}

.kyc-contact-appointment > div {
    min-width: 0;
}

.kyc-contact-appointment strong {
    display: block;
    margin-bottom: 4px;
    color: #b51f1f;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.32;
}

.kyc-contact-appointment > div > span {
    display: block;
    color: #6f514d;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.45;
}


@media (max-width: 1250px) {
    .kyc-contacts-hero {
        background-position: center 10%;
    }

    .kyc-contacts-hero__qr {
        right: 26px;
        width: 176px;
        padding: 12px;
    }

    .kyc-contacts-hero__qr img {
        width: 142px;
        height: 142px;
    }
}

@media (max-width: 1050px) {
    .kyc-contacts-hero {
        background-position: 58% 8%;
    }

    .kyc-contacts-hero__qr {
        width: 164px;
        padding: 11px;
    }

    .kyc-contacts-hero__qr img {
        width: 132px;
        height: 132px;
    }

    .kyc-contact-appointment {
        margin-top: 14px;
        padding: 15px 18px;
    }
}

@media (max-width: 767px) {
    .kyc-contacts-hero {
        background-position: 64% 10%;
    }

    .kyc-contacts-hero__qr {
        grid-template-columns: minmax(0, 1fr) 118px;
        gap: 12px;
        width: 100%;
        padding: 12px 12px 12px 14px;
    }

    .kyc-contacts-hero__qr strong {
        margin: 0;
    }

    .kyc-contacts-hero__qr img {
        width: 112px;
        height: 112px;
        justify-self: end;
    }

    .kyc-contact-appointment {
        align-items: flex-start;
        gap: 12px;
        margin-top: 12px;
        border-left-width: 4px;
        padding: 14px 13px;
    }

    .kyc-contact-appointment__icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .kyc-contact-appointment__icon svg {
        width: 20px;
        height: 20px;
    }

    .kyc-contact-appointment strong {
        font-size: 14px;
    }

    .kyc-contact-appointment > div > span {
        font-size: 11.5px;
    }
}

@media (max-width: 480px) {
    .kyc-contacts-hero__qr {
        grid-template-columns: minmax(0, 1fr) 106px;
    }

    .kyc-contacts-hero__qr img {
        width: 100px;
        height: 100px;
    }

    .kyc-contact-appointment {
        padding: 12px;
    }
}
