*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 50% -10%, #dcecff 0%, transparent 55%),
    linear-gradient(
      180deg,
      #0b1528 0%,
      #101b33 120px,
      #f4f7fb 220px,
      #f4f7fb 100%
    );
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page {
  position: relative;
  width: min(100%, var(--page));
  margin: 0 auto;
  background: var(--bg);
  box-shadow:
    0 0 0 1px rgba(10, 22, 48, 0.06),
    0 24px 60px rgba(10, 22, 48, 0.18);
  overflow: clip;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 71px;
  padding: 0 18px 0 22px;
  background: linear-gradient(180deg, #0b1834 0%, #122449 100%);
  color: #fff;
}

.header__brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff 0%, var(--secondary-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
}

.nav--desktop {
  display: none;
}

.nav__group {
  display: flex;
  align-items: center;
  gap: 8px 22px;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #e8f2ff;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: var(--secondary-cyan);
}

.nav__icon {
  flex-shrink: 0;
  display: block;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.nav__icon--routes {
  -webkit-mask-image: url("../images/icons/routes.svg");
  mask-image: url("../images/icons/routes.svg");
}

.nav__icon--org {
  -webkit-mask-image: url("../images/icons/org.svg");
  mask-image: url("../images/icons/org.svg");
}

.nav__icon--reviews {
  -webkit-mask-image: url("../images/icons/reviews.svg");
  mask-image: url("../images/icons/reviews.svg");
}

.nav__icon--faq {
  -webkit-mask-image: url("../images/icons/faq.svg");
  mask-image: url("../images/icons/faq.svg");
}

.nav__icon--contacts {
  -webkit-mask-image: url("../images/icons/contacts.svg");
  mask-image: url("../images/icons/contacts.svg");
}

.nav__icon--login {
  -webkit-mask-image: url("../images/icons/login.svg");
  mask-image: url("../images/icons/login.svg");
}

.header__actions {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.icon-btn:active {
  transform: scale(0.96);
}

.nav-drawer {
  position: fixed;
  top: 71px;
  left: 50%;
  z-index: 35;
  display: grid;
  gap: 2px;
  width: min(100%, var(--page));
  padding: 8px 18px 16px;
  background: #122449;
  box-shadow: 0 16px 32px rgba(6, 14, 32, 0.45);
  transform: translateX(-50%);
}

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

.nav-drawer a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #e8f2ff;
  padding: 12px 10px;
  border-radius: 10px;
  font-family: var(--font-ui);
  font-weight: 500;
}

.nav-drawer a:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Hero */
.hero {
  position: relative;
  background: #0b1834;
}

.hero__frame {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "media media media"
    "prev dots next";
  align-items: center;
  column-gap: 10px;
  row-gap: 12px;
  touch-action: pan-y;
  user-select: none;
}

.hero__stage {
  display: contents;
}

.hero__media {
  grid-area: media;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  max-height: 320px;
}

.hero__viewport {
  height: 100%;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.hero__track {
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
  transition: transform 0.35s ease;
}

.hero__frame.is-dragging .hero__track {
  transition: none;
}

.hero__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  margin: 0;
  min-width: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  -webkit-user-drag: none;
}

.hero__quote-wrap {
  position: absolute;
  inset: auto 7% 2%;
  z-index: 2;
  padding: 16px 18px;
  border: 2px solid rgba(143, 204, 255, 0.85);
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 0 0 1px rgba(72, 238, 253, 0.35),
    0 12px 28px rgba(10, 22, 48, 0.28);
  clip-path: polygon(
    0 8%,
    4% 0,
    96% 0,
    100% 8%,
    100% 92%,
    96% 100%,
    4% 100%,
    0 92%
  );
  pointer-events: none;
}

.hero__quote {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(0.85rem, 3.6vw, 1.05rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--secondary-blue);
  text-align: center;
}

.hero__nav {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #cfe3ff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.hero__nav--prev {
  grid-area: prev;
}

.hero__nav--next {
  grid-area: next;
}

.hero__nav:hover,
.hero__nav:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.hero__nav-icon {
  display: block;
  width: 12px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.hero__nav-icon--prev {
  transform: translateX(-1.5px);
  -webkit-mask-image: url("../images/icons/arrow-prev.svg");
  mask-image: url("../images/icons/arrow-prev.svg");
}

.hero__nav-icon--next {
  transform: translateX(1.5px);
  -webkit-mask-image: url("../images/icons/arrow-next.svg");
  mask-image: url("../images/icons/arrow-next.svg");
}

.hero__dots {
  grid-area: dots;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.hero__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.hero__dot.is-active {
  background: var(--secondary-cyan);
  transform: scale(1.15);
}

.hero .availability {
  margin: 0;
}

/* Services */
.services {
  position: relative;
  padding: 40px 28px 56px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.services__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gradient-services);
}

.services__content {
  display: grid;
  gap: 40px;
  justify-items: center;
}

.service-block {
  width: 100%;
  max-width: 22rem;
  display: grid;
  justify-items: center;
  gap: 0;
  text-align: center;
  animation: rise 0.7s ease both;
}

.service-block:nth-child(2) {
  animation-delay: 0.08s;
}
.service-block:nth-child(3) {
  animation-delay: 0.16s;
}
.service-block:nth-child(4) {
  animation-delay: 0.24s;
}

.service-block__copy {
  order: 1;
  width: 100%;
}

.service-block__cta {
  order: 2;
  margin-top: 22px;
}

.service-block__title {
  margin: 0 0 12px;
  font-family: var(--font-ui);
  font-size: clamp(1rem, 4.8vw, 1.2rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--white);
}

.service-block__text {
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.45;
  color: var(--primary-light);
  text-align: left;
}

.availability {
  margin: 0;
  padding: 6px 12px;
  text-align: center;
  font-family: var(--font-caption);
  font-size: 1rem;
  font-style: italic;
  color: var(--secondary-blue);
  background: var(--primary-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-ui);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(1px);
}

.btn--glow {
  min-width: 148px;
  height: 44px;
  padding: 0 32px;
  border-radius: 999px;
  color: var(--white);
  text-transform: lowercase;
  letter-spacing: 0.02em;
  font-weight: 500;
  border: 1px solid rgba(200, 240, 255, 0.75);
  text-transform: uppercase;
  background: radial-gradient(
    120% 140% at 50% 40%,
    rgba(143, 204, 255, 0.72) 0%,
    rgba(63, 141, 229, 0.48) 55%,
    rgba(43, 56, 143, 0.28) 100%
  );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 -1px 0 rgba(72, 238, 253, 0.35) inset,
    0 0 0 1px rgba(180, 230, 255, 0.25) inset,
    0 0 10px rgba(72, 238, 253, 0.95),
    0 0 24px rgba(72, 238, 253, 0.7),
    0 0 48px rgba(63, 141, 229, 0.5),
    0 0 80px rgba(143, 204, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn--glow:hover {
  filter: brightness(1.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 -1px 0 rgba(72, 238, 253, 0.5) inset,
    0 0 0 1px rgba(200, 240, 255, 0.4) inset,
    0 0 14px rgba(72, 238, 253, 1),
    0 0 32px rgba(72, 238, 253, 0.9),
    0 0 64px rgba(63, 141, 229, 0.7),
    0 0 100px rgba(143, 204, 255, 0.5);
}

.btn--open {
  min-width: 200px;
  height: 52px;
  margin-top: 8px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #4a5cc7 0%, #2b388f 55%, #1d2668 100%);
  box-shadow:
    0 0 0 1px rgba(160, 190, 255, 0.35) inset,
    0 10px 22px rgba(30, 40, 110, 0.35);
}

.btn--open__pin {
  width: 14px;
  height: 18px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.btn-open {
  --thumb-x: 0%;
  --thumb-progress: 0;
  position: relative;
  display: block;
  width: min(100%, 210px);
  margin-top: 6px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.btn-open:active,
.btn-open.is-dragging {
  cursor: grabbing;
}

.btn-open:hover:not(.is-dragging) {
  filter: brightness(1.06);
}

.btn-open__bg {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.btn-open__thumb {
  position: absolute;
  top: 55%;
  left: calc(2.25% + var(--thumb-x));
  width: 25%;
  height: auto;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
  filter: sepia(calc(var(--thumb-progress) * 0.75))
    saturate(calc(1 + var(--thumb-progress) * 7))
    hue-rotate(calc(var(--thumb-progress) * 178deg))
    brightness(calc(1 - var(--thumb-progress) * 0.12));
  transition:
    left 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-open.is-dragging .btn-open__thumb {
  transition: none;
}

.btn-open__text {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 12%;
  font-family: var(--font-ui);
  font-size: clamp(1rem, 4.2vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #0a0a0a;
  line-height: 1;
  pointer-events: none;
  opacity: calc(1 - var(--thumb-progress) * 1.15);
  transition: opacity 0.2s ease;
}

.btn-open.is-dragging .btn-open__text {
  transition: none;
}

.btn-open.is-on .btn-open__text {
  opacity: 0;
}

.btn--submit {
  width: min(100%, 220px);
  height: 48px;
  margin: 10px auto 0;
  justify-self: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--secondary-blue);
  font-weight: 600;
  letter-spacing: 0.06em;
  background: radial-gradient(
    120% 140% at 50% 30%,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(143, 204, 255, 0.28) 45%,
    rgba(255, 255, 255, 0.12) 100%
  );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 -1px 0 rgba(43, 56, 143, 0.12) inset,
    0 8px 22px rgba(20, 30, 80, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--submit:hover {
  filter: brightness(1.06);
}

/* Routes */
.routes {
  position: relative;
  display: grid;
  gap: 0;
  padding: 28px 20px 48px;
  overflow: hidden;
}

main {
  position: relative;
}

.main_bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/smoke-trail.png") center top / 120% auto repeat-y;
  opacity: 0.55;
  pointer-events: none;
}

main > *:not(.main_bg) {
  position: relative;
  z-index: 1;
}

.section-title {
  position: relative;
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6vw, 2rem);
  font-weight: 400;
  text-align: center;
  line-height: 1.2;
}

.section-title--dark {
  color: var(--secondary-blue);
}

.route-card {
  --portal-progress: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 42px;
  text-align: center;
  height: 100%;
}

.route-card .btn-open {
  margin-top: auto;
}

.route-card__portal {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  filter: drop-shadow(0 12px 28px rgba(40, 90, 180, 0.28));
}

.route-card__portal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.route-card__portal .route-card__portal-reveal {
  z-index: 0;
  inset: 14%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  object-fit: cover;
  pointer-events: none;
}

.route-card__portal .route-card__portal-spin {
  z-index: 1;
  opacity: calc(1 - var(--portal-progress) * var(--portal-progress));
  animation: spin 20s linear infinite reverse;
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.route-card:has(.btn-open.is-dragging) .route-card__portal-spin {
  transition: none;
}

.route-card__portal .route-card__portal-frame {
  z-index: 2;
  pointer-events: none;
}

.route-card:nth-child(3) .route-card__portal-spin {
  animation-delay: -6.5s;
}
.route-card:nth-child(4) .route-card__portal-spin {
  animation-delay: -13s;
}

.route-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 10px 18px;
  width: 100%;
  padding: 0 12px;
}

.route-card__name {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--primary-mid);
}

.route-card__price {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--primary-mid);
}
.yellow_light {
  text-shadow:
    0 0 6px rgba(255, 242, 120, 0.95),
    0 0 14px rgba(255, 242, 120, 0.75),
    0 0 28px rgba(255, 242, 120, 0.5);
}

.route-card__price--free {
  letter-spacing: 0.04em;
}

.route-card__desc {
  margin: 0;
  max-width: 34ch;
  padding: 0 16px;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.45;
  color: var(--secondary-blue);
  text-align: left;
}

/* Reviews */
.reviews {
  padding: 12px 34px 36px;
}

.reviews__frame {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "viewport viewport viewport"
    "prev dots next";
  align-items: center;
  column-gap: 10px;
  row-gap: 12px;
  touch-action: pan-y;
  user-select: none;
}

.reviews__card {
  border: 2px solid var(--secondary-blue);
  background: #fff;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.reviews__heading {
  position: relative;
  margin: -2px -2px 0;
  line-height: 0;
}

.reviews__icon {
  display: block;
  width: calc(100% + 4px);
  height: auto;
  margin-left: -2px;
  pointer-events: none;
}

.reviews__heading h2 {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0 18px 10px;
  font-family: var(--font-ui);
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  color: #fff;
  pointer-events: none;
}

.reviews__body {
  padding: 16px 14px 12px;
  display: grid;
  min-height: 0;
  background: #fff;
}

.reviews__viewport {
  grid-area: viewport;
  overflow: hidden;
  width: 100%;
  min-width: 0;
}

.reviews__stage {
  display: contents;
}

.reviews__track {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
  transition: transform 0.35s ease;
}

.reviews__frame.is-dragging .reviews__track {
  transition: none;
}

.reviews__slide {
  flex: 0 0 100%;
  width: 100%;
  margin: 0;
  min-width: 0;
}

.reviews__media {
  min-height: 280px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 4px;
}

.reviews__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}

.reviews__nav {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #808080;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.reviews__nav--prev {
  grid-area: prev;
}

.reviews__nav--next {
  grid-area: next;
}

.reviews__nav:hover,
.reviews__nav:focus-visible {
  color: var(--secondary-coal);
  background: var(--fog);
  outline: none;
}

.reviews__nav-icon {
  display: block;
  width: 12px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.reviews__nav-icon--prev {
  transform: translateX(-1.5px);
  -webkit-mask-image: url("../images/icons/arrow-prev.svg");
  mask-image: url("../images/icons/arrow-prev.svg");
}

.reviews__nav-icon--next {
  transform: translateX(1.5px);
  -webkit-mask-image: url("../images/icons/arrow-next.svg");
  mask-image: url("../images/icons/arrow-next.svg");
}

.reviews__dots {
  grid-area: dots;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.reviews__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(43, 56, 143, 0.25);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.reviews__dot.is-active {
  background: var(--secondary-blue);
  transform: scale(1.15);
}

.reviews__add {
  position: relative;
  display: block;
  margin: 0 -2px -2px;
  line-height: 0;
  color: #fff;
}

.reviews__caption {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 14px 18px 4px;
  font-family: var(--font-caption);
  font-style: italic;
  font-size: 0.9rem;
  font-weight: 400;
  text-align: center;
  line-height: 1.3;
  color: #fff;
}

.reviews__caption a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Timeline */
.timeline {
  padding: 0;
  color: #fff;
}

.timeline__compare {
  --timeline-pos: 50%;
  position: relative;
  overflow: hidden;
  width: 100%;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
  background: #121417;
}

.timeline__image {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  max-width: none;
}

.timeline__image--after {
  position: relative;
  z-index: 0;
}

.timeline__before {
  position: absolute;
  inset: 0;
  z-index: 1;
  clip-path: inset(0 calc(100% - var(--timeline-pos)) 0 0);
}

.timeline__before .timeline__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.timeline__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--timeline-pos);
  width: 0;
  transform: translateX(-50%);
  z-index: 2;
  outline: none;
}

.timeline__handle:focus-visible .timeline__line {
  box-shadow: 0 0 0 2px rgba(143, 204, 255, 0.85);
}

.timeline__label {
  position: absolute;
  z-index: 1;
  font-family: var(--font-ui);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
  pointer-events: none;
}

.timeline__label--before {
  top: 18px;
  right: calc(100% + 14px);
}

.timeline__label--after {
  bottom: 22px;
  left: calc(100% + 14px);
}

.timeline__line {
  position: absolute;
  inset: 0 auto 0 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.4)
  );
  display: grid;
  align-content: space-evenly;
  justify-items: center;
  pointer-events: none;
}

.timeline__arrow {
  position: absolute;
  color: #fff;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
  overflow: visible;
}

.timeline__arrow--end {
  top: 10px;
  left: 0;
}

.timeline__arrow--start {
  bottom: 10px;
  right: 0;
}

.timeline__dot {
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
}

.timeline__dot--sm {
  width: 9px;
  height: 9px;
}

.timeline__dot--md {
  width: 13px;
  height: 13px;
}

.timeline__dot--lg {
  width: 21px;
  height: 21px;
}

.timeline.is-dragging .timeline__compare {
  cursor: grabbing;
}

/* FAQ */
.faq {
  padding: 36px 34px 28px;
}

.faq__title {
  margin-bottom: 22px;
  font-size: clamp(1.35rem, 5.5vw, 1.7rem);
}

.faq__list {
  display: grid;
  gap: 12px;
}

.faq__item {
  border: 1.5px solid rgba(61, 125, 255, 0.55);
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    rgba(255, 243, 135, 0.18),
    rgba(72, 238, 253, 0.12)
  );
  overflow: hidden;
}

.faq__item[open] {
  background: linear-gradient(180deg, #eaf4ff, #dcecff);
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.12);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 40px 12px 18px;
  position: relative;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--secondary-blue);
}

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

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--secondary-blue);
  border-bottom: 2px solid var(--secondary-blue);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq__answer {
  padding: 0 18px 14px;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.faq__answer p {
  margin: 0 0 8px;
  color: var(--secondary-blue);
}

/* Author */
.author {
  padding: 24px 34px 20px;
}

.author__frame {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "viewport viewport viewport"
    "prev dots next";
  align-items: center;
  column-gap: 10px;
  row-gap: 12px;
  touch-action: pan-y;
  user-select: none;
}

.author__stage {
  display: contents;
}

.author__viewport {
  grid-area: viewport;
  overflow: hidden;
  width: 100%;
  min-width: 0;
}

.author__track {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
  transition: transform 0.35s ease;
}

.author__frame.is-dragging .author__track {
  transition: none;
}

.author__slide {
  flex: 0 0 100%;
  width: 100%;
  margin: 0;
  min-width: 0;
}

.author__nav {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #808080;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.author__nav--prev {
  grid-area: prev;
}

.author__nav--next {
  grid-area: next;
}

.author__nav:hover,
.author__nav:focus-visible {
  color: var(--secondary-coal);
  background: var(--fog);
  outline: none;
}

.author__nav-icon {
  display: block;
  width: 12px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.author__nav-icon--prev {
  transform: translateX(-1.5px);
  -webkit-mask-image: url("../images/icons/arrow-prev.svg");
  mask-image: url("../images/icons/arrow-prev.svg");
}

.author__nav-icon--next {
  transform: translateX(1.5px);
  -webkit-mask-image: url("../images/icons/arrow-next.svg");
  mask-image: url("../images/icons/arrow-next.svg");
}

.author__dots {
  grid-area: dots;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.author__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(43, 56, 143, 0.25);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.author__dot.is-active {
  background: var(--secondary-blue);
  transform: scale(1.15);
}

.author__card {
  position: relative;
  height: 100%;
  padding: 28px 22px 26px;
  border-radius: 33px;
  color: #fff;
  text-align: center;
  background: var(--secondary-blue);
  box-shadow: 0 18px 36px rgba(30, 45, 120, 0.28);
  overflow: hidden;
}

.author__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/smoke.jpeg") center / cover;
  pointer-events: none;
  opacity: 0.3;
}

.author__avatar {
  position: relative;
  aspect-ratio: 1;
  margin: 0 auto 18px;
}

.author__glow {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
  z-index: 1;
}

.author__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
  animation: spin 28s linear infinite;
}

.author__name,
.author__bio,
.author__more {
  position: relative;
  z-index: 1;
}

.author__name {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--primary-light);
}

.author__bio {
  margin: 0 auto 14px;
  max-width: 30ch;
  font-family: var(--font-accent);
  font-style: italic;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.author__more {
  font-family: var(--font-accent);
  font-style: italic;
  color: #cfe3ff;
  font-size: 0.95rem;
}

/* Lead form */
.lead {
  padding: 18px 26px 36px;
}

.lead__card {
  position: relative;
  padding: 36px 28px 32px;
  border-radius: 33px;
  border: 10px solid transparent;
  background:
    linear-gradient(
        357.3deg,
        #2b388f 20.48%,
        rgba(72, 238, 253, 0.21) 54.22%,
        rgba(255, 242, 120, 0.08) 96.39%
      )
      padding-box,
    linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.75) 0%,
        rgba(255, 255, 255, 0.28) 45%,
        rgba(180, 205, 235, 0.5) 100%
      )
      border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 16px 36px rgba(40, 70, 140, 0.22);
  overflow: hidden;
}

.lead__text {
  position: relative;
  margin: 0 0 28px;
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--secondary-blue);
  text-align: left;
}

.lead__quote {
  display: inline;
  color: #5a9fd8;
}

.lead__form {
  position: relative;
  display: grid;
  gap: 16px;
  justify-items: stretch;
}

.lead__check {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 0.65rem;
  color: var(--secondary-blue);
  line-height: 1.35;
}

.lead__check input {
  appearance: none;
  margin-top: 1px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(43, 56, 143, 0.35);
  border-radius: 3px;
  background: #fff;
  flex-shrink: 0;
  cursor: pointer;
}

.lead__check input:checked {
  background: var(--secondary-blue);
  border-color: transparent;
  box-shadow: inset 0 0 0 3px #fff;
}

.lead__input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(63, 71, 81, 0.55);
  border-radius: 10px;
  background: #f3f4f6;
  color: var(--ink);
  font-family: var(--font-ui);
}

.lead__input::placeholder {
  color: #9aa3af;
  font-style: italic;
}

.lead__input:focus {
  outline: 2px solid rgba(61, 125, 255, 0.45);
  outline-offset: 1px;
}

/* Footer */
.footer {
  padding: 42px 34px 48px;
  background: #3f4751;
  color: #fff;
}

.footer__title {
  margin: 0 0 28px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.footer__list li {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer__list img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer__list a {
  font-family: var(--font-accent);
  font-style: italic;
  text-decoration: none;
  color: #fff;
}

.footer__list a:hover {
  text-decoration: underline;
}

/* Motion */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (min-width: 480px) {
  body {
    padding: 24px 0 40px;
  }

  .page {
    border-radius: 20px;
  }
}

@media (min-width: 1024px) {
  :root {
    --page: var(--page-desktop);
  }

  body {
    padding: 0;
    background:
      radial-gradient(80% 50% at 50% -10%, #dcecff 0%, transparent 55%), #f4f7fb;
  }

  .page {
    width: min(100%, var(--page));
    border-radius: 0;
    box-shadow: none;
  }

  .header {
    min-height: 64px;
    padding: 0 28px;
    gap: 24px;
  }

  .header__brand {
    display: none;
  }

  .header__actions {
    display: none;
  }

  .nav-drawer {
    display: none !important;
  }

  .nav--desktop {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .hero__frame {
    display: block;
    margin: 18px 28px 0;
    touch-action: pan-y;
  }

  .hero__stage {
    display: block;
    position: relative;
  }

  .hero__media {
    aspect-ratio: 21 / 9;
    max-height: 520px;
    border: 3px solid rgba(143, 204, 255, 0.9);
    box-shadow: 0 0 0 1px rgba(72, 238, 253, 0.35);
  }

  .hero__quote-wrap {
    padding: 28px 36px;
    inset: auto;
    bottom: 20px;
    left: 20px;
    width: 40%;
  }

  .hero__quote {
    font-size: 1.35rem;
  }

  .hero__nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.92);
    color: #808080;
    box-shadow: 0 4px 14px rgba(10, 22, 48, 0.16);
  }

  .hero__nav--prev {
    left: 12px;
  }

  .hero__nav--next {
    right: 12px;
  }

  .hero__nav:hover,
  .hero__nav:focus-visible {
    background: #fff;
    color: var(--secondary-coal);
  }

  .hero__nav-icon {
    width: 14px;
    height: 16px;
  }

  .hero__dots {
    margin-top: 16px;
  }

  .hero__dot {
    background: rgba(43, 56, 143, 0.25);
  }

  .hero__dot.is-active {
    background: var(--secondary-blue);
  }

  .services {
    padding: 56px 72px 72px;
  }

  .services__content {
    display: flex;
    flex-direction: column;
    gap: 36px;
    max-width: 920px;
    margin: 0 auto;
    justify-items: stretch;
  }

  .service-block {
    max-width: none;
    width: 100%;
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
    column-gap: 48px;
    text-align: left;
  }

  .service-block__copy {
    order: 2;
  }

  .service-block__cta {
    order: 1;
    margin-top: 0;
    justify-self: start;
  }

  .service-block__title {
    font-size: 1.35rem;
    margin-bottom: 8px;
  }

  .service-block__text {
    margin: 0;
    max-width: 48ch;
    font-size: 1.05rem;
  }

  .routes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 32px;
    padding: 48px 48px 64px;
    align-items: stretch;
  }

  .routes .section-title {
    grid-column: 1 / -1;
    margin-bottom: 12px;
    font-size: 2.4rem;
  }

  .route-card {
    margin-bottom: 0;
  }

  .route-card__portal {
    width: min(100%, 280px);
  }

  .route-card__name,
  .route-card__price {
    font-size: 1.35rem;
  }

  .reviews {
    padding: 24px 56px 48px;
  }

  .reviews__frame {
    display: block;
    touch-action: pan-y;
  }

  .reviews__stage {
    display: block;
    position: relative;
  }

  .reviews__viewport {
    overflow: hidden;
  }

  .reviews__track {
    --reviews-gap: 24px;
    --reviews-visible: 3;
    gap: var(--reviews-gap);
  }

  .reviews__slide {
    flex: 0 0
      calc(
        (100% - (var(--reviews-visible) - 1) * var(--reviews-gap)) /
          var(--reviews-visible)
      );
    width: calc(
      (100% - (var(--reviews-visible) - 1) * var(--reviews-gap)) /
        var(--reviews-visible)
    );
    max-width: calc(
      (100% - (var(--reviews-visible) - 1) * var(--reviews-gap)) /
        var(--reviews-visible)
    );
  }

  .reviews__media {
    height: 360px;
  }

  .reviews__heading h2 {
    font-size: 1.25rem;
  }

  .reviews__nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 14px rgba(10, 22, 48, 0.16);
  }

  .reviews__nav--prev {
    left: -8px;
  }

  .reviews__nav--next {
    right: -8px;
  }

  .reviews__nav:hover,
  .reviews__nav:focus-visible {
    background: #fff;
  }

  .reviews__nav-icon {
    width: 14px;
    height: 16px;
  }

  .reviews__dots {
    margin-top: 20px;
  }

  .timeline {
    padding: 0 48px 24px;
  }

  .timeline__compare {
    border-radius: 4px;
    overflow: hidden;
  }

  .faq {
    padding: 48px 120px 40px;
  }

  .faq__title {
    font-size: 2rem;
    margin-bottom: 28px;
  }

  .faq__item summary {
    font-size: 1.05rem;
    padding: 16px 48px 16px 22px;
  }

  .faq__answer {
    font-size: 1rem;
    padding: 0 22px 18px;
  }

  .author {
    padding: 32px 56px 24px;
  }

  .author__frame {
    display: block;
    touch-action: pan-y;
  }

  .author__stage {
    display: block;
    position: relative;
  }

  .author__viewport {
    overflow: hidden;
  }

  .author__track {
    --author-gap: 28px;
    --author-visible: 3;
    gap: var(--author-gap);
  }

  .author__slide {
    flex: 0 0
      calc(
        (100% - (var(--author-visible) - 1) * var(--author-gap)) /
          var(--author-visible)
      );
    width: calc(
      (100% - (var(--author-visible) - 1) * var(--author-gap)) /
        var(--author-visible)
    );
    max-width: calc(
      (100% - (var(--author-visible) - 1) * var(--author-gap)) /
        var(--author-visible)
    );
  }

  .author__nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 14px rgba(10, 22, 48, 0.16);
  }

  .author__nav--prev {
    left: -8px;
  }

  .author__nav--next {
    right: -8px;
  }

  .author__nav:hover,
  .author__nav:focus-visible {
    background: #fff;
  }

  .author__nav-icon {
    width: 14px;
    height: 16px;
  }

  .author__dots {
    margin-top: 20px;
  }

  .lead {
    padding: 24px 48px 56px;
  }

  .lead__card {
    max-width: 920px;
    margin: 0 auto;
    padding: 40px 48px 36px;
  }

  .lead__text {
    text-align: center;
    font-size: 1.25rem;
    max-width: 42ch;
    margin-left: auto;
    margin-right: auto;
  }

  .lead__form {
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 16px;
    row-gap: 18px;
  }

  .lead__check {
    grid-column: 1 / -1;
    font-size: 0.85rem;
  }

  .lead__input {
    margin: 0;
  }

  .btn--submit {
    width: auto;
    min-width: 180px;
    margin: 0;
  }

  .footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 28px 48px;
  }

  .footer__title {
    margin: 0;
    text-align: left;
    flex-shrink: 0;
    font-size: 1.2rem;
  }

  .footer__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 18px 28px;
  }

  .footer__list li {
    gap: 10px;
  }

  .footer__list img {
    width: 28px;
    height: 28px;
  }
}
