:root {
  --blue: #0A2444; 
  --text: #0B1320; 
  --muted: #5E6B7A; 
  --bg: #F6F8FC; 
  --accent: #F35634;
  --card: #FFFFFF; 
  --border: #E5EAF2; 
  --shadow: 0 20px 60px rgba(10,36,68,.10);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font: 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 14px;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-weight: 700;
  transition: all .2s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--blue);
  color: #fff;
}

.badge {
  display: inline-block;
  height: 3px;
  width: 96px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 16px;
}

h1, h2, h3 {
  font-family: "Anton", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  letter-spacing: .6px;
  word-wrap: break-word;
}

h1 {
  font-size: 56px;
  line-height: 1.1;
  margin: 0 0 10px;
}

h2 {
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 6px;
}

h3 {
  font-size: 22px;
  margin: 0 0 6px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.section {
  padding: 80px 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

.brand img {
  height: 90px;
  width: auto;
  display: block;
}

nav > ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav > ul > li {
  position: relative;
}

nav a {
  font-weight: 600;
  color: #111;
  padding: 8px 0;
  display: inline-block;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #e85c45;
}

nav > ul > li > a.is-active {
  color: #e85c45;
  position: relative;
}

nav > ul > li > a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  background: #e85c45;
  border-radius: 2px;
}

.tel {
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.menu-btn {
  display: none;
  border: 0;
  background: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 8px;
}

/* Header always clickable (sits above hero/overlays) */
header, .header, .nav {
  position: relative;
  z-index: 9999;
  pointer-events: auto;
}

/* Common hero overlays should not intercept clicks */
.hero::before,
.hero::after,
.hero .overlay {
  pointer-events: none;
}


/* Hero */
.hero {
  padding: 50px 0;
  background: #fff;
  overflow: hidden;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}

.hero-img {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
}

.hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  height: 100%;
  transition: transform 0.2s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature h3 {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 800;
  margin-bottom: 12px;
}

.kicker {
  font-weight: 800;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* FAQ */
.faq {
  max-width: 980px;
  margin: 0 auto;
}

.accordion {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.accordion-item + .accordion-item {
  border-top: 1px solid var(--border);
}

.accordion-btn {
  width: 100%;
  text-align: left;
  padding: 22px;
  font-weight: 800;
  font-size: 18px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-content {
  display: none;
  padding: 0 22px 22px;
  color: var(--muted);
}

.accordion-item.open .accordion-content {
  display: block;
}

.accordion-item.open .accordion-btn .ic {
  transform: rotate(45deg);
}

.ic {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #222;
  display: inline-grid;
  place-items: center;
  font-weight: 900;
  flex-shrink: 0;
}

/* Footer */
footer {
  margin-top: 60px;
  background: #0B1320;
  color: #BFD1E3;
}

footer a {
  color: #fff;
  transition: opacity 0.2s ease;
}

footer a:hover {
  opacity: 0.8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}

.copy {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 20px;
  padding: 16px 0 24px;
  font-size: 14px;
  color: #9EB2C7;
}

/* Contact Form Styles */
.contact-form {
  margin-top: 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

input, select, textarea {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.2s ease;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 36, 68, 0.1);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.error-msg {
  color: #b3261e;
  font-size: 14px;
  margin-top: 5px;
  min-height: 20px;
}

.form-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-status {
  font-size: 15px;
}

.form-status.ok {
  color: #0a7f2e;
}

.form-status.err {
  color: #b3261e;
}

.form-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* ========== MEDIA QUERIES ========== */

/* Tablets and small desktops */
@media (max-width: 1024px) {
  h1 {
    font-size: 42px;
  }
  
  h2 {
    font-size: 34px;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  h1 {
    font-size: 36px;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 28px;
    line-height: 1.2;
  }
  
  h3 {
    font-size: 20px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .lead {
    font-size: 16px;
  }
  
  /* Navigation */
  .menu-btn {
    display: block;
  }
  
  nav > ul {
    /* CHANGED: use real header height, higher z-index, and win cascade */
    display: none !important;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h, 88px);
    background: #fff;
    padding: 18px 24px;
    box-shadow: 0 16px 30px rgba(0,0,0,.08);
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid var(--border);
    z-index: 9999;
    max-height: calc(100vh - var(--header-h, 88px));
    overflow-y: auto;
  }
  
  nav > ul.open {
    display: flex !important;
  }
  
  nav > ul > li {
    width: 100%;
  }
  
  nav a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .tel {
    margin-top: 12px;
    display: inline-block;
  }
  
  /* Hero section */
  .hero {
    padding: 30px 0;
  }
  
  .hero-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  /* Grid layouts */
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .feature {
    padding: 18px;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  
  .brand img {
    height: 72px;
    margin: 0 auto;
  }
  
  /* Contact form */
  .contact-form {
    padding: 24px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  /* Dropdown menu */
  .has-dd .dd {
    position: static;
    min-width: auto;
    box-shadow: none;
    border: none;
    margin-top: 8px;
  }
  
  /* dropdown layout */
.has-dd { position: relative; }
.has-dd .dd-parent { display: inline-block; padding-right: .35rem; } /* clickable link */
.dd-toggle { background: none; border: 0; cursor: pointer; font-size: .9rem; line-height: 1; }
.dd { display: none; position: absolute; top: 100%; left: 0; min-width: 260px;
      background: #fff; border: 1px solid var(--border,#eaeef2); border-radius: 12px;
      box-shadow: 0 10px 30px rgba(0,0,0,.08); padding: 10px; z-index: 20; }
.dd a { display: block; padding: 10px 12px; border-radius: 8px; }
.dd a:hover { background: #f6f8fb; }

/* desktop: open on hover */
@media (hover:hover) and (pointer:fine) {
  .has-dd:hover > .dd { display: block; }
}

  
  .has-dd.open .dd {
    display: block;
  }
  
  .has-dd .dd a {
    padding: 10px 0;
    border-radius: 0;
    border-bottom: 1px solid #f0f0f0;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 26px;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 8px;
  }
  
  .hero-wrap {
    gap: 20px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .accordion-btn {
    padding: 16px;
    font-size: 16px;
  }
  
  .accordion-content {
    padding: 0 16px 16px;
  }
}

/* Fix for dropdown menus on mobile */
.has-dd {
  position: relative;
}

.has-dd .dd-toggle {
  background: transparent !important;
  border: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  padding: 8px 0 !important;
  color: #111 !important;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.has-dd .dd-toggle::after {
  content: "▾";
  margin-left: 6px;
  font-size: .85em;
  color: currentColor;
}

.has-dd .dd {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(0,0,0,.08);
  padding: 8px;
  min-width: 200px;
  z-index: 20;
}

.has-dd .dd a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  white-space: nowrap;
}

@media (hover: hover) {
  .has-dd:hover .dd {
    display: block;
  }
}

/* Mobile dropdown fix */
@media (max-width: 768px) {
  .has-dd .dd {
    position: static;
    min-width: auto;
    box-shadow: none;
    border: none;
    margin-top: 8px;
    display: none;
  }
  
  .has-dd.open .dd {
    display: block;
  }
  
  .has-dd .dd a {
    padding: 10px 0;
    border-radius: 0;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .has-dd .dd-toggle::after {
    content: "▸";
  }
  
  .has-dd.open .dd-toggle::after {
    content: "▾";
  }
}

/* Prevent horizontal scrolling */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {
  input, select, textarea, button {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .btn, .tel {
    min-height: 44px; /* Minimum touch target size */
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}


/* =========================
   NAV DROPDOWN – FINAL OVERRIDES
   (Safe to append at end of styles.css)
   ========================= */
.has-dd { position: relative; display: inline-flex; align-items: center; gap: .25rem; }
.dd-parent { display: inline-block; padding-right: .35rem; }

/* Clickable caret button – never blocks the parent link */
.dd-toggle { width: 18px; height: 18px; background: transparent; border: 0; cursor: pointer; position: relative; }
.dd-toggle::before { content: "▾"; font-size: 14px; line-height: 1; display: block; }

/* Dropdown panel */
.dd {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--border, #eaeef2);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: 10px;
  z-index: 20;
}
.dd a { display: block; padding: 10px 12px; border-radius: 8px; white-space: nowrap; }
.dd a:hover { background: #f6f8fb; }

/* When the mobile menu (<ul>) is open and the item is toggled */
nav > ul.open .has-dd.open > .dd { display: block; }

/* Desktop: allow hover to open, but don't break click on parent link */
@media (hover:hover) and (pointer:fine) {
  .has-dd:hover > .dd { display: block; }
}

/* ------- Mobile overrides ------- */
@media (max-width: 768px) {
  /* On mobile, put dropdown in the flow to avoid overlap */
  .dd {
    position: static;
    min-width: auto;
    box-shadow: none;
    border: none;
    margin-top: 8px;
    padding: 0;
    display: none;
  }
  .has-dd.open .dd { display: block; }

  .dd a {
    padding: 10px 0;
    border-radius: 0;
    border-bottom: 1px solid #f0f0f0;
  }

  /* Caret animates from ▶ to ▼ */
  .dd-toggle::before { content: "▸"; }
  .has-dd.open .dd-toggle::before { content: "▾"; }
}


/* === HEADER FIX: keep "Nos prestations" label + caret on one line and aligned === */
.has-dd{
  display:inline-flex;
  align-items:center;
  gap:.35rem;              /* small spacing between label and caret */
  white-space:nowrap;      /* prevent wrapping onto next line */
}
.dd-parent{
  display:inline-block;
  line-height:1.2;         /* consistent baseline across pages */
  padding-right:0;         /* we control spacing with gap */
}
.dd-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  padding:0;
  margin:0;
  line-height:1;           /* keeps the caret centered */
  background:transparent;
  border:0;
}

/* if any global styles push nav items to baseline, force center */
nav > ul{ align-items:center; }

/* ===== Mobile header/menu hardening (safe overrides) ===== */

/* Keep label + caret aligned everywhere */
.has-dd{ display:inline-flex; align-items:center; gap:.35rem; white-space:nowrap; }
.dd-parent{ display:inline-block; line-height:1.2; }
.dd-toggle{ display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; padding:0; margin:0; line-height:1; background:transparent; border:0; }
.dd-toggle::before{ content:"▾"; font-size:14px; }

/* Make sure header sits above the slide-down menu */
header{ z-index: 1000; }

/* Mobile panel: fixed, below header; body locked when open */
@media (max-width:768px){
  nav > ul{
    position: fixed;
    left: 0; right: 0;
    /* CHANGED: unify on --header-h used by script.js */
    top: var(--header-h, 80px);
    background: #fff;
    z-index: 999;             /* below header, above page */
    display: none !important;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px;
    box-shadow: 0 16px 30px rgba(0,0,0,.08);
    max-height: calc(100vh - var(--header-h, 80px));
    overflow-y: auto;
    border-top: 1px solid var(--border, #eaeef2);
  }
  nav > ul.open{ display: flex !important; }
  body.nav-open{ overflow: hidden; } /* prevent page scroll behind menu */

  /* Dropdown panel inside mobile menu is in-flow */
  .dd{
    position: static;
    min-width: auto;
    box-shadow: none;
    border: none;
    margin-top: 8px;
    padding: 0;
    display: none;
  }
  .has-dd.open .dd{ display:block; }
  .dd a{ padding:10px 0; border-bottom:1px solid #f0f0f0; border-radius:0; }

  /* Caret ▶/▼ on mobile */
  .dd-toggle::before{ content:"▸"; }
  .has-dd.open .dd-toggle::before{ content:"▾"; }
}

/* Desktop hover may open menu, but parent link remains clickable */
@media (hover:hover) and (pointer:fine){
  .has-dd:hover > .dd{
    display: block;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 260px;
    background:#fff;
    border:1px solid var(--border, #eaeef2);
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    padding:10px;
    z-index:20;
  }
}

/* ===== Certifications: align cards like "Nos prestations" (ADDITIVE) ===== */

/* Flexible grid that mirrors the prestations feel */
.certification-grid{
  /* keep your gap & base rules, just refine responsiveness */
  align-items: stretch;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px){
  .certification-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px){
  .certification-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Keep 2 columns a bit longer for a denser look (like prestations); fall back to 1 on very small screens */
@media (max-width: 520px){
  .certification-grid{ grid-template-columns: 1fr; }
}

/* Make each card a centered, uniform block */
.certification-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;     /* vertical centering */
  gap: 10px;                   /* tidy spacing between logo and title */
  min-height: 220px;           /* consistent card height */
  padding: 24px;               /* keep your existing padding */
  text-align: center;          /* reinforce centering */
}

/* Normalize logo rendering so all 4 look the same height */
.certification-card img{
  max-width: 160px;            /* cap wide logos */
  max-height: 90px;            /* cap tall logos */
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto 8px;          /* small gap above caption */
  display: block;
}

/* Keep captions tight & consistent */
.certification-card figcaption{
  font-weight: 700;            /* matches your existing rule */
  line-height: 1.25;
  min-height: 1.6em;           /* avoids jumpy heights */
  margin-top: 8px;
}

/* Force single-column for the "Nos labels métiers" grid (additive) */
.section .container .grid-2{
  grid-template-columns: 1fr !important;
  display: grid !important; /* keeps the gap/padding you already set */
}

/* Ensure the FAQ buttons are always clickable */
.accordion { position: relative; z-index: 1; }
.accordion-btn { position: relative; z-index: 2; }


/* Sticky CTA */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  display: none; gap: 8px; padding: 10px 12px;
  background: #0B1320; border-top: 1px solid #1f2a44; z-index: 9999;
}
.sticky-cta__btn {
  flex: 1; display: inline-grid; place-items: center;
  height: 46px; border-radius: 10px; font-weight: 700; text-decoration: none;
  background: #1EA97A; color: #fff;
}
@media (max-width: 860px) { .sticky-cta { display: grid; grid-template-columns: 1fr 1fr 1fr; } }


/* Mon Projet form */
#mon-projet .mp-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
#mon-projet .mp-card { border: 1px solid var(--border); border-radius: 12px; padding: 12px; display: grid; place-items: center; cursor: pointer; }
#mon-projet .mp-card input { margin-right: 8px; }
#mon-projet .mp-step { display: none; border: 1px solid var(--border); border-radius: 16px; padding: 18px; background:#fff; }
#mon-projet .mp-step--active { display: block; }
#mon-projet .mp-actions { display:flex; gap:10px; justify-content:flex-end; margin-top: 12px; }
#mon-projet .mp-label { display:block; margin: 10px 0 6px; font-weight:700; }
#mon-projet input, #mon-projet select, #mon-projet textarea { width:100%; padding:10px; border:1px solid var(--border); border-radius:10px; }
#mon-projet .mp-consent { display:block; margin:12px 0; }
@media (max-width: 720px){ #mon-projet .mp-grid { grid-template-columns: 1fr; } }

/* Breadcrumb */
.breadcrumb { margin: 14px 0 6px; font-size: 14px; color: var(--muted); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li+li::before { content: "›"; margin: 0 6px; color: var(--border); }
.breadcrumb a { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--border); }
.breadcrumb a:hover { color: var(--blue); border-bottom-color: var(--blue); }

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: none; /* hidden by default, JS toggles it */
  gap: 8px;
  padding: 10px 12px;
  background: #0B1320;
  border-top: 1px solid #1f2a44;
  z-index: 9999;
}
.sticky-cta__btn {
  flex: 1;
  display: inline-grid;
  place-items: center;
  height: 46px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  background: #1EA97A;
  color: #fff;
}



/* === ADM PATCH: Sticky CTA, Breadcrumb, Logo sizing (idempotent) === */
@media (max-width: 860px){ body { padding-bottom: 70px; } }
.sticky-cta { position: fixed; left:0; right:0; bottom:0; display:none; gap:8px; padding:10px 12px; background:#0B1320; border-top:1px solid #1f2a44; z-index:9999; }
.sticky-cta__btn { flex:1; display:inline-grid; place-items:center; height:46px; border-radius:10px; font-weight:700; text-decoration:none; background:#1EA97A; color:#fff; }
@media (max-width:860px){ .sticky-cta{ display:grid; grid-template-columns:1fr 1fr 1fr; } }
.breadcrumb { margin:14px 0 6px; font-size:14px; color:var(--muted); }
.breadcrumb ol { list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:6px; }
.breadcrumb li { display:inline-flex; align-items:center; }
.breadcrumb li+li::before { content:"›"; margin:0 6px; color:var(--border); }
.breadcrumb a { color:inherit; text-decoration:none; border-bottom:1px dotted var(--border); }
.breadcrumb a:hover { color:var(--blue); border-bottom-color:var(--blue); }
header .brand img { height:72px; max-height:72px; width:auto; }
@media (max-width:900px){ header .brand img { height:60px; max-height:60px; } }

/* Make sure a closed mobile menu never blocks clicks */
@media (max-width: 768px){
  nav > ul { pointer-events: none; }      /* closed menu can't intercept taps */
  nav > ul.open { pointer-events: auto; } /* only interactive when opened */
}

/* Keep FAQ on top of normal content layers just in case */
.accordion { position: relative; z-index: 1; }
.accordion-btn { position: relative; z-index: 2; }

