/*
 * compare.flights UI v2
 * A final, intentionally small override layer loaded after style.css.
 * Keeps legacy component markup and Travelpayouts integration intact while
 * providing one coherent visual system across desktop and mobile.
 */

:root {
  --cf-navy: #002b5c;
  --cf-navy-2: #071f3d;
  --cf-yellow: #fcba16;
  --cf-yellow-hover: #f3ad00;
  --cf-ink: #122033;
  --cf-muted: #667085;
  --cf-line: #e3e8ef;
  --cf-bg: #f6f8fb;
  --cf-soft-blue: #edf5ff;
  --cf-white: #fff;
  --cf-radius-sm: 12px;
  --cf-radius: 18px;
  --cf-radius-lg: 26px;
  --cf-shadow-sm: 0 8px 24px rgba(18, 32, 51, .07);
  --cf-shadow: 0 22px 54px rgba(0, 43, 92, .13);
  --cf-shadow-hover: 0 18px 42px rgba(0, 43, 92, .14);
  --container: 1240px;
  --line: var(--cf-line);
  --ink: var(--cf-ink);
  --muted: var(--cf-muted);
  --soft: var(--cf-bg);
  --nav: var(--cf-navy);
  --primary: var(--cf-yellow);
  --primary-hover: var(--cf-yellow-hover);
  --primary-soft: #fff4d2;
  --primary-subtle: #fffaf0;
}

html { background: var(--cf-bg); }
body {
  background: var(--cf-bg);
  color: var(--cf-ink);
  font-size: 16px;
  line-height: 1.6;
}

::selection { background: rgba(252, 186, 22, .45); color: #071f3d; }

.container,
.search-wrap,
.results-free-space { max-width: var(--container) !important; }

/* ---------- Header ---------- */
.site-header {
  background: var(--cf-yellow);
  box-shadow: 0 1px 0 rgba(7, 31, 61, .12);
}
.brand-band { background: var(--cf-yellow); }
.header-row { min-height: 76px; gap: 14px; }
.brand-logo,
.custom-logo { height: 57px; max-width: 210px; }
.header-spacer { display: none; }
.nav-links--compact { margin-left: auto; }
.nav-links--compact > a,
.nav-links .primary-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #132238;
  font-size: .82rem;
  font-weight: 760;
  transition: background .18s ease, transform .18s ease;
}
.nav-links--compact > a:hover,
.nav-links .primary-menu a:hover {
  background: rgba(0, 43, 92, .09);
  transform: translateY(-1px);
}
.header-search-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 43px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--cf-navy);
  color: #fff;
  font-size: .82rem;
  font-weight: 850;
  box-shadow: 0 7px 16px rgba(0, 43, 92, .16);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.header-search-link:hover {
  background: var(--cf-navy-2);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 43, 92, .2);
}
.header-search-link span { font-size: 1.05rem; transition: transform .18s ease; }
.header-search-link:hover span { transform: translateX(2px); }
.menu-button {
  border-color: rgba(0, 43, 92, .18);
  background: rgba(255,255,255,.35);
  border-radius: 12px;
}

/* ---------- Announcement ---------- */
.announcement-bar {
  border: 0;
  border-bottom: 1px solid #efe4c7;
  background: #fff9e9;
  color: #5f4d1e;
}
.announcement-inner {
  min-height: 42px;
  font-size: .76rem;
  line-height: 1.45;
}
.announcement-icon { color: #9a6e00; }
.announcement-inner strong { color: #3c3011; }

/* ---------- Hero ---------- */
.human-hero,
.cheaptickets-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 70px 0 148px;
  background: var(--cf-yellow);
}
.cheaptickets-hero::before,
.cheaptickets-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}
.cheaptickets-hero::before {
  width: 520px;
  height: 520px;
  top: -230px;
  right: -85px;
  border: 1px solid rgba(0, 43, 92, .12);
  box-shadow: 0 0 0 52px rgba(255,255,255,.10), 0 0 0 104px rgba(0,43,92,.035);
}
.cheaptickets-hero::after {
  width: 180px;
  height: 180px;
  right: 17%;
  bottom: 42px;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.42), rgba(255,255,255,0) 68%);
}
.cheaptickets-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 1;
  background:
    linear-gradient(125deg, transparent 0 64%, rgba(255,255,255,.11) 64% 64.3%, transparent 64.3%),
    radial-gradient(circle at 88% 46%, rgba(0,43,92,.07) 0 4px, transparent 5px),
    radial-gradient(circle at 72% 76%, rgba(0,43,92,.10) 0 4px, transparent 5px);
}
.human-hero-inner { max-width: 820px; }
.human-hero h1 {
  max-width: 12.5ch;
  color: #0b2340;
  font-size: clamp(3rem, 5.6vw, 5rem);
  line-height: .98;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.human-hero .hero-sub {
  max-width: 650px;
  margin-top: 22px;
  color: #334155;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 27px;
}
.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(0, 43, 92, .10);
  border-radius: 999px;
  background: rgba(255,255,255,.34);
  color: #243a55;
  font-size: .76rem;
  font-weight: 760;
  backdrop-filter: blur(4px);
}
.hero-proof svg { width: 16px; height: 16px; stroke-width: 2.2; color: var(--cf-navy); }

/* ---------- Search ---------- */
.search-wrap { margin-top: -92px !important; z-index: 15; }
.search-panel,
.search-panel.human-search-panel {
  padding: 26px 28px 28px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--cf-radius-lg);
  background: var(--cf-navy) !important;
  box-shadow: var(--cf-shadow);
}
.search-intro { margin-bottom: 18px; }
.search-intro-kicker {
  margin-bottom: 6px;
  color: #9dc4ef !important;
  font-size: .7rem;
  font-weight: 850 !important;
  letter-spacing: .14em;
}
.search-intro h2 {
  color: #fff;
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  letter-spacing: -.035em;
}
.search-intro-subtitle {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #dcecff !important;
  font-size: .76rem !important;
  font-weight: 760 !important;
}
#tpwl-search {
  position: relative;
  min-height: 64px;
  border-radius: 15px;
}
.human-search-foot { margin-top: 15px; }
.search-inspiration-cta {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #d8e9fb;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}
.search-inspiration-cta:hover { color: #fff; transform: translateX(2px); }
.search-benefits-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 14px 18px 0;
  overflow: hidden;
  border: 1px solid var(--cf-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--cf-shadow-sm);
}
.search-benefit-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 10px 13px;
  color: #435268;
  font-size: .78rem;
  font-weight: 720;
  text-align: center;
}
.search-benefit-item + .search-benefit-item { border-left: 1px solid var(--cf-line); }
.search-benefit-icon {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: #fff4d2;
  color: #5b4300;
}
.search-benefit-icon svg { width: 15px; height: 15px; }

.results-panel.is-visible {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--cf-line);
  border-radius: var(--cf-radius);
  background: #fff;
  box-shadow: var(--cf-shadow-sm);
}

/* ---------- Sections / typography ---------- */
.section,
.cf-guide-section,
.seo-flight-guide { padding: 72px 0; }
.section { background: #fff; }
.section--soft { background: var(--cf-bg); }
#why-compare-flights { padding-top: 86px; }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-kicker {
  display: inline-flex !important;
  align-items: center;
  min-height: 27px;
  margin: 0 0 11px;
  padding: 5px 9px;
  border-radius: 7px;
  background: #fff1c5;
  color: #705100;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1;
}
.section-head h2 {
  color: #122033;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.section-head p {
  max-width: 650px;
  margin-top: 11px;
  color: #6a7585;
  font-size: .98rem;
  line-height: 1.65;
}

/* ---------- Benefits ---------- */
.benefit-grid { gap: 18px; }
.benefit-card {
  min-height: 0;
  padding: 26px;
  border: 1px solid var(--cf-line);
  border-radius: var(--cf-radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(18,32,51,.02);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.benefit-card::before { display: none; }
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: #ccd8e6;
  box-shadow: var(--cf-shadow-hover);
}
.benefit-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: #fff1c7;
  color: #4d3a00;
}
.benefit-card h3 { margin-bottom: 8px; font-size: 1.08rem; letter-spacing: -.015em; }
.benefit-card p { color: var(--cf-muted); line-height: 1.62; }

/* ---------- Destination image cards ---------- */
.dest-grid { gap: 18px; }
.dest {
  min-height: 290px;
  border: 0;
  border-radius: 20px;
  background: #dbe2ea;
  box-shadow: 0 10px 28px rgba(18,32,51,.09);
  transform: translateZ(0);
  transition: transform .22s ease, box-shadow .22s ease;
}
.dest:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(18,32,51,.18); }
.dest .photo img { transition: transform .45s cubic-bezier(.2,.75,.2,1); }
.dest:hover .photo img { transform: scale(1.045); }
.dest .overlay {
  background: linear-gradient(180deg, rgba(5,20,38,0) 35%, rgba(5,20,38,.12) 52%, rgba(5,20,38,.88) 100%);
}
.dest .meta { padding: 22px; }
.dest .meta::after {
  content: '→';
  position: absolute;
  right: 20px;
  bottom: 23px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1rem;
  backdrop-filter: blur(5px);
  transition: transform .18s ease, background .18s ease;
}
.dest:hover .meta::after { transform: translateX(2px); background: rgba(255,255,255,.2); }
.dest .city { font-size: 1.18rem; letter-spacing: -.02em; }
.dest .sub { margin-top: 4px; color: rgba(255,255,255,.78); font-size: .76rem; }

/* ---------- Route / airport cards ---------- */
.grid-4 { gap: 14px; }
.route,
.airport {
  min-height: 82px;
  padding: 15px 16px;
  border: 1px solid var(--cf-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(18,32,51,.02);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.route:hover,
.airport:hover {
  transform: translateY(-2px);
  border-color: #c7d4e3;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18,32,51,.08);
}
.pair { gap: 7px; font-size: .94rem; letter-spacing: .02em; }
.pair > span:not(.arrow) {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 7px;
  border-radius: 7px;
  background: #f1f5f9;
  color: #25364d;
  font-size: .78rem;
  font-weight: 850;
}
.route .arrow { color: #99a5b4; }
.names,
.loc { margin-top: 5px; color: #778294; font-size: .75rem; }
.route .go,
.airport .go { color: #9aa6b5; transition: transform .18s ease, color .18s ease; }
.route:hover .go,
.airport:hover .go { color: var(--cf-navy); transform: translateX(2px); }
.airport .code {
  min-width: 52px;
  height: 42px;
  border-radius: 11px;
  background: #fff1c7;
  color: #4c3900;
  font-size: .82rem;
  letter-spacing: .04em;
}

/* ---------- Regions ---------- */
.region-grid { gap: 18px; }
.region-card {
  border: 1px solid var(--cf-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(18,32,51,.04);
}
.region-card-head {
  padding: 17px 18px;
  border-top: 0;
  border-bottom: 1px solid var(--cf-line);
  background: linear-gradient(180deg, #fff, #fbfcfe);
}
.region-card-head::before {
  content: '';
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--cf-yellow);
  box-shadow: 0 0 0 5px #fff5d9;
}
.region-card-head h3 { margin-right: auto; font-size: 1rem; }
.region-count {
  padding: 4px 7px;
  border-radius: 999px;
  background: #f2f5f8;
  color: #7a8594;
  font-size: .65rem;
}
.region-link { padding: 13px 18px; transition: background .17s ease; }
.region-link:hover { border-color: transparent; background: #f7faff; }
.region-city { font-weight: 760; }
.region-country { margin-top: 2px; color: #808b99; }

/* ---------- Partners / extras ---------- */
.partner-grid { gap: 18px; }
.partner-card {
  min-height: 178px;
  padding: 24px;
  border: 1px solid var(--cf-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(18,32,51,.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.partner-card:hover { transform: translateY(-3px); box-shadow: var(--cf-shadow-hover); }
.partner-type {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 7px;
  background: #eef5ff;
  color: #35577f;
  font-size: .68rem;
  font-weight: 760;
}
.partner-card .btn,
.btn-primary {
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 11px;
  background: var(--cf-yellow);
  color: #172033;
  font-weight: 820;
  box-shadow: 0 5px 12px rgba(252,186,22,.2);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.partner-card .btn:hover,
.btn-primary:hover {
  background: var(--cf-yellow-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(252,186,22,.25);
}
.affiliate-note { color: #7d8795; }

/* ---------- SEO copy ---------- */
.seo-flight-guide { background: #fff; }
.seo-copy { max-width: 900px; }
.seo-copy-block {
  padding: 21px 0;
  border-top: 1px solid var(--cf-line);
}
.seo-copy-block h3 { margin-bottom: 8px; font-size: 1.08rem; letter-spacing: -.01em; }
.seo-copy-block p { color: #687587; line-height: 1.72; }
.seo-footer {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid #d9e6f5;
  border-radius: 16px;
  background: var(--cf-soft-blue);
}

/* ---------- Guides ---------- */
.cf-guide-section { background: var(--cf-bg); }
.cf-guide-grid { gap: 18px; }
.cf-guide-card {
  overflow: hidden;
  border: 1px solid var(--cf-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(18,32,51,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cf-guide-card:hover { transform: translateY(-4px); box-shadow: var(--cf-shadow-hover); }
.cf-guide-card-media { aspect-ratio: 16/9; }
.cf-guide-card-media img { transition: transform .4s ease; }
.cf-guide-card:hover .cf-guide-card-media img { transform: scale(1.035); }
.cf-guide-card-body { padding: 21px; }
.cf-guide-card h3 { font-size: 1.08rem; letter-spacing: -.02em; }
.cf-guide-card p { margin-top: 9px; color: #6f7b8b; line-height: 1.6; }
.cf-read-more { color: var(--cf-navy); font-size: .82rem; font-weight: 820; }

/* ---------- FAQ ---------- */
#faq { background: #fff; }
.faq-inner { max-width: 920px; }
.faq-shortcuts { margin-bottom: 24px; }
.faq-shortcuts-label { color: #7c8796; }
.faq-shortcuts a {
  min-height: 35px;
  border: 1px solid #dce3eb;
  border-radius: 999px;
  background: #f8fafc;
  color: #45556a;
}
.faq-shortcuts a:hover { border-color: #d2b04e; background: #fff8e6; }
.faq-list { gap: 10px; }
.faq-item {
  padding: 0 19px;
  border: 1px solid var(--cf-line);
  border-radius: 15px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq-item:hover { border-color: #ced9e5; }
.faq-item[open] { border-color: #c8d8e9; box-shadow: 0 9px 26px rgba(18,32,51,.06); }
.faq-item summary { padding: 18px 0; color: #1d2b3f; font-size: .95rem; font-weight: 780; }
.faq-item summary::after {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #f2f5f8;
  color: #526174;
  line-height: 1;
}
.faq-item[open] summary::after { background: #fff1c7; color: #5d4500; }
.faq-item p { max-width: 760px; padding-bottom: 19px; color: #6b7787; line-height: 1.68; }

/* ---------- Pre-footer / footer ---------- */
.pre-footer-trust {
  border-top: 1px solid var(--cf-line);
  background: #fff7df;
  color: #4e4532;
}
.pre-footer-trust-inner { min-height: 66px; gap: 16px; font-size: .83rem; }
.pre-footer-trust strong { color: #22334a; }
.site-footer {
  padding: 62px 0 26px;
  border-top: 0;
  background: var(--cf-navy) !important;
}
.footer-main { gap: 48px; }
.footer-text-logo,
.footer-brand { color: #fff; font-size: 1.75rem; font-weight: 900; letter-spacing: -.05em; }
.footer-brand-block > p { color: rgba(255,255,255,.62); }
.footer-group h3 { color: rgba(255,255,255,.44); }
.footer-links a,
.footer-links button { color: rgba(255,255,255,.74); }
.footer-links a:hover,
.footer-links button:hover { color: #fff; }
.footer-social-link {
  display: inline-flex;
  margin-right: 12px;
  color: rgba(255,255,255,.66);
}
.footer-bottom { color: rgba(255,255,255,.43); }

/* ---------- Content templates ---------- */
.cf-content-hero {
  padding: 64px 0 46px;
  border-bottom: 1px solid var(--cf-line);
  background: linear-gradient(180deg, #fff8e5 0, #fff 100%);
}
.cf-content-hero h1 { color: #122033; font-size: clamp(2.5rem, 5vw, 4.2rem); }
.cf-content { background: #fff; }
.cf-featured img,
.cf-content .entry-content img { border-radius: 18px; }
.cf-flight-cta {
  border: 0;
  border-radius: 20px;
  background: var(--cf-navy);
  box-shadow: var(--cf-shadow-sm);
}
.cf-archive-card {
  border-radius: 18px;
  box-shadow: 0 6px 22px rgba(18,32,51,.05);
}

/* ---------- Mobile sticky CTA ---------- */
.mobile-search-cta { display: none; }

/* ---------- Motion / accessibility ---------- */
@media (prefers-reduced-motion: no-preference) {
  .benefit-card,
  .dest,
  .route,
  .airport,
  .region-link,
  .partner-card,
  .cf-guide-card { will-change: transform; }
}
@media (prefers-reduced-motion: reduce) {
  .benefit-card:hover,
  .dest:hover,
  .route:hover,
  .airport:hover,
  .partner-card:hover,
  .cf-guide-card:hover,
  .header-search-link:hover { transform: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .header-row { gap: 9px; }
  .brand-logo,
  .custom-logo { height: 53px; max-width: 190px; }
  .nav-links--compact > a,
  .nav-links .primary-menu a { padding-inline: 8px; font-size: .76rem; }
  .header-search-link { padding-inline: 12px; font-size: .76rem; }
  .search-benefits-strip { margin-inline: 10px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  body.home { padding-bottom: 76px; }
  .header-row { min-height: 66px; }
  .brand-logo,
  .custom-logo { height: 49px; max-width: min(182px, 54vw); }
  .site-header .nav-links,
  .header-search-link { display: none; }
  .human-hero,
  .cheaptickets-hero { padding: 46px 0 116px; }
  .human-hero h1 { max-width: 11.5ch; font-size: clamp(2.45rem, 10.6vw, 4rem); }
  .human-hero .hero-sub { margin-top: 17px; font-size: .98rem; line-height: 1.58; }
  .hero-proof { gap: 7px; margin-top: 20px; }
  .hero-proof span { min-height: 31px; padding: 6px 9px; font-size: .7rem; }
  .search-wrap { margin-top: -78px !important; }
  .search-panel,
  .search-panel.human-search-panel { padding: 20px 17px 18px; border-radius: 20px; }
  .search-intro { grid-template-columns: 1fr; gap: 0; }
  .search-intro-subtitle {
    grid-column: 1;
    grid-row: auto;
    width: fit-content;
    margin-top: 9px;
    padding: 5px 8px;
    text-align: left;
    white-space: normal;
  }
  .search-benefits-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 10px 0 0;
    border-radius: 14px;
  }
  .search-benefit-item { justify-content: flex-start; min-height: 48px; padding: 9px 10px; text-align: left; }
  .search-benefit-item + .search-benefit-item { border-left: 0; }
  .search-benefit-item:nth-child(even) { border-left: 1px solid var(--cf-line); }
  .search-benefit-item:nth-child(n+3) { border-top: 1px solid var(--cf-line); }
  .section,
  .cf-guide-section,
  .seo-flight-guide { padding: 54px 0; }
  #why-compare-flights { padding-top: 66px; }
  .section-head { margin-bottom: 23px; }
  .section-head h2 { font-size: clamp(1.8rem, 8vw, 2.35rem); }
  .section-head p { font-size: .92rem; }
  .dest { min-height: 260px; }
  .mobile-slider {
    grid-auto-columns: min(82vw, 355px) !important;
    gap: 13px !important;
    padding-bottom: 10px !important;
  }
  .grid-4.mobile-slider { grid-auto-columns: min(80vw, 330px) !important; }
  .region-grid.mobile-slider { grid-auto-columns: min(86vw, 370px) !important; }
  .faq-list.mobile-slider {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-flow: row !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  .footer-main { gap: 30px; }
  .mobile-search-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 95;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 17px;
    background: var(--cf-navy);
    color: #fff;
    box-shadow: 0 15px 36px rgba(7,31,61,.28);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .mobile-search-cta.is-hidden { opacity: 0; visibility: hidden; transform: translateY(14px); pointer-events: none; }
  .mobile-search-cta__icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    background: var(--cf-yellow);
    color: #132238;
  }
  .mobile-search-cta__icon svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
  .mobile-search-cta strong { display: block; font-size: .83rem; line-height: 1.15; }
  .mobile-search-cta small { display: block; margin-top: 2px; color: rgba(255,255,255,.63); font-size: .65rem; line-height: 1.15; }
  .mobile-search-cta__arrow { color: var(--cf-yellow); font-size: 1.2rem; text-align: center; }
}

@media (max-width: 640px) {
  :root { --gutter: 17px; }
  .announcement-inner { font-size: .68rem; }
  .human-hero,
  .cheaptickets-hero { padding-top: 38px; }
  .cheaptickets-hero::before { width: 350px; height: 350px; top: -170px; right: -165px; }
  .hero-proof span:nth-child(3) { display: none; }
  .search-social-proof { margin-bottom: 14px; }
  .search-benefits-strip { box-shadow: none; }
  .benefit-card { padding: 22px; }
  .dest { min-height: 240px; border-radius: 18px; }
  .dest .meta { padding: 18px; }
  .dest .meta::after { right: 16px; bottom: 19px; width: 34px; height: 34px; }
  .route,
  .airport { min-height: 78px; }
  .seo-footer { padding: 18px; }
  .pre-footer-trust-inner { align-items: flex-start; flex-direction: column; gap: 4px; padding-block: 13px; }
  .pre-footer-dot { display: none; }
  .footer-bottom { gap: 10px; }
}
