/* Sevenoaks Driving Lessons: site styles
   Mobile first. Colours and type follow the Website Redesign Brief. */

@font-face {
  font-family: "Gilam";
  src: url("../fonts/gilam-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Figtree, self-hosted (SIL Open Font Licence, see fonts/figtree-OFL.txt) */
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-semibold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --ink: #1D1D1B;
  --red: #DB3532;
  --red-dark: #B92A27;
  --amber: #FDB316;
  --green: #3CB54C;
  --paper: #FFFFFF;
  --mist: #F3F3F0;
  --line: #DEDED8;
  --muted: #55554F;
  --display: "Gilam", "Figtree", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1120px;
  --measure: 66ch;
  --gutter: 20px;
  --radius: 12px;
  --bar-h: 0px;
  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: inherit; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.55;
  font-variant-numeric: lining-nums;
  padding-bottom: var(--bar-h);
}
img { max-width: 100%; height: auto; display: block; }
p, ul, ol, blockquote, figure, dl { margin: 0 0 1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

h1, h2, .display {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 1.3rem + 2.8vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); }
h3 { font-family: var(--text); font-weight: 700; font-size: 1.1875rem; line-height: 1.3; margin: 0 0 0.4em; }
.display { font-size: clamp(1.7rem, 1.35rem + 1.6vw, 2.4rem); }
strong, b { font-weight: 700; }

a { color: inherit; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }
.on-dark :focus-visible { outline-color: var(--amber); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: var(--measure); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Items still to confirm before launch. Remove the class once filled in. */
mark.todo { background: #FFE8A8; color: var(--ink); padding: 0 3px; border-radius: 3px; }
.placeholder-copy {
  border: 2px dashed #C9C9C0; border-radius: var(--radius); padding: 18px 20px; background: #FAFAF7; color: var(--muted);
  max-width: var(--measure); margin: 0 0 1.2em;
}
.placeholder-copy strong { color: var(--ink); display: block; margin-bottom: 4px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); }
.site-header::after { /* traffic-light rule */
  content: ""; display: block; height: 4px;
  background: linear-gradient(90deg, var(--red) 0 33.33%, var(--amber) 33.33% 66.66%, var(--green) 66.66% 100%);
}
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 64px; padding-top: 6px; padding-bottom: 6px; }
.logo { display: block; line-height: 0; margin-right: auto; }
.logo img { height: 44px; width: auto; }
.btn.header-cta { display: none; }
.menu-button {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px;
  font: 600 1rem var(--text); color: var(--ink); background: var(--paper);
  border: 2px solid var(--ink); border-radius: 10px; cursor: pointer;
}
.menu-icon { width: 20px; height: 14px; position: relative; display: inline-block; }
.menu-icon span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-icon span:nth-child(1) { top: 0; } .menu-icon span:nth-child(2) { top: 6px; } .menu-icon span:nth-child(3) { top: 12px; }
.menu-button[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(29,29,27,.12); max-height: calc(100vh - 70px - var(--bar-h)); overflow-y: auto; }
.site-nav[hidden] { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 8px 0 16px; }
.site-nav a {
  display: flex; align-items: center; min-height: 56px; padding: 0 var(--gutter);
  text-decoration: none; font-size: 1.125rem; font-weight: 600; border-left: 5px solid transparent;
}
.site-nav a:hover { background: var(--mist); color: var(--ink); }
.site-nav a[aria-current="page"] { border-left-color: var(--red); background: var(--mist); }
@media (min-width: 900px) {
  .site-nav ul { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 24px; padding: 12px var(--gutter) 24px; }
  .site-nav a { padding: 0 16px; }
  .btn.header-cta { display: inline-flex; }
  .logo img { height: 52px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border-radius: 10px; border: 2px solid transparent;
  font: 700 1.0625rem/1.2 var(--text); text-decoration: none; cursor: pointer; text-align: center;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-wa { background: var(--green); color: var(--ink); }
.btn-wa:hover { background: #34a043; color: var(--ink); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--mist); color: var(--ink); }
.on-dark .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.on-dark .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.text-link { font-weight: 700; }

/* ---------- Hero / first screen ---------- */
.hero { padding: 22px 0 36px; }
.hero-grid { display: grid; gap: 28px; }
.eyebrow-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.eyebrow-row img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.eyebrow { font-weight: 600; font-size: 0.9375rem; color: var(--muted); margin: 0; }
.eyebrow a { text-decoration-thickness: 1px; }
.hero h1 { margin-bottom: 0.35em; }
.subhead { font-size: 1.125rem; max-width: 40ch; margin-bottom: 18px; }
.proofs { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.proofs li { border-top: 3px solid var(--ink); padding-top: 8px; font-size: 0.9375rem; line-height: 1.35; font-weight: 600; }
.proofs li:nth-child(1) { border-top-color: var(--red); }
.proofs li:nth-child(2) { border-top-color: var(--amber); }
.proofs li:nth-child(3) { border-top-color: var(--green); }
.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.hero-actions .btn-primary { grid-column: 1 / -1; }
@media (max-width: 420px) { .hero-actions .btn { padding: 0 8px; font-size: 1rem; } }
.small-print { font-size: 0.875rem; line-height: 1.5; color: var(--muted); max-width: 60ch; }
.hero .small-print { color: var(--ink); }
.footnote { font-size: 0.875rem; color: var(--muted); margin-top: 10px; }
.hero-photo { display: none; }
@media (min-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 7fr 5fr; align-items: center; gap: 56px; }
  .eyebrow-row img { display: none; }
  .hero-photo { display: block; }
  .hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
  .proofs { grid-template-columns: 1fr 1fr; gap: 16px 22px; max-width: 560px; }
  .proofs li { font-size: 1rem; }
  .hero-actions { display: flex; flex-wrap: wrap; }
}
.hero-simple { padding-bottom: 20px; }
.hero-simple .intro { font-size: 1.125rem; max-width: 60ch; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section.tint { background: var(--mist); border-top: 0; }
.section.tint + .section { border-top: 0; }
@media (min-width: 900px) { .section { padding: 72px 0; } }
.section-intro { font-size: 1.125rem; max-width: var(--measure); margin-bottom: 26px; }
.stack > * + * { margin-top: 1em; }

.split { display: grid; gap: 28px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } .split.media-left > :first-child { order: -1; } }
.photo-wide img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }

.point-list { list-style: none; padding: 0; margin: 0 0 1em; max-width: var(--measure); }
.point-list li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative; }
.point-list li::before { content: ""; position: absolute; left: 4px; top: 1.15em; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.point-list li:last-child { border-bottom: 0; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1em; display: grid; gap: 14px; max-width: var(--measure); }
.steps li { counter-increment: step; position: relative; padding: 4px 0 4px 56px; min-height: 42px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: #fff; font: 700 1.125rem/40px var(--display); text-align: center;
}

.feature-list { display: grid; gap: 22px; }
@media (min-width: 700px) { .feature-list { grid-template-columns: repeat(3, 1fr); } }
.feature-list > div { border-top: 3px solid var(--ink); padding-top: 12px; }

.callout { background: #FFF4D6; border-left: 5px solid var(--amber); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 20px; max-width: var(--measure); }
.callout h3 { margin-top: 0; }

.display-line { font-family: var(--display); font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem); line-height: 1.15; margin: 0 0 0.5em; color: var(--red); text-wrap: balance; }
.display-line.ink { color: var(--ink); }

/* Cards */
.card-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .card-grid.two { grid-template-columns: 1fr 1fr; } .card-grid.four, .card-grid.guides { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .card-grid.four { grid-template-columns: repeat(4, 1fr); } .card-grid.guides { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; }
.card.has-photo { padding: 0; overflow: hidden; }
.card.has-photo .card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 900px) { .card-photo img { aspect-ratio: 3 / 2; } }
.card h3 { font-size: 1.25rem; }
.card .card-link { margin-top: auto; padding-top: 12px; }
.card .btn { margin-top: auto; align-self: flex-start; }
.tint .card { border-color: transparent; }

/* Reviews */
.rating-line { font-weight: 700; margin-bottom: 22px; }
.review-grid { display: grid; gap: 18px; margin-bottom: 20px; }
@media (min-width: 800px) { .review-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.review { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); margin: 0; display: flex; flex-direction: column; overflow: hidden; }
.tint .review { border-color: transparent; }
.review-photo { position: relative; }
.review-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.review-photo figcaption { position: absolute; left: 10px; bottom: 10px; background: var(--ink); color: #fff; font-size: .875rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.review blockquote { margin: 0; padding: 20px 20px 8px; font-size: 1.0625rem; }
.review blockquote p::before { content: ""; display: block; width: 36px; height: 4px; background: var(--amber); margin-bottom: 12px; border-radius: 2px; }
.review .reviewer { padding: 0 20px 20px; margin-top: auto; font-weight: 700; font-size: .9375rem; }

.pass-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 16px; }
@media (min-width: 800px) { .pass-strip { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.pass-strip figure { margin: 0; }
.pass-strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; }
.pass-strip figcaption { font-size: .875rem; font-weight: 600; margin-top: 6px; }
.awards { font-size: .9375rem; color: var(--muted); margin-top: 18px; }

/* FAQ */
.faq { max-width: var(--measure); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 700; padding: 12px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 1.6rem/1 var(--text); color: var(--red); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 18px; }

/* Related links */
.related { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 800px) { .related { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; } }
.related a { display: flex; align-items: center; min-height: 56px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 600; background: var(--paper); }
.related a:hover { border-color: var(--ink); color: var(--ink); }

/* Price table */
.table-wrap { overflow-x: auto; max-width: 720px; margin-bottom: 18px; }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
.price-table th, .price-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table thead th { font-size: .9375rem; border-bottom: 2px solid var(--ink); }
.price-table td.num, .price-table th.num { text-align: right; white-space: nowrap; font-weight: 700; }
.price-table tr.recommended { background: #FFF4D6; }
.price-table .tag { display: inline-block; font-size: .8125rem; font-weight: 700; background: var(--amber); color: var(--ink); padding: 1px 8px; border-radius: 999px; margin-left: 4px; }

/* Hours graphic */
.hours-chart { max-width: 720px; margin: 10px 0 20px; display: grid; gap: 16px; }
.hours-row .label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }
.hours-row .bar { height: 26px; border-radius: 6px; background: var(--red); }
.hours-row.dvsa .bar { background: #B9B9B2; }
.hours-row .cost { color: var(--muted); font-weight: 400; white-space: nowrap; }

/* Breadcrumb, byline */
.breadcrumb { font-size: .9375rem; margin: 18px 0 8px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.byline { display: flex; align-items: center; gap: 12px; margin: 6px 0 22px; font-size: .9375rem; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 600; }
.chips a:hover { background: var(--ink); color: #fff; }
.in-short { background: var(--mist); border-radius: var(--radius); padding: 18px 20px; max-width: var(--measure); margin-bottom: 28px; }
.in-short h2 { font-family: var(--text); font-size: 1.125rem; margin-bottom: 8px; }
.article { max-width: var(--measure); }
.article h2 { margin-top: 1.4em; }
.nudge { border: 2px solid var(--ink); border-radius: var(--radius); padding: 18px 20px; margin: 28px 0; max-width: var(--measure); }
.nudge p { font-weight: 600; margin-bottom: 10px; }
.author-box { display: grid; grid-template-columns: 88px 1fr; gap: 18px; align-items: start; max-width: var(--measure); }
.author-box img { width: 88px; height: 88px; border-radius: 12px; object-fit: cover; }
.author-box h2 { font-size: 1.4rem; margin-bottom: .3em; }
.guide-group { margin-bottom: 44px; scroll-margin-top: 90px; }
.guide-group:last-child { margin-bottom: 0; }

/* Video placeholder (click to load, consent-aware) */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--ink); color: #fff; border-radius: var(--radius); overflow: hidden; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.video .video-inner { position: relative; height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 10px; padding: 18px; }
.video .video-note { font-size: .875rem; max-width: 46ch; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Contact block ---------- */
.contact { background: var(--ink); color: #fff; padding: 52px 0 60px; }
.contact a { color: #fff; text-decoration-color: var(--amber); }
.contact-grid { display: grid; gap: 22px; grid-template-areas: "head" "notice" "alt" "form" "close"; }
.contact-head { grid-area: head; }
.contact-head .who { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.contact-head .who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--amber); }
.contact-head h2 { margin: 0; }
.short-notice {
  grid-area: notice; border-left: 5px solid var(--amber); background: rgba(255,255,255,.07);
  padding: 14px 16px; border-radius: 0 10px 10px 0; font-weight: 600; margin: 0;
}
.contact-alt { grid-area: alt; }
.contact-alt p { margin-bottom: 10px; font-weight: 600; }
.contact-alt .alt-actions { display: grid; gap: 10px; }
.contact-alt .email-link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; font-size: .9375rem; overflow-wrap: anywhere; }
@media (min-width: 400px) { .contact-alt .email-link { font-size: 1.0625rem; } }
.contact-grid.book { grid-template-areas: "notice" "form" "alt"; }
.contact.tight { padding-top: 28px; }
.contact-form-card { grid-area: form; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 22px 18px; }
.contact-form-card a { color: var(--ink); text-decoration-color: var(--red); }
.contact-close { grid-area: close; font-size: 1.125rem; font-weight: 600; margin: 0; }
@media (min-width: 900px) {
  .contact { padding: 80px 0; }
  .contact-grid { grid-template-columns: 5fr 6fr; column-gap: 56px; grid-template-areas: "head form" "notice form" "alt form" "close form"; align-content: start; }
  .contact-grid.book { grid-template-areas: "notice form" "alt form" ". form"; grid-template-rows: auto auto 1fr; }
  .contact.tight { padding-top: 56px; }
  .contact-grid > .contact-form-card { align-self: start; padding: 30px; }
  .contact-alt .alt-actions { grid-template-columns: auto auto; justify-content: start; align-items: center; gap: 16px; }
}

/* Form */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: 400 1.0625rem/1.4 var(--text); color: var(--ink);
  background: #fff; border: 2px solid #8C8C84; border-radius: 10px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--amber); outline-offset: 1px; border-color: var(--ink); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.field-error { color: var(--red-dark); font-weight: 600; font-size: .9375rem; margin-top: 6px; }
.field-error:empty { display: none; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { width: 100%; }
.form-reply { font-size: .9375rem; color: var(--muted); margin: 10px 0 0; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.error { color: var(--red-dark); }
.form-sent { background: #EAF7EC; border-left: 5px solid var(--green); padding: 18px; border-radius: 0 10px 10px 0; font-weight: 600; }
.form-sent:focus { outline: none; }
.form-notes { list-style: none; padding: 0; margin: 14px 0 0; font-size: .9375rem; color: var(--muted); }
.form-notes li + li { margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--mist); padding: 44px 0 28px; font-size: .9375rem; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-logo img { height: 56px; width: auto; margin-bottom: 14px; }
.site-footer h2 { font-family: var(--text); font-size: 1rem; margin-bottom: 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a, .footer-contact a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-contact { margin: 0; }
.footer-contact p { margin: 0; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; color: var(--muted); }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 0 18px; }
.link-button { background: none; border: 0; padding: 0; min-height: 40px; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
.footer-small { color: var(--muted); font-size: .875rem; margin-top: 12px; }

/* ---------- Sticky contact bar (phones) ---------- */
.contact-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--paper);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(29,29,27,.08);
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  transition: transform .2s;
}
.contact-bar .btn { min-height: 48px; padding: 0 12px; }
body.kb-open .contact-bar { transform: translateY(110%); }
@media (max-width: 899px) { :root { --bar-h: calc(70px + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 900px) { .contact-bar { display: none; } }

/* ---------- Cookie banner and settings ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: var(--bar-h); z-index: 60; background: var(--paper);
  border-top: 4px solid var(--ink); box-shadow: 0 -8px 24px rgba(29,29,27,.15); padding: 14px 0 16px; font-size: .9375rem;
}
.cookie-banner[hidden], .cookie-panel[hidden] { display: none; }
.cookie-banner .wrap { display: grid; gap: 12px; }
.cookie-banner h2 { font-family: var(--text); font-size: 1.0625rem; margin: 0; }
.cookie-banner p { margin: 0; max-width: 90ch; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .btn { min-height: 44px; padding: 0 16px; font-size: 1rem; }
.btn-choice { background: var(--ink); color: #fff; }
.btn-choice:hover { background: #3a3a37; color: #fff; }
@media (max-width: 599px) { .cookie-actions .btn-choice { flex: 1 1 40%; } .cookie-actions .btn-ghost { flex: 1 1 100%; } }
@media (min-width: 900px) { .cookie-banner .wrap { grid-template-columns: 1fr auto; align-items: center; column-gap: 28px; } .cookie-banner h2 { grid-column: 1 / -1; } }

.cookie-panel { position: fixed; inset: 0; z-index: 70; background: rgba(29,29,27,.55); display: flex; align-items: flex-end; justify-content: center; }
.cookie-dialog { background: var(--paper); width: 100%; max-width: 620px; max-height: 92vh; overflow-y: auto; border-radius: 16px 16px 0 0; padding: 22px 20px calc(20px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 700px) { .cookie-panel { align-items: center; } .cookie-dialog { border-radius: 16px; } }
.cookie-dialog h2 { font-family: var(--text); font-size: 1.25rem; }
.cookie-cat { border-top: 1px solid var(--line); padding: 14px 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; }
.cookie-cat p { grid-column: 1; margin: 0; font-size: .9375rem; color: var(--muted); }
.cookie-cat .cat-name { font-weight: 700; }
.cookie-cat .always { font-size: .875rem; font-weight: 700; color: var(--muted); grid-row: 1 / span 2; grid-column: 2; }
.switch { grid-row: 1 / span 2; grid-column: 2; position: relative; width: 56px; height: 32px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: #A6A69F; border-radius: 999px; transition: background .15s; }
.switch span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; background: #fff; border-radius: 50%; transition: transform .15s; }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(24px); }
.switch input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.cookie-dialog .cookie-actions { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; }
.cookie-dialog .cookie-actions [data-consent="save"] { grid-column: 1 / -1; }
.cookie-dialog .cookie-actions .btn { flex: none; }

/* ---------- Legal pages ---------- */
.legal { max-width: var(--measure); }
.legal h1 { margin-top: 10px; }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .9375rem; margin: 0 0 1.2em; }
.legal th, .legal td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.legal th { border-bottom: 2px solid var(--ink); }
.legal .table-scroll { overflow-x: auto; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: .4em; }

/* ---------- Quotations in articles ---------- */
/* Standard quotation: <blockquote><p>…</p><cite>Name</cite></blockquote> */
.article blockquote, .legal blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 5px solid var(--amber);
  font-size: 1.1875rem; line-height: 1.5; font-weight: 600; color: var(--ink);
}
.article blockquote p { margin-bottom: .6em; }
.article blockquote p:last-of-type { margin-bottom: 0; }
.article blockquote cite, .article .pull-quote cite {
  display: block; margin-top: 10px; font-style: normal; font-weight: 400; font-size: .9375rem; color: var(--muted);
}
.article blockquote cite::before, .article .pull-quote cite::before { content: "– "; }

/* Pull quote for one short, punchy line: <blockquote class="pull-quote"><p>…</p></blockquote> */
.article blockquote.pull-quote {
  border-left: 0; padding: 22px 0 18px; margin: 2em 0;
  border-top: 4px solid var(--red); border-bottom: 1px solid var(--line);
  font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.2;
  text-wrap: balance;
}
.article blockquote.pull-quote cite { font-family: var(--text); }
