.contacts-map-section {
padding: 60px 0;
background: #0D6937;
}
.ukraine-map-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.ukraine-map-wrapper {
background: transparent;
border-radius: 0;
padding: 20px;
box-shadow: none;
position: relative;
}
.region-map {
width: 100%;
max-width: 900px;
margin: 0 auto;
}
.region-map svg {
width: 100%;
height: auto;
display: block;
}
.region-map__region {
cursor: pointer;
transition: all 0.3s ease;
}
.region-map__fill {
fill: #86C041;
stroke: #ffffff;
stroke-width: 2px;
transition: all 0.3s ease;
}
.region-map__region:hover .region-map__fill {
opacity: 0.9;
stroke: #333;
stroke-width: 3px;
} .map-tooltip {
position: absolute;
background: #ffffff;
border-radius: 8px;
padding: 16px 20px;
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
pointer-events: none;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
z-index: 9999;
min-width: 250px;
}
.map-tooltip.active {
opacity: 1;
visibility: visible;
}
.map-tooltip .tooltip-content h4 {
font-size: 18px;
font-weight: 600;
color: #333;
margin: 0 0 8px 0;
}
.map-tooltip .division-name {
font-size: 14px;
color: #666;
margin: 0 0 12px 0;
font-weight: 500;
}
.map-tooltip .phone-link {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
background: linear-gradient(135deg, #86C041 0%, #6fa535 100%);
color: #ffffff;
text-decoration: none;
border-radius: 6px;
font-size: 16px;
font-weight: 600;
transition: all 0.3s ease;
}
.map-tooltip .phone-link:hover {
background: linear-gradient(135deg, #6fa535 0%, #5d8b2d 100%);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(134, 192, 65, 0.3);
}
.map-tooltip .phone-link svg {
width: 16px;
height: 16px;
stroke-width: 2.5px;
} .map-legend {
margin-top: 40px;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
}
.legend-item {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 16px;
background: #FFFCDE;
border-radius: 6px;
font-size: 14px;
color: #333;
}
.legend-color {
width: 24px;
height: 24px;
border-radius: 4px;
border: 2px solid #ffffff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.legend-item span {
font-weight: 500;
} @media (max-width: 768px) {
.contacts-map-section {
padding: 40px 0;
}
.ukraine-map-wrapper {
padding: 10px;
}
.map-tooltip {
min-width: 200px;
padding: 12px 16px;
}
.map-tooltip .tooltip-content h4 {
font-size: 16px;
}
.map-tooltip .phone-link {
font-size: 14px;
padding: 6px 12px;
}
.map-legend {
gap: 8px;
margin-top: 30px;
display: grid;
grid-template-columns: repeat(2, 1fr);
max-width: 100%;
}
.legend-item {
padding: 6px 10px;
font-size: 11px;
gap: 6px;
width: 100%;
justify-content: flex-start;
}
.legend-item span {
font-size: 11px;
line-height: 1.3;
}
.legend-color {
width: 16px;
height: 16px;
flex-shrink: 0;
}
} @media (max-width: 480px) {
.map-legend {
grid-template-columns: 1fr;
gap: 6px;
margin-top: 20px;
}
.legend-item {
padding: 8px 12px;
font-size: 12px;
}
.legend-item span {
font-size: 12px;
}
.legend-color {
width: 18px;
height: 18px;
}
} @keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.02);
}
100% {
transform: scale(1);
}
}
.region-map__region:hover {
animation: pulse 0.6s ease-in-out;
transform-origin: center;
}