/* ==========================================================================
   Airport Taxis Redditch — global styles
   Breakpoints (match the original Elementor build):
     tablet  ≤ 1024px
     mobile  ≤ 767px
   ========================================================================== */

/* ---------- Font (self-hosted Montserrat, variable 100–900, latin subset) ---------- */
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}

/* ---------- Design tokens ---------- */
:root {
  --navy: #013E7D;          /* headings, footer */
  --blue: #004E9B;          /* hero title */
  --red: #C30101;           /* nav highlight, copyright bar */
  --red-btn: #B21819;       /* "Get a quote" button */
  --red-line: #C9302C;      /* service-pill borders */
  --yellow: #FCC300;        /* primary buttons, icons */
  --yellow-nav: #FBC302;    /* active/hover nav text */
  --yellow-hover: #F0AD4E;
  --text: #333333;
  --muted: #777777;
  --cream: #FBF5E4;         /* footer icon colour */
  --white: #fff;
  --bg-sky: #E8F3FF;        /* header / hero / alt sections */
  --bg-faq: #F5F5F5;
  --line: #D5D8DC;
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --boxed: 1140px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  letter-spacing: -0.1px;                 /* inherited from the original theme's global styles */
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font); font-weight: 600; line-height: 1; letter-spacing: -0.1px; color: var(--text); }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
img { display: inline-block; max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: inherit; text-decoration: none; background-color: transparent; }
b, strong { font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
svg.icon { display: inline-block; width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--navy); color: var(--white); padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
main { overflow-x: hidden; overflow-x: clip; }

/* ---------- Layout ---------- */
.section { position: relative; }
.boxed { width: 100%; max-width: var(--boxed); margin-left: auto; margin-right: auto; }
.bg-sky { background-color: var(--bg-sky); }
.bg-white { background-color: var(--white); }
.center { text-align: center; }
@media (max-width: 1024px) { .boxed { max-width: 1024px; } }
@media (max-width: 767px)  { .boxed { max-width: 767px; } .m-gutter { padding-left: 15.6px; padding-right: 15.6px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 40px;
  border: 0; border-radius: 10px;
  background-color: var(--yellow); color: var(--white);
  font-family: var(--font); font-size: 18px; line-height: 24px; font-weight: 700; text-transform: uppercase;
  cursor: pointer; text-align: center;
  transition: background-color .3s, color .3s;
}
.btn:hover, .btn:focus-visible { background-color: var(--yellow-hover); color: var(--white); }
.btn--red { background-color: var(--red-btn); }
.btn--red:hover, .btn--red:focus-visible { background-color: rgba(178, 24, 25, .85); }

/* ---------- Header ---------- */
.site-header { background-color: var(--bg-sky); position: relative; z-index: 50; }
.site-header__inner { display: flex; align-items: stretch; max-width: var(--boxed); margin: 0 auto; min-height: 80px; }
.site-header__brand { width: 30%; display: flex; align-items: center; gap: 20px; }
.site-header__flag { display: block; width: 50px; height: 50px; }
.site-header__logo-text { display: none; }
.site-header__logo-text a { font-size: 20px; line-height: 20px; font-weight: 400; text-transform: uppercase; color: var(--navy); }
.site-header__logo-text span { font-weight: 800; color: var(--red); }
.site-header__nav { width: 70%; display: flex; align-items: stretch; justify-content: flex-end; }

.nav { display: flex; }
.nav__list { display: flex; list-style: none; }
.nav__list li { display: flex; }
.nav__link {
  position: relative; display: flex; align-items: center;
  padding: 30px 36.4px;
  font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text);
  transition: color .3s;
}
.nav__link::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-color: var(--red); opacity: 0; transition: opacity .3s;
}
.nav__list li { position: relative; z-index: 0; }
.nav__link:hover, .nav__link:focus-visible, .nav__link[aria-current="page"] { color: var(--yellow-nav); }
.nav__link:hover::before, .nav__link:focus-visible::before, .nav__link[aria-current="page"]::before { opacity: 1; }

.nav-toggle {
  display: none; margin-left: auto; align-self: center;
  padding: 5.5px; border: 0; background: none; cursor: pointer;
  color: var(--red); font-size: 22px; line-height: 1;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: inline-block; }

@media (max-width: 1024px) {
  .site-header { padding-bottom: 10px; }
  .site-header__inner { min-height: 50px; }
  .site-header__brand { justify-content: center; align-items: flex-start; }
  .site-header__nav { align-items: center; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background-color: var(--white);
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .06);
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .nav__list { display: block; width: 100%; }
  .nav__list li { display: block; }
  .nav__link { padding: 10px 20px; font-size: 14px; font-weight: 500; color: #33373D; }
  .nav__link::before { display: none; }
  .nav__link:hover, .nav__link:focus-visible, .nav__link[aria-current="page"] { color: var(--white); background-color: var(--red); }
}
@media (max-width: 767px) {
  .site-header { padding: 4% 4% 8%; }
  .site-header__inner { min-height: 0; height: 29.2px; align-items: center; }   /* live: 76px total, toggle overflows padding */
  .site-header__brand { width: 50%; flex-direction: column; justify-content: center; }
  .site-header__flag { display: none; }
  .site-header__logo-text { display: block; }
  .site-header__nav { width: 50%; }
}

/* ---------- FAQ accordion (home + transfer pages) ---------- */
.accordion { border: 1px solid var(--line); border-bottom: 0; text-align: left; }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__btn {
  display: block; width: 100%; margin: 0; padding: 15px 20px; border: 0;
  background-color: var(--bg-faq); text-align: left; cursor: pointer;
  font-family: var(--font); font-size: 18px; line-height: 18px; font-weight: 500; color: var(--text);
}
.accordion__btn:hover { color: var(--navy); }
.accordion__panel { overflow: hidden; transition: height .3s ease; }
.accordion__body {
  padding: 15px 20px; border-top: 1px solid var(--line);
  font-size: 16px; line-height: 20px; color: var(--text);
}

/* ---------- Footer ---------- */
.site-footer { background-color: var(--navy); color: var(--white); }
.site-footer__inner { display: flex; max-width: var(--boxed); margin: 0 auto; padding: 72px 0; }
.site-footer__col { width: 25%; padding: 10px; display: flex; flex-direction: column; gap: 20px; }
.site-footer__title { font-size: 18px; line-height: 18px; font-weight: 400; color: var(--white); }
.site-footer__title--upper { text-transform: uppercase; }
.site-footer__text { font-size: 14px; line-height: 19.6px; color: var(--white); }
.site-footer__text p { margin: 14px 0; }
.site-footer__text a { color: var(--white); }
.site-footer__text a:hover { text-decoration: underline; }
.contact-list { list-style: none; font-size: 14px; line-height: 19.6px; }
.contact-list a { display: flex; align-items: center; color: var(--white); }
.contact-list a:hover span { text-decoration: underline; }
.contact-list svg { width: 17.5px; height: 14px; color: var(--cream); }
.contact-list span { padding-left: 5px; }
.social { display: flex; gap: 3px; }
.social__icon { display: inline-flex; align-items: center; justify-content: center; width: 30.8px; height: 30.8px; border-radius: 50%; color: var(--white); }
.social__icon svg { width: 22px; height: 22px; }
.site-footer__bar { background-color: var(--red); color: var(--white); text-align: center; padding: 14px 14.4px; font-size: 14px; line-height: 19.6px; }
.site-footer__bar a { color: var(--white); }
@media (max-width: 1024px) {
  .site-footer__inner { padding: 52px 0 50px; }
  .site-footer__bar { padding: 10px; }
}
@media (max-width: 767px) {
  .site-footer__inner { flex-direction: column; padding: 29px 15.6px 28px; }
  .site-footer__col { width: 100%; padding: 0; margin: 14.3px 0; }
  .site-footer__col:first-child { margin-top: 0; }
  .site-footer__text { font-size: 16px; line-height: 22.4px; }
  .site-footer__text p { margin: 16px 0; }
  .site-footer__text a { font-size: 14px; line-height: 19.6px; }
  .contact-list { font-size: 16px; line-height: 22px; }
  .contact-list svg { width: 22.5px; height: 18px; }
  .site-footer__bar { padding: 29px 15.6px; font-size: 16px; line-height: 22.4px; }
  .site-footer__bar a { font-size: 14px; }
}

/* ---------- 404 page ---------- */
.page-404 .not-found { background-color: var(--bg-sky); padding: 120px 16px; text-align: center; }
.page-404 .not-found__title { font-size: 36px; line-height: 36px; font-weight: 600; text-transform: uppercase; color: var(--blue); margin-bottom: 20px; }
.page-404 .not-found__text { font-size: 18px; line-height: 27px; color: var(--muted); margin: 0 auto 30px; max-width: 600px; }
.page-404 .not-found__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; list-style: none; margin-top: 30px; font-size: 14px; }
.page-404 .not-found__links a { color: var(--navy); text-decoration: underline; }
