/* Końcowe nadpisania nowego hero. Plik jest ładowany po historycznym arkuszu strony. */

@media (min-width: 721px) {
  body .site-header .container {
    width: min(calc(100% - 40px), 1860px);
    max-width: none;
  }
}

@media (min-width: 981px) {
  body .site-header .header-inner .logo {
    margin-left: 40px;
  }
}

body .site-header .header-inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) max-content;
  align-items: center;
  min-height: 82px;
  gap: 22px;
  padding: 0;
}

body .site-header .home-main-nav {
  display: block;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: auto;
}

body .site-header .home-main-nav ul {
  position: static;
  display: flex;
  grid-template-columns: none;
  justify-content: center;
  width: auto;
  gap: clamp(3px, 1.2vw, 20px);
  transform: none;
}

body .site-header .home-main-nav a {
  min-height: 42px;
  padding: 9px 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  color: #0b2a4a;
  font-size: 14px;
  font-weight: 750;
}

body .site-header .header-inner .home-header-actions {
  display: flex;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  margin-left: auto;
  min-width: 0;
  width: auto;
  align-items: center;
  gap: 0;
}

body .site-header .home-header-actions .home-header-cta {
  width: 225px;
  max-width: none;
  min-width: 0;
  min-height: 34px;
  height: 34px;
  margin: 0;
  padding: 0 12px 0 9px;
  border: 0;
  border-radius: 999px;
  background: #2d7af1;
  box-shadow: 0 3px 7px rgba(45, 122, 241, 0.30);
  color: #fff;
  font-size: 16px;
  font-weight: 750;
  gap: 8px;
  justify-content: center;
}

body .site-header .home-header-cta-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: transparent;
}

body .site-header .home-header-cta-icon svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

body .site-header .home-header-actions .home-header-cta:hover {
  background: #246fe2;
  box-shadow: 0 4px 9px rgba(45, 122, 241, 0.34);
}

body .site-header .home-header-actions .home-header-cta::after {
  content: none;
}

body .site-header .header-inner .logo-img {
  width: auto;
  height: 62px;
  object-fit: contain;
}

.home-login-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #0b2a4a;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.home-login-icon {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 27px;
}

.home-login-icon::before,
.home-login-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid #0b4261;
}

.home-login-icon::before {
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.home-login-icon::after {
  bottom: 0;
  width: 20px;
  height: 12px;
  border-bottom: 0;
  border-radius: 13px 13px 0 0;
}

body .route-map-hero {
  min-height: 0;
  padding: 31px 0 0;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, #fbfeff 0%, #f7fcfd 44%, #edf8fb 100%);
}

body .route-map-hero::before,
body .route-map-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  pointer-events: none;
}

body .route-map-hero::before {
  inset: 205px auto auto -380px;
  transform: none;
  background: rgba(217, 239, 249, 0.72);
}

body .route-map-hero::after {
  inset: 190px -410px auto auto;
  background: rgba(217, 248, 245, 0.65);
}

body .route-map-hero h1.market-hero-title {
  max-width: none;
  margin: 0 auto;
  color: #0a2d52;
  font-size: clamp(39px, 3.55vw, 57px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

body .route-map-hero h1.market-hero-title span {
  color: #069aa0;
  white-space: nowrap;
}

body .route-map-kicker {
  margin: 0 0 12px;
  color: #4f657b;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.28em;
  line-height: 1.4;
}

.route-map-hero-heading {
  position: relative;
  z-index: 5;
  width: min(100% - 52px, 1240px);
  max-width: 1240px;
}

.route-map-intro,
.route-map-intro-secondary {
  max-width: 970px;
  margin: 10px auto 0;
  color: #112f4f;
  font-size: clamp(16px, 1.28vw, 20px);
  line-height: 1.4;
  text-align: center;
}

.route-map-intro-secondary {
  width: fit-content;
  max-width: min(100%, 970px);
  margin-top: 13px;
  padding: 9px 18px;
  border: 1px solid rgba(8, 145, 150, 0.2);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(228, 250, 248, 0.94), rgba(239, 253, 248, 0.98));
  box-shadow: 0 7px 18px rgba(8, 126, 137, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #07848d;
  font-size: clamp(16px, 1.14vw, 18px);
  font-weight: 850;
  line-height: 1.3;
}

.route-map-intro-secondary strong {
  color: inherit;
  font-weight: 950;
}

.route-map-search {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 300px;
  align-items: stretch;
  width: 100%;
  min-height: 90px;
  margin-top: 24px;
  padding: 10px 12px;
  border: 1px solid rgba(209, 229, 234, 0.86);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 44px rgba(28, 84, 110, 0.11);
}

.route-map-service-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 10px 20px;
  border-right: 1px solid #dce8eb;
  color: #122f4d;
}

.route-map-service-card:last-of-type {
  border-right: 0;
}

.route-map-service-card-visual {
  display: block;
  flex: 0 0 68px;
  width: 68px;
  height: 62px;
  object-fit: contain;
  object-position: center;
}

.route-map-service-card-visual--sofa {
  flex-basis: 96px;
  width: 96px;
  height: 58px;
}

.route-map-service-card-visual--house {
  height: 66px;
}

.route-map-service-card-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.route-map-service-card strong {
  font-size: 15px;
  font-weight: 850;
  white-space: nowrap;
}

.route-map-service-card small {
  color: #8293a3;
  font-size: 12px;
  line-height: 1.3;
  white-space: normal;
}

.route-map-search-field {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
  padding: 10px 23px;
  border: 0;
  border-right: 1px solid #dce8eb;
  background: transparent;
  color: #122f4d;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.route-map-search-field:hover,
.route-map-search-field:focus-visible {
  background: #f5fbfc;
}

.route-map-search-field > span:last-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.route-map-search-field strong {
  font-size: 15px;
  font-weight: 850;
  white-space: nowrap;
}

.route-map-search-field small {
  overflow: hidden;
  color: #9caaba;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-map-search-icon {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: #078e97;
}

.route-map-search-icon-start {
  border: 3px solid currentColor;
  border-radius: 50%;
}

.route-map-search-icon-start::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: currentColor;
}

.route-map-search-icon-pin {
  width: 22px;
  height: 28px;
  border: 3px solid currentColor;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
}

.route-map-search-icon-pin::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 5px;
  height: 5px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.route-map-search-icon-box {
  width: 24px;
  height: 24px;
  border: 3px solid currentColor;
  transform: rotate(30deg) skew(-6deg, -6deg);
}

.route-map-search-icon-box::before,
.route-map-search-icon-box::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.route-map-search-icon-box::before {
  top: 9px;
  left: -2px;
  width: 23px;
  height: 2px;
}

.route-map-search-icon-box::after {
  top: -2px;
  left: 9px;
  width: 2px;
  height: 23px;
}

.route-map-search-swap {
  display: grid;
  place-items: center;
  color: #0a5571;
  font-size: 24px;
  font-weight: 800;
}

.route-map-search-cta {
  position: relative;
  isolation: isolate;
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 16px 20px 16px 24px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.2), transparent 36%),
    linear-gradient(135deg, #12adb0 0%, #078f98 100%);
  box-shadow:
    0 12px 26px rgba(5, 126, 137, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.route-map-search-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16), transparent 32%);
  pointer-events: none;
}

.route-map-search-cta:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow:
    0 16px 32px rgba(5, 126, 137, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.route-map-search-cta:active {
  transform: translateY(0);
}

.route-map-search-cta:focus-visible {
  outline: 3px solid rgba(19, 93, 168, 0.35);
  outline-offset: 3px;
}

.route-map-search-cta-label {
  position: relative;
  z-index: 2;
}

.route-map-search-cta-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3px;
  min-width: 0;
  text-align: left;
}

.route-map-search-cta-label {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.route-map-search-cta-copy small {
  max-width: 190px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  white-space: normal;
}

/* Ten sam komponent CTA co na końcu sekcji korzyści. */
.route-map-offers-button {
  grid-column: 4;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  margin: 0;
  grid-template-columns: 40px minmax(0, 1fr) 42px;
  gap: 10px;
  padding: 10px 11px 10px 13px;
  border-radius: 18px;
}

.route-map-offers-button .why-reference-final-button-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.route-map-offers-button .why-reference-final-button-icon svg {
  width: 29px;
  height: 29px;
}

.route-map-offers-button .why-reference-final-button-copy strong {
  font-size: 17px;
}

.route-map-offers-button .why-reference-final-button-copy small {
  font-size: 10px;
}

.route-map-offers-button .why-reference-final-button-arrow {
  width: 42px;
  height: 42px;
  font-size: 25px;
}

.route-map-stage {
  position: relative;
  z-index: 1;
  min-height: 560px;
  margin-top: -8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 15%, rgba(192, 229, 245, 0.82), rgba(224, 242, 249, 0.62) 40%, rgba(235, 247, 250, 0.1) 74%),
    linear-gradient(180deg, rgba(226, 244, 250, 0.78), rgba(239, 249, 251, 0.98));
}

.route-map-stage-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.route-map-stage-shape-left {
  bottom: -330px;
  left: -280px;
  width: 630px;
  height: 630px;
  background: rgba(210, 237, 250, 0.75);
}

.route-map-stage-shape-right {
  right: -260px;
  bottom: -330px;
  width: 640px;
  height: 640px;
  background: rgba(216, 246, 241, 0.76);
}

.route-map-canvas {
  position: absolute;
  top: 35px;
  left: 50%;
  width: min(760px, 56vw);
  transform: translateX(-50%);
}

body .route-map-canvas .route-map-svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  overflow: visible;
}

body .route-map-canvas .route-map-country-shadow {
  fill: rgba(66, 143, 166, 0.1);
  transform: translateY(9px);
}

body .route-map-canvas .route-map-country {
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 6px;
  stroke-linejoin: round;
}

body .route-map-canvas .route-map-country-border {
  fill: none;
  stroke: rgba(255, 255, 255, 0.98);
  stroke-width: 2px;
}

.route-map-voivodeships {
  filter: drop-shadow(0 12px 13px rgba(53, 117, 140, 0.14));
}

.route-map-voivodeship {
  fill: url(#routeMapFill);
  stroke: rgba(255, 255, 255, 0.98);
  stroke-width: 5px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-map-region-lines path {
  fill: none;
  stroke: rgba(144, 194, 211, 0.38);
  stroke-width: 1.6px;
}

.route-map-city-labels text,
.route-map-neighbours text {
  fill: #697f91;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.route-map-neighbours text {
  fill: #9aaabb;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.route-map-city-points circle {
  fill: rgba(255, 255, 255, 0.96);
  stroke: #8fcbd1;
  stroke-width: 2px;
}

body .route-map-canvas .route-map-route {
  opacity: 1;
  transition: opacity 850ms ease;
}

body .route-map-canvas .route-map-route path {
  fill: none;
  stroke: url(#routeMapRoute);
  stroke-width: 7px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--route-length, 500px);
  stroke-dashoffset: var(--route-length, 500px);
}

body .route-map-canvas .route-map-route.is-active path {
  animation: route-map-draw 2.8s cubic-bezier(0.25, 0.72, 0.25, 1) both;
}

.route-map-moving-truck {
  opacity: 0;
  color: #078b95;
  transition: opacity 850ms ease;
  filter: drop-shadow(0 2px 2px rgba(24, 82, 108, 0.3));
}

.route-map-moving-truck .truck-image {
  display: block;
  width: 80px;
  height: 54px;
  overflow: visible;
  pointer-events: none;
}

body .route-map-canvas .route-map-route .route-map-moving-truck .truck-body,
body .route-map-canvas .route-map-route .route-map-moving-truck .truck-cab {
  fill: currentColor;
  stroke: #fff;
  stroke-width: 1.8px;
  stroke-linejoin: round;
}

body .route-map-canvas .route-map-route .route-map-moving-truck .truck-body {
  fill: #103653;
}

body .route-map-canvas .route-map-route .route-map-moving-truck .truck-cab {
  fill: #078b95;
}

body .route-map-canvas .route-map-route .route-map-moving-truck .truck-window {
  fill: #d9f5f3;
  stroke: #fff;
  stroke-width: 0.9px;
  stroke-linejoin: round;
}

body .route-map-canvas .route-map-route .route-map-moving-truck .truck-detail {
  fill: none;
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 1px;
  stroke-linecap: round;
}

/* The route path selector also reaches paths inside the truck group. Keep
   those decorative paths solid so the route's dash animation cannot erase
   the cab, window or body details. */
body .route-map-canvas .route-map-route .route-map-moving-truck path {
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  animation: none;
}

.route-map-moving-truck circle {
  fill: #fff;
  stroke: #103653;
  stroke-width: 2.2px;
}

.route-map-pin {
  color: #078f97;
  opacity: 0;
  filter: drop-shadow(0 8px 9px rgba(37, 101, 122, 0.16));
  transition: opacity 850ms ease;
}

.route-map-pin > path { fill: currentColor; }
.route-map-pin > circle { fill: #fff; }
.route-map-pin-label rect { fill: rgba(255, 255, 255, 0.96); }

.route-map-pin-label text {
  fill: #12344f;
  font-family: inherit;
  font-size: 15px;
  font-weight: 850;
}

body .route-map-pin.is-visible {
  opacity: 1;
  animation: route-map-pin-in-v2 0.45s ease-out both;
}

body .route-map-progress-card {
  top: 82px;
  width: 322px;
}

body .route-map-info-card {
  top: 96px;
}

.route-map-progress-card,
.route-map-info-card {
  position: absolute;
  z-index: 4;
  min-height: 248px;
  padding: 24px 25px;
  border: 1px solid rgba(215, 230, 235, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 17px 44px rgba(31, 89, 113, 0.11);
  text-align: left;
}

.route-map-progress-card {
  left: max(36px, calc(50% - 690px));
}

.route-map-info-card {
  right: max(36px, calc(50% - 690px));
  width: 290px;
}

.route-map-progress-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #102f4d;
  font-size: 15px;
  line-height: 1.35;
}

.route-map-progress-truck {
  display: inline-grid;
  width: 42px;
  height: 38px;
  place-items: center;
  flex: 0 0 auto;
}

.route-map-progress-list {
  position: relative;
  display: grid;
  gap: 17px;
  margin: 20px 0 0 8px;
  padding: 0;
  list-style: none;
}

.route-map-progress-list::before {
  content: "";
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 8px;
  width: 2px;
  background: #d8e2e7;
}

.route-map-progress-list li {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 12px;
  color: #7f8d9b;
  font-size: 13px;
  font-weight: 600;
}

.route-map-progress-list li span {
  position: relative;
  z-index: 1;
  display: block;
  width: 13px;
  height: 13px;
  justify-self: center;
  border: 2px solid #cbd7dd;
  border-radius: 50%;
  background: #fff;
  transition: all 0.3s ease;
}

.route-map-progress-list li.is-active { color: #183a56; }

.route-map-progress-list li.is-active span {
  border-color: #07949a;
  background: #07949a;
  box-shadow: 0 0 0 5px rgba(7, 148, 154, 0.1);
}

.route-map-progress-list li:first-child.is-active span::after {
  content: "✓";
  position: absolute;
  top: -9px;
  left: -9px;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: #07949a;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.route-map-info-card > p {
  margin: 0 0 5px;
  color: #506a80;
  font-size: 13px;
}

.route-map-info-main {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0d3151;
}

.route-map-info-main strong {
  font-size: 20px;
  line-height: 1.2;
}

.route-map-clock {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 3px solid #078f97;
  border-radius: 50%;
}

.route-map-clock::before,
.route-map-clock::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 2px;
  height: 8px;
  transform-origin: bottom center;
  border-radius: 2px;
  background: #078f97;
}

.route-map-clock::after {
  height: 7px;
  transform: rotate(125deg);
}

.route-map-info-card > small,
.route-map-info-caption {
  display: block;
  margin: 4px 0 0 42px;
  color: #98a7b5;
  font-size: 11px;
}

.route-map-info-divider {
  height: 1px;
  margin: 17px 0 15px;
  background: #dce7eb;
}

.route-map-avatars {
  display: flex;
  align-items: center;
  margin-bottom: 9px;
}

.route-map-avatars i,
.route-map-avatars b {
  display: grid;
  width: 31px;
  height: 31px;
  margin-right: -7px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #2c6d83;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.route-map-avatars i:nth-child(2) { background: #aa6b6f; }
.route-map-avatars i:nth-child(3) { background: #7b744d; }
.route-map-avatars i:nth-child(4) { background: #486477; }
.route-map-avatars b { margin-left: 11px; background: #edf2f5; color: #426176; }

.route-map-info-bottom,
.route-map-info-caption { margin-left: 0; }

.route-map-info-bottom {
  color: #153753;
  font-size: 13px;
}

.route-map-benefits {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  min-height: 106px;
  padding: 0 max(34px, calc(50% - 690px));
  border-top: 1px solid rgba(214, 228, 233, 0.9);
  background: rgba(255, 255, 255, 0.98);
}

.route-map-benefit {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
  padding: 0 30px;
  border-right: 1px solid #dbe6ea;
  text-align: left;
}

.route-map-benefit:first-child { padding-left: 0; }
.route-map-benefit:last-child { padding-right: 0; border-right: 0; }

.route-map-benefit-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: 0 0 auto;
  color: #078f97;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}

.route-map-benefit-shield {
  border: 3px solid currentColor;
  border-radius: 18px 18px 22px 22px;
  font-size: 22px;
  font-weight: 900;
}

.route-map-benefit strong,
.route-map-benefit small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-map-benefit strong {
  color: #113450;
  font-size: 13px;
  font-weight: 850;
}

.route-map-benefit small {
  margin-top: 3px;
  color: #738798;
  font-size: 11px;
}

body .route-map-progress-truck svg {
  display: block;
  width: 40px;
  height: 31px;
  overflow: visible;
}

body .route-map-progress-truck svg rect,
body .route-map-progress-truck svg path {
  fill: none;
  stroke: #078f97;
  stroke-width: 3px;
  stroke-linejoin: round;
}

body .route-map-progress-truck svg circle {
  fill: #ffffff;
  stroke: #078f97;
  stroke-width: 3px;
}

@keyframes route-map-pin-in-v2 {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1250px) {
  body .site-header .header-inner {
    grid-template-columns: 180px minmax(0, 1fr) max-content;
  }

  body .site-header .home-main-nav a {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 12px;
  }

  .route-map-search {
    grid-template-columns: repeat(3, minmax(0, 1fr)) 280px;
  }

  .route-map-search-field {
    padding-right: 14px;
    padding-left: 14px;
  }

  .route-map-canvas {
    width: min(690px, 60vw);
  }

  body .route-map-progress-card {
    width: 270px;
    left: 24px;
  }

  body .route-map-info-card {
    right: 24px;
    width: 248px;
  }

  .route-map-progress-card,
  .route-map-info-card { padding: 20px; }

  .route-map-benefits {
    padding-right: 24px;
    padding-left: 24px;
  }

   .route-map-benefit {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 980px) {
  body .site-header .header-inner {
    grid-template-columns: 180px 1fr;
  }

  body .site-header .home-main-nav {
    display: none;
  }

  body .site-header .header-inner .home-header-actions {
    grid-column: 2;
  }

  .route-map-search { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .route-map-service-card { padding-right: 12px; padding-left: 12px; }

  .route-map-service-card-visual { flex-basis: 62px; width: 62px; height: 56px; }
  .route-map-service-card-visual--sofa { flex-basis: 84px; width: 84px; height: 52px; }
  .route-map-service-card-visual--house { height: 60px; }

  .route-map-search-cta {
    grid-column: 1 / -1;
    min-height: 64px;
    height: 64px;
    margin-top: 4px;
  }

  .route-map-offers-button {
    grid-column: 1 / -1;
    min-height: 72px;
    margin-top: 4px;
  }

  .route-map-stage { min-height: 700px; }

  .route-map-canvas {
    top: 24px;
    width: 730px;
  }

  body .route-map-progress-card,
  body .route-map-info-card {
    top: 376px;
    width: calc(50% - 36px);
  }

  body .route-map-progress-card { left: 24px; }
  body .route-map-info-card { right: 24px; }

  .route-map-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 0;
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .route-map-benefit:nth-child(2) { border-right: 0; }
  .route-map-benefit:nth-child(3) { padding-left: 0; }
}

@media (max-width: 720px) {
  body .site-header .header-inner {
    grid-template-columns: 1fr auto;
    justify-items: stretch;
    gap: 12px;
    min-height: 70px;
    padding: 8px 0;
  }

  body .site-header .header-inner .logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  body .site-header .header-inner .home-header-actions {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: auto;
  }

  .home-login-link { display: none; }

  body .site-header .home-header-actions .home-header-cta {
    width: min(100%, 190px);
    min-width: 0;
    min-height: 44px;
    height: 44px;
    padding: 9px 14px;
    font-size: 13px;
  }

  body .site-header .header-inner .home-header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: min(100%, 190px);
  }

  body .site-header .header-inner .logo-img { height: 49px; }

  body .route-map-hero {
    padding-top: 26px;
  }

  body .route-map-kicker {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  body .route-map-hero h1.market-hero-title {
    font-size: clamp(35px, 9vw, 48px);
  }

  .route-map-hero-heading { width: min(100% - 24px, 600px); }

  .route-map-intro { font-size: 14px; }

  .route-map-intro-secondary {
    width: min(100%, 420px);
    margin-top: 12px;
    padding: 8px 14px;
    font-size: 16px;
  }

  .route-map-intro { max-width: 560px; }

  .route-map-search {
    grid-template-columns: 1fr;
    margin-top: 20px;
    padding: 8px;
  }

  .route-map-service-card {
    min-height: 58px;
    padding: 9px 10px;
    border-right: 0;
    border-bottom: 1px solid #dce8eb;
  }

  .route-map-service-card-visual { flex-basis: 68px; width: 68px; height: 52px; }
  .route-map-service-card-visual--sofa { flex-basis: 102px; width: 102px; height: 50px; }
  .route-map-service-card-visual--house { height: 58px; }
  .route-map-service-card:last-of-type { border-bottom: 0; }
  .route-map-service-card strong { font-size: 13px; }
  .route-map-service-card small { font-size: 11px; }

  .route-map-search-cta {
    order: -1;
    min-height: 72px;
    height: auto;
    padding: 11px 14px;
  }

  .route-map-offers-button {
    order: -1;
    min-height: 72px;
    margin-top: 0;
  }

  .route-map-search-cta-label { font-size: 16px; }
  .route-map-search-cta-copy small { max-width: 260px; }

  .route-map-stage {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 18px 12px 24px;
    box-sizing: border-box;
  }

  .route-map-canvas {
    position: relative;
    top: auto;
    left: auto;
    order: 1;
    width: min(344px, calc(100vw - 40px));
    margin: 0 auto;
    transform: none;
  }

  body .route-map-progress-card,
  body .route-map-info-card {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(100%, 440px);
    min-height: 0;
    padding: 18px;
    box-sizing: border-box;
  }

  body .route-map-progress-card { order: 2; margin-top: 12px; }
  body .route-map-info-card { order: 3; }

  .route-map-progress-title { gap: 10px; font-size: 13px; }
  .route-map-progress-truck { width: 32px; height: 29px; }
  body .route-map-progress-truck svg { width: 30px; height: 25px; }
  .route-map-progress-list { gap: 13px; margin: 16px 0 0 4px; }
  .route-map-progress-list li { gap: 10px; font-size: 11px; }
  .route-map-info-main strong { font-size: 17px; }

  .route-map-benefits {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px;
  }

  .route-map-benefit,
  .route-map-benefit:nth-child(3) {
    min-height: 72px;
    padding: 10px 4px;
    border-right: 0;
    border-bottom: 1px solid #dbe6ea;
  }

  .route-map-benefit:last-child { border-bottom: 0; }
  .route-map-benefit-icon { width: 39px; height: 39px; font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  body .route-map-canvas .route-map-route.is-active path {
    animation: none;
    stroke-dashoffset: 0;
  }

  body .route-map-pin.is-visible {
    animation: none;
    opacity: 1;
  }
}
