/* BestFlightsBooking — shared styles
   Editorial travel aesthetic: paper white, deep ink teal, terracotta accent.
   Display: Fraunces. Body: Karla. */

:root {
  --paper: #ffffff;
  --wash: #f2ede4;
  --ink: #14333d;
  --ink-soft: #3d5a64;
  --accent: #c9502a;
  --accent-deep: #a53e1f;
  --line: #e2d9c9;
  --gold: #d9a441;
  --radius: 14px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Karla", "Segoe UI", Verdana, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}

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

a { color: var(--accent-deep); }

.wrap {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-block: 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}

.brand em { font-style: normal; color: var(--accent); }

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  flex: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

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

.main-nav a:not(.nav-call):hover { color: var(--accent-deep); }

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

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff !important;
  font-weight: 800;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.nav-call:hover { background: var(--accent-deep); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
  color: var(--ink);
  cursor: pointer;
}

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

.hero {
  background:
    radial-gradient(1100px 320px at 85% -60px, #f6dfc2 0%, transparent 60%),
    var(--wash);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  padding-block: 4.5rem 3.5rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.4vw, 4.3rem);
  line-height: 1.04;
  margin: 0.7rem 0 1rem;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-deep);
}

.hero .lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
}

.button:hover { background: #0c232a; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  color: var(--ink);
}

.text-link:hover { color: var(--accent-deep); }

/* Boarding-pass card */

.pass {
  background: var(--ink);
  color: #f4efe4;
  border-radius: 18px;
  padding: 1.6rem 1.7rem 1.4rem;
  transform: rotate(1.6deg);
  box-shadow: 18px 22px 0 -8px var(--gold);
  max-width: 26rem;
  justify-self: end;
  width: 100%;
}

.pass-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--gold);
}

.pass-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.1rem 0 0.4rem;
}

.pass-route strong {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  display: block;
  line-height: 1;
}

.pass-route small {
  color: #c9c0ab;
  font-weight: 700;
}

.pass-path {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
}

.pass-path::before,
.pass-path::after {
  content: "";
  height: 2px;
  flex: 1;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px);
  opacity: 0.7;
}

.pass-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 2px dashed rgba(244, 239, 228, 0.35);
  margin-top: 1rem;
  padding-top: 1rem;
  font-size: 0.92rem;
}

.pass-meta span { color: #c9c0ab; display: block; font-size: 0.78rem; letter-spacing: 0.08em; font-weight: 800;}
.pass-meta strong { font-size: 1rem; }

/* ---------- Trust strip ---------- */

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.trust-strip .wrap {
  display: flex;
  gap: 2.5rem;
  padding-block: 1rem;
  flex-wrap: wrap;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 0.95rem;
}

.trust-strip svg { color: var(--accent-deep); flex: none; }

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

.section { padding-block: 4.5rem; }

.split-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: end;
}

.section-label {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 0.6rem;
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.1;
  margin: 0;
}

h2 em { font-style: italic; color: var(--accent-deep); }

.split-intro p:last-child {
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin: 0;
}

/* Benefits — staggered editorial rows */

.benefits {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}

.benefit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.benefit:nth-child(even) .benefit-photo { order: 2; }

.benefit-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--wash);
}

.benefit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefit-copy .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent-deep);
}

.benefit-copy h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0.3rem 0 0.5rem;
  font-weight: 600;
}

.benefit-copy p { color: var(--ink-soft); margin: 0; max-width: 28rem; }

/* Testimonials */

.testimonials { background: var(--wash); border-block: 1px solid var(--line); }

.quotes {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  margin-top: 2.5rem;
  align-items: start;
}

.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin: 0;
}

.quote.featured { border-top: 6px solid var(--gold); }

.quote .stars { color: var(--gold); letter-spacing: 0.15em; }

.quote blockquote {
  margin: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.45;
}

.quote figcaption { color: var(--ink-soft); }

.quote figcaption strong { display: block; color: var(--ink); }

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.step { padding: 1.8rem; background: var(--paper); }

.step + .step { border-left: 1px solid var(--line); }

.step strong {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  margin-bottom: 0.8rem;
}

.step h3 { font-family: var(--font-display); margin: 0 0 0.4rem; font-size: 1.25rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* CTA band */

.cta-band {
  background: var(--ink);
  color: #f4efe4;
  border-radius: 22px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  margin-block: 4.5rem;
}

.cta-band h2 { color: #fff; }
.cta-band h2 em { color: var(--gold); }

.cta-band p { color: #c9c0ab; }

.button-light {
  background: var(--accent);
  color: #fff;
  justify-self: end;
  font-size: 1.2rem;
  padding: 1.1rem 2rem;
  text-align: center;
}

.button-light:hover { background: var(--accent-deep); }

.button-light small {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.85;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding-block: 2.5rem 6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.footer-tag { color: var(--ink-soft); max-width: 26rem; }

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: end;
  flex-wrap: wrap;
}

.footer-links a { color: var(--ink); font-weight: 700; text-decoration: none; }
.footer-links a:hover { color: var(--accent-deep); }

.copyright { color: var(--ink-soft); font-size: 0.9rem; margin-top: 2rem; }

.disclaimer {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 1rem;
  max-width: 60rem;
}

/* Sticky mobile call bar */

.sticky-call {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  display: none;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-weight: 800;
  text-decoration: none;
  padding: 0.95rem;
  font-size: 1.05rem;
}

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

.legal-hero {
  background: var(--wash);
  border-bottom: 1px solid var(--line);
  padding-block: 3rem;
}

.legal-hero p { color: var(--ink-soft); margin-bottom: 0; }

.legal-body { padding-block: 3rem; max-width: 46rem; }

.legal-body h2 {
  font-size: 1.5rem;
  margin: 2.2rem 0 0.6rem;
}

.legal-body p, .legal-body li { color: var(--ink-soft); }
.legal-body h2, .legal-body strong { color: var(--ink); }

/* Reveal animation */

@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise 0.7s ease both; }
  .reveal.d1 { animation-delay: 0.12s; }
  .reveal.d2 { animation-delay: 0.24s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
  .pass { animation: settle 0.8s ease both; }
  @keyframes settle {
    from { opacity: 0; transform: rotate(4deg) translateY(16px); }
    to { opacity: 1; transform: rotate(1.6deg); }
  }
}

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

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 3rem; }
  .pass { justify-self: start; }
  .split-intro { grid-template-columns: 1fr; }
  .benefit { grid-template-columns: 1fr; gap: 1.2rem; }
  .benefit:nth-child(even) .benefit-photo { order: 0; }
  .quotes { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: none; border-top: 1px solid var(--line); }
  .cta-band { grid-template-columns: 1fr; padding: 2rem; }
  .button-light { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: start; }
}

@media (max-width: 720px) {
  .menu-toggle { display: inline-block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 4vw 1.25rem;
    border-bottom: 1px solid var(--line);
    gap: 0.9rem;
  }
  .main-nav.open { display: flex; }
  .site-footer { padding-bottom: 7rem; }
  .sticky-call { display: block; }
}
