/* ==========================================================================
   Flightsaverz — base layer
   Tokens, reset, typography, animations and the chrome shared by every page
   (announcement bar, header, breadcrumbs, buttons, footer).
   ========================================================================== */

:root {
  --navy: #0B1B33;
  --navy-80: rgba(11, 27, 51, .8);
  --ink: #3B4A64;
  --muted: #5A6A82;
  --cream: #F7F5F0;
  --cream-soft: #FBFAF6;
  --white: #fff;
  --red: #EB2226;
  --blue: #075AAA;
  --gold: #F4C542;
  --green: #22c55e;
  --btn: rgb(0 114 255);
  --btn-hover: rgb(0 98 224);
  --btn-shadow: rgba(0, 114, 255, .45);

  --line: rgba(11, 27, 51, .08);
  --line-soft: rgba(11, 27, 51, .06);
  --line-invert: rgba(255, 255, 255, .14);

  --shell: 1240px;
  --gutter: 24px;

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- reset ---------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  padding: 0;
  max-width: 100vw;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img,
svg { max-width: 100%; }

img { display: block; }

a {
  color: var(--blue);
  text-decoration: none;
  transition: color .2s var(--ease);
}

a:hover { color: var(--red); }

ul { text-wrap: pretty; }

h1, h2, h3 { text-wrap: pretty; }

/* --- helpers ------------------------------------------------------------- */

/* overflow-x: clip, not hidden — hidden makes this a scroll container and
   silently breaks position: sticky on the header inside it. */
.page { width: 100%; max-width: 100%; overflow-x: clip; background: var(--cream); }
.shell { max-width: var(--shell); margin: 0 auto; padding-inline: var(--gutter); }
.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -.01em; }
.is-hidden { display: none !important; }

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--btn);
}

.arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--btn);
  color: var(--white);
  transition: transform .25s var(--ease);
}

/* --- animations ---------------------------------------------------------- */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 114, 255, .45); }
  50%      { box-shadow: 0 0 0 14px rgba(0, 114, 255, 0); }
}

@keyframes ring {
  0%, 24%, 100%   { transform: rotate(0); }
  3%, 9%, 15%     { transform: rotate(-14deg); }
  6%, 12%, 18%    { transform: rotate(14deg); }
}

.ring-icon {
  transform-origin: 50% 50%;
  will-change: transform;
}

/* The shake runs on the primary call buttons only, on a long cycle, so it
   stays a signal rather than constant noise. */
.call-btn .ring-icon,
.sticky-call .ring-icon,
.float-call .ring-icon {
  animation: ring 6s ease-in-out infinite;
}

.pulse-ring {
  animation: pulse 2s ease-out infinite;
  will-change: box-shadow;
}

.animate-up {
  animation: fadeUp .7s var(--ease) both;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ring-icon,
  .pulse-ring,
  .animate-up { animation: none !important; }
  *,
  *::before,
  *::after { transition-duration: .01ms !important; }
}

/* --- buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .01em;
  white-space: nowrap;
  border-radius: var(--r-sm);
  padding: 12px 18px;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s var(--ease);
}

.btn:hover { transform: translateY(-1px); }

.btn--red { background: var(--btn); color: var(--white); }
.btn--red:hover { color: var(--white); background: var(--btn-hover); }

.btn--navy { background: var(--btn); color: var(--white); }
.btn--navy:hover { color: var(--white); background: var(--btn-hover); }

.btn--pill { border-radius: var(--r-pill); }

.btn--lg { padding: 14px 20px; font-size: 15px; border-radius: 14px; }

.btn--block { width: 100%; }

/* Big two-line "call now" button */
.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  background: var(--btn);
  color: var(--white);
  box-shadow: 0 16px 32px -12px var(--btn-shadow);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease);
}

.call-btn:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -14px var(--btn-shadow);
}

.call-btn--navy {
  background: var(--btn);
  padding: 20px 26px;
  border-radius: 18px;
  align-self: flex-start;
  box-shadow: none;
}

.call-btn--navy:hover { box-shadow: 0 22px 40px -18px var(--btn-shadow); }

.call-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  flex: none;
}

.call-btn--navy .call-btn__icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, .18);
}

.call-btn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.call-btn__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .85;
}

.call-btn--navy .call-btn__label { font-size: 11px; opacity: .7; }

.call-btn__number { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.call-btn--navy .call-btn__number { font-size: 26px; }

/* --- announcement bar ---------------------------------------------------- */

.announce {
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  letter-spacing: .02em;
}

.announce__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.announce__status {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: .85;
}

.announce__note { opacity: .85; }

/* --- header -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}

.site-header.is-stuck { box-shadow: 0 10px 30px -18px rgba(11, 27, 51, .45); }

.site-header__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 38px; width: auto; }

.site-nav {
  display: flex;
  gap: 32px;
  font-size: 14.5px;
  font-weight: 500;
}

.site-nav a { color: var(--navy); }
.site-nav a:hover { color: var(--red); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.phone-block { text-align: right; line-height: 1.2; }

.phone-block__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.phone-block__number {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--navy);
}

/* --- breadcrumbs --------------------------------------------------------- */

.crumbs {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px var(--gutter) 0;
  font-size: 13px;
  color: var(--muted);
}

.crumbs a { color: inherit; }
.crumbs a:hover { color: var(--red); }
.crumbs__sep { margin: 0 8px; opacity: .5; }
.crumbs__current { color: var(--navy); font-weight: 600; }

/* --- section scaffolding ------------------------------------------------- */

.section {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 96px var(--gutter);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.section-head--center {
  display: block;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 12px 0 0;
  color: var(--navy);
  max-width: 720px;
}

.section-lede {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  max-width: 620px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
}

.section-link:hover { color: var(--red); }
.section-link:hover .arrow-circle { transform: translateX(3px); }

/* --- footer -------------------------------------------------------------- */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
}

.site-footer__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px var(--gutter) 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  padding: 10px 14px;
  border-radius: var(--r-sm);
}

.footer-logo img { height: 32px; width: auto; }

.footer-about {
  margin: 18px 0 0;
  max-width: 340px;
  line-height: 1.6;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .6);
}

.footer-call { margin-top: 20px; }

.footer-col__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a { color: inherit; }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .55);
}

.footer-bottom__legal { max-width: 720px; text-align: right; }

/* --- sticky action bar --------------------------------------------------- */

.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px max(var(--gutter), env(safe-area-inset-left));
  background: rgba(11, 27, 51, .94);
  backdrop-filter: saturate(160%) blur(12px);
  border-top: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 -12px 30px -18px rgba(11, 27, 51, .6);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 100%, 0);
  transition: opacity .3s var(--ease), transform .4s var(--ease);
}

.action-bar.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.action-bar__copy {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .55);
}

.action-bar__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 500;
}

.action-bar__links a { color: rgba(255, 255, 255, .8); }
.action-bar__links a:hover { color: var(--white); }

.action-bar__cta { flex: none; justify-self: end; font-size: 15px; font-weight: 800; }

body { padding-bottom: 76px; }

@media (prefers-reduced-motion: reduce) {
  .action-bar { transition: opacity .2s linear; transform: none; }
  .action-bar.is-visible { transform: none; }
}

/* --- cookie consent ------------------------------------------------------ */

.cookie-consent {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 92px;
  z-index: 70;
  max-width: 440px;
  margin-left: auto;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 30px 70px -28px rgba(11, 27, 51, .5), 0 2px 6px -2px rgba(11, 27, 51, .08);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 20px, 0) scale(.98);
  transition: opacity .35s var(--ease), transform .5s var(--ease);
}

.cookie-consent.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.cookie-consent__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-consent__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--btn);
  background: rgba(0, 114, 255, .1);
}

.cookie-consent__title {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.2;
  color: var(--navy);
}

.cookie-consent__text {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.cookie-consent__text a {
  color: var(--btn);
  text-decoration: underline;
  text-decoration-color: rgba(0, 114, 255, .35);
  text-underline-offset: 2px;
}

.cookie-consent__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(11, 27, 51, .18);
}

.btn--ghost:hover {
  background: var(--cream);
  color: var(--navy);
  border-color: rgba(11, 27, 51, .3);
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent { transition: opacity .2s linear; transform: none; }
  .cookie-consent.is-visible { transform: none; }
}
/* --- responsive chrome --------------------------------------------------- */

@media (max-width: 900px) {
  .site-nav { display: none; }
  .action-bar { grid-template-columns: 1fr auto; }
  .action-bar__copy { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { justify-content: flex-start; }
  .footer-bottom__legal { text-align: left; }
  .section { padding: 64px var(--gutter); }
}

@media (max-width: 560px) {
  .phone-block { display: none; }
  .footer-grid { grid-template-columns: 1fr; }

  /* The disclaimer wrapped to three lines and pushed the page down;
     it still appears in full in the footer. */
  .announce { font-size: 12.5px; }
  .announce__inner { justify-content: flex-start; padding: 8px var(--gutter); }
  .announce__note { display: none; }

  .site-header__inner { padding: 12px var(--gutter); gap: 12px; }
  .brand__logo { height: 32px; }
  .btn--pill { padding: 11px 16px; }

  /* Comfortable touch targets for text links */
  .footer-links a,
  .site-nav a { display: inline-block; padding: 5px 0; }
  .action-bar { padding: 10px 14px; gap: 12px; grid-template-columns: 1fr; }
  .action-bar__links { display: none; }
  .action-bar__cta { padding: 12px 16px; font-size: 15px; justify-self: stretch; }
  .cookie-consent { left: 12px; right: 12px; bottom: 80px; padding: 20px; border-radius: 18px; }
  .cookie-consent__actions .btn { flex: 1 1 auto; }
  .footer-links { gap: 4px; }
  .crumbs { padding-top: 14px; }
}


/* --- site disclaimer ----------------------------------------------------- */
.site-disclaimer { background: #f4f5f7; border-top: 1px solid rgba(0,0,0,.08); padding: 20px 0 22px; font-size: 12px; line-height: 1.6; color: #555b66; }
.site-disclaimer p { margin: 0 0 6px; text-wrap: pretty; }
.site-disclaimer p:last-child { margin-bottom: 0; }
.site-disclaimer strong { color: #2b303a; }
.site-disclaimer a { color: inherit; text-decoration: underline; }
.site-disclaimer a:hover { color: #2b303a; }

.site-social { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.site-social__label { font-size: 12px; font-weight: 600; color: #2b303a; margin-right: 2px; }
.site-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--white, #fff); border: 1px solid rgba(0,0,0,.1); color: var(--navy, #0B1B33); text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.site-social a:hover { background: var(--navy, #0B1B33); border-color: var(--navy, #0B1B33); color: #fff; }
.site-trustpilot { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 9px 14px; border: 1px solid #1c4d3a; border-radius: 8px; width: auto; max-width: none; background: #fff; color: #191919; font-size: 15px; line-height: 1; text-decoration: none; }
.site-trustpilot > * { flex: none; white-space: nowrap; }
.site-trustpilot strong { font-weight: 700; letter-spacing: -.01em; }
.site-trustpilot:hover { background: #f2fbf7; color: #191919; }
.site-disclaimer .shell > .site-trustpilot { text-decoration: none; }
.site-follow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-bottom: 16px; }
.site-follow-row .site-trustpilot,
.site-follow-row .site-social { margin: 0; }
.site-disclaimer a.site-trustpilot, .site-disclaimer a.site-trustpilot:hover { text-decoration: none; }
