.home {
  --home-gutter: clamp(0.75rem, 0.4rem + 1.2vw, 2rem);
  --side-w: clamp(208px, 14vw, 236px);
  --side-mini: 68px;
}

.home-shell {
  display: flex;
}

.home-side {
  flex: 0 0 var(--side-w);
  align-self: flex-start;
  position: sticky;
  top: 0;
  z-index: 30;
  height: 100vh;
  overflow-y: auto;
  padding: 0.75rem 0.5rem 1.5rem;
  background: #fff;
  border-right: 1px solid var(--border);
  scrollbar-width: thin;
  transition: flex-basis 0.25s ease, margin 0.25s ease, box-shadow 0.25s ease;
}

.home-side-link span {
  white-space: nowrap;
}

.is-side-collapsed .home-side {
  flex-basis: var(--side-mini);
  overflow-x: hidden;
}

.is-side-collapsed .home-side:is(:hover, :has(:focus-visible)),
.is-side-peek .home-side {
  flex-basis: var(--side-w);
  margin-right: calc(var(--side-mini) - var(--side-w));
  box-shadow: var(--shadow-lg);
}

.is-side-collapsed:not(.is-side-peek) .home-side:not(:hover, :has(:focus-visible)) .home-side-link {
  justify-content: center;
  padding-inline: 0;
}

.is-side-collapsed:not(.is-side-peek) .home-side:not(:hover, :has(:focus-visible)) .home-side-link span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.home-side-group + .home-side-group {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.home-side-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--ink);
  font-size: clamp(0.875rem, 0.85rem + 0.1vw, 0.95rem);
  font-weight: 500;
  text-decoration: none;
  transition: var(--animate);
}

.home-side-link :is(i, svg) {
  width: 1.15em;
  color: var(--ink-soft);
}

.home-side-link:hover,
.home-side-link:focus-visible {
  background: var(--bg);
  color: var(--navy);
}

.home-side-link.is-active {
  background: var(--ac-soft);
  color: var(--primary-dark);
  font-weight: 600;
}

.home-side-link.is-active :is(i, svg) {
  color: var(--primary);
}

.home-main {
  flex: 1;
  min-width: 0;
  overflow-x: clip;
  padding: clamp(0.75rem, 1.4vw, 1.5rem) var(--home-gutter) 0;
}

.home-main > section:not(.home-hero),
.home-main > nav {
  max-width: 1180px;
  margin-inline: auto;
}

.home-main .container {
  max-width: none;
  padding-inline: 0;
}

.home-main .section {
  padding: clamp(2rem, 3.5vw, 3.25rem) 0 0;
}

.home-main .section.bg-white {
  background: transparent !important;
}

.home-main .trust-strip {
  padding-bottom: 0 !important;
}

.home-block {
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
}

.home-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.home-sub {
  margin: 2.25rem 0 1rem;
  color: var(--heading-color);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  font-weight: 600;
}

.home-perks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-perk {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: var(--animate);
}

.home-perk:hover {
  border-color: var(--ac-line);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  transform: translateY(-2px);
}

.home-perk b {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 600;
}

.home-perk small {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.home-perk > span {
  padding: 1rem 1.15rem 1.15rem;
}

.home-perk-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-cities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.home-city {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: var(--animate);
}

.home-city:hover {
  border-color: var(--primary);
  color: var(--ink);
}

.home-city-icon {
  display: grid;
  flex: 0 0 2.25rem;
  place-items: center;
  height: 2.25rem;
  border-radius: 10px;
  background: var(--bg);
  color: var(--blue);
}

.home-city-thumb {
  flex: 0 0 2.25rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bg);
}

.home-city-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home-city-text b,
.home-city-text small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-city-text b {
  font-weight: 600;
}

.home-city-text small {
  color: var(--muted);
}

.home-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-routes-col {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.home-routes-title {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 600;
}

.home-routes ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-routes li + li {
  border-top: 1px solid var(--border);
}

.home-routes a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.home-routes a:hover {
  color: var(--primary-dark);
}

.home-routes a :is(i, svg) {
  margin: 0 0.25rem;
  color: var(--muted);
  font-size: 0.8em;
}

.home-routes small {
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.home-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.home-tabs::-webkit-scrollbar {
  display: none;
}

.home-tab {
  flex: 0 0 auto;
  padding: 0.45rem 1rem;
  border: 1px solid var(--ac-line);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--animate);
}

.home-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.home-tab.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.home-cats {
  display: flex;
  gap: 0.5rem;
  padding-bottom: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.home-cats::-webkit-scrollbar {
  display: none;
}

.home-cat {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--ac-line);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--animate);
}

.home-cat :is(i, svg) {
  color: var(--blue);
}

.home-cat:hover {
  border-color: var(--primary);
  background: var(--ac-soft);
  color: var(--primary-dark);
}

.home-exp img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.home-exp-tag {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  background: var(--bg);
  color: var(--indigo);
  font-size: 0.75rem;
  font-weight: 600;
}

.home-exp-title {
  display: -webkit-box;
  margin: 0 0 0.35rem;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-exp-meta,
.home-exp-free {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
}

.home-exp-meta {
  color: var(--muted);
}

.home-exp-free {
  color: var(--success);
  font-weight: 500;
}

.home-faq details {
  border-bottom: 1px solid var(--border);
}

.home-faq details:first-child {
  border-top: 1px solid var(--border);
}

.home-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  color: var(--navy);
  font-size: clamp(0.98rem, 0.95rem + 0.15vw, 1.08rem);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.home-faq summary::-webkit-details-marker {
  display: none;
}

.home-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}

.home-faq details[open] summary::after {
  content: "\2212";
}

.home-faq p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.home-about {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: var(--r-card);
  background: var(--bg);
}

.home-about h3 {
  color: var(--navy);
  font-weight: 600;
}

.home-about p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.home-main > section.home-support-band {
  max-width: none;
  margin: clamp(2.5rem, 4.5vw, 4rem) calc(-1 * var(--home-gutter)) 0;
  padding: clamp(2.5rem, 5vw, 4rem) var(--home-gutter);
  background:
    radial-gradient(ellipse 50% 90% at 85% 50%, rgba(var(--primary-rgb), 0.12) 0%, transparent 70%),
    linear-gradient(180deg, var(--ac-soft) 0%, var(--bg) 100%);
  border-top: 1px solid var(--ac-line);
}

.home-support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  max-width: 1180px;
  margin-inline: auto;
}

.home-support-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.home-support-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.home-support h2 {
  color: var(--navy);
  font-weight: 600;
}

.home-support p {
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.home-support-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.home-support-img {
  width: 100%;
  height: auto;
}

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

  .home-support-img {
    order: -1;
    max-width: 480px;
    margin-inline: auto;
  }
}

@media (max-width: 1199.98px) {
  .home-perks,
  .home-cities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-routes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .home-perks,
  .home-cities {
    grid-template-columns: 1fr;
  }
}

.home-banner {
  min-height: clamp(240px, 24vw, 340px);
  margin: calc(-1 * clamp(0.75rem, 1.4vw, 1.5rem)) calc(-1 * var(--home-gutter)) 0;
  padding: clamp(2rem, 3.5vw, 3.5rem) 1rem clamp(7rem, 9vw, 9rem);
  -webkit-mask: radial-gradient(70% clamp(48px, 7vw, 110px) at 50% 100%, transparent 99%, #000 100%);
  mask: radial-gradient(70% clamp(48px, 7vw, 110px) at 50% 100%, transparent 99%, #000 100%);
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, var(--navy) 0%, var(--indigo) 60%, var(--blue) 100%);
}

.home-banner h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.home-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.5rem;
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.82rem, 0.8rem + 0.1vw, 0.92rem);
}

.home-badges li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.home-hero .sb {
  margin-top: calc(-1 * clamp(6rem, 8vw, 8rem));
}

.home-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 0.5rem;
  margin-top: 1rem;
  padding: 1rem 0.75rem;
  background: #fff;
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}

.home-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  font-size: clamp(0.78rem, 0.74rem + 0.2vw, 0.9rem);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.home-service-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: var(--ac-soft);
  color: var(--primary-dark);
  font-size: 1.25rem;
  transition: var(--animate);
}

.home-service.is-active .home-service-icon {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 767.98px) {
  .home-banner {
    padding-bottom: 6.5rem;
  }

  .home-hero .sb {
    margin-top: -5.5rem;
  }
}

.home-recent {
  margin-top: 1.5rem;
}

.home-recent-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  color: var(--heading-color);
  font-size: 1.1rem;
  font-weight: 600;
}

.home-recent-title :is(i, svg) {
  color: var(--primary);
}

.home-recent-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.home-recent-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: var(--animate);
}

.home-recent-item:hover,
.home-recent-item:focus-visible {
  border-color: var(--ac-line);
  box-shadow: var(--shadow);
  color: var(--ink);
  transform: translateY(-2px);
}

.home-recent-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ac-soft);
  color: var(--primary);
  font-size: 2rem;
}

.home-recent-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.home-recent-media::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.45));
  content: "";
}

.home-recent-item:hover .home-recent-media img {
  transform: scale(1.05);
}

.home-recent-kind,
.home-recent-price {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  line-height: 1;
}

.home-recent-kind {
  top: 0.6rem;
  left: 0.6rem;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-recent-kind i {
  color: var(--primary);
}

.home-recent-price {
  right: 0.6rem;
  bottom: 0.6rem;
  gap: 0.25rem;
  padding: 0.35rem 0.65rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.home-recent-price small {
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.85;
}

.home-recent-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  padding: 0.75rem 0.9rem 0.85rem;
  line-height: 1.3;
}

.home-recent-text b {
  overflow: hidden;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-recent-text span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

@media (max-width: 767.98px) {
  .home-recent-list {
    display: flex;
    padding-bottom: 0.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home-recent-item {
    flex: 0 0 72%;
    scroll-snap-align: start;
  }
}
