/* ─── Base / global fallback ───────────────────── */

@import url("./cta.css");

/* global fallback background while procedural terrain renderer is disabled */
html, body { background: var(--site-relief-bg, #dddddd); }

/* ─── Base reset / typography ─────────────────── */
html {
  overscroll-behavior: none;
}

html,
body {
  margin: 0;
  width: 100%;
}

body {
  font-family: var(--site-font-sans);
  overflow-x: hidden;
  overflow-y: auto;
}

/* ─── Navigation ───────────────────────────────── */

:root {
  --site-font-sans: Inter, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --site-footer-bg: rgba(244, 244, 241, 0.98);
  --site-relief-bg: #dddddd;
  --top-menu-height: 84px;
  --hamburger-top: 24px;
  --hamburger-right: 24px;
  --menu-panel-width: clamp(259px, 27.6vw, 446px);
  --menu-panel-radius: 18px;
  --menu-open-top-reserve: 60px;
  --menu-open-content-inset: 24px;
  --menu-panel-font-scale: 1.5;
  --menu-panel-item-gap: 8px;
  --text-block-width: min(430px, 100%);
  --text-block-border: 1px solid rgba(0, 0, 0, 0.18);
  --text-block-color: rgba(22, 22, 22, 0.88);
  --text-title-size: 25px;
  --text-title-line-height: 1.04;
  --text-title-weight: 560;
  --text-copy-size: 14px;
  --text-copy-line-height: 1.42;
  --text-copy-weight: 340;
  --text-copy-color: rgba(0, 0, 0, 0.68);
  --text-display-size: clamp(30px, 3.7vw, 48px);
  --text-display-line-height: 1.08;
  --text-display-weight: 500;
  --text-display-letter-spacing: -0.02em;
  --text-section-title-size: 18px;
  --text-section-title-line-height: 1.2;
  --text-section-title-weight: 620;
  --signal-list-marker-top: 0.62em;
  --signal-list-marker-color: rgba(214, 111, 42, 0.78);
}

#logo-link {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  z-index: 6;
  line-height: 0;
}

#logo {
  display: block;
  opacity: 0;
  transform-origin: left top;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: auto;
  object-fit: contain;
  max-width: none;
}

#top-mask {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(130%) blur(14px);
  -webkit-backdrop-filter: saturate(130%) blur(14px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 1px 0 rgba(0, 0, 0, 0.04);
  opacity: 0;
  z-index: 4;
  pointer-events: none;
  will-change: opacity;
}

#hamburger {
  position: absolute;
  right: 0;
  top: 0;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.92) inset;
  display: block;
  z-index: 6;
  pointer-events: auto;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  opacity: 0;
  transition:
    border-radius 0.34s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.34s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.2s ease,
    transform 0.34s cubic-bezier(0.22, 0.61, 0.36, 1);
}

#hamburger span {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -12px;
  margin-top: -1px;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.86);
  transition:
    transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1),
    top 0.18s cubic-bezier(0.22, 0.61, 0.36, 1) 0.22s,
    opacity 0.08s linear 0.22s;
  transform: rotate(0deg);
  transform-origin: 50% 50%;
}

#hamburger span:nth-child(1) {
  top: calc(50% - 8.5px);
  transform: rotate(0deg);
}

#hamburger span:nth-child(2) {
  top: 50%;
  transform: rotate(0deg);
}

#hamburger span:nth-child(3) {
  top: calc(50% + 8.5px);
  transform: rotate(0deg);
}

#top-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: var(--top-menu-height);
  box-sizing: border-box;
  z-index: 5;
  background: transparent;
  transform: translateY(-48px);
  visibility: hidden;
  pointer-events: none;
  will-change: transform;
  opacity: 1;
  transition:
    top 0.42s cubic-bezier(0.22, 0.61, 0.36, 1),
    right 0.42s cubic-bezier(0.22, 0.61, 0.36, 1),
    width 0.42s cubic-bezier(0.22, 0.61, 0.36, 1),
    height 0.42s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-radius 0.42s cubic-bezier(0.22, 0.61, 0.36, 1),
    background-color 0.26s ease,
    box-shadow 0.42s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.2s ease,
    transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
  transform-origin: top right;
}

#top-menu.is-visible {
  visibility: visible;
  pointer-events: auto;
}

.top-menu-inner {
  position: absolute;
  left: var(--menu-left-offset, 420px);
  right: 0;
  top: 0;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.1vw, 42px);
  padding-left: 0;
  padding-right: 0;
  font-family: var(--site-font-sans);
  font-size: var(--text-copy-size);
  line-height: var(--text-copy-line-height);
  font-weight: var(--text-copy-weight);
  transform: none;
}

.top-menu-inner a {
  color: rgba(0, 0, 0, 0.76);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.top-menu-inner > a,
.menu-group-heading > a {
  font-weight: 600;
}

.top-menu-inner a:hover,
.top-menu-inner a[aria-current="page"] {
  color: rgba(0, 0, 0, 0.9);
}

.menu-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.menu-group.has-submenu {
  --submenu-left-pad: 32px;
  --submenu-right-pad: 24px;
  --submenu-top-pad: 12px;
  --submenu-bottom-pad: 30px;
  --submenu-heading-height: 22px;
  --submenu-list-gap: 24px;
  padding: 0;
  margin: 0;
  border-radius: 22px;
}

.menu-group-heading {
  position: relative;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.menu-disclosure {
  width: 22px;
  height: 22px;
  margin: 0 0 0 -1px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(0, 0, 0, 0.46);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.menu-disclosure::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: translateY(0px) rotate(45deg);
  transform-origin: 50% 50%;
  transition: transform 0.18s ease;
}

.menu-disclosure:hover,
.menu-disclosure:focus-visible,
.menu-group.is-submenu-open .menu-disclosure {
  color: rgba(0, 0, 0, 0.76);
  background: transparent;
}

.menu-disclosure:focus-visible {
  outline: 1px solid rgba(0, 0, 0, 0.28);
  outline-offset: 2px;
}

.menu-group.is-submenu-open .menu-disclosure::before {
  transform: translateY(3px) rotate(225deg);
}

.menu-subnav {
  position: absolute;
  left: calc(0px - var(--submenu-left-pad));
  top: calc(100% + var(--submenu-list-gap));
  width: max-content;
  min-width: calc(100% + var(--submenu-left-pad) + var(--submenu-right-pad));
  max-width: min(300px, calc(100vw - 48px));
  padding: 0 var(--submenu-right-pad) var(--submenu-bottom-pad) var(--submenu-left-pad);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(-4px);
  transform-origin: top center;
  transition:
    opacity 0.16s ease,
    visibility 0.16s ease,
    transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 7;
}

.menu-subnav::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(0px - var(--submenu-heading-height) - var(--submenu-list-gap) - var(--submenu-top-pad));
  bottom: 0;
  z-index: -1;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.13),
    0 0 0 1px rgba(255, 255, 255, 0.76) inset;
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
}

.menu-group.is-submenu-open .menu-subnav {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.top-menu-inner .menu-subnav a {
  color: rgba(0, 0, 0, 0.76);
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  white-space: nowrap;
  transform-origin: left center;
}

.top-menu-inner .menu-subnav a:hover,
.top-menu-inner .menu-subnav a:focus-visible {
  color: rgba(0, 0, 0, 0.9);
}

html.menu-open #hamburger,
html.menu-closing #hamburger {
  position: fixed;
  top: var(--hamburger-top);
  right: var(--hamburger-right);
  border-radius: var(--menu-panel-radius);
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transform: none;
  z-index: 9;
}

html.menu-open #hamburger span:nth-child(1) {
  top: 50%;
  transition:
    top 0.18s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1) 0.18s;
  transform: rotate(-45deg);
}

html.menu-open #hamburger span:nth-child(2) {
  transition: opacity 0.08s linear 0.18s;
  opacity: 0;
  transform: rotate(0deg);
}

html.menu-open #hamburger span:nth-child(3) {
  top: 50%;
  transition:
    top 0.18s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1) 0.18s;
  transform: rotate(45deg);
}

html.menu-open #top-menu,
html.menu-closing #top-menu {
  left: auto;
  right: var(--hamburger-right);
  top: var(--hamburger-top);
  width: min(var(--menu-panel-width), calc(100vw - var(--hamburger-right) * 2));
  min-width: min(259px, calc(100vw - var(--hamburger-right) * 2));
  max-width: 446px;
  height: auto;
  max-height: calc(100svh - var(--hamburger-top) - 36px);
  padding-top: var(--menu-open-top-reserve);
  border-radius: var(--menu-panel-radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 18px 54px rgba(0, 0, 0, 0.08);
  backdrop-filter: saturate(130%) blur(14px);
  -webkit-backdrop-filter: saturate(130%) blur(14px);
  box-sizing: border-box;
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: none;
  transition: none;
  z-index: 8;
  overflow: hidden;
}

html.menu-open #top-menu {
  animation: menuPanelGrow 0.42s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

html.menu-closing #top-menu {
  pointer-events: none;
  animation: menuPanelShrink 0.42s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

html.menu-open .top-menu-inner,
html.menu-closing .top-menu-inner {
  position: static;
  width: 100%;
  height: 100%;
  padding:
    var(--menu-open-content-inset)
    var(--menu-open-content-inset)
    calc(var(--menu-open-top-reserve) + var(--menu-open-content-inset))
    calc(var(--menu-open-top-reserve) + var(--menu-open-content-inset));
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--menu-panel-item-gap);
  font-size: calc(var(--text-copy-size) * var(--menu-panel-font-scale));
  transform: none;
}

html.menu-open .menu-group,
html.menu-closing .menu-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

html.menu-open .menu-group.has-submenu,
html.menu-closing .menu-group.has-submenu {
  padding: 0;
  margin: 0;
  border-radius: 0;
}

html.menu-open .menu-group-heading,
html.menu-closing .menu-group-heading {
  display: flex;
  align-items: center;
}

html.menu-closing .menu-disclosure {
  display: none;
}

html.menu-open .menu-disclosure {
  display: none;
}

html.menu-open #nav-3d-city-models-subnav a:nth-child(2),
html.menu-open #nav-3d-city-models-subnav a:nth-child(3),
html.menu-closing #nav-3d-city-models-subnav a:nth-child(2),
html.menu-closing #nav-3d-city-models-subnav a:nth-child(3) {
  display: none;
}

html.menu-open .menu-group:has(#nav-3d-city-models-subnav) .menu-subnav {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

html.menu-open .top-menu-inner a,
html.menu-closing .top-menu-inner a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: 0 2px;
  border-radius: 12px;
  color: rgba(0, 0, 0, 0.76);
  white-space: normal;
  text-wrap: balance;
  transform-origin: left center;
  transition:
    color 0.18s ease,
    transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

html.menu-open .top-menu-inner > a,
html.menu-open .menu-group-heading > a,
html.menu-closing .top-menu-inner > a,
html.menu-closing .menu-group-heading > a {
  font-weight: 600;
}

html.menu-open .menu-subnav,
html.menu-closing .menu-subnav {
  position: static;
  min-width: 0;
  max-width: none;
  padding: 0 0 0 18px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  margin: 2px 0 10px;
  transform: none;
  transition: none;
}

html.menu-open .menu-subnav {
  display: none;
}

html.menu-open .menu-group.is-submenu-open .menu-subnav {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

html.menu-closing .menu-subnav {
  display: none;
}

html.menu-closing .menu-group:has(#nav-3d-city-models-subnav) .menu-subnav {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

html.menu-open .menu-subnav::before {
  display: none;
}

html.menu-closing .menu-subnav::before {
  display: none;
}

html.menu-open .top-menu-inner .menu-subnav a,
html.menu-closing .top-menu-inner .menu-subnav a {
  min-height: 0;
  padding: 0 2px;
  font-size: var(--text-copy-size);
  color: rgba(0, 0, 0, 0.76);
  transform-origin: left center;
  transition:
    color 0.18s ease,
    transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

html.menu-open .top-menu-inner .menu-subnav a.menu-subnav-feature,
html.menu-closing .top-menu-inner .menu-subnav a.menu-subnav-feature {
  margin-bottom: 2px;
}

html.menu-open .top-menu-inner .menu-subnav a:hover,
html.menu-open .top-menu-inner .menu-subnav a:focus-visible,
html.menu-closing .top-menu-inner .menu-subnav a:hover,
html.menu-closing .top-menu-inner .menu-subnav a:focus-visible {
  color: rgba(0, 0, 0, 0.9);
  transform: scale(1.018);
}

html.menu-open .top-menu-inner > a:hover,
html.menu-open .top-menu-inner > a:focus-visible,
html.menu-open .menu-group-heading > a:hover,
html.menu-open .menu-group-heading > a:focus-visible,
html.menu-closing .top-menu-inner > a:hover,
html.menu-closing .top-menu-inner > a:focus-visible,
html.menu-closing .menu-group-heading > a:hover,
html.menu-closing .menu-group-heading > a:focus-visible {
  color: rgba(0, 0, 0, 0.9);
  transform: scale(1.035);
}

@keyframes menuPanelGrow {
  from {
    clip-path: inset(0 0 calc(100% - 56px) calc(100% - 56px) round var(--menu-panel-radius));
  }

  to {
    clip-path: inset(0 0 0 0 round var(--menu-panel-radius));
  }
}

@keyframes menuPanelShrink {
  from {
    clip-path: inset(0 0 0 0 round var(--menu-panel-radius));
  }

  to {
    clip-path: inset(0 0 calc(100% - 56px) calc(100% - 56px) round var(--menu-panel-radius));
  }
}

@media (max-width: 760px) {
  :root {
    --top-menu-height: 74px;
  }

  html:not(.menu-open):not(.menu-closing) #top-menu {
    display: none;
  }

  #hamburger {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  #hamburger span {
    width: 22px;
    margin-left: -11px;
  }

  .top-menu-inner {
    position: static;
    gap: 18px;
    padding-left: 18px;
    padding-right: 18px;
    font-size: 14px;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    transform: none;
  }

  .top-menu-inner::-webkit-scrollbar {
    display: none;
  }
}

/* ─── Shared UI controls ──────────────────────── */

.hero-carousel {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #111;
  user-select: none;
}

.hero-carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.54s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-carousel-img.is-scale-in {
  animation: heroScaleIn 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes heroScaleIn {
  from { transform: scale(2); }
  to   { transform: scale(1); }
}

#scroll-hint {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  color: rgba(255, 255, 255, 0.9);
  animation: scrollHintBounce 1.9s cubic-bezier(0.22, 0.9, 0.24, 1) infinite;
}

#scroll-hint svg {
  width: 40px;
  height: 11px;
  display: block;
}

@keyframes scrollHintBounce {
  0%, 100% { transform: translateX(-50%) translateY(0) scaleY(1); }
  46%      { transform: translateX(-50%) translateY(8px) scaleY(0.94); }
  64%      { transform: translateX(-50%) translateY(3px) scaleY(1.035); }
}

#terrain-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: block;
}

.city-relief-transition {
  position: fixed;
  left: 0;
  top: 100vh;
  width: 100%;
  height: 0;
  background: var(--site-footer-bg);
  z-index: 1;
  opacity: 1;
  pointer-events: none;
  will-change: top, height, opacity;
}

.nav-button {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 80px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.34));
}

.nav-button:focus {
  outline: none;
}

.nav-button.prev {
  left: 18px;
}

.nav-button.next {
  right: 18px;
}

.nav-icon {
  width: 80px;
  height: 44px;
  display: block;
  flex: 0 0 auto;
}

.nav-icon path {
  stroke-width: 2.4;
}

.nav-button.prev .nav-icon {
  transform: scaleX(-0.66);
  transform-origin: 50% 50%;
}

.nav-button.next .nav-icon {
  transform: scaleX(0.66);
  transform-origin: 50% 50%;
}

.bottom-controls {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 7;
}

.hero-carousel-dots {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  box-sizing: border-box;
}

.dot.active {
  width: 16px;
  height: 16px;
  background: #fff;
}

.dot:focus {
  outline: none;
}


/* ─── Product plates ───────────────────────────── */

.product-plates {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  z-index: 3;
  pointer-events: none;
}

.product-plate {
  --plate-saturate: 260%;
  position: fixed;
  top: 0;
  height: 52px;
  border-radius: 999px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  line-height: 1;
  white-space: nowrap;
  will-change: transform, opacity;
  pointer-events: auto;
}

.product-title-plate {
  --plate-blur: 54px;
  left: 0;
  width: auto;
  max-width: calc(100vw - 442px);
  padding: 0 22px;
  will-change: transform;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: rgba(0, 0, 0, 0.88);
  font-size: 23px;
  font-weight: 320;
  text-decoration: none;
  overflow: hidden;
  box-shadow: none;
  isolation: isolate;
}

.product-title-plate::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  background: var(--plate-frosted-bg, rgba(255, 255, 255, 0.75));
  backdrop-filter: saturate(var(--plate-saturate, 180%)) blur(var(--plate-blur)) brightness(var(--plate-brightness, 1.26)) contrast(var(--plate-contrast, 1.14));
  -webkit-backdrop-filter: saturate(var(--plate-saturate, 180%)) blur(var(--plate-blur)) brightness(var(--plate-brightness, 1.26)) contrast(var(--plate-contrast, 1.14));
  box-shadow:
    0 18px 48px rgba(255, 255, 255, var(--plate-shadow-hi, 0.24)) inset,
    0 -12px 32px rgba(255, 255, 255, var(--plate-shadow-lo, 0.10)) inset;
  opacity: var(--product-title-bg-opacity, 1);
}

.product-title-plate > * {
  position: relative;
  z-index: 1;
}

.product-title-plate:hover {
  color: rgba(0, 0, 0, 0.98);
}

.product-title-plate strong {
  font-size: var(--text-title-size);
  font-weight: var(--text-title-weight);
}

.plate-city-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.city-card-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  height: 38px;
  border-radius: 999px;
  padding: 0 18px;
  line-height: 1;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.75);
  color: rgba(0, 0, 0, 0.82);
  white-space: nowrap;
  text-align: center;
  transform: translateY(0);
  transition: transform 0.16s cubic-bezier(0.30, 0, 1, 1);
  will-change: transform;
}

.city-card-name strong,
.catalog-map-tooltip strong {
  font-size: inherit;
  line-height: inherit;
  font-weight: 600;
}

.city-card-separator {
  display: inline-block;
  margin: 0 0.3em;
  line-height: 1;
  transform: translateY(-0.02em);
}

.city-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  outline: 1px solid rgba(0, 0, 0, 0.055);
  box-shadow:
    0 12px 28px rgba(18, 22, 30, 0.065),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  transition: outline-color 0.24s ease, outline-width 0.24s ease, box-shadow 0.24s ease;
}

.city-card:hover {
  outline-width: 2px;
  outline-color: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 12px 28px rgba(18, 22, 30, 0.065),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}

.city-card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e4e4e4;
  transform-origin: top center;
  transform: scale(1);
  transition: transform 0.16s cubic-bezier(0.30, 0, 1, 1);
  will-change: transform;
}

.city-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  background: #e4e4e4;
  filter: url("#catalog-card-sharpen") brightness(1.1) saturate(1.05);
  transition: filter 0.46s ease;
  will-change: filter;
}

.city-card:hover .city-card-media {
  transform: scale(var(--city-card-media-hover-scale, 1.13));
}

.city-card:hover .city-card-img {
  filter: url("#catalog-card-sharpen") brightness(1.1) saturate(1.05);
}

.city-card:hover .city-card-name {
  transform: translateY(var(--city-card-label-shift, 100%));
}

@media (prefers-reduced-motion: reduce) {
  .city-card-media,
  .city-card-name,
  .city-card-img {
    transition: none;
  }

  .city-card:hover .city-card-media,
  .city-card:hover .city-card-name,
  .city-card:hover .city-card-img {
    transform: none;
  }
}

@media (max-width: 760px) {
  .product-title-plate {
    left: 18px;
    width: calc(100vw - 234px);
    min-width: 128px;
    padding: 0 14px;
    font-size: 14px;
  }
}

/* ─── Catalog index ───────────────────────────── */

.catalog-index {
  max-width: 1400px;
  margin: 64px auto 0;
  padding-top: 0;
}

.catalog-index-header {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  backdrop-filter: saturate(130%) blur(14px);
  -webkit-backdrop-filter: saturate(130%) blur(14px);
}

.catalog-index-tab,
.catalog-index-letter {
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--site-font-sans);
  font-size: var(--text-copy-size);
  line-height: 1;
  font-weight: var(--text-copy-weight);
  cursor: pointer;
}

.catalog-index-tab {
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: transparent;
  color: rgba(0, 0, 0, 0.56);
}

.catalog-index-tab.is-active {
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  font-weight: 600;
}

.catalog-index-mode {
  margin-top: 18px;
}

.catalog-index-letters {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.catalog-index-letters::-webkit-scrollbar {
  display: none;
}

.catalog-index-letter {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.64);
  color: rgba(0, 0, 0, 0.56);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.045);
}

.catalog-index-letter:hover,
.catalog-index-letter.is-active {
  background: rgba(0, 0, 0, 0.86);
  color: #fff;
}

.catalog-index-letter.is-active {
  font-weight: 600;
}

.catalog-index-letter.is-empty,
.catalog-index-letter:disabled {
  cursor: default;
  opacity: 0.28;
}

.catalog-index-letter.is-empty:hover,
.catalog-index-letter:disabled:hover {
  background: rgba(255, 255, 255, 0.64);
  color: rgba(0, 0, 0, 0.56);
}

.city-index-grid {
  column-count: 3;
  column-gap: 16px;
  margin-top: 16px;
}

.city-index-group {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 12px;
  backdrop-filter: saturate(130%) blur(14px);
  -webkit-backdrop-filter: saturate(130%) blur(14px);
  align-self: start;
  break-inside: avoid;
  margin: 0 0 16px;
}

.city-index-group[hidden] {
  display: none;
}

.city-index-letter {
  font-size: var(--text-section-title-size);
  line-height: var(--text-section-title-line-height);
  font-weight: var(--text-section-title-weight);
  color: rgba(0, 0, 0, 0.86);
}

.city-index-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 5px 18px;
}

.city-index-links a {
  display: block;
  color: rgba(0, 0, 0, 0.66);
  font-size: var(--text-copy-size);
  line-height: var(--text-copy-line-height);
  font-weight: var(--text-copy-weight);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent);
}

.city-index-links a:hover {
  color: rgba(0, 0, 0, 0.96);
}

.city-index-links a.city-index-link--missing-folder {
  color: rgba(255, 48, 150, 0.95);
}

.city-index-links a.city-index-link--missing-folder:hover {
  color: rgba(215, 0, 112, 1);
}

.catalog-index-masonry {
  column-count: 3;
  column-gap: 16px;
  margin-top: 16px;
}

.catalog-index-country {
  break-inside: avoid;
  min-width: 0;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.045);
  backdrop-filter: saturate(130%) blur(16px);
  -webkit-backdrop-filter: saturate(130%) blur(16px);
}

.catalog-index-country-links a {
  display: block;
  min-width: 0;
  color: rgba(0, 0, 0, 0.66);
  font-size: var(--text-copy-size);
  line-height: var(--text-copy-line-height);
  font-weight: var(--text-copy-weight);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog-index-country-links a:hover {
  color: rgba(0, 0, 0, 0.96);
}

.catalog-index-country h3 {
  margin: 0 0 9px;
  color: rgba(0, 0, 0, 0.86);
  font-size: var(--text-section-title-size);
  line-height: var(--text-section-title-line-height);
  font-weight: var(--text-section-title-weight);
}

.catalog-index-country h3 a {
  color: inherit;
  text-decoration: none;
}

.catalog-index-country h3 a:hover {
  color: rgba(0, 0, 0, 0.98);
}

.catalog-index-country-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 14px;
}

.catalog-index.is-city-letter-selected .catalog-index-mode[data-index-panel-mode="city"] .city-index-grid {
  column-count: 1;
}

.catalog-index.is-city-letter-selected .catalog-index-mode[data-index-panel-mode="city"] .city-index-group:not([hidden]) {
  --city-letter-column-width: 168px;
  --city-letter-column-gap: 20px;
  width: min(
    100%,
    calc(
      52px +
      (var(--city-letter-columns, 2) * var(--city-letter-column-width)) +
      ((var(--city-letter-columns, 2) - 1) * var(--city-letter-column-gap))
    )
  );
}

.catalog-index.is-city-letter-selected .catalog-index-mode[data-index-panel-mode="city"] .city-index-links {
  grid-template-columns: repeat(var(--city-letter-columns, 2), var(--city-letter-column-width));
  gap: 5px var(--city-letter-column-gap);
}

.catalog-map {
  position: relative;
  min-height: 420px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.36);
  box-shadow: none;
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
}

.catalog-map-svg {
  display: block;
  width: 100%;
  height: min(62vw, 620px);
  min-height: 420px;
}

.catalog-map-country {
  fill: var(--site-footer-bg);
  stroke: rgba(0, 0, 0, 0.096);
  stroke-width: 0.45;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
}

.catalog-map-country-hover {
  fill: rgba(214, 117, 45, 0.10);
  stroke: none;
  opacity: 0;
  transition: opacity 0.14s ease;
}

.catalog-map-country-russia {
  transition: opacity 0.14s ease;
}

.catalog-map-country-russia:hover,
.catalog-map-country-russia:focus-visible {
  opacity: 0.1;
}


.catalog-map-cta {
  --catalog-map-cta-offset: 12px;
  --catalog-map-cta-scale: 0.8;
  --catalog-map-cta-floating-bottom: 24px;
  container-type: inline-size;
  position: absolute;
  z-index: 1;
  left: var(--catalog-map-cta-offset);
  bottom: var(--catalog-map-cta-offset);
  width: clamp(300px, 22vw, 320px);
  max-height: 420px;
  box-sizing: border-box;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  color: rgba(0, 0, 0, 0.82);
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 14px 34px rgba(255, 255, 255, 0.16) inset,
    0 10px 24px rgba(0, 0, 0, 0.055);
  backdrop-filter: saturate(130%) blur(18px);
  -webkit-backdrop-filter: saturate(130%) blur(18px);
  opacity: 1;
  overflow: hidden;
  transform: scale(var(--catalog-map-cta-scale));
  transform-origin: left bottom;
  transition:
    max-height 0.32s cubic-bezier(0.22, 0.61, 0.36, 1),
    padding 0.32s cubic-bezier(0.22, 0.61, 0.36, 1),
    background-color 0.24s ease,
    box-shadow 0.24s ease,
    opacity 0.22s ease,
    transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.catalog-map-cta:hover,
.catalog-map-cta:focus-within {
  --catalog-map-cta-scale: 1;
}

.catalog-map-cta strong,
.catalog-map-cta-description {
  display: block;
}

.catalog-map-cta strong {
  font-size: clamp(22px, 8cqi, 40px);
  line-height: var(--text-title-line-height);
  font-weight: var(--text-title-weight);
}

.catalog-map-cta-description {
  margin-top: 9px;
  max-height: 110px;
  color: rgba(0, 0, 0, 0.62);
  opacity: 1;
  overflow: hidden;
  transform: translateY(0);
  transition:
    max-height 0.32s cubic-bezier(0.22, 0.61, 0.36, 1),
    margin-top 0.32s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.2s ease,
    transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.catalog-map-cta-fields {
  display: grid;
  gap: 9px;
  margin-top: 16px;
  max-height: 138px;
  opacity: 1;
  overflow: hidden;
  transform: translateY(0);
  transition:
    max-height 0.32s cubic-bezier(0.22, 0.61, 0.36, 1),
    margin-top 0.32s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.2s ease,
    transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.catalog-map-cta input,
.catalog-map-cta button {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  font-family: var(--site-font-sans);
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.catalog-map-cta input {
  height: 40px;
  padding: 0 15px;
  color: rgba(0, 0, 0, 0.82);
  background: #fff;
}

.catalog-map-cta input::placeholder {
  color: rgba(0, 0, 0, 0.42);
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.catalog-map-cta button {
  height: 40px;
  margin-top: 11px;
  color: rgba(0, 0, 0, 0.9);
  border-color: rgba(0, 0, 0, 0.16);
  background: rgba(242, 242, 242, 0.96);
  font-weight: 600;
  cursor: pointer;
  transition: margin-top 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.catalog-map-cta input:focus,
.catalog-map-cta button:focus {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .catalog-map-cta,
  .catalog-map-cta-description,
  .catalog-map-cta-fields,
  .catalog-map-cta button {
    transition: none;
  }
}

.catalog-map-dot-glow,
.country-map-atlas-city-glow,
.country-map-city-glow {
  fill: rgba(217, 132, 58, 0.10);
  pointer-events: none;
}

.catalog-map-capital-dot {
  fill: rgba(214, 117, 45, 0.7);
}

.catalog-map-dot {
  fill: rgba(214, 117, 45, 0.7);
  stroke: none;
  cursor: pointer;
  transition: fill 0.15s ease;
}

.catalog-map-dot-missing-capital {
  fill: rgba(154, 147, 141, 0.72);
}

.catalog-map-active-pulse {
  pointer-events: none;
}

.catalog-map-active-dot {
  fill: #d8436f;
  pointer-events: none;
}

.catalog-map-dot-link[hidden],
.catalog-map-dot-glow[hidden] {
  display: none;
}

.catalog-map-tooltip {
  position: absolute;
  z-index: 2;
  max-width: min(240px, calc(100% - 32px));
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.055);
  backdrop-filter: saturate(130%) blur(16px);
  -webkit-backdrop-filter: saturate(130%) blur(16px);
  font-size: var(--text-copy-size);
  line-height: var(--text-copy-line-height);
  font-weight: var(--text-copy-weight);
  transform: translate(-50%, calc(-100% - 12px));
  pointer-events: auto;
}

.catalog-map-tooltip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

/* Country pages */

.country-map-section {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 3;
  box-sizing: border-box;
  width: min(880px, calc(100vw - 48px));
  aspect-ratio: 1.42 / 1;
  padding: 0;
  background: transparent;
  opacity: 1;
  pointer-events: none;
  will-change: left, top, width, opacity;
}

.country-map-inner {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.country-map-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.country-insight-section,
.info-copy-block,
.info-block {
  box-sizing: border-box;
  color: var(--text-block-color);
}

.country-insight-section,
.info-copy-block {
  padding: 2px 0 0 18px;
  border-left: var(--text-block-border);
}

.country-insight-section {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 3;
  width: min(430px, calc(100vw - 48px));
  opacity: 0;
  pointer-events: none;
  will-change: left, top, width, opacity;
}

.country-insight-section h2,
.info-copy-block h2,
.info-block h2 {
  margin: 0 0 12px;
  max-width: 100%;
  font-size: var(--text-title-size);
  line-height: var(--text-title-line-height);
  font-weight: var(--text-title-weight);
}

.country-insight-section p,
.info-copy-block p,
.info-block p {
  margin: 0 0 11px;
}

.country-insight-section p,
.info-copy-block p,
.info-block p,
.country-insight-signals li,
.info-list li,
.legal-sidebar-links a,
.city-card-name,
.catalog-map-cta {
  font-size: var(--text-copy-size);
  line-height: var(--text-copy-line-height);
  font-weight: var(--text-copy-weight);
}

.country-insight-section p,
.info-copy-block p,
.info-block p,
.country-insight-signals li,
.info-list li,
.legal-sidebar-links a {
  color: var(--text-copy-color);
}

.country-insight-signals,
.info-list {
  display: grid;
  gap: 5px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.country-insight-signals {
  --signal-list-marker-top: 0.55em;
}

.country-insight-signals li,
.info-list li {
  position: relative;
  padding-left: 14px;
}

.country-insight-signals li::before,
.info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: var(--signal-list-marker-top);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal-list-marker-color);
}

.country-insight-updated {
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.38);
}

.city-light-section {
  background: var(--site-footer-bg);
  position: relative;
  z-index: 1;
  padding-bottom: 96px;
}

.city-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 0 96px;
}

.city-hero-stage,
.country-hero-stage {
  position: relative;
  height: 0;
  z-index: 1;
  pointer-events: none;
}

.city-hero-sticky,
.country-hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 2;
  overflow: visible;
  pointer-events: none;
}

.city-hero-sticky .compare,
.city-hero-sticky .side-preview,
.city-hero-sticky .product-plates,
.city-hero-sticky .mode-toggle,
.city-hero-sticky .details-button,
.city-hero-sticky .bottom-controls,
.country-hero-sticky .compare,
.country-hero-sticky .side-preview,
.country-hero-sticky .product-plates,
.country-hero-sticky .mode-toggle,
.country-hero-sticky .details-button,
.country-hero-sticky .bottom-controls,
.country-hero-sticky .country-map-section,
.country-hero-sticky .country-insight-section {
  position: absolute;
}

.city-hero-sticky .product-plate,
.country-hero-sticky .product-plate {
  position: absolute;
}

.city-hero-sticky .compare,
.country-hero-sticky .compare {
  pointer-events: auto;
}

.city-description-section {
  position: static;
  width: min(430px, 100%);
  margin-top: 18px;
  opacity: 1;
  pointer-events: auto;
  will-change: auto;
}

.city-country-map-section {
  width: min(430px, 100%);
  margin-top: 34px;
}

.city-country-map-section .country-map-inner {
  display: block;
  position: relative;
  height: auto;
  pointer-events: auto;
}

.city-country-map-svg {
  height: auto;
  overflow: hidden;
}

.city-country-map-marker {
  position: absolute;
  z-index: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.city-country-map-dot-marker {
  cursor: pointer;
}

.city-country-map-label {
  position: absolute;
  left: 50%;
  bottom: 13px;
  z-index: 2;
  color: rgba(28, 28, 28, 0.88);
  font-family: var(--site-font-sans);
  font-size: 12px;
  line-height: 1;
  font-weight: 620;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow:
    -1px -1px 0 rgba(255, 255, 255, 0.86),
    1px -1px 0 rgba(255, 255, 255, 0.86),
    -1px 1px 0 rgba(255, 255, 255, 0.86),
    1px 1px 0 rgba(255, 255, 255, 0.86);
  transform: translateX(-50%);
}

.country-map-shape {
  fill: url("#country-map-frosted-fill");
  fill-rule: evenodd;
  stroke: rgba(82, 82, 82, 0.48);
  stroke-width: 0.58;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  shape-rendering: geometricPrecision;
  filter: url("#country-map-frosted-filter");
}

.country-map-ukraine-flag-effect {
  opacity: 0.62;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.country-map-ukraine-slogan-layer {
  opacity: 0;
  pointer-events: none;
}

.country-map-ukraine-slogan {
  fill: #ffffff;
  font-family: var(--site-font-sans);
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-anchor: middle;
  dominant-baseline: middle;
  user-select: none;
}

.country-map-ukraine-flag-blue {
  fill: #0057b7;
}

.country-map-ukraine-flag-yellow {
  fill: #ffd700;
}

.country-map-ukraine-hit-layer {
  pointer-events: none;
}

.country-map-ukraine-hit-area {
  fill: #000000;
  fill-rule: evenodd;
  opacity: 0;
  pointer-events: none;
  stroke: none;
}

.country-map-road-layer {
  opacity: 0.56;
  mix-blend-mode: multiply;
}

.country-map-road {
  fill: none;
  stroke: rgba(112, 112, 112, 0.3);
  stroke-width: 0.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.country-map-road-major {
  stroke: rgba(92, 92, 92, 0.42);
  stroke-width: 0.5;
}

.country-map-atlas-city-layer {
  opacity: 0.9;
}

.country-map-atlas-city-marker {
  cursor: pointer;
  outline: none;
  pointer-events: auto;
  filter: grayscale(1) saturate(0);
  opacity: 1;
}

.country-map-atlas-city {
  fill: rgba(214, 117, 45, 0.7);
  stroke: none;
  stroke-width: 0;
  vector-effect: non-scaling-stroke;
  transition: fill 0.15s ease;
}

.country-map-atlas-city-major {
  fill: rgba(214, 117, 45, 0.7);
}

.country-map-atlas-city-capital,
.country-map-city-dot-capital {
  fill: rgba(214, 117, 45, 0.7);
}

.country-map-atlas-city-marker:hover .country-map-atlas-city,
.country-map-atlas-city-marker:focus-visible .country-map-atlas-city {
  fill: rgba(214, 117, 45, 0.7);
}

.country-map-atlas-city-label {
  fill: rgb(43, 43, 43);
  stroke: rgba(255, 255, 255, 0.82);
  stroke-width: 3.8;
  paint-order: stroke;
  font-family: var(--site-font-sans);
  font-size: 14px;
  font-weight: 420;
  letter-spacing: 0;
  text-anchor: middle;
  pointer-events: none;
}

.country-map-city-link {
  cursor: pointer;
  outline: none;
}

.country-map-city-dot {
  fill: rgba(214, 117, 45, 0.7);
  stroke: none;
  stroke-width: 0;
  vector-effect: non-scaling-stroke;
  transition: fill 0.15s ease;
}

.country-map-city-link:hover .country-map-city-dot,
.country-map-city-link:focus-visible .country-map-city-dot {
  fill: rgba(214, 117, 45, 0.7);
}

@media (max-width: 760px) {
  .catalog-index {
    margin-top: 48px;
  }

  .catalog-index-masonry {
    column-count: 1;
  }

  .city-index-grid {
    column-count: 1;
  }

  .city-index-group {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .city-index-links {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .catalog-map,
  .catalog-map-svg {
    min-height: 320px;
  }

  .catalog-map-svg {
    height: 72vw;
  }

  .country-map-section {
    width: calc(100vw - 40px);
  }

  .country-map-inner {
    aspect-ratio: 1.2 / 1;
  }

  .country-insight-section,
  .info-copy-block {
    padding-left: 14px;
  }

  .country-insight-section h2,
  .info-copy-block h2,
  .info-block h2 {
    max-width: 22ch;
    font-size: 21px;
  }

  .country-insight-section,
  .info-copy-block,
  .info-block,
  .legal-sidebar-links {
    --text-copy-size: 13px;
  }

  .catalog-map-cta {
    position: static;
    width: auto;
    max-height: none;
    margin: 12px;
    transform: none;
  }

}

@media (max-width: 420px) {
  .catalog-index-country-links {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .catalog-index-masonry {
    column-count: 2;
  }

  .city-index-grid {
    column-count: 2;
  }
}

/* ─── Footer ───────────────────────────────────── */

/* Legal and payment policy pages */

body.legal-page {
  color: #111;
}

.info-content {
  --template-content-start: min(104vh, 720px);
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - max(48px, 10.4vw)));
  margin: 0 0 96px;
  margin-left: clamp(24px, 5.2vw, 104px);
  padding-top: var(--template-content-start);
  pointer-events: auto;
}

.home-content-reserve.has-template-content .info-content {
  --template-content-start: calc(var(--template-menu-ready-scroll-y, 0px) + var(--top-menu-height) + 20px);
  padding-top: var(--template-content-start);
}

.info-content.has-info-sidebar {
  --template-content-start: min(42vh, 360px);
}

.info-content-layout {
  display: grid;
  grid-template-columns: minmax(96px, 210px) minmax(0, 1fr);
  column-gap: 18px;
  row-gap: clamp(44px, 4vw, 72px);
  align-items: stretch;
}

.legal-sidebar-shell {
  position: sticky;
  top: max(0px, calc(var(--template-content-start) - var(--template-menu-ready-scroll-y, 0px)));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px;
  gap: clamp(30px, 3vw, 48px);
  align-items: stretch;
  align-self: stretch;
}

.legal-sidebar-rule {
  width: 1px;
  height: 100%;
  background: rgba(0, 0, 0, 0.18);
}

.info-content-column {
  min-width: 0;
}

.info-copy-block,
.info-block {
  width: var(--text-block-width);
}

.info-copy-block {
  margin-top: 18px;
}

.info-content.has-info-sidebar .info-copy-block {
  margin-top: 0;
  padding-left: 0;
  border-left: 0;
}

.info-blocks {
  max-width: none;
  margin: 34px 0 0;
}

.info-content.has-info-sidebar .info-blocks {
  grid-column: 2;
  margin: 0;
}

.info-blocks-grid {
  column-width: 390px;
  column-count: auto;
  column-gap: clamp(36px, 3.4vw, 64px);
  margin-top: 0;
}

.info-block {
  break-inside: avoid;
  margin: 0 0 34px;
}

.client-logo-grid {
  --client-logo-grid-width: min(1180px, calc(100vw - max(48px, 8vw)));
  width: var(--client-logo-grid-width);
  margin-top: 72px;
  margin-right: 0;
  margin-left: calc((100vw - var(--client-logo-grid-width)) / 2 - clamp(24px, 5.2vw, 104px));
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: clamp(12px, 1vw, 76px);
  row-gap: clamp(8px, 1vw, 22px);
  align-items: center;
}

.client-logo-item {
  min-width: 0;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo-item img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(var(--client-logo-max-width, 160px), 100%);
  max-height: var(--client-logo-max-height, 48px);
  object-fit: contain;
  opacity: 0.72;
}

@media (max-width: 900px) {
  .client-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .client-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 34px;
  }

  .client-logo-item--wide {
    grid-column: span 2;
  }
}

.legal-main {
  min-height: 100vh;
  background: #e1e1e1;
}

.legal-sidebar-links {
  display: grid;
  gap: 0;
  align-self: start;
  text-align: right;
}

.legal-sidebar-links a {
  display: block;
  padding: 4px 0;
  text-decoration: none;
}

.legal-sidebar-links a:hover,
.legal-sidebar-links a:focus-visible,
.legal-sidebar-links a[aria-current="page"] {
  color: rgba(0,0,0,0.9);
}

.legal-sidebar-links a[aria-current="page"] {
  font-weight: 600;
}

@media (max-width: 900px) {
  .legal-sidebar-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
  }
}

@media (max-width: 640px) {
  .legal-sidebar-links {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  position: relative;
  width: 100%;
  min-height: 460px;
  box-sizing: border-box;
  background: var(--site-footer-bg);
  color: #111;
  font: 15px/1.5 var(--site-font-sans);
  z-index: 10;
}

.footer-inner {
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto;
  padding: 58px 0 24px;
  min-height: 460px;
  box-sizing: border-box;
}

.footer-mark {
  display: block;
  width: 188px;
  height: auto;
}

.footer-kicker {
  margin-bottom: 10px;
  font-size: var(--text-copy-size);
  font-weight: 600;
  line-height: var(--text-copy-line-height);
  color: var(--text-copy-color);
}

.footer-meta {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, minmax(132px, 1fr));
  gap: 42px;
  padding: 42px 0 24px;
}

.footer-small {
  display: grid;
  align-content: space-between;
  min-height: 132px;
  color: rgba(0,0,0,0.50);
}

.footer-list {
  display: grid;
  gap: 5px;
  color: var(--text-copy-color);
  font-size: var(--text-copy-size);
  line-height: var(--text-copy-line-height);
  font-weight: var(--text-copy-weight);
}

.footer-list a {
  color: inherit;
  text-decoration: none;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: rgba(0,0,0,0.9);
}

.footer-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .site-footer {
    min-height: 660px;
  }

  .footer-inner {
    width: calc(100% - 36px);
    min-height: 660px;
    padding-top: 36px;
  }

  .footer-meta {
    grid-template-columns: 1fr;
    gap: 32px;
  }

}

/* ─── City viewer ──────────────────────────────────────────────────── */

html,
body {
  height: 100%;
}

.compare {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #111;
  user-select: none;
  touch-action: none;
  cursor: default;
  --soft: 12%;
  --control-size: 34px;
  --dots-bg: transparent;
}

.image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  pointer-events: none;
  user-select: none;
}

.terrain {
  z-index: 1;
}

.city {
  z-index: 2;
}

.detail {
  z-index: 3;
  display: none;
  width: auto;
  height: auto;
  transform: translate(0, 0);
  object-fit: contain;
  will-change: transform;
}

.compare.detail-active {
  cursor: zoom-in;
}

.compare.detail-active .terrain,
.compare.detail-active .city {
  display: none;
}

.compare.detail-active .detail {
  display: block;
}

.dots {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  min-height: var(--control-size);
  box-sizing: border-box;
  background: var(--dots-bg);
  border-radius: 999px;
}

.dot {
  width: 8px;
  height: 8px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
}

.mode-toggle {
  display: none;
  position: fixed;
  transform: translateX(-50%);
  align-items: stretch;
  width: 146px;
  height: 22px;
  box-sizing: border-box;
  background: rgba(40, 40, 40, 0.72);
  border-radius: 999px;
  overflow: hidden;
  z-index: 5;
}

.mode-option,
.details-button {
  font-family: var(--site-font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.mode-option {
  border: 0;
  width: 73px;
  height: 22px;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.mode-option span {
  display: block;
  transform: translateY(-0.5px);
}

.mode-option.active {
  background: #fff;
  color: #111;
}

.mode-option:focus {
  outline: none;
}

.details-button {
  position: fixed;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  justify-content: center;
  width: 146px;
  height: 22px;
  box-sizing: border-box;
  background: rgba(40, 40, 40, 0.72);
  border-radius: 999px;
  z-index: 5;
  color: rgba(255, 255, 255, 0.68);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  border: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}

.details-button.active {
  background: #fff;
  color: #111;
}

.details-button:disabled {
  opacity: 0.34;
  cursor: default;
}

.details-button:focus {
  outline: none;
}

.details-button span {
  display: block;
  transform: translateY(-0.5px);
}

.product-cta-plate {
  right: 0;
  width: 184px;
  justify-content: center;
  border: 0;
  padding: 0 18px;
  appearance: none;
  -webkit-appearance: none;
  --plate-blur: 48px;
  background: rgba(255, 39, 86, 0.64);
  backdrop-filter: blur(var(--plate-blur)) saturate(0%) brightness(0.9) contrast(1.24);
  -webkit-backdrop-filter: blur(var(--plate-blur)) saturate(0%) brightness(0.9) contrast(1.24);
  color: #fff;
  cursor: pointer;
  font-family: var(--site-font-sans);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: none;
  overflow: hidden;
}

.product-cta-plate:focus {
  outline: none;
}

.product-cta-main,
.product-cta-price {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.24s ease;
  z-index: 2;
}

.product-cta-main {
  transform: translateY(0);
  opacity: 1;
}

.product-cta-price {
  gap: 6px;
  transform: translateY(-105%);
  opacity: 0;
  font-weight: 500;
}

.product-cta-price span {
  font-size: 0.75em;
  line-height: 0.9;
  font-weight: 250;
}

.product-cta-price strong {
  font-size: inherit;
  line-height: 0.9;
  font-weight: 500;
}

.product-cta-plate:hover .product-cta-main,
.product-cta-plate:focus-visible .product-cta-main {
  transform: translateY(105%);
  opacity: 0;
}

.product-cta-plate:hover .product-cta-price,
.product-cta-plate:focus-visible .product-cta-price {
  transform: translateY(0);
  opacity: 1;
}

.empty {
  color: #fff;
  font-size: 20px;
  opacity: 0.9;
}

.side-preview {
  position: fixed;
  top: 0;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  background: #111;
  pointer-events: none;
}

.side-preview.side-prev { left: 0; }

.side-img {
  position: absolute;
  top: 0;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: blur(16px) brightness(0.85) saturate(0) contrast(1.4);
}

.side-preview.side-prev .side-img { right: 0; left: auto; }
.side-preview.side-next .side-img { left: 0; right: auto; }

.side-divider {
  position: fixed;
  top: 0;
  width: 1px;
  background: #000000;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}

.compare-inner {
  position: absolute;
  inset: 0;
}

@keyframes compareScaleIn {
  from { transform: scale(2); }
  to   { transform: scale(1); }
}


@media (max-width: 760px) {
  .product-cta-plate {
    right: 18px;
    width: 180px;
    font-size: 15px;
  }
}
