.yarko-contacts-hero {
    padding-block: clamp(24px, 4.2vw, 54px) clamp(44px, 6vw, 80px);
}

.yarko-contacts-hero .yarko-contacts-crumb {
    margin: 0 0 clamp(25px, 4.5vw, 56px);
    color: #685c72;
    font-size: 12px;
    font-weight: 700;
}

.yarko-contacts-crumb a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.yarko-contacts-crumb span {
    margin-inline: 6px;
    color: var(--purple);
}

.yarko-contacts-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(25px, 6vw, 76px);
}

.yarko-contacts-page .yarko-contacts-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    color: #64338c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.yarko-contacts-kicker::before {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 2px;
    background: var(--purple);
    content: "";
    transform: rotate(45deg);
}

.yarko-contacts-hero .yarko-contacts-title {
    display: flex;
    align-items: flex-start;
    gap: clamp(10px, 1.8vw, 22px);
    margin: 0;
    color: var(--ink);
    font-size: clamp(42px, 6.5vw, 88px);
    line-height: 1;
    letter-spacing: -.073em;
}

.yarko-contacts-title::after {
    width: clamp(25px, 3.7vw, 49px);
    aspect-ratio: 1;
    flex-shrink: 0;
    margin-top: 2px;
    background: #a8c647;
    mask: url('star.svg') center / contain no-repeat;
    content: "";
    transform: rotate(12deg);
}

.yarko-contacts-intro .yarko-contacts-lead {
    max-width: 430px;
    margin: 22px 0 26px;
    color: #5f5369;
    font-size: clamp(15px, 1.7vw, 19px);
    line-height: 1.6;
}

.yarko-contacts-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 23px;
}

.yarko-contacts-page .yarko-contacts-jump {
    margin: 0;
}

.yarko-contacts-jump a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: #64338c;
    font-size: 13px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.yarko-contacts-channel-card {
    padding: clamp(22px, 3.5vw, 42px);
    border-radius: clamp(21px, 2.7vw, 32px);
    background: radial-gradient(ellipse at right top, #624079 0, transparent 67%), var(--deep);
    color: #fff;
}

.yarko-contacts-channel-card .yarko-contacts-channel-title {
    margin: 0 0 18px;
    color: var(--lime);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.yarko-contacts-channel-card .yarko-contacts-channel {
    margin: 0;
    padding-block: 12px 8px;
    border-top: 1px solid #ffffff38;
}

.yarko-contacts-channel > span {
    display: block;
    color: #e1d2eb;
    font-size: 11px;
    font-weight: 700;
}

.yarko-contacts-channel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    color: #fff;
    font-weight: 800;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.yarko-contacts-channel a::after {
    flex-shrink: 0;
    color: var(--lime);
    font-size: 18px;
    content: "↗";
}

.yarko-contacts-phone a {
    font-size: clamp(23px, 3vw, 37px);
    letter-spacing: -.035em;
}

.yarko-contacts-email a {
    font-size: clamp(18px, 2.2vw, 26px);
}

.yarko-contacts-channel-card .yarko-contacts-social {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 12px 0 0;
}

.yarko-contacts-social a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding-inline: 13px;
    border: 1px solid #ffffff47;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.yarko-contacts-channel-card a:hover {
    color: var(--lime);
}

.yarko-contacts-channel-card a:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 3px;
}

.yarko-contacts-locations {
    padding-block: clamp(42px, 6vw, 74px);
    background: #f0eaf4;
}

.yarko-contacts-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px 24px;
    margin-bottom: 24px;
}

.yarko-contacts-section-title h2,
.yarko-contacts-online-copy h2 {
    margin: 0;
    font-size: clamp(31px, 4.1vw, 51px);
    line-height: 1.08;
    letter-spacing: -.046em;
}

.yarko-contacts-section-head .yarko-contacts-location-note {
    max-width: 275px;
    margin: 0;
    color: #5f5369;
    font-size: 13px;
}

.yarko-contacts-locations-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 1.7vw, 18px);
}

.yarko-contacts-location {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(17px, 2.3vw, 27px);
    border: 1px solid #e0d4e8;
    border-radius: 20px;
    background: #fff;
}

.yarko-contacts-location .yarko-contacts-city {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 19px;
    color: #64338c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.yarko-contacts-city::before {
    width: 33px;
    height: 33px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--lavender) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364338c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 11-8 11S4 16 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.6'/%3E%3C/svg%3E") center no-repeat;
    content: "";
}

.yarko-contacts-location:last-child .yarko-contacts-city::before {
    background-color: var(--lime);
}

.yarko-contacts-location .yarko-contacts-location-title {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: clamp(21px, 2.2vw, 27px);
    line-height: 1.17;
    letter-spacing: -.035em;
}

.yarko-contacts-location .yarko-contacts-street {
    margin: 0 0 18px;
    color: #5f5369;
    font-size: 13px;
    line-height: 1.48;
}

.yarko-contacts-location .yarko-contacts-route {
    margin: auto 0 0;
    border-top: 1px solid #eee6f2;
}

.yarko-contacts-route a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-height: 44px;
    padding-top: 4px;
    color: #64338c;
    font-size: 12px;
    font-weight: 800;
}

.yarko-contacts-route a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.yarko-contacts-online {
    padding-block: clamp(35px, 5.6vw, 64px);
}

.yarko-contacts-online-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    overflow: hidden;
    border-radius: clamp(20px, 2.7vw, 29px);
    background: #edf4d4;
}

.yarko-contacts-online-copy {
    padding: clamp(21px, 3.9vw, 46px);
}

.yarko-contacts-online-copy p:not(.yarko-contacts-kicker, .yarko-contacts-jump) {
    max-width: 400px;
    margin: 13px 0 5px;
    color: #4f5744;
}

.yarko-contacts-online-panel .yarko-contacts-online-photo {
    position: relative;
    min-height: 220px;
    margin: 0;
}

.yarko-contacts-online-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 42%;
}

@media (max-width: 1010px) {
    .yarko-contacts-locations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .yarko-contacts-hero-grid,
    .yarko-contacts-online-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .yarko-contacts-intro .yarko-contacts-lead {
        margin-block: 15px 19px;
    }

    .yarko-contacts-online-panel .yarko-contacts-online-photo {
        min-height: 180px;
    }
}

@media (max-width: 520px) {
    .yarko-contacts-locations-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .yarko-contacts-location .yarko-contacts-city {
        margin-bottom: 13px;
    }

    .yarko-contacts-location .yarko-contacts-street {
        margin-bottom: 13px;
    }
}
