/* ===================================================================
   Marriott Couriers — Marketing Site Stylesheet
   =================================================================== */

/* --- Custom Properties --- */
:root {
  --blue-900: #064a8a;
  --blue-700: #0a66c2;
  --blue-500: #0d8de8;
  --blue-300: #6db3f0;
  --blue-100: #d0e7fb;
  --blue-50:  #f0f7ff;

  --slate-900: #1a2332;
  --slate-700: #334155;
  --slate-600: #4a5568;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-50:  #f8fafc;

  --warm-100: #f2f1ee;
  --warm-50:  #fafaf8;
  --white:    #ffffff;

  --success:  #22c55e;
  --warning:  #f59e0b;

  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  --fs-xs:   clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --fs-sm:   clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --fs-base: clamp(1rem, 0.925rem + 0.375vw, 1.125rem);
  --fs-lg:   clamp(1.125rem, 1rem + 0.625vw, 1.375rem);
  --fs-xl:   clamp(1.25rem, 1rem + 1.25vw, 1.75rem);
  --fs-2xl:  clamp(1.5rem, 1.1rem + 2vw, 2.25rem);
  --fs-3xl:  clamp(2rem, 1.4rem + 3vw, 3rem);
  --fs-4xl:  clamp(2.5rem, 1.5rem + 5vw, 4rem);
  --fs-hero: clamp(2.75rem, 1.5rem + 6.25vw, 5rem);

  --spacing-xs:  0.5rem;
  --spacing-sm:  0.75rem;
  --spacing-md:  1rem;
  --spacing-lg:  1.5rem;
  --spacing-xl:  2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;
  --spacing-5xl: 8rem;

  --radius-sm:  0.375rem;
  --radius-md:  0.5rem;
  --radius-lg:  0.75rem;
  --radius-xl:  1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 30px rgba(0,0,0,0.1);
  --shadow-xl:  0 16px 50px rgba(0,0,0,0.12);

  --max-width: 1200px;
  --header-h:  4.5rem;

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--slate-700);
  background: var(--warm-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--slate-900);
  line-height: 1.15;
  letter-spacing: -0.01em;
}


/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--spacing-lg);
}

.section {
  padding-block: var(--spacing-5xl);
}

.section--sm {
  padding-block: var(--spacing-3xl);
}

.section--alt {
  background: var(--white);
}

.section--blue {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700), var(--blue-500));
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  color: var(--white);
}

.section--blue h2,
.section--blue h3,
.section--blue h4 {
  color: var(--white);
}

.section--light-blue {
  background: var(--blue-50);
}

.wave-divider {
  line-height: 0;
  margin-top: -1px;
}

.wave-divider svg {
  width: 100%;
  height: 3.5rem;
  display: block;
}

.wave-divider--flip {
  transform: scaleX(-1);
}

.grid {
  display: grid;
  gap: var(--spacing-xl);
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }
.gap-xl { gap: var(--spacing-xl); }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

.max-w-prose { max-width: 65ch; }
.max-w-narrow { max-width: 48rem; }


/* --- Typography --- */
.h1 { font-size: var(--fs-hero); }
.h2 { font-size: var(--fs-3xl); margin-bottom: var(--spacing-lg); }
.h3 { font-size: var(--fs-2xl); margin-bottom: var(--spacing-md); }
.h4 { font-size: var(--fs-xl); margin-bottom: var(--spacing-sm); }

.subtitle {
  font-size: var(--fs-lg);
  color: var(--slate-600);
  line-height: 1.7;
}

.section--blue .subtitle { color: var(--blue-100); }

.label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-700);
}

.section--blue .label { color: var(--blue-300); }


/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.75em;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: background var(--transition-base), transform var(--transition-fast), box-shadow var(--transition-base);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--blue-700);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: none;
}

.btn--primary:hover {
  background: var(--blue-900);
  box-shadow: var(--shadow-md);
}

@keyframes shimmer {
  from { left: -100%; }
  to { left: 100%; }
}

.btn--primary:hover::after {
  animation: shimmer 0.6s ease forwards;
}

.btn--secondary {
  background: transparent;
  color: var(--blue-700);
  border: 2px solid var(--blue-700);
}

.btn--secondary:hover {
  background: var(--blue-50);
}

.btn--white {
  background: var(--white);
  color: var(--blue-700);
}

.btn--white:hover {
  background: var(--blue-50);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--slate-700);
}

.btn--ghost:hover { background: var(--warm-100); }

.btn--lg {
  padding: 1em 2.25em;
  font-size: var(--fs-base);
  border-radius: var(--radius-xl);
}

.btn--sm {
  padding: 0.55em 1.25em;
  font-size: var(--fs-xs);
}


/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-md);
  color: var(--blue-700);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.card:hover .card__icon {
  transform: scale(1.12);
  background: var(--blue-700);
  color: var(--white);
}

.card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.card__title {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: var(--spacing-xs);
}

.card__text {
  font-size: var(--fs-sm);
  color: var(--slate-600);
  line-height: 1.65;
}


/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), background var(--transition-base);
}

.header.scrolled {
  border-bottom-color: var(--slate-200);
  background: rgba(250, 250, 248, 0.95);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--spacing-lg);
}

.header__brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--slate-900);
  text-decoration: none;
}

.header__brand img {
  height: 2.25rem;
  width: auto;
  border-radius: var(--radius-sm);
}

.header__nav {
  display: none;
  align-items: center;
  gap: var(--spacing-xl);
}

.header__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--slate-600);
  transition: color var(--transition-fast);
  position: relative;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-700);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.header__link:hover,
.header__link.active {
  color: var(--blue-700);
}

.header__link:hover::after,
.header__link.active::after {
  width: 100%;
}

.header__actions {
  display: none;
  align-items: center;
  gap: var(--spacing-sm);
}

.header__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--slate-900);
}

.header__toggle svg { width: 1.5rem; height: 1.5rem; }

@media (min-width: 960px) {
  .header__nav { display: flex; }
  .header__actions { display: flex; }
  .header__toggle { display: none; }
}


/* --- Mobile Menu --- */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--warm-50);
  padding: var(--spacing-xl) var(--spacing-lg);
  overflow-y: auto;
}

.mobile-menu.open { display: flex; flex-direction: column; }

.mobile-menu__link {
  display: block;
  padding: var(--spacing-md) 0;
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--slate-700);
  border-bottom: 1px solid var(--slate-200);
  transition: color var(--transition-fast);
}

.mobile-menu__link:hover,
.mobile-menu__link.active {
  color: var(--blue-700);
}

.mobile-menu__actions {
  margin-top: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}


/* --- Hero --- */
.hero {
  position: relative;
  overflow: hidden;
}

/* Padding lives on each slide so service slides can paint their bg from the very top */
.hero-slider__slide {
  padding-top: calc(var(--header-h) + var(--spacing-4xl));
  padding-bottom: var(--spacing-3xl);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 60%;
  height: 100%;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100), var(--warm-50), var(--blue-50));
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
  opacity: 0.7;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--spacing-lg);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
  }
}

.hero__content {
  max-width: 42rem;
}

.hero__label {
  margin-bottom: var(--spacing-lg);
}

.hero__title {
  font-size: var(--fs-hero);
  margin-bottom: var(--spacing-xl);
}

.hero__subtitle {
  font-size: var(--fs-xl);
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: var(--spacing-2xl);
  max-width: 36rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 26rem;
  margin-inline: auto;
}

.hero__logo-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.dashboard-mockup {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
}

.dashboard-mockup__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--slate-200);
  background: var(--warm-50);
}

.dashboard-mockup__brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--slate-900);
}

.dashboard-mockup__brand img {
  border-radius: 3px;
}

.dashboard-mockup__status {
  font-size: var(--fs-xs);
  color: var(--success);
  font-weight: 600;
}

.dashboard-mockup__body {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  min-height: 15rem;
}

.dashboard-mockup__sidebar {
  border-right: 1px solid var(--slate-200);
  background: var(--blue-50);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding-top: 0.8rem;
}

.sidebar-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background: var(--blue-300);
  opacity: 0.45;
}

.sidebar-dot.is-active {
  background: var(--blue-700);
  opacity: 1;
}

.dashboard-mockup__content {
  padding: 0.8rem;
  display: grid;
  gap: 0.6rem;
}

.dashboard-mockup__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.kpi-card {
  border: 1px solid var(--slate-200);
  border-radius: 0.65rem;
  padding: 0.55rem;
  background: var(--white);
}

.kpi-label {
  font-size: 0.65rem;
  color: var(--slate-400);
  margin-bottom: 0.2rem;
}

.kpi-value {
  font-size: 0.95rem;
  color: var(--slate-900);
  font-weight: 700;
}

.dashboard-mockup__chart {
  border: 1px solid var(--slate-200);
  border-radius: 0.65rem;
  padding: 0.55rem;
  min-height: 4rem;
  display: flex;
  align-items: flex-end;
  gap: 0.3rem;
  background: var(--white);
}

.dashboard-mockup__chart span {
  display: block;
  flex: 1;
  border-radius: 0.3rem 0.3rem 0 0;
  background: linear-gradient(180deg, var(--blue-300), var(--blue-700));
}

.dashboard-mockup__chart span:nth-child(1) { height: 30%; }
.dashboard-mockup__chart span:nth-child(2) { height: 46%; }
.dashboard-mockup__chart span:nth-child(3) { height: 70%; }
.dashboard-mockup__chart span:nth-child(4) { height: 52%; }
.dashboard-mockup__chart span:nth-child(5) { height: 86%; }
.dashboard-mockup__chart span:nth-child(6) { height: 64%; }

@keyframes growBar {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.dashboard-mockup__chart span {
  transform: scaleY(0);
  transform-origin: bottom;
}

.reveal.visible .dashboard-mockup__chart span {
  animation: growBar 0.6s ease forwards;
}

.reveal.visible .dashboard-mockup__chart span:nth-child(1) { animation-delay: 0.1s; }
.reveal.visible .dashboard-mockup__chart span:nth-child(2) { animation-delay: 0.2s; }
.reveal.visible .dashboard-mockup__chart span:nth-child(3) { animation-delay: 0.3s; }
.reveal.visible .dashboard-mockup__chart span:nth-child(4) { animation-delay: 0.4s; }
.reveal.visible .dashboard-mockup__chart span:nth-child(5) { animation-delay: 0.5s; }
.reveal.visible .dashboard-mockup__chart span:nth-child(6) { animation-delay: 0.6s; }

.dashboard-mockup__table {
  border: 1px solid var(--slate-200);
  border-radius: 0.65rem;
  padding: 0.45rem 0.55rem;
  background: var(--white);
  display: grid;
  gap: 0.4rem;
}

.dashboard-mockup__table .row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 0.4rem;
}

.dashboard-mockup__table .row span {
  height: 0.4rem;
  border-radius: 0.2rem;
  background: var(--slate-200);
}

.hero__float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--slate-900);
  white-space: nowrap;
  z-index: 3;
}

.hero__float-badge svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.hero__float-badge--track {
  top: 10%;
  right: -1.5rem;
  color: var(--blue-700);
}

.hero__float-badge--time {
  bottom: 25%;
  left: -2rem;
  color: var(--success);
}

.hero__float-badge--secure {
  bottom: 5%;
  right: -0.5rem;
  color: var(--blue-500);
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero__float-badge { animation: floatBadge 3s ease-in-out infinite; }
.hero__float-badge--track { animation-delay: 0s; }
.hero__float-badge--time { animation-delay: 1s; }
.hero__float-badge--secure { animation-delay: 2s; }

@media (max-width: 767px) {
  .hero__float-badge { display: none; }
  .hero__visual-wrapper { max-width: 20rem; }
}

.hero__illustration {
  grid-column: 1 / -1;
  margin-top: var(--spacing-lg);
  text-align: center;
  opacity: 0.6;
}

.hero__plane-svg { max-width: 100%; height: auto; }

@keyframes planeFly {
  0%, 100% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(4px) translateY(-3px); }
}

.hero__plane-icon { animation: planeFly 3s ease-in-out infinite; }

.hero__stats {
  display: flex;
  gap: var(--spacing-3xl);
  margin-top: var(--spacing-3xl);
  padding-top: var(--spacing-2xl);
  border-top: 1px solid var(--slate-200);
  grid-column: 1 / -1;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  color: var(--blue-700);
}

.hero__stat-label {
  font-size: var(--fs-sm);
  color: var(--slate-400);
  margin-top: 0.25rem;
}

@media (max-width: 639px) {
  .hero__stats {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
}


/* ── Hero Slider ── */
.hero-slider__track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.hero-slider__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
}

/* Service slides — solid blue bg covers the hero::before gradient */
.hero-slider__slide--service {
  background: linear-gradient(145deg, #1e3a8a 0%, #1d4ed8 45%, #2563eb 75%, #3b82f6 100%);
  display: flex;
  align-items: center;
}

.hero-slider__slide--money {
  background: linear-gradient(145deg, #1e3a8a 0%, #1a46c8 40%, #1d4ed8 70%, #2563eb 100%);
}

.hero-slider__slide--service .hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Service slide layout */
.svc-slide {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

@media (min-width: 768px) {
  .svc-slide {
    grid-template-columns: 1fr auto;
    gap: var(--spacing-3xl);
  }
}

.svc-slide__eyebrow {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  margin-bottom: var(--spacing-lg);
}

.svc-slide__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: white;
  margin-bottom: var(--spacing-xl);
}

.svc-slide__title em {
  font-style: normal;
  color: #fcd34d; /* amber-300 */
  display: block;
}

.svc-slide__price {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--spacing-xl);
}

.svc-slide__price strong {
  color: #fcd34d;
  font-size: 1.5em;
  font-weight: 800;
}

.svc-slide__location {
  font-size: var(--fs-xl);
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  margin-bottom: var(--spacing-lg);
}

.svc-slide__location strong {
  color: #fcd34d;
}

.svc-slide__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.svc-slide__bullets li {
  color: rgba(255,255,255,0.95);
  font-size: var(--fs-lg);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.svc-slide__bullets li::before {
  content: '•';
  color: #fcd34d;
  font-size: 1.5em;
  line-height: 1;
}

.svc-slide__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--spacing-xl);
}

.svc-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  font-size: var(--fs-sm);
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.svc-slide__actions {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.svc-slide__btn {
  background: white;
  color: #1d4ed8;
  border: 2px solid white;
  border-radius: var(--radius-md, 0.5rem);
  padding: 0.7rem 1.75rem;
  font-size: var(--fs-base);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}

.svc-slide__btn:hover {
  background: transparent;
  color: white;
}

/* Flyer image */
.svc-slide__visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-slide__img {
  display: block;
  width: clamp(280px, 40vw, 540px);
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  object-fit: cover;
}

@media (max-width: 767px) {
  .svc-slide__visual { display: none; }
}

/* Slider arrows */
.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  color: #1d4ed8;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.hero-slider__arrow:hover {
  background: white;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
  transform: translateY(-50%) scale(1.08);
}

.hero-slider__arrow--prev { left: 1rem; }
.hero-slider__arrow--next { right: 1rem; }

@media (max-width: 639px) {
  .hero-slider__arrow { width: 2.25rem; height: 2.25rem; }
  .hero-slider__arrow--prev { left: 0.5rem; }
  .hero-slider__arrow--next { right: 0.5rem; }
}

/* Slider dots */
.hero-slider__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 30;
}

.hero-slider__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 2px solid rgba(100,116,139,0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

/* On service slides the dots are white; on courier slide they're slate */
.hero-slider__dot.is-active {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: scale(1.35);
}

/* When a service slide is active the track has the is-service class */
.hero--service-active .hero-slider__dot.is-active {
  background: white;
  border-color: white;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider__track { transition: none; }
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.svc-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl, 1rem);
  padding: var(--spacing-2xl);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}

.svc-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.svc-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg, 0.75rem);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  flex-shrink: 0;
}

.svc-card__icon--blue  { background: var(--blue-50);  color: var(--blue-600,  #2563eb); }
.svc-card__icon--amber { background: #fffbeb;          color: #d97706; }
.svc-card__icon--green { background: #f0fdf4;          color: #16a34a; }

.svc-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: var(--spacing-md);
}

.svc-card__text {
  font-size: var(--fs-base);
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}

.svc-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.svc-card__list li {
  font-size: var(--fs-sm);
  color: var(--slate-600);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.svc-card__list li::before {
  content: '';
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--blue-400);
  flex-shrink: 0;
}

.svc-card__link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--blue-600, #2563eb);
  text-decoration: none;
  transition: color 0.15s;
  margin-top: auto;
}

.svc-card__link:hover {
  color: var(--blue-800, #1e40af);
}

/* --- Steps (How it Works) --- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  counter-reset: step;
}

.step {
  position: relative;
  counter-increment: step;
}

.step__icon {
  margin-bottom: var(--spacing-sm);
  opacity: 0.7;
}

.step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--blue-700);
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-lg);
}

.step__title {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: var(--spacing-xs);
}

.step__text {
  font-size: var(--fs-sm);
  color: var(--slate-600);
  line-height: 1.65;
  max-width: 28ch;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
  }

  .steps--connected .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.75rem;
    left: calc(3.5rem + var(--spacing-md));
    right: calc(-1 * var(--spacing-xl));
    height: 2px;
    background: repeating-linear-gradient(
      90deg,
      var(--blue-300) 0 6px,
      transparent 6px 12px
    );
  }
}


/* --- Stats Row --- */
.stats-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  text-align: center;
}

.stat__value {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  color: var(--blue-700);
  line-height: 1;
}

.section--blue .stat__value { color: var(--white); }

.stat__label {
  font-size: var(--fs-sm);
  color: var(--slate-400);
  margin-top: var(--spacing-xs);
}

.section--blue .stat__label { color: var(--blue-100); }

@media (min-width: 640px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}


/* --- Split Section --- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: -1; }
}

.split__content { max-width: 30rem; }

.split__media {
  position: relative;
}

.split__card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}


/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: var(--spacing-4xl) var(--spacing-lg);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700), var(--blue-500));
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  border-radius: var(--radius-2xl);
  color: var(--white);
}

.cta-banner h2 { color: var(--white); }
.cta-banner p { color: var(--blue-100); }

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}


/* --- Footer --- */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding-top: var(--spacing-4xl);
  padding-bottom: var(--spacing-2xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-3xl);
}

@media (min-width: 640px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 960px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer__brand {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.footer__desc {
  font-size: var(--fs-sm);
  line-height: 1.7;
  max-width: 30ch;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--spacing-md);
  letter-spacing: 0.03em;
}

.footer__link {
  display: block;
  font-size: var(--fs-sm);
  padding-block: 0.3em;
  transition: color var(--transition-fast);
}

.footer__link:hover { color: var(--blue-300); }

.footer__bottom {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: var(--fs-xs);
}

.footer__legal {
  display: flex;
  gap: var(--spacing-lg);
  flex-shrink: 0;
}

.footer__credits {
  font-size: var(--fs-xs);
  opacity: 0.6;
  text-align: center;
  margin-top: var(--spacing-md);
  white-space: nowrap;
}

.footer__credits a {
  display: inline;
  padding: 0;
}


/* --- Page Header (inner pages) --- */
.page-header {
  padding-top: calc(var(--header-h) + var(--spacing-4xl));
  padding-bottom: var(--spacing-3xl);
  text-align: center;
  background: var(--blue-50);
}

.page-header .h2 { margin-bottom: var(--spacing-md); }

.page-header .subtitle {
  max-width: 40rem;
  margin-inline: auto;
}


/* --- Table --- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  background: var(--white);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.table th {
  text-align: left;
  font-weight: 700;
  color: var(--slate-900);
  padding: var(--spacing-md) var(--spacing-lg);
  border-bottom: 2px solid var(--slate-200);
  background: var(--blue-50);
}

.table td {
  padding: var(--spacing-md) var(--spacing-lg);
  border-bottom: 1px solid var(--slate-200);
  color: var(--slate-700);
}

.table tr:last-child td { border-bottom: none; }

.table tr:hover td { background: var(--warm-50); }


/* --- Form --- */
.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: var(--spacing-xs);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75em 1em;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--slate-900);
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(13, 141, 232, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 8rem;
}


/* --- FAQ Accordion --- */
.faq-item {
  border-bottom: 1px solid var(--slate-200);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg) 0;
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--slate-900);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover { color: var(--blue-700); }

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--slate-400);
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: var(--spacing-md);
}

.faq-item.open .faq-question::after {
  content: '−';
  color: var(--blue-700);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.open .faq-answer {
  max-height: 20rem;
}

.faq-answer__inner {
  padding-bottom: var(--spacing-lg);
  font-size: var(--fs-base);
  color: var(--slate-600);
  line-height: 1.7;
}


/* --- Value Props --- */
.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 640px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}

.value-item {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
}

.value-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: var(--radius-md);
}

.section--blue .value-icon {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.value-icon svg { width: 1.25rem; height: 1.25rem; }


/* --- Badges / Tags --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.35em 0.85em;
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--blue-50);
  color: var(--blue-700);
}


/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* --- Contact Info --- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact-info__item {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: var(--radius-lg);
}

.contact-info__icon svg { width: 1.25rem; height: 1.25rem; }

.contact-info__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15em;
}

.contact-info__value {
  font-size: var(--fs-base);
  color: var(--slate-900);
  font-weight: 500;
}


/* --- Misc --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.spacer-top { padding-top: var(--header-h); }

/* Inline SVG icon helper */
.icon { display: inline-flex; align-items: center; }
.icon svg { width: 1em; height: 1em; }

/* Map embed */
.map-embed {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}


/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .section--blue,
  .cta-banner {
    animation: none;
  }

  .hero__float-badge {
    animation: none;
  }

  .hero__plane-icon {
    animation: none;
  }

  .dashboard-mockup__chart span {
    transform: scaleY(1);
  }

  .reveal.visible .dashboard-mockup__chart span {
    animation: none;
    transform: scaleY(1);
  }

  .btn--primary:hover::after {
    animation: none;
  }

  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3,
  .reveal-delay-4,
  .reveal-delay-5 {
    transition-delay: 0ms;
  }
}


/* ===================================================================
   Mobile Overrides (≤ 767px)
   =================================================================== */

@media (max-width: 767px) {

  /* Hero: replace awkward right-panel split with a subtle bottom arc */
  .hero::before {
    top: auto;
    right: 0;
    bottom: -5%;
    width: 100%;
    height: 45%;
    border-radius: 60% 60% 0 0 / 30% 30% 0 0;
    opacity: 0.35;
  }

  /* Tighten hero vertical rhythm */
  .hero-slider__slide {
    padding-top: calc(var(--header-h) + var(--spacing-xl));
    padding-bottom: var(--spacing-2xl);
  }

  /* Reduce grid gap (was larger on mobile than desktop — reversed) */
  .hero__grid {
    gap: var(--spacing-xl);
  }

  .hero__title {
    margin-bottom: var(--spacing-lg);
  }

  .hero__subtitle {
    font-size: var(--fs-base);
    margin-bottom: var(--spacing-xl);
  }

  /* Full-width CTA buttons for easier tapping */
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Hero stats: tighten top spacing */
  .hero__stats {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    gap: var(--spacing-xl);
    flex-wrap: wrap;
  }

  .hero__stats > div {
    min-width: 40%;
  }

  /* Hide the plane SVG — takes up vertical space without value on mobile */
  .hero__illustration {
    display: none;
  }

  /* Reduce section block padding */
  .section {
    padding-block: var(--spacing-3xl);
  }

  .section--sm {
    padding-block: var(--spacing-2xl);
  }

  /* CTA banner: reduce padding */
  .cta-banner {
    padding: var(--spacing-2xl) var(--spacing-lg);
    border-radius: var(--radius-xl);
  }

  /* Ensure step text doesn't get artificially constrained */
  .step__text {
    max-width: none;
  }

  /* Split card: remove rotation on mobile */
  .split__card {
    transform: none;
  }

  /* Page header: tighten top padding */
  .page-header {
    padding-top: calc(var(--header-h) + var(--spacing-2xl));
    padding-bottom: var(--spacing-2xl);
  }
}
