/* ==========================================================
   FlightsPro — main stylesheet
   Light, clean, airline-style. One accent (amber) used sparingly.
   ========================================================== */

:root {
  --white: #FFFFFF;
  --sky: #EEF4F9;          /* light section background */
  --sky-deep: #DCE8F2;     /* borders on sky sections */
  --ink: #0B2545;          /* navy: headings, logo, footer */
  --text: #2E4258;         /* body text */
  --muted: #5B6F84;        /* secondary text */
  --line: #D5E1EB;         /* hairlines */
  --amber: #E8A33D;        /* accent: sun in logo, step markers, focus */

  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1160px;
  --gutter: 24px;
  --section-space: clamp(64px, 9vw, 112px);
}

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  line-height: 1.05;
  font-stretch: 92%;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  font-stretch: 92%;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  width: 26px;
  height: 32px;
  flex-shrink: 0;
}

.logo-word {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  font-stretch: 88%;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--ink);
}

.main-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 88px);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.hero-text h1 {
  max-width: 13ch;
}

.hero-lead {
  max-width: 46ch;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.55;
}

.text-link {
  display: inline-block;
  margin-top: 32px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: text-decoration-color 0.2s ease;
}

.text-link:hover {
  text-decoration-color: var(--ink);
}

/* The aircraft window — the one signature element of the page */
.hero-window {
  display: flex;
  justify-content: center;
}

.window-frame {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 3 / 4.1;
  padding: 18px;
  border-radius: 46% / 34%;
  background: linear-gradient(160deg, #F7FAFC 0%, #E3ECF3 100%);
  box-shadow:
    inset 0 0 0 1px var(--line),
    0 30px 60px -30px rgba(11, 37, 69, 0.35);
  animation: window-in 1.1s cubic-bezier(.2, .8, .2, 1) both;
}

.window-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 50%;
  border-radius: 44% / 32%;
  box-shadow: inset 0 0 0 1px rgba(11, 37, 69, 0.1);
}

@keyframes window-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Trip types strip ---------- */

.trip-types {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trip-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trip-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 28px 28px 28px 0;
}

.trip-list li + li {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.trip-title {
  color: var(--ink);
  font-weight: 600;
}

.trip-sub {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Sections ---------- */

.section {
  padding: var(--section-space) 0;
}

.section-sky {
  background: var(--sky);
}

.section-head {
  max-width: 620px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.12rem;
}

/* ---------- Services ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(32px, 6vw, 88px);
}

.service {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
}

.service p {
  max-width: 44ch;
  margin-top: 10px;
  color: var(--muted);
}

/* ---------- How it works ---------- */

.steps {
  --steps-gap: clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--steps-gap);
}

.step {
  position: relative;
}

/* dashed flight path from each step to the next one */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 46px;
  right: calc(-1 * var(--steps-gap));
  border-top: 2px dashed #B7CADB;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 0 0 8px var(--sky);
}

.step:last-child .step-num {
  background: var(--amber);
  border-color: var(--amber);
}

.step p {
  max-width: 34ch;
  margin-top: 10px;
  color: var(--muted);
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: 20px;
}

.about-text h2 {
  margin-bottom: 24px;
}

.about-text p {
  max-width: 52ch;
}

.about-text p + p {
  margin-top: 16px;
}

/* ---------- Reasons ---------- */

.reasons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3vw, 40px);
}

.reason {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.reason p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 72px 0 40px;
  background: var(--ink);
  color: #B9C7D6;
  font-size: 0.98rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.logo-light {
  color: var(--white);
}

.footer-brand p {
  margin-top: 14px;
}

.footer-heading {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.footer-col li + li {
  margin-top: 8px;
}

.footer-col a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-col a[href^="tel:"] {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-company {
  font-style: normal;
  line-height: 1.7;
}

.footer-disclaimer {
  padding-top: 32px;
  color: #8EA1B5;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-disclaimer a {
  color: #B9C7D6;
}

.footer-disclaimer a:hover {
  color: var(--white);
}

.footer-disclaimer p {
  max-width: 110ch;
}

.footer-disclaimer p + p {
  margin-top: 12px;
}

.copyright {
  margin-top: 32px;
  color: #8EA1B5;
  font-size: 0.88rem;
}

/* ---------- Call buttons ---------- */

.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-call:hover {
  background: #163A63;
}

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

.btn-call:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-call-small {
  min-height: 48px;
  padding: 10px 22px;
  font-size: 1rem;
}

.btn-call-amber {
  background: var(--amber);
  color: var(--ink);
}

.btn-call-amber:hover {
  background: #F2B65A;
}

.cta-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.fn-ref {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1px;
}

/* ---------- Services page ---------- */

.svc-hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 88px);
}

.svc-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.svc-hero-text h1 {
  max-width: 17ch;
}

.cta-group {
  margin-top: 36px;
}

.call-card {
  padding: 32px;
  border-radius: 24px;
  background: var(--sky);
  border: 1px solid var(--sky-deep);
}

.call-card-title {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.checklist {
  margin-top: 20px;
}

.checklist li {
  position: relative;
  padding-left: 32px;
  color: var(--ink);
}

.checklist li + li {
  margin-top: 12px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--amber);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E") center / contain no-repeat;
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 5px;
  height: 9px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.call-card-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--sky-deep);
  color: var(--muted);
  font-size: 0.95rem;
}

.airlines {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.airlines-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 40px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.airlines-lead {
  color: var(--muted);
  font-size: 0.98rem;
}

.airline-list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 32px;
}

.airline-list li {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.airline-list .airline-more {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
}

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.inline-cta p {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 600;
}

.steps-4 {
  grid-template-columns: repeat(4, 1fr);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px clamp(28px, 4vw, 56px);
}

.benefit {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.benefit p {
  margin-top: 10px;
  color: var(--muted);
}

.faq-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.faq-wrap .section-head {
  margin-bottom: 0;
}

.faq details {
  border-top: 1px solid var(--sky-deep);
}

.faq details:last-child {
  border-bottom: 1px solid var(--sky-deep);
}

.faq summary {
  position: relative;
  padding: 22px 40px 22px 0;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}

.faq summary:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.faq details p {
  max-width: 62ch;
  padding-bottom: 22px;
  color: var(--text);
}

.cta-band {
  padding: clamp(64px, 8vw, 104px) 0;
  background: linear-gradient(180deg, #F7FAFC 0%, var(--sky) 100%);
  text-align: center;
}

.cta-band-inner h2 {
  max-width: 20ch;
  margin: 0 auto;
}

.cta-band-inner > p:not(.cta-note) {
  margin: 16px auto 32px;
  max-width: 48ch;
  color: var(--muted);
  font-size: 1.12rem;
}

.cta-band .btn-call-amber {
  background: var(--ink);
  color: var(--white);
}

.cta-band .btn-call-amber:hover {
  background: #163A63;
}

.footnotes {
  padding: 32px 0 40px;
  background: var(--sky);
  border-top: 1px solid var(--sky-deep);
}

.footnotes p {
  max-width: 110ch;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.section-link {
  margin-top: 32px;
}

/* ---------- Landing pages ---------- */

.lp-header-call {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lp-header-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.lp-disclosure {
  max-width: 52ch;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.block-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(40px, 5vw, 56px);
  text-align: center;
}

.block-cta .cta-note {
  margin-top: 10px;
}

.statement {
  padding: clamp(64px, 8vw, 104px) 0;
  background: var(--ink);
  color: #C9D6E3;
}

.statement-inner {
  max-width: 900px;
  text-align: center;
}

.statement h2 {
  color: var(--white);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.12;
}

.statement h2 .fn-ref {
  color: #8EA1B5;
  font-size: 0.6em;
  vertical-align: super;
}

.statement-inner > p {
  max-width: 54ch;
  margin: 20px auto 0;
  font-size: 1.15rem;
}

.statement .btn-call {
  background: var(--amber);
  color: var(--ink);
}

.statement .btn-call:hover {
  background: #F2B65A;
}

.statement .cta-note {
  color: #8EA1B5;
}

.btn-call-large {
  min-height: 64px;
  padding: 16px 36px;
  font-size: 1.2rem;
}

.block-cta-left {
  align-items: flex-start;
  margin-top: 28px;
  text-align: left;
}

.faq-light details {
  border-color: var(--line);
}

/* Call pop-up */
.call-popup {
  width: min(440px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 40px 80px -20px rgba(11, 37, 69, 0.45);
}

.call-popup::backdrop {
  background: rgba(11, 37, 69, 0.55);
}

.call-popup[open] {
  animation: popup-in 0.35s cubic-bezier(.2, .8, .2, 1);
}

@keyframes popup-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.call-popup-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 32px 28px;
  text-align: center;
}

.call-popup-window {
  width: 92px;
  height: 120px;
  margin-bottom: 22px;
  padding: 7px;
  border-radius: 46% / 34%;
  background: linear-gradient(160deg, #F7FAFC 0%, #E3ECF3 100%);
  box-shadow: inset 0 0 0 1px var(--line);
}

.call-popup-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 50%;
  border-radius: 44% / 32%;
}

.call-popup-badge {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 0 0 10px #FBEBD3;
}

.call-popup-badge svg {
  width: 34px;
  height: 34px;
}

.call-popup-number {
  margin-top: 10px;
  color: var(--ink);
  font-weight: 600;
}

.call-popup h2 {
  font-size: 1.7rem;
}

.call-popup-body > p {
  margin-top: 12px;
  color: var(--muted);
}

.call-popup .btn-call {
  width: 100%;
  margin-top: 24px;
}

.call-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.call-popup-close:hover {
  background: var(--sky);
  color: var(--ink);
}

.call-popup-later {
  margin-top: 12px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.call-popup-close:focus-visible,
.call-popup-later:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.call-popup-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Mobile call bar (services and landing pages) */
.callbar {
  display: none;
}

/* ---------- Cookie consent ---------- */

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 50;
  width: min(440px, calc(100% - 32px));
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 24px 60px -20px rgba(11, 37, 69, 0.35);
  animation: popup-in 0.35s cubic-bezier(.2, .8, .2, 1);
}

.cookie-title {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.cookie-text,
.cookie-gpc {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.cookie-gpc {
  color: var(--muted);
  font-size: 0.88rem;
}

.cookie-text a,
.cookie-panel a {
  color: var(--ink);
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cookie-btn {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cookie-btn-primary {
  flex: 1 1 0;
  background: var(--ink);
  color: var(--white);
}

.cookie-btn-primary:hover {
  background: #163A63;
  border-color: #163A63;
}

.cookie-btn-secondary {
  background: var(--white);
  color: var(--ink);
}

.cookie-btn-secondary:hover {
  background: var(--sky);
}

.cookie-btn-link {
  flex-basis: 100%;
  min-height: 36px;
  padding: 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.cookie-btn:focus-visible,
.cookie-panel-close:focus-visible,
.cookie-switch input:focus-visible + .cookie-switch-track {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* settings panel */
.cookie-panel {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 36px 32px 28px;
  border: 0;
  border-radius: 24px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 40px 80px -20px rgba(11, 37, 69, 0.45);
}

.cookie-panel::backdrop {
  background: rgba(11, 37, 69, 0.55);
}

.cookie-panel h2 {
  font-size: 1.5rem;
}

.cookie-panel-intro {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.98rem;
}

.cookie-panel-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-panel-close:hover {
  background: var(--sky);
  color: var(--ink);
}

.cookie-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.cookie-row h3 {
  font-size: 1.02rem;
}

.cookie-row p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.cookie-switch {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 48px;
  height: 28px;
  margin: 0;
  cursor: pointer;
}

.cookie-switch-track {
  position: relative;
  display: block;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #C7D3DF;
  transition: background-color 0.2s ease;
}

.cookie-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(11, 37, 69, 0.3);
  transition: transform 0.2s ease;
}

.cookie-switch input:checked + .cookie-switch-track {
  background: var(--ink);
}

.cookie-switch input:checked + .cookie-switch-track::after {
  transform: translateX(20px);
}

.cookie-switch input:disabled + .cookie-switch-track {
  opacity: 0.55;
  cursor: not-allowed;
}

.cookie-switch-state {
  color: var(--muted);
  font-size: 0.78rem;
}

.cookie-panel .cookie-actions {
  margin-top: 24px;
}

.cookie-panel .cookie-btn-primary {
  flex-basis: 100%;
}

.cookie-panel .cookie-btn-secondary {
  flex: 1 1 0;
}

.cookie-panel-links {
  display: flex;
  gap: 20px;
  margin-top: 18px;
  font-size: 0.92rem;
}

.footer-link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.footer-link-btn:hover {
  color: var(--white);
}

.footer-link-btn:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Legal pages ---------- */

.legal {
  padding: clamp(48px, 7vw, 88px) 0 var(--section-space);
}

.legal-inner {
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
}

.legal-updated {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.98rem;
}

.legal-intro {
  margin-top: 32px;
  padding: 22px 24px;
  border-left: 3px solid var(--amber);
  background: var(--sky);
  color: var(--ink);
  border-radius: 0 12px 12px 0;
}

.legal h2 {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 1.5rem;
}

.legal h3 {
  margin-top: 28px;
  font-size: 1.1rem;
}

.legal p,
.legal ul {
  margin-top: 14px;
}

.legal ul {
  padding-left: 1.25em;
  list-style: disc;
}

.legal li + li {
  margin-top: 8px;
}

.legal li::marker {
  color: var(--muted);
}

.legal a {
  color: var(--ink);
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.legal-inline-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.legal-inline-btn:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.legal-contact {
  margin-top: 14px;
  font-style: normal;
  line-height: 1.7;
}

.legal-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.legal th,
.legal td {
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal th {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .reasons,
  .benefits,
  .steps-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-4 .step:nth-child(2)::after {
    display: none;
  }

  .faq-wrap {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .hero-inner,
  .about,
  .svc-hero-inner {
    grid-template-columns: 1fr;
  }

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

  .steps-4 .step:nth-child(2)::after {
    display: block;
  }

  .hero-text h1 {
    max-width: 16ch;
  }

  .window-frame {
    width: min(100%, 300px);
  }

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

  /* vertical flight path on narrow screens */
  .step:not(:last-child)::after {
    top: 46px;
    bottom: calc(-1 * var(--steps-gap));
    left: 22px;
    right: auto;
    border-top: 0;
    border-left: 2px dashed #B7CADB;
  }

  .step {
    padding-left: 72px;
  }

  .step-num {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
  }

  /* two-row header on phones: logo, then menu */
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    gap: 6px 24px;
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .main-nav {
    width: 100%;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav a {
    flex-shrink: 0;
    padding: 4px 0;
    font-size: 0.95rem;
  }

  .main-nav a[aria-current="page"] {
    text-underline-offset: 6px;
  }

  /* landing header stays on one row: logo + round call button */
  .is-landing .header-inner {
    flex-wrap: nowrap;
    height: 64px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .lp-header-note,
  .lp-header-call .btn-call span {
    display: none;
  }

  .lp-header-call .btn-call {
    width: 48px;
    min-height: 48px;
    padding: 0;
  }

  .block-cta .btn-call {
    width: 100%;
  }

  .call-popup-body {
    padding: 36px 22px 24px;
  }

  .trip-list {
    grid-template-columns: 1fr;
  }

  .trip-list li,
  .trip-list li + li {
    padding: 18px 0;
    border-left: 0;
  }

  .trip-list li + li {
    border-top: 1px solid var(--line);
  }

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

  .service {
    padding: 28px 0 32px;
  }

  .reasons,
  .benefits {
    grid-template-columns: 1fr;
  }

  .hero-lead {
    font-size: 1.1rem;
  }

  .call-card {
    padding: 24px;
  }

  .svc-hero-text .btn-call {
    width: 100%;
  }

  /* sticky call button at the bottom of the screen */
  .callbar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(10px);
  }

  .callbar .btn-call {
    width: 100%;
    min-height: 52px;
  }

  /* hidden while the hero call button is on screen */
  .callbar {
    transition: transform 0.25s ease;
  }

  .callbar.is-hidden,
  .cookie-open .callbar {
    transform: translateY(110%);
  }

  /* cookie banner: full width at the bottom on phones */
  .cookie-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
    padding: 20px 18px;
    border-radius: 18px;
  }

  .cookie-panel {
    padding: 32px 20px 22px;
  }

  .has-callbar .site-footer {
    padding-bottom: 112px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .window-frame,
  .call-popup[open],
  .cookie-banner {
    animation: none;
  }
}

/* ---------- Senior Citizen Airfare page: larger, easier-to-read text ---------- */
.is-senior main { font-size: 1.125rem; }
.is-senior .cta-note,
.is-senior .call-card-foot,
.is-senior .lp-disclosure,
.is-senior .airlines-lead,
.is-senior .lp-header-note { font-size: 1.0625rem; }
.is-senior .footnotes p { font-size: 0.95rem; }
.is-senior .call-popup-note { font-size: 0.92rem; }
