.contacts-heading {
    padding-bottom: 24px;
}

.contacts-main {
    padding-bottom: 20px;
}

.contacts-main__card {
    position: relative;
    display: grid;
    grid-template-columns: 44% 29% 27%;
    min-height: 520px;
    overflow: hidden;
    padding: 35px 45px;
    border-radius: 24px;
    background: linear-gradient(135deg, #f2f8fc, #f3f1fb);
}

.contacts-main__details {
    position: relative;
    z-index: 2;
}

.contacts-main__details h2 {
    margin-bottom: 8px;
}

.contacts-main__details > p {
    max-width: 430px;
}

.contact-list {
    display: grid;
    gap: 11px;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
}

.contact-list li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: center;
}

.contact-list small,
.contact-list a {
    display: block;
}

.contact-list small {
    font-size: 0.78rem;
    font-weight: 700;
}

.contact-list a {
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
}

.contact-badge {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
}

.contact-badge .ui-icon {
    width: 23px;
    height: 23px;
    stroke-width: 1.8;
}

.contact-badge .brand-icon {
    width: 22px;
    height: 22px;
}

.contact-badge .brand-icon--telegram {
    width: 20px;
    height: 20px;
}

.contact-badge .brand-icon--viber {
    width: 24px;
    height: 24px;
}

.contact-badge--phone { background: var(--teal); }
.contact-badge--email { background: #7452b4; }
.contact-badge--telegram { background: #0088cc; }
.contact-badge--viber { background: rgb(115, 96, 242); }
.contact-badge--whatsapp { background: #2cb742; }

.contacts-main__meta {
    position: relative;
    z-index: 2;
    padding-top: 105px;
}

.contact-meta-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
    padding: 18px;
    border-radius: 16px;
    box-shadow: 0 5px 14px rgba(31, 37, 51, 0.07);
}

.contact-meta-card > span {
    color: var(--olive);
    font-size: 2.8rem;
}

.contact-meta-card p {
    margin: 0;
}

.contact-meta-card--hours {
    background: #fff8df;
}

.contact-meta-card--address {
    background: #eaf8f8;
}

.contact-meta-card--address > span {
    color: #1f68bb;
}

.contacts-main__note {
    margin: 28px 0 0;
    font-size: 0.9rem;
}

.contacts-main__note span {
    margin-right: 10px;
    color: var(--orange);
    font-size: 1.8rem;
}

.contacts-main__plant {
    position: absolute;
    right: 32px;
    bottom: 35px;
    width: 235px;
}

.location-section {
    padding-bottom: 20px;
}

.location-grid {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 18px;
}

.location-card {
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, #f3f8fc, #f4f2fb);
}

.location-card h2 {
    margin-bottom: 16px;
    font-size: 1.55rem;
}

.location-card h2 span {
    margin-right: 8px;
    color: var(--olive);
}

.location-card:last-child h2 span {
    color: #7954bb;
}

.location-card__pin {
    display: inline-grid;
    width: 26px;
    height: 26px;
    place-items: center;
    vertical-align: -6px;
}

.location-card__pin svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.location-card img {
    width: 100%;
    height: 315px;
    border-radius: 16px;
    object-fit: cover;
}

.location-card p {
    margin: 12px 0 0;
    font-size: 0.9rem;
}

.indi-map {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 315px;
    overflow: hidden;
    border: 1px solid rgba(121, 84, 187, 0.12);
    border-radius: 16px;
    background: #eaf3f7;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.indi-map__loading {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--muted);
    background: linear-gradient(135deg, #eef7f9, #f4f1fb);
    font-size: 0.88rem;
}

.indi-map.is-ready .indi-map__loading {
    display: none;
}

.indi-map .leaflet-control-zoom {
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 5px 16px rgba(31, 37, 51, 0.14);
}

.indi-map .leaflet-control-zoom a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    color: var(--teal-dark);
    background: rgba(255, 255, 255, 0.96);
    font-family: Manrope, Arial, sans-serif;
    font-size: 1.2rem;
    line-height: 1;
}

.indi-map .leaflet-control-zoom a:hover {
    color: #fff;
    background: var(--teal);
}

.indi-map .leaflet-control-attribution {
    padding: 2px 6px;
    border-radius: 7px 0 0;
    color: #53616f;
    background: rgba(255, 255, 255, 0.82);
    font-size: 9px;
    backdrop-filter: blur(4px);
}

.indi-map .leaflet-control-attribution a {
    color: var(--teal-dark);
}

.indi-map__marker {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 4px solid #fff;
    border-radius: 50% 50% 50% 12px;
    color: #fff;
    background: linear-gradient(135deg, #14aaac, #087f84);
    box-shadow: 0 8px 18px rgba(8, 127, 132, 0.32);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    transform: rotate(-45deg);
}

.indi-map__marker span {
    transform: rotate(45deg);
}

.indi-map__marker::after {
    position: absolute;
    z-index: -1;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(17, 153, 158, 0.2);
    content: "";
    animation: indi-map-pulse 2.2s ease-out infinite;
}

.indi-map .leaflet-popup-content-wrapper {
    overflow: hidden;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(31, 37, 51, 0.18);
}

.indi-map .leaflet-popup-content {
    width: 225px !important;
    margin: 0;
}

.indi-map__popup {
    padding: 18px;
    font-family: Manrope, Arial, sans-serif;
}

.indi-map__popup strong {
    display: block;
    margin-bottom: 5px;
    color: var(--ink);
    font-size: 1rem;
}

.indi-map__popup p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.indi-map__route {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 7px 13px;
    border-radius: 8px;
    color: #fff !important;
    background: var(--teal);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
}

.indi-map__fallback a {
    color: var(--teal-dark);
    font-weight: 700;
}

@keyframes indi-map-pulse {
    from {
        opacity: 0.75;
        transform: scale(0.65);
    }

    to {
        opacity: 0;
        transform: scale(1.35);
    }
}

@media (prefers-reduced-motion: reduce) {
    .indi-map__marker::after {
        animation: none;
    }
}

.contacts-cta {
    padding-bottom: 20px;
}

.contacts-cta__card {
    display: grid;
    grid-template-columns: 55% 45%;
    align-items: center;
    min-height: 210px;
    overflow: hidden;
    padding: 30px 55px;
    border-radius: 22px;
    background: linear-gradient(135deg, #f1f8fb, #f3effb);
}

.contacts-cta__card p {
    max-width: 560px;
}

.contacts-cta__card img {
    width: 100%;
    max-height: 190px;
    object-fit: contain;
}
