/* Cleanse Force UK local sites: one hand-written stylesheet, mobile-first.
   Contrast notes (WCAG AA, measured):
   ink on white 16.6 | muted #4a5a6a on paper 6.6, on tint 6.3 | white on --blue-deep 5.65
   --blue-deep text on white 5.65, on paper 5.2, on tint 5.0 | --on-dark-muted on ink 7.8
   Brand blue #0082f3 (3.8 on white) is used only for non-text marks: drop, rings, ticks, focus. */

:root {
  --ink: #0b1f33;
  --ink-2: #12304d;
  --blue: #0082f3;
  --blue-deep: #0067c2;
  --blue-press: #00549f;
  --paper: #f7f6f3;
  --white: #fff;
  --rule: #dfe3e8;
  --muted: #4a5a6a;
  --tint: #e8f3fe;
  --field-border: #6b7b8c;
  --on-dark: #e6edf4;
  --on-dark-muted: #9fb3c8;
  --link-on-dark: #7cc0ff;

  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: 20px;
  --radius: 8px;
  --measure: 70ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  padding-bottom: 76px; /* room for the fixed call bar on mobile */
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.022em; line-height: 1.15; margin: 0; text-wrap: balance; }

a { color: var(--blue-deep); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-press); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 100;
  background: var(--white); color: var(--ink); padding: .6rem 1rem; border-radius: var(--radius); font-weight: 600;
}
.skip:focus { top: .5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: .1rem .6rem;
  min-height: 3rem; padding: .7rem 1.25rem; border-radius: var(--radius);
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn__label { font-weight: 600; font-size: .9em; }
.btn__num { font-weight: 700; font-size: 1.05em; letter-spacing: .01em; white-space: nowrap; }
.btn--primary, .btn--call { background: var(--blue-deep); color: var(--white); }
.btn--primary:hover, .btn--call:hover { background: var(--blue-press); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); align-items: center; font-weight: 600; }
.btn--ghost:hover { color: var(--white); border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--lg { min-height: 3.4rem; padding: .8rem 1.6rem; font-size: 1.1rem; }
.btn--xl { min-height: 4rem; padding: 1rem 2rem; font-size: 1.3rem; }
.btn--block { display: flex; width: 100%; }
.btn--primary:focus-visible, .btn--call:focus-visible { outline-color: var(--white); box-shadow: 0 0 0 3px var(--blue); }

/* ---------- Header ---------- */
.site-header { background: var(--ink); color: var(--white); position: relative; }
.site-header__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; min-height: 64px; padding-block: .6rem; }
.wordmark { flex: 1 1 0; display: inline-flex; align-items: center; gap: .55rem; color: var(--white); text-decoration: none; min-width: 0; }
.wordmark:hover { color: var(--white); }
.wordmark__drop { color: var(--blue); flex: none; }
.wordmark__name { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.015em; line-height: 1.15; }
.site-header__call { display: none; }

.menu { margin-left: auto; }
.menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; padding: 0 .9rem; border: 2px solid rgba(255,255,255,.35); border-radius: var(--radius); font-weight: 600;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: .5rem; height: .5rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
.menu[open] summary::after { transform: rotate(-135deg); }
.menu[open] { flex-basis: 100%; }
.menu[open] summary { margin-left: auto; display: flex; width: max-content; }
.menu nav ul { list-style: none; margin-top: .5rem; border-top: 1px solid rgba(255,255,255,.18); }
.menu nav li { border-bottom: 1px solid rgba(255,255,255,.12); }
.menu nav a { display: block; padding: .8rem .2rem; color: var(--on-dark); text-decoration: none; font-weight: 600; }
.menu nav a[aria-current="page"] { color: var(--white); box-shadow: inset 3px 0 0 var(--blue); padding-left: .8rem; }

.site-nav { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); padding-block: 2.25rem 3rem; border-top: 1px solid rgba(255,255,255,.08); }
.hero__motif { position: absolute; right: -90px; top: -10px; width: 340px; height: auto; opacity: .5; pointer-events: none; }
.hero__inner { position: relative; }
.crumbs { display: flex; gap: .5rem; font-size: .9rem; color: var(--on-dark-muted); margin-bottom: 1.25rem; }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs [aria-current] { color: var(--on-dark); }
.hero h1 { font-size: clamp(2.05rem, 7.4vw, 3.6rem); letter-spacing: -0.03em; max-width: 15em; color: var(--white); }
.hero__lead { margin: 1.25rem 0 0; max-width: 40rem; font-size: 1.15rem; color: #c9d6e3; }
.ticks { list-style: none; margin: 1.5rem 0 0; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.9rem; color: var(--on-dark); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: .15rem; top: .42em; width: .62rem; height: .34rem; border: solid var(--blue); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ---------- Bands & sections ---------- */
.band--white { background: var(--white); }
.band--paper { background: var(--paper); border-block: 1px solid var(--rule); }
.band--white + .band--paper { border-top-color: var(--rule); }
.section, .block { padding-block: 3rem; }
.section__head h2, .block > h2 { font-size: clamp(1.45rem, 3.6vw, 2rem); }
.section__head { margin-bottom: 1.25rem; }
.block > h2 { margin-bottom: 1.5rem; }
.section__body { min-width: 0; }
.prose { max-width: 46rem; }
.prose p, .prose .bullets { max-width: var(--measure); }
.prose > :last-child { margin-bottom: 0; }

.bullets { list-style: none; margin: 0 0 1.25em; display: grid; gap: .6rem; }
.bullets li { position: relative; padding-left: 1.6rem; }
.bullets li::before { content: ""; position: absolute; left: .2rem; top: .62em; width: .5rem; height: .62rem; background: var(--blue); clip-path: path("M4 0C4 0 0 4.4 0 7a4 4 0 0 0 8 0C8 4.4 4 0 4 0Z"); transform: scale(.9); transform-origin: left top; }
@supports not (clip-path: path("M0 0")) { .bullets li::before { border-radius: 50%; width: .4rem; height: .4rem; } }

.steps { list-style: none; counter-reset: step; margin: .5rem 0 1.5em; max-width: var(--measure); }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.75rem 3.4rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--ink); color: var(--white); font-weight: 700; display: grid; place-items: center; line-height: 1;
}
.steps li::after { content: ""; position: absolute; left: 1.15rem; top: 2.7rem; bottom: .3rem; width: 2px; background: var(--rule); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.15rem; line-height: 1.3; padding-top: .3rem; margin-bottom: .3rem; }
.steps p { margin: 0; }

.table-wrap { overflow-x: auto; margin: .5rem 0 0; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); }
.table-wrap:focus-visible { outline-offset: 2px; }
.band--white .table-wrap { background: var(--white); }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .98rem; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-bottom: 1px solid var(--rule); }
thead th { background: var(--ink); color: var(--white); font-weight: 600; font-size: .9rem; border-bottom: 0; white-space: nowrap; }
tbody th { font-weight: 700; background: var(--paper); }
tbody tr:last-child > * { border-bottom: 0; }
.table-note { margin: .75rem 0 1.25rem; font-size: .92rem; color: var(--muted); }

.callout { margin: 1.5rem 0 0; padding: 1.1rem 1.3rem; background: var(--tint); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; max-width: var(--measure); }
.callout p { margin: 0; font-weight: 600; }

/* ---------- Cards, chips, places ---------- */
.cards, .places { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); }
.card {
  display: flex; flex-direction: column; height: 100%; padding: 1.3rem 1.3rem 1.1rem; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); border-top: 3px solid var(--blue);
  transition: border-color .15s ease, background-color .15s ease;
}
.card:hover { color: var(--ink); background: var(--tint); border-color: var(--blue); }
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .97rem; line-height: 1.55; margin: 0 0 1rem; }
.card__more { margin-top: auto; font-weight: 700; color: var(--blue-deep); font-size: .95rem; }
.card__more::after { content: " \2192"; }
.card:hover .card__more { text-decoration: underline; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { background: var(--white); border: 1px solid var(--rule); border-radius: 999px; padding: .35rem .95rem; font-weight: 600; font-size: .97rem; }
.more-link { margin: 1.5rem 0 0; font-weight: 600; }

.place { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem 1.15rem; }
.place h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.place p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.45; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); max-width: 46rem; }
.faq:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 600; font-size: 1.08rem; line-height: 1.4; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .35rem; top: 1.45rem; width: .6rem; height: .6rem; border: solid var(--blue-deep); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .15s ease; }
.faq[open] summary::after { transform: rotate(-135deg); top: 1.7rem; }
.faq summary:hover { color: var(--blue-deep); }
.faq__a { padding: 0 2.5rem 1.2rem 0; max-width: var(--measure); }
.faq__a p { margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 2.5rem; padding-block: 3rem; }
.contact h2 { font-size: clamp(1.45rem, 3.6vw, 2rem); margin-bottom: 1.25rem; }
.contact .btn--xl { display: flex; width: 100%; max-width: 26rem; }
.contact__item { margin-top: 1.75rem; }
.contact__item h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: .25rem; font-weight: 700; }
.contact__item p { margin: 0; font-size: 1.1rem; }
.form { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 1.5rem; }
.form h3 { font-size: 1.3rem; }
.form__hint { color: var(--muted); margin: .4rem 0 1.25rem; font-size: .97rem; }
.field { margin-bottom: 1rem; position: relative; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white); min-height: 3rem; padding: .6rem .8rem;
  border: 1.5px solid var(--field-border); border-radius: var(--radius);
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue-deep); }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--tint); border-top: 1px solid #cfe3f8; }
.cta-band__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; padding-block: 2.75rem; }
.cta-band h2 { font-size: clamp(1.45rem, 4vw, 2.1rem); max-width: 22em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); font-size: .97rem; line-height: 1.6; }
.site-footer a { color: var(--link-on-dark); }
.site-footer a:hover { color: var(--white); }
.site-footer__grid { display: grid; gap: 2.25rem; padding-block: 3rem 2.5rem; }
.site-footer p { margin: 0 0 .7rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 700; color: var(--on-dark-muted); margin-bottom: .9rem !important; }
.site-footer__company .eyebrow { color: var(--white); font-size: .85rem; }
.site-footer__logo { display: inline-block; background: var(--white); padding: .6rem .85rem; border-radius: var(--radius); margin-bottom: 1rem; line-height: 0; }
.site-footer__logo img { display: block; width: 176px; height: auto; }
.site-footer__phone { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; }
.site-footer__phone a { color: var(--white); text-decoration: none; }
.site-footer__links { list-style: none; display: grid; gap: .45rem; }
.site-footer__links a { color: var(--on-dark); text-decoration: none; }
.site-footer__links a:hover { color: var(--white); text-decoration: underline; }
.site-footer__legal { border-top: 1px solid rgba(255,255,255,.14); padding-block: 1.1rem; font-size: .88rem; color: var(--on-dark-muted); }
.site-footer__legal p { margin: 0; }

/* ---------- Mobile call bar ---------- */
.callbar { position: fixed; inset: auto 0 0 0; z-index: 50; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid rgba(255,255,255,.18); }

/* ---------- >= 720px ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  body { font-size: 1.125rem; padding-bottom: 0; }
  .callbar { display: none; }
  .hero { padding-block: 3.5rem 4.5rem; }
  .hero__motif { right: -40px; top: 50%; transform: translateY(-50%); width: 480px; opacity: 1; }
  .hero__lead { font-size: 1.25rem; }
  .ticks { grid-template-columns: repeat(2, max-content); gap: .6rem 2.5rem; }
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .form { padding: 2rem; }
}

/* ---------- >= 960px ---------- */
@media (min-width: 960px) {
  .site-header__top { min-height: 76px; }
  .wordmark__name { font-size: 1.3rem; }
  .menu { display: none; }
  .wordmark { flex: 0 1 auto; }
  .site-header__call { display: inline-flex; margin-left: auto; }
  .site-nav { display: block; background: var(--ink-2); border-top: 1px solid rgba(255,255,255,.08); }
  .site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 .25rem; }
  .site-nav a { display: block; padding: .8rem .8rem; color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: .95rem; border-bottom: 3px solid transparent; }
  .site-nav a:hover { color: var(--white); border-bottom-color: rgba(255,255,255,.4); }
  .site-nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--blue); }
  .site-nav ul { margin-inline: auto; }
  .site-nav .wrap { padding-inline: calc(var(--gutter) - .8rem); }

  .section, .block { padding-block: 4.5rem; }
  .section { display: grid; grid-template-columns: 17rem minmax(0, 46rem); column-gap: 4rem; align-items: start; }
  .section__head { position: sticky; top: 1.5rem; margin-bottom: 0; }
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; padding-block: 4.5rem; align-items: start; }
  .hero__inner { padding-right: 18rem; }
}

@media (min-width: 1100px) {
  .hero__inner { padding-right: 24rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .callbar, .site-nav, .menu, .cta-band { display: none; }
  body { padding: 0; }
}
