.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(4.5rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 88% 5%, rgb(255 86 7 / 11%), transparent 24rem),
    radial-gradient(circle at 12% 100%, rgb(0 104 202 / 10%), transparent 26rem),
    linear-gradient(180deg, #f8fbff, #fff 68%);
}

.hero::before {
  position: absolute;
  inset: 0;
  opacity: .32;
  background-image: linear-gradient(rgb(0 39 80 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(0 39 80 / 5%) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.hero-copy {
  max-width: 47rem;
}

.hero h1 {
  max-width: 12ch;
}

.hero-lead {
  max-width: 39rem;
  margin-bottom: var(--space-4);
  color: #2c425d;
  font-size: var(--font-size-lg);
  font-weight: 580;
}

.hero-support {
  max-width: 40rem;
  color: var(--color-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: var(--space-8);
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .9rem;
  margin: var(--space-8) 0 0;
  padding: 0;
  color: #41566e;
  font-size: var(--font-size-xs);
  font-weight: 750;
  letter-spacing: .04em;
  list-style: none;
  text-transform: uppercase;
}

.trust-line li {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
}

.trust-line li:not(:last-child)::after {
  width: .25rem;
  height: .25rem;
  border-radius: 50%;
  background: var(--color-orange-500);
  content: "";
}

.hero-visual {
  position: relative;
  max-width: 43rem;
  margin-inline: auto;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: .5rem solid var(--color-white);
  border-radius: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--color-navy-900);
  box-shadow: 0 32px 90px rgb(0 39 80 / 20%);
}

.hero-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 45%, rgb(0 39 80 / 24%));
  content: "";
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route-card {
  position: absolute;
  z-index: 2;
  right: -.35rem;
  bottom: -.9rem;
  left: .9rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .2rem;
  max-width: 29rem;
  padding: .8rem;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 1.15rem;
  background: rgb(255 255 255 / 91%);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.route-item {
  padding: .45rem .6rem;
  border-radius: .75rem;
}

.route-item:not(:last-child) {
  border-right: 1px solid var(--color-border);
}

.route-item small,
.route-item strong {
  display: block;
}

.route-item small {
  color: var(--color-muted);
  font-size: .56rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.route-item strong {
  color: var(--color-navy-900);
  font-size: .76rem;
}

.promise-grid {
  display: grid;
  align-items: end;
  gap: var(--space-10);
}

.promise-copy {
  max-width: 47rem;
}

.promise-copy p {
  color: var(--color-muted);
  font-size: var(--font-size-lg);
}

.promise-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.promise-stat {
  padding: clamp(1rem, 3vw, 1.5rem);
}

.promise-stat:not(:last-child) {
  border-right: 1px solid var(--color-border);
}

.promise-stat strong,
.promise-stat span {
  display: block;
}

.promise-stat strong {
  color: var(--color-blue-600);
  font-size: clamp(1.35rem, 4vw, 2.2rem);
  line-height: 1;
}

.promise-stat span {
  margin-top: .45rem;
  color: var(--color-muted);
  font-size: .65rem;
  font-weight: 700;
  line-height: 1.35;
}

.destinations-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-10);
}

.destinations-visual {
  position: absolute;
  z-index: 0;
  top: -5rem;
  right: -9rem;
  width: min(46rem, 80vw);
  opacity: .38;
  pointer-events: none;
}

.destinations-note {
  max-width: 55rem;
  margin: var(--space-8) 0 0;
  padding-left: var(--space-4);
  border-left: 2px solid var(--color-orange-500);
  color: rgb(255 255 255 / 58%);
  font-size: var(--font-size-sm);
}

.process-action {
  margin-top: var(--space-10);
  text-align: center;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 1.1rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: var(--font-size-sm);
}

.contact-strip a {
  color: var(--color-navy-900);
  font-weight: 800;
  text-decoration: none;
}

.error-page {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  place-items: center;
  padding: var(--section-space) 0;
  overflow: hidden;
  background: var(--color-navy-950);
  color: rgb(255 255 255 / 68%);
  text-align: center;
}

.error-page::before {
  position: absolute;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgb(255 86 7 / 24%);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgb(0 104 202 / 4%), 0 0 0 10rem rgb(0 104 202 / 2%);
  content: "";
}

.error-content {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.error-code {
  margin-bottom: var(--space-4);
  color: var(--color-orange-500);
  font-size: clamp(5rem, 20vw, 12rem);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: .8;
}

.error-page h1 {
  color: var(--color-white);
  font-size: var(--font-size-2xl);
}

.has-js .reveal {
  opacity: 1;
  transform: none;
}

.has-js .reveal.is-visible {
  animation: reveal-in 550ms ease both;
}

@keyframes reveal-in {
  from {
    opacity: .25;
    transform: translateY(1.25rem);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 48rem) {
  .route-card {
    right: -1.25rem;
    bottom: -1.25rem;
    left: auto;
    min-width: 25rem;
  }

  .route-item {
    padding: .55rem .8rem;
  }

  .route-item small { font-size: .62rem; }
  .route-item strong { font-size: .88rem; }

  .promise-stat span {
    font-size: var(--font-size-xs);
  }
}

@media (min-width: 62rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(28rem, .98fr);
  }

  .hero-copy {
    padding-bottom: var(--space-5);
  }

  .promise-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(20rem, .8fr);
  }

  .destinations-wrap {
    grid-template-columns: minmax(20rem, .65fr) minmax(30rem, 1.35fr);
    align-items: end;
  }

  .destinations-wrap .section-heading {
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-js .reveal.is-visible {
    animation: none;
  }
}
