/* =============================================================================
   RB Climate Solutions - main stylesheet
   Brand: navy #033371 / red #DA1F26 (from the logo + van livery artwork)
   Type: Montserrat variable (self-hosted, @font-face inlined in <head>)
   ============================================================================= */

:root {
  --navy: #033371;
  --navy-deep: #021f47;
  --navy-ink: #0b1b33;
  --red: #da1f26;
  --red-deep: #a3141a;
  --blue: #1565c0;
  --ice: #eaf3fb;
  --ice-2: #d7e7f6;
  --paper: #f5f7fa;
  --white: #fff;
  --ink: #111827;
  --muted: #55606e;
  --line: #e3e8ef;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(3, 51, 113, .12);
  --shadow-lg: 0 24px 60px rgba(2, 31, 71, .22);
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --font: 'Montserrat', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: .15em; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--navy-ink); text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 700; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: .6em 1em; border-radius: 6px; z-index: 1000; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: .9em; }
.eyebrow::before { content: ""; width: 2.2em; height: 3px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #ffb3b6; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--paper { background: var(--paper); }
.section--ice { background: linear-gradient(180deg, var(--ice) 0%, #fff 100%); }
.section--navy { background: var(--navy); color: #dbe6f5; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .card h3 { color: var(--navy-ink); }
.section--navy .card p { color: var(--muted); }
.section--navy .lead { color: #c4d4ea; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; }

/* Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.15; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(218, 31, 38, .28); }
.btn--red:hover { background: var(--red-deep); color: #fff; box-shadow: 0 12px 26px rgba(218, 31, 38, .36); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--ice); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); border-color: currentColor; }
.btn--ghost:hover { background: var(--ice); color: var(--navy); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn--lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* Topbar + header ------------------------------------------------------ */
.topbar { background: var(--navy-deep); color: #c9d8ec; font-size: .82rem; font-weight: 600; }
.topbar__in { display: flex; align-items: center; gap: 1.6rem; min-height: 38px; }
.topbar__item { white-space: nowrap; display: inline-flex; align-items: center; gap: .45em; color: inherit; text-decoration: none; padding-block: .6em; }
.topbar__item .i { color: #ff6b70; }
.topbar__item:hover { color: #fff; }
.topbar__phone2 { margin-left: auto; }
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(3, 51, 113, .1); }
.site-header__in { display: flex; align-items: center; gap: 1.5rem; min-height: 84px; }
.brand img { width: auto; height: 62px; }
.nav { margin-left: auto; }
.nav__list { display: flex; flex-wrap: nowrap; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav__list a { display: block; padding: .55em .7em; border-radius: 8px; font-weight: 700; font-size: .92rem; color: var(--navy-ink); text-decoration: none; white-space: nowrap; }
.nav__list a:hover { background: var(--ice); color: var(--navy); }
.nav__list a[aria-current="page"] { color: var(--red); }
.nav__contact { display: none; }
.header-cta { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--navy); border-radius: 10px; padding: 12px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.nav-toggle span { display: block; height: 3px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

@media (max-width: 1250px) {
  .nav__list a { padding: .5em .45em; font-size: .86rem; }
  .header-cta__quote { display: none; }
}
@media (max-width: 1050px) {
  .nav__list a { padding: .5em .35em; font-size: .82rem; }
}
@media (max-width: 960px) {
  .topbar__hours, .topbar__area { display: none; }
  .site-header__in { min-height: 72px; }
  .brand img { height: 52px; }
  .nav-toggle { display: flex; }
  .header-cta .btn--red span { display: none; }
  .header-cta .btn--red { padding: .75em .85em; }
  .brand, .header-cta { position: relative; z-index: 3; }
  .nav { position: fixed; inset: 0; top: 0; z-index: 1; background: var(--navy); padding: 110px var(--gutter) 40px; transform: translateY(-105%); transition: transform .35s var(--ease); overflow: auto; }
  .nav-open .nav { transform: none; }
  .nav__list { flex-direction: column; gap: .2rem; }
  .nav__list a { font-size: 1.4rem; color: #fff; padding: .55em .4em; border-bottom: 1px solid rgba(255, 255, 255, .1); border-radius: 0; }
  .nav__list a:hover { background: transparent; color: #ffb3b6; }
  .nav__list a[aria-current="page"] { color: #ff6b70; }
  .nav__contact { display: block; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: var(--navy); border-color: transparent; }
  /* Relative to this stylesheet, not the site root: in the WordPress theme
     the assets live under wp-content/themes/, so a root-absolute path 404s
     and the logo vanishes the moment the mobile menu opens. */
  .nav-open .brand img { content: url('../img/logo-header-white.png'); }
  .nav :focus-visible { outline-color: #fff; }
}
@media (max-width: 480px) {
  .topbar__phone2 { display: none; }
  .btn { white-space: normal; text-align: center; }
}

/* Hero ----------------------------------------------------------------- */
/* Phones/tablets: full-bleed photo under a navy overlay. From 900px: split
   banner - content on a navy panel, photo on the right cut on a diagonal,
   with the red/blue livery bands running along that edge. */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 70%, #0a4a9a 100%); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 60% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(2, 31, 71, .94) 0%, rgba(3, 51, 113, .82) 60%, rgba(3, 51, 113, .6) 100%); }
.hero__in { position: relative; padding-block: clamp(3.5rem, 9vw, 7rem); max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: .4em; font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.hero h1 em { font-style: normal; color: #ff6b70; }
.hero .lead { color: #d6e2f3; margin-bottom: 1.8rem; }
.hero .eyebrow { color: #ff8e92; }
.hero__points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-weight: 600; font-size: .92rem; color: #e6eef9; }
.hero__points li { display: inline-flex; align-items: center; gap: .45em; }
.hero__points .i { color: #ff6b70; }
.hero--page .hero__in { padding-block: clamp(2.8rem, 6vw, 4.5rem); }
/* Named phone numbers under the banner buttons */
.calls { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .7rem 1.6rem; }
.calls a { display: inline-flex; align-items: center; gap: .7rem; min-height: 48px; color: #fff; font-weight: 700; font-size: 1.08rem; text-decoration: none; white-space: nowrap; }
.calls__icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); transition: background .2s, border-color .2s; }
.calls a:hover .calls__icon { background: var(--red); border-color: var(--red); }
.calls__text { display: flex; flex-direction: column; line-height: 1.2; }
.calls__text small { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #ff8e92; }
@media (max-width: 480px) {
  .calls { gap: .6rem 1rem; }
  .calls a { gap: .55rem; font-size: 1rem; }
  .calls__icon { width: 2.2rem; height: 2.2rem; }
}
.hero--plain::before { display: none; }
.crumbs { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4em; font-size: .82rem; font-weight: 600; color: #b9c9e2; }
.crumbs a { color: #fff; text-decoration: none; display: inline-block; padding-block: .4em; }
.crumbs li + li::before { content: "/"; margin-right: .4em; color: #7c93b8; }
@media (min-width: 900px) {
  .hero::before { display: none; }
  .hero__media { left: 50%; right: 0; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
  .hero__media img { object-position: 50% 50%; }
  /* livery bands hugging the diagonal edge */
  .hero__media::before, .hero__media::after { content: ""; position: absolute; inset: 0; z-index: 2; }
  .hero__media::before { background: var(--red); clip-path: polygon(22% 0, 26.5% 0, 4.5% 100%, 0 100%); }
  .hero__media::after { background: var(--blue); clip-path: polygon(26.5% 0, 29% 0, 7% 100%, 4.5% 100%); }
  /* soft shadow so the photo does not clash with the panel */
  .hero__media picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 31, 71, .35) 0%, rgba(2, 31, 71, 0) 45%); }
  /* .hero__in is also the page .wrap, so constrain its children, not itself */
  .hero__in { max-width: none; min-height: 560px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
  .hero__in > * { max-width: calc(50% - 3rem); }
  .hero--page .hero__in { min-height: 420px; }
  .hero--plain .hero__in > * { max-width: 720px; }
  .hero--plain .hero__in { min-height: 0; }
}
@media (min-width: 1400px) { .hero__in { min-height: 620px; } }
@media (max-width: 480px) { .hero__points { display: grid; gap: .5rem; } }

/* Trust strip ---------------------------------------------------------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; padding-block: 1.2rem; }
.trust__item { display: flex; align-items: center; gap: .8rem; font-weight: 700; font-size: .9rem; color: var(--navy-ink); }
.trust__item .i { width: 2.2rem; height: 2.2rem; color: var(--red); background: var(--ice); border-radius: 10px; padding: .45rem; }
.trust__item small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }

/* Service cards -------------------------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.grid > *, .split > *, .duo > *, .contact-grid > *, .cta-band__in > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 8px rgba(3, 51, 113, .06), 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit; }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ice); }
.card__media picture { display: block; height: 100%; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__icon { position: absolute; top: 14px; left: 14px; width: 48px; height: 48px; border-radius: 12px; background: #fff; color: var(--red); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.card__icon .i { width: 26px; height: 26px; }
.card__icon--blue { color: var(--blue); }
.card__icon--inline { position: static; margin-bottom: 1rem; box-shadow: none; background: var(--ice); }
.card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__body :is(h2, h3, h4) { margin-bottom: .4em; font-size: clamp(1.2rem, 2vw, 1.45rem); }
.card__body p { color: var(--muted); font-size: .97rem; margin-bottom: 1rem; }
.card__list { list-style: none; padding: 0; margin: 0 0 1.2rem; font-size: .92rem; font-weight: 600; display: grid; gap: .35rem; }
.card__list li { display: flex; gap: .5em; align-items: flex-start; }
.card__list .i { color: var(--red); margin-top: .2em; width: 1em; height: 1em; }
.card__link { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 800; color: var(--navy); }
.card:hover .card__link { color: var(--red); }
.card:hover .card__link .i { transform: translateX(4px); }
.card__link .i { transition: transform .25s var(--ease); }

/* Split / feature blocks ---------------------------------------------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.split__media--tall img { aspect-ratio: 4 / 5; }
.split__media .stamp { position: absolute; right: -14px; bottom: -14px; background: var(--red); color: #fff; padding: 1rem 1.25rem; border-radius: 12px; font-weight: 800; line-height: 1.15; box-shadow: var(--shadow); max-width: 220px; font-size: .95rem; }
.split__media .stamp--navy { background: var(--navy); }
.split__media .stamp small { display: block; font-weight: 600; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .25em; }
.checks { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .6rem; }
.checks li { display: flex; gap: .7em; align-items: flex-start; font-weight: 600; }
.checks .i { color: var(--red); background: rgba(218, 31, 38, .1); border-radius: 50%; padding: .2em; margin-top: .1em; flex: none; width: 1.45em; height: 1.45em; }
.checks--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.section--navy .checks .i { color: #fff; background: var(--red); }

/* Duo (hot/cold) ------------------------------------------------------- */
.duo { display: grid; gap: 1.2rem; }
@media (min-width: 800px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo__panel { position: relative; padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: var(--radius); color: #fff; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; }
.duo__panel picture { position: absolute; inset: 0; z-index: 0; }
.duo__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.duo__panel:hover img { transform: scale(1.05); }
.duo__panel::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.duo__panel--cool::before { background: linear-gradient(180deg, rgba(3, 51, 113, .15), rgba(3, 51, 113, .92)); }
.duo__panel--hot::before { background: linear-gradient(180deg, rgba(163, 20, 26, .1), rgba(163, 20, 26, .92)); }
.duo__panel > * { position: relative; z-index: 2; }
.duo__panel h3 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.duo__panel p { color: rgba(255, 255, 255, .85); max-width: 40ch; }
.duo__tag { display: inline-flex; align-items: center; gap: .4em; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: rgba(255, 255, 255, .16); padding: .4em .8em; border-radius: 999px; margin-bottom: auto; width: max-content; backdrop-filter: blur(6px); }

/* Process -------------------------------------------------------------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.steps li { counter-increment: step; position: relative; padding: 1.8rem 1.5rem 1.5rem; background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 2.4rem; font-weight: 900; line-height: 1; color: var(--red); margin-bottom: .6rem; letter-spacing: -.04em; }
.steps h3 { font-size: 1.1rem; }
.steps p { font-size: .95rem; color: var(--muted); margin: 0; }

/* Brands / badges ------------------------------------------------------ */
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.badges li { display: inline-flex; align-items: center; gap: .5em; padding: .55em 1em; border-radius: 999px; background: var(--ice); color: var(--navy); font-weight: 800; font-size: .85rem; letter-spacing: .04em; }
.badges--footer li { background: rgba(255, 255, 255, .1); color: #fff; }
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 1.2rem; }
.brands span { font-weight: 900; font-size: clamp(1.1rem, 2.2vw, 1.6rem); letter-spacing: .06em; text-transform: uppercase; color: #9fb4d3; padding: .3em .6em; }
.brands span:nth-child(odd) { color: #b7c7de; }
.accred { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.accred__item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.accred__item .i { width: 2.6rem; height: 2.6rem; flex: none; color: #fff; background: var(--navy); border-radius: 12px; padding: .55rem; }
.accred__item h3 { font-size: 1.05rem; margin-bottom: .2em; }
.accred__item p { font-size: .92rem; color: var(--muted); margin: 0; }

/* FAQ ------------------------------------------------------------------ */
.faq { display: grid; gap: .7rem; }
.faq--narrow { max-width: 820px; margin-inline: auto; }
.faq details { background: #fff; border-radius: var(--radius-sm); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 3.2rem 1.1rem 1.3rem; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.2rem; top: 50%; width: 12px; height: 12px; border-right: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details[open] summary { color: var(--navy); }
.faq .faq__a { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.faq .faq__a p:last-child { margin: 0; }

/* Area map ------------------------------------------------------------- */
.areamap { width: 100%; max-width: 640px; margin-inline: auto; }
.area-list { columns: 2; gap: 2rem; list-style: none; padding: 0; margin: 0; font-weight: 600; }
.area-list li { break-inside: avoid; padding: .35em 0; border-bottom: 1px dashed var(--line); display: flex; gap: .5em; align-items: center; }
.area-list .i { color: var(--red); width: 1em; height: 1em; }
@media (min-width: 700px) { .area-list { columns: 3; } }
.region { padding: 1.5rem; background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.region h3 { display: flex; align-items: center; gap: .5em; font-size: 1.1rem; }
.region h3 .i { color: var(--red); }
.region p { color: var(--muted); font-size: .95rem; margin: 0; }

/* CTA band + footer ---------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(115deg, var(--navy-deep), var(--navy) 55%, #0a4a9a); color: #d6e2f3; }
.cta-band::after { content: ""; position: absolute; right: -8%; top: -30%; width: 46%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(218, 31, 38, .55), transparent 70%); pointer-events: none; }
.cta-band__in { position: relative; display: grid; gap: 2rem; align-items: center; padding-block: clamp(3rem, 6vw, 5rem); }
@media (min-width: 900px) { .cta-band__in { grid-template-columns: 1.4fr 1fr; } .cta-band__actions { justify-content: flex-end; } }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 56ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.site-footer { background: var(--navy-ink); color: #b9c7db; font-size: .93rem; padding-top: clamp(3rem, 5vw, 4.5rem); }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); padding-bottom: 2.5rem; }
.footer__brand img { width: 150px; height: auto; margin-bottom: 1rem; }
.footer__brand p { max-width: 36ch; }
.site-footer h3 { color: #fff; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.site-footer .badges { display: flex; gap: .6rem; }
.site-footer a { color: #dfe7f3; text-decoration: none; }
.footer__col > ul > li > a { display: inline-block; padding-block: .3em; }
.site-footer a:hover { color: #ff8e92; }
.footer__contact li { display: flex; align-items: center; gap: .55em; flex-wrap: wrap; min-height: 2rem; }
.footer__contact a { display: inline-block; padding-block: .3em; }
.footer__contact .i { color: #ff6b70; }
.footer__contact span { color: #7f92b0; font-size: .85rem; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.4rem 5.5rem; font-size: .8rem; color: #7f92b0; }
@media (min-width: 961px) { .footer__legal { padding-bottom: 1.6rem; } }
.section--navy :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible, .contact-card :focus-visible, .hero :focus-visible, .duo__panel:focus-visible { outline-color: #fff; }

/* Mobile call bar ------------------------------------------------------ */
.split__media picture { display: block; }
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; grid-template-columns: 1fr 1fr; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(3, 51, 113, .12); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .95em; font-weight: 800; text-decoration: none; color: #fff; background: var(--red); }
.mobile-bar__quote { background: var(--navy) !important; }
@media (max-width: 960px) { .mobile-bar { display: grid; } }

/* Cookie banner -------------------------------------------------------- */
.cookie-banner[hidden] { display: none; }
.cookie-banner { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 70; width: min(680px, calc(100% - 2rem)); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.1rem 1.3rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; font-size: .92rem; }
.cookie-banner p { margin: 0; flex: 1 1 320px; }
.cookie-banner__actions { display: flex; gap: .5rem; }
.cookie-banner .btn { padding: .6em 1.1em; font-size: .88rem; }
@media (max-width: 960px) { .cookie-banner { bottom: 4.6rem; } }

/* Contact -------------------------------------------------------------- */
.contact-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.2fr .8fr; } }
.form { display: grid; gap: 1rem; background: #fff; padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: var(--radius); box-shadow: var(--shadow); }
.form__row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.form label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .35em; }
.form label span { color: var(--red); }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: .8em 1em; border: 1.5px solid #cfd8e3; border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(3, 51, 113, .14); }
.form textarea { min-height: 150px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__consent { display: flex; gap: .7em; align-items: flex-start; font-size: .88rem; font-weight: 500; }
.form__consent input { width: 1.5rem; height: 1.5rem; flex: none; margin-top: .2em; }
.form__note { font-size: .85rem; color: var(--muted); margin: 0; }
.notice { padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 600; }
.notice--ok { background: #e6f7ec; color: #14532d; }
.notice--err { background: #fdecec; color: #7f1d1d; }
.contact-card { background: var(--navy); color: #d6e2f3; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--radius); }
@media (min-width: 960px) { .contact-card { position: sticky; top: 104px; } }
.form__actions { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.contact-card h2, .contact-card h3 { color: #fff; }
.contact-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-card li { display: flex; gap: .8em; align-items: flex-start; }
.contact-card li > div { min-width: 0; overflow-wrap: anywhere; }
.contact-card li .i { color: #ff6b70; width: 1.5em; height: 1.5em; flex: none; margin-top: .1em; }
.contact-card a { color: #fff; font-weight: 700; text-decoration: none; display: inline-block; padding-block: .15em; }
.contact-card small a { display: inline; text-decoration: underline; }
.contact-card a:hover { color: #ff8e92; }
.contact-card small { display: block; color: #9db1d1; font-size: .85rem; }

/* Prose (legal pages) -------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1em 0; }
.prose th, .prose td { text-align: left; padding: .6em .7em; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--paper); }
.prose .table-wrap { overflow-x: auto; }

/* Stripes motif (from the van livery) ---------------------------------- */
.stripes { display: block; }

/* Reveal --------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .1s; } .reveal--d2 { transition-delay: .2s; } .reveal--d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* Utility -------------------------------------------------------------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.text-red { color: var(--red); }
.hidden { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =============================================================================
   WordPress
   Block markup the editor produces, mapped onto the design above. Everything
   in this section exists because content is now editable in WordPress; the
   visual result is unchanged.
   ============================================================================= */

/* Core wraps images in <figure>, which the layout does not expect. */
figure { margin: 0; }
.wp-block-image { margin: 0; }
.hero__media figure, .duo__panel figure { position: absolute; inset: 0; margin: 0; height: 100%; }
.hero__media figure picture, .duo__panel figure picture { display: block; height: 100%; }
.card__media figure, .card__media figure picture { height: 100%; }
.split__media figure { position: relative; }

/* Group blocks are plain wrappers; the design classes on them do the work. */
.wp-block-group { min-width: 0; }
.section > .wp-block-group.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* A card is a <div> now rather than an <a>, so the "read more" link is
   stretched over the whole card to keep it clickable. */
.card { position: relative; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.duo__panel > .btn { position: static; }
.duo__panel > .btn::after { content: ""; position: absolute; inset: 0; z-index: 3; }

/* Core details block inside an FAQ group. */
.faq .wp-block-details { background: #fff; border-radius: var(--radius-sm); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.faq .wp-block-details > summary { padding: 1.1rem 3.2rem 1.1rem 1.3rem; }
.faq .wp-block-details > :not(summary) { padding: 0 1.3rem; color: var(--muted); }
.faq .wp-block-details > :last-child { padding-bottom: 1.2rem; }

/* Blog ---------------------------------------------------------------- */
.card__meta { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--red); margin-bottom: .6em; }
.post-meta { font-size: .9rem; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 1em; margin-bottom: 1.6em; }
.post-layout { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 960px) { .post-layout { grid-template-columns: minmax(0, 1fr) 340px; } .post-aside { position: sticky; top: 104px; } }
.post-layout .prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.prose img, .prose figure { border-radius: var(--radius); margin-block: 1.6em; }
.prose figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .6em; }
.prose blockquote { margin: 1.6em 0; padding: .2em 0 .2em 1.2em; border-left: 4px solid var(--red); font-weight: 600; color: var(--navy-ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose :is(h2, h3) + p { margin-top: 0; }

.pagination { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: clamp(2rem, 4vw, 3rem); }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 .9em; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }
.pagination a:hover { background: var(--ice); }
.pagination .current { background: var(--navy); color: #fff; box-shadow: none; }

.searchform { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.5rem; }
.searchform input[type="search"] { flex: 1 1 220px; font: inherit; padding: .8em 1em; border: 1.5px solid #cfd8e3; border-radius: var(--radius-sm); }
.searchform input[type="search"]:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(3, 51, 113, .14); }
.page-links { display: flex; gap: .5rem; margin-top: 2rem; font-weight: 700; }
.footer__cookie { margin-top: .35rem; }
.footer__gassafe { font-size: .82rem; color: #7f92b0; margin-top: .8rem; }

/* The editor renders block content without the theme's page chrome, so give
   it the same width and background the front end uses. */
.editor-styles-wrapper { background: #fff; }
