/* Geo-subdomain additions. Loaded only by generated city HTML overlays. */
/* Длинные геозаголовки сохраняют масштаб, но не выталкивают визуал из hero. */
html[data-geo-city] .page-hero--service h1 {
  font-size: clamp(36px, 3.6vw, 56px);
}

.geo-title-suffix {
  display: block;
  margin-top: .18em;
  color: var(--green-500, #2eb785);
  font-size: .54em;
  line-height: 1.18;
}

@media (min-width: 769px) {
  html[data-geo-city] .page-hero--service .inner-hero__grid--split {
    grid-template-columns: minmax(0, 1fr) clamp(220px, 29vw, 420px);
    align-items: center;
  }

  html[data-geo-city] .page-hero--service .hero-orb {
    width: 100%;
    order: 0;
  }
}

@media (max-width: 768px) {
  html[data-geo-city] .page-hero--service .inner-hero__grid--split {
    grid-template-columns: minmax(0, 1fr) clamp(96px, 27vw, 116px);
    column-gap: clamp(12px, 4vw, 18px);
  }

  html[data-geo-city] .page-hero--service .eyebrow,
  html[data-geo-city] .page-hero--service h1 {
    grid-column: 1 / -1;
  }

  html[data-geo-city] .page-hero--service h1 {
    font-size: clamp(26px, 7.2vw, 32px);
    overflow-wrap: normal;
    word-break: normal;
  }

  html[data-geo-city] .page-hero--service .hero-lead {
    grid-column: 1;
    grid-row: 4;
    align-self: center;
    margin-bottom: 0;
  }

  html[data-geo-city] .page-hero--service .hero-orb {
    grid-column: 2;
    grid-row: 4;
    align-self: center;
  }

  html[data-geo-city] .page-hero--service .service-hero__chips { grid-row: 5; }
  html[data-geo-city] .page-hero--service .service-hero__actions { grid-row: 6; }
  html[data-geo-city] .page-hero--service .hero-trust-strip { grid-row: 7; }
}

@media (max-width: 430px) {
  html[data-geo-city] .page-hero--service h1 {
    font-size: clamp(20px, 6.4vw, 28px);
  }
}

.geo-landing {
  background:
    radial-gradient(circle at 88% 12%, rgba(46, 183, 133, .14), transparent 31rem),
    var(--surface-deepest, #082f25);
  color: var(--on-dark-muted, rgba(255, 255, 255, .78));
}

.geo-landing h2,
.geo-landing strong,
.geo-landing b {
  color: var(--on-dark, #fff);
}

.geo-landing .eyebrow {
  color: var(--green-300, #7ee0ba);
}

.geo-landing__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.geo-landing__copy > p:not(.eyebrow) {
  max-width: 48rem;
  margin-top: 1rem;
  color: var(--on-dark-muted, rgba(255, 255, 255, .78));
}

.geo-landing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.geo-landing .btn--ghost {
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}

.service-card__geo {
  display: block;
  margin-top: .42rem;
  color: var(--green-700, #11704f);
  font-family: var(--font-body, inherit);
  font-size: .56em;
  font-weight: 750;
  line-height: 1.3;
}

.geo-landing__scope {
  padding-left: 1rem;
  border-left: 3px solid var(--green-300, #7ee0ba);
}

.geo-landing__localities {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--r-lg, 1.25rem);
  background: rgba(255, 255, 255, .055);
}

.geo-landing__localities h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.08;
}

.geo-localities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr));
  gap: .65rem;
  max-height: min(34rem, 58vh);
  margin: 0;
  padding: .1rem .35rem .1rem 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  list-style: none;
}

.geo-localities li {
  display: flex;
  align-items: center;
  min-height: 2.7rem;
  padding: .68rem .9rem;
  border: 1px solid rgba(126, 224, 186, .22);
  border-radius: .8rem;
  background: rgba(46, 183, 133, .1);
  color: #fff;
  font-size: var(--fs-sm, .875rem);
  font-weight: 700;
  line-height: 1.35;
}

.geo-localities::-webkit-scrollbar {
  width: .55rem;
}

.geo-localities::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
}

.geo-localities::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(126, 224, 186, .45);
  background-clip: padding-box;
}

.geo-landing__note {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: var(--fs-sm, .875rem);
}

.geo-landing__nearby {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.geo-landing .geo__sub {
  margin-top: 0;
  color: rgba(255, 255, 255, .62);
}

.geo-landing .geo__cities a {
  color: inherit;
  text-decoration: none;
}

.geo-landing .geo__cities li {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .13);
  color: #fff;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.geo-landing .geo__cities li:hover,
.geo-landing .geo__cities li:focus-within {
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .28);
  transform: translateY(-1px);
}

.geo-landing .geo__cities a:focus-visible {
  outline: 2px solid var(--green-300, #7ee0ba);
  outline-offset: 4px;
  border-radius: .25rem;
}

@media (max-width: 800px) {
  .geo-localities {
    grid-template-columns: 1fr;
    max-height: min(30rem, 62vh);
  }
}

@media (prefers-reduced-motion: reduce) {
  .geo-landing .geo__cities li {
    transition: none;
  }
}
