:root {
  color-scheme: light;
  --ink: #17252b;
  --muted: #5d6b72;
  --paper: #f5f8f6;
  --panel: #ffffff;
  --line: #d8e3dd;
  --green: #146b5c;
  --navy: #18334a;
  --coral: #bf5b44;
  --gold: #b98f36;
  --blue-soft: #e6f0f5;
  --green-soft: #e5f3ee;
  --shadow: 0 24px 68px rgba(24, 51, 74, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  font-size: clamp(48px, 7.4vw, 96px);
  line-height: 0.96;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}
h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.15;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 248, 246, 0.94);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  text-decoration: none;
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 950;
}
.brand strong, .brand small { display: block; }
.brand small {
  color: var(--muted);
  font-size: 12px;
}
nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 840;
}
nav a { text-decoration: none; }
.translate-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 850;
}
.translate-control select {
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
}

.hero {
  width: min(1320px, calc(100% - 36px));
  margin: clamp(24px, 5vw, 60px) auto;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}
.hero-copy p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}
.kicker {
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}
.hero-photo {
  margin: 0;
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--blue-soft);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}
.hero-actions, .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.hero-actions a, .booking-form button, .toolbar button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.primary-action, .booking-form button {
  color: #fff !important;
  background: var(--green) !important;
  border-color: var(--green) !important;
}

.quick-grid, .strategy-grid, .allowances, .finder, .split-band, .business, .sources, .network {
  width: min(1180px, calc(100% - 36px));
  margin: clamp(34px, 6vw, 82px) auto;
}
.quick-grid, .strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.strategy-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
article span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
article p, .section-heading p, .finder p, .split-band p, .business p, footer p {
  color: var(--muted);
}

.finder {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1.28fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  box-shadow: var(--shadow);
}
.finder p { color: rgba(255, 255, 255, 0.78); }
.finder .kicker { color: #f0c563; }
.booking-form, .toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.booking-form label, .toolbar label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 900;
}
.finder .booking-form label { color: #fff; }
.booking-form input, .booking-form select, .toolbar input, .toolbar select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}
.booking-form button {
  align-self: end;
}
.booking-result {
  grid-column: 2;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}
.booking-result:empty { display: none; }
.booking-result a { color: #fff; font-weight: 900; }

.split-band, .business {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 8px;
  background: var(--green-soft);
}
.split-band img, .business img {
  width: 100%;
  height: min(560px, 70vh);
  object-fit: cover;
  border-radius: 8px;
}
.business {
  grid-template-columns: minmax(320px, 1.1fr) minmax(280px, 0.9fr);
  background: #fff;
  box-shadow: var(--shadow);
}
.rule-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.rule-list span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  font-weight: 850;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}
.toolbar {
  grid-template-columns: minmax(220px, 1fr) 190px 210px minmax(220px, 1fr);
  align-items: end;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.toolbar button {
  min-height: 38px;
  padding: 8px 10px;
  color: var(--green);
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}
th, td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th {
  color: var(--ink);
  background: var(--blue-soft);
  font-size: 13px;
  text-transform: uppercase;
}
td { color: var(--muted); }
td:first-child {
  color: var(--ink);
  font-weight: 900;
}
tr:last-child td { border-bottom: 0; }
.pill {
  display: inline-flex;
  margin: 0 6px 6px 0;
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 900;
}
.paid-pill {
  color: #8a3b27;
  background: #fde8df;
}
.source-link {
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}
.is-hidden { display: none; }

.source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}
.source-grid a, .airline-chip {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green);
  background: #fff;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
}
.airline-chip {
  justify-content: flex-start;
  cursor: pointer;
}
.compact-heading {
  margin-top: 28px;
}
.airline-cloud {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
footer {
  padding: 32px clamp(18px, 5vw, 58px);
  border-top: 1px solid var(--line);
}
footer p { margin: 0; }

@media (max-width: 980px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  nav { justify-content: flex-start; }
  .hero, .finder, .split-band, .business, .section-heading {
    grid-template-columns: 1fr;
  }
  .quick-grid, .strategy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .booking-result { grid-column: auto; }
  .toolbar, .booking-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-photo, .hero-photo img { min-height: 420px; }
}

@media (max-width: 620px) {
  h1 { font-size: 46px; }
  h2 { font-size: 30px; }
  .quick-grid, .strategy-grid, .toolbar, .booking-form {
    grid-template-columns: 1fr;
  }
  .hero-photo, .hero-photo img { min-height: 340px; }
  .split-band img, .business img {
    height: auto;
  }
}
