.yaroo-home-map-block {
width: 100%;
margin: clamp(1.1rem, 2.4vw, 2.6rem) auto clamp(2rem, 4vw, 4.5rem);
padding: 0 clamp(12px, 2vw, 32px);
}
.yaroo-home-map-block__inner {
width: min(96vw, 1780px);
margin: 0 auto;
opacity: 0;
transform: translateY(56px) scale(0.985);
transition:
opacity 820ms cubic-bezier(.18, .76, .22, 1),
transform 820ms cubic-bezier(.18, .76, .22, 1);
}
.yaroo-home-map-block__inner.is-visible {
opacity: 1;
transform: translateY(0) scale(1);
}
.yaroo-home-map-block__kicker {
margin: 0 0 clamp(0.65rem, 1.4vw, 1.25rem);
color: var(--orange, #ff7a00);
font-size: clamp(1.2rem, 2.1vw, 2.2rem);
line-height: 1.05;
font-weight: 900;
letter-spacing: -0.045em;
text-transform: uppercase;
text-align: center;
text-shadow: 0 8px 28px rgba(255, 122, 0, 0.18);
}
.yaroo-home-map-block__panel {
position: relative;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: clamp(18px, 2vw, 30px);
background:
radial-gradient(circle at 16% 12%, rgba(255, 122, 0, 0.14), transparent 34%),
linear-gradient(135deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
}
.yaroo-home-map-block__map-wrap {
position: relative;
min-height: clamp(320px, 34vw, 560px);
background: #111116;
}
.yaroo-home-map-block__map {
display: block;
width: 100%;
height: clamp(320px, 34vw, 560px);
min-height: 320px;
border: 0;
filter: saturate(0.85) contrast(1.02) brightness(0.82);
}
.yaroo-home-map-block__route-card {
position: relative;
z-index: 2;
display: flex;
align-items: center;
justify-content: space-between;
gap: clamp(0.75rem, 2vw, 1.5rem);
width: 100%;
padding: clamp(0.8rem, 1.45vw, 1.15rem) clamp(0.9rem, 2vw, 1.6rem);
border-top: 1px solid rgba(255, 122, 0, 0.16);
background: rgba(11, 11, 13, 0.92);
color: var(--text, #f4f4f5);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}
.yaroo-home-map-block__route-info {
min-width: 0;
}
.yaroo-home-map-block__route-card h2 {
margin: 0 0 0.18rem;
color: var(--orange, #ff7a00);
font-size: clamp(0.95rem, 1.1vw, 1.12rem);
line-height: 1.08;
letter-spacing: -0.03em;
}
.yaroo-home-map-block__route-card address {
margin: 0;
color: var(--text-soft, #b6b6bd);
font-style: normal;
font-size: 0.82rem;
line-height: 1.34;
}
.yaroo-home-map-block__route {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
justify-content: center;
min-height: 32px;
padding: 0.48rem 0.78rem;
border-radius: 999px;
background: linear-gradient(135deg, var(--orange, #ff7a00), #ff9a3d);
color: #fff !important;
font-size: 0.72rem;
font-weight: 900;
line-height: 1.05;
text-decoration: none;
white-space: nowrap;
box-shadow: 0 8px 18px rgba(255, 122, 0, 0.2);
transition: transform 180ms ease, box-shadow 180ms ease;
}
.yaroo-home-map-block__route:hover {
transform: translateY(-1px);
box-shadow: 0 11px 24px rgba(255, 122, 0, 0.28);
}
@media (prefers-reduced-motion: reduce) {
.yaroo-home-map-block__inner,
.yaroo-home-map-block__route {
transition: none;
}
.yaroo-home-map-block__inner {
opacity: 1;
transform: none;
}
}
@media (max-width: 720px) {
.yaroo-home-map-block {
margin-top: 1.1rem;
padding: 0 10px;
}
.yaroo-home-map-block__kicker {
font-size: clamp(1.25rem, 7vw, 1.85rem);
text-align: left;
}
.yaroo-home-map-block__map-wrap,
.yaroo-home-map-block__map {
height: 360px;
min-height: 360px;
}
.yaroo-home-map-block__route-card {
flex-direction: column;
align-items: stretch;
gap: 0.65rem;
padding: 0.75rem;
}
.yaroo-home-map-block__route {
width: 100%;
max-width: 100%;
}
}