.contacts-page {
    --contacts-accent: var(--main-theme-color);
    --contacts-ink: #101010;
    --contacts-muted: #676069;
    --contacts-line: #eadfe6;
    --contacts-soft: #fff5fa;
    width: 100%;
    color: var(--contacts-ink);
    background: #ffffff;
}

.contacts-map-hero {
    position: relative;
    width: 100vw;
    min-height: clamp(440px, 52vw, 620px);
    margin-left: 50%;
    overflow: hidden;
    transform: translateX(-50%);
    background: var(--contacts-soft);
}

.contacts-map-hero iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contacts-map-dock {
    position: absolute;
    left: max(24px, calc((100vw - min(1220px, 90vw)) / 2));
    right: max(24px, calc((100vw - min(1220px, 90vw)) / 2));
    bottom: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
    padding: clamp(18px, 3vw, 26px);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 58px rgba(19, 14, 17, 0.18);
    backdrop-filter: blur(14px);
}

.contacts-map-dock__copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.contacts-map-dock__copy p,
.contacts-kicker {
    margin: 0;
    color: var(--contacts-accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contacts-map-dock__copy h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 72px);
    line-height: 0.92;
    font-weight: 600;
    letter-spacing: 0;
}

.contacts-map-dock__copy span {
    color: var(--contacts-muted);
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.45;
}

.contacts-map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid rgba(var(--main-theme-color-rgb), 0.26);
    border-radius: 999px;
    color: #ffffff;
    background: var(--contacts-accent);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 14px 30px rgba(var(--main-theme-color-rgb), 0.24);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.contacts-map-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(var(--main-theme-color-rgb), 0.3);
}

.contacts-methods {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: clamp(34px, 4vw, 54px) 0 64px;
    border-bottom: 1px solid var(--contacts-line);
    background:
        linear-gradient(180deg, #ffffff 0%, #fff9fc 100%);
}

.contacts-methods__inner {
    width: min(1220px, 90vw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
    gap: clamp(22px, 4vw, 54px);
    align-items: start;
}

.contacts-methods__intro {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 14px;
    padding: clamp(20px, 3vw, 30px);
    border-left: 4px solid var(--contacts-accent);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(22, 16, 20, 0.07);
}

.contacts-methods__intro h2 {
    max-width: 13ch;
    margin: 0;
    font-size: clamp(30px, 2.9vw, 44px);
    line-height: 1.02;
    font-weight: 600;
    letter-spacing: 0;
}

.contacts-methods__intro > p:not(.contacts-kicker) {
    margin: 0;
    color: var(--contacts-muted);
    font-size: 16px;
    line-height: 1.55;
}

.contacts-route-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(var(--main-theme-color-rgb), 0.28);
    border-radius: 999px;
    color: var(--contacts-accent);
    background: #fff8fc;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.contacts-route-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--main-theme-color-rgb), 0.45);
    box-shadow: 0 14px 28px rgba(var(--main-theme-color-rgb), 0.12);
}

.contacts-method-list {
    display: grid;
    gap: 10px;
}

.contacts-method {
    position: relative;
    --contact-channel-color: var(--contacts-accent);
    --contact-channel-rgb: var(--main-theme-color-rgb);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    min-height: 92px;
    padding: 16px 18px;
    border: 1px solid var(--contacts-line);
    border-radius: 8px;
    color: var(--contacts-ink);
    background: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(22, 16, 20, 0.04);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

a.contacts-method:hover {
    transform: translateX(4px);
    border-color: rgba(var(--contact-channel-rgb), 0.34);
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(22, 16, 20, 0.09);
}

.contacts-method--whatsapp {
    --contact-channel-color: #25d366;
    --contact-channel-rgb: 37, 211, 102;
}

.contacts-method--telegram {
    --contact-channel-color: #229ed9;
    --contact-channel-rgb: 34, 158, 217;
}

.contacts-method--instagram {
    --contact-channel-color: #e4405f;
    --contact-channel-rgb: 228, 64, 95;
}

.contacts-method--facebook {
    --contact-channel-color: #1877f2;
    --contact-channel-rgb: 24, 119, 242;
}

.contacts-method--phone {
    --contact-channel-color: #111111;
    --contact-channel-rgb: 17, 17, 17;
}

.contacts-method__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--contact-channel-color);
    box-shadow: 0 10px 20px rgba(var(--contact-channel-rgb), 0.22);
}

.contacts-method__icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.contacts-method__body {
    display: grid;
    grid-template-columns: minmax(120px, 0.35fr) minmax(0, 0.65fr);
    gap: 4px 18px;
    align-items: center;
    min-width: 0;
}

.contacts-method__label {
    color: var(--contact-channel-color);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contacts-method strong {
    color: var(--contacts-ink);
    font-size: clamp(18px, 1.45vw, 24px);
    line-height: 1.12;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.contacts-method__note {
    grid-column: 2;
    color: var(--contacts-muted);
    font-size: 14px;
    line-height: 1.45;
}

.contacts-method__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--contact-channel-color);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .contacts-methods__inner {
        grid-template-columns: 1fr;
    }

    .contacts-methods__intro {
        position: static;
    }

    .contacts-methods__intro h2 {
        max-width: none;
    }
}

@media (max-width: 780px) {
    .contacts-map-hero {
        min-height: 620px;
    }

    .contacts-map-dock {
        left: 14px;
        right: 14px;
        bottom: 14px;
        grid-template-columns: 1fr;
        align-items: start;
        padding: 18px;
    }

    .contacts-map-link {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    .contacts-methods {
        padding: 28px 0 46px;
    }

    .contacts-methods__inner {
        width: calc(100vw - 28px);
        gap: 14px;
    }

    .contacts-methods__intro {
        padding: 18px;
    }

    .contacts-method {
        grid-template-columns: auto minmax(0, 1fr);
        min-height: 112px;
        padding: 14px;
    }

    .contacts-method__body {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .contacts-method__note {
        grid-column: auto;
    }

    .contacts-method__action {
        grid-column: 2;
        justify-self: start;
    }
}
