/* Shared contact section — Clean map & polished glass card */
.site-contact {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
    color: #142017;
    background: transparent !important;
}

.site-contact *,
.site-contact *::before,
.site-contact *::after {
    box-sizing: border-box;
}

.site-contact__layout {
    --site-contact-edge: max(24px, calc((100% - 1440px) / 2 + 24px));
    position: relative;
    width: 100%;
    min-height: 680px;
    margin: 0;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, .06);
    border-bottom: none;
}

.site-contact__map-card {
    position: relative;
    width: 100%;
    min-height: 680px;
    height: 100%;
    overflow: hidden;
    background: #e9eee4;
}

.site-contact__map-card::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 65%, rgba(21, 39, 16, .14));
    content: "";
    pointer-events: none;
}

.site-contact #map-card {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 680px;
    filter: saturate(.92) contrast(.98);
}

.site-contact__map-label,
.site-contact__route {
    position: absolute;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 12px 30px rgba(31, 51, 24, .12), inset 0 1px 0 rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
}

.site-contact__map-label {
    top: 24px;
    left: var(--site-contact-edge);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 280px;
    padding: 10px 16px 10px 12px;
    border-radius: 16px;
}

.site-contact__map-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #2d9809;
    background: rgba(235, 249, 227, .92);
}

.site-contact__map-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.site-contact__map-label span:last-child { min-width: 0; }
.site-contact__map-label strong,
.site-contact__map-label small { display: block; }
.site-contact__map-label strong { color: #152017; font-size: 14px; font-weight: 900; }
.site-contact__map-label small { margin-top: 2px; color: #687268; font-size: 11.5px; }

.site-contact__route {
    bottom: 24px;
    left: var(--site-contact-edge);
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border-radius: 14px;
    color: #206f0c !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .2s ease, background-color .2s ease;
}

.site-contact__route:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .95);
}

/* Polished Contact Tile (Панель) */
.site-contact__panel {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: var(--site-contact-edge);
    z-index: 4;
    display: flex;
    width: min(450px, calc(100% - 40px));
    flex-direction: column;
    gap: 15px;
    padding: 24px 26px;
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: 22px;
    background: rgba(255, 255, 255, .90);
    box-shadow: 0 20px 50px rgba(24, 46, 18, .15), 0 2px 8px rgba(0, 0, 0, .04), inset 0 1px 0 rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(24px) saturate(135%);
    backdrop-filter: blur(24px) saturate(135%);
}

.site-contact__panel-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 2px;
}

.site-contact__panel-title {
    margin: 0;
    font-size: clamp(30px, 2.4vw, 36px);
    font-weight: 850;
    letter-spacing: -.025em;
    color: #142017;
    line-height: 1.12;
}

.site-contact__panel-desc {
    font-size: 13.5px;
    font-weight: 600;
    color: #697868;
    letter-spacing: .01em;
}

.site-contact__details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-contact__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(34, 85, 20, .08);
    border-radius: 15px;
    color: #162019;
    background: rgba(246, 249, 244, .75);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.site-contact__item--link {
    text-decoration: none !important;
}

.site-contact__item--link:hover {
    background: #fff;
    border-color: rgba(55, 169, 13, .3);
    transform: translateY(-1px);
}

.site-contact__item-icon {
    display: grid;
    flex: 0 0 34px;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-top: 1px;
    border-radius: 10px;
    color: #2e9909;
    background: rgba(46, 153, 9, .12);
}

.site-contact__item-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.site-contact__item-content {
    flex: 1;
    min-width: 0;
}

.site-contact__item-label {
    display: block;
    margin: 0 0 2px;
    color: #768475;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.site-contact__item-val {
    display: block;
    color: #172118;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.site-contact__phone-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-contact__phone-list a {
    display: inline-block;
    color: #172118 !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none !important;
    transition: color .2s ease;
}

.site-contact__phone-list a:hover,
.site-contact__item--link:hover .site-contact__item-val {
    color: #2e9909 !important;
}

.site-contact__footer {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding-top: 13px;
    border-top: 1px solid rgba(38, 85, 23, .09);
}

.site-contact__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.site-contact__button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 12px;
    font: inherit;
    font-size: 13.5px;
    font-weight: 800;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.site-contact__button:hover {
    transform: translateY(-2px);
}

.site-contact__button--primary {
    border: none;
    color: #fff !important;
    background: linear-gradient(135deg, #43bd17, #2b9808);
    box-shadow: 0 8px 18px rgba(43, 152, 8, .24);
}

.site-contact__button--primary:hover {
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(43, 152, 8, .32);
}

.site-contact__button--light {
    border: 1px solid rgba(48, 137, 20, .24);
    color: #24780d !important;
    background: rgba(255, 255, 255, .82);
}

.site-contact__button--light:hover {
    color: #1a6208 !important;
    background: #fff;
}

/* Social icons exactly from header */
.site-contact__social-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.site-contact__social-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-contact__social-label {
    color: #697868;
    font-size: 11.5px;
    font-weight: 700;
}

.site-contact__header-social {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.site-contact__header-social .social-link.social-icon-link {
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .12) !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
}

.site-contact__header-social .social-link.social-icon-link:hover {
    transform: translateY(-2px) scale(1.08) !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .2) !important;
}

.site-contact__header-social .social-icon-img {
    width: 18px !important;
    height: 18px !important;
    object-fit: contain !important;
}

.site-contact__header-social .whatsapp-link svg {
    width: 17px !important;
    height: 17px !important;
    display: block !important;
    fill: #fff !important;
}

.site-contact__schedule {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #697868;
    font-size: 11px;
    font-weight: 700;
}

.site-contact__schedule span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #45b819;
    box-shadow: 0 0 0 3px rgba(69, 184, 25, .15);
    flex: 0 0 7px;
}

.site-contact a:focus-visible,
.site-contact button:focus-visible {
    outline: 3px solid rgba(62, 180, 20, .38);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .site-contact__layout {
        --site-contact-edge: 20px;
        min-height: 0;
    }
    .site-contact__map-card,
    .site-contact #map-card {
        min-height: 480px;
    }
    .site-contact__panel {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        transform: none;
        width: auto;
        margin: -30px 16px 16px;
        box-shadow: 0 14px 36px rgba(24, 46, 18, .12);
    }
    .site-contact__map-label {
        top: 16px;
        left: 16px;
    }
    .site-contact__route {
        bottom: 44px;
        left: 16px;
    }
}

@media (max-width: 600px) {
    .site-contact__map-card,
    .site-contact #map-card {
        min-height: 400px;
    }
    .site-contact__panel {
        margin: -24px 10px 10px;
        padding: 18px 16px;
        border-radius: 18px;
    }
    .site-contact__panel-title {
        font-size: 27px;
    }
    .site-contact__actions {
        grid-template-columns: 1fr;
    }
    .site-contact__social-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .site-contact__map-label {
        right: 16px;
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-contact__button,
    .site-contact__route,
    .site-contact__item {
        transition: none;
    }
}
