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

:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef4f6;
  --ink: #14202b;
  --muted: #607080;
  --line: #dce5ea;
  --blue: #2563eb;
  --green: #0f9f7a;
  --coral: #ef6b4d;
  --amber: #f4b23d;
  --radius: 8px;
  --font: 'Outfit', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.5;
}

a {
  color: inherit;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 40px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.logo-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

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

.btn-nav,
.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-xl {
  min-height: 54px;
  padding: 15px 30px;
  font-size: 1.05rem;
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 56px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 72px 40px 56px;
}

.hero-content {
  max-width: 680px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
}

.badge-blue { color: #1d4ed8; background: #dbeafe; }
.badge-green { color: #047857; background: #d1fae5; }
.badge-coral { color: #b74126; background: #ffedd5; }
.badge-gray { color: #475569; background: #e2e8f0; }

.hero h1 {
  max-width: 720px;
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 800;
  line-height: 0.98;
  margin-bottom: 24px;
}

.hero-sub {
  max-width: 560px;
  font-size: 1.16rem;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.search-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 24px 60px rgba(20, 32, 43, 0.08);
  margin-bottom: 34px;
}

.trip-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.trip-tab {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--muted);
  font: 700 0.92rem var(--font);
  cursor: pointer;
}

.trip-tab.active {
  background: #dbeafe;
  border-color: #bfdbfe;
  color: var(--blue);
}

.search-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr auto;
  gap: 10px;
}

.search-fields label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.search-fields span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.search-fields input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  font: 700 1rem var(--font);
}

.stats-row {
  display: flex;
  align-items: center;
  gap: 22px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink);
}

.stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--line);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.route-board {
  width: min(100%, 430px);
  background: #ffffff;
  color: var(--ink);
  border: 1px solid #d6e3ee;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 30px 70px rgba(20, 32, 43, 0.12);
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.board-head span {
  color: var(--muted);
  font-size: 0.9rem;
}

.board-head strong {
  color: var(--blue);
}

.route-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 28px 0;
}

.route-line div:not(.line-path) {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.route-line span {
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 800;
}

.route-line strong {
  font-size: 1.25rem;
}

.line-path {
  height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--blue));
  position: relative;
}

.line-path::before,
.line-path::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px #dbeafe;
  transform: translateY(-50%);
}

.line-path::before { left: 0; }
.line-path::after { right: 0; }

.offer-list {
  display: grid;
  gap: 10px;
}

.offer-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius);
  background: #f8fbff;
  border: 1px solid #dbeafe;
  box-shadow: inset 4px 0 0 #93c5fd;
}

.offer-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.offer-price {
  color: #047857;
  font-weight: 800;
}

.directions,
.how-it-works {
  padding: 86px 40px;
  max-width: 1220px;
  margin: 0 auto;
}

.section-head {
  max-width: 650px;
  margin-bottom: 36px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-head h2,
.service-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(20, 32, 43, 0.08);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  background: var(--surface-soft);
  color: var(--blue);
  font-size: 1.35rem;
}

.feature-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.feature-card p,
.service-content p,
.step p,
.final-cta p {
  color: var(--muted);
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.62;
}

.service-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 44px;
  align-items: center;
  padding: 82px 40px;
  background: #e8f1f3;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-content,
.service-points {
  width: min(100%, 590px);
}

.service-content {
  justify-self: end;
}

.service-content p {
  margin-top: 16px;
  font-size: 1.06rem;
  line-height: 1.7;
}

.service-points {
  display: grid;
  gap: 12px;
}

.service-points div {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-points strong {
  color: var(--coral);
  font-weight: 800;
}

.service-points span {
  color: var(--ink);
  font-weight: 700;
}

.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 18px;
}

.step {
  flex: 1;
  min-width: 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-num {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  font-size: 1.15rem;
  font-weight: 800;
}

.step h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.step-arrow {
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 1.4rem;
}

.testimonials {
  overflow: hidden;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.testimonials-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scroll 26s linear infinite;
}

.testimonial {
  white-space: nowrap;
  padding: 12px 20px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--muted);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.final-cta {
  padding: 86px 40px;
}

.final-cta-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.final-cta p {
  margin: 0 auto 28px;
  max-width: 540px;
  font-size: 1.04rem;
}

.footer {
  padding: 34px 40px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  max-width: 1220px;
  margin: 0 auto;
  text-align: center;
}

.footer .logo {
  justify-content: center;
}

.footer p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

.footer-small {
  font-size: 0.8rem !important;
}

@media (max-width: 980px) {
  .nav {
    padding: 14px 22px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 48px 22px;
  }

  .hero-content {
    max-width: 100%;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-band {
    grid-template-columns: 1fr;
    padding: 64px 22px;
  }

  .service-content,
  .service-points {
    width: 100%;
    justify-self: stretch;
  }

  .directions,
  .how-it-works,
  .final-cta {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 700px) {
  .hero h1 {
    font-size: 2.7rem;
  }

  .search-fields {
    grid-template-columns: 1fr;
  }

  .trip-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row,
  .steps {
    flex-direction: column;
    align-items: stretch;
  }

  .stat-divider,
  .step-arrow {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .route-board {
    padding: 18px;
  }

  .btn-nav {
    display: none;
  }
}
