/* ==========================================================================
   Regency Security Ltd — site styles
   Generated pages live in the repo root; edit sources in /_build and rebuild.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0e1a2b;
  --ink-2: #1c2b40;
  --ink-3: #2a3b55;
  --text: #1c2b40;
  --muted: #56667b;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --line: #e3e8ef;
  --accent: #f5c518;
  --accent-hover: #e6b70f;
  --accent-ink: #0e1a2b;
  --ok: #1a8a50;
  --err: #c0392b;

  --ff-head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 26, 43, .06), 0 1px 3px rgba(14, 26, 43, .08);
  --shadow: 0 10px 30px -12px rgba(14, 26, 43, .22);
  --shadow-lg: 0 24px 60px -20px rgba(14, 26, 43, .35);

  --header-h: 72px;
  --gutter: 20px;
  --maxw: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 800;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 700; }
strong { font-weight: 650; color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
/* Yellow ring only where the background is dark (navy ring on light backgrounds keeps 3:1 contrast) */
.hero :focus-visible, .section--dark :focus-visible, .site-footer :focus-visible, .topbar :focus-visible { outline-color: var(--accent); }

.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: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: #c9d3e0; }
.section--dark h2, .section--dark h3, .section--dark h4, .section--dark strong { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.075rem; margin: 0; }
.section--dark .section-head p { color: #a9b6c7; }

.eyebrow {
  display: inline-flex; align-items: flex-start; gap: 8px;
  font-family: var(--ff-head); font-weight: 800; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; flex: none; width: 22px; height: 3px; margin-top: .7em; border-radius: 3px; background: var(--accent); }
.section--dark .eyebrow, .hero .eyebrow { color: var(--accent); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); line-height: 1.7; }
.muted { color: var(--muted); }
.text-center { text-align: center; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 641px) and (max-width: 960px) {
  /* 3 cards in 2 columns: let the odd one out span the row instead of leaving a gap */
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .grid-4 { grid-template-columns: 1fr; }
}

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split--top { align-items: start; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .split .media--tall { aspect-ratio: 16 / 10; }
  .split .media--tall img { object-position: 50% 55%; }
}

/* Content + sticky form (location / service pages) */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(28px, 4vw, 56px); align-items: start; }
/* The form is about 1,290px tall: only stick it when the whole form fits on screen */
@media (min-width: 1001px) and (min-height: 1380px) {
  .with-aside > aside { position: sticky; top: calc(var(--header-h) + 20px); }
}
@media (max-width: 1000px) {
  .with-aside { grid-template-columns: 1fr; }
}

.prose h2 { margin-top: 1.6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #344559; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: .55em; }
.prose ul li::before {
  content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg);
}
.prose a { color: var(--ink); font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.prose a:hover { text-decoration-color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--ff-head); font-weight: 800; font-size: 1rem; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -10px rgba(245, 197, 24, .9); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; padding-inline: 30px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) {
  .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- Top bar + header ---------- */
.topbar { background: var(--ink); color: #b8c4d4; font-size: .84rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__items { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__items span { display: inline-flex; align-items: center; gap: 7px; }
.topbar__items svg { width: 14px; height: 14px; color: var(--accent); }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { color: var(--accent); }
@media (max-width: 1020px) { .topbar { display: none; } }   /* same breakpoint as the mobile menu */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(14, 26, 43, .5); }
.site-header .container { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo svg { width: 36px; height: 36px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--ff-head); }
.logo__name { font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em; }
.logo__sub { font-weight: 700; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px; border-radius: 10px; border: 0; background: none; cursor: pointer;
  font-family: var(--ff-head); font-weight: 700; font-size: .95rem; color: var(--ink-2); text-decoration: none;
}
.nav__link:hover, .nav__toggle:hover, .nav__item:focus-within > .nav__toggle { background: var(--bg-alt); color: var(--ink); }
.nav__link[aria-current="page"], .nav__toggle.is-current { color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent); border-radius: 10px 10px 4px 4px; }
.nav__toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__item { position: relative; }
.nav__item.is-open > .nav__toggle svg { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 10px); right: -120px; width: min(760px, 92vw);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__item.is-open > .mega,
.nav__item:hover > .mega { opacity: 1; visibility: visible; transform: none; }
.mega--services { width: min(560px, 92vw); grid-template-columns: 1fr; right: -60px; }
.mega__title { font-family: var(--ff-head); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega a { display: block; padding: 7px 10px; margin-inline: -10px; border-radius: 8px; text-decoration: none; font-weight: 550; font-size: .94rem; color: var(--ink-2); }
.mega a:hover { background: var(--bg-alt); color: var(--ink); }
.mega a small { display: block; color: var(--muted); font-weight: 450; font-size: .82rem; }
.mega__all { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 14px; }
.mega__all a { display: inline-flex; font-weight: 700; }

.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: var(--ff-head); font-weight: 800; color: var(--ink); white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; color: var(--ink); }
.header-cta .btn { min-height: 44px; padding: 8px 18px; font-size: .92rem; }

.menu-btn {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, background-color .25s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.call-btn {
  display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--accent); color: var(--accent-ink);
  align-items: center; justify-content: center;
}
.call-btn svg { width: 20px; height: 20px; }

@media (max-width: 1140px) {
  .header-phone span { display: none; }
}
@media (max-width: 1020px) {
  :root { --header-h: 66px; }
  .nav, .header-cta { display: none; }
  .menu-btn, .call-btn { display: inline-flex; }
  .site-header .container { gap: 10px; }
  .logo { margin-right: auto; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: #fff;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  padding: 12px var(--gutter) calc(40px + env(safe-area-inset-bottom));
  transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility .28s;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer > nav > ul > li { border-bottom: 1px solid var(--line); }
.drawer nav a, .drawer summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 8px 2px;
  font-family: var(--ff-head); font-weight: 750; font-size: 1.08rem; color: var(--ink); text-decoration: none; cursor: pointer;
}
.drawer summary { list-style: none; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary svg { width: 18px; height: 18px; transition: transform .2s; }
.drawer details[open] summary svg { transform: rotate(180deg); }
.drawer details ul { padding: 0 0 12px 12px; }
.drawer details a { min-height: 44px; font-weight: 550; font-size: .98rem; color: var(--ink-2); font-family: var(--ff-body); }
.drawer__group { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 10px 0 2px; }
.drawer__cta { display: grid; gap: 10px; margin-top: 22px; }
.drawer__meta { margin-top: 18px; font-size: .9rem; color: var(--muted); }
body.menu-open { overflow: hidden; }
@media (min-width: 1021px) { .drawer { display: none; } }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .86rem; margin-bottom: 18px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: "/"; opacity: .5; }   /* stays on the line it follows when wrapping */
.breadcrumb a { display: inline-block; padding: 10px 0; margin-block: -10px; text-decoration: none; opacity: .85; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb [aria-current] { opacity: .7; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #d6dfea; background: var(--ink); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(14, 26, 43, .96) 0%, rgba(14, 26, 43, .88) 45%, rgba(14, 26, 43, .55) 100%);
}
.hero .container { padding-block: clamp(56px, 9vw, 120px); }
.hero h1 { color: #fff; max-width: 17ch; }
.hero h1 span, .hero h1 em { color: var(--accent); font-style: normal; }
.hero .lead { color: #c3cedc; max-width: 60ch; }
.hero .btn-row { margin-top: 28px; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 28px 0 0; font-size: .93rem; color: #dbe3ee; }
.hero__ticks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__ticks svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.hero--page .container { padding-block: clamp(40px, 6vw, 80px); }
.hero--page h1 { max-width: 22ch; font-size: clamp(2rem, 4.6vw, 3.2rem); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } }
.hero__card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg);
  padding: 24px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero__card h2, .hero__card h3 { color: #fff; }
.hero .checklist li { color: #dbe3ee; }
.hero .checklist li::before { border-color: var(--accent); }

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust li { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); line-height: 1.35; }
.trust strong { display: block; font-family: var(--ff-head); color: var(--ink); font-size: .98rem; }
.trust__icon { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--bg-alt); display: grid; place-items: center; color: var(--ink); }
.trust__icon svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .trust ul { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--shadow-sm); height: 100%;
  display: flex; flex-direction: column;
}
.card p { color: var(--muted); }
.card > :last-child { margin-bottom: 0; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; margin-bottom: 18px; flex: none;
}
.card__icon svg { width: 26px; height: 26px; }
.card--link { text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfd8e3; }
.card__more { margin-top: auto; padding-top: 14px; font-family: var(--ff-head); font-weight: 800; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.card__more svg { width: 16px; height: 16px; transition: transform .2s; }
.card--link:hover .card__more svg { transform: translateX(3px); }
.card .checklist { margin-top: 4px; }
.section--dark .card { background: var(--ink-2); border-color: var(--ink-3); box-shadow: none; }
.section--dark .card p { color: #a9b6c7; }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: .5em; color: #344559; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg);
}
.section--dark .checklist li { color: #c9d3e0; }
.section--dark .checklist li::before { border-color: var(--accent); }
.checklist--2col { columns: 2; column-gap: 28px; }
.checklist--2col li { break-inside: avoid; }
@media (max-width: 640px) { .checklist--2col { columns: 1; } }

/* ---------- Media ---------- */
.media { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-alt); box-shadow: var(--shadow); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 10; }
.media--square { aspect-ratio: 1 / 1; }
.media-caption { font-size: .85rem; color: var(--muted); margin-top: 10px; }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: clamp(14px, 2vw, 22px); }
.product {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.product__img { position: relative; aspect-ratio: 4 / 3; background: var(--bg-alt); display: grid; place-items: center; overflow: hidden; }
/* Photos fill the 4:3 box (absolutely positioned so height:100% resolves and object-position takes effect) */
.product__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product__img--illus img { position: static; width: 62%; height: auto; object-fit: contain; }
.product__body { padding: 16px 18px 20px; }
.product__body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.product__body p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
@media (max-width: 560px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product__body { padding: 12px 12px 16px; }
  .product__body h3 { font-size: .98rem; }
  .product__body p { font-size: .86rem; }
}
.product__tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }

/* ---------- Brands ---------- */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.brand {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 12px;
  min-height: 108px; padding: 26px 12px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center;
}
/* One letter height for every wordmark (the widest, about 8:1, fits a 140px tile at 18px tall) */
.brand img { height: 18px; width: auto; max-width: 100%; object-fit: contain; opacity: .9; }
.brand span { font-size: .78rem; color: var(--muted); line-height: 1.3; }
.section--alt .brand { background: #fff; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.stat b { display: block; font-family: var(--ff-head); font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: #fff; line-height: 1.1; letter-spacing: -.02em; }
.stat span { font-size: .9rem; color: #a9b6c7; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px 22px; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--accent); font-family: var(--ff-head); font-weight: 800; margin-bottom: 14px;
}
.steps h3 { font-size: 1.08rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: .94rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Areas ---------- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.area-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.area-card:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.area-card strong { display: block; font-family: var(--ff-head); font-size: 1.04rem; }
.area-card small { color: var(--muted); font-size: .84rem; }
.area-card svg { width: 18px; height: 18px; flex: none; color: var(--ink); }
.area-group + .area-group { margin-top: 36px; }
.area-group h3 { display: flex; align-items: center; gap: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); }
.section--alt .chips li { background: #fff; }
.section--dark .chips li { background: var(--ink-2); border-color: var(--ink-3); color: #dbe3ee; }

/* ---------- Callout / note ---------- */
.callout { border-left: 4px solid var(--accent); background: var(--bg-alt); padding: 18px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.4em 0; }
.callout > :last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-family: var(--ff-head); font-weight: 750; font-size: 1.04rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq .faq__a { padding: 0 20px 18px; color: #3e4f63; }
.faq .faq__a > :last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: var(--accent-ink); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(36px, 5vw, 56px); flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { margin: 0; color: #3d3410; font-weight: 500; }
.cta-band .btn--outline { border-color: var(--ink); }

/* ---------- Enquiry form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 32px); }
.form-card__head { margin-bottom: 18px; }
.form-card__head h2, .form-card__head h3 { font-size: clamp(1.3rem, 2.2vw, 1.55rem); margin-bottom: 6px; }
.form-card__head p { margin: 0; color: var(--muted); font-size: .94rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-card--compact .form-grid { grid-template-columns: 1fr; }
@media (min-width: 1001px) { .with-aside .form-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field .opt { font-weight: 450; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #cfd8e3; background: #fff;
  font-size: 16px; /* prevents iOS zoom */ color: var(--ink); transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c2b40' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus,
.human-check input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(245, 197, 24, .45); }
.field input::placeholder, .field textarea::placeholder { color: #8b98a9; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field__error { display: none; color: var(--err); font-size: .84rem; margin-top: 5px; }
.field.has-error .field__error { display: block; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.consent a { color: var(--ink); }
/* The consent checkbox sits in a .field (for its error message) but must not take the text-input look */
.field .consent { display: flex; font-weight: 400; font-size: .86rem; color: var(--muted); margin: 0; }
.field .consent input {
  width: 20px; height: 20px; min-height: 0; padding: 0; margin: 2px 0 0; border: 0; border-radius: 0;
  -webkit-appearance: auto; appearance: auto; box-shadow: none;
}
.field .consent input:focus { box-shadow: none; }
.field .consent input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.field.has-error .consent input { outline: 2px solid var(--err); outline-offset: 2px; }

.human-check {
  border: 1.5px dashed #cfd8e3; border-radius: 14px; padding: 14px 16px; background: var(--bg-alt);
}
.human-check[hidden] { display: none; }
.human-check__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.human-check__q { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: .95rem; flex: 1 1 180px; }
.human-check__q svg { width: 22px; height: 22px; color: var(--ink); flex: none; }
.human-check input {
  width: 96px; min-height: 46px; padding: 10px 12px; text-align: center; font-weight: 700; font-size: 18px; color: var(--ink);
  border: 1.5px solid #cfd8e3; border-radius: 12px; background: #fff; -webkit-appearance: none; appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.human-check.has-error input { border-color: var(--err); }
.human-check__status { font-size: .84rem; margin-top: 8px; color: var(--muted); }
.human-check.is-ok { border-style: solid; border-color: var(--ok); background: #effaf3; }
.human-check.is-ok .human-check__status { color: #146c3e; font-weight: 600; }   /* darker than --ok for 4.5:1 on the pale green */
.human-check.has-error { border-color: var(--err); }
.human-check.has-error .human-check__status { color: var(--err); }

/* Always rendered (so screen readers track the live region); collapses when empty */
.form-status { margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: .92rem; }
.form-status:empty { margin: 0; padding: 0; }
.form-status.is-error { background: #fdeeee; color: #8e2318; }
.form-status.is-busy { background: var(--bg-alt); color: var(--ink); }
.form-note { margin: 12px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .65; cursor: progress; }

/* ---------- Contact blocks ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .trust__icon { background: var(--accent); }
.contact-list a { font-family: var(--ff-head); font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1.1rem; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a9b6c7; font-size: .93rem; }
.footer-main { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1fr 1fr; gap: 32px; padding-block: clamp(48px, 6vw, 72px) 36px; }
.site-footer .logo { color: #fff; }
.site-footer .logo svg path:first-child { fill: #ffffff; }
.site-footer .logo svg path:nth-child(2) { fill: #dfe5ee; }
.site-footer .logo__sub { color: #8394aa; }
.footer-about p { margin: 16px 0; line-height: 1.7; }
.footer-col h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 14px; font-weight: 800; }
@media (min-width: 821px) { .footer-col h2 { min-height: 2.3em; } }   /* 2 lines, so every column's links start level */
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; line-height: 1.4; }
.site-footer a { color: #c9d3e0; text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer .footer-contact { gap: 0; }
.site-footer .footer-contact a { display: inline-block; padding: 8px 0; font-family: var(--ff-head); font-weight: 800; color: #fff; font-size: 1rem; word-break: normal; overflow-wrap: anywhere; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.footer-badges span { font-size: .78rem; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--ink-3); color: #c9d3e0; }
/* Divider drawn inside the container padding so it lines up with the text */
.footer-bottom { background: linear-gradient(var(--ink-3), var(--ink-3)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat; padding-block: 22px calc(22px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .84rem; color: #8394aa; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }
@media (max-width: 1060px) { .footer-main { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 820px) { .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 20px; } }
@media (max-width: 380px) { .footer-main { grid-template-columns: 1fr; } }
/* Touch: bigger tap targets for the footer link lists */
@media (max-width: 760px), (pointer: coarse) {
  .footer-col li { margin-bottom: 0; }
  .footer-col a { display: inline-block; padding: 8px 0; }
  .footer-bottom a { display: inline-block; padding: 12px 0; margin-block: -12px; }
}

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(14, 26, 43, .5);
  }
  .action-bar .btn { min-height: 48px; padding: 10px 12px; font-size: .95rem; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  /* Keep focused fields clear of the bar, and hide it while someone fills in a form or the CTA band is on screen */
  html { scroll-padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
  body.menu-open .action-bar, body.form-active .action-bar, body.cta-in-view .action-bar { display: none; }
}

/* ---------- Simple pages (thanks / 404 / legal) ---------- */
.notice { text-align: center; max-width: 640px; margin-inline: auto; }
.notice__icon { width: 76px; height: 76px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; margin: 0 auto 22px; }
.notice__icon svg { width: 36px; height: 36px; }
.notice .btn-row { justify-content: center; margin-top: 26px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .site-header, .drawer, .action-bar, .cta-band, form { display: none !important; }
  body { padding: 0; }
}
