/* ==========================================================================
   MGM Trips & Travels — plain HTML/CSS build
   Edit colours in :root. No build step, no framework.
   ========================================================================== */

:root {
  --ink: #0f1c2e;
  --ink-soft: #4a596c;
  --navy: #16273d;
  --navy-deep: #0b1725;
  --brand: #f5821f;
  --brand-600: #e0700e;
  --brand-50: #fff4e8;
  --sky: #2fb9e6;
  --wa: #0f8a4f;
  --wa-dark: #0b6d3e;
  --line: #e5eaf1;
  --surface: #f6f8fb;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-card: 0 1px 2px rgba(15, 28, 46, .04), 0 12px 32px -12px rgba(15, 28, 46, .12);
  --shadow-lift: 0 24px 60px -24px rgba(15, 28, 46, .28);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -.02em;
  line-height: 1.12;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
svg { display: block; }
pre { margin: 0; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.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;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -3rem;
  z-index: 100;
  padding: .6rem 1rem;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  transition: top .15s;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 1.75rem; height: 1.75rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 16px 40px -18px rgba(245, 130, 31, .95);
}
.btn-primary:hover { background: var(--brand-600); }
.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 14px 30px -16px rgba(15, 138, 79, .9);
}
.btn-wa:hover { background: var(--wa-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #eef2f7; }
.btn-ghost {
  border-color: rgba(255, 255, 255, .25);
  color: #fff;
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .1);
}
.btn-outline {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}
.btn-outline:hover { background: var(--surface); border-color: rgba(22, 39, 61, .25); }
.btn-sm { padding: .55rem .9rem; font-size: .78rem; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow .rule { width: 2rem; height: 1px; background: var(--brand); }

.section { padding: 5rem 0; }
.section-surface { background: var(--surface); }
.section-head { max-width: 42rem; }
.section-head h2,
.section-title {
  margin-top: 1rem;
  font-size: clamp(1.9rem, 4vw, 2.45rem);
  font-weight: 800;
  color: var(--ink);
}
.section-lead {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.section-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  transition: color .15s;
}
.text-link:hover { color: var(--brand); }
.text-link .icon { width: 1rem; height: 1rem; }
.card-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Header ---------- */
.topbar { background: var(--navy-deep); color: rgba(255, 255, 255, .65); font-size: .75rem; }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.5rem;
}
.topbar-group { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: .4rem; }
.topbar-item .icon { color: var(--brand); }
.topbar a:hover { color: #fff; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, .35); }

.site-header { position: sticky; top: 0; z-index: 50; }

.navbar {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.navbar.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(15, 28, 46, .35);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.5rem;
}

.logo { display: flex; align-items: center; gap: .75rem; }
.logo-mark { height: 3rem; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-word {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
}
.logo-sub {
  margin-top: .3rem;
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .28em;
  color: rgba(74, 89, 108, .7);
}
.logo-light .logo-word { color: #fff; }
.logo-light .logo-sub { color: rgba(255, 255, 255, .55); }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  padding: .5rem .75rem;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--surface); color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: .75rem; }
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
  transition: background .15s, border-color .15s;
}
.phone-link .icon { color: var(--brand); }
.phone-link:hover { background: var(--surface); border-color: rgba(22, 39, 61, .25); }

.menu-btn {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.menu-btn .icon-close { display: none; }
.menu-btn.is-open .icon-open { display: none; }
.menu-btn.is-open .icon-close { display: block; }

.mobile-nav { border-top: 1px solid var(--line); background: #fff; }
.mobile-nav-inner { display: flex; flex-direction: column; gap: .25rem; padding-top: .75rem; padding-bottom: 1rem; }
.mobile-nav a:not(.btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem .5rem;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 500;
}
.mobile-nav a:not(.btn):hover { background: var(--surface); }
.mobile-nav a:not(.btn) .icon { color: rgba(74, 89, 108, .6); }
.mobile-nav .btn { margin-top: .5rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 6rem;
  background: var(--navy-deep);
  color: #fff;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 23, 37, .97) 0%, rgba(11, 23, 37, .92) 45%, rgba(11, 23, 37, .4) 100%),
    linear-gradient(0deg, rgba(11, 23, 37, .85), rgba(11, 23, 37, 0) 60%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 3rem;
}
.hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
}
.hero h1 .accent { color: var(--brand); }
.hero-lead {
  max-width: 34rem;
  margin-top: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .75);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 2.25rem; }
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .7);
}
.hero-points .icon { color: var(--brand); }

.fare-card {
  width: 100%;
  max-width: 24rem;
  margin-left: auto;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lift);
}
.fare-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.fare-live {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #6ee7b7;
}
.fare-live .dot { background: #34d399; width: 6px; height: 6px; }
.fare-route { display: flex; align-items: center; gap: .75rem; margin-top: 1.5rem; }
.fare-code { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.fare-city { font-size: .7rem; color: rgba(255, 255, 255, .5); }
.fare-city-right { text-align: right; }
.fare-line { position: relative; flex: 1; border-top: 1px dashed rgba(255, 255, 255, .25); }
.fare-line .icon {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  color: var(--brand);
  background: rgba(11, 23, 37, .0);
}
.fare-meta { margin-top: 1rem; font-size: .8rem; color: rgba(255, 255, 255, .6); }
.fare-price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.fare-label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.fare-price { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; line-height: 1.2; }
.fare-price small { margin-left: .2rem; font-size: .7rem; font-weight: 500; color: rgba(255, 255, 255, .5); }
.fare-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
}
.fare-stats strong { display: block; font-size: .875rem; }
.fare-stats span { font-size: .68rem; color: rgba(255, 255, 255, .5); }

/* ---------- Search ---------- */
.search-band { background: var(--surface); padding-bottom: 4rem; }
.search-card {
  position: relative;
  z-index: 2;
  margin-top: -4rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 30px 70px -30px rgba(6, 17, 30, .55);
}
.search-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.seg { display: inline-flex; padding: .25rem; border-radius: 12px; background: var(--surface); }
.seg-btn {
  border: 0;
  border-radius: 8px;
  padding: .5rem 1rem;
  background: transparent;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.seg-btn.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(15, 28, 46, .08); }
.search-note { display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--ink-soft); }
.search-note .icon { color: var(--wa); }

.search-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: .75rem; margin-top: 1.25rem; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field > label {
  display: block;
  margin-bottom: .375rem;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field-from { grid-column: span 3; }
.field-to { grid-column: span 3; }
.field-depart { grid-column: span 2; }
.field-return { grid-column: span 3; }
.field-travellers { grid-column: span 4; }
.field-cabin { grid-column: span 3; }
.field-submit { grid-column: span 5; }
.swap-wrap { grid-column: span 1; display: flex; align-items: flex-end; justify-content: center; padding-bottom: .35rem; }

.control {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15, 28, 46, .04);
  transition: border-color .15s, box-shadow .15s;
}
.control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(245, 130, 31, .2);
}
.control:disabled { background: var(--surface); color: rgba(74, 89, 108, .5); cursor: not-allowed; }

.select-wrap, .date-wrap { position: relative; }
.select-wrap .control, .date-wrap .control { padding-right: 2.25rem; }
.select-wrap .chev, .date-wrap .cal {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(74, 89, 108, .55);
}
input[type="date"]::-webkit-calendar-picker-indicator { opacity: .45; cursor: pointer; }

.swap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink-soft);
  transition: border-color .15s, color .15s;
}
.swap .icon { transform: rotate(180deg); }
.swap:hover { border-color: var(--brand); color: var(--brand); }

.pax { position: relative; }
.pax-btn { display: flex; align-items: center; justify-content: space-between; gap: .5rem; text-align: left; }
.pax-summary { display: inline-flex; align-items: center; gap: .5rem; }
.pax-summary .icon { color: rgba(74, 89, 108, .7); }
.pax-btn .chev { color: rgba(74, 89, 108, .6); }
.pax-panel {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  z-index: 20;
  width: 100%;
  min-width: 17rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.pax-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0; }
.pax-name { font-size: .875rem; font-weight: 600; }
.pax-hint { font-size: .72rem; color: var(--ink-soft); }
.stepper { display: flex; align-items: center; gap: .5rem; }
.stepper button {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1;
}
.stepper button:hover:not(:disabled) { border-color: rgba(22, 39, 61, .3); color: var(--ink); }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }
.stepper span { width: 1.25rem; text-align: center; font-size: .875rem; font-weight: 600; }
.pax-done {
  width: 100%;
  margin-top: .5rem;
  padding: .5rem;
  border: 0;
  border-radius: 8px;
  background: var(--surface);
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink);
}
.pax-done:hover { background: var(--line); }

.label-spacer {
  display: block;
  margin-bottom: .375rem;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: transparent;
  user-select: none;
}
.search-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: .75rem;
}
.search-foot p { max-width: 40rem; font-size: .72rem; color: var(--ink-soft); }
.wa-fallback { font-size: .72rem; font-weight: 600; color: var(--wa); text-decoration: underline; text-underline-offset: 2px; }
.form-error { margin-top: .75rem; font-size: .8rem; font-weight: 600; color: var(--brand-600); }
.form-error a { text-decoration: underline; }

/* ---------- Airlines ---------- */
.airlines { padding: 2.25rem 0; border-bottom: 1px solid var(--line); background: #fff; }
.airlines-label {
  text-align: center;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(74, 89, 108, .7);
}
.airline-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin-top: 1.5rem; }
.airline-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 10.25rem;
  height: 3.5rem;
  padding: 0 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color .18s, box-shadow .18s;
}
.airline-list li:hover { border-color: rgba(22, 39, 61, .18); box-shadow: 0 4px 14px rgba(22, 39, 61, .07); }
.airline-list img {
  max-width: 9.25rem;
  max-height: 1.75rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.04);
  opacity: .78;
  transition: filter .2s, opacity .2s;
}
.airline-list li:hover img { filter: none; opacity: 1; }

@media (max-width: 640px) {
  .airline-list { gap: .5rem; }
  .airline-list li { min-width: 7.5rem; height: 3rem; padding: 0 .75rem; }
  .airline-list img { max-width: 6.25rem; max-height: 1.5rem; }
}

/* ---------- Route cards ---------- */
.route-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.route-card:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 39, 61, .15);
  box-shadow: var(--shadow-card);
}
.route-codes { display: flex; align-items: center; gap: .75rem; }
.route-code { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.route-city { font-size: .68rem; color: var(--ink-soft); }
.route-right { text-align: right; }
.route-line { position: relative; flex: 1; border-top: 1px dashed var(--line); }
.route-line .icon {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  color: var(--brand);
}
.route-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem .75rem;
  margin-top: 1rem;
  font-size: .75rem;
  color: var(--ink-soft);
}
.route-meta .dot { background: var(--line); }
.route-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.route-from { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(74, 89, 108, .8); }
.route-price { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; line-height: 1.3; }
.route-ask { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; line-height: 1.3; color: var(--navy); }
.enquire-chip {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .5rem .875rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy);
  transition: border-color .15s, background .15s, color .15s;
}
.enquire-chip:hover { border-color: rgba(15, 138, 79, .4); background: rgba(15, 138, 79, .05); color: var(--wa-dark); }

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 4rem;
  align-items: start;
}
.feature-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.feature-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.feature-card:hover { border-color: rgba(22, 39, 61, .15); box-shadow: var(--shadow-card); }
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--navy);
  color: var(--brand);
}
.feature-card h3 { margin-top: 1rem; font-size: 1.02rem; font-weight: 700; }
.feature-card p { margin-top: .5rem; font-size: .86rem; line-height: 1.7; color: var(--ink-soft); }
.finance-note {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid rgba(245, 130, 31, .2);
  border-radius: 16px;
  background: var(--brand-50);
}
.finance-title { font-family: var(--font-display); font-size: .95rem; font-weight: 700; }
.finance-body { margin-top: .375rem; font-size: .85rem; line-height: 1.7; color: var(--ink-soft); }

/* ---------- Destinations ---------- */
.dest-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: transform .2s, box-shadow .2s;
}
.dest-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.dest-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.dest-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dest-card:hover .dest-media img { transform: scale(1.04); }
.dest-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  padding: .25rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}
.dest-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem; }
.dest-route { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(74, 89, 108, .8); }
.dest-title { margin-top: .375rem; font-size: 1.15rem; font-weight: 700; }
.dest-copy { margin-top: .5rem; font-size: .85rem; line-height: 1.7; color: var(--ink-soft); }
.dest-facts {
  display: grid;
  gap: .5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.dest-facts li { display: flex; gap: .5rem; font-size: .78rem; line-height: 1.5; color: var(--ink-soft); }
.dest-facts .icon { margin-top: 2px; color: var(--brand); }
.dest-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  margin-top: 1.25rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--wa-dark);
  transition: color .15s;
}
.dest-link:hover { color: var(--wa); }
.dest-note { margin-top: 1.25rem; font-size: .78rem; color: var(--ink-soft); }

/* ---------- Steps ---------- */
.steps { position: relative; overflow: hidden; padding: 5rem 0; background: var(--navy); color: #fff; }
.steps::after {
  content: "";
  position: absolute;
  top: -6rem; right: -6rem;
  width: 20rem; height: 20rem;
  border-radius: 50%;
  background: rgba(245, 130, 31, .2);
  filter: blur(80px);
}
.steps > .container { position: relative; z-index: 1; }
.steps h2 { color: #fff; }
.steps .section-lead { color: rgba(255, 255, 255, .65); }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.5rem; margin-top: 3rem; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(245, 130, 31, .4);
  border-radius: 50%;
  background: rgba(245, 130, 31, .15);
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 700;
  color: var(--brand);
}
.step h3 { margin-top: 1.25rem; font-size: 1.1rem; font-weight: 700; }
.step p { margin-top: .5rem; font-size: .88rem; line-height: 1.75; color: rgba(255, 255, 255, .6); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; align-items: center; }
.about-media { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  max-width: 15rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.about-badge-title { display: flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 600; }
.about-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand);
}
.about-badge-body { margin-top: .375rem; font-size: .72rem; line-height: 1.6; color: var(--ink-soft); }
.about-copy { margin-top: 1.25rem; font-size: .98rem; line-height: 1.8; color: var(--ink-soft); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.stat dt { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--navy); line-height: 1.2; }
.stat dd { margin: .25rem 0 0; font-size: .72rem; line-height: 1.4; color: var(--ink-soft); }
.about-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ---------- Testimonials ---------- */
.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.stars { display: flex; gap: .25rem; color: var(--brand); }
.quote-card blockquote { margin: 1rem 0 0; font-size: .92rem; line-height: 1.7; }
.quote-card figcaption { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.quote-name { font-size: .85rem; font-weight: 600; }
.quote-detail { font-size: .74rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.faq-aside { position: sticky; top: 7rem; align-self: start; }
.faq-aside .text-link { margin-top: 1.5rem; }
.faq-list { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--ink-soft); transition: transform .2s, color .2s; }
.faq-item[open] summary .icon { transform: rotate(180deg); color: var(--brand); }
.faq-item p { padding: 0 2.5rem 1.25rem 0; font-size: .9rem; line-height: 1.75; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1.25rem; margin-top: 2.5rem; }
.desk-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: #fff;
}
.desk-card::after {
  content: "";
  position: absolute;
  top: -4rem; right: -4rem;
  width: 14rem; height: 14rem;
  border-radius: 50%;
  background: rgba(245, 130, 31, .2);
  filter: blur(60px);
}
.desk-card > * { position: relative; z-index: 1; }
.desk-label { font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.desk-phone {
  display: block;
  margin-top: .75rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.02em;
  transition: color .15s;
}
.desk-phone:hover { color: var(--brand); }
.desk-hours { margin-top: .25rem; font-size: .78rem; color: rgba(255, 255, 255, .55); }
.desk-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .86rem;
}
.desk-list li { display: flex; gap: .75rem; color: rgba(255, 255, 255, .8); }
.desk-list .icon { margin-top: 2px; color: var(--brand); }
.desk-list a:hover { color: #fff; }
.desk-finance {
  margin-top: 1.75rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
}
.desk-finance-title { font-size: .8rem; font-weight: 600; }
.desk-finance-body { margin-top: .25rem; font-size: .75rem; line-height: 1.6; color: rgba(255, 255, 255, .6); }
.desk-card .btn { margin-top: 1.25rem; }

.wa-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.wa-head { display: flex; align-items: flex-start; gap: 1rem; }
.wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3rem; height: 3rem;
  border-radius: 16px;
  background: rgba(15, 138, 79, .1);
  color: var(--wa);
}
.wa-card h3 { font-size: 1.25rem; font-weight: 700; }
.wa-sub { margin-top: .25rem; font-size: .85rem; line-height: 1.6; color: var(--ink-soft); }
.template { margin-top: 1.5rem; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.template-label { font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(74, 89, 108, .8); }
.template pre {
  margin-top: .5rem;
  overflow-x: auto;
  font-family: var(--font-body);
  font-size: .82rem;
  line-height: 1.7;
  color: var(--ink-soft);
  white-space: pre-wrap;
}
.wa-card > .btn { margin-top: 1.25rem; }
.wa-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chip {
  padding: .375rem .875rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: border-color .15s, background .15s, color .15s;
}
.chip:hover { border-color: rgba(15, 138, 79, .4); background: rgba(15, 138, 79, .05); color: var(--wa-dark); }
.wa-note {
  display: flex;
  gap: .5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .75rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.wa-note .icon { margin-top: 2px; color: var(--wa); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: 3.5rem 0; }
.footer-about { max-width: 20rem; margin-top: 1.25rem; font-size: .85rem; line-height: 1.8; color: rgba(255, 255, 255, .55); }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.25rem;
  padding: .375rem .75rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  font-size: .7rem;
  color: rgba(255, 255, 255, .6);
}
.footer-badge .dot { width: 6px; height: 6px; background: #34d399; }
.footer-col h3 { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.footer-col ul { display: grid; gap: .625rem; margin-top: 1rem; }
.footer-col a, .footer-col span { font-size: .85rem; color: rgba(255, 255, 255, .7); }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .625rem; align-items: flex-start; }
.footer-contact .icon { margin-top: 2px; color: var(--brand); }
.footer-contact .icon.wa { color: var(--wa); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 1.5rem 0;
  font-size: .75rem;
  color: rgba(255, 255, 255, .45);
}
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.footer-legal a:hover { color: #fff; }

.social-row { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  color: rgba(255, 255, 255, .72);
  transition: background .15s, border-color .15s, color .15s;
}
.social-link:hover {
  border-color: rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}
.social-link svg { width: 1.1rem; height: 1.1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .phone-link { display: none; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .fare-card { display: none; }
  .features-grid, .about-grid, .faq-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .faq-aside { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { align-items: start; }

  .search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-from, .field-to, .field-depart, .field-return,
  .field-travellers, .field-cabin, .field-submit { grid-column: span 1; }
  .field-submit { grid-column: 1 / -1; }
  .swap-wrap { display: none; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .navbar-inner { height: 4rem; }
  .logo-mark { height: 2.5rem; }
  .logo-word { font-size: 1.35rem; }
  .hero { padding: 2.75rem 0 5rem; }
  .search-card { margin-top: -3rem; padding: 1.15rem; }
  .section { padding: 3.75rem 0; }
  .steps { padding: 3.75rem 0; }
  .steps-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  .about-badge { display: none; }
  .wa-card { padding: 1.5rem; }
  .desk-card { padding: 1.5rem; }
}

@media (max-width: 640px) {
  .search-grid { grid-template-columns: 1fr; }
  .field-submit { grid-column: auto; }
  .label-spacer { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .route-foot, .deal-foot { gap: .75rem; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .faq-item p { padding-right: 0; }
  .desk-phone { font-size: 1.45rem; }
}

/* ---------- Finance page ---------- */
.finance-link { margin-top: .75rem; }
.card-art {
  display: block;
  width: 100%;
  max-width: 16rem;
  height: auto;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  box-shadow: 0 18px 36px -20px rgba(15, 28, 46, .55);
}


.page-hero {
  position: relative;
  overflow: hidden;
  padding: 3.25rem 0 3rem;
  background: radial-gradient(120% 140% at 100% 0%, #22384f 0%, #16273d 45%, #0b1725 100%);
  color: #fff;
}
.page-hero h1 {
  max-width: 22ch;
  margin-top: 1rem;
  font-size: clamp(2.1rem, 4.6vw, 3.1rem);
  font-weight: 800;
  line-height: 1.06;
}
.page-hero-lead {
  max-width: 40rem;
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .72);
}
.page-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.page-hero-note {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.5rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, .6);
}
.page-hero-note .icon { color: var(--brand); }

.anchor-nav { border-bottom: 1px solid var(--line); background: #fff; }
.anchor-nav-inner { display: flex; gap: .5rem; overflow-x: auto; padding-top: .85rem; padding-bottom: .85rem; }
.anchor-nav a {
  white-space: nowrap;
  padding: .45rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background .15s, color .15s, border-color .15s;
}
.anchor-nav a:hover { background: var(--surface); color: var(--ink); border-color: rgba(22, 39, 61, .25); }

.steps-grid-light { gap: 1rem; margin-top: 2.5rem; }
.step-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: box-shadow .2s, border-color .2s;
}
.step-card:hover { box-shadow: var(--shadow-card); border-color: rgba(22, 39, 61, .15); }
.step-card h3 { margin-top: 1.1rem; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.step-card p { margin-top: .5rem; font-size: .88rem; line-height: 1.75; color: var(--ink-soft); }

.provider {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.provider-badge {
  display: inline-flex;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: var(--surface);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.provider-name {
  margin-top: .75rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ink);
}
.provider-sub { margin-top: .25rem; font-size: .9rem; font-weight: 600; color: var(--brand-600); }
.provider-copy { margin-top: 1rem; font-size: .94rem; line-height: 1.8; color: var(--ink-soft); }
.provider-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.chip-solid { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-solid:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }

.example {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(245, 130, 31, .22);
  border-radius: 16px;
  background: var(--brand-50);
}
.example-title { font-family: var(--font-display); font-size: .9rem; font-weight: 700; color: var(--ink); }
.example-body { margin-top: .5rem; font-size: .85rem; line-height: 1.75; color: var(--ink-soft); }
.example-body strong { color: var(--ink); }
.example-note { margin-top: .625rem; font-size: .72rem; line-height: 1.6; color: rgba(74, 89, 108, .85); }

.provider-panel {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.panel-title {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.fact-grid { display: grid; grid-template-columns: 1fr; gap: .875rem; margin: 1rem 0 0; }
.fact { padding-bottom: .875rem; border-bottom: 1px solid var(--line); }
.fact:last-child { padding-bottom: 0; border-bottom: 0; }
.fact dt { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(74, 89, 108, .8); }
.fact dd { margin: .2rem 0 0; font-size: .88rem; font-weight: 600; line-height: 1.5; color: var(--ink); }
.panel-note { margin-top: 1rem; font-size: .75rem; line-height: 1.7; color: var(--ink-soft); }

.table-wrap {
  margin-top: 2rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.compare { width: 100%; min-width: 44rem; border-collapse: collapse; font-size: .85rem; }
.compare thead th {
  padding: .9rem 1.1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink);
}
.compare tbody th,
.compare tbody td {
  padding: .85rem 1.1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
  color: var(--ink-soft);
}
.compare tbody th { width: 22%; font-weight: 600; color: var(--ink); }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover td,
.compare tbody tr:hover th { background: rgba(246, 248, 251, .7); }
.table-note { margin-top: .875rem; font-size: .72rem; line-height: 1.7; color: var(--ink-soft); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: start; }
.checklist { display: grid; gap: .9rem; }
.checklist li { display: flex; gap: .7rem; font-size: .9rem; line-height: 1.7; color: var(--ink-soft); }
.checklist .icon { margin-top: 3px; color: var(--wa); }
.checklist strong { color: var(--ink); }
.callout {
  margin-top: 1.75rem;
  padding: 1.1rem 1.25rem;
  border-left: 3px solid var(--brand);
  border-radius: 0 12px 12px 0;
  background: var(--surface);
  font-size: .8rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.finance-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: #fff;
}
.finance-cta h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; max-width: 26ch; }
.finance-cta p { margin-top: .6rem; max-width: 34rem; font-size: .9rem; line-height: 1.7; color: rgba(255, 255, 255, .65); }
.finance-cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.legal-note { margin-top: 1.5rem; font-size: .7rem; line-height: 1.7; color: var(--ink-soft); }

.nav a.is-current { color: var(--ink); background: var(--surface); }

@media (max-width: 1024px) {
  .provider { grid-template-columns: 1fr; gap: 1.75rem; padding: 1.5rem; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .page-hero { padding: 2.5rem 0 2.25rem; }
  .finance-cta { padding: 1.5rem; }
  .finance-cta-actions { width: 100%; }
  .finance-cta-actions .btn { flex: 1 1 100%; }
  .provider-panel { padding: 1.25rem; }
}

/* ---------- Legal pages ---------- */
.page-hero-compact { padding: 2.75rem 0 2.5rem; }

.legal-layout { display: grid; grid-template-columns: 15rem 1fr; gap: 3.5rem; align-items: start; }
.legal-aside { position: sticky; top: 6.5rem; align-self: start; }
.legal-aside-title {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.legal-toc { display: grid; gap: .35rem; margin-top: .75rem; }
.legal-toc a { font-size: .8rem; line-height: 1.5; color: var(--ink-soft); transition: color .15s; }
.legal-toc a:hover { color: var(--brand); }

.legal-body { max-width: 46rem; }
.legal-body h2 {
  margin-top: 2.25rem;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  scroll-margin-top: 7rem;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { margin-top: 1.5rem; font-size: .95rem; font-weight: 700; color: var(--ink); }
.legal-body p { margin-top: .75rem; font-size: .92rem; line-height: 1.8; color: var(--ink-soft); }
.legal-body a { color: var(--navy); text-decoration: underline; text-decoration-color: rgba(245, 130, 31, .5); text-underline-offset: 3px; }
.legal-body a:hover { color: var(--brand); }
.legal-note {
  margin-top: 1rem;
  padding: .9rem 1rem;
  border-left: 3px solid var(--brand);
  border-radius: 0 10px 10px 0;
  background: var(--surface);
  font-size: .82rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.legal-footnote {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--ink-soft);
}

@media (max-width: 1024px) {
  .legal-layout { grid-template-columns: 1fr; gap: 2rem; }
  .legal-aside { position: static; }
  .legal-toc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .legal-toc { grid-template-columns: 1fr; }
}

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