/* ============================================================
   Bluespan AutoOPS — site styles
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --navy-900: #08213a;
  --navy-800: #0a2540;
  --navy-700: #0f335a;
  --navy-600: #164476;
  --blue-600: #1877c0;
  --blue-500: #1c8fd6;
  --blue-400: #35a8e2;
  --blue-100: #e9f4fc;
  --gold: #c8912e;
  --gold-soft: #d9a94b;

  --ink: #16273a;
  --slate: #52657a;
  --slate-light: #7c8da3;
  --line: #e0e7ef;
  --paper: #ffffff;
  --mist: #f3f7fb;
  --mist-2: #eef3f8;

  --maxw: 1160px;
  --header-h: 100px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.75rem, 8vw, 6.75rem);
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, .06), 0 4px 14px rgba(10, 37, 64, .05);
  --shadow-md: 0 10px 34px rgba(10, 37, 64, .12);

  --font-head: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@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: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; color: var(--navy-800); margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
p { margin: 0 0 1.1rem; }
ul, ol { margin: 0 0 1.1rem; padding-left: 1.2rem; }
li { margin: .3rem 0; }
strong { font-weight: 600; color: var(--navy-800); }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
/* Narrow reading column: keeps the same left edge as full-width sections,
   just caps the width of the text/content blocks inside it. */
.wrap--narrow > * { max-width: 760px; }
.wrap--narrow.center > * { margin-inline: auto; }
.section.center .wrap--narrow > * { margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy-800); color: #d7e3ef; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy-800); color: #fff; padding: .6rem 1rem; border-radius: 8px;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Kicker / headings ---------- */
.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .82rem;
  color: var(--gold);
  margin-bottom: .9rem;
}
.section--navy .kicker { color: var(--gold-soft); }
.section-head { max-width: 780px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--slate); font-size: 1.12rem; margin-bottom: 0; }
.section--navy .section-head p { color: #b9c9d8; }
.rule { width: 64px; height: 4px; background: var(--gold); border: 0; margin: 0 0 1.4rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue-500);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .07em; font-size: .92rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  text-decoration: none; border: 2px solid var(--btn-bg);
  cursor: pointer; transition: transform .12s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 18px rgba(28, 143, 214, .28);
}
.btn:hover { background: var(--blue-400); border-color: var(--blue-400); color: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: transparent; color: var(--navy-800); border-color: var(--line);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.btn--on-navy { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); box-shadow: none; }
.btn--on-navy:hover { background: #fff; border-color: #fff; color: var(--navy-800); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h); padding-block: .55rem;
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: clamp(196px, 23vw, 260px); }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.nav a {
  font-family: var(--font-head); font-weight: 500;
  text-transform: uppercase; letter-spacing: .1em; font-size: .86rem;
  color: #cdd9e5; text-decoration: none; padding: .4rem 0;
  border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-color: var(--gold); }
.nav .btn { color: #fff; }
.nav .btn:hover { color: #fff; }
.nav-toggle {
  display: none; background: transparent; border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px; padding: .5rem; cursor: pointer; color: #fff;
}
.nav-toggle svg { display: block; width: 24px; height: 24px; }

@media (max-width: 900px) {
  :root { --header-h: 84px; }
  .brand img { width: clamp(176px, 44vw, 210px); }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); padding: .5rem var(--gutter) 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
    transform: translateY(-120%); transition: transform .28s ease;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav[data-open="true"] { transform: translateY(0); }
  .nav a { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.08); letter-spacing: .08em; font-size: .95rem; }
  .nav a:hover, .nav a[aria-current="page"] { border-color: rgba(255,255,255,.08); color: var(--gold-soft); }
  .nav .btn { margin-top: 1rem; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 85% 0%, var(--navy-700) 0%, var(--navy-900) 60%);
  color: #dce7f1;
  padding-block: clamp(3.5rem, 9vw, 7rem);
}
.hero__gauge {
  position: absolute; right: -12%; top: 50%; transform: translateY(-50%);
  width: min(680px, 58vw); aspect-ratio: 1; opacity: .45; pointer-events: none;
  color: var(--blue-500);
}
.hero__gauge svg { width: 100%; height: 100%; }
@media (max-width: 700px) {
  .hero__gauge {
    top: auto; bottom: -70px; right: -34%; transform: none;
    width: 360px; opacity: .16;
  }
}
.hero__inner { position: relative; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: .35em; font-size: clamp(2.15rem, 5.6vw, 4.1rem); text-wrap: balance; }
.hero__lead { font-size: clamp(1.1rem, 1.9vw, 1.35rem); color: #bcccdb; max-width: 60ch; margin-bottom: 1.8rem; }
.hero .btn-row { margin-bottom: 2.5rem; }
.hero__tags {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .18em; font-size: .82rem; color: #8fa6bc;
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.3rem;
}
.hero__tags span { display: inline-flex; align-items: center; gap: 1.4rem; }
.hero__tags span::before { content: "•"; color: var(--blue-400); }
.hero__tags span:first-child::before { display: none; }

/* ---------- Trust strip ---------- */
.strip {
  background: var(--navy-900); color: #9fb4c7;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 1.4rem;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
}
.strip__inner { display: flex; flex-wrap: wrap; gap: .8rem 2.5rem; justify-content: center; text-align: center; }

/* ---------- Prose ---------- */
.prose p { color: var(--ink); }
.prose p.lead, .lead { font-size: 1.2rem; color: var(--navy-700); font-weight: 500; }
.prose > :first-child { margin-top: 0; }

/* ---------- Pull quote ---------- */
.pullquote {
  border-left: 5px solid var(--gold);
  padding: .3rem 0 .3rem 1.4rem;
  margin: 2rem 0;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.18;
  color: var(--navy-800);
}
.section--navy .pullquote { color: #fff; }

/* ---------- Card grid ---------- */
.grid { display: grid; gap: 1.25rem; }
.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: 880px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cddcea; }
.card__icon {
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--blue-100); color: var(--blue-600);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .35rem; font-size: 1.28rem; }
.card p { color: var(--slate); font-size: .98rem; margin-bottom: 0; }
.card a.card__more {
  display: inline-block; margin-top: .9rem;
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: .82rem; text-decoration: none; color: var(--blue-600);
}
.card a.card__more::after { content: " →"; }

/* ---------- Split panels (we run / you keep) ---------- */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 820px) { .panels { grid-template-columns: 1fr; } }
.panel { border-radius: var(--radius-lg); padding: 1.8rem; }
.panel--we { background: var(--navy-800); color: #d7e3ef; }
.panel--you { background: var(--mist-2); color: var(--ink); border: 1px solid var(--line); }
.panel h3 { margin-bottom: 1rem; }
.panel--we h3 { color: #fff; }
.panel ul { list-style: none; padding: 0; margin: 0; }
.panel li { position: relative; padding-left: 1.7rem; margin: .55rem 0; font-size: .99rem; }
.panel li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 8px; height: 8px; border-radius: 50%;
}
.panel--we li::before { background: var(--blue-400); }
.panel--you li::before { background: var(--gold); }
.panel li.is-strong { font-weight: 600; color: var(--navy-800); }
.panel--we li.is-strong { color: #fff; }

/* ---------- Highlight band ---------- */
.note {
  border-left: 5px solid var(--blue-500);
  background: var(--blue-100);
  padding: 1.4rem 1.6rem; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.note p { margin: 0; color: var(--navy-700); }
.note strong { color: var(--navy-800); }
.section--navy .note { background: rgba(255,255,255,.06); border-color: var(--blue-400); }
.section--navy .note p { color: #d7e3ef; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.5rem; max-width: 840px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.step__num {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  background: var(--gold); color: #fff;
  width: 2.1rem; height: 2.1rem; border-radius: 8px;
  display: grid; place-items: center; flex-shrink: 0;
}
.step h3 { margin-bottom: .25rem; }
.step p { color: var(--slate); margin-bottom: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 620px) { .stats { grid-template-columns: 1fr; } }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.stat__k { font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; color: var(--navy-800); line-height: 1; }
.stat__l { color: var(--slate); font-size: .96rem; margin-top: .4rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.16rem; color: var(--navy-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--blue-500); font-family: var(--font-body); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 1.3rem; color: var(--slate); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta {
  background: radial-gradient(110% 160% at 15% 0%, var(--navy-700), var(--navy-900));
  color: #cddbe8; text-align: center;
}
.cta h2 { color: #fff; max-width: 24ch; margin-inline: auto; text-wrap: balance; }
.cta p { max-width: 52ch; margin-inline: auto; color: #b3c4d4; }
.cta .btn-row { justify-content: center; margin-top: 1.8rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-list li:first-child { padding-top: 0; }
.contact-list svg { width: 22px; height: 22px; color: var(--blue-600); flex-shrink: 0; margin-top: .2rem; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--blue-600); }
.contact-list span.label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--slate-light); font-family: var(--font-head); font-weight: 600; }

form.enquiry { display: grid; gap: 1rem; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.7rem; }
form.enquiry label { font-family: var(--font-head); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--navy-700); display: block; margin-bottom: .35rem; }
form.enquiry input, form.enquiry textarea, form.enquiry select {
  width: 100%; font: inherit; padding: .7rem .85rem;
  border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink);
}
form.enquiry input:focus, form.enquiry textarea:focus, form.enquiry select:focus { outline: 2px solid var(--blue-400); border-color: var(--blue-400); }
form.enquiry textarea { min-height: 130px; resize: vertical; }
form.enquiry .form-note { font-size: .85rem; color: var(--slate); }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--navy-800); color: #cdd9e5; padding-block: clamp(3rem, 7vw, 5rem); position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { max-width: 60ch; color: #b3c4d4; font-size: 1.12rem; margin-bottom: 0; }
.page-hero__gauge { position: absolute; right: -8%; top: -30%; width: min(460px, 50vw); opacity: .35; color: var(--blue-500); pointer-events: none; }

.breadcrumbs { font-size: .84rem; color: #93a7ba; margin-bottom: 1rem; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; }
.breadcrumbs a { color: #93a7ba; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

/* ---------- Detailed service blocks ---------- */
.svc { padding: 2rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 260px 1fr; gap: 2rem; }
@media (max-width: 820px) { .svc { grid-template-columns: 1fr; gap: .8rem; } }
.svc:first-of-type { border-top: 0; }
.svc__head h3 { margin-bottom: .4rem; }
.svc__head .tag { font-family: var(--font-head); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-600); background: var(--blue-100); padding: .25rem .6rem; border-radius: 6px; display: inline-block; }
.svc ul { margin: 0; padding-left: 1.15rem; }
.svc li { color: var(--slate); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9db1c4; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; margin-bottom: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img.footer-logo { width: 190px; margin-bottom: 1rem; }
.site-footer h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .45rem 0; }
.site-footer a { color: #9db1c4; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; font-size: .82rem; color: #7e94a8; line-height: 1.6; }
.footer-legal p { margin: .4rem 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; margin-top: 1rem; color: #7e94a8; font-size: .82rem; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.measure { max-width: 66ch; }
.hidden { display: none !important; }
