/* Page-specific layouts */

/* ================= HOME: A. HERO (loud) ================= */
.hero { position: relative; display: flex; flex-direction: column; background: var(--ink); color: var(--white); overflow: hidden; min-height: calc(100svh - var(--header-h) - 72px); }
@media (min-width: 768px) { .hero { min-height: min(92svh, 860px); } }
.hero-main { position: relative; flex: 1; display: flex; flex-direction: column; }
.hero-art { position: relative; order: -1; aspect-ratio: 16 / 10; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art::after { content: ""; position: absolute; inset: -2px; background: linear-gradient(to top, var(--ink) 0%, rgba(15, 15, 17, 0) 42%); }
.hero-copy { position: relative; z-index: 2; padding: 0.5rem var(--gutter) 1.25rem; }
.hero .label { color: var(--grey-on-ink); font-size: 0.8125rem; letter-spacing: 0.12em; }
.hero h1 { font-size: clamp(4.1rem, 1rem + 8.2vw, 10rem); margin-top: 0.5rem; text-wrap: balance; }
.hero-sub { margin-top: 0.9rem; max-width: 31rem; font-size: 1rem; color: rgba(255, 255, 255, 0.92); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 2rem; margin-top: 1.1rem; }
.hero-actions .text-link { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.hero-foot { padding-inline: var(--gutter); padding-bottom: 1rem; }
.hero-strip { display: flex; flex-wrap: wrap; gap: 0 1.75rem; padding-block: 0.5rem 0.65rem; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.03em; color: var(--grey-on-ink); }
.hero-strip a { text-decoration: none; color: var(--white); }
.hero-strip a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.hero-rule { display: none; }

@media (min-width: 900px) {
  .hero-main { flex-direction: row; align-items: center; }
  .hero-art { position: absolute; order: 0; right: -3vw; top: 50%; transform: translateY(-50%); width: min(62vw, 1200px); aspect-ratio: 1140 / 660; }
  .hero-art::after { background: linear-gradient(to right, var(--ink) 0%, rgba(15, 15, 17, 0) 40%), linear-gradient(to bottom, var(--ink) 0%, rgba(15, 15, 17, 0) 30%, rgba(15, 15, 17, 0) 70%, var(--ink) 100%); }
  .hero-copy { width: 50%; padding: 5.5rem 1rem 3rem max(var(--gutter), calc((100vw - var(--max)) / 2)); }
  .hero .label { font-size: 1rem; letter-spacing: 0.16em; }
  .hero-sub { margin-top: 1.5rem; font-size: 1.1875rem; }
  .hero-actions { margin-top: 2rem; gap: 0.5rem 2rem; }
  .hero-foot { padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); padding-bottom: 1.75rem; }
  .hero-strip { font-size: 0.9375rem; padding-block: 0.75rem 1rem; }
  .hero-rule { display: block; position: absolute; z-index: 3; left: 47vw; top: 16%; bottom: 14%; width: 3px; background: var(--red); }
}
@media (min-width: 1600px) { .hero-rule { left: calc(50% - 20px); } }

picture { display: block; }
.hero-art picture, .moment-img picture, .hero-b-img picture, .hero-m-img picture, .feat-b figure picture, .feat-a figure picture { width: 100%; height: 100%; }

/* ================= HOME: C. HERITAGE (quiet) ================= */
.heritage { background: var(--chalk); padding-block: var(--space-section); }
.heritage-top { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.5rem clamp(1.5rem, 4vw, 4rem); }
.numeral-ink { font-family: var(--font-display); font-weight: 700; font-size: clamp(9rem, 4rem + 22vw, 21rem); line-height: 0.74; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.heritage-top h2 { max-width: 14ch; padding-bottom: 0.1em; }
.heritage .teeth { margin-top: 1.25rem; }
.heritage-base { display: flex; align-items: center; gap: 1.25rem; margin-top: 1rem; }
.heritage-grid { display: grid; gap: 2rem; margin-top: 3rem; }
.heritage-grid .prose p:first-child { font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3125rem); }
@media (min-width: 900px) { .heritage-grid { grid-template-columns: 4fr 5fr; margin-top: 3.5rem; } .heritage-grid .prose { grid-column: 2; } }

/* ================= HOME: D. RIJOPLEIDINGEN INDEX (loud) ================= */
.idx { padding-block: var(--space-section); background: var(--white); }
.idx-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.idx-head h2 { max-width: 20ch; }

.feat-b { position: relative; display: grid; border-top: 2px solid var(--ink); border-bottom: 1px dashed var(--line-strong); }
.feat-b figure { overflow: hidden; background: var(--ink); aspect-ratio: 3 / 2; }
.feat-b img, .feat-a img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.feat-b:hover img, .feat-a:hover img { transform: scale(1.03); }
.feat-body { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1.5rem; padding: 1.5rem 0 2rem; align-items: start; }
.big-code { font-family: var(--font-display); font-weight: 700; font-size: clamp(6.5rem, 4rem + 8vw, 12rem); line-height: 0.78; color: var(--ink); text-transform: uppercase; }
.feat-body h3 { margin-top: 0.5rem; }
.feat-body p { margin-top: 0.75rem; max-width: 27rem; }
.feat-body a.stretch { text-decoration: none; }
.feat-body a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.feat-body .link-arrow { margin-top: 0.5rem; }
@media (min-width: 900px) {
  .feat-b { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); min-height: 330px; }
  .feat-b figure { aspect-ratio: auto; order: 2; }
  .feat-body { padding: 2rem 2.5rem 2rem 0; align-items: center; }
}

.idx-grid { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
.feat-a { position: relative; display: grid; align-content: start; }
.feat-a figure { position: relative; overflow: hidden; background: var(--ink); aspect-ratio: 5 / 6; }
.feat-a .big-code { position: absolute; left: 0; bottom: 0; z-index: 3; background: var(--ink); color: var(--white); padding: 0.12em 0.3em 0; line-height: 0.82; font-size: clamp(5.5rem, 3rem + 6vw, 9rem); }
.feat-a-text { padding-top: 1.25rem; }
.feat-a-text p { margin-top: 0.75rem; max-width: 26rem; }
.feat-a-text a.stretch { text-decoration: none; }
.feat-a-text a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.feat-a-text .link-arrow { margin-top: 0.5rem; }

.table { display: grid; border-top: 2px solid var(--ink); }
.row { position: relative; display: grid; grid-template-columns: 4.75rem 1fr 1.5rem; gap: 0.5rem 1rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px dashed var(--line-strong); text-decoration: none; transition: padding 0.25s var(--ease), background-color 0.25s var(--ease); }
.row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--red); transition: width 0.25s var(--ease); }
.row:hover { padding-left: 1.1rem; background: var(--chalk); }
.row:hover::before { width: 4px; }
.row-code { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.75rem, 2rem + 2.4vw, 4.5rem); line-height: 0.9; text-transform: uppercase; }
.row h3 { font-weight: 600; text-transform: uppercase; letter-spacing: 0.01em; }
.row p { margin-top: 0.3rem; color: var(--grey); max-width: 34rem; font-size: 1rem; }
.row .ico { justify-self: end; transition: transform 0.25s var(--ease); }
.row:hover .ico { transform: translateX(5px); }
@media (min-width: 900px) {
  .idx-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: stretch; }
  .table { grid-template-rows: repeat(5, 1fr); }
  .row { grid-template-columns: 6.5rem 1fr 2rem; padding-block: 0.75rem; }
}

.peek { position: fixed; left: 0; top: 0; z-index: 60; width: 280px; opacity: 0; transition: opacity 0.18s; background: var(--white); padding: 6px; box-shadow: 0 0 0 1px var(--line-strong); }
.peek.is-on { opacity: 1; }
.peek img { width: 100%; height: auto; }
@media (hover: none) { .peek { display: none; } }

/* ================= HOME: E. MOMENT (loud) ================= */
.moment { position: relative; display: flex; align-items: flex-end; min-height: min(86svh, 780px); background: var(--ink); color: var(--white); overflow: hidden; }
.moment-img { position: absolute; inset: 0; }
.moment-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.moment::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 15, 17, 0.9) 0%, rgba(15, 15, 17, 0.55) 55%, rgba(15, 15, 17, 0.25) 100%); }
.moment-copy { position: relative; z-index: 2; padding-block: clamp(3rem, 8vw, 6rem); }
.moment h2 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: 0.92; font-size: clamp(3rem, 1rem + 7.5vw, 9rem); max-width: 13ch; text-wrap: balance; }
.moment p { margin-top: 1.5rem; max-width: 30rem; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); color: rgba(255, 255, 255, 0.92); }
@media (min-width: 900px) {
  .moment::after { background: linear-gradient(to right, rgba(15, 15, 17, 0.92) 0%, rgba(15, 15, 17, 0.7) 45%, rgba(15, 15, 17, 0.12) 85%); }
  .moment { align-items: center; }
}

/* ================= HOME: F. ROUTE (quiet) ================= */
.route-sec { background: var(--chalk); padding-block: var(--space-section); }
.route-head { max-width: 40rem; }
.route-head p { margin-top: 1.25rem; }
.route { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); --p: 0; }
.route-line { position: absolute; top: 0; bottom: 0; left: 21px; width: 4px; background: repeating-linear-gradient(180deg, var(--line-strong) 0 18px, transparent 18px 32px); }
.route-line i { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, var(--ink) 0 18px, transparent 18px 32px); clip-path: inset(0 0 calc((1 - var(--p)) * 100%) 0); }
.stations { display: grid; gap: 2.5rem; }
.station { position: relative; padding-left: 4.5rem; }
.station .code { position: absolute; left: 0; top: 0; background: var(--chalk); font-size: 1.25rem; min-width: 2.75rem; }
.station h3 { font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; padding-top: 0.15rem; }
.station p { margin-top: 0.5rem; color: var(--grey); max-width: 24rem; font-size: 1rem; }
.station.final .code { background: var(--ink); color: var(--white); }
@media (min-width: 900px) {
  .route-line { top: 21px; bottom: auto; left: 0; right: 0; width: auto; height: 4px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 22px, transparent 22px 38px); }
  .route-line i { background: repeating-linear-gradient(90deg, var(--ink) 0 22px, transparent 22px 38px); clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0); }
  .stations { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .station { padding: 4.25rem 0 0; }
  .station .code { left: 0; top: 0; }
}

/* ================= HOME: G. LOCATIE (quiet) ================= */
.loc { padding-block: var(--space-section); background: var(--white); }
.loc-grid { display: grid; gap: 2.5rem; align-items: center; }
.loc h2 { margin-top: 1rem; }
.loc-num { font-family: var(--font-display); font-weight: 700; line-height: 0.75; font-size: clamp(8rem, 3rem + 22vw, 20rem); color: transparent; -webkit-text-stroke: 2px var(--ink); letter-spacing: -0.01em; font-variant-numeric: lining-nums tabular-nums; }
.loc-num-wrap .dash { margin-top: 1.25rem; }
.loc-num-wrap .teeth { margin-top: 0.75rem; }
.facts { border-top: 1px solid var(--ink); margin-top: 1.75rem; }
.facts > div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 0.95rem 0; border-bottom: 1px dashed var(--line-strong); }
.facts dt { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); padding-top: 0.2rem; }
.facts dd { font-size: 1.125rem; }
.facts dd a { text-decoration: none; font-weight: 500; }
.facts dd a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.stack-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 2rem; align-items: center; }
@media (min-width: 900px) { .loc-grid { grid-template-columns: 6fr 5fr; gap: clamp(3rem, 7vw, 7rem); } }

/* ================= HOME + INNER: H. ENQUIRY (loud) ================= */
.enquiry { background: var(--ink); color: var(--white); padding-block: clamp(4rem, 9vw, 8rem); }
.enquiry .teeth { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.enquiry h2 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: 0.92; font-size: clamp(2.75rem, 1rem + 7vw, 8.5rem); max-width: 12ch; }
.enquiry p { margin-top: 1.75rem; max-width: 32rem; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); color: rgba(255, 255, 255, 0.92); }
.enquiry .stack-actions { margin-top: 2.25rem; }
.enquiry .mail { margin-top: 1.25rem; display: inline-flex; min-height: 44px; align-items: center; }

/* ================= INNER HEROES ================= */
.ihero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.ihero .label { color: var(--grey-on-ink); }
.ihero h1 { margin-top: 0.75rem; text-wrap: balance; }
.ihero .lead { margin-top: 1.25rem; color: rgba(255, 255, 255, 0.92); }
.ihero .stack-actions { margin-top: 1.75rem; }
.ihero-foot { padding-bottom: 1.25rem; }

/* Autorijles hero: giant B + auto-wide */
.hero-b { display: grid; }
.hero-b-text { padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) 2rem; display: flex; flex-direction: column; justify-content: center; }
.b-row { display: flex; align-items: flex-start; gap: clamp(1rem, 2.5vw, 2rem); }
.giant-code { font-family: var(--font-display); font-weight: 700; font-size: clamp(8rem, 4rem + 14vw, 20rem); line-height: 0.76; text-transform: uppercase; color: var(--white); flex: none; }
.hero-b h1 { font-size: clamp(2.5rem, 1.1rem + 4.6vw, 6rem); }
.hero-b-img { position: relative; aspect-ratio: 4 / 3; }
.hero-b-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
@media (min-width: 900px) {
  .hero-b { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: min(80svh, 740px); }
  .hero-b-text { padding: 4rem 2.5rem 2.5rem max(var(--gutter), calc((100vw - var(--max)) / 2)); }
  .hero-b-img { aspect-ratio: auto; }
  .hero-b-img::before { content: ""; position: absolute; z-index: 2; left: 0; top: 12%; bottom: 12%; width: 3px; background: var(--red); }
}

/* Motorrijles hero: codes + bart-wide */
.hero-m { position: relative; display: flex; flex-direction: column; }
.hero-m-img { position: relative; order: -1; aspect-ratio: 4 / 3; }
.hero-m-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-m-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 0%, rgba(15, 15, 17, 0) 40%); }
.hero-m-copy { position: relative; z-index: 2; padding: 1rem var(--gutter) 1.5rem; }
.codes-row { display: flex; flex-wrap: wrap; gap: 0 clamp(1rem, 2.5vw, 2.25rem); font-family: var(--font-display); font-weight: 700; font-size: clamp(4.5rem, 2rem + 9vw, 11rem); line-height: 0.8; text-transform: uppercase; }
.codes-row span + span::before { content: ""; display: inline-block; width: 0.12em; height: 0.12em; margin-right: clamp(1rem, 2.5vw, 2.25rem); background: var(--red); vertical-align: 0.28em; }
.hero-m h1 { font-size: clamp(2.5rem, 1.1rem + 4.6vw, 6rem); margin-top: 1.25rem; }
@media (min-width: 900px) {
  .hero-m { min-height: min(84svh, 780px); justify-content: flex-end; }
  .hero-m-img { position: absolute; inset: 0; order: 0; aspect-ratio: auto; }
  .hero-m-img img { object-position: 60% 40%; transform: translateX(12%) scale(1.08); transform-origin: right center; }
  .hero-m-img::after { background: linear-gradient(to right, rgba(15, 15, 17, 0.96) 0%, rgba(15, 15, 17, 0.88) 38%, rgba(15, 15, 17, 0.35) 62%, rgba(15, 15, 17, 0.05) 88%); }
  .hero-m-copy { padding: 6rem max(var(--gutter), calc((100vw - var(--max)) / 2)) 2rem; max-width: calc(var(--max) * 0.62); margin-right: auto; box-sizing: content-box; }
}

/* Contact hero */
.hero-c { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); }
.hero-c h1 { font-size: clamp(3.25rem, 1rem + 9vw, 10rem); }
.hero-c .lead { margin-top: 1.5rem; }

/* ================= AUTORIJLES BODY ================= */
.intro-grid { display: grid; gap: 2rem 5rem; align-items: start; }
.intro-grid h2 { margin-top: 1rem; }
@media (min-width: 900px) { .intro-grid { grid-template-columns: 5fr 6fr; } }
.points { margin-top: 2rem; border-top: 1px solid var(--ink); }
.points li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px dashed var(--line-strong); font-weight: 500; }
.points li::before { content: ""; flex: none; width: 14px; height: 8px; margin-top: 0.75rem; background: var(--ink); clip-path: polygon(0 100%, 50% 0, 100% 100%); }

.licpanel { background: var(--ink); color: var(--white); border-block: 2px solid var(--ink); }
.licpanel-row { display: grid; grid-template-columns: auto 1fr; align-items: stretch; border-bottom: 1px dashed var(--line-on-ink); }
.licpanel-code { font-family: var(--font-display); font-weight: 700; font-size: clamp(6rem, 3rem + 9vw, 11rem); line-height: 0.82; padding: 0.15em 0.3em 0.05em 0; text-transform: uppercase; align-self: center; }
.licpanel-cells { display: grid; align-content: center; gap: 0.25rem; padding: 1.25rem 0; }
.licpanel-cells .label { color: var(--grey-on-ink); }
.licpanel-big { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.25rem, 1.2rem + 3.4vw, 4.5rem); line-height: 1; text-transform: uppercase; }
.licpanel-note { padding: 1.75rem 0 2.5rem; display: grid; gap: 1rem; }
.licpanel-note p { color: var(--grey-on-ink); max-width: 36rem; }
.licpanel-note .text-link { color: var(--white); font-weight: 700; }
@media (min-width: 900px) {
  .licpanel-row { grid-template-columns: 14rem 1fr; }
  .licpanel-note { grid-template-columns: 14rem 1fr; padding-top: 2rem; }
  .licpanel-note > div { grid-column: 2; }
}

.pack-grid { display: grid; gap: 2rem 4rem; align-items: start; }
.pack-grid h2 { margin-top: 1rem; }
@media (min-width: 900px) { .pack-grid { grid-template-columns: 6fr 5fr; } }
.price-label { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.25rem, 1.4rem + 2.6vw, 4rem); line-height: 1; margin-top: 1.5rem; }

.faq-grid { display: grid; gap: 2.5rem 5rem; align-items: start; }
.faq-grid h2 { margin-top: 1rem; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 4fr 8fr; } .faq-grid > div:first-child { position: sticky; top: calc(var(--header-h) + 2rem); } }

/* ================= MOTORRIJLES BODY ================= */
.lic-table { width: 100%; table-layout: fixed; border-collapse: collapse; border-top: 2px solid var(--ink); margin-top: 2.25rem; }
.lic-table th, .lic-table td { text-align: left; padding: 1.1rem 0.6rem 1.1rem 0; border-bottom: 1px dashed var(--line-strong); vertical-align: middle; }
.lic-table thead th { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); border-bottom: 1px solid var(--ink); padding-block: 0.8rem; }
.lic-table tbody th { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 1.5rem + 6vw, 7rem); line-height: 0.85; text-transform: uppercase; width: 25%; }
.lic-table td { overflow-wrap: anywhere; }
.lic-table td { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 0.9rem + 1.8vw, 2.5rem); line-height: 1.05; text-transform: uppercase; }
.lic-table td small { display: block; margin-top: 0.4rem; font-family: var(--font-body); font-weight: 400; font-size: 0.9375rem; text-transform: none; color: var(--grey); }
.src-note { margin-top: 1.25rem; }
.pause { display: grid; gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); }
.pause figure { background: var(--white); padding: 0.75rem; box-shadow: 0 0 0 1px var(--line); }
.pause img { width: 100%; height: auto; }
.pause figcaption { font-size: var(--fs-small); color: var(--grey); padding: 0.75rem 0.25rem 0; }
@media (min-width: 900px) { .pause { grid-template-columns: 4fr 7fr; align-items: end; gap: 3rem; } }

.two-col { display: grid; gap: 2rem 5rem; align-items: start; }
.two-col h2 { margin-top: 1rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 5fr 6fr; } }

.split-exam { display: grid; gap: 3.5rem; margin-top: clamp(2rem, 4vw, 3.5rem); }
.exam-part { border-top: 2px solid var(--white); padding-top: 1.25rem; }
.exam-code { font-family: var(--font-display); font-weight: 700; font-size: clamp(6.5rem, 3rem + 9vw, 12rem); line-height: 0.8; text-transform: uppercase; }
.exam-part h3 { margin-top: 0.75rem; text-transform: uppercase; font-weight: 600; }
.exam-part > p { margin-top: 1rem; color: var(--grey-on-ink); max-width: 32rem; }
.stat-row { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; margin-top: 1.75rem; }
.stat { display: grid; }
.stat b { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.5rem, 2rem + 4vw, 5.5rem); line-height: 0.9; font-variant-numeric: lining-nums tabular-nums; }
.stat span { font-size: var(--fs-small); color: var(--grey-on-ink); max-width: 9rem; line-height: 1.35; margin-top: 0.4rem; }
.rules-list { margin-top: 1.5rem; border-top: 1px dashed var(--line-on-ink); }
.rules-list li { padding: 0.8rem 0; border-bottom: 1px dashed var(--line-on-ink); }
@media (min-width: 900px) { .split-exam { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.avb .faq summary { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); min-height: 64px; justify-content: flex-start; }
.avb .faq summary::after { margin-left: auto; }
.avb .faq summary .code { font-size: 1.125rem; margin-right: 1rem; }
.avb .faq summary .cl { display: grid; gap: 0.15rem; }
.cluster-label { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 400; color: var(--grey); }
.exercises { display: grid; gap: 2rem; padding: 0.75rem 0 2.5rem; }
.exercise { display: grid; gap: 1rem; align-content: start; }
.plate { background: var(--white); padding: 1rem; box-shadow: 0 0 0 1px var(--line); display: grid; place-items: center; }
.plate img { width: 100%; max-width: 339px; height: auto; }
.exercise h3 { font-size: 1.625rem; text-transform: uppercase; font-weight: 600; }
.exercise p { margin-top: 0.4rem; color: var(--grey); }
@media (min-width: 640px) { .exercises { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; } }
@media (min-width: 1100px) { .exercises { grid-template-columns: repeat(3, 1fr); } }

.download { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); padding: clamp(1.75rem, 4vw, 3rem); border: 2px solid var(--ink); }
.download h2 { overflow-wrap: anywhere; }
.download p { max-width: 34rem; margin-top: 0.75rem; }
@media (min-width: 900px) { .download { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3rem; } }
.tips { margin-top: 0; border-top: 2px solid var(--ink); counter-reset: tip; }
.tips li { counter-increment: tip; display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px dashed var(--line-strong); align-items: baseline; }
.tips li::before { content: "0" counter(tip); font-family: var(--font-display); font-weight: 700; font-size: 1.875rem; line-height: 1; }

/* ================= CONTACT ================= */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3.5rem; }
.contact-grid > * { min-width: 0; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; } }
.form { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field { display: grid; gap: 0.5rem; min-width: 0; }
.field label { font-weight: 700; font-size: var(--fs-small); }
.field label .req { color: var(--red-accessible); margin-left: 0.15em; }
.field input, .field select, .field textarea { width: 100%; min-height: 56px; padding: 0.85rem 1rem; background: var(--white); border: 2px solid var(--line-strong); border-radius: 2px; font-size: 1.0625rem; line-height: 1.4; }
.field textarea { min-height: 11rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--red-accessible); outline-offset: 2px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--red-accessible); }
.field-error { color: var(--red-accessible); font-weight: 700; font-size: var(--fs-small); display: flex; gap: 0.5rem; align-items: flex-start; }
.field-error[hidden] { display: none; }
.field-error::before { content: "!"; flex: none; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--red-accessible); color: var(--white); font-size: 0.8125rem; display: inline-flex; align-items: center; justify-content: center; margin-top: 0.1rem; }
.check { display: grid; grid-template-columns: 1.75rem 1fr; gap: 0.9rem; align-items: start; }
.check input { width: 1.75rem; height: 1.75rem; min-height: 0; margin: 0.1rem 0 0; accent-color: var(--red-accessible); }
.check label { font-weight: 400; font-size: 1.0625rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.hint { font-size: var(--fs-small); color: var(--grey); }
.contact-panel { background: var(--chalk); padding: clamp(1.75rem, 4vw, 3rem); }
.phone-xl { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 1.5rem + 4.4vw, 5rem); line-height: 1; text-decoration: none; margin-top: 0.75rem; font-variant-numeric: lining-nums tabular-nums; }
.phone-xl:hover { color: var(--red-accessible); }
.contact-panel .facts { margin-top: 1.5rem; }
.map { margin-top: 1.75rem; aspect-ratio: 4 / 3; background: var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }
.social { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.social a { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 2px; }
.social a:hover { background: var(--ink); color: var(--white); }
.after { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px dashed var(--line-strong); max-width: 40rem; }
.after p { margin-top: 1rem; }
