/* ============================================================
   ASMEQ — Association des Salons de Massage Érotique du Québec
   Design system — Quebec-official institutional aesthetic
   Scale: golden ratio (φ = 1.618) / Fibonacci spacing
   ============================================================ */

:root {
  /* --- Color: Quebec institutional blue + supporting palette --- */
  --qc-blue: #095797;          /* Québec official blue */
  --qc-blue-dark: #223654;     /* deep institutional navy */
  --qc-blue-darker: #14202e;
  --qc-blue-pale: #dae6f0;
  --qc-blue-wash: #f1f7fb;
  --qc-gold: #c19a3f;          /* seal / accent gold */
  --qc-gold-pale: #f3ead3;
  --ink: #1c1c1b;
  --ink-soft: #4e5662;
  --paper: #ffffff;
  --paper-warm: #fafaf8;
  --line: #c5cad2;
  --line-soft: #e2e5e9;
  --alert-red: #cb381f;
  --ok-green: #2e7d4f;

  /* --- Type scale: φ-derived (1.618 between major steps, minor third within) --- */
  --fs-xs: 0.79rem;     /* 12.6px */
  --fs-sm: 0.889rem;    /* 14.2px */
  --fs-base: 1rem;      /* 16px */
  --fs-md: 1.125rem;    /* 18px */
  --fs-lg: 1.375rem;    /* 22px */
  --fs-xl: 1.618rem;    /* 25.9px — φ */
  --fs-2xl: 2.058rem;   /* 33px */
  --fs-3xl: 2.618rem;   /* 41.9px — φ² */
  --fs-4xl: 3.33rem;    /* 53.3px */
  --fs-hero: 4.236rem;  /* 67.8px — φ³ */

  /* --- Spacing: Fibonacci sequence (px): 8 13 21 34 55 89 144 --- */
  --sp-1: 0.5rem;    /* 8 */
  --sp-2: 0.8125rem; /* 13 */
  --sp-3: 1.3125rem; /* 21 */
  --sp-4: 2.125rem;  /* 34 */
  --sp-5: 3.4375rem; /* 55 */
  --sp-6: 5.5625rem; /* 89 */
  --sp-7: 9rem;      /* 144 */

  --serif: "Crimson Pro", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 72rem;        /* 1152px */
  --maxw-text: 44.5rem; /* ≈ 712px — golden section of maxw */
  --radius: 3px;
  --shadow-card: 0 1px 2px rgba(20, 32, 46, 0.06), 0 8px 21px rgba(20, 32, 46, 0.07);
  --shadow-lift: 0 2px 5px rgba(20, 32, 46, 0.08), 0 13px 34px rgba(20, 32, 46, 0.12);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.618;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--qc-blue); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--qc-blue-dark); }
:focus-visible { outline: 3px solid var(--qc-gold); outline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.236; /* φ-derived */
  color: var(--qc-blue-dark);
  margin: 0 0 var(--sp-3);
  text-wrap: balance;
}
h1 { font-size: clamp(var(--fs-3xl), 5.2vw, var(--fs-hero)); letter-spacing: -0.015em; }
h2 { font-size: clamp(var(--fs-2xl), 3.6vw, var(--fs-3xl)); letter-spacing: -0.01em; }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--sp-3); max-width: var(--maxw-text); }
ul, ol { padding-left: var(--sp-3); max-width: var(--maxw-text); }
li { margin-bottom: var(--sp-1); }
strong { font-weight: 650; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--qc-blue-dark); color: #fff;
  padding: var(--sp-2) var(--sp-3); z-index: 100;
  border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus { left: var(--sp-3); }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--sp-3); }

/* ---------- Government bar (thin top strip) ---------- */
.gov-bar {
  background: var(--qc-blue-darker);
  color: #cfd9e4;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
}
.gov-bar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 2.125rem;
}
.gov-bar span { display: inline-flex; align-items: center; gap: 0.5em; }
.gov-bar a { color: #fff; text-decoration: none; font-weight: 600; }
.gov-bar a:hover { text-decoration: underline; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 4px solid var(--qc-blue);
  position: relative;
}
.site-header .wrap {
  display: flex; align-items: center; gap: var(--sp-3);
  padding-block: var(--sp-2);
  flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: var(--sp-2);
  text-decoration: none; color: inherit;
  margin-right: auto;
}
.brand:hover { color: inherit; }
.brand .seal { width: 55px; height: 55px; flex: none; }
.brand-text .acronym {
  font-family: var(--serif);
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--qc-blue-dark);
  line-height: 1.1;
}
.brand-text .fullname {
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  max-width: 21rem;
  line-height: 1.35;
}

.lang-switch {
  font-size: var(--fs-sm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.3rem 0.8rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--qc-blue);
  white-space: nowrap;
}
.lang-switch:hover { background: var(--qc-blue-wash); }

/* ---------- Nav ---------- */
.site-nav {
  background: var(--qc-blue);
}
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap;
  max-width: var(--maxw); margin-inline: auto;
  padding-inline: calc(var(--sp-3) - var(--sp-2));
}
.site-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: var(--sp-2) var(--sp-2);
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--qc-gold);
  background: rgba(255,255,255,0.08);
}
.site-nav li { margin: 0; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(115deg, rgba(20,32,46,0.94) 38.2%, rgba(9,87,151,0.82) 100%),
    var(--qc-blue-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* faint oversized fleur-de-lis watermark, golden-section placed */
  content: "";
  position: absolute;
  right: -5%; top: 50%;
  transform: translateY(-50%);
  width: 38.2%;
  aspect-ratio: 1;
  background: url("seal.svg") center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
}
.hero .wrap {
  padding-block: var(--sp-6) var(--sp-6);
  position: relative; z-index: 1;
}
.hero h1 { color: #fff; max-width: 61.8%; margin-bottom: var(--sp-3); }
.hero .lede {
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: #d9e4ee;
  max-width: 38rem;
  margin-bottom: var(--sp-4);
}
.hero .kicker {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--qc-gold);
  border: 1px solid rgba(193,154,63,0.45);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  margin-bottom: var(--sp-3);
}

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: var(--fs-base);
  text-decoration: none;
  padding: 0.8125rem 1.3125rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--qc-gold); color: var(--qc-blue-darker); }
.btn-primary:hover { background: #d2ab50; color: var(--qc-blue-darker); }
.btn-ghost { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-blue { background: var(--qc-blue); color: #fff; }
.btn-blue:hover { background: var(--qc-blue-dark); color: #fff; }
.btn-row { display: flex; gap: var(--sp-2); flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding-block: var(--sp-6); }
.section-alt { background: var(--paper-warm); border-block: 1px solid var(--line-soft); }
.section-blue { background: var(--qc-blue-wash); border-block: 1px solid var(--qc-blue-pale); }
.section .kicker, .page-head .kicker {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--qc-blue);
  margin-bottom: var(--sp-2);
}
.section-head { max-width: var(--maxw-text); margin-bottom: var(--sp-4); }
.section-head p { font-size: var(--fs-md); color: var(--ink-soft); }

/* ---------- Page head (interior pages) ---------- */
.page-head {
  background: var(--qc-blue-dark);
  color: #fff;
  padding-block: var(--sp-5);
}
.page-head h1 { color: #fff; margin-bottom: var(--sp-2); }
.page-head .lede { color: #ccd9e5; font-size: var(--fs-md); max-width: var(--maxw-text); margin: 0; }
.page-head .kicker { color: var(--qc-gold); }

.breadcrumb {
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  padding-block: var(--sp-2);
  border-bottom: 1px solid var(--line-soft);
}
.breadcrumb ol { list-style: none; display: flex; gap: 0.6em; padding: 0; margin: 0; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "›"; margin-right: 0.6em; color: var(--line); }
.breadcrumb a { color: var(--qc-blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}
.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-top: 4px solid var(--qc-blue);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-3) var(--sp-3);
  box-shadow: var(--shadow-card);
}
.card.gold { border-top-color: var(--qc-gold); }
.card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.card p { font-size: var(--fs-sm); color: var(--ink-soft); margin-bottom: 0; }
.card .icon {
  width: 44px; height: 44px;
  margin-bottom: var(--sp-2);
  color: var(--qc-blue);
}

/* ---------- Pillars / numbered list ---------- */
.pillars { counter-reset: pillar; list-style: none; padding: 0; max-width: none; }
.pillars > li {
  counter-increment: pillar;
  display: grid;
  grid-template-columns: 3.4375rem 1fr;
  gap: var(--sp-3);
  padding-block: var(--sp-3);
  border-bottom: 1px solid var(--line-soft);
  margin: 0;
}
.pillars > li:last-child { border-bottom: 0; }
.pillars > li::before {
  content: counter(pillar, decimal-leading-zero);
  font-family: var(--serif);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--qc-gold);
  line-height: 1;
}
.pillars h3 { margin-bottom: var(--sp-1); font-size: var(--fs-lg); }
.pillars p { margin-bottom: 0; color: var(--ink-soft); }

/* ---------- Stat band ---------- */
.stat-band {
  background: var(--qc-blue-dark);
  color: #fff;
  padding-block: var(--sp-5);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: var(--sp-4);
  text-align: center;
}
.stat-grid .num {
  font-family: var(--serif);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--qc-gold);
  line-height: 1.1;
  display: block;
}
.stat-grid .label { font-size: var(--fs-sm); color: #c2d1de; max-width: 21rem; margin-inline: auto; }

/* ---------- Position blocks (pour / contre) ---------- */
.position-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
}
.position {
  border-radius: var(--radius);
  padding: var(--sp-3);
  border: 1px solid var(--line-soft);
  background: var(--paper);
}
.position.for { border-left: 5px solid var(--ok-green); }
.position.against { border-left: 5px solid var(--alert-red); }
.position h3 { display: flex; align-items: center; gap: 0.5em; font-size: var(--fs-lg); }
.position .mark { font-size: 1.1em; line-height: 1; }
.position.for .mark { color: var(--ok-green); }
.position.against .mark { color: var(--alert-red); }
.position ul { margin: 0; font-size: var(--fs-sm); color: var(--ink-soft); }

/* ---------- Quote ---------- */
.bigquote {
  max-width: var(--maxw-text);
  margin-inline: auto;
  text-align: center;
  padding-block: var(--sp-2);
}
.bigquote blockquote {
  font-family: var(--serif);
  font-size: clamp(var(--fs-xl), 2.8vw, var(--fs-2xl));
  font-style: italic;
  line-height: 1.45;
  color: var(--qc-blue-dark);
  margin: 0 0 var(--sp-3);
  text-wrap: balance;
}
.bigquote cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Video / media ---------- */
.video-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
}
.video-slot { margin: 0; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, var(--qc-blue-darker) 0%, var(--qc-blue-dark) 61.8%, #2b4a6b 100%);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid var(--qc-blue-pale);
  box-shadow: var(--shadow-card);
}
.video-frame .play {
  width: 4.25rem; height: 4.25rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.65);
  display: grid; place-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-frame .play svg { width: 1.6rem; height: 1.6rem; fill: #fff; margin-left: 0.2rem; }
.video-frame:hover .play { transform: scale(1.08); background: rgba(193,154,63,0.85); }
.video-frame .badge {
  position: absolute; top: var(--sp-2); left: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--qc-gold);
  color: var(--qc-blue-darker);
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
}
.video-frame video, .video-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0;
}
.video-slot figcaption {
  padding-top: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.video-slot figcaption strong { color: var(--ink); display: block; font-size: var(--fs-base); margin-bottom: 0.2rem; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; max-width: var(--maxw-text); position: relative; }
.timeline::before {
  content: "";
  position: absolute; left: 0.5rem; top: 0.4rem; bottom: 0.4rem;
  width: 2px; background: var(--qc-blue-pale);
}
.timeline li {
  position: relative;
  padding-left: var(--sp-4);
  padding-bottom: var(--sp-3);
  margin: 0;
}
.timeline li::before {
  content: "";
  position: absolute; left: 0.5rem; top: 0.45rem;
  width: 13px; height: 13px;
  transform: translateX(-5.5px);
  border-radius: 50%;
  background: var(--qc-gold);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 2px var(--qc-blue-pale);
}
.timeline .when {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--qc-blue);
  display: block;
  margin-bottom: 0.2rem;
}
.timeline h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-1); }
.timeline p { margin: 0; color: var(--ink-soft); font-size: var(--fs-sm); }

/* ---------- Definition / standards table ---------- */
.standards-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  overflow: hidden;
}
.standards-table th, .standards-table td {
  text-align: left;
  padding: var(--sp-2) var(--sp-3);
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.standards-table thead th {
  background: var(--qc-blue-dark);
  color: #fff;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.standards-table tbody tr:last-child td { border-bottom: 0; }
.standards-table td:first-child { font-weight: 650; color: var(--qc-blue-dark); white-space: nowrap; }

/* ---------- Callout ---------- */
.callout {
  border-left: 5px solid var(--qc-gold);
  background: var(--qc-gold-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--sp-3);
  max-width: var(--maxw-text);
  margin-block: var(--sp-3);
}
.callout.blue { border-left-color: var(--qc-blue); background: var(--qc-blue-wash); }
.callout p:last-child { margin-bottom: 0; }
.callout .title {
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--qc-blue-dark);
  display: block;
  margin-bottom: var(--sp-1);
}

/* ---------- Prose layout for interior pages ---------- */
.prose { max-width: var(--maxw-text); }
.prose h2 { margin-top: var(--sp-5); font-size: var(--fs-2xl); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--sp-4); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(115deg, var(--qc-blue-darker) 0%, var(--qc-blue-dark) 61.8%, var(--qc-blue) 100%);
  color: #fff;
  text-align: center;
  padding-block: var(--sp-6);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9d6e2; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--qc-blue-darker);
  color: #aebbc9;
  font-size: var(--fs-sm);
  padding-block: var(--sp-5) var(--sp-4);
  border-top: 4px solid var(--qc-gold);
}
.footer-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1.618fr 1fr 1fr;
  margin-bottom: var(--sp-4);
}
.site-footer h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--sp-1); }
.site-footer a { color: #d4dee7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: flex; gap: var(--sp-2); align-items: flex-start; }
.footer-brand .seal { width: 44px; height: 44px; flex: none; opacity: 0.9; }
.footer-brand p { font-size: var(--fs-xs); margin: var(--sp-1) 0 0; color: #8fa1b3; max-width: 24rem; }
.footer-brand .acr { font-family: var(--serif); font-size: var(--fs-lg); color: #fff; letter-spacing: 0.06em; font-weight: 700; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--sp-3);
  font-size: var(--fs-xs);
  color: #7e90a2;
  display: flex;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.footer-legal .fleur { color: var(--qc-gold); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr 1.618fr;
  align-items: start;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--sp-3);
  box-shadow: var(--shadow-card);
}
.contact-card + .contact-card { margin-top: var(--sp-3); }
.contact-card h3 { font-size: var(--fs-lg); }
.contact-card p { font-size: var(--fs-sm); color: var(--ink-soft); margin-bottom: var(--sp-1); }

form.contact-form {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-top: 4px solid var(--qc-blue);
  border-radius: var(--radius);
  padding: var(--sp-4);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: var(--sp-3);
}
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 650; font-size: var(--fs-sm); color: var(--qc-blue-dark); }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--qc-blue-pale);
  border-color: var(--qc-blue);
}
.field .hint { font-size: var(--fs-xs); color: var(--ink-soft); }
.form-note { font-size: var(--fs-xs); color: var(--ink-soft); margin: 0; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.measure { max-width: var(--maxw-text); }
.mx-auto { margin-inline: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 56rem) {
  .hero h1 { max-width: 100%; }
  .hero::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 40rem) {
  .section { padding-block: var(--sp-5); }
  .hero .wrap { padding-block: var(--sp-5); }
  .brand-text .fullname { display: none; }
  .pillars > li { grid-template-columns: 2.6rem 1fr; gap: var(--sp-2); }
  .pillars > li::before { font-size: var(--fs-xl); }
  .standards-table { display: block; overflow-x: auto; }
}

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

/* ---------- Print ---------- */
@media print {
  .gov-bar, .site-nav, .cta-band, .skip-link, .lang-switch { display: none; }
  body { color: #000; }
  .hero, .page-head { background: #fff; color: #000; }
  .hero h1, .page-head h1 { color: #000; }
}

/* ---------- Visually hidden (a11y) ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- FAQ ---------- */
.faq details {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--qc-blue);
  border-radius: var(--radius);
  padding: var(--sp-2) var(--sp-3);
  margin-bottom: var(--sp-2);
  max-width: var(--maxw-text);
  box-shadow: var(--shadow-card);
}
.faq summary {
  font-family: var(--serif);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--qc-blue-dark);
  cursor: pointer;
  padding-block: var(--sp-1);
  list-style-position: outside;
}
.faq summary:hover { color: var(--qc-blue); }
.faq details[open] summary {
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: var(--sp-2);
}
.faq details p { color: var(--ink-soft); margin-bottom: var(--sp-1); }

/* ---------- Footer column titles (non-heading) ---------- */
.site-footer .footer-h {
  color: #fff;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 var(--sp-2);
}

/* ---------- Contact card headings (h2 used for outline order) ---------- */
.contact-card h2 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
