/*
Theme Name: Select Haulage
Theme URI: https://selecthaulage.com.au/
Author: AM2 Pty Ltd
Description: Custom theme for Select Haulage — heavy transport specialists, Brisbane to outback Queensland and the Northern Territory. Built from the approved design; no page builder, no paid plugin dependencies.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: select-haulage
Tags: business, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   Select Haulage — site styles
   Built to the approved design: dark navy + metallic blue, condensed display type.
   ========================================================================== */

/* --- Design tokens -------------------------------------------------------- */
:root {
  --ink:            #0b1016;   /* near-black, header + hero base */
  --ink-2:          #111923;   /* raised dark surface */
  --navy:           #0f2d55;   /* deep navy band */
  --navy-2:         #16467f;   /* navy gradient top */
  --navy-text:      #123055;   /* headings on light */
  --blue:           #1e6fc0;   /* primary action blue */
  --blue-bright:    #3d94e8;   /* bright accent text */
  --blue-deep:      #0d2a52;
  --steel:          #9aa6b2;
  --paper:          #ffffff;
  --paper-2:        #eef1f4;   /* light section background */
  --line:           #d8dfe6;
  --body:           #414d59;
  --body-dim:       #6b7885;
  --on-dark:        #e8eef5;
  --on-dark-dim:    #a9b7c6;

  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(11, 16, 22, .08), 0 1px 2px rgba(11, 16, 22, .06);
  --shadow-md: 0 6px 24px rgba(11, 16, 22, .10), 0 2px 6px rgba(11, 16, 22, .06);
  --shadow-lg: 0 18px 50px rgba(11, 16, 22, .18);
  --header-h: 84px;
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  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 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: .01em;
  color: var(--navy-text);
  margin: 0 0 .5em;
}
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.15em; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--blue); color: #fff; padding: 12px 20px; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* --- Layout helpers ------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--light { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.section-head p { color: var(--body-dim); font-size: 18px; margin: 0; }
.rule {
  width: 68px; height: 3px; margin: 14px auto 22px;
  background: var(--blue); border: 0; border-radius: 2px;
}
.section-head--left { text-align: left; margin-left: 0; }
.section-head--left .rule { margin-inline: 0; }

/* --- Metallic stripe motif (from the logo/design) ------------------------- */
.stripes {
  position: absolute;
  pointer-events: none;
  background: repeating-linear-gradient(
    115deg,
    rgba(198, 214, 232, .00) 0px,  rgba(198, 214, 232, .00) 14px,
    rgba(198, 214, 232, .55) 14px, rgba(198, 214, 232, .55) 26px,
    rgba(120, 150, 185, .18) 26px, rgba(120, 150, 185, .18) 32px,
    rgba(198, 214, 232, .00) 32px, rgba(198, 214, 232, .00) 50px
  );
  opacity: .55;
}
.stripes--tr { top: 0; right: 0; width: 340px; height: 92px; }
.stripes--br { bottom: 0; right: 0; width: 420px; height: 96px; opacity: .45; }
@media (max-width: 900px) { .stripes { display: none; } }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 16px; letter-spacing: .06em; text-transform: uppercase;
  padding: 15px 28px; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: #1a5ea3; color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--lg { font-size: 18px; padding: 18px 34px; }
.btn--block { width: 100%; justify-content: center; }

/* --- Top utility bar ------------------------------------------------------ */
.topbar {
  background: var(--blue-deep); color: var(--on-dark-dim);
  font-size: 14.5px; letter-spacing: .01em;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar a { color: var(--on-dark-dim); }
.topbar a:hover { color: #fff; }
.topbar__group { display: flex; align-items: center; gap: 24px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__item svg { width: 15px; height: 15px; opacity: .8; flex: none; }
@media (max-width: 860px) { .topbar__hide-sm { display: none; } }
@media (max-width: 560px) { .topbar .wrap { justify-content: center; } .topbar__group--right { display: none; } }

/* --- Header / nav --------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(180deg, #0d131b 0%, #0a0f15 100%);
  border-bottom: 2px solid var(--blue);
}
.header__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 54px; width: auto; }
.logo:hover { text-decoration: none; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-display); font-weight: 400;
  text-transform: uppercase; letter-spacing: .08em; font-size: 15.5px;
  color: var(--on-dark); padding: 10px 16px; border-bottom: 3px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}
.nav a:hover { color: #fff; text-decoration: none; border-bottom-color: rgba(61, 148, 232, .5); }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--blue-bright); }
.nav .btn { margin-left: 12px; padding: 11px 22px; font-size: 15px; border-bottom: 0; }
.nav .btn:hover { border-bottom: 0; }

.nav-toggle {
  display: none; background: transparent; border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius); padding: 10px 12px; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  /* .header__inner is also the .wrap, so 0/0 spans the full width here. */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #0a0f15; border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 8px 24px 20px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav a[aria-current="page"] { border-bottom-color: var(--blue-bright); }
  .nav .btn { margin: 16px 0 0; justify-content: center; }
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink) center right / cover no-repeat;
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 12, 18, .96) 0%, rgba(8, 12, 18, .88) 34%, rgba(8, 12, 18, .35) 66%, rgba(8, 12, 18, .25) 100%),
    linear-gradient(180deg, rgba(8, 12, 18, .5) 0%, rgba(8, 12, 18, 0) 30%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero__inner { max-width: 640px; padding: 96px 0 104px; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 68px);
  text-transform: uppercase; letter-spacing: .005em;
  margin-bottom: 14px; color: #fff;
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero h1 .metal {
    background: linear-gradient(180deg, #ffffff 0%, #e3eaf2 30%, #93a1b0 52%, #cfd9e4 72%, #ffffff 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
}
.hero__sub {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(20px, 2.6vw, 30px); line-height: 1.2;
  text-transform: uppercase; color: var(--blue-bright);
  margin: 0 0 20px; letter-spacing: .01em;
}
.hero__lede { font-size: 18.5px; color: #d5dfe9; max-width: 470px; margin-bottom: 30px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 26px 34px; margin: 0 0 34px; padding: 0; list-style: none; }
.hero__points li { display: flex; align-items: flex-start; gap: 12px; max-width: 200px; font-size: 15.5px; line-height: 1.4; color: #dbe4ee; }
.hero__points svg { width: 26px; height: 26px; flex: none; color: var(--blue-bright); margin-top: 1px; }
@media (max-width: 720px) {
  .hero { background-position: 62% center; }
  .hero__inner { padding: 64px 0 72px; }
  .hero__points { gap: 18px 24px; }
  .hero__points li { max-width: 100%; flex: 1 1 240px; }
}

/* --- Page banner (inner pages) -------------------------------------------- */
.banner {
  position: relative; overflow: hidden;
  background: var(--ink) center / cover no-repeat; color: #fff;
}
.banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 12, 18, .94) 0%, rgba(8, 12, 18, .78) 45%, rgba(8, 12, 18, .45) 100%);
}
.banner .wrap { position: relative; z-index: 2; padding-block: 68px; }
.banner h1 {
  color: #fff; font-size: clamp(32px, 5vw, 50px);
  text-transform: uppercase; margin-bottom: 10px;
}
.banner p { color: #cfdae6; font-size: 18.5px; max-width: 620px; margin: 0; }
.crumbs { font-size: 14px; color: var(--on-dark-dim); margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; font-family: var(--font-display); }
.crumbs a { color: var(--on-dark-dim); }
.crumbs a:hover { color: #fff; }

/* --- Card grids ----------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #c3cedb; }
.card__media { position: relative; aspect-ratio: 45 / 31; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.045); }
.card__body { padding: 24px 22px 26px; text-align: center; flex: 1; display: flex; flex-direction: column; }
.card__icon { color: var(--blue); margin: 0 auto 12px; }
.card__icon svg { width: 34px; height: 34px; }
.card__body h3 {
  font-size: 18px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--navy-text); margin-bottom: 10px;
}
.card__body p { font-size: 15.5px; color: var(--body-dim); margin: 0; }
.card__link {
  margin-top: 16px; font-family: var(--font-display); text-transform: uppercase;
  font-size: 14px; letter-spacing: .07em; color: var(--blue);
  display: inline-flex; align-items: center; gap: 7px; justify-content: center;
}
.card__link svg { width: 13px; height: 13px; }

/* --- Runs band ------------------------------------------------------------ */
.runs {
  background: linear-gradient(180deg, var(--navy-2) 0%, var(--blue-deep) 100%);
  color: #fff; padding: 44px 0;
}
.runs__inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.runs__pin { flex: none; color: #fff; opacity: .9; }
.runs__pin svg { width: 74px; height: 74px; }
.runs__text { flex: 1 1 460px; }
.runs__text h2 {
  color: var(--blue-bright); font-size: 26px; text-transform: uppercase;
  letter-spacing: .04em; margin-bottom: 8px;
}
.runs__list { margin: 0; font-size: 16.5px; color: #d7e3f1; line-height: 1.9; }
.runs__list span { white-space: nowrap; }
.runs__list span::after { content: " • "; color: var(--blue-bright); opacity: .7; }
.runs__list span:last-child::after { content: ""; }
.runs__cta { flex: none; margin-left: auto; }
@media (max-width: 860px) { .runs__cta { margin-left: 0; } .runs__pin svg { width: 56px; height: 56px; } }

/* --- Feature / why-us list ------------------------------------------------ */
.features { display: grid; gap: 30px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__icon {
  flex: none; width: 52px; height: 52px; border-radius: var(--radius);
  background: rgba(30, 111, 192, .1); color: var(--blue);
  display: grid; place-items: center;
}
.section--dark .feature__icon { background: rgba(61, 148, 232, .15); color: var(--blue-bright); }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 17.5px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.feature p { font-size: 15.5px; color: var(--body-dim); margin: 0; }
.section--dark .feature p { color: var(--on-dark-dim); }

/* --- Split content block -------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
}
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.split h2 { font-size: clamp(28px, 3.4vw, 38px); text-transform: uppercase; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; font-size: 16.5px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 9px;
  border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue);
  transform: rotate(-45deg);
}

/* --- Stats ---------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat__num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(34px, 4.6vw, 48px); color: var(--blue-bright); line-height: 1;
}
.stat__label { font-size: 15px; color: var(--on-dark-dim); text-transform: uppercase; letter-spacing: .06em; margin-top: 8px; }

/* --- Fleet cards ---------------------------------------------------------- */
.fleet-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fleet-card__media { aspect-ratio: 25 / 17; overflow: hidden; background: var(--paper-2); }
.fleet-card__media img { width: 100%; height: 100%; object-fit: cover; }
.fleet-card__body { padding: 24px 24px 26px; }
.fleet-card__body h3 { font-size: 20px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.fleet-card__body p { font-size: 15.5px; color: var(--body-dim); margin-bottom: 14px; }
.specs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.specs li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt, .specs .k { color: var(--body-dim); }
.specs .v { font-weight: 600; color: var(--navy-text); text-align: right; }

/* --- Gallery -------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery__item {
  position: relative; display: block; aspect-ratio: 10 / 7; overflow: hidden;
  border-radius: var(--radius); background: var(--paper-2); border: 0; padding: 0; cursor: pointer;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.06); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0) 55%, rgba(8, 12, 18, .75) 100%);
  opacity: 0; transition: opacity .25s ease;
}
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }
.gallery__cap {
  position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2;
  color: #fff; font-size: 13.5px; text-align: left; line-height: 1.35;
  opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease;
}
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(6, 9, 13, .94); padding: 24px;
  align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1200px, 94vw); max-height: 82vh; object-fit: contain; border-radius: var(--radius); }
.lightbox__cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: #cfdae6; font-size: 15px; padding-inline: 24px; }
.lightbox__btn {
  position: absolute; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25);
  color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; transition: background-color .18s ease;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 620px) { .lightbox__prev { left: 8px; } .lightbox__next { right: 8px; } }

/* --- CTA band ------------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden; color: #fff;
  background: var(--ink) center 40% / cover no-repeat;
}
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 12, 18, .93) 0%, rgba(8, 12, 18, .72) 60%, rgba(8, 12, 18, .55) 100%); }
.cta .wrap { position: relative; z-index: 2; padding-block: 74px; }
.cta h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); text-transform: uppercase; max-width: 680px; }
.cta p { color: #cfdae6; font-size: 18.5px; max-width: 560px; margin-bottom: 28px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* --- Forms ---------------------------------------------------------------- */
.form-shell {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 36px;
}
@media (max-width: 620px) { .form-shell { padding: 24px 18px; } }

fieldset { border: 0; padding: 0; margin: 0 0 34px; }
fieldset:last-of-type { margin-bottom: 24px; }
legend {
  font-family: var(--font-display); font-weight: 600; font-size: 19px;
  text-transform: uppercase; letter-spacing: .05em; color: var(--navy-text);
  padding: 0 0 14px; margin-bottom: 20px; width: 100%;
  border-bottom: 2px solid var(--blue);
}
.legend-note { display: block; font-family: var(--font-body); font-weight: 400; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--body-dim); margin-top: 6px; }

.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 22px; margin-bottom: 18px; }
.field-row--3 { grid-template-columns: repeat(3, 1fr); }
.field-row--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .field-row, .field-row--3, .field-row--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .field-row, .field-row--3, .field-row--4 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field-row .field { margin-bottom: 0; }
.field--full { grid-column: 1 / -1; }

label, .label {
  font-weight: 600; font-size: 15.5px; color: var(--navy-text);
  margin-bottom: 7px; display: block;
}
.req { color: #c0392b; }
.hint { font-weight: 400; font-size: 14px; color: var(--body-dim); margin-top: 5px; }

input[type="text"], input[type="tel"], input[type="email"], input[type="date"],
input[type="number"], input[type="url"], select, textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--navy-text);
  background: #f5f7f9; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7885' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
input:focus, select:focus, textarea:focus {
  outline: 0; background: #fff; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 111, 192, .16);
}
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: #c0392b; background: #fdf4f3;
}
.error-msg { color: #c0392b; font-size: 14px; margin-top: 5px; font-weight: 600; display: none; }
.error-msg.is-shown { display: block; }

.radio-row { display: flex; flex-wrap: wrap; gap: 12px; }
.radio {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 11px 18px; background: #f5f7f9; font-weight: 500; font-size: 15.5px;
  color: var(--navy-text); margin: 0; transition: border-color .16s ease, background-color .16s ease;
}
.radio:hover { border-color: #b9c5d2; }
.radio input { accent-color: var(--blue); width: 17px; height: 17px; margin: 0; }
.radio:has(input:checked) { border-color: var(--blue); background: rgba(30, 111, 192, .07); }

.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 18px; }
@media (max-width: 760px) { .check-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .check-grid { grid-template-columns: 1fr; } }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 15.5px; cursor: pointer; margin: 0; color: var(--body); }
.check input { accent-color: var(--blue); width: 17px; height: 17px; margin-top: 3px; flex: none; }

.form-status { border-radius: var(--radius); padding: 16px 18px; margin-bottom: 22px; font-size: 16px; display: none; }
.form-status.is-shown { display: block; }
.form-status--ok { background: #eaf6ee; border: 1px solid #b8dfc6; color: #1e6b39; }
.form-status--err { background: #fdf1f0; border: 1px solid #f0c4c0; color: #a33127; }
.form-status--info { background: #eef4fb; border: 1px solid #c3d8ef; color: #1a4f8a; }
.form-status a { color: inherit; text-decoration: underline; font-weight: 600; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --- Contact page --------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 0 0 28px; padding: 0; }
.contact-list li { display: flex; gap: 15px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 0; }
.contact-list__icon { flex: none; width: 42px; height: 42px; border-radius: var(--radius); background: rgba(30, 111, 192, .1); color: var(--blue); display: grid; place-items: center; }
.contact-list__icon svg { width: 21px; height: 21px; }
.contact-list__label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: 13.5px; color: var(--body-dim); }
.contact-list__value { font-size: 17.5px; font-weight: 600; color: var(--navy-text); }
.contact-list__value a { color: var(--navy-text); }
.contact-list__value a:hover { color: var(--blue); }

.map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; line-height: 0; }
.map iframe { width: 100%; height: 340px; border: 0; }

/* --- Quote page layout ---------------------------------------------------- */
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 980px) { .quote-grid { grid-template-columns: 1fr; } }

.quote-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
@media (max-width: 980px) { .quote-aside { position: static; } }

.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.panel h3 { font-size: 19px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.panel p { font-size: 15.5px; color: var(--body-dim); }
.panel p:last-child { margin-bottom: 0; }
.panel--dark { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.panel--dark h3 { color: #fff; }
.panel--dark p { color: var(--on-dark-dim); }

.steps { margin: 0; padding-left: 1.2em; font-size: 15.5px; color: var(--body-dim); }
.steps li { margin-bottom: 9px; padding-left: 4px; }
.steps li::marker { color: var(--blue); font-weight: 700; }

.ticks--light li { color: var(--on-dark); font-size: 15.5px; }
.ticks--light li::before { border-color: var(--blue-bright); }

/* --- Accordion (FAQ) ------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--font-display); font-size: 19px; color: var(--navy-text);
  letter-spacing: .01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 27px; width: 11px; height: 11px;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq details > div { padding: 0 0 22px; color: var(--body-dim); }
.faq details > div p:last-child { margin-bottom: 0; }

/* --- Footer --------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--on-dark-dim); padding: 62px 0 0; font-size: 15.5px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 {
  color: #fff; font-size: 16px; text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--blue);
  display: inline-block;
}
.footer a { color: var(--on-dark-dim); }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer__logo img { height: 52px; margin-bottom: 18px; }
.footer__bottom {
  margin-top: 52px; border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 14.5px; color: #7d8b99;
}

/* --- Reveal on scroll ----------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --- Print ---------------------------------------------------------------- */
@media print {
  .header, .topbar, .footer, .cta, .nav-toggle, .lightbox { display: none !important; }
  body { font-size: 12pt; color: #000; }
}

/* ==========================================================================
   WordPress-specific styling — editor content, core blocks, admin bar.
   ========================================================================== */

.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { font-size: clamp(26px, 3.2vw, 36px); text-transform: uppercase; margin-top: 1.4em; }
.entry-content h3 { font-size: 21px; text-transform: uppercase; letter-spacing: .03em; margin-top: 1.4em; }
.entry-content h4 { font-size: 18px; margin-top: 1.3em; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content img { border-radius: var(--radius); }
.entry-content figure { margin: 1.8em 0; }
.entry-content figcaption { font-size: 14.5px; color: var(--body-dim); text-align: center; margin-top: 10px; }
.entry-content blockquote {
  margin: 1.8em 0; padding: 4px 0 4px 24px;
  border-left: 4px solid var(--blue); font-size: 19px; color: var(--navy-text);
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15.5px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--paper-2); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content .wp-block-buttons { margin: 1.6em 0; }
.entry-content .wp-block-button__link {
  background: var(--blue); color: #fff; border-radius: var(--radius);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em;
  padding: 15px 28px;
}
.entry-content .alignwide { width: 100%; }
.entry-content .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.entry-content .aligncenter { margin-inline: auto; }

/* Lists written in the editor render as the blue tick lists from the design. */
.ticks-content ul { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks-content ul li { position: relative; padding-left: 30px; margin-bottom: 10px; font-size: 16.5px; }
.ticks-content ul li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 9px;
  border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue);
  transform: rotate(-45deg);
}

/* The fleet card body already has its own spacing. */
.fleet-card__body .entry-content p { font-size: 15.5px; color: var(--body-dim); margin-bottom: 14px; }
.fleet-card__body .entry-content > *:last-child { margin-bottom: 14px; }

/* Pagination on the blog roll. */
.pagination .page-numbers {
  display: inline-block; padding: 9px 15px; margin: 0 3px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-display); color: var(--navy-text); text-decoration: none;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Keep the sticky header clear of the WordPress admin bar. */
.admin-bar .header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .header { top: 46px; } }
