/* ==========================================================================
   Half-Off Flights — static site design system
   Mobile-first, animated, accessible. All keyframes respect reduced motion.
   ========================================================================== */

:root {
  --navy: #0b1b33;
  --navy-2: #0e2a4f;
  --navy-3: #123a6b;
  --ink: #16233d;
  --ink-soft: #33455f;
  --muted: #5d6e8a;
  --faint: #8494ab;
  --bg: #f5f8fc;
  --white: #ffffff;
  --line: #e4eaf3;
  --blue: #2563eb;
  --blue-2: #3b82f6;
  --cyan: #06b6d4;
  --grad: linear-gradient(120deg, #2563eb 0%, #06b6d4 60%, #22d3ee 100%);
  --grad-soft: linear-gradient(120deg, #dfeaff 0%, #e4fbfe 100%);
  --amber: #f59e0b;
  --amber-soft: #fff3d6;
  --green: #16a34a;
  --wa: #25d366;
  --tg: #2aabee;
  --red: #ef4444;
  --shadow-sm: 0 1px 2px rgba(11, 27, 51, 0.06), 0 4px 12px rgba(11, 27, 51, 0.05);
  --shadow: 0 8px 30px rgba(11, 27, 51, 0.12);
  --shadow-lg: 0 24px 60px rgba(11, 27, 51, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --container: 1200px;
  --header-h: 74px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--ink); font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 3.05rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }
table { border-collapse: collapse; width: 100%; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }

.section-head { max-width: 760px; margin: 0 auto clamp(2rem, 5vw, 3rem); text-align: center; }
.section-head p.lead { color: var(--muted); font-size: 1.08rem; margin-top: 0.5rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue); background: var(--grad-soft); border: 1px solid #cfe3ff;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 0.98rem; line-height: 1.1;
  padding: 13px 22px; border-radius: 14px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  text-decoration: none !important; white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(37, 99, 235, 0.45); }
.btn-wa { background: var(--wa); color: #06371c; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 211, 102, 0.4); }
.btn-tg { background: var(--tg); color: #062a3f; }
.btn-outline { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.14); }
.btn-ghost { background: var(--grad-soft); color: var(--blue); }
.btn-ghost:hover { transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }

svg.ic { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.16rem; color: var(--ink); text-decoration: none !important; }
.logo .logo-mark {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  background: var(--grad); display: inline-flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 6px 16px rgba(37,99,235,0.4);
}
.logo small { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); line-height: 1.1; }

.nav { display: none; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  color: var(--ink-soft); font-weight: 600; font-size: 0.92rem;
  padding: 8px 12px; border-radius: 10px; transition: background 0.15s ease, color 0.15s ease;
}
.nav a:hover { background: #eef3fb; color: var(--blue); text-decoration: none; }
.nav a.is-active { color: var(--blue); background: #eaf1ff; }

.header-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; }
.lang-switch a {
  font-size: 0.82rem; font-weight: 700; color: var(--muted); padding: 6px 9px; border-radius: 9px;
  border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 5px;
}
.lang-switch a.is-active, .lang-switch a:hover { background: var(--grad); color: #fff; text-decoration: none; box-shadow: 0 4px 12px rgba(37,99,235,0.35); }
.site-header .lang-switch a.is-active, .drawer .lang-switch a.is-active { background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(37,99,235,0.35); }
.site-header .lang-switch { display: none; }
.header-cta .btn { padding: 10px 16px; font-size: 0.9rem; }

.hamburger { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.hamburger svg { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none;
}
.drawer.open { visibility: visible; pointer-events: auto; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(11,27,51,0.5); opacity: 0; transition: opacity 0.25s ease; backdrop-filter: blur(2px); }
.drawer.open .scrim { opacity: 1; }
.drawer .panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 340px);
  background: #fff; padding: 22px; box-shadow: var(--shadow-lg);
  transform: translateX(105%); transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
}
.drawer.open .panel { transform: none; }
.drawer .panel a { padding: 13px 12px; border-radius: 12px; color: var(--ink); font-weight: 700; font-size: 1.02rem; }
.drawer .panel a:hover { background: #eef3fb; color: var(--blue); text-decoration: none; }
.drawer .panel .drawer-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(160deg, rgba(7,21,39,0.9) 0%, rgba(11,42,85,0.82) 45%, rgba(14,61,120,0.78) 100%),
    url("/img/hero.jpg") center / cover no-repeat,
    #0b2a55;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0;
}
.hero::before { width: 520px; height: 520px; top: -180px; right: -120px; background: radial-gradient(circle, rgba(34,211,238,0.5), transparent 70%); animation: blob 14s ease-in-out infinite; }
.hero::after { width: 460px; height: 460px; bottom: -200px; left: -140px; background: radial-gradient(circle, rgba(59,130,246,0.55), transparent 70%); animation: blob 18s ease-in-out infinite reverse; }
@keyframes blob { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.12); } }

.hero .container { position: relative; z-index: 1; padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.2rem; align-items: center; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25); color: #fff; font-size: 0.82rem; font-weight: 700;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 20px;
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: pulse 1.8s ease infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.55); } 55% { box-shadow: 0 0 0 9px rgba(245,158,11,0); } }

.hero h1 { color: #fff; font-size: clamp(2.15rem, 5.2vw, 3.6rem); letter-spacing: -0.03em; }
.hero h1 .grad-text {
  background: linear-gradient(92deg, #7dd3fc, #22d3ee 45%, #fbbf24 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.hero .sub { color: #c7d6ee; font-size: clamp(1rem, 1.8vw, 1.18rem); max-width: 620px; margin: 16px 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(12px, 3vw, 28px); padding: 0; margin: 0; list-style: none; }
.hero-stats li .num { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; color: #fff; line-height: 1.1; }
.hero-stats li .lbl { font-size: 0.82rem; color: #9fb4d4; }

.hero-plane {
  position: relative; width: min(100%, 420px); margin: 0 auto;
}
.hero-plane .plane {
  position: relative; z-index: 2; width: 64%; margin: 0 auto;
  filter: drop-shadow(0 30px 40px rgba(2,10,28,0.5));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(-2deg); } }
.hero-plane .vapor { position: absolute; z-index: 1; left: 6%; top: 46%; width: 88%; opacity: 0.9; animation: dash 9s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -1000; } }
.hero-ring { position: absolute; inset: 0; margin: auto; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(125,211,252,0.5); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Search widget ---------- */
.search-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: clamp(18px, 3vw, 26px); color: var(--ink); margin-top: clamp(-48px, -6vw, -40px);
  position: relative; z-index: 5;
}
.search-card h3 { margin: 0 0 4px; }
.search-card .muted { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.search-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); }
.field input, .field select {
  font: inherit; color: var(--ink); padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #f8fafd; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59,130,246,0.14); background: #fff; }
.swap-row { display: flex; align-items: center; gap: 10px; }
.swap-btn { width: 42px; height: 42px; flex: none; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.swap-btn:hover { background: #eef3fb; }
.search-go { margin-top: 14px; display: grid; gap: 10px; }
.search-hint { font-size: 0.8rem; color: var(--faint); margin-top: 10px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.cols-2 { grid-template-columns: 1fr; }
.cols-3 { grid-template-columns: 1fr; }
.cols-4 { grid-template-columns: 1fr; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); transition: transform 0.22s ease, box-shadow 0.22s ease; position: relative;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
a.card, a.card:hover, .card { text-decoration: none !important; }
a.card * { text-decoration: none !important; }
.card-pad { padding: 20px; }

.deal-card { display: flex; flex-direction: column; padding: 20px; }
.grid > .reveal > .deal-card { height: 100%; }
.deal-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.deal-badge {
  font-size: 0.72rem; font-weight: 800; color: #9a6a00; background: var(--amber-soft);
  padding: 5px 10px; border-radius: 999px; letter-spacing: 0.04em; white-space: nowrap;
}
.deal-route { font-size: 1.02rem; font-weight: 800; color: var(--ink); line-height: 1.3; }
.deal-airports { font-size: 0.8rem; color: var(--muted); font-weight: 600; margin-top: 3px; }
.deal-price { display: flex; align-items: baseline; gap: 8px; margin: 12px 0; flex-wrap: wrap; }
.deal-price .was { color: var(--faint); text-decoration: line-through; font-weight: 600; font-size: 0.95rem; }
.deal-price .now { font-size: 1.7rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.deal-price .save { font-size: 0.82rem; font-weight: 800; color: var(--green); }
.deal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { font-size: 0.74rem; font-weight: 700; background: #eef3fb; color: var(--ink-soft); padding: 4px 9px; border-radius: 8px; }
.chip.hot { background: #ffeaea; color: #b91c1c; }
.deal-actions { margin-top: auto; display: grid; gap: 8px; }

.airline-chip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.airline-chip img { width: 40px; height: 40px; border-radius: 10px; }
.airline-chip b { display: block; line-height: 1.25; color: var(--ink); }
.airline-chip > span:not(.side) { flex: 1; min-width: 0; font-size: 0.78rem; color: var(--muted); }
.airline-chip span b + span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.route-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; }
.route-row .code { font-weight: 800; font-size: 0.95rem; color: var(--ink); white-space: nowrap; }
.route-row .arr { flex: 1; min-width: 0; line-height: 1.35; }
.route-row .arr b { font-weight: 700; }
.route-row .arr span { display: block; font-size: 0.78rem; color: var(--muted); }
.route-row .px { font-weight: 800; color: var(--green); white-space: nowrap; }
.route-row .save2 { font-size: 0.76rem; color: var(--amber); font-weight: 800; white-space: nowrap; }

/* ---------- Marquee ---------- */
.marquee-wrap { background: var(--navy); overflow: hidden; position: relative; padding: 14px 0; }
.marquee-wrap::before, .marquee-wrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(270deg, var(--navy), transparent); }
.marquee { display: flex; align-items: center; gap: 42px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-wrap:hover .marquee { animation-play-state: paused; }
.marquee span { color: #bcd1ef; font-weight: 700; font-size: 0.92rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
.marquee span::after { content: "✈"; color: #3b82f6; font-size: 0.85rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Steps ---------- */
.step-card { text-align: center; padding: 28px 22px; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px; background: var(--grad);
  color: #fff; font-weight: 800; font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px rgba(37,99,235,0.35);
}
.step-card h3 { margin: 0 0 8px; }

/* ---------- Testimonials ---------- */
.testi-card { padding: 24px; }
.testi-ava { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1.2rem; }
.testi-route { font-size: 0.8rem; font-weight: 800; color: var(--blue); margin: 12px 0 6px; }
.testi-text { color: var(--ink-soft); font-size: 0.96rem; }
.stars { color: var(--amber); letter-spacing: 2px; }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item + .faq-item { margin-top: 12px; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; font: inherit; font-weight: 700; color: var(--ink); padding: 18px 18px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 1rem; }
.faq-q .chev { transition: transform 0.25s ease; color: var(--blue); flex: none; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 18px 18px; margin: 0; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; color: #fff; border-radius: 26px;
  background: linear-gradient(135deg, #0e2a4f, #123a6b 55%, #0c4a6e);
  padding: clamp(2.2rem, 5vw, 4rem); text-align: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px circle at 20% 10%, rgba(34,211,238,0.25), transparent 55%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { color: #bcd1ef; max-width: 560px; margin: 0 auto 24px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 0.84rem; color: var(--muted); padding: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs a { color: var(--blue); font-weight: 600; }
.breadcrumbs .sep { color: var(--faint); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; color: #fff;
  background:
    linear-gradient(150deg, rgba(8,26,51,0.9), rgba(14,47,94,0.82)),
    url("/img/hero.jpg") center / cover no-repeat,
    #0e2f5e;
  overflow: hidden; padding: clamp(2.4rem, 5vw, 3.6rem) 0;
}
.page-hero h1 { color: #fff; margin: 6px 0 10px; }
.page-hero .lede { color: #c7d6ee; max-width: 760px; font-size: clamp(1rem, 1.7vw, 1.12rem); }
.page-hero .crumb-row { color: #8fa7c8; }
.page-hero .crumb-row a { color: #bfd3f2; }

/* ---------- Route price panel ---------- */
.facts-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; box-shadow: var(--shadow-sm); }
.fact .k { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); margin-bottom: 4px; }
.fact .v { font-size: 1.22rem; font-weight: 800; color: var(--ink); }
.fact .v.green { color: var(--green); }
.fact .v.blue { color: var(--blue); }

.price-bar { background: linear-gradient(120deg, #eef4ff, #e7fbff); border: 1px solid #d5e7ff; border-radius: var(--radius-sm); padding: 18px; }
.price-bar .row { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.price-bar .row + .row { margin-top: 8px; }
.price-bar .row.discount { border-top: 1px dashed #c4d8f8; margin-top: 12px; padding-top: 12px; }
.price-bar .amt { font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.price-bar .amt.big { font-size: 1.7rem; color: var(--blue); }
.price-bar .save-tag { font-weight: 800; color: var(--green); }

/* ---------- Article body ---------- */
.article { max-width: 780px; margin: 0 auto; }
.article-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow-sm); }
.article-body h2 { margin-top: 1.7em; padding-top: 0.4rem; border-top: 1px solid var(--line); }
.article-body h2:first-child { margin-top: 0; border-top: 0; }
.article-body ul li, .article-body ol li { margin-bottom: 0.55rem; }
.article-body .tip-list li::marker { color: var(--blue); font-weight: 800; }

.toc { background: var(--grad-soft); border-radius: var(--radius-sm); padding: 16px 20px; margin: 0 0 8px; border: 1px solid #d9e8ff; }
.toc ol { margin: 0; }
.toc a { font-weight: 600; }

.note { background: #fff8e8; border: 1px solid #ffe2a8; border-left: 4px solid var(--amber); border-radius: 10px; padding: 14px 16px; font-size: 0.94rem; margin: 18px 0; }
.note b { color: #9a6a00; }

.article-body table { margin: 1rem 0 1.4rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.article-body th, .article-body td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.92rem; vertical-align: top; }
.article-body th { background: #eef4ff; color: var(--navy); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.article-body tr:last-child td { border-bottom: 0; }
.article-body tr:hover td { background: #f8fbff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #a8b8d2; padding: clamp(2.5rem, 5vw, 4rem) 0 2rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.footer-brand p { font-size: 0.92rem; color: #8fa7c8; max-width: 300px; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-col h4 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.07em; margin: 0 0 14px; }
.footer-col a { display: block; color: #a8b8d2; font-size: 0.92rem; padding: 4px 0; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 28px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.82rem; color: #6e84a6; }

/* ---------- Floating actions ---------- */
.fabs { position: fixed; z-index: 70; right: 14px; bottom: 84px; display: grid; gap: 12px; }
.fab { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: var(--shadow-lg); transition: transform 0.18s ease; }
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab-wa { background: var(--wa); color: #06371c; animation: pulse-wa 2.4s ease infinite; }
@keyframes pulse-wa { 0%,100% { box-shadow: 0 10px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.55); } 55% { box-shadow: 0 10px 24px rgba(37,211,102,0.45), 0 0 0 14px rgba(37,211,102,0); } }
.fab-tg { background: var(--tg); color: #062a3f; }
.fab svg { width: 26px; height: 26px; }

/* Mobile bottom bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(11,27,51,0.1);
}
.mobile-bar .btn { font-size: 0.92rem; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }
.js .reveal.d4 { transition-delay: 0.32s; }

@keyframes shimmer { 0% { background-position: -600px 0; } 100% { background-position: 600px 0; } }

/* Price total hero strip on route pages */
.route-hero-cards { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 22px; }
.rh-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius-sm); padding: 18px; backdrop-filter: blur(6px); }
.rh-card .k { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: #8fa7c8; font-weight: 700; }
.rh-card .v { font-size: 1.6rem; font-weight: 800; color: #fff; }

/* Related / lists */
.link-strip { display: grid; gap: 10px; }
.link-strip a { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 16px; font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform 0.18s ease, border-color 0.18s ease; }
.link-strip a:hover { transform: translateX(4px); border-color: var(--blue); color: var(--blue); text-decoration: none; }
.link-strip a .side { color: var(--green); font-weight: 800; font-size: 0.9rem; }

.airport-poster, .dest-poster { border-radius: var(--radius-sm); overflow: hidden; }
.airline-logo { width: 44px; height: 44px; border-radius: 10px; background: #fff; }

/* ---------- Misc ---------- */
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.tac { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.grid-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.grid-picker a { font-size: 0.82rem; font-weight: 700; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); padding: 8px 14px; border-radius: 999px; }
.grid-picker a:hover { background: var(--navy); color: #fff; text-decoration: none; }

.divider { height: 1px; background: var(--line); border: 0; margin: 2rem 0; }

.badge-50 { font-size: 0.72rem; font-weight: 800; color: #fff; background: linear-gradient(120deg, #f59e0b, #f97316); padding: 4px 10px; border-radius: 999px; }

.toast { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 12px; font-size: 0.9rem; font-weight: 600; opacity: 0; pointer-events: none; transition: all 0.3s ease; z-index: 120; box-shadow: var(--shadow-lg); max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
[data-anchor], section[id], h2[id], h3[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

@media (min-width: 600px) {
  .cols-2 { grid-template-columns: 1fr 1fr; }
  .cols-4 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 620px) {
  .sidebar-wrap { display: grid; grid-template-columns: 1.8fr 1fr; gap: 26px; align-items: start; }
}

@media (min-width: 680px) {
  .cols-3 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .hamburger { display: none; }
  .site-header .lang-switch { display: inline-flex; }
  .cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cols-4 { grid-template-columns: repeat(4, 1fr); }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .search-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .search-go { grid-template-columns: 1fr auto; align-items: stretch; }
  .facts-panel { grid-template-columns: repeat(4, 1fr); }
  .route-hero-cards { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .fabs { bottom: 26px; }
  .mobile-bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}