:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --navy: #0F172A;
  --purple: #7C3AED;
  --green: #22C55E;
  --background: #F8FAFC;
  --card: #FFFFFF;
  --text: #111827;
  --muted: #64748B;
  --border: #E2E8F0;
}

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

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
  max-width: 100%;
}

.header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.nav {
  width: min(1140px, 92%);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  font-size: 28px;
  font-weight: 800;
  min-width: 0;
}

.site-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
  object-position: center;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 0.5rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 4px 0;
  background: var(--navy);
  border-radius: 2px;
}

.logo-mark {
  background: var(--primary);
  color: white;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta,
.main-button,
.btn-primary-custom {
  background: var(--primary);
  color: white;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 13px 22px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s;
}

.nav-cta:hover,
.main-button:hover,
.btn-primary-custom:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  border-color: var(--primary-dark);
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
}

.site-header .navbar {
  --bs-navbar-padding-y: 0.10rem;
  padding-top: 0.10rem;
  padding-bottom: 0.10rem;
}

.site-header .navbar > .container {
  position: relative;
  padding-top: 0.10rem;
  padding-bottom: 0.10rem;
}

.site-header .navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  line-height: 0;
}

.site-header .navbar-brand .site-logo {
  width: 200px;
  height: 200px;
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
  object-position: center;
}

.site-header .navbar-toggler {
  padding: 0.2rem 0.35rem;
  font-size: 0.85rem;
  border: 1px solid var(--border);
}

.site-header .navbar-toggler:focus {
  box-shadow: none;
}

.site-header .navbar-toggler-icon {
  width: 1.1em;
  height: 1.1em;
  background-size: 100%;
}

.site-header .header-nav {
  align-items: center;
  text-align: center;
}

.site-header .header-nav .nav-link {
  white-space: nowrap;
  text-align: center;
  font-weight: 700;
  color: var(--muted);
  padding: 0.5rem 0.75rem;
}

.site-header .header-nav .nav-link:hover,
.site-header .header-nav .nav-link:focus {
  color: var(--primary);
}

.site-header .nav-cta-btn {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 10px;
  width: auto;
  white-space: nowrap;
}

/* ─── Carrier / Vendor strips ─────────────────────────────────────── */

.carrier-strip,
.vendor-strip {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 21px 0;
  overflow: hidden; /* clips the infinitely wide track */
}

.carrier-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Fixed wrapper — owns the gradient mask so it never moves */
.carrier-marquee-wrapper {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

/* Scrolling track — no mask here anymore */
.carrier-track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  animation: carrier-marquee 28s linear infinite;
  will-change: transform;
}

.carrier-marquee-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: max-content;
}

.carrier-chip {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
  padding: 8px;
  flex-shrink: 0;
}

.carrier-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes carrier-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-50% - 6px), 0, 0);
  }
}

/* ─── Rest of styles (unchanged) ─────────────────────────────────── */

@media (max-width: 767.98px) {
  .carrier-strip {
    padding: 12px 0;
  }

  .carrier-label {
    text-align: center;
    width: 100%;
  }

  .carrier-chip {
    width: 72px;
    height: 72px;
    padding: 6px;
  }
}

@media (min-width: 992px) {
  .site-header .navbar {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  .site-header .navbar > .container {
    padding-top: 0;
    padding-bottom: 0;
  }

  .site-header .navbar-collapse {
    flex-grow: 1;
    align-items: center;
    justify-content: flex-end;
  }

  .site-header .header-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 0.25rem;
    margin: 0 !important;
  }

  .site-header .nav-cta-btn {
    margin-left: auto;
  }
}

@media (max-width: 991.98px) {
  .site-header .navbar {
    --bs-navbar-padding-y: 0;
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
  }

  .site-header .navbar > .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
  }

  .site-header .navbar-brand {
    margin: 0;
    justify-content: center;
    width: 100%;
  }

  .site-header .navbar-brand .site-logo {
    margin: 0 auto;
    display: block;
  }

  .site-header .navbar-toggler {
    margin: 0 auto;
    align-self: center;
  }

  .site-header .navbar-collapse {
    width: 100%;
    padding: 0.5rem 0 0.35rem;
    text-align: center;
  }

  .site-header .header-nav {
    width: 100%;
    align-items: center;
    margin-bottom: 0.5rem !important;
  }

  .site-header .header-nav .nav-item {
    width: 100%;
  }

  .site-header .header-nav .nav-link {
    display: block;
    width: 100%;
  }

  .site-header .nav-cta-btn {
    display: inline-block;
    margin: 0 auto;
  }
}

.hero {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.16), transparent 30%),
    var(--background);
  padding: 90px 0 70px;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
}

.hero-content h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.02;
  color: var(--navy);
  margin-bottom: 24px;
}

.hero-content p {
  color: var(--muted);
  font-size: 19px;
  max-width: 560px;
}

.engine-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 32px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
}

.engine-card h2 {
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--navy);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.field label {
  font-weight: 800;
  color: var(--navy);
  font-size: 14px;
}

.field input,
.field select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  outline: none;
}

.field select {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.field input:focus,
.field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.main-button {
  width: 100%;
  margin-top: 24px;
  font-size: 17px;
}

.small-note {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.results-preview,
.how-it-works,
.destinations {
  padding: 80px 0;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 42px;
}

.section-heading span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.section-heading h2 {
  color: var(--navy);
  font-size: clamp(32px, 4vw, 46px);
  margin-top: 8px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.result-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.result-card.featured {
  border-color: var(--primary);
  transform: translateY(-10px);
}

.tag {
  display: inline-block;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 18px;
}

.tag.green {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
}

.tag.purple {
  background: rgba(124, 58, 237, 0.12);
  color: var(--purple);
}

.result-card h3 {
  color: var(--navy);
  font-size: 23px;
  margin-bottom: 10px;
}

.result-card p {
  color: var(--muted);
  margin-bottom: 22px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-row strong {
  font-size: 26px;
  color: var(--navy);
}

.price-row span {
  color: var(--muted);
  font-weight: 700;
}

.how-it-works {
  background: white;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.step {
  padding: 30px;
  border-radius: 26px;
  background: var(--background);
  border: 1px solid var(--border);
}

.step-number {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: white;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-weight: 900;
  margin-bottom: 18px;
}

.step h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
}

.destination-box {
  background: var(--navy);
  color: white;
  border-radius: 34px;
  padding: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.destination-box h2 {
  font-size: 36px;
}

.country-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.country-list a {
  color: white;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 800;
}

.country-list a:hover {
  background: var(--primary);
}

.footer {
  text-align: center;
  padding: 32px;
  background: var(--navy);
  color: white;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    order: 4;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.65rem 0;
    font-size: 16px;
  }

  .logo {
    font-size: 22px;
  }

  .logo .site-logo {
    width: 56px;
    max-height: 56px;
  }

  .nav-toggle {
    order: 2;
  }

  .nav-cta {
    order: 3;
    margin-left: auto;
  }

  .hero-wrap,
  .cards-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .result-card.featured {
    transform: none;
  }

  .destination-box {
    flex-direction: column;
    text-align: center;
  }

  .country-list {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .nav {
    gap: 10px;
  }

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

  .hero {
    padding: 60px 0;
  }

  .hero-content h1 {
    font-size: clamp(30px, 10vw, 40px);
    line-height: 1.1;
  }

  .hero-content p {
    font-size: 16px;
  }

  .logo .site-logo {
    width: 46px;
    height: auto;
    max-height: 46px;
  }

  .logo {
    gap: 10px;
    font-size: 20px;
  }

  .destination-box h2 {
    font-size: clamp(24px, 8vw, 30px);
  }

  .engine-card {
    padding: 20px;
    border-radius: 22px;
  }

  .engine-card h2 {
    font-size: 24px;
  }

  .field input,
  .field select {
    font-size: 16px;
    padding: 13px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .nav {
    width: min(100% - 28px, 1140px);
  }

  .logo span {
    font-size: 18px;
  }

  .nav-cta {
    padding: 12px 16px;
  }

  .engine-card {
    padding: 18px;
  }
}