@font-face {
  font-family: "Onest";
  src: url("fonts/Onest-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --header-h: clamp(64px, 7vw, 92px);
  --footer-pad-y: clamp(28px, 5vw, 64px);
  --page-pad: clamp(18px, 4vw, 64px);
  --heading-font: "Onest", Arial, sans-serif;
  --text-font: "Onest", Arial, sans-serif;
  --ayan: #129b83;
  --ayan-2: #54c7b2;
  --sky: #d9eff1;
  --cloud: #fbfdfb;
  --milk: #fff8ea;
  --sand: #f6efd9;
  --ink: #15332d;
  --muted: #6f837e;
  --paper: #f8fbf8;
  --paper-2: #eef7f2;
  --line: rgba(21, 51, 45, 0.13);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-milk: rgba(255, 248, 234, 0.72);
  --glass-border: rgba(255, 255, 255, 0.82);
  --glass-shadow: 0 26px 74px rgba(21, 51, 45, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  --amber: #f2a33a;
  --red: #d94b39;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--text-font);
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
nav,
label {
  font-weight: 500;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) minmax(220px, 1fr) auto;
  align-items: center;
  min-height: var(--header-h);
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--glass-border);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 248, 234, 0.28)),
    var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 16px 48px rgba(21, 51, 45, 0.08);
  backdrop-filter: blur(26px) saturate(1.45);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 18px);
}

.brand img,
.footer-brand img {
  width: clamp(94px, 10vw, 140px);
  height: auto;
}

.brand span {
  color: rgba(21, 51, 45, 0.62);
  font-size: clamp(13px, 1.3vw, 16px);
  font-weight: 400;
}

.main-nav,
.site-footer nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 38px);
  color: rgba(21, 51, 45, 0.72);
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 400;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: clamp(40px, 4vw, 48px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 0 clamp(14px, 2vw, 22px);
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(255, 248, 234, 0.34)),
    var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 12px 36px rgba(21, 51, 45, 0.08);
  backdrop-filter: blur(18px) saturate(1.35);
  font-weight: 400;
  white-space: nowrap;
}

.map-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: calc(var(--header-h) + 24px) var(--page-pad) clamp(26px, 4vw, 54px);
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(250, 253, 251, 0.03), rgba(248, 251, 248, 0.96) 94%),
    var(--sky);
}

.map-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.98), transparent 16rem),
    radial-gradient(circle at 72% 16%, rgba(255, 255, 255, 0.88), transparent 18rem),
    radial-gradient(circle at 76% 55%, rgba(84, 199, 178, 0.22), transparent 31rem),
    linear-gradient(180deg, #e7f7fa 0%, #f8fbf8 58%, #f7f1df 100%);
}

.map-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(21, 51, 45, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 51, 45, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 74%, transparent 100%);
}

.cloud {
  position: absolute;
  display: block;
  width: clamp(150px, 22vw, 360px);
  aspect-ratio: 2.8;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  filter: blur(2px);
  box-shadow:
    42px -18px 0 rgba(255, 255, 255, 0.58),
    92px 6px 0 rgba(255, 255, 255, 0.42);
  opacity: 0.82;
}

.cloud-one {
  left: 8%;
  top: 18%;
}

.cloud-two {
  right: 14%;
  top: 23%;
  transform: scale(0.78);
}

.cloud-three {
  left: 46%;
  bottom: 18%;
  transform: scale(0.58);
  opacity: 0.54;
}

.map-scroll-block {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 52%;
  width: min(1380px, calc(100vw - 12px));
  transform: translate(-50%, -50%);
  overflow: visible;
}

.route-scene {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.russia-asset {
  opacity: 0.88;
  filter: drop-shadow(0 40px 46px rgba(21, 51, 45, 0.16));
  pointer-events: none;
}

.route-system {
  pointer-events: none;
}

.road {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.road-shadow {
  stroke: rgba(21, 51, 45, 0.16);
  stroke-width: 18;
}

.road-shadow-alt {
  stroke: rgba(21, 51, 45, 0.12);
  stroke-width: 15;
}

.road-shadow-vlad {
  stroke: rgba(21, 51, 45, 0.14);
  stroke-width: 15;
}

.road-core {
  stroke: rgba(18, 155, 131, 0.78);
  stroke-width: 5;
}

.road-core-alt {
  stroke: rgba(242, 163, 58, 0.82);
  stroke-width: 4;
}

.road-core-vlad {
  stroke: rgba(86, 148, 204, 0.84);
  stroke-width: 4;
}

.road-signal {
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-dasharray: 3 22;
  animation: none;
}

.road-signal-alt {
  stroke: #15332d;
  animation-duration: 26s;
}

.road-signal-vlad {
  stroke: rgba(255, 248, 234, 0.94);
  animation-duration: 30s;
}

.city {
  cursor: pointer;
  outline: none;
}

.city circle {
  fill: rgba(255, 248, 234, 0.96);
  stroke: var(--ayan);
  stroke-width: 2.4;
  filter: drop-shadow(0 8px 16px rgba(21, 51, 45, 0.22));
  transition: r 0.2s ease, fill 0.2s ease, stroke 0.2s ease;
}

.city text {
  fill: #15332d;
  paint-order: stroke;
  stroke: rgba(255, 248, 234, 0.9);
  stroke-width: 3.8;
  font-family: var(--text-font);
  font-size: 17px;
  font-weight: 400;
  pointer-events: none;
}

.city:hover circle,
.city:focus circle,
.city.is-active circle {
  fill: url(#node-gradient);
  stroke: var(--milk);
}

.city-yakutsk circle {
  stroke: var(--amber);
}

.city-vlad circle {
  stroke: rgba(86, 148, 204, 0.9);
}

.route-beacon {
  cursor: pointer;
  outline: none;
  filter: drop-shadow(0 0 14px rgba(84, 199, 178, 0.72));
}

.beacon-halo {
  fill: rgba(255, 248, 234, 0.18);
  stroke: rgba(255, 248, 234, 0.78);
  stroke-width: 1.2;
  animation: none;
}

.beacon-core {
  fill: url(#node-gradient);
  stroke: var(--milk);
  stroke-width: 0.9;
}

.beacon-core-alt {
  fill: var(--amber);
}

.beacon-core-vlad {
  fill: #5694cc;
}

.route-beacon.is-active .beacon-halo,
.route-beacon:hover .beacon-halo,
.route-beacon:focus .beacon-halo {
  fill: rgba(255, 248, 234, 0.26);
  stroke: rgba(255, 248, 234, 0.96);
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: var(--page-pad);
  bottom: clamp(26px, 4vw, 58px);
  max-width: min(460px, 42vw);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: clamp(16px, 2vw, 24px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 248, 234, 0.52)),
    var(--glass-milk);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(1.22);
}

.hero-copy::before,
.map-drawer::before,
.route-cards article::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.44), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.26), transparent 26%);
  opacity: 0.46;
}

.hero-copy > *,
.map-drawer > *,
.route-cards article > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--ayan);
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--heading-font);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-weight: 620;
}

h3 {
  font-family: var(--heading-font);
  font-weight: 570;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 430px;
  margin-bottom: 12px;
  color: #102720;
  font-size: clamp(32px, 4.1vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-note {
  max-width: 380px;
  margin: 0;
  color: rgba(21, 51, 45, 0.82);
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 400;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.primary-action,
.secondary-action,
.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 700;
  line-height: 1.12;
  white-space: normal;
  text-align: center;
}

.primary-action {
  border: 0;
  color: #ffffff;
  background: var(--ayan);
  box-shadow: 0 16px 40px rgba(18, 155, 131, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.secondary-action,
.card-action {
  border: 1px solid rgba(21, 51, 45, 0.12);
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 248, 234, 0.48)),
    rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 12px 30px rgba(21, 51, 45, 0.07);
}

.hero-action-note {
  display: block;
  margin-top: 10px;
  color: rgba(21, 51, 45, 0.62);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.map-drawer {
  position: absolute;
  z-index: 4;
  top: calc(var(--header-h) + clamp(20px, 4vw, 48px));
  right: var(--page-pad);
  width: min(390px, calc(100vw - var(--page-pad) * 2));
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: clamp(20px, 2.5vw, 30px);
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(231, 247, 250, 0.48)),
    var(--glass-strong);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(1.22);
  transform: translateX(calc(100% + var(--page-pad)));
  transition: transform 0.36s ease;
}

.map-drawer.is-open {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(1.35);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.map-drawer h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.95;
}

.map-drawer p {
  color: rgba(21, 51, 45, 0.82);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.drawer-facts {
  display: grid;
  gap: 0;
  margin: 20px 0;
  border-top: 1px solid var(--line);
}

.drawer-facts div {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}

.drawer-facts dt {
  color: var(--muted);
  font-weight: 680;
}

.drawer-facts dd {
  margin: 0;
  font-weight: 680;
}

.route-info-pane .drawer-facts {
  margin: 16px 0;
}

.route-info-pane .drawer-facts div {
  grid-template-columns: minmax(118px, 0.72fr) minmax(0, 1.28fr);
  gap: 12px;
  padding: 10px 0;
}

.route-info-pane .drawer-facts dt,
.route-info-pane .drawer-facts dd {
  font-size: 14px;
  line-height: 1.3;
  min-width: 0;
  overflow-wrap: anywhere;
}

.cargo-manifest {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}

.cargo-manifest div {
  position: relative;
  min-height: 88px;
  border: 1px solid rgba(21, 51, 45, 0.1);
  border-radius: 16px;
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(231, 247, 250, 0.48)),
    rgba(255, 255, 255, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 12px 30px rgba(21, 51, 45, 0.06);
}

.cargo-manifest dt {
  margin-bottom: 8px;
  color: rgba(21, 51, 45, 0.58);
  font-size: 12px;
  font-weight: 680;
  line-height: 1.25;
}

.cargo-manifest dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.hint-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-left: 4px;
  border: 1px solid rgba(18, 155, 131, 0.35);
  border-radius: 50%;
  color: var(--ayan);
  background: rgba(255, 255, 255, 0.72);
  cursor: help;
  font-size: 11px;
  line-height: 1;
  vertical-align: text-top;
}

.hint-mark::after {
  content: attr(data-hint);
  position: absolute;
  z-index: 20;
  left: 50%;
  bottom: calc(100% + 8px);
  width: 190px;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 9px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(21, 51, 45, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.hint-mark:hover::after,
.hint-mark:focus::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.drawer-action-row {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.drawer-action-row .drawer-action {
  width: min(100%, 320px);
}

.drawer-map-action,
.drawer-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 700;
  cursor: pointer;
  white-space: normal;
  text-align: center;
  line-height: 1.15;
}

.drawer-map-action {
  width: 100%;
  margin-bottom: 10px;
  border: 1px solid rgba(21, 51, 45, 0.12);
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 248, 234, 0.56)),
    rgba(255, 255, 255, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 12px 30px rgba(21, 51, 45, 0.07);
  backdrop-filter: blur(16px) saturate(1.25);
}

.drawer-map-action[hidden] {
  display: none;
}

.drawer-action {
  border: 0;
  color: #ffffff;
  background: var(--ayan);
  box-shadow: 0 14px 36px rgba(18, 155, 131, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.drawer-action + .drawer-action {
  margin-top: 0;
}

.drawer-action-muted {
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 248, 234, 0.52)),
    rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 12px 30px rgba(21, 51, 45, 0.08);
}

.routes {
  padding: clamp(58px, 8vw, 118px) var(--page-pad);
  background: var(--paper);
}

.routes {
  background:
    linear-gradient(180deg, rgba(248, 251, 248, 1), rgba(238, 247, 242, 0.86)),
    var(--paper);
}

.service-overview {
  background:
    radial-gradient(circle at 82% 28%, rgba(84, 199, 178, 0.14), transparent 26rem),
    linear-gradient(180deg, #f8fbf8 0%, #eef7f2 100%);
}

.section-head {
  max-width: 1040px;
  margin-bottom: 30px;
}

.section-head h2,
.service-copy h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-head p,
.route-cards p {
  color: rgba(21, 51, 45, 0.82);
  font-size: clamp(16px, 1.45vw, 19px);
  font-weight: 600;
  line-height: 1.6;
}

.route-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.route-cards article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(231, 247, 250, 0.42)),
    var(--glass);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px) saturate(1.18);
}

.route-cards article {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2vw, 26px);
}

.route-cards span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--ayan);
  font-weight: 700;
}

.route-cards h3 {
  margin: 44px 0 12px;
  font-size: clamp(26px, 2.6vw, 38px);
}

.route-meta {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(90px, 0.65fr);
  gap: 10px;
  margin: auto 0 0;
  padding-top: 22px;
}

.route-meta div {
  min-width: 0;
  border-top: 1px solid rgba(21, 51, 45, 0.12);
  padding-top: 10px;
}

.route-meta dt {
  margin-bottom: 4px;
  color: rgba(21, 51, 45, 0.58);
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.route-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.route-validity {
  display: block;
  margin-top: 12px;
  color: rgba(21, 51, 45, 0.62);
  font-size: 12px;
  font-weight: 600;
}

.card-action {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  min-height: 44px;
  padding-inline: 16px;
  width: 100%;
  max-width: 230px;
  white-space: nowrap;
}

.calc-action::after {
  content: "↗";
  display: inline-flex;
  flex: 0 0 auto;
  margin-left: 7px;
  font-size: 0.95em;
  line-height: 1;
  white-space: nowrap;
}

.service-copy {
  margin-top: clamp(42px, 7vw, 96px);
  padding-top: clamp(36px, 6vw, 82px);
  border-top: 1px solid rgba(21, 51, 45, 0.1);
}

.service-heading {
  max-width: 960px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.service-journey {
  position: relative;
  width: 100%;
  height: clamp(540px, 45vw, 660px);
  overflow: hidden;
  margin-top: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(21, 51, 45, 0.1);
  border-radius: 18px;
  padding: 7px;
  background: #f3f8f6;
  box-shadow: 0 22px 58px rgba(21, 51, 45, 0.08);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease 140ms, transform 560ms ease 140ms;
  isolation: isolate;
}

.service-panorama {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 720ms ease 520ms, transform 720ms ease 520ms;
}

.service-panorama img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  transition: transform 520ms ease;
}

.service-journey[data-active-stage="1"] .service-panorama img { transform: translateX(0.7%); }
.service-journey[data-active-stage="3"] .service-panorama img { transform: translateX(-0.7%); }

.service-route-layer {
  position: absolute;
  z-index: 3;
  right: 1.5%;
  bottom: 1.5%;
  left: 1.5%;
  width: 97%;
  height: 150px;
  overflow: visible;
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms ease 650ms;
}

.service-route-emphasis {
  fill: none;
  stroke: var(--ayan);
  stroke-width: 6;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity 220ms ease;
}

.service-journey[data-active-stage="1"] [data-service-route-stage="1"],
.service-journey[data-active-stage="2"] [data-service-route-stage="2"],
.service-journey[data-active-stage="3"] [data-service-route-stage="3"] {
  opacity: 0.82;
}

.service-cargo-marker {
  opacity: 0;
  transition: opacity 180ms ease;
}

.service-copy.is-service-visible .service-heading,
.service-copy.is-service-visible .service-journey,
.service-copy.is-service-visible .service-panorama,
.service-copy.is-service-visible .service-route-layer {
  opacity: 1;
  transform: translateY(0);
}

.service-copy.is-cargo-moving .service-cargo-marker,
.service-copy.is-cargo-complete .service-cargo-marker {
  opacity: 1;
}

.service-stages {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 9px;
  height: 100%;
}

.service-stage {
  position: relative;
  min-width: 0;
  flex: 1 1 0;
  overflow: hidden;
  border: 1px solid rgba(21, 51, 45, 0.13);
  border-radius: 13px;
  padding: clamp(18px, 2vw, 26px);
  background:
    linear-gradient(180deg, rgba(250, 253, 252, 0.98) 0%, rgba(250, 253, 252, 0.92) 21%, rgba(250, 253, 252, 0.14) 41%, rgba(250, 253, 252, 0.04) 68%, rgba(250, 253, 252, 0.88) 87%, rgba(250, 253, 252, 0.97) 100%);
  opacity: 0;
  transform: translateY(14px);
  transition: flex-grow 420ms cubic-bezier(0.22, 0.78, 0.2, 1), opacity 320ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 460ms ease;
  outline: none;
}

.service-stage:nth-child(1) { transition-delay: 260ms, 260ms, 0ms, 0ms, 260ms; }
.service-stage:nth-child(2) { transition-delay: 330ms, 330ms, 0ms, 0ms, 330ms; }
.service-stage:nth-child(3) { transition-delay: 400ms, 400ms, 0ms, 0ms, 400ms; }

.service-copy.is-service-visible .service-stage {
  opacity: 1;
  transform: translateY(0);
}

.service-copy.is-service-settled .service-stage {
  transition-delay: 0ms;
}

.service-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent 42%);
  pointer-events: none;
}

.service-stage-header {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.service-stage-header img {
  width: 38px;
  height: 38px;
  opacity: 0.64;
  transition: opacity 220ms ease, transform 220ms ease;
}

.service-stage-number {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(18, 155, 131, 0.28);
  border-radius: 50%;
  color: var(--ayan);
  background: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 650;
}

.service-stage h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 29px);
  line-height: 1.08;
}

.service-stage > p {
  position: absolute;
  right: clamp(18px, 2vw, 26px);
  bottom: clamp(56px, 4.6vw, 70px);
  left: clamp(18px, 2vw, 26px);
  margin: 0;
  color: rgba(21, 51, 45, 0.78);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 600;
  line-height: 1.45;
}

.service-stage-media,
.service-route-mobile {
  display: none;
}

.service-journey[data-active-stage] .service-stage:not(.is-active) {
  opacity: 0.7;
}

.service-stage.is-active {
  flex-grow: 1.42;
  border-color: rgba(18, 155, 131, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.68), 0 16px 40px rgba(21, 51, 45, 0.08);
}

.service-stage.is-active .service-stage-header img {
  opacity: 1;
  transform: translateY(-2px);
}

.service-stage:focus-visible {
  border-color: var(--ayan);
  box-shadow: inset 0 0 0 2px rgba(18, 155, 131, 0.2), 0 0 0 3px rgba(248, 251, 248, 0.95);
}

.service-cta,
.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin-top: clamp(24px, 4vw, 48px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 248, 234, 0.42)),
    rgba(255, 255, 255, 0.52);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(1.22);
}

.service-cta h3 {
  margin: 0 0 8px;
  font-size: clamp(30px, 3vw, 46px);
}

.service-cta p:not(.eyebrow),
.final-cta p {
  margin: 0;
  color: rgba(21, 51, 45, 0.78);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 600;
  line-height: 1.55;
}

.final-cta {
  margin: 0;
  padding: clamp(42px, 7vw, 88px) var(--page-pad);
  border-width: 1px 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(84, 199, 178, 0.16), transparent 28rem),
    linear-gradient(180deg, rgba(238, 247, 242, 0.9), rgba(248, 251, 248, 0.96));
}

.final-cta h2 {
  margin-bottom: 14px;
  font-size: clamp(38px, 5vw, 78px);
  line-height: 0.98;
}

.final-action {
  min-height: 56px;
  padding-inline: 24px;
}

.map-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: var(--page-pad);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: var(--page-pad);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.form-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.form-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.52), transparent 24rem),
    rgba(21, 51, 45, 0.22);
  backdrop-filter: blur(18px) saturate(1.24);
}

.form-modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - var(--page-pad) * 2));
  max-height: calc(100svh - var(--page-pad) * 2);
  overflow: auto;
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: clamp(22px, 3vw, 36px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 234, 0.58)),
    rgba(255, 255, 255, 0.66);
  box-shadow: 0 34px 110px rgba(21, 51, 45, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(1.34);
}

.form-modal-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.98;
}

.form-modal-panel p:not(.eyebrow) {
  color: rgba(21, 51, 45, 0.78);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.48;
}

.mini-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.mini-form label {
  display: grid;
  gap: 7px;
  color: rgba(21, 51, 45, 0.72);
  font-size: 14px;
  font-weight: 680;
}

.mini-form input,
.mini-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(21, 51, 45, 0.13);
  border-radius: 16px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
  outline: none;
}

.mini-form input:focus,
.mini-form select:focus {
  border-color: rgba(18, 155, 131, 0.46);
  box-shadow: 0 0 0 4px rgba(18, 155, 131, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.consent-line {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  color: rgba(21, 51, 45, 0.66);
  font-size: 13px;
  line-height: 1.35;
}

.consent-line input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  padding: 0;
}

.download-result {
  justify-self: start;
}

.checklist-panel .primary-action,
.checklist-panel .download-result {
  justify-self: center;
}

.form-status {
  min-height: 18px;
  color: rgba(18, 155, 131, 0.94);
  font-size: 13px;
  font-weight: 680;
}

.map-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.map-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 26% 24%, rgba(255, 255, 255, 0.52), transparent 24rem),
    radial-gradient(circle at 82% 62%, rgba(84, 199, 178, 0.22), transparent 30rem),
    linear-gradient(135deg, rgba(217, 239, 241, 0.38), rgba(255, 248, 234, 0.24)),
    rgba(21, 51, 45, 0.18);
  backdrop-filter: blur(18px) saturate(1.25);
}

.map-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100vw - var(--page-pad) * 2));
  max-height: calc(100svh - var(--page-pad) * 2);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(420px, 0.8fr);
  gap: clamp(16px, 2vw, 26px);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: clamp(26px, 4vw, 46px);
  padding: clamp(12px, 1.8vw, 22px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 248, 234, 0.34)),
    rgba(255, 255, 255, 0.46);
  box-shadow: 0 34px 120px rgba(21, 51, 45, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(28px) saturate(1.38);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.32s ease;
}

.map-modal.is-open .map-modal-panel {
  transform: translateY(0) scale(1);
}

.map-modal.is-cargo .map-modal-panel {
  width: min(860px, calc(100vw - var(--page-pad) * 2));
  grid-template-columns: 1fr;
}

.map-modal.is-cargo .route-info-pane {
  max-height: calc(100svh - var(--page-pad) * 2 - 44px);
  background:
    radial-gradient(circle at 12% 10%, rgba(84, 199, 178, 0.18), transparent 15rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(231, 247, 250, 0.54)),
    rgba(255, 255, 255, 0.62);
}

.route-map-pane {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(360px, 1fr) auto;
  gap: 12px;
  min-height: min(600px, calc(100svh - var(--page-pad) * 2 - 44px));
  overflow: hidden;
  border-radius: clamp(22px, 3vw, 36px);
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(231, 247, 250, 0.68), rgba(255, 248, 234, 0.28)),
    rgba(255, 255, 255, 0.35);
}

.route-map-pane::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(21, 51, 45, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 51, 45, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), #000 24%, #000 72%, rgba(0, 0, 0, 0.2));
}

.route-map-pane[hidden] {
  display: none;
}

.route-modal-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(21, 51, 45, 0.72);
  font-size: 14px;
  font-weight: 680;
}

.route-modal-topline span {
  min-width: 0;
}

#modal-route-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.route-info-pane {
  position: relative;
  max-height: min(640px, calc(100svh - var(--page-pad) * 2 - 44px));
  overflow: auto;
  border-radius: clamp(22px, 3vw, 36px);
  padding: clamp(20px, 2.4vw, 30px);
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 255, 255, 0.68), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 248, 234, 0.5)),
    rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.route-info-pane h2 {
  max-width: 780px;
  margin-bottom: 10px;
  font-size: clamp(30px, 3.2vw, 50px);
  line-height: 1;
}

.route-info-pane p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(21, 51, 45, 0.78);
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 600;
  line-height: 1.42;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 234, 0.72)),
    rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 16px 38px rgba(21, 51, 45, 0.2);
  cursor: pointer;
  backdrop-filter: blur(16px) saturate(1.25);
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.modal-close:hover,
.modal-close:focus {
  border-color: rgba(18, 155, 131, 0.32);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(255, 248, 234, 0.84)),
    rgba(255, 255, 255, 0.94);
}

.modal-map-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(21, 51, 45, 0.12);
  border-radius: clamp(18px, 2.4vw, 30px);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 18px 48px rgba(21, 51, 45, 0.08);
}

.modal-map-shell iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-map-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-map-meta small {
  color: rgba(21, 51, 45, 0.62);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.modal-map-meta a {
  flex: 0 0 auto;
  color: var(--ayan-dark);
  font-size: 14px;
  font-weight: 680;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.modal-map-meta a[hidden] {
  display: none;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(190px, 0.9fr) minmax(260px, 1fr) minmax(190px, 0.9fr);
  align-items: center;
  gap: 24px;
  min-height: clamp(140px, 16vw, 220px);
  padding: var(--footer-pad-y) var(--page-pad);
  border-top: 1px solid var(--glass-border);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(231, 247, 250, 0.34)),
    rgba(238, 247, 242, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(1.35);
}

.footer-brand span,
.footer-contact {
  color: rgba(21, 51, 45, 0.72);
  font-weight: 650;
}

.footer-contact {
  display: grid;
  justify-items: end;
  gap: 8px;
}


.process-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(26px, 4vw, 46px);
}

.process-strip article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(20px, 2.4vw, 30px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 248, 234, 0.44)),
    rgba(255, 255, 255, 0.54);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px) saturate(1.18);
}

.process-strip article::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(84, 199, 178, 0.16), transparent 16rem);
}

.process-strip article > * {
  position: relative;
  z-index: 1;
}

.process-strip span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--ayan);
  font-weight: 700;
}

.process-strip h3 {
  margin: 24px 0 10px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.04;
}

.process-strip p {
  margin-bottom: 0;
  color: rgba(21, 51, 45, 0.78);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 600;
  line-height: 1.55;
}

@keyframes routeSignal {
  to {
    stroke-dashoffset: -440;
  }
}

@keyframes beaconPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.84);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@media (max-width: 1080px) {
  .site-header,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: absolute;
    gap: 14px;
    padding-block: 14px;
  }

  .main-nav {
    order: 3;
    justify-content: start;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 4px;
  }

  .header-cta,
  .footer-contact {
    justify-self: start;
    justify-items: start;
  }

  .route-scene {
    width: 100%;
  }

  .hero-copy {
    max-width: 600px;
  }

  .map-drawer {
    top: auto;
    right: var(--page-pad);
    bottom: 28px;
  }

  .route-cards,
  .process-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .brand span,
  .header-cta {
    display: none;
  }

  .map-hero {
    min-height: 920px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .map-scroll-block {
    position: relative;
    order: 1;
    left: auto;
    top: auto;
    flex: 0 0 auto;
    width: calc(100vw - var(--page-pad) * 2);
    margin: 10px 0 0;
    max-height: min(58svh, 520px);
    overflow: auto;
    overscroll-behavior: contain;
    touch-action: pan-x pan-y;
    transform: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(18, 155, 131, 0.42) rgba(255, 255, 255, 0.42);
  }

  .route-scene {
    width: max(980px, 220vw);
    min-width: 980px;
  }

  .hero-copy {
    position: relative;
    left: auto;
    bottom: auto;
    order: 2;
    max-width: 100%;
    padding-top: 36px;
  }

  h1 {
    max-width: 320px;
    font-size: clamp(34px, 11vw, 54px);
  }

  .hero-note {
    max-width: 320px;
  }

  .drawer-facts div,
  .cargo-manifest,
  .route-cards,
  .process-strip,
  .service-cta,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .service-cta .primary-action,
  .final-cta .primary-action {
    justify-self: start;
  }

  .city text {
    font-size: 15px;
  }

  .map-modal {
    align-items: end;
    padding: 12px;
  }

  .form-modal {
    align-items: end;
    padding: 12px;
  }

  .form-modal-panel {
    width: 100%;
    max-height: calc(100svh - 24px);
    border-radius: 28px;
  }

  .map-modal-panel,
  .map-modal.is-cargo .map-modal-panel {
    width: 100%;
    max-height: calc(100svh - 24px);
    grid-template-columns: 1fr;
    gap: 10px;
    border-radius: 28px;
    overflow: auto;
  }

  .route-map-pane {
    min-height: 360px;
    grid-template-rows: auto 320px auto;
  }

  .modal-map-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .route-info-pane {
    max-height: calc(100svh - 160px);
    overflow: auto;
  }

  .modal-close {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }

  #modal-route-pill {
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 940px) and (orientation: landscape) {
  .site-header {
    grid-template-columns: minmax(180px, 1fr) auto;
    gap: 8px 18px;
    padding-block: 8px;
  }
  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
  }
  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    order: initial;
  }
  .header-cta {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: end;
  }
  .map-hero {
    min-height: 720px;
  }

  .map-scroll-block {
    max-height: 62svh;
  }

  .route-scene {
    width: max(1040px, 172vw);
    min-width: 1040px;
  }

  .hero-copy {
    max-width: min(460px, 74vw);
    padding: 18px;
  }

  h1 {
    font-size: clamp(30px, 7vw, 46px);
  }
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border: 1px solid var(--ayan);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, input, select, [role="button"]):focus-visible {
  outline: 3px solid rgba(18, 155, 131, 0.46);
  outline-offset: 3px;
}

button:disabled {
  cursor: wait;
  opacity: 0.64;
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.field-help {
  display: block;
  margin-top: -10px;
  color: rgba(21, 51, 45, 0.62);
  font-size: 13px;
}

.consent-line a {
  color: var(--ayan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  overflow-wrap: anywhere;
}

.form-status.is-error {
  color: #a4382d;
}

.form-status.is-success {
  color: #08715e;
}

.site-footer nav {
  flex-wrap: wrap;
}

.footer-contact small {
  color: rgba(21, 51, 45, 0.55);
}

.noscript-note {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 100;
  margin: 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(21, 51, 45, 0.14);
}

.legal-page {
  min-height: 100svh;
  padding: calc(var(--header-h) + 48px) var(--page-pad) 72px;
  background:
    linear-gradient(180deg, rgba(217, 239, 241, 0.82), rgba(248, 251, 248, 0.96) 420px),
    var(--paper);
}

.legal-shell {
  width: min(880px, 100%);
  margin: 0 auto;
}

.legal-shell-wide {
  width: min(1180px, 100%);
}

.legal-shell h1 {
  max-width: 760px;
  margin: 12px 0 30px;
  font-size: clamp(38px, 6vw, 72px);
}

.legal-content {
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: var(--glass-strong);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(24px) saturate(1.28);
}

.legal-content h2 {
  margin: 34px 0 12px;
  font-size: clamp(23px, 3vw, 34px);
}

.legal-content p,
.legal-content li {
  line-height: 1.65;
}

.legal-content a {
  color: var(--ayan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-document-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.legal-document-actions > p {
  max-width: 650px;
  margin: 0;
  color: rgba(21, 51, 45, 0.72);
  font-weight: 600;
  line-height: 1.55;
}

.legal-document-actions > div {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.legal-document-actions .primary-action,
.legal-document-actions .secondary-action {
  width: auto;
  min-height: 48px;
  padding-inline: 18px;
  white-space: nowrap;
}

.legal-document-preview {
  display: grid;
  grid-template-columns: minmax(0, 740px) minmax(180px, 1fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: end;
  margin: 0;
  border-top: 1px solid rgba(21, 51, 45, 0.12);
  padding-top: clamp(22px, 4vw, 42px);
}

.legal-document-preview a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--glass-shadow);
}

.legal-document-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.legal-document-preview figcaption {
  padding-bottom: 6px;
  color: rgba(21, 51, 45, 0.68);
  font-weight: 600;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .legal-document-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .legal-document-actions > div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .legal-document-preview {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Landing interaction system v3 */
.map-heading {
  position: absolute;
  z-index: 3;
  top: calc(var(--header-h) + clamp(18px, 3vw, 34px));
  left: var(--page-pad);
  right: var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  pointer-events: none;
}

.map-heading .eyebrow {
  margin: 0;
  color: rgba(21, 51, 45, 0.72);
}

.map-legend {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(21, 51, 45, 0.64);
  font-size: 13px;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border: 2px solid var(--ayan);
  border-radius: 50%;
  background: var(--milk);
}

.legend-dot.is-partner {
  width: 8px;
  height: 8px;
  border-color: #6a8ea7;
  background: #ffffff;
}

.legend-line {
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: var(--ayan);
}

.route-layer,
.route-layer .road,
.selectable-point {
  transition: opacity 220ms ease, filter 220ms ease;
}

.road-signal,
.beacon-halo {
  animation: none;
}

.road-signal {
  opacity: 0.72;
  stroke-dasharray: 3 22;
}

.road-shadow-ussuriysk {
  stroke: rgba(21, 51, 45, 0.14);
  stroke-width: 15;
}

.road-core-ussuriysk {
  stroke: rgba(86, 148, 204, 0.86);
  stroke-width: 4;
}

.road-signal-ussuriysk {
  stroke: rgba(255, 248, 234, 0.96);
}

.motion-ready .route-draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.motion-ready .road-signal,
.motion-ready .city,
.motion-ready .route-beacon {
  opacity: 0;
}

.motion-ready .map-hero.is-map-visible .route-draw {
  animation: drawRoute 1.35s cubic-bezier(0.22, 0.78, 0.2, 1) forwards;
}

.motion-ready .map-hero.is-map-visible .route-layer[data-route="nsk"] .route-draw {
  animation-delay: 100ms;
}

.motion-ready .map-hero.is-map-visible .route-layer[data-route="ussuriysk"] .route-draw {
  animation-delay: 180ms;
}

.motion-ready .map-hero.is-map-visible .road-signal {
  opacity: 0.72;
  transition-delay: 1.05s;
  transition-duration: 320ms;
}

.motion-ready .map-hero.is-map-visible .city,
.motion-ready .map-hero.is-map-visible .route-beacon {
  opacity: 1;
  transition-duration: 360ms;
}

.motion-ready .map-hero.is-map-visible [data-point="moscow"] { transition-delay: 900ms; }
.motion-ready .map-hero.is-map-visible [data-point="nsk"] { transition-delay: 970ms; }
.motion-ready .map-hero.is-map-visible [data-point="yakutsk"] { transition-delay: 1040ms; }
.motion-ready .map-hero.is-map-visible [data-point="ussuriysk"] { transition-delay: 1110ms; }
.motion-ready .map-hero.is-map-visible .city-partner { transition-delay: 1180ms; }
.motion-ready .map-hero.is-map-visible .route-beacon { transition-delay: 1240ms; }

.motion-ready .map-hero.is-map-visible .russia-asset {
  animation: mapBreath 7s ease-out forwards;
  transform-origin: center;
}

.city circle,
.route-beacon circle {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 200ms ease, fill 200ms ease, stroke 200ms ease, opacity 200ms ease;
}

.city .hit-target,
.route-beacon .hit-target,
.city:hover .hit-target,
.city:focus .hit-target,
.city.is-active .hit-target,
.route-beacon:hover .hit-target,
.route-beacon:focus .hit-target,
.route-beacon.is-active .hit-target {
  fill: rgba(255, 255, 255, 0.001);
  stroke: transparent;
  filter: none;
  transform: none;
  pointer-events: all;
}

.city text {
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.city:hover circle,
.city:focus circle,
.city.is-active circle {
  transform: scale(1.18);
}

.city:hover text,
.city:focus text,
.city.is-active text {
  opacity: 1;
  transform: translateY(0);
}

.city-partner circle {
  fill: rgba(255, 255, 255, 0.94);
  stroke: #6a8ea7;
  stroke-width: 1.5;
}

.city-partner text {
  fill: #355566;
  font-size: 12px;
  stroke-width: 3px;
}

.city-ussuriysk circle {
  stroke: #5694cc;
}

.beacon-core-ussuriysk {
  fill: #5694cc;
}

.route-beacon:hover circle,
.route-beacon:focus circle,
.route-beacon.is-active circle {
  transform: scale(1.15);
}

.route-layer.is-highlighted {
  opacity: 1;
  filter: saturate(1.12);
}

.route-layer.is-highlighted .road-core {
  stroke-width: 6;
}

.route-layer.is-muted,
.selectable-point.is-route-muted {
  opacity: 0.22 !important;
  filter: grayscale(0.28);
}

.map-pan-hint {
  display: none;
}

.hero-sequence > * {
  transition: opacity 520ms ease, transform 520ms ease;
}

.hero-copy {
  pointer-events: none;
}

.hero-copy a,
.hero-copy button {
  pointer-events: auto;
}

.motion-ready .hero-sequence > * {
  opacity: 0;
  transform: translateY(20px);
}

.motion-ready .is-map-visible .hero-sequence > * {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .is-map-visible .hero-sequence > :nth-child(1) { transition-delay: 80ms; }
.motion-ready .is-map-visible .hero-sequence > :nth-child(2) { transition-delay: 160ms; }
.motion-ready .is-map-visible .hero-sequence > :nth-child(3) { transition-delay: 240ms; }
.motion-ready .is-map-visible .hero-sequence > :nth-child(4) { transition-delay: 320ms; }
.motion-ready .is-map-visible .hero-sequence > :nth-child(5) { transition-delay: 380ms; }

.button-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button-arrow span {
  min-width: 0;
  white-space: nowrap;
}

.button-arrow i {
  flex: 0 0 auto;
  font-style: normal;
  line-height: 1;
  transition: transform 180ms ease;
}

.button-arrow:hover,
.button-arrow:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 17px 42px rgba(18, 155, 131, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.button-arrow:hover i,
.button-arrow:focus-visible i {
  transform: translateX(4px);
}

.button-arrow:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(18, 155, 131, 0.16);
}

.card-action {
  max-width: 100%;
  width: fit-content;
  min-width: 190px;
  overflow: hidden;
  font-size: 14px;
}

.calc-action::after {
  display: none;
}

.route-cards article {
  min-height: 398px;
}

.route-cards .route-index {
  display: inline-grid;
}

.route-cards .button-arrow span {
  display: inline;
  width: auto;
  height: auto;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-weight: 650;
}

.tariff-section,
.partner-section {
  margin-top: clamp(70px, 10vw, 140px);
  padding-top: clamp(44px, 6vw, 80px);
  border-top: 1px solid rgba(21, 51, 45, 0.11);
}

.tariff-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.36fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.tariff-intro,
.partner-intro {
  max-width: 580px;
}

.tariff-intro h2,
.partner-intro h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1;
}

.tariff-intro p:not(.eyebrow),
.partner-intro p:not(.eyebrow) {
  color: rgba(21, 51, 45, 0.74);
  font-size: 17px;
  line-height: 1.56;
}

.tariff-table-shell {
  overflow-x: auto;
  border-block: 1px solid rgba(21, 51, 45, 0.12);
}

.tariff-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.tariff-table th {
  padding: 14px 12px;
  color: rgba(21, 51, 45, 0.54);
  font-size: 11px;
  text-transform: uppercase;
}

.tariff-table td {
  padding: 17px 12px;
  border-top: 1px solid rgba(21, 51, 45, 0.09);
  color: rgba(21, 51, 45, 0.78);
  line-height: 1.35;
}

.tariff-table td:first-child,
.tariff-table td:nth-child(4),
.tariff-table td:nth-child(5) {
  color: var(--ink);
  font-weight: 650;
}

.partner-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  grid-template-areas: "intro tabs" "intro detail";
  gap: 22px clamp(28px, 5vw, 72px);
}

.partner-intro { grid-area: intro; }

.partner-switcher {
  grid-area: tabs;
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding: 5px;
  border: 1px solid rgba(21, 51, 45, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
}

.partner-switcher button,
.location-tabs button {
  min-height: 42px;
  flex: 1 0 auto;
  border: 0;
  border-radius: 6px;
  padding: 0 14px;
  color: rgba(21, 51, 45, 0.64);
  background: transparent;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.partner-switcher button[aria-selected="true"],
.location-tabs button[aria-selected="true"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(21, 51, 45, 0.08);
}

.partner-detail {
  grid-area: detail;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 170px;
  padding: 30px 0;
  border-block: 1px solid rgba(21, 51, 45, 0.1);
}

.partner-detail.is-changing > * {
  animation: detailReveal 360ms ease both;
}

.partner-number {
  margin: 0;
  color: var(--ayan);
  font-weight: 650;
}

.partner-detail h3 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 42px);
}

.partner-detail div p {
  max-width: 620px;
  margin: 0;
  color: rgba(21, 51, 45, 0.72);
  line-height: 1.5;
}

.partner-detail .calc-action,
.partner-modal-content .calc-action {
  min-height: 48px;
  border: 1px solid rgba(21, 51, 45, 0.12);
  border-radius: 999px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 650;
}

.motion-ready .reveal-on-scroll,
.motion-ready .stagger-group {
  opacity: 0;
  transform: translateY(22px);
}

.motion-ready .reveal-on-scroll.is-visible,
.motion-ready .stagger-group.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

.motion-ready .stagger-group > * {
  opacity: 0;
  transform: translateY(18px);
}

.motion-ready .stagger-group.is-visible > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 460ms ease, transform 460ms ease;
}

.motion-ready .stagger-group.is-visible > :nth-child(2) { transition-delay: 70ms; }
.motion-ready .stagger-group.is-visible > :nth-child(3) { transition-delay: 140ms; }

.map-modal-panel {
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, 0.82fr);
  grid-template-areas: "back back" "tabs tabs" "map info";
  align-items: stretch;
  padding-top: 18px;
}

.modal-back {
  grid-area: back;
  justify-self: start;
  min-height: 34px;
  border: 0;
  padding: 0;
  color: rgba(21, 51, 45, 0.66);
  background: transparent;
  font-size: 14px;
}

.modal-back span {
  display: inline-block;
  margin-right: 6px;
  transition: transform 180ms ease;
}

.modal-back:hover span {
  transform: translateX(-4px);
}

.location-tabs {
  grid-area: tabs;
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding: 5px;
  border: 1px solid rgba(21, 51, 45, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
}

.location-tabs[hidden] {
  display: none;
}

.route-map-pane {
  grid-area: map;
  grid-template-rows: minmax(360px, 1fr) auto;
  min-height: min(590px, calc(100svh - var(--page-pad) * 2 - 100px));
}

.route-info-pane {
  grid-area: info;
}

.modal-route-button {
  position: relative;
  z-index: 1;
  justify-self: start;
  min-height: 48px;
  border: 1px solid rgba(21, 51, 45, 0.11);
  border-radius: 999px;
  padding: 0 20px;
  color: #ffffff;
  background: var(--ayan);
  box-shadow: 0 14px 34px rgba(18, 155, 131, 0.2);
  font-weight: 650;
}

#drawer-address-link {
  text-decoration-color: transparent;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

#drawer-address-link:hover,
#drawer-address-link:focus-visible {
  color: var(--ayan);
  text-decoration-color: currentColor;
}

.map-modal.is-cargo .map-modal-panel,
.map-modal.is-partner .map-modal-panel {
  width: min(960px, calc(100vw - var(--page-pad) * 2));
  grid-template-columns: 1fr;
  grid-template-areas: "back" "info";
}

.map-modal.is-partner .route-info-pane {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partner-modal-content {
  margin-top: 22px;
}

.cargo-manifest {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.cargo-manifest div {
  min-height: 94px;
  border-radius: 8px;
  box-shadow: none;
}

.cargo-manifest .cargo-feature {
  grid-column: span 2;
  background: rgba(18, 155, 131, 0.09);
}

.hint-mark {
  border: 1px solid rgba(18, 155, 131, 0.32);
  padding: 0;
}

.route-map-pane,
.route-info-pane {
  opacity: 0;
  transform: translateY(20px);
}

.route-info-pane > .eyebrow,
.route-info-pane > h2,
.route-info-pane > p,
.route-info-pane > dl,
.route-info-pane > .partner-modal-content,
.route-info-pane > .drawer-action-row {
  opacity: 0;
  transform: translateY(12px);
}

.map-modal.is-content-ready .route-map-pane,
.map-modal.is-content-ready .route-info-pane {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 340ms ease, transform 380ms ease;
}

.map-modal.is-content-ready .route-info-pane > .eyebrow,
.map-modal.is-content-ready .route-info-pane > h2,
.map-modal.is-content-ready .route-info-pane > p,
.map-modal.is-content-ready .route-info-pane > dl,
.map-modal.is-content-ready .route-info-pane > .partner-modal-content,
.map-modal.is-content-ready .route-info-pane > .drawer-action-row {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 220ms ease, transform 250ms ease;
}

.map-modal.is-content-ready .route-info-pane > .eyebrow { transition-delay: 40ms; }
.map-modal.is-content-ready .route-info-pane > h2 { transition-delay: 80ms; }
.map-modal.is-content-ready .route-info-pane > p { transition-delay: 120ms; }
.map-modal.is-content-ready .route-info-pane > dl { transition-delay: 170ms; }
.map-modal.is-content-ready .route-info-pane > .partner-modal-content,
.map-modal.is-content-ready .route-info-pane > .drawer-action-row { transition-delay: 220ms; }

.form-progress {
  margin: 24px 0 8px;
}

.form-progress > span {
  display: block;
  margin-bottom: 8px;
  color: rgba(21, 51, 45, 0.58);
  font-size: 13px;
}

.form-progress > div {
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(21, 51, 45, 0.1);
}

.form-progress i {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--ayan);
  transition: width 320ms ease;
}

.form-step {
  display: grid;
  gap: 12px;
}

.form-step.is-active {
  animation: formStepReveal 360ms ease both;
}

.field-error {
  display: block;
  min-height: 16px;
  margin-top: -8px;
  color: #a4382d;
  font-size: 12px;
}

.mini-form [aria-invalid="true"] {
  border-color: rgba(164, 56, 45, 0.54);
  box-shadow: 0 0 0 3px rgba(164, 56, 45, 0.08);
}

.form-button-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
}

.lead-panel .primary-action,
.lead-panel .secondary-action {
  min-height: 50px;
}

.primary-action.is-loading i {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: buttonSpin 700ms linear infinite;
}

.lead-success {
  padding: 26px 0 8px;
  animation: successReveal 480ms ease both;
}

.success-check {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--ayan);
  font-size: 24px;
}

.lead-success h3 {
  margin-bottom: 8px;
  font-size: clamp(30px, 4vw, 48px);
}

.lead-success ol {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.lead-success li {
  position: relative;
  min-height: 44px;
  padding: 8px 0 8px 34px;
  color: rgba(21, 51, 45, 0.64);
}

.lead-success li::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 4px;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(21, 51, 45, 0.18);
  border-radius: 50%;
}

.lead-success li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 27px;
  bottom: -13px;
  left: 10px;
  width: 1px;
  background: rgba(21, 51, 45, 0.14);
}

.lead-success li.is-done {
  color: var(--ink);
  font-weight: 650;
}

.lead-success li.is-done::before {
  border-color: var(--ayan);
  background: var(--ayan);
}

@keyframes drawRoute { to { stroke-dashoffset: 0; } }
@keyframes mapBreath { from { transform: scale(1); } to { transform: scale(1.025); } }
@keyframes detailReveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes formStepReveal { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
@keyframes successReveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes buttonSpin { to { transform: rotate(360deg); } }

.modal-map-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: auto auto;
  place-content: center;
  align-items: center;
  gap: 10px;
  color: rgba(21, 51, 45, 0.68);
  background: rgba(247, 244, 226, 0.96);
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
  pointer-events: none;
}

.modal-map-loading span {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(18, 160, 133, 0.22);
  border-top-color: var(--ayan);
  border-radius: 50%;
  animation: buttonSpin 700ms linear infinite;
}

.modal-map-shell.is-loading .modal-map-loading {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1080px) {
  .map-legend { display: none; }
  .tariff-section,
  .partner-section {
    grid-template-columns: 1fr;
  }
  .partner-section {
    grid-template-areas: "intro" "tabs" "detail";
  }
  .cargo-manifest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .map-hero {
    min-height: auto;
    gap: 14px;
    padding-top: 174px;
    padding-bottom: 44px;
  }
  .map-heading {
    position: relative;
    order: 0;
    inset: auto;
    min-height: 24px;
  }
  .map-heading .eyebrow {
    font-size: 12px;
  }
  .map-scroll-block {
    order: 1;
    width: 100%;
    height: min(68svh, 560px);
    min-height: 390px;
    max-height: none;
    margin-top: 0;
    border-block: 1px solid rgba(21, 51, 45, 0.1);
    background: rgba(255, 255, 255, 0.18);
  }
  .route-scene {
    width: max(1020px, 244vw);
    min-width: 1020px;
    height: auto;
  }
  .hero-copy {
    order: 2;
    padding-top: 22px;
    border-radius: 18px;
  }
  .hero-copy .eyebrow {
    font-size: 11px;
  }
  .map-pan-hint {
    order: 1;
    display: block;
    align-self: center;
    margin: -2px 0 0;
    color: rgba(21, 51, 45, 0.54);
    font-size: 12px;
  }
  .button-arrow span { white-space: normal; }
  .hero-actions .button-arrow span,
  .card-action span,
  .modal-route-button span { white-space: nowrap; }
  .route-cards article { min-height: 360px; }
  .tariff-section,
  .partner-section { margin-top: 78px; }
  .partner-detail {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .partner-detail .calc-action { justify-self: start; }
  .map-modal-panel,
  .map-modal.is-cargo .map-modal-panel,
  .map-modal.is-partner .map-modal-panel {
    grid-template-columns: 1fr;
    grid-template-areas: "back" "tabs" "map" "info";
    overflow: auto;
  }
  .map-modal.is-cargo .map-modal-panel,
  .map-modal.is-partner .map-modal-panel { grid-template-areas: "back" "info"; }
  .modal-back { padding-left: 4px; }
  .location-tabs { width: calc(100% - 58px); }
  .route-map-pane {
    min-height: 430px;
    grid-template-rows: 340px auto;
  }
  .route-info-pane {
    max-height: none;
    overflow: visible;
    border-radius: 20px;
  }
  .modal-route-button {
    width: 100%;
    justify-self: stretch;
  }
  .cargo-manifest { grid-template-columns: 1fr; }
  .cargo-manifest .cargo-feature { grid-column: auto; }
  .drawer-action-row .drawer-action { width: 100%; }
  .form-button-row { grid-template-columns: 1fr; }
}

@media (max-width: 940px) and (orientation: landscape) {
  .map-hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-x: hidden;
    overflow-y: visible;
    padding-top: 116px;
    padding-bottom: 40px;
  }
  .map-heading {
    position: relative;
    order: 0;
    inset: auto;
  }
  .map-scroll-block {
    position: relative;
    order: 1;
    left: auto;
    top: auto;
    width: 100%;
    margin: 0;
    overflow: auto;
    overscroll-behavior: contain;
    touch-action: pan-x pan-y;
    transform: none;
  }
  .map-scroll-block {
    height: 72svh;
    min-height: 340px;
    max-height: none;
  }
  .route-scene {
    width: 1040px;
    min-width: 1040px;
  }
  .hero-copy {
    position: relative;
    order: 2;
    left: auto;
    bottom: auto;
    max-width: min(520px, 76vw);
    padding: 18px;
  }
  .map-pan-hint {
    order: 1;
    display: block;
    align-self: center;
    margin: 0;
    color: rgba(21, 51, 45, 0.54);
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .route-draw {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
  .motion-ready .road-signal,
  .motion-ready .city,
  .motion-ready .route-beacon,
  .motion-ready .hero-sequence > *,
  .motion-ready .reveal-on-scroll,
  .motion-ready .stagger-group,
  .motion-ready .stagger-group > *,
  .route-map-pane,
  .route-info-pane,
  .route-info-pane > * {
    opacity: 1;
    transform: none;
  }
  .motion-ready .map-hero.is-map-visible .route-draw,
  .motion-ready .map-hero.is-map-visible .russia-asset,
  .partner-detail.is-changing > *,
  .form-step.is-active,
  .lead-success,
  .primary-action.is-loading i,
  .modal-map-loading span {
    animation: none;
  }
}

/* Network map controller and departure-route states */
.map-network-control {
  width: min(720px, 68vw);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 16px;
  padding: 11px 13px 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(244, 251, 249, 0.56)),
    rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 48px rgba(21, 51, 45, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(22px) saturate(1.28);
  pointer-events: auto;
}

.map-legend {
  justify-content: flex-end;
  gap: 14px;
  min-height: 24px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(21, 51, 45, 0.09);
  font-size: 12px;
  font-weight: 700;
}

.legend-dot.is-warehouse {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 248, 234, 0.98);
  background: var(--ayan);
  box-shadow: 0 0 0 1px rgba(18, 155, 131, 0.42);
}

.legend-dot.is-departure {
  width: 10px;
  height: 10px;
  border: 1.5px solid #597f96;
  background: transparent;
  box-shadow: 0 0 0 3px rgba(89, 127, 150, 0.1);
}

.map-city-groups {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 8px 18px;
  padding-top: 9px;
}

.map-city-group {
  min-width: 0;
}

.map-city-group > strong {
  display: block;
  margin-bottom: 5px;
  color: rgba(21, 51, 45, 0.48);
  font-size: 10px;
  font-weight: 620;
  text-transform: uppercase;
}

.map-city-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 5px;
}

.map-city-group button {
  min-height: 32px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 8px;
  color: rgba(21, 51, 45, 0.7);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.map-city-group button:hover,
.map-city-group button:focus-visible,
.map-city-group button.is-active {
  border-color: rgba(18, 155, 131, 0.16);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  outline: none;
}

.map-city-group button:active {
  transform: translateY(1px);
}

.city-warehouse .warehouse-node {
  fill: var(--ayan);
  stroke: rgba(255, 248, 234, 0.98);
  stroke-width: 2;
}

.city-warehouse .warehouse-core {
  fill: var(--milk);
  stroke: none;
  filter: none;
}

.city-partner .partner-ring {
  fill: rgba(255, 255, 255, 0.04);
  stroke: rgba(89, 127, 150, 0.38);
  stroke-width: 1;
  filter: none;
}

.city-partner .partner-node {
  fill: rgba(255, 255, 255, 0.94);
  stroke: #597f96;
  stroke-width: 1.5;
}

.city-yakutsk .yakutsk-ring {
  fill: rgba(242, 163, 58, 0.08);
  stroke: rgba(242, 163, 58, 0.52);
  stroke-width: 1.2;
  filter: none;
  animation: yakutskCalmGlow 4.8s ease-in-out infinite;
}

.city-yakutsk .yakutsk-node {
  fill: var(--milk);
  stroke: var(--amber);
  stroke-width: 2.2;
}

.city-yakutsk .yakutsk-core {
  fill: var(--amber);
  stroke: none;
  filter: none;
}

.city-warehouse:hover .warehouse-node,
.city-warehouse:focus .warehouse-node,
.city-warehouse.is-active .warehouse-node,
.city-warehouse.is-legend-hover .warehouse-node,
.city-yakutsk:hover .yakutsk-node,
.city-yakutsk:focus .yakutsk-node,
.city-yakutsk.is-active .yakutsk-node,
.city-yakutsk.is-legend-hover .yakutsk-node {
  fill: var(--ayan);
  stroke: var(--milk);
  transform: scale(1.12);
}

.city-partner:hover .partner-node,
.city-partner:focus .partner-node,
.city-partner.is-active .partner-node,
.city-partner.is-legend-hover .partner-node {
  fill: #597f96;
  stroke: var(--milk);
  transform: scale(1.16);
}

.city-partner:hover .partner-ring,
.city-partner:focus .partner-ring,
.city-partner.is-active .partner-ring,
.city-partner.is-legend-hover .partner-ring {
  animation: partnerInteraction 760ms ease-out both;
}

.city.is-legend-hover text {
  opacity: 1;
  transform: translateY(0);
}

.beacon-halo {
  animation: beaconPulse 5.2s ease-in-out infinite;
}

.route-layer.is-muted {
  opacity: 0.28 !important;
}

.selectable-point.is-route-muted {
  opacity: 0.38 !important;
  filter: grayscale(0.2);
}

.temporary-route-layer {
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.temporary-route-layer.is-active {
  opacity: 1;
}

.temporary-route-shadow,
.temporary-route-connector,
.temporary-motion-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.temporary-route-shadow {
  stroke: rgba(21, 51, 45, 0.12);
  stroke-width: 9;
  transition: stroke-dashoffset 680ms cubic-bezier(0.22, 0.78, 0.2, 1);
}

.temporary-route-connector {
  stroke: rgba(18, 155, 131, 0.72);
  stroke-width: 2.6;
  transition: stroke-dashoffset 680ms cubic-bezier(0.22, 0.78, 0.2, 1);
}

.temporary-route-layer.is-building .temporary-route-shadow,
.temporary-route-layer.is-building .temporary-route-connector {
  stroke-dashoffset: 0 !important;
}

.temporary-motion-path {
  stroke: transparent;
  stroke-width: 1;
}

.temporary-cargo {
  filter: drop-shadow(0 0 9px rgba(18, 155, 131, 0.56));
  opacity: 1;
  transition: opacity 170ms ease;
}

.temporary-cargo-halo {
  fill: rgba(255, 248, 234, 0.24);
  stroke: rgba(255, 248, 234, 0.9);
  stroke-width: 1;
}

.temporary-cargo-core {
  fill: var(--ayan);
  stroke: var(--milk);
  stroke-width: 1;
}

.temporary-route-layer.is-arrived .temporary-cargo {
  opacity: 0;
}

.partner-detail {
  align-items: start;
  min-height: 290px;
}

.partner-detail .partner-lead,
.partner-detail .partner-note,
.partner-modal-note {
  max-width: 680px;
  color: rgba(21, 51, 45, 0.7);
  line-height: 1.48;
}

#partner-detail-list,
#partner-modal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 18px;
  margin: 15px 0;
  padding: 0;
  list-style: none;
}

#partner-detail-list li,
#partner-modal-list li {
  position: relative;
  padding-left: 14px;
  color: rgba(21, 51, 45, 0.82);
  font-size: 14px;
  line-height: 1.38;
}

#partner-detail-list li::before,
#partner-modal-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ayan);
}

.partner-detail .calc-action,
.partner-modal-content .calc-action {
  width: min(100%, 300px);
  min-width: 0;
  align-self: start;
  overflow: visible;
  color: var(--ink);
}

.partner-detail .calc-action span,
.partner-modal-content .calc-action span {
  white-space: normal;
}

.map-modal.is-partner .route-info-pane {
  min-width: 0;
  min-height: 0;
  max-height: min(720px, calc(100svh - var(--page-pad) * 2 - 88px));
  justify-content: flex-start;
  overflow: auto;
}

.map-modal.is-partner .route-info-pane > p {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.map-modal.is-partner .map-modal-backdrop {
  background: rgba(238, 247, 242, 0.12);
  backdrop-filter: blur(4px) saturate(1.08);
}

.partner-modal-switcher {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  margin: 0 0 20px;
  padding: 4px;
  border-block: 1px solid rgba(21, 51, 45, 0.1);
}

.partner-modal-switcher button {
  min-height: 38px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 6px;
  padding: 0 10px;
  color: rgba(21, 51, 45, 0.62);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.partner-modal-switcher button:hover,
.partner-modal-switcher button:focus-visible,
.partner-modal-switcher button.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  outline: none;
}

@keyframes yakutskCalmGlow {
  0%, 100% { opacity: 0.58; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes partnerInteraction {
  from { opacity: 0.68; transform: scale(0.84); }
  to { opacity: 1; transform: scale(1.24); }
}

@keyframes beaconPulse {
  0%, 100% { opacity: 0.52; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 1080px) {
  .map-network-control {
    width: min(720px, 72vw);
  }

  .map-legend {
    display: flex;
  }
}

@media (max-width: 760px) {
  .map-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  .map-network-control {
    width: 100%;
    padding: 10px;
  }

  .map-legend {
    justify-content: flex-start;
    gap: 9px 13px;
    overflow-x: auto;
    font-size: 11px;
  }

  .map-city-groups {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .map-city-group > div {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .map-city-group button {
    min-height: 38px;
    flex: 0 0 auto;
    padding-inline: 11px;
  }

  .partner-detail {
    min-height: 0;
  }

  #partner-detail-list,
  #partner-modal-list {
    grid-template-columns: 1fr;
  }

  .partner-detail .calc-action,
  .partner-modal-content .calc-action {
    justify-self: stretch;
    width: 100%;
  }

  .map-modal.is-partner {
    place-items: end center;
    padding-top: 18svh;
  }

  .map-modal.is-partner .map-modal-panel {
    max-height: 82svh;
  }

  .map-modal.is-partner .route-info-pane {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 940px) and (orientation: landscape) {
  .map-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .map-network-control {
    width: 100%;
  }

  .map-city-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .city-yakutsk .yakutsk-ring,
  .city-partner:hover .partner-ring,
  .city-partner:focus .partner-ring,
  .city-partner.is-active .partner-ring,
  .city-partner.is-legend-hover .partner-ring,
  .beacon-halo {
    animation: none;
  }

  .temporary-route-shadow,
  .temporary-route-connector {
    stroke-dashoffset: 0 !important;
  }

  .temporary-cargo {
    transition: none;
  }
}

@media (max-width: 820px) {
  .service-copy {
    margin-top: 76px;
    padding-top: 54px;
  }

  .service-copy h2 {
    font-size: clamp(36px, 10vw, 58px);
  }

  .service-journey {
    height: auto;
    overflow: visible;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .service-panorama,
  .service-route-layer {
    display: none;
  }

  .service-route-mobile {
    position: absolute;
    z-index: 0;
    top: 24px;
    bottom: 24px;
    left: -3px;
    display: block;
    width: 42px;
    height: calc(100% - 48px);
    opacity: 0.56;
    pointer-events: none;
  }

  .service-stages {
    flex-direction: column;
    gap: 22px;
    height: auto;
    padding-left: 24px;
  }

  .service-stage,
  .service-stage.is-active {
    min-height: 0;
    flex: none;
    overflow: hidden;
    border-radius: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 36px rgba(21, 51, 45, 0.06);
  }

  .service-journey[data-active-stage] .service-stage:not(.is-active) {
    opacity: 0.88;
  }

  .service-stage.is-active {
    border-color: rgba(18, 155, 131, 0.46);
    box-shadow: inset 3px 0 0 var(--ayan), 0 16px 38px rgba(21, 51, 45, 0.09);
  }

  .service-stage-header {
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 9px;
  }

  .service-stage-header img {
    width: 36px;
    height: 36px;
  }

  .service-stage-number {
    width: 34px;
    height: 34px;
  }

  .service-stage h3 {
    font-size: clamp(21px, 6.2vw, 28px);
  }

  .service-stage-media {
    display: block;
    width: 100%;
    aspect-ratio: 1200 / 760;
    overflow: hidden;
    margin: 16px 0 14px;
    border-radius: 10px;
    background: #eef5f3;
  }

  .service-stage-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.78;
    transform: translateY(7px);
    transition: opacity 380ms ease, transform 440ms ease;
  }

  .service-stage.is-active .service-stage-media img {
    opacity: 1;
    transform: translateY(0);
  }

  .service-stage > p {
    position: static;
    margin: 0;
    font-size: 16px;
  }
}

@media (max-width: 390px) {
  .service-stages {
    padding-left: 18px;
  }

  .service-stage {
    padding: 16px;
  }

  .service-stage-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .service-stage-header img {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-heading,
  .service-journey,
  .service-panorama,
  .service-route-layer,
  .service-stage,
  .service-stage-media img {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .service-cargo-marker {
    display: none;
  }

  .service-stage.is-active {
    flex-grow: 1;
  }
}

/* Interactive tariff explorer */
.tariff-explorer {
  margin-top: clamp(78px, 10vw, 148px);
  padding-top: clamp(52px, 7vw, 92px);
  border-top: 1px solid rgba(21, 51, 45, 0.11);
}

.tariff-explorer-header {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.tariff-explorer-header h2 {
  max-width: 880px;
  margin: 0 auto 18px;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 0.98;
}

.tariff-explorer-header > p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(21, 51, 45, 0.72);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.55;
}

.tariff-workbench {
  margin-top: clamp(30px, 4vw, 52px);
}

.tariff-controls {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(210px, 0.8fr) minmax(330px, 1.4fr);
  gap: 12px;
  align-items: stretch;
}

.tariff-select-field {
  position: relative;
  display: grid;
  gap: 3px;
  min-width: 0;
  min-height: 68px;
  border: 1px solid rgba(21, 51, 45, 0.14);
  border-radius: 8px;
  padding: 10px 16px 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 24px rgba(21, 51, 45, 0.05);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.tariff-select-field::after {
  content: "";
  position: absolute;
  top: 30px;
  right: 18px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  z-index: 2;
  pointer-events: none;
}

.tariff-select-field:focus-within {
  border-color: var(--ayan);
  box-shadow: 0 0 0 3px rgba(18, 155, 131, 0.12);
}

.tariff-select-field span {
  position: relative;
  z-index: 2;
  color: rgba(21, 51, 45, 0.54);
  font-size: 12px;
  font-weight: 620;
  pointer-events: none;
}

.tariff-select-field select {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  outline: 0;
  padding: 24px 42px 7px 16px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 18px;
  font-weight: 650;
  appearance: none;
  cursor: pointer;
}

.tariff-select-field select:disabled {
  color: rgba(21, 51, 45, 0.48);
}

.tariff-popular {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 68px;
  border-block: 1px solid rgba(21, 51, 45, 0.12);
  padding: 9px 4px;
}

.tariff-popular > span {
  flex: 0 0 auto;
  color: rgba(21, 51, 45, 0.54);
  font-size: 12px;
  font-weight: 620;
}

.tariff-popular > div {
  display: flex;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.tariff-popular > div::-webkit-scrollbar { display: none; }

.tariff-popular button {
  min-height: 38px;
  flex: 0 0 auto;
  border: 1px solid rgba(21, 51, 45, 0.12);
  border-radius: 999px;
  padding: 0 13px;
  color: rgba(21, 51, 45, 0.72);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 620;
  white-space: nowrap;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.tariff-popular button:hover,
.tariff-popular button:focus-visible,
.tariff-popular button[aria-pressed="true"] {
  color: var(--ink);
  border-color: rgba(18, 155, 131, 0.46);
  background: #edf8f5;
}

.tariff-route-stage {
  display: grid;
  grid-template-columns: minmax(150px, auto) minmax(300px, 1fr) minmax(150px, auto);
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  min-height: 205px;
  margin-top: 18px;
  border-block: 1px solid rgba(21, 51, 45, 0.1);
  padding: 26px 8px;
}

.tariff-endpoint {
  display: grid;
  gap: 5px;
}

.tariff-endpoint:last-child { text-align: right; }

.tariff-endpoint span {
  color: rgba(21, 51, 45, 0.5);
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.tariff-endpoint strong {
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1;
}

.tariff-route-visual {
  position: relative;
  min-width: 0;
  height: 150px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: none;
}

.tariff-route-line {
  position: absolute;
  right: 0;
  bottom: 26px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(21, 51, 45, 0.16);
}

.tariff-route-line::before,
.tariff-route-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 3px solid var(--ayan);
  border-radius: 50%;
  background: #fbfdfc;
  transform: translateY(-50%);
}

.tariff-route-line::before { left: -1px; }
.tariff-route-line::after { right: -1px; }

.tariff-route-line i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--ayan);
  transform: scaleX(1);
  transform-origin: left center;
}

.tariff-vehicle {
  position: absolute;
  bottom: 29px;
  left: 50%;
  width: min(39%, 230px);
  height: 92px;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0.16;
  filter: drop-shadow(0 9px 12px rgba(21, 51, 45, 0.12));
  mix-blend-mode: normal;
  transform: translateX(-50%);
  transition: opacity 220ms ease, filter 220ms ease, transform 220ms ease;
}

.tariff-vehicle-road {
  left: 37%;
  width: min(48%, 460px);
  clip-path: inset(16% 2% 14% 3%);
}

.tariff-vehicle-rail {
  left: 68%;
  width: min(46%, 440px);
  clip-path: inset(22% 5% 18% 5%);
}

.tariff-vehicle.is-active {
  z-index: 1;
  opacity: 1;
  filter: drop-shadow(0 12px 16px rgba(21, 51, 45, 0.18));
}

.tariff-route-stage.is-updating .tariff-route-line i {
  animation: tariffRouteDraw 900ms cubic-bezier(0.22, 0.78, 0.2, 1) both;
}

.tariff-route-stage.is-updating .tariff-vehicle.is-active {
  animation: tariffVehicleTravel 900ms cubic-bezier(0.22, 0.78, 0.2, 1) both;
}

@keyframes tariffRouteDraw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes tariffVehicleTravel {
  0% { opacity: 0; transform: translateX(-85%); }
  18% { opacity: 1; }
  100% { opacity: 1; transform: translateX(-50%); }
}

.tariff-mode-switcher {
  display: none;
}

.tariff-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tariff-mode-card {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-width: 0;
  min-height: 470px;
  border: 1px solid rgba(21, 51, 45, 0.14);
  border-radius: 8px;
  padding: clamp(22px, 2.6vw, 34px);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 38px rgba(21, 51, 45, 0.055);
  transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.tariff-mode-card.is-active {
  border-color: rgba(18, 155, 131, 0.58);
  background: rgba(248, 253, 251, 0.96);
  box-shadow: 0 18px 46px rgba(18, 110, 95, 0.11);
}

.tariff-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.tariff-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  border: 1px solid rgba(18, 155, 131, 0.18);
  border-radius: 5px;
  padding: 4px 9px;
  color: var(--ink);
  background: #e8f8f4;
  font-size: 11px;
  font-weight: 680;
  text-transform: uppercase;
}

.tariff-mode-badge img {
  width: 17px;
  height: 17px;
}

.tariff-card-header h3 {
  margin: 16px 0 0;
  font-size: clamp(25px, 2.4vw, 37px);
  line-height: 1.05;
}

.tariff-card-select {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(21, 51, 45, 0.17);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}

.tariff-card-select span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent;
  transition: background-color 180ms ease, transform 180ms ease;
}

.tariff-card-select[aria-pressed="true"] {
  border-color: var(--ayan);
}

.tariff-card-select[aria-pressed="true"] span {
  background: var(--ayan);
  transform: scale(1.08);
}

.tariff-card-result {
  padding-top: 22px;
}

.tariff-term {
  min-height: 66px;
  margin: 0;
  color: var(--ayan-dark);
  font-family: var(--heading-font);
  font-size: clamp(34px, 4.3vw, 60px);
  font-weight: 680;
  line-height: 1;
}

.tariff-term.is-status {
  max-width: 520px;
  font-size: clamp(27px, 3.1vw, 44px);
  line-height: 1.04;
}

.tariff-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  border-block: 1px solid rgba(21, 51, 45, 0.1);
  padding: 16px 0;
}

.tariff-prices p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.tariff-prices p + p {
  border-left: 1px solid rgba(21, 51, 45, 0.11);
  padding-left: clamp(14px, 2vw, 28px);
}

.tariff-prices strong {
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1;
  white-space: nowrap;
}

.tariff-prices span {
  color: rgba(21, 51, 45, 0.5);
  font-size: 11px;
  font-weight: 600;
}

.tariff-prices[hidden] { display: none; }

.tariff-mode-description {
  min-height: 54px;
  margin: 16px 0 0;
  color: rgba(21, 51, 45, 0.68);
  line-height: 1.48;
}

.tariff-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 22px 0 18px;
  padding: 0;
  list-style: none;
}

.tariff-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  border: 1px solid rgba(21, 51, 45, 0.1);
  border-radius: 5px;
  padding: 4px 9px;
  color: rgba(21, 51, 45, 0.74);
  background: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 620;
}

.tariff-benefits img {
  width: 17px;
  height: 17px;
}

.tariff-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--ayan);
  border-radius: 7px;
  padding: 10px 18px;
  color: var(--ayan-dark);
  background: transparent;
  font-weight: 680;
  text-align: center;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.tariff-mode-card.is-active .tariff-card-action,
.tariff-card-action:hover,
.tariff-card-action:focus-visible {
  color: #fff;
  background: var(--ayan);
  box-shadow: 0 12px 28px rgba(18, 155, 131, 0.2);
}

.tariff-card-action:active { transform: translateY(0); }

.tariff-fineprint {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  margin: 18px auto 0;
  color: rgba(21, 51, 45, 0.62);
}

.tariff-fineprint > span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 1px solid rgba(21, 51, 45, 0.28);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 680;
}

.tariff-fineprint p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.tariff-directory {
  margin-top: 18px;
  border-block: 1px solid rgba(21, 51, 45, 0.13);
  background: rgba(255, 255, 255, 0.38);
}

.tariff-directory summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 0 18px;
  color: var(--ink);
  font-weight: 680;
  cursor: pointer;
  list-style: none;
}

.tariff-directory summary::-webkit-details-marker { display: none; }

.tariff-directory summary i {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 200ms ease;
}

.tariff-directory[open] summary i { transform: rotate(225deg); }

.tariff-directory-body {
  overflow: hidden;
  border-top: 1px solid rgba(21, 51, 45, 0.1);
  padding: 18px;
}

.tariff-directory-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.tariff-directory-head p {
  margin: 0;
  font-weight: 680;
}

.tariff-directory-head span {
  color: var(--ayan-dark);
  font-size: 12px;
  font-weight: 650;
}

.tariff-directory table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.tariff-directory th {
  padding: 10px 12px;
  color: rgba(21, 51, 45, 0.48);
  font-size: 10px;
  text-transform: uppercase;
}

.tariff-directory td {
  padding: 13px 12px;
  border-top: 1px solid rgba(21, 51, 45, 0.08);
  color: rgba(21, 51, 45, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.tariff-directory td:nth-child(2),
.tariff-directory td:nth-child(5),
.tariff-directory td:nth-child(6) {
  color: var(--ink);
  font-weight: 650;
}

.tariff-directory tr[data-price-mode="individual"] td:nth-child(n+4) {
  color: rgba(21, 51, 45, 0.55);
  font-weight: 600;
}

.tariff-load-error {
  margin-top: 20px;
  border: 1px solid rgba(181, 92, 53, 0.28);
  border-radius: 8px;
  padding: 20px;
  color: #623426;
  background: #fff8f3;
}

.tariff-load-error p { margin: 6px 0 14px; }

.tariff-load-error button {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  color: #fff;
  background: var(--ayan-dark);
  font-weight: 650;
}

/* Service panorama: one controlled high-resolution asset inside the section */
.service-copy {
  margin-top: clamp(78px, 10vw, 148px);
  padding-top: clamp(52px, 7vw, 92px);
}

.service-heading {
  max-width: 880px;
}

.service-heading > p:last-child {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(21, 51, 45, 0.7);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
}

.service-journey {
  display: grid;
  width: 100%;
  height: auto;
  overflow: hidden;
  margin-top: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(21, 51, 45, 0.12);
  border-radius: 8px;
  padding: 0;
  background: #f7fbf9;
  box-shadow: 0 20px 54px rgba(21, 51, 45, 0.07);
}

.service-panorama {
  position: relative;
  z-index: 0;
  inset: auto;
  display: block;
  width: 100%;
  aspect-ratio: 2172 / 724;
  overflow: hidden;
  margin: 0;
  border-bottom: 1px solid rgba(21, 51, 45, 0.1);
  background: #fff;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 620ms ease 120ms, transform 620ms ease 120ms;
}

.service-panorama picture,
.service-panorama img {
  display: block;
  width: 100%;
  height: 100%;
}

.service-panorama img {
  object-fit: cover;
  object-position: center;
  transform: none;
  transition: transform 820ms cubic-bezier(0.22, 0.78, 0.2, 1);
}

.service-journey[data-active-stage="1"] .service-panorama img,
.service-journey[data-active-stage="2"] .service-panorama img,
.service-journey[data-active-stage="3"] .service-panorama img {
  transform: scale(1.012);
}

.service-panorama figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: grid;
  gap: 2px;
  max-width: 390px;
  border-left: 3px solid var(--ayan);
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.service-panorama figcaption span {
  color: var(--ayan-dark);
  font-size: 10px;
  font-weight: 680;
  text-transform: uppercase;
}

.service-panorama figcaption strong {
  font-size: 15px;
  line-height: 1.25;
}

.service-process {
  position: relative;
  padding: 34px clamp(16px, 3vw, 38px) clamp(20px, 3vw, 34px);
}

.service-progress {
  position: absolute;
  top: 51px;
  right: 12.5%;
  left: 12.5%;
  height: 2px;
  overflow: visible;
  background: rgba(21, 51, 45, 0.12);
  pointer-events: none;
}

.service-progress i {
  position: absolute;
  inset: 0;
  background: var(--ayan);
  transform: scaleX(0);
  transform-origin: left center;
}

.service-progress span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  border: 3px solid #f7fbf9;
  border-radius: 50%;
  background: var(--ayan);
  opacity: 0;
  transform: translate(-50%, -50%);
}

.service-copy.is-service-visible .service-progress i {
  animation: serviceProgressDraw 1050ms cubic-bezier(0.22, 0.78, 0.2, 1) 420ms both;
}

.service-copy.is-service-visible .service-progress span {
  animation: serviceProgressMarker 1050ms cubic-bezier(0.22, 0.78, 0.2, 1) 420ms both;
}

@keyframes serviceProgressDraw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes serviceProgressMarker {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  100% { left: 100%; opacity: 1; }
}

.service-stages {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  height: auto;
}

.service-stage,
.service-stage.is-active {
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: 180px;
  overflow: visible;
  border: 1px solid rgba(21, 51, 45, 0.12);
  border-radius: 7px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 440ms ease, transform 440ms ease, border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.service-stage:nth-child(1) { transition-delay: 280ms; }
.service-stage:nth-child(2) { transition-delay: 350ms; }
.service-stage:nth-child(3) { transition-delay: 420ms; }

.service-copy.is-service-visible .service-stage,
.service-copy.is-service-visible .service-panorama {
  opacity: 1;
  transform: translateY(0);
}

.service-copy.is-service-settled .service-stage { transition-delay: 0ms; }

.service-journey[data-active-stage] .service-stage:not(.is-active) { opacity: 0.72; }

.service-stage.is-active {
  border-color: rgba(18, 155, 131, 0.48);
  background: #fff;
  box-shadow: 0 12px 28px rgba(21, 51, 45, 0.08);
}

.service-stage::after { display: none; }

.service-stage-header {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.service-stage-header img {
  width: 32px;
  height: 32px;
}

.service-stage-number {
  width: 32px;
  height: 32px;
  background: #fff;
}

.service-stage h3 {
  font-size: clamp(20px, 2vw, 28px);
}

.service-stage > p {
  position: static;
  margin: 20px 0 0;
  color: rgba(21, 51, 45, 0.68);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.48;
}

@media (max-width: 1080px) {
  .tariff-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tariff-popular {
    grid-column: 1 / -1;
  }

  .tariff-route-stage {
    grid-template-columns: minmax(130px, auto) minmax(240px, 1fr) minmax(130px, auto);
  }

  .tariff-mode-card { min-height: 500px; }
  .tariff-prices { grid-template-columns: 1fr; gap: 12px; }
  .tariff-prices p + p { border-left: 0; padding-left: 0; }
}

@media (max-width: 820px) {
  .tariff-explorer {
    margin-top: 84px;
    padding-top: 58px;
  }

  .tariff-explorer-header { text-align: left; }
  .tariff-explorer-header h2 { margin-left: 0; font-size: clamp(36px, 10vw, 54px); }
  .tariff-explorer-header > p:last-child { margin-left: 0; }

  .tariff-controls { grid-template-columns: 1fr; }
  .tariff-popular { grid-column: auto; align-items: flex-start; flex-direction: column; }

  .tariff-route-stage {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    min-height: 190px;
    padding: 20px 0;
  }

  .tariff-endpoint:last-child { text-align: right; }
  .tariff-route-visual { grid-column: 1 / -1; grid-row: 2; height: 104px; }
  .tariff-vehicle { width: min(48%, 190px); height: 74px; }
  .tariff-vehicle-rail { width: min(44%, 172px); }

  .tariff-mode-switcher {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    margin: 18px 0 10px;
    border: 1px solid rgba(21, 51, 45, 0.12);
    border-radius: 8px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.65);
  }

  .tariff-mode-switcher button {
    min-height: 44px;
    border: 0;
    border-radius: 5px;
    color: rgba(21, 51, 45, 0.6);
    background: transparent;
    font-weight: 680;
  }

  .tariff-mode-switcher button[aria-selected="true"] {
    color: var(--ink);
    background: #fff;
    box-shadow: 0 7px 20px rgba(21, 51, 45, 0.08);
  }

  .tariff-mode-grid { grid-template-columns: 1fr; }
  .tariff-mode-card { display: none; min-height: 0; }
  .tariff-mode-card.is-active { display: grid; }
  .tariff-card-select { display: none; }

  .tariff-directory-body { padding: 10px 0; }
  .tariff-directory-head { padding: 0 14px; }
  .tariff-directory table,
  .tariff-directory tbody,
  .tariff-directory tr,
  .tariff-directory td { display: block; width: 100%; }
  .tariff-directory thead { display: none; }
  .tariff-directory tr { padding: 15px 14px; border-top: 1px solid rgba(21, 51, 45, 0.1); }
  .tariff-directory tr:first-child { border-top: 0; }
  .tariff-directory td {
    display: grid;
    grid-template-columns: minmax(92px, 0.7fr) minmax(0, 1fr);
    gap: 12px;
    border: 0;
    padding: 4px 0;
  }
  .tariff-directory td::before {
    content: attr(data-label);
    color: rgba(21, 51, 45, 0.48);
    font-size: 10px;
    font-weight: 650;
    text-transform: uppercase;
  }

  .service-journey { overflow: hidden; }
  .service-panorama {
    min-height: 250px;
    aspect-ratio: 1.45 / 1;
  }
  .service-panorama img {
    width: 210%;
    max-width: none;
    object-fit: cover;
    object-position: 54% center;
    transform: translateX(-26%);
  }
  .service-journey[data-active-stage="1"] .service-panorama img,
  .service-journey[data-active-stage="2"] .service-panorama img,
  .service-journey[data-active-stage="3"] .service-panorama img {
    transform: translateX(-26%) scale(1.012);
  }
  .service-panorama figcaption { right: 10px; bottom: 10px; left: 10px; max-width: none; }
  .service-process { padding: 26px 14px 16px; }
  .service-progress { display: none; }
  .service-stages { grid-template-columns: 1fr; gap: 8px; padding: 0; }
  .service-stage,
  .service-stage.is-active {
    width: 100%;
    min-height: 0;
    padding: 17px;
  }
  .service-journey[data-active-stage] .service-stage:not(.is-active) { opacity: 0.78; }
  .service-stage > p { margin-top: 12px; }
}

@media (max-width: 430px) {
  .tariff-select-field { min-height: 64px; }
  .tariff-route-stage { min-height: 178px; }
  .tariff-endpoint strong { font-size: 22px; }
  .tariff-mode-card { padding: 20px 16px; }
  .tariff-card-header h3 { font-size: 27px; }
  .tariff-term { min-height: 56px; font-size: 38px; }
  .tariff-term.is-status { font-size: 30px; }
  .tariff-prices strong { font-size: 25px; }
  .tariff-benefits li { flex: 1 1 calc(50% - 7px); }
  .tariff-card-action { min-height: 50px; padding-inline: 12px; font-size: 14px; }
  .tariff-fineprint { justify-content: flex-start; }
  .service-panorama { min-height: 224px; }
  .service-panorama figcaption strong { font-size: 13px; }
  .service-stage-header { grid-template-columns: auto minmax(0, 1fr); }
  .service-stage-header img { display: none; }
}

@media (max-width: 760px) {
  html,
  body { overflow-x: hidden; }
  .map-hero { overflow-x: clip; }
  .map-legend { display: none; }
  .map-city-group,
  .map-city-group > div { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .tariff-route-stage.is-updating .tariff-route-line i,
  .tariff-route-stage.is-updating .tariff-vehicle.is-active,
  .service-copy.is-service-visible .service-progress i,
  .service-copy.is-service-visible .service-progress span {
    animation: none;
  }

  .tariff-route-line i { transform: scaleX(1); }
  .service-progress i { transform: scaleX(1); }
  .service-progress span { left: 100%; opacity: 1; }
}

/* Service: three opaque windows into one synchronized logistics scene */
.service-copy {
  position: relative;
  margin-top: clamp(78px, 10vw, 148px);
  padding-top: clamp(52px, 7vw, 92px);
}

.service-heading {
  max-width: 880px;
}

.service-heading > p:last-child {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(21, 51, 45, 0.7);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
}

.service-journey {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  margin-top: clamp(28px, 4vw, 46px);
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.service-panels {
  --service-scene-shift: 0px;
  display: flex;
  align-items: stretch;
  gap: clamp(12px, 1vw, 20px);
  width: 100%;
  min-width: 0;
}

.service-panel {
  --service-reveal-delay: 0ms;
  position: relative;
  isolation: isolate;
  flex: 1 1 0;
  min-width: 0;
  height: clamp(500px, 38vw, 590px);
  overflow: hidden;
  border: 1px solid rgba(21, 51, 45, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(21, 51, 45, 0.07);
  opacity: 1;
  transform: translateY(0);
  transition:
    flex-grow 760ms cubic-bezier(0.2, 0.76, 0.2, 1),
    border-color 220ms ease,
    box-shadow 220ms ease,
    opacity 520ms ease var(--service-reveal-delay),
    transform 520ms ease var(--service-reveal-delay);
}

.service-panel:nth-child(1) { --service-reveal-delay: 80ms; }
.service-panel:nth-child(2) { --service-reveal-delay: 150ms; }
.service-panel:nth-child(3) { --service-reveal-delay: 220ms; }

.service-copy.service-enhanced:not(.is-service-visible) .service-panel {
  opacity: 0;
  transform: translateY(20px);
}

.service-copy.is-service-settled .service-panel {
  --service-reveal-delay: 0ms;
}

.service-panels[data-active] .service-panel {
  flex-grow: 0.9;
}

.service-panels[data-active] .service-panel.is-active {
  flex-grow: 1.2;
  border-color: rgba(13, 133, 113, 0.48);
  box-shadow: 0 24px 58px rgba(21, 51, 45, 0.12);
}

.service-panels[data-active="acceptance"] { --service-scene-shift: -28px; }
.service-panels[data-active="consolidation"] { --service-scene-shift: 0px; }
.service-panels[data-active="support"] { --service-scene-shift: 28px; }

.service-panel:focus-visible {
  outline: 3px solid rgba(18, 155, 131, 0.3);
  outline-offset: 3px;
}

.service-panel__header {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 12px 14px;
  min-height: 132px;
  padding: 20px clamp(18px, 2vw, 26px) 30px;
  background: linear-gradient(180deg, #fff 0%, #fff 74%, rgba(255, 255, 255, 0) 100%);
}

.service-panel__number {
  grid-column: 1;
  grid-row: 1;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(21, 51, 45, 0.14);
  border-radius: 50%;
  color: var(--ayan-dark);
  background: #fff;
  font-size: 11px;
  font-weight: 680;
  font-variant-numeric: tabular-nums;
}

.service-panel__icon {
  grid-column: 3;
  grid-row: 1;
  width: 38px;
  height: 38px;
  opacity: 0.58;
  filter: saturate(0.72);
  transition: opacity 220ms ease, filter 220ms ease;
}

.service-panel h3 {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  min-height: 2.08em;
  margin: 0;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: clamp(25px, 2.25vw, 34px);
  font-weight: 600;
  line-height: 1.04;
}

.service-panel.is-active .service-panel__icon {
  opacity: 1;
  filter: saturate(1.08) drop-shadow(0 6px 10px rgba(18, 155, 131, 0.16));
}

.service-panel__media {
  position: absolute;
  z-index: 1;
  top: 112px;
  right: 0;
  bottom: 88px;
  left: 0;
  overflow: hidden;
  background: #eaf4ef;
  pointer-events: none;
}

.service-panel__scene {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--service-scene-left, 0px);
  width: var(--service-scene-width, 100%);
  min-width: 100%;
  background-color: #eaf4ef;
  background-image: url("assets/service/service-panorama-hires.png");
  background-image: image-set(
    url("assets/service/service-panorama-hires.webp") type("image/webp") 1x,
    url("assets/service/service-panorama-hires.png") type("image/png") 1x
  );
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  transform: translate3d(var(--service-scene-shift), 0, 0);
  transition: transform 760ms cubic-bezier(0.2, 0.76, 0.2, 1);
  will-change: transform;
}

.service-panel__media::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0) 100%);
}

.service-panel__copy {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  min-height: 126px;
  padding: 54px clamp(18px, 2vw, 26px) 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 42%, #fff 100%);
}

.service-panel__copy p {
  max-width: 34ch;
  margin: 0;
  color: rgba(21, 51, 45, 0.7);
  font-size: clamp(14px, 1.22vw, 17px);
  font-weight: 700;
  line-height: 1.48;
}

@media (max-width: 820px) {
  .service-copy {
    margin-top: 84px;
    padding-top: 58px;
  }

  .service-journey {
    overflow: visible;
  }

  .service-panels {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .service-panel,
  .service-panels[data-active] .service-panel,
  .service-panels[data-active] .service-panel.is-active {
    flex: none;
    width: 100%;
    height: 430px;
  }

  .service-panel__header {
    min-height: 112px;
    padding: 18px 20px 26px;
  }

  .service-panel h3 {
    min-height: 0;
    font-size: clamp(27px, 7vw, 34px);
  }

  .service-panel__media {
    top: 98px;
    bottom: 82px;
  }

  .service-panel__scene {
    right: 0;
    left: 0 !important;
    width: 100% !important;
    min-width: 100%;
    background-size: auto 128%;
    transform: none !important;
  }

  .service-panel[data-service-stage="acceptance"] .service-panel__scene { background-position: 8% 52%; }
  .service-panel[data-service-stage="consolidation"] .service-panel__scene { background-position: 50% 52%; }
  .service-panel[data-service-stage="support"] .service-panel__scene { background-position: 96% 52%; }

  .service-panel__copy {
    min-height: 112px;
    padding: 46px 20px 20px;
  }

  .service-panel__copy p {
    max-width: 42ch;
    font-size: 15px;
  }
}

@media (max-width: 430px) {
  .service-panel,
  .service-panels[data-active] .service-panel,
  .service-panels[data-active] .service-panel.is-active {
    height: 402px;
  }

  .service-panel__header {
    min-height: 106px;
    padding: 16px 17px 24px;
  }

  .service-panel__number {
    width: 34px;
    height: 34px;
  }

  .service-panel__icon {
    display: block;
    width: 34px;
    height: 34px;
  }

  .service-panel h3 {
    font-size: 27px;
  }

  .service-panel__media {
    top: 94px;
    bottom: 78px;
  }

  .service-panel__copy {
    min-height: 106px;
    padding: 44px 17px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-panel,
  .service-panels[data-active] .service-panel,
  .service-panels[data-active] .service-panel.is-active {
    flex-grow: 1;
    transform: none;
    transition: border-color 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
  }

  .service-panel__scene {
    transform: none;
    transition: none;
  }
}

/* News and editorial pages */
.news-section {
  margin-top: clamp(82px, 10vw, 144px);
  padding-top: clamp(46px, 6vw, 78px);
  border-top: 1px solid rgba(21, 51, 45, 0.12);
}

.news-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: end;
  gap: clamp(24px, 5vw, 80px);
  margin-bottom: clamp(28px, 4vw, 48px);
}

.news-heading h2 {
  max-width: 900px;
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(36px, 5vw, 70px);
  line-height: 1;
}

.news-heading > p {
  max-width: 44ch;
  margin: 0;
  color: rgba(21, 51, 45, 0.72);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.news-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(21, 51, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(21, 51, 45, 0.07);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.news-card:hover,
.news-card:focus-within {
  border-color: rgba(18, 155, 131, 0.34);
  box-shadow: 0 24px 58px rgba(21, 51, 45, 0.11);
  transform: translateY(-2px);
}

.news-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dfeee9;
}

.news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.76, 0.2, 1);
}

.news-card:hover .news-card__media img,
.news-card:focus-within .news-card__media img {
  transform: scale(1.025);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: clamp(20px, 2vw, 28px);
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: rgba(21, 51, 45, 0.58);
  font-size: 12px;
}

.news-card__meta span {
  color: var(--ayan);
  font-weight: 620;
}

.news-card h3 {
  margin: 24px 0 14px;
  font-family: var(--heading-font);
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.12;
}

.news-card h3 a {
  transition: color 180ms ease;
}

.news-card h3 a:hover {
  color: var(--ayan);
}

.news-card__body > p {
  margin: 0;
  color: rgba(21, 51, 45, 0.7);
  font-size: 15px;
  line-height: 1.55;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 26px;
  color: var(--ayan);
  font-size: 14px;
  font-weight: 620;
}

.news-card__link span {
  transition: transform 180ms ease;
}

.news-card__link:hover span,
.news-card__link:focus-visible span {
  transform: translateX(4px);
}

.article-page {
  background:
    linear-gradient(180deg, #eaf7f5 0, #f8fbf8 34rem, #f8fbf8 100%);
}

.article-main {
  width: min(100% - (2 * var(--page-pad)), 1180px);
  margin: 0 auto;
  padding: calc(var(--header-h) + clamp(52px, 7vw, 94px)) 0 clamp(80px, 10vw, 150px);
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(44px, 6vw, 76px);
  color: rgba(21, 51, 45, 0.67);
  font-size: 14px;
  font-weight: 620;
}

.article-back span {
  transition: transform 180ms ease;
}

.article-back:hover span {
  transform: translateX(-4px);
}

.article-hero {
  max-width: 980px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 24px;
  color: rgba(21, 51, 45, 0.6);
  font-size: 13px;
}

.article-meta span {
  color: var(--ayan);
  font-weight: 620;
}

.article-hero h1 {
  max-width: none;
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.02;
}

.article-hero > p {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(21, 51, 45, 0.72);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.5;
}

.article-figure {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: clamp(40px, 6vw, 72px) 0;
  border-radius: 8px;
  background: #dfeee9;
}

.article-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-copy {
  width: min(100%, 760px);
  margin: 0 auto;
}

.article-copy p {
  margin: 0 0 1.45em;
  color: rgba(21, 51, 45, 0.88);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.72;
}

.article-copy p:first-child::first-letter {
  float: left;
  margin: 0.04em 0.12em 0 0;
  color: var(--ayan);
  font-family: var(--heading-font);
  font-size: 3.1em;
  line-height: 0.8;
}

.article-next-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
  margin-top: clamp(62px, 9vw, 110px);
  border-top: 1px solid rgba(21, 51, 45, 0.15);
  border-bottom: 1px solid rgba(21, 51, 45, 0.15);
  padding: clamp(30px, 5vw, 54px) 0;
}

.article-next-step h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(28px, 4vw, 48px);
}

.article-next-step p:not(.eyebrow) {
  max-width: 590px;
  margin: 14px 0 0;
  color: rgba(21, 51, 45, 0.7);
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .article-main {
    padding-top: clamp(210px, 25vw, 250px);
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-card:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .news-heading,
  .news-grid,
  .news-card:last-child,
  .article-next-step {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-heading {
    align-items: start;
  }

  .news-card__body {
    min-height: 280px;
  }

  .news-card:last-child {
    display: block;
  }

  .article-main {
    width: min(100% - 36px, 1180px);
    padding-top: 226px;
  }

  .article-next-step {
    align-items: start;
  }

  .article-next-step .primary-action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-card,
  .news-card__media img,
  .news-card__link span,
  .article-back span {
    transition: none;
  }

  .news-card:hover,
  .news-card:focus-within,
  .news-card:hover .news-card__media img,
  .news-card:focus-within .news-card__media img {
    transform: none;
  }
}
