/* ==========================================================================
   PANAN Allround Ontzorging Service — stylesheet
   Brand colours taken from the PANAN logo and flyer.
   ========================================================================== */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kaushan Script";
  src: url("../fonts/kaushan-script-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #1b2d55;
  --navy-deep: #12203f;
  --red: #e2231a;
  --red-dark: #b81a13;
  --orange: #f2661f;
  --green: #2b7a3b;
  --mist: #eef2f8;
  --line: #d5dce8;
  --ink: #18233d;
  --muted: #4a5672;
  --white: #ffffff;

  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-script: "Kaushan Script", "Brush Script MT", cursive;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --radius: 10px;
  --header-h: 96px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--red-dark);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--red);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1;
  margin: 0;
  color: inherit;
}

h1 {
  font-size: clamp(2.9rem, 6.4vw, 5.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}

h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  font-weight: 800;
  text-transform: uppercase;
}

h3 {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.1;
}

p {
  margin: 0 0 1em;
}

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

.measure {
  max-width: 62ch;
}

.visually-hidden {
  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: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: var(--red-dark);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ---------- Retro stripes (from the logo) ---------- */
.stripes {
  position: relative;
  overflow: hidden;
  height: 22px;
  background:
    linear-gradient(var(--red), var(--red)) 0 0 / 100% 7px no-repeat,
    linear-gradient(var(--navy), var(--navy)) 0 12px / 100% 3px no-repeat,
    linear-gradient(var(--red), var(--red)) 0 19px / 100% 3px no-repeat,
    var(--white);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  flex: none;
  display: block;
}

.brand img {
  width: 102px;
  height: auto;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.5rem 0.8rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-radius: 6px;
}

.site-nav a:hover {
  color: var(--red);
}

.site-nav a[aria-current="page"] {
  color: var(--red);
  box-shadow: inset 0 -3px 0 var(--red);
  border-radius: 0;
}

.header-call {
  flex: none;
}

/* Menu and language buttons share one look */
.hdr-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.4rem 0.8rem;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 8px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hdr-btn:hover {
  background: var(--mist);
}

.hdr-btn[aria-expanded="true"] {
  background: var(--navy);
  color: var(--white);
}

.nav-toggle {
  display: none;
}

/* Burger that morphs into a cross */
.burger {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 16px;
  flex: none;
}

.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transition: top 0.25s ease 0.15s, transform 0.25s ease, opacity 0.2s ease;
}

.burger span:nth-child(1) {
  top: 0;
}

.burger span:nth-child(2) {
  top: 6.75px;
}

.burger span:nth-child(3) {
  top: 13.5px;
}

.nav-toggle[aria-expanded="true"] .burger span {
  top: 6.75px;
  transition: top 0.25s ease, transform 0.25s ease 0.15s, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .burger span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .burger span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .burger span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Scroll progress line under the header */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--red);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
  pointer-events: none;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

/* Retro sunset from the logo, sitting behind the quote card */
.hero::before {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -46%;
  width: min(760px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-linear-gradient(to bottom, transparent 0 34px, var(--navy) 34px 42px),
    radial-gradient(circle at 50% 30%, var(--orange) 0%, var(--red) 62%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem);
}

.hero h1 {
  max-width: 11ch;
}

.ribbon {
  display: inline-block;
  margin: 1.4rem 0 1.6rem -0.3rem;
  padding: 0.3em 0.9em 0.42em;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-script);
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  line-height: 1.15;
  transform: rotate(-3deg);
  box-shadow: 7px 7px 0 var(--navy-deep);
  animation: ribbon-in 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2) 0.45s both;
}

@keyframes ribbon-in {
  from {
    opacity: 0;
    transform: translateX(-40px) rotate(-9deg);
  }
  to {
    opacity: 1;
    transform: rotate(-3deg);
  }
}

.hero-lead {
  max-width: 34rem;
  font-size: 1.2rem;
  line-height: 1.55;
  color: #dfe6f3;
  margin-bottom: 1.8rem;
}

/* Quick quote picker */
.picker {
  position: relative;
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: 10px 10px 0 var(--navy-deep);
}

.picker h2 {
  font-size: 2rem;
  color: var(--navy);
  text-transform: none;
}

.picker-help {
  margin: 0.5rem 0 1.1rem;
  color: var(--muted);
  font-size: 1rem;
}

.picker fieldset {
  margin: 0 0 1.2rem;
  padding: 0;
  border: 0;
}

.chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.chip {
  position: relative;
}

.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.chip label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.45rem 0.7rem 0.45rem 0.45rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.15;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.chip label:hover {
  border-color: var(--navy);
}

.chip input:focus-visible + label {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.chip input:checked + label {
  border-color: var(--navy);
  background: var(--mist);
}

.chip-dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--white);
  flex: none;
}

.chip-dot .icon {
  width: 20px;
  height: 20px;
}

.chip input:checked + label .chip-dot {
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--navy);
}

.picker .btn {
  width: 100%;
}

/* Service colours */
.c-ontruiming { background: var(--red); }
.c-verhuizing { background: var(--navy); }
.c-schoonmaak { background: var(--green); }
.c-oplevering { background: var(--orange); }
.c-klussen { background: var(--navy); }
.c-ophalen { background: var(--red); }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(2.6rem, 6vw, 4.2rem) clamp(2.4rem, 5vw, 3.6rem);
}

.page-hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  max-width: 18ch;
}

.page-hero p {
  max-width: 40rem;
  margin: 1.1rem 0 0;
  font-size: 1.2rem;
  color: #dfe6f3;
}

.page-hero .ribbon {
  margin-bottom: 0;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.section-mist {
  background: var(--mist);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-head h2 {
  color: var(--navy);
}

.section-head p {
  margin: 1rem 0 0;
  font-size: 1.15rem;
  color: var(--muted);
}

/* ---------- Service tiles (home) ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.4rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.service-top {
  position: relative;
  padding: 2.6rem 1.25rem 0.9rem;
  background: var(--navy);
  border-radius: var(--radius) var(--radius) 0 0;
  text-align: center;
}

.service-badge {
  position: absolute;
  top: -34px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-left: -34px;
  border-radius: 50%;
  border: 4px solid var(--white);
  color: var(--white);
}

.service-badge .icon {
  width: 32px;
  height: 32px;
}

.service h3 {
  font-size: 1.65rem;
  color: var(--white);
}

.service h3 a {
  color: inherit;
  text-decoration: none;
}

.service h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.service-body {
  flex: 1;
  padding: 1.1rem 1.35rem 1.4rem;
  text-align: center;
  color: var(--muted);
}

.service-body p {
  margin: 0;
}

/* ---------- Why PANAN ---------- */
.why {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.why-intro h2 {
  color: var(--navy);
}

.why-intro .lead {
  margin-top: 1.2rem;
  font-size: 1.2rem;
}

.why-intro .script {
  margin-top: 1.6rem;
}

.script {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.25;
  color: var(--red-dark);
}

.reasons {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 3px solid var(--navy);
}

.reasons li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0 0.9rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.reasons .tick {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  margin-top: 0.1rem;
}

.reasons .tick .icon {
  width: 1.2rem;
  height: 1.2rem;
  stroke-width: 2.6;
}

.reasons h3 {
  font-size: 1.45rem;
  color: var(--navy);
}

.reasons p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

/* ---------- Business band ---------- */
.biz {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.biz h2 {
  margin-bottom: 1.2rem;
}

.biz p {
  color: #dfe6f3;
}

.biz .btn {
  margin-top: 0.8rem;
}

.biz-panel {
  background: var(--navy-deep);
  border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-top: 6px solid var(--red);
}

.biz-panel h3 {
  margin-bottom: 1rem;
}

.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: flex;
  gap: 0.7rem;
  padding: 0.45rem 0;
}

.ticks .icon {
  margin-top: 0.15rem;
  color: var(--red);
  stroke-width: 2.6;
}

.section-navy .ticks .icon,
.biz-panel .ticks .icon {
  color: #ff6b5f;
}

/* ---------- Area + contact band ---------- */
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.contact-band h2 {
  color: var(--navy);
  margin-bottom: 1.1rem;
}

.call-card {
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: 10px 10px 0 var(--red);
}

.call-card h3 {
  color: var(--navy);
}

.call-card p {
  color: var(--muted);
  margin-top: 0.6rem;
}

.big-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.4rem 0 0.8rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 3.2rem);
  line-height: 1;
  color: var(--navy);
  text-decoration: none;
}

.big-phone .icon {
  width: 0.9em;
  height: 0.9em;
  color: var(--red);
}

.big-phone:hover {
  color: var(--red);
}

.contact-lines {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-lines li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0;
}

.contact-lines .icon {
  color: var(--red);
}

.contact-lines a {
  color: var(--navy);
  font-weight: 600;
}

/* ---------- Services detail page ---------- */
.svc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.svc-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem 0.35rem 0.35rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--line);
}

.svc-nav a:hover {
  border-color: var(--navy);
}

.svc-nav .chip-dot {
  width: 30px;
  height: 30px;
}

.svc-nav .chip-dot .icon {
  width: 18px;
  height: 18px;
}

.svc-row {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.svc-row:last-child {
  border-bottom: 0;
}

.svc-badge {
  display: grid;
  place-items: center;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  color: var(--white);
  border: 6px solid var(--white);
  box-shadow: 0 0 0 3px var(--navy);
}

.svc-badge .icon {
  width: 3.6rem;
  height: 3.6rem;
}

.svc-row h2 {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.svc-row .btn {
  margin-top: 0.4rem;
}

.svc-side {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}

.svc-side h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

/* ---------- Business page ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.split h2 {
  color: var(--navy);
  margin-bottom: 1.2rem;
}

.audience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience li {
  padding: 1.2rem 1.3rem;
  background: var(--white);
  border-left: 5px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
}

.audience li:nth-child(3n + 2) {
  border-left-color: var(--navy);
}

.audience li:nth-child(3n) {
  border-left-color: var(--green);
}

/* ---------- About page: werkwijze ---------- */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 1.75rem;
  left: 1.75rem;
  right: calc((100% - 6rem) / 5 - 1.75rem);
  height: 3px;
  background: var(--red);
}

.steps li {
  position: relative;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--navy);
  border: 4px solid var(--mist);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  position: relative;
}

.steps h3 {
  font-size: 1.45rem;
  color: var(--navy);
}

.steps p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.values h3 {
  color: var(--navy);
  padding-top: 0.8rem;
  border-top: 3px solid var(--navy);
}

.values p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.motto {
  text-align: center;
}

.motto h2 {
  font-family: var(--font-script);
  font-weight: 400;
  text-transform: none;
  line-height: 1.25;
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--white);
}

.motto p {
  margin: 1rem auto 1.8rem;
  max-width: 36rem;
  color: #dfe6f3;
}

.motto .btn-row {
  justify-content: center;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.form {
  display: grid;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.field > label,
.field legend {
  display: block;
  padding: 0;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--navy);
}

.field .opt {
  font-weight: 400;
  color: var(--muted);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(242, 102, 31, 0.45);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--red);
}

.field fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.hint {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.choice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.choice-list.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form .chip label {
  font-size: 0.95rem;
}

.radio label {
  justify-content: center;
  padding-inline: 0.9rem;
}

.form-error {
  margin: 0;
  padding: 0.8rem 1rem;
  border-left: 5px solid var(--red);
  background: #fdecea;
  color: #8c1510;
  font-weight: 600;
}

.form-status {
  padding: 1.2rem 1.3rem;
  border-left: 5px solid var(--green);
  background: #e9f4ec;
}

.form-status h3 {
  font-size: 1.45rem;
  color: var(--green);
  margin-bottom: 0.4rem;
}

.form-status p:last-child {
  margin-bottom: 0;
}

.form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.2rem;
}

.form-submit .hint {
  margin: 0;
}

.aside-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2rem);
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.aside-card h2 {
  font-size: 2rem;
  text-transform: none;
}

.aside-card .big-phone {
  color: var(--white);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  margin-top: 0.9rem;
}

.aside-card .big-phone:hover {
  color: #ffd2c4;
}

.aside-card .contact-lines a {
  color: var(--white);
}

.aside-card .contact-lines .icon {
  color: #ff6b5f;
}

.aside-card .script {
  color: #ffb199;
  margin: 1.4rem 0 0;
  font-size: 1.45rem;
}

/* ---------- 404 ---------- */
.notfound {
  text-align: center;
  padding-block: clamp(4rem, 12vw, 8rem);
}

.notfound h1 {
  color: var(--navy);
  max-width: none;
}

.notfound p {
  max-width: 34rem;
  margin: 1.2rem auto 2rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.notfound .btn-row {
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #c9d3e6;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.footer-logo {
  display: block;
  background: var(--white);
  border-radius: 14px;
  padding: 0.8rem;
}

.footer-logo img {
  width: 150px;
  height: auto;
}

.footer-about .script {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.footer-about p {
  max-width: 30rem;
}

.site-footer h2 {
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: none;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  padding: 0.2rem 0;
}

.site-footer a {
  color: #e4eaf5;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-footer .contact-lines .icon {
  color: #ff6b5f;
}

.site-footer .contact-lines a {
  color: #e4eaf5;
  font-weight: 400;
}

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-block: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}

.footer-bottom p {
  margin: 0;
}

/* ---------- Mobile action bar ---------- */
.action-bar {
  display: none;
}

/* ---------- Language dropdown ---------- */
.lang {
  position: relative;
  flex: none;
}

.lang-toggle .icon {
  width: 1.3em;
  height: 1.3em;
}

.lang-toggle .chevron {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.25s ease;
}

.lang-toggle[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 55;
  display: none;
  min-width: 230px;
  padding: 0.45rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(18, 32, 63, 0.2);
}

.lang-menu.is-open {
  display: block;
}

.lang-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.lang-menu a:hover {
  background: var(--mist);
  color: var(--red-dark);
}

.lang-menu a[aria-current="true"] {
  background: var(--mist);
}

.lang-badge {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
}

.lang-menu a[aria-current="true"] .lang-badge {
  background: var(--red);
}

.lang-check {
  margin-left: auto;
  color: var(--red);
  stroke-width: 2.6;
}

.site-header {
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 18px rgba(18, 32, 63, 0.12);
}

/* French headline is longer */
html[lang="fr"] .hero h1 {
  max-width: 17ch;
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
}

.about-logo {
  justify-self: center;
}

/* Spam honeypot: hidden from people, visible to bots */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form.is-sending button[type="submit"] {
  opacity: 0.75;
  cursor: progress;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: auto minmax(0, 1fr);
  }

  :root {
    --header-h: 76px;
  }

  .brand img {
    width: 80px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .lang {
    position: static;
  }

  .lang-menu {
    top: 100%;
    left: 0;
    right: 0;
    min-width: 0;
    padding: 0.5rem var(--gutter) 1rem;
    border: 0;
    border-bottom: 3px solid var(--red);
    border-radius: 0;
    box-shadow: 0 14px 24px rgba(18, 32, 63, 0.18);
  }

  .lang-menu a {
    padding: 0.8rem 0.25rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.2rem;
  }

  .lang-menu a[aria-current="true"] {
    background: transparent;
    box-shadow: inset 4px 0 0 var(--red);
    padding-left: 0.9rem;
  }

  .header-call {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    background: var(--white);
    border-bottom: 3px solid var(--red);
    box-shadow: 0 14px 24px rgba(18, 32, 63, 0.18);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1rem;
  }

  .site-nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.4rem;
  }

  .site-nav a[aria-current="page"] {
    box-shadow: inset 4px 0 0 var(--red);
    padding-left: 0.9rem;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .lang {
    order: 2;
    margin-left: auto;
  }

  .nav-toggle {
    order: 3;
    margin-left: 0;
  }

  /* Sticky call / quote bar on phones and tablets */
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  .action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(18, 32, 63, 0.12);
  }

  .action-bar .btn {
    width: 100%;
    font-size: 1.15rem;
    padding-inline: 0.8rem;
  }
}

@media (max-width: 980px) {
  .hero-inner,
  .why,
  .biz,
  .contact-band,
  .split,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero::before {
    width: 120vw;
    right: -40%;
    bottom: -30%;
    opacity: 0.55;
  }

  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .svc-row {
    grid-template-columns: 6rem minmax(0, 1fr);
  }

  .svc-side {
    grid-column: 2;
  }

  .svc-badge {
    width: 5.5rem;
    height: 5.5rem;
    border-width: 4px;
  }

  .svc-badge .icon {
    width: 2.6rem;
    height: 2.6rem;
  }

  .audience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
  }

  .steps::before {
    top: 1.75rem;
    bottom: 1.75rem;
    left: 1.7rem;
    right: auto;
    width: 3px;
    height: auto;
  }

  .steps li {
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    column-gap: 1.1rem;
  }

  .steps li::before {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .aside-card {
    position: static;
  }

}

@media (max-width: 640px) {
  .services,
  .audience,
  .values,
  .form-row,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .chips,
  .choice-list {
    grid-template-columns: 1fr 1fr;
  }

  .svc-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .svc-side {
    grid-column: auto;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
  }

  .btn-row .btn {
    flex: 1 1 100%;
  }
}

@media (max-width: 420px) {
  .nav-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .hdr-btn {
    padding-inline: 0.6rem;
    gap: 0.35rem;
  }
}

@media (max-width: 380px) {
  .chips,
  .choice-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Motion
   One page-load sequence per page, then reveals as sections scroll in.
   Everything here is switched off for prefers-reduced-motion.
   ========================================================================== */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateX(48px) rotate(3deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sun-up {
  from {
    opacity: 0;
    transform: translateY(24%);
  }
}

@keyframes draw-x {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes stamp {
  0% {
    transform: scale(0) rotate(-25deg);
  }
  60% {
    transform: scale(1.15) rotate(6deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

@keyframes pop {
  40% {
    transform: scale(1.25);
  }
}

@keyframes wiggle {
  25% {
    transform: rotate(-14deg);
  }
  75% {
    transform: rotate(10deg);
  }
}

@keyframes ring {
  20% {
    transform: rotate(-16deg);
  }
  40% {
    transform: rotate(14deg);
  }
  60% {
    transform: rotate(-10deg);
  }
  80% {
    transform: rotate(6deg);
  }
}

@keyframes drive {
  0% {
    transform: translateX(0);
  }
  45% {
    transform: translateX(7px);
  }
  46% {
    transform: translateX(-9px);
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* Page load: home hero */

.hero-lead {
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s both;
}

.hero .btn-row {
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.72s both;
}

.picker {
  animation: card-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both;
}

.hero::before {
  animation: sun-up 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* Page load: sub page hero */

.page-hero p {
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.18s both;
}

.page-hero .svc-nav {
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both;
}

/* The logo's racing stripes draw in under every hero */
.stripes {
  animation: draw-x 1.1s cubic-bezier(0.6, 0, 0.2, 1) 0.25s both;
}

/* Scroll reveal (only when JavaScript runs, see boot.js) */
.js [data-reveal],
.js [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js [data-reveal] {
  transition-delay: calc(var(--d, 0) * 140ms);
}

.js [data-reveal-group] > * {
  transition-delay: calc(var(--i, 0) * 90ms);
}

.js [data-reveal].is-visible,
.js [data-reveal-group].is-visible > * {
  opacity: 1;
  transform: none;
}

/* Script headings write themselves in from left to right */
.js [data-reveal="write"] {
  opacity: 1;
  transform: none;
  clip-path: inset(-25% 100% -25% 0);
  transition: clip-path 1.3s cubic-bezier(0.6, 0, 0.2, 1);
}

.js [data-reveal="write"].is-visible {
  clip-path: inset(-25% 0 -25% 0);
}

/* Service badges and ticks land like stickers */
.js .services:not(.is-visible) .service-badge,
.js .reasons:not(.is-visible) .tick,
.js .svc-row:not(.is-visible) .svc-badge {
  transform: scale(0);
}

.js .services.is-visible .service-badge,
.js .reasons.is-visible .tick {
  animation: stamp 0.6s cubic-bezier(0.3, 1.4, 0.5, 1) both;
  animation-delay: calc(var(--i, 0) * 90ms + 0.25s);
}

.js .svc-row.is-visible .svc-badge {
  animation: stamp 0.65s cubic-bezier(0.3, 1.4, 0.5, 1) 0.15s both;
}

/* Werkwijze: the line draws, then each step pops in turn */
.js .steps::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.5s cubic-bezier(0.6, 0, 0.2, 1) 0.15s;
}

.js .steps.is-visible::before {
  transform: scaleX(1);
}

.js .steps > * {
  transition-delay: calc(var(--i, 0) * 280ms + 0.1s);
}

.js .steps:not(.is-visible) li::before {
  transform: scale(0);
}

.js .steps.is-visible li::before {
  animation: stamp 0.55s cubic-bezier(0.3, 1.4, 0.5, 1) both;
  animation-delay: calc(var(--i, 0) * 280ms + 0.15s);
}

@media (max-width: 980px) {
  .js .steps::before {
    transform: scaleY(0);
    transform-origin: center top;
  }

  .js .steps.is-visible::before {
    transform: scaleY(1);
  }
}

/* Responses to the visitor */
.chip input:checked + label .chip-dot {
  animation: pop 0.35s ease;
}

.form-status:not([hidden]) {
  animation: slide-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.form-error:not([hidden]) {
  animation: slide-in 0.3s ease both;
}

@media (hover: hover) {
  .btn {
    transition:
      background-color 0.15s ease,
      color 0.15s ease,
      border-color 0.15s ease,
      transform 0.15s ease,
      box-shadow 0.15s ease;
  }

  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 0 rgba(18, 32, 63, 0.35);
  }

  .btn:active {
    transform: translateY(0);
    box-shadow: none;
  }

  .header-call:hover .icon,
  .big-phone:hover .icon,
  .btn:hover .icon {
    animation: ring 0.6s ease;
  }

  .service:hover .service-badge .icon,
  .svc-nav a:hover .chip-dot .icon {
    animation: wiggle 0.5s ease;
  }

  .service:hover .c-verhuizing .icon,
  .svc-nav a:hover .c-verhuizing .icon,
  .chip label:hover .c-verhuizing .icon {
    animation: drive 0.8s ease;
  }
}

/* Safety nets: no motion preference, or main.js failed to load */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js [data-reveal-group] > *,
  .js .services .service-badge,
  .js .reasons .tick,
  .js .svc-row .svc-badge,
  .js .steps::before,
  .js .steps li::before {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

.reveal-all [data-reveal],
.reveal-all [data-reveal-group] > *,
.reveal-all .services .service-badge,
.reveal-all .reasons .tick,
.reveal-all .svc-row .svc-badge,
.reveal-all .steps::before,
.reveal-all .steps li::before {
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
}

/* ==========================================================================
   Motion, part 2
   ========================================================================== */
@keyframes word-up {
  from {
    opacity: 0;
    transform: translateY(0.5em) rotate(5deg);
  }
}

@keyframes truck-run {
  from {
    transform: translateX(-56px);
  }
  to {
    transform: translateX(calc(100vw + 10px));
  }
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes sun-stripes {
  to {
    background-position: 0 -42px, 0 0;
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes item-in {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
}

@keyframes ring-idle {
  0%,
  12%,
  100% {
    transform: rotate(0);
  }
  2% {
    transform: rotate(-16deg);
  }
  4% {
    transform: rotate(14deg);
  }
  6% {
    transform: rotate(-10deg);
  }
  8% {
    transform: rotate(6deg);
  }
}

/* Headlines arrive word by word */
.hero h1 .w,
.page-hero h1 .w {
  display: inline-block;
  animation: word-up 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero h1 .w:nth-child(1), .page-hero h1 .w:nth-child(1) { animation-delay: 0.05s; }
.hero h1 .w:nth-child(2), .page-hero h1 .w:nth-child(2) { animation-delay: 0.12s; }
.hero h1 .w:nth-child(3), .page-hero h1 .w:nth-child(3) { animation-delay: 0.19s; }
.hero h1 .w:nth-child(4), .page-hero h1 .w:nth-child(4) { animation-delay: 0.26s; }
.hero h1 .w:nth-child(5), .page-hero h1 .w:nth-child(5) { animation-delay: 0.33s; }
.hero h1 .w:nth-child(6), .page-hero h1 .w:nth-child(6) { animation-delay: 0.4s; }
.hero h1 .w:nth-child(7), .page-hero h1 .w:nth-child(7) { animation-delay: 0.47s; }
.hero h1 .w:nth-child(n + 8), .page-hero h1 .w:nth-child(n + 8) { animation-delay: 0.54s; }

/* Quote-card options drop in after the card lands */
.picker .chip {
  animation: rise 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.picker .chip:nth-child(1) { animation-delay: 0.75s; }
.picker .chip:nth-child(2) { animation-delay: 0.81s; }
.picker .chip:nth-child(3) { animation-delay: 0.87s; }
.picker .chip:nth-child(4) { animation-delay: 0.93s; }
.picker .chip:nth-child(5) { animation-delay: 0.99s; }
.picker .chip:nth-child(6) { animation-delay: 1.05s; }

/* The sunset's slats drift slowly upward */
.hero::before {
  background-position: 0 0, 0 0;
  animation:
    sun-up 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) both,
    sun-stripes 6s linear 1.8s infinite;
}

/* A little PANAN van drives along the stripes once */
.stripes::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 22px;
  background: url("../img/truck.svg") center / contain no-repeat;
  transform: translateX(-56px);
  animation: truck-run 5.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) 1.4s both;
}

/* Service ticker under the home hero */
.ticker {
  overflow: hidden;
  padding: 0.85rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-right: 2.6rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--navy);
}

.ticker-slogan {
  font-family: var(--font-script);
  font-weight: 400;
  text-transform: none;
  color: var(--red-dark);
}

/* Section headings get a red bar that draws in */
.section-head h2::after,
.why-intro h2::after,
.van-text h2::after,
.split h2::after,
.contact-band h2::after,
.biz h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  margin-top: 0.9rem;
  border-radius: 3px;
  background: var(--red);
  transform-origin: left center;
  transition: transform 0.8s cubic-bezier(0.6, 0, 0.2, 1) 0.35s;
}

.js [data-reveal]:not(.is-visible) > h2::after {
  transform: scaleX(0);
}

/* Value cards: the top rule draws across */
.js .values h3 {
  border-top-width: 0;
  padding-top: calc(0.8rem + 3px);
  background: linear-gradient(var(--navy), var(--navy)) 0 0 / 0% 3px no-repeat;
  transition: background-size 0.9s cubic-bezier(0.6, 0, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 110ms + 0.2s);
}

.js .values.is-visible h3 {
  background-size: 100% 3px;
}

/* Service tiles: red bar slides under the title on hover */
.service-top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.service:hover .service-top::after,
.service:focus-within .service-top::after {
  transform: scaleX(1);
}

/* The phone numbers ring now and then */
.call-card .big-phone .icon,
.aside-card .big-phone .icon {
  animation: ring-idle 5s ease 2.5s infinite;
}

/* Menus open with a short drop and staggered items */
.site-nav.is-open,
.lang-menu.is-open {
  animation: menu-in 0.25s ease both;
}

.site-nav.is-open li,
.lang-menu.is-open li {
  animation: item-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.site-nav.is-open li:nth-child(2), .lang-menu.is-open li:nth-child(2) { animation-delay: 0.04s; }
.site-nav.is-open li:nth-child(3), .lang-menu.is-open li:nth-child(3) { animation-delay: 0.08s; }
.site-nav.is-open li:nth-child(4) { animation-delay: 0.12s; }
.site-nav.is-open li:nth-child(5) { animation-delay: 0.16s; }

@media (hover: hover) {
  /* Light sweeps across red buttons */
  .btn-red {
    position: relative;
    overflow: hidden;
  }

  .btn-red::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
    pointer-events: none;
  }

  .btn-red:hover::after {
    transform: translateX(120%);
  }

  .big-phone:hover .icon {
    animation: ring 0.6s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] > h2::after {
    transform: none !important;
  }

  .js .values h3 {
    background-size: 100% 3px !important;
  }

  .stripes::after {
    display: none;
  }
}

.reveal-all [data-reveal] > h2::after {
  transform: none !important;
}

.reveal-all .values h3 {
  background-size: 100% 3px !important;
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.stars {
  display: inline-flex;
  gap: 2px;
  color: #cdd5e3;
}

.stars .star {
  width: 1.25rem;
  height: 1.25rem;
}

.stars .star.on {
  color: var(--orange);
}

.reviews-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.reviews-head .section-head {
  margin-bottom: 0;
}

.review-summary {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.3rem 1.6rem;
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 14px;
  box-shadow: 8px 8px 0 var(--red);
  animation: stamp 0.6s cubic-bezier(0.3, 1.4, 0.5, 1) both;
}

.review-summary[hidden] {
  display: none;
}

.summary-score {
  margin: 0;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
}

.summary-max {
  font-size: 1.6rem;
  color: var(--muted);
}

.summary-count {
  margin: 0.3rem 0 0.7rem;
  color: var(--muted);
}

.review-summary .stars .star {
  width: 1.5rem;
  height: 1.5rem;
}

.review-summary .btn {
  min-height: 42px;
  font-size: 1.1rem;
}

.reviews-status {
  margin: 0 0 1rem;
  padding: 1.2rem 1.4rem;
  background: var(--white);
  border-left: 5px solid var(--navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.1rem;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}

.review-card::before {
  content: "\201C";
  position: absolute;
  top: -0.35rem;
  right: 1.1rem;
  font-family: var(--font-script);
  font-size: 5rem;
  line-height: 1;
  color: var(--red);
  opacity: 0.18;
  pointer-events: none;
}

.review-text {
  flex: 1;
  margin: 0.9rem 0 1.1rem;
}

.review-text p {
  margin: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.review-meta {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.review-who {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.6rem;
  margin: 0;
  color: var(--navy);
}

.review-who span {
  color: var(--muted);
}

.review-extra {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.review-service {
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--navy);
  font-weight: 600;
}

.reviews-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.review-form-wrap {
  max-width: 820px;
}

/* Star rating input (keyboard: arrow keys move between stars) */
.star-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.star-field legend {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--navy);
}

.star-input {
  display: inline-flex;
  gap: 0.2rem;
}

.star-input input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.star-input label {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 8px;
  color: #cdd5e3;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-input .star {
  width: 2.4rem;
  height: 2.4rem;
}

.star-input input:focus-visible + label {
  outline: 3px solid var(--orange);
  outline-offset: 1px;
}

.star-input input:checked + label {
  color: var(--orange);
}

.star-input:has(input[value="2"]:checked) label:nth-of-type(-n + 2),
.star-input:has(input[value="3"]:checked) label:nth-of-type(-n + 3),
.star-input:has(input[value="4"]:checked) label:nth-of-type(-n + 4),
.star-input:has(input[value="5"]:checked) label:nth-of-type(-n + 5) {
  color: var(--orange);
}

@media (hover: hover) {
  .star-input:hover label {
    color: #cdd5e3;
  }

  .star-input:has(label:nth-of-type(1):hover) label:nth-of-type(-n + 1),
  .star-input:has(label:nth-of-type(2):hover) label:nth-of-type(-n + 2),
  .star-input:has(label:nth-of-type(3):hover) label:nth-of-type(-n + 3),
  .star-input:has(label:nth-of-type(4):hover) label:nth-of-type(-n + 4),
  .star-input:has(label:nth-of-type(5):hover) label:nth-of-type(-n + 5) {
    color: #f7a26f;
  }

  .star-input label:hover {
    transform: scale(1.12);
  }
}

.star-input input:checked + label .star {
  animation: pop 0.35s ease;
}

/* Selects and checkbox rows */
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 2.6rem 0.65rem 0.85rem;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2d55' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 9.5 12 15l5.5-5.5'/%3E%3C/svg%3E") no-repeat right 0.8rem center / 1.2rem;
  color: var(--ink);
  font: inherit;
  appearance: none;
}

.field select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(242, 102, 31, 0.45);
}

.field.check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.field.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0.15rem 0 0;
  accent-color: var(--navy);
}

.field.check > label {
  margin: 0;
  font-weight: 400;
  color: var(--ink);
}

.field.check input[aria-invalid="true"] {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.field-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.counter {
  font-variant-numeric: tabular-nums;
}

/* Extra button styles (admin) */
.btn-outline {
  background: var(--white);
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--mist);
  color: var(--navy);
}

.btn-danger {
  background: var(--white);
  border-color: var(--red);
  color: var(--red-dark);
}

.btn-danger:hover {
  background: var(--red);
  color: var(--white);
}

/* ==========================================================================
   Admin
   ========================================================================== */
.admin-body {
  background: var(--mist);
  padding-bottom: 0;
}

.admin-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
}

.admin-view {
  margin-left: auto;
  text-decoration: none;
}

.admin-main {
  padding-block: clamp(2rem, 5vw, 3.5rem);
  min-height: 70vh;
}

.admin-main h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.admin-note {
  font-size: 1.1rem;
  color: var(--muted);
}

.admin-card {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.admin-card h1 {
  margin-bottom: 0.6rem;
}

.admin-login .admin-card {
  max-width: 440px;
  margin-inline: auto;
  border-top: 6px solid var(--red);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.admin-stats li {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.3rem;
  background: var(--white);
  border-radius: 12px;
  border-left: 5px solid var(--navy);
}

.admin-stats li:first-child {
  border-left-color: var(--red);
}

.admin-stats li:last-child {
  border-left-color: var(--orange);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
}

.stat-label {
  margin-top: 0.3rem;
  color: var(--muted);
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.admin-tabs [role="tab"] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.45rem 1.1rem;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

.admin-tabs [role="tab"][aria-selected="true"] {
  background: var(--navy);
  color: var(--white);
}

.tab-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 0.95rem;
}

.admin-empty {
  padding: 1.2rem 1.4rem;
  background: var(--white);
  border-radius: 12px;
  color: var(--muted);
}

.admin-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-item {
  padding: 1.25rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  animation: rise 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.admin-item-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.admin-who {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.6rem;
  margin: 0;
  color: var(--navy);
}

.admin-who span {
  color: var(--muted);
}

.admin-text {
  margin: 0.75rem 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.admin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.1rem;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.admin-actions .btn {
  min-height: 42px;
  padding: 0.45rem 1.1rem;
  font-size: 1.1rem;
}

.admin-toast {
  position: fixed;
  left: 50%;
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  max-width: calc(100vw - 2rem);
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(18, 32, 63, 0.3);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.admin-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.admin-toast.is-error {
  background: var(--red-dark);
}

/* Seven menu items: the header may use more width than the page content,
   links never break inside, and on most desktops the phone button is an icon */
.site-header .wrap {
  max-width: 1480px;
}

.site-nav a {
  white-space: nowrap;
}

@media (max-width: 1540px) and (min-width: 1101px) {
  .header-inner {
    gap: 0.9rem;
  }

  .site-nav a {
    padding-inline: 0.5rem;
    font-size: 1.15rem;
  }

  .header-call {
    width: 48px;
    padding: 0;
  }

  .header-call span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (max-width: 1240px) and (min-width: 1101px) {
  .brand img {
    width: 84px;
  }

  .site-nav a {
    padding-inline: 0.4rem;
    font-size: 1.08rem;
  }
}

@media (max-width: 980px) {
  .review-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 640px) {
  .review-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-stats {
    gap: 0.5rem;
  }

  .admin-stats li {
    padding: 0.8rem 0.75rem;
  }

  .stat-num {
    font-size: 1.9rem;
  }

  .stat-label {
    font-size: 0.85rem;
    line-height: 1.2;
  }

  .review-summary {
    gap: 1rem;
    padding: 1.1rem 1.2rem;
  }

  .summary-score {
    font-size: 3.2rem;
  }

  .star-input label {
    width: 2.6rem;
    height: 2.6rem;
  }

  .star-input .star {
    width: 2.1rem;
    height: 2.1rem;
  }

  .admin-view span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .admin-title {
    font-size: 1.35rem;
  }
}

/* ==========================================================================
   Before / after sliders
   ========================================================================== */
.ba-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ba-item {
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}

.ba {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--ratio, 4 / 3);
  background: var(--navy);
  border-radius: 14px;
  box-shadow: 8px 8px 0 var(--navy);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.ba-after {
  clip-path: inset(0 0 0 var(--pos));
}

.ba-label {
  position: absolute;
  top: 0.9rem;
  z-index: 2;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.ba-label-before {
  left: 0.9rem;
  background: var(--navy);
}

.ba-label-after {
  right: 0.9rem;
  background: var(--red);
}

.ba-label.is-hidden {
  opacity: 0;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 3;
  width: 0;
  pointer-events: none;
}

.ba-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -2px;
  width: 4px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(18, 32, 63, 0.25), 0 0 14px rgba(18, 32, 63, 0.35);
}

/* Round grip with arrows pointing both ways */
.ba-knob {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 54px;
  height: 54px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 6px 16px rgba(18, 32, 63, 0.35);
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease;
}

.ba-knob::before,
.ba-knob::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 0 3px 3px;
}

.ba-knob::before {
  left: 11px;
  transform: translateY(-50%) rotate(45deg);
}

.ba-knob::after {
  right: 11px;
  transform: translateY(-50%) rotate(-135deg);
}

.ba.is-dragging .ba-knob,
.ba:hover .ba-knob {
  transform: translate(-50%, -50%) scale(1.08);
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.ba:has(.ba-range:focus-visible) .ba-knob {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

@media (max-width: 1060px) {
  .ba-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ba-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 780px) {

  .ba {
    box-shadow: 6px 6px 0 var(--navy);
  }

  .ba-knob {
    width: 48px;
    height: 48px;
  }
}

/* ==========================================================================
   Van section (home)
   ========================================================================== */
.van {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.van-text h2 {
  color: var(--navy);
  margin-bottom: 1.2rem;
}

.van-text p {
  font-size: 1.15rem;
  margin-bottom: 1.6rem;
}

/* Large photo with the brand's hard shadow, smaller photo overlapping it */
.van-photos {
  position: relative;
  padding: 0 0 18% 0;
}

.van-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
}

.van-photo-1 {
  width: 88%;
  margin-left: auto;
  aspect-ratio: 4 / 3;
  box-shadow: 10px 10px 0 var(--navy);
}

.van-photo-2 {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--white);
  box-shadow: 8px 8px 0 var(--red);
}

.js .van-photos:not(.is-visible) .van-photo-2 {
  transform: translate(-24px, 24px) rotate(-4deg);
  opacity: 0;
}

.van-photo-2 {
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s, opacity 0.6s ease 0.45s;
}

@media (hover: hover) {
  .van-photos:hover .van-photo-2 {
    transform: rotate(-2deg) scale(1.03);
  }
}

@media (max-width: 980px) {
  .van {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .van-photos .van-photo-2 {
    transform: none !important;
    opacity: 1 !important;
  }
}

.reveal-all .van-photos .van-photo-2 {
  transform: none !important;
  opacity: 1 !important;
}

/* ==========================================================================
   Review editing
   ========================================================================== */
.review-edited {
  font-style: italic;
}

.admin-item.is-editing {
  border: 2px solid var(--navy);
  box-shadow: 6px 6px 0 var(--navy);
}

.admin-edit {
  gap: 1.1rem;
}

.admin-edit h3 {
  font-size: 1.5rem;
  color: var(--navy);
}

.admin-edit textarea {
  min-height: 9rem;
}

.admin-original {
  margin: 0 0 1rem;
  padding: 0.7rem 1rem;
  background: var(--mist);
  border-radius: 8px;
  font-size: 0.95rem;
}

.admin-original summary {
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.admin-original p {
  margin: 0.6rem 0 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
  color: var(--muted);
}

/* ---------- FAQ (/faq, /en/faq, /fr/faq) ---------- */
.page-hero .faq-updated {
  margin-top: 1.4rem;
  font-size: 1rem;
  color: #b9c6de;
}

.faq-layout {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.faq-toc {
  position: sticky;
  top: calc(var(--header-h, 96px) + 1.5rem);
}

.faq-toc h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  color: var(--navy);
}

.faq-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 3px solid var(--line);
}

.faq-toc a {
  display: block;
  margin-left: -3px;
  padding: 0.4rem 0 0.4rem 1rem;
  border-left: 3px solid transparent;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.faq-toc a:hover,
.faq-toc a:focus-visible {
  color: var(--red);
  border-left-color: var(--red);
}

.faq-group {
  scroll-margin-top: calc(var(--header-h, 96px) + 1rem);
}

.faq-group + .faq-group {
  margin-top: clamp(2.75rem, 5vw, 3.75rem);
}

.faq-group > h2 {
  margin: 0 0 0.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 3px solid var(--red);
  color: var(--navy);
}

.faq-item {
  padding-block: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  color: var(--ink);
  scroll-margin-top: calc(var(--header-h, 96px) + 1rem);
}

.faq-item p {
  max-width: 68ch;
  margin: 0;
}

@media (max-width: 980px) {
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-toc {
    position: static;
  }

  .faq-toc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
    border-left: 0;
  }

  .faq-toc a {
    margin-left: 0;
    padding: 0.3rem 0;
    border-left: 0;
  }
}

/* ---------- Blog (/blog, /en/blog, /fr/blog) ---------- */
.page-hero .crumbs {
  margin: 0 0 0.9rem;
  font-size: 1rem;
  color: #b9c6de;
}

.page-hero .crumbs a {
  color: #dfe6f3;
}

.page-hero .crumbs a:hover {
  color: var(--white);
}

.post-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 8px;
}

.post-card h2 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.15;
}

.post-card h2 a {
  color: var(--navy);
  text-decoration: none;
}

.post-card h2 a:hover {
  color: var(--red);
  text-decoration: underline;
}

.post-card p {
  margin: 0;
}

.post-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.blog-empty {
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.article-body {
  max-width: 68ch;
}

.article-body h2 {
  margin: 2.2rem 0 0.6rem;
  color: var(--navy);
}

.article-body h3 {
  margin: 1.6rem 0 0.4rem;
  font-size: 1.35rem;
  color: var(--ink);
}

.article-body ul,
.article-body ol {
  padding-left: 1.3rem;
}

.article-body li {
  margin: 0.35rem 0;
}

.article-faq {
  max-width: 68ch;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.article-faq > h2 {
  padding-bottom: 0.6rem;
  border-bottom: 3px solid var(--red);
  color: var(--navy);
}

.article-back {
  margin-top: 2rem;
  font-weight: 600;
}
