/* 与 index.html 首页统一的顶栏 / 导航 / 内页 Banner */
body:has(.site-menu-toggle:checked) {
  overflow: hidden;
}

.site-topbar {
  background: var(--color-gray-900);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-topbar__inner {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.site-topbar__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 20px;
  min-width: 176px;
  white-space: nowrap;
  text-align: right;
}

.site-topbar__links a {
  position: relative;
  padding: 6px 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: var(--font-weight-medium);
  text-align: right;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-topbar__links a:hover {
  color: var(--color-white);
  background: transparent;
}

.topbar-left {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.city-switch {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  transition: color 0.2s ease;
}

.city-switch:hover {
  color: var(--color-white);
}

.topbar-divider {
  flex-shrink: 0;
  width: 1px;
  height: 14px;
  margin: 0 22px;
  background: rgba(255, 255, 255, 0.14);
}

.topbar-cities {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
  overflow: hidden;
}

.topbar-cities a {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.62);
  font-weight: var(--font-weight-medium);
  transition: color 0.2s ease;
}

.topbar-cities a:hover {
  color: var(--color-white);
}

.topbar-cities__more {
  color: rgba(255, 255, 255, 0.78);
}

.topbar-cities__more::after {
  content: "›";
  margin-left: 3px;
  opacity: 0.72;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header:has(.nav-dropdown--services:hover),
.site-header:has(.nav-dropdown--services:focus-within),
.site-header:has(.nav-dropdown--more:hover),
.site-header:has(.nav-dropdown--more:focus-within) {
  border-bottom-color: transparent;
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 72px;
  column-gap: 28px;
}

.site-header__nav-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: 0 0 auto;
  min-width: 0;
  align-self: center;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: var(--radius-lg);
  background: var(--color-brand);
  color: var(--color-white);
  font-weight: var(--font-weight-heavy);
  line-height: 1;
}

.brand-text {
  display: grid;
  gap: 2px;
  align-content: center;
  justify-items: start;
  line-height: 1.2;
}

.brand-name {
  color: var(--color-text-strong);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-heavy);
  white-space: nowrap;
}

.brand-sub {
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  gap: 0;
  min-width: 0;
  max-width: 100%;
  flex-wrap: nowrap;
  height: 72px;
}

.site-nav > a,
.nav-dropdown__trigger {
  position: relative;
  display: block;
  height: 72px;
  margin: 0;
  --nav-item-padding-x: 18px;
  padding: 0 var(--nav-item-padding-x);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(0, 0, 0, 0.85);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0;
  line-height: 72px;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.site-nav > a::after,
.nav-dropdown__trigger::after {
  content: "";
  position: absolute;
  left: var(--nav-item-padding-x);
  right: var(--nav-item-padding-x);
  bottom: 0;
  height: 2px;
  background: transparent;
  transition: background-color 0.15s ease;
}

.site-nav > a:hover,
.nav-dropdown--services:hover .nav-dropdown__trigger,
.nav-dropdown--services:focus-within .nav-dropdown__trigger,
.nav-dropdown--more:hover .nav-dropdown__trigger,
.nav-dropdown--more:focus-within .nav-dropdown__trigger {
  color: var(--color-brand);
  background: transparent;
}

.site-nav > a:hover::after,
.nav-dropdown--services:hover .nav-dropdown__trigger::after,
.nav-dropdown--services:focus-within .nav-dropdown__trigger::after,
.nav-dropdown--more:hover .nav-dropdown__trigger::after,
.nav-dropdown--more:focus-within .nav-dropdown__trigger::after {
  background: var(--color-brand);
}

.nav-link-list a,
.nav-mega-card,
.nav-mega__chip {
  letter-spacing: normal;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  align-self: center;
  height: 72px;
  flex-shrink: 0;
}

.nav-dropdown--services {
  position: static;
}

.nav-dropdown--more {
  position: static;
}

.nav-mega__shell {
  padding: 0;
}

.nav-mega__layout {
  display: flex;
  min-height: 248px;
}

.nav-mega__sidebar {
  width: 188px;
  flex-shrink: 0;
  padding: 24px 0;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  background: #fafafa;
}

.nav-mega__tab {
  display: block;
  width: 100%;
  padding: 10px 28px;
  border: 0;
  background: transparent;
  color: rgba(0, 0, 0, 0.85);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  text-align: left;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-mega__tab:hover {
  color: var(--color-brand);
  background: rgba(255, 59, 48, 0.04);
}

.nav-mega__tab.is-active {
  color: var(--color-brand);
  font-weight: var(--font-weight-semibold);
  background: var(--color-white);
}

.nav-mega__main {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 24px 32px 20px;
}

.nav-mega__main--solo {
  flex: none;
  width: 100%;
}

.nav-mega__panel {
  display: none;
  flex: 1;
}

.nav-mega__panel.is-active {
  display: block;
}

.nav-mega__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 120px));
  justify-content: start;
  gap: 20px 16px;
}

.nav-mega-card {
  display: grid;
  gap: 8px;
  padding: 0;
  min-height: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
  transition: transform 0.15s ease;
}

.nav-mega-card:hover {
  background: transparent;
  transform: translateY(-2px);
}

.nav-mega-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #f0f0f0;
}

.nav-mega-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-mega-card strong {
  color: rgba(0, 0, 0, 0.85);
  font-size: 13px;
  font-weight: var(--font-weight-regular);
  line-height: 1.35;
}

.nav-mega__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 18px;
  margin-top: auto;
}

.nav-mega__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: #f5f5f5;
  color: rgba(0, 0, 0, 0.78);
  font-size: 12px;
  font-weight: var(--font-weight-regular);
  transition: background 0.15s ease;
}

.nav-mega__chip:hover {
  background: #ececec;
  color: rgba(0, 0, 0, 0.85);
}

.nav-mega__chip svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-gray-600);
}

.nav-link-list {
  display: grid;
  gap: 2px;
}

.nav-link-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px !important;
  border-radius: 0 !important;
  color: rgba(0, 0, 0, 0.85);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  white-space: nowrap;
}

.nav-link-list a:hover {
  background: #f5f5f5;
  color: var(--color-brand);
}

.nav-link-list__icon {
  display: none;
}

.nav-dropdown__label {
  display: none;
  margin: 0;
  padding: 14px 4px 6px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  letter-spacing: .04em;
  text-transform: none;
}

.nav-mega-feature {
  display: grid;
  min-height: 178px;
  align-content: center;
  gap: var(--space-3);
  padding: var(--space-5);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.06), rgba(17, 24, 39, 0.72)),
    url("assets/yf/review/home-4.jpg") center / cover;
  color: var(--color-white);
  overflow: hidden;
}

.nav-mega-feature strong {
  max-width: 8em;
  font-size: 22px;
  line-height: 1.1;
  font-weight: var(--font-weight-heavy);
}

.nav-mega-feature span {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--font-size-xs);
}

.nav-mega-feature__actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.nav-mega-feature__actions a {
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  backdrop-filter: blur(10px);
}

.nav-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
}

.nav-dropdown__panel {
  position: absolute;
  top: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 0;
  border-radius: 0;
  background: var(--color-white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.nav-dropdown__panel--compact {
  left: auto;
  right: 0;
  width: min(240px, calc(100vw - 48px));
  padding: 8px 0;
  gap: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  transform: none;
}

.nav-dropdown__panel--mega {
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  z-index: 60;
  padding: 0;
  gap: var(--space-4);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  transform: none;
}

.nav-dropdown--services:hover .nav-dropdown__panel--mega,
.nav-dropdown--services:focus-within .nav-dropdown__panel--mega,
.nav-dropdown--more:hover .nav-dropdown__panel--mega,
.nav-dropdown--more:focus-within .nav-dropdown__panel--mega {
  opacity: 1;
  pointer-events: auto;
}

.nav-service-link {
  display: grid !important;
  gap: 8px;
  place-items: center;
  min-height: 92px;
  padding: 10px 8px !important;
  border-radius: 16px !important;
  background: transparent;
  text-align: center;
  line-height: 1.35 !important;
  transition: transform 0.18s ease, background 0.18s ease;
}

.nav-service-link:hover {
  transform: translateY(-2px);
  background: var(--color-white);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

.nav-service-thumb,
.icon-tile {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  background: var(--color-white);
  color: var(--color-brand);
}

.icon-line {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-service-copy {
  display: grid;
  gap: 3px;
}

.nav-service-link strong {
  color: var(--color-text-strong);
  font-size: var(--font-size-sm);
}

.nav-service-link span {
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: var(--font-weight-medium);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-4);
  flex-shrink: 0;
  align-self: center;
  min-width: 176px;
  padding-right: 0;
}

.header-phone {
  display: grid;
  gap: 3px;
  justify-items: end;
  color: var(--color-brand);
  font-family: var(--font-family-number);
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-align: right;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.header-phone__label {
  width: 100%;
  color: rgba(0, 0, 0, 0.45);
  font-family: var(--font-family-sans);
  font-size: 11px;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.02em;
  text-align: right;
}

.header-phone:hover {
  color: var(--color-brand-dark);
}

.header-phone__number {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
  color: var(--color-brand);
  text-align: right;
}

.header-phone__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-brand);
}

.site-menu-toggle {
  display: none;
}

.site-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: var(--border-thin);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-text-strong);
  cursor: pointer;
}

.site-menu-button span,
.site-menu-button span::before,
.site-menu-button span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: currentColor;
  content: "";
}

.site-menu-button span {
  position: relative;
}

.site-menu-button span::before,
.site-menu-button span::after {
  position: absolute;
  left: 0;
}

.site-menu-button span::before {
  top: -6px;
}

.site-menu-button span::after {
  top: 6px;
}


/* Banner：与 index.html home-hero 同结构、同尺寸、同文字样式 */
.home-hero {
  position: relative;
  height: 862px;
  min-height: 862px;
  overflow: hidden;
  padding: 0;
  background: var(--color-gray-900);
  color: #fff;
}

.home-hero__track {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-hero__slide.is-active {
  opacity: 1;
}

.home-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero__slide::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 13, 22, 0.94), rgba(8, 13, 22, 0.68) 52%, rgba(8, 13, 22, 0.28)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.62));
  content: "";
}

.home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 862px;
  height: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: var(--space-10);
  align-items: center;
  padding: var(--space-10) 0;
}

.home-visual {
  position: relative;
  max-width: none;
  min-height: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.home-visual__content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: var(--space-10);
  min-height: auto;
  max-width: 720px;
  padding: 0;
}

.home-visual__intro {
  display: grid;
  gap: var(--space-4);
}

.home-visual .home-section-title {
  max-width: 16em;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 4.8vw, 56px);
  line-height: 1.14;
  font-weight: var(--font-weight-heavy);
}

.home-visual p {
  margin: 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.8;
}

.home-visual .home-quote-card__badge,
.home-quote-card__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-brand);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0;
}

.home-hero--page .home-visual__content {
  gap: var(--space-10);
}

.home-stat-row {
  display: flex;
  align-items: center;
  max-width: 720px;
  margin-top: 0;
}

.home-visual .home-stat {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 0 28px;
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.home-visual .home-stat:first-child {
  padding-left: 0;
}

.home-visual .home-stat + .home-stat::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 50%;
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-50%);
  content: "";
}

.home-visual .home-stat strong {
  display: block;
  color: #fff;
  font-family: var(--font-family-number);
  font-size: 36px;
  line-height: 1;
}

.home-visual .home-stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.35;
}

.home-hero__progress {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: 180px;
  margin-top: var(--space-6);
  gap: 10px;
}

.home-hero__dot {
  flex: 1;
  height: 2px;
  max-width: 80px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: max-width 0.3s ease, background 0.3s ease;
}

.home-hero__dot.is-active {
  max-width: 120px;
  background: #fff;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--font-size-sm);
}

.breadcrumb a:hover {
  color: #fff;
}

.home-quote-card {
  position: relative;
  display: grid;
  gap: 16px;
  align-items: stretch;
  align-self: center;
  max-height: 600px;
  padding: 20px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 12px 40px rgba(17, 24, 39, 0.1);
  overflow: hidden;
}

.home-quote-card__accent {
  display: none;
}

.home-quote-card__head {
  display: grid;
  gap: 6px;
  padding-top: 0;
}

.home-quote-card h2 {
  margin: 0;
  color: var(--color-text-strong);
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: var(--font-weight-bold);
}

.home-quote-card__head > p {
  margin: 0;
  color: var(--color-gray-500);
  font-size: 13px;
  line-height: 1.5;
}

.home-quote-card__perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin: -4px 0 0;
  padding: 0;
  list-style: none;
}

.home-quote-card__perk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-gray-500);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.home-quote-card__perk-mark {
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--color-gray-500);
}

.home-quote-card__perk-icon {
  display: block;
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.home-quote-card__route-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: end;
}

.home-quote-card__route-arrow {
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  margin-bottom: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-gray-400);
  box-shadow: none;
}

.home-quote-card .quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.home-quote-card .quote-form .field {
  display: grid;
  gap: 8px;
}

.home-quote-card .quote-form .field label {
  color: var(--color-gray-600);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.home-quote-card .quote-form .field input,
.home-quote-card .quote-form .field select {
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: var(--color-gray-100);
  box-shadow: none;
  color: var(--color-text-strong);
  font-size: var(--font-size-md);
  box-sizing: border-box;
  transition: background-color 0.15s ease;
}

.home-quote-card .quote-form .field input::placeholder {
  color: var(--color-gray-400);
}

.home-quote-card .quote-form .field input:focus,
.home-quote-card .quote-form .field select:focus,
.home-quote-card .quote-form .field input:focus-visible,
.home-quote-card .quote-form .field select:focus-visible {
  background: var(--color-gray-200);
  box-shadow: none;
  outline: none;
}

.home-quote-card .quote-form .field select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.home-quote-card .quote-form .field--full,
.home-quote-card .quote-form .btn {
  grid-column: 1 / -1;
}

.home-quote-card__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 0;
  border: 0;
  border-radius: 10px;
  background: var(--color-brand);
  box-shadow: none;
  font-size: 15px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0;
  transition: background-color 0.15s ease;
}

.home-quote-card__submit:hover {
  transform: none;
  filter: none;
  background: #e53228;
  box-shadow: none;
}

.site-nav > a[aria-current="page"],
.site-nav > a.is-active,
.nav-dropdown__trigger.is-active {
  color: var(--color-brand);
}

.site-nav > a[aria-current="page"]::after,
.site-nav > a.is-active::after,
.nav-dropdown__trigger.is-active::after {
  background: var(--color-brand);
}


@media (max-width: 1280px) {
  .topbar-cities {
    gap: 16px;
  }

  .topbar-divider {
    margin: 0 16px;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav > a,
  .nav-dropdown__trigger {
    --nav-item-padding-x: 14px;
    padding: 0 var(--nav-item-padding-x);
    font-size: 13px;
  }

  .site-header__inner {
    column-gap: 16px;
  }

  .nav-mega__grid {
    grid-template-columns: repeat(auto-fill, minmax(112px, 120px));
  }

  .nav-mega__main {
    padding: 24px 24px 20px;
  }
}

@media (max-width: 1080px) {
  .home-hero__grid {
    grid-template-columns: 1fr;
  }

  .site-nav,
  .header-phone {
    display: none;
  }

  .site-menu-button {
    display: inline-flex;
    margin-left: auto;
    align-self: center;
  }

  .site-header__inner {
    display: flex;
    min-height: 72px;
    column-gap: 0;
  }

  .site-header__nav-wrap {
    display: contents;
  }

  .site-nav {
    position: fixed;
    inset: 109px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: auto;
    padding: var(--space-3) var(--container-padding) var(--space-6);
    border-bottom: var(--border-thin);
    background: var(--color-white);
    box-shadow: var(--shadow-md);
  }

  .site-nav > a {
    height: auto;
    padding: 16px 4px;
    border-radius: 0;
    border-bottom: 0;
    font-size: var(--font-size-md);
    letter-spacing: 0.02em;
  }

  .site-nav > a,
  .nav-dropdown__trigger {
    box-shadow: none;
  }

  .site-nav > a::after,
  .nav-dropdown__trigger::after {
    display: none;
  }

  .nav-dropdown {
    height: auto;
    display: grid;
  }

  .nav-dropdown__panel--mega {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
  }

  .nav-mega__layout {
    flex-direction: column;
    min-height: auto;
  }

  .nav-mega__sidebar {
    display: flex;
    width: auto;
    padding: 0 0 var(--space-3);
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-mega__tab {
    width: auto;
    padding: 10px 14px;
    white-space: nowrap;
  }

  .nav-mega__main {
    padding: var(--space-4) 0;
  }

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

  .nav-mega__footer {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .nav-dropdown__trigger {
    display: none;
  }

  .nav-dropdown__panel {
    position: static;
    display: grid;
    width: auto;
    grid-template-columns: 1fr;
    gap: var(--space-2);
    padding: var(--space-3) 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown__label {
    display: block;
  }

  .nav-dropdown__panel--compact {
    width: auto;
    padding: 0 0 var(--space-2);
  }

  .nav-link-list a {
    min-height: 44px;
    padding: 0 4px !important;
    border-radius: 0 !important;
    font-size: var(--font-size-md);
  }

  .site-menu-toggle:checked ~ .site-header__nav-wrap .site-nav,
  .site-menu-toggle:checked ~ .site-nav {
    display: flex;
  }
}

@media (max-width: 960px) {
  .home-visual .home-stat-row {
    flex-wrap: wrap;
  }

  .home-visual .home-stat {
    flex: 1 1 30%;
    padding: 0 14px;
  }

  .home-visual .home-stat:first-child {
    padding-left: 0;
  }

  .home-visual .home-stat strong {
    font-size: 32px;
  }

  .home-hero__progress {
    max-width: 160px;
  }
}

@media (max-width: 760px) {
  .site-topbar {
    display: none;
  }

  .site-nav {
    inset: 72px 0 auto 0;
  }

  .brand-sub {
    display: none;
  }

  .home-hero {
    height: auto;
    min-height: auto;
  }

  .home-hero__grid {
    min-height: auto;
    height: auto;
    padding: var(--space-10) 0 var(--space-8);
  }

  .home-visual,
  .home-visual__content {
    min-height: auto;
  }

  .home-visual__content {
    max-width: none;
    gap: var(--space-8);
  }

  .home-visual__intro {
    gap: var(--space-3);
  }

  .home-visual .home-section-title {
    max-width: none;
    font-size: clamp(32px, 9vw, 44px);
  }

  .home-visual p {
    font-size: 18px;
    line-height: 1.75;
    max-width: none;
  }

  .home-quote-card {
    padding: 16px;
    min-height: auto;
    max-height: none;
  }

  .home-quote-card__perks {
    justify-content: center;
    gap: 8px 14px;
  }

  .home-quote-card .quote-form {
    grid-template-columns: 1fr;
  }

  .home-quote-card .quote-form .field--full,
  .home-quote-card .quote-form .btn {
    grid-column: auto;
  }
}
