/* AA Celbridge — site styles */
:root {
  --ink: #111417;
  --ink-2: #1b2026;
  --ink-3: #2a3038;
  --paper: #f5f2ec;
  --paper-2: #ebe6dc;
  --line: rgba(17, 20, 23, .12);
  --muted: #5d636b;
  --accent: #c94a20;        /* buttons & fills: white text 4.7:1 (WCAG AA) */
  --accent-dark: #a83a16;   /* hover / text on light backgrounds 5.9:1 */
  --accent-ink: #a83a16;
  --accent-bright: #ef6a3f; /* accents on dark backgrounds 5.9:1 */
  --ok: #2f9e5b;
  --radius: 14px;
  --wrap: 1180px;
  --head: "Archivo", "Archivo Fallback", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@font-face { font-family: "Archivo"; src: url("fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 88%; }

*, *::before, *::after { box-sizing: border-box; }
picture { display: contents; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--head);
  line-height: 1.05;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--dark { background: var(--ink); color: #eef0f2; }
.section--tint { background: var(--paper-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 700; font-size: .82rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink);
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.section--dark .lead { color: #a9b0b8; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--head); font-weight: 700; font-size: 1rem; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--wa { background: #25d366; color: #0b2a17; }
.btn--wa:hover { background: #1fbd59; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar + header */
.topbar { background: var(--accent); color: #fff; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { text-decoration: none; font-weight: 600; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 20, 23, .94);
  backdrop-filter: saturate(140%) blur(10px);
  color: #fff; border-bottom: 1px solid rgba(255,255,255,.06);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark {
  width: 44px; height: 44px; border-radius: 10px; background: var(--accent);
  display: grid; place-items: center;
  font-family: var(--head); font-weight: 900; font-size: 1.15rem; color: #fff; letter-spacing: -.02em;
}
.logo__text { font-family: var(--head); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; line-height: 1; }
.logo__text small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .2em; color: #9aa2ab; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  text-decoration: none; padding: 10px 14px; border-radius: 8px;
  font-weight: 500; font-size: .96rem; color: #d6dade;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
.nav .btn { margin-left: 10px; padding: 11px 20px; font-size: .9rem; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; visibility: hidden;
    background: var(--ink); padding: 14px 20px 24px; gap: 2px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-8px); opacity: 0; transition: transform .2s ease, opacity .2s ease, visibility .2s; z-index: 1; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6);
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 10px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; }
  .topbar .hide-sm { display: none; }
}

/* Hero */
.hero {
  position: relative; color: #fff; background: var(--ink);
  min-height: min(88vh, 760px); display: flex; align-items: center; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(17,20,23,.95) 0%, rgba(17,20,23,.78) 45%, rgba(17,20,23,.35) 100%);
}
.hero .wrap { position: relative; padding: 90px 0; }
.hero h1 { max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { color: #c9cfd5; font-size: 1.2rem; max-width: 46ch; margin-bottom: 30px; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; padding: 0; list-style: none; color: #dfe3e6; font-size: .95rem; }
.hero__ticks li { display: flex; align-items: center; gap: 8px; }
.hero__ticks svg { width: 18px; height: 18px; color: var(--accent); }

.page-hero { background: var(--ink); color: #fff; padding: clamp(70px, 10vw, 120px) 0 clamp(50px, 7vw, 80px); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(228, 87, 46, .12);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); max-width: 16ch; }
.page-hero .lead { color: #b6bdc4; }
.crumbs { font-size: .88rem; color: #8b939c; margin-bottom: 18px; }
.crumbs a { color: #c9cfd5; }

/* Trust strip */
.trust { background: var(--ink-2); color: #fff; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 28px 22px; border-left: 1px solid rgba(255,255,255,.07); display: flex; gap: 14px; align-items: flex-start; }
.trust__item:first-child { border-left: 0; }
.trust__item svg { width: 30px; height: 30px; color: var(--accent); flex: none; margin-top: 2px; }
.trust__item strong { display: block; font-family: var(--head); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; }
.trust__item span { font-size: .9rem; color: #9aa2ab; }
@media (max-width: 880px) {
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.07); }
}
@media (max-width: 480px) { .trust__item { padding: 22px 12px; } }

/* Section head */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 16ch; }
.section-head .lead { margin: 0; }

/* Services grid */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 28px; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(17,20,23,.35); border-color: transparent; }
.service__icon {
  width: 56px; height: 56px; border-radius: 12px; background: var(--ink); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 22px;
}
.service__icon svg { width: 28px; height: 28px; }
.service p { color: var(--muted); font-size: .98rem; }
.service ul { margin: 0 0 18px; padding: 0; list-style: none; font-size: .93rem; }
.service li { padding: 6px 0 6px 22px; position: relative; border-top: 1px dashed var(--line); }
.service li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.service__link { margin-top: auto; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .88rem; color: var(--accent); text-decoration: none; }
.service__link:hover { text-decoration: underline; }
@media (max-width: 960px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

/* Split / about */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; }
.split__badge {
  position: absolute; right: -16px; bottom: 28px; background: var(--accent); color: #fff;
  padding: 18px 22px; border-radius: 12px; font-family: var(--head); text-transform: uppercase;
  box-shadow: 0 16px 30px -14px rgba(0,0,0,.5);
}
.split__badge strong { display: block; font-size: 1.9rem; line-height: 1; }
.split__badge span { font-size: .78rem; letter-spacing: .1em; }
.checks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks svg { width: 24px; height: 24px; flex: none; color: var(--accent); margin-top: 2px; }
.checks strong { display: block; }
.checks span { color: var(--muted); font-size: .96rem; }
.section--dark .checks span { color: #a9b0b8; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .split__badge { right: 12px; }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px 24px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--head); font-weight: 800; font-size: 2.6rem; color: var(--accent); line-height: 1; display: block; margin-bottom: 16px;
}
.step p { color: #a9b0b8; font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 12px; background: var(--ink-3); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
}

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.review__stars { color: #f2a705; letter-spacing: 2px; font-size: 1.1rem; margin-bottom: 12px; }
.review blockquote { margin: 0 0 18px; font-size: 1.04rem; }
.review cite { font-style: normal; font-weight: 600; font-size: .92rem; color: var(--muted); }
@media (max-width: 880px) { .reviews { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--head); font-weight: 700; font-size: 1.2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.8rem; font-weight: 400; color: var(--accent); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; max-width: 70ch; }

/* CTA band */
.cta {
  background: var(--accent); color: #fff; border-radius: 22px;
  padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
  position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -80px; bottom: -140px; width: 340px; height: 340px; border-radius: 50%;
  border: 50px solid rgba(255,255,255,.12);
}
.cta h2 { margin: 0 0 10px; }
.cta p { margin: 0; opacity: .92; font-size: 1.1rem; }
.cta .btn-row { justify-content: flex-end; position: relative; z-index: 1; }
.cta .btn--light { background: #fff; color: var(--ink); }
.cta .btn--ghost { color: #fff; }
@media (max-width: 880px) { .cta { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 4px; }
.info-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list svg { width: 24px; height: 24px; color: var(--accent); flex: none; margin-top: 3px; }
.info-list small { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; color: var(--muted); font-weight: 600; }
.info-list a { text-decoration: none; font-weight: 600; font-size: 1.08rem; }
.info-list a:hover { color: var(--accent); }
.hours { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.is-today td { color: var(--accent); }
.open-pill { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(47,158,91,.12); color: var(--ok); margin-bottom: 10px; }
.open-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-pill.is-closed { background: rgba(228,87,46,.12); color: var(--accent-dark); }

.card { background: #fff; border-radius: 18px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); box-shadow: 0 24px 60px -36px rgba(17,20,23,.35); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: 10px;
  border: 1.5px solid #d5d0c6; background: #fbfaf7; color: var(--ink);
}
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(228,87,46,.15); background: #fff; }
.form .hint { font-size: .85rem; color: var(--muted); margin: 0; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.map { border: 0; width: 100%; height: 380px; border-radius: var(--radius); filter: grayscale(.2); display: block; }

/* Footer */
.footer { background: var(--ink); color: #b4bbc2; padding: 70px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.footer .footer__h { font-family: var(--head); font-weight: 700; color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; margin-bottom: 18px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 10px; background: var(--ink-3); display: grid; place-items: center; color: #fff; }
.socials a:hover { background: var(--accent); }
.socials svg { width: 20px; height: 20px; }
.footer__bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #7f8790; }
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--ink); border-top: 1px solid rgba(255,255,255,.1);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px; color: #fff; text-decoration: none; font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
  .mobile-bar a svg { width: 22px; height: 22px; }
  .mobile-bar a.call { background: var(--accent); }
  .mobile-bar a.wa svg { color: #25d366; }
}

/* Reveal on scroll */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Google reviews */
.g-logo { width: 22px; height: 22px; flex: none; }
.review { display: flex; flex-direction: column; }
.review blockquote { flex: 1; }
.review cite span { font-weight: 400; }
.review__src { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.review__src .g-logo { width: 16px; height: 16px; }
.g-badge { display: inline-flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 20px; text-decoration: none; transition: box-shadow .2s; }
.g-badge:hover { box-shadow: 0 12px 28px -16px rgba(17,20,23,.4); }
.g-badge .g-logo { width: 34px; height: 34px; }
.g-badge strong { display: flex; align-items: center; gap: 8px; font-family: var(--head); font-size: 1.5rem; line-height: 1; }
.g-badge strong span.review__stars { margin: 0; font-size: 1rem; color: #f2a705; }
.g-badge span { font-size: .88rem; color: var(--muted); }
.section--tint .btn--ghost { color: var(--ink); }

/* Footer credit */
.footer .credit { color: #c9cfd5; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(228,87,46,.6); }
.footer .credit:hover { color: var(--accent); }
@media (max-width: 760px) {
  body { padding-bottom: 0; }
  .footer__bottom { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
}

/* Top bar: phone always whole; on its own line on mobile */
.topbar .tb-phone { white-space: nowrap; }
@media (max-width: 760px) {
  .topbar .tb-info { display: flex; flex-direction: column; gap: 2px; }
  .topbar .tb-sep { display: none; }
  .topbar .tb-phone { font-size: 1rem; }
}

/* Gallery: real photos */
.gallery { grid-auto-flow: dense; }
.gallery .big { grid-column: span 2; grid-row: span 2; }
.gallery figure { position: relative; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff;
  font-family: var(--head); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
}

/* ===================== v2: accessibility, SEO & conversion components ===================== */
/* Colour contrast: bright accent on dark backgrounds, deep accent for text on light */
.hero h1 em, .hero__ticks svg, .trust__item svg, .service__icon, .section--dark .checks svg,
.section--dark .step::before, .section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow,
.footer .credit:hover, .footer a:hover { color: var(--accent-bright); }
.service__link, .hours tr.is-today th, .hours tr.is-today td, .info-list a:hover, .faq summary::after { color: var(--accent-ink); }
.form input:focus, .form select:focus, .form textarea:focus { box-shadow: 0 0 0 4px rgba(201,74,32,.2); }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; }
.section:not(.section--dark) :focus-visible, .card :focus-visible { outline-color: var(--accent-ink); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
.ico-sm { width: 14px; height: 14px; vertical-align: -2px; }
.h3, .contact-grid h2.h3 { font-size: 1.35rem; font-weight: 700; text-transform: none; margin: 0 0 14px; }
.contact-grid h2.h3 + .open-pill, .contact-grid .info-list + h2 { margin-top: 8px; }
.card h2 { font-size: 2rem; }
.hint { font-size: .9rem; color: var(--muted); }
.card .hint:first-of-type { margin-bottom: 22px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.btn--dark { color: var(--ink); }
.btn--dark:hover { background: rgba(17,20,23,.06); }
.btn--dark-solid { background: var(--ink); color: #fff; }
.btn--dark-solid:hover { background: var(--ink-3); }
.section--flush { padding-top: 0; }
.section--flush-top { padding-top: clamp(28px, 4vw, 44px); padding-bottom: 0; }
.more-reviews { margin-top: 28px; }
.g-inline { text-decoration: none; display: flex; align-items: center; gap: 8px; }
.stars-gold { color: #f2a705; }
.updated { display: block; font-size: .9rem; margin-top: 6px; }
.source-note { font-size: .88rem; color: var(--muted); margin: 0; }
.source-note a { color: var(--accent-ink); }

/* Lists reset for semantic markup */
.trust ul.wrap, ol.steps, .crumbs ol { list-style: none; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; }
.trust ul.wrap { display: grid; }
ol.steps { padding: 0; }
.steps--light .step { border-color: var(--line); }
.steps--light .step p { color: var(--muted); }
.review blockquote p { margin: 0; }
.review figcaption { font-weight: 600; font-size: .92rem; color: var(--muted); }
.review figcaption span { font-weight: 400; }

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #6f7780; }
.crumbs a { color: #c9cfd5; }
.crumbs [aria-current] { color: #b4bbc2; }

/* FAQ: question headings inside <summary> */
.faq summary h3 { display: inline; font-size: inherit; font-weight: inherit; margin: 0; letter-spacing: 0; }

/* Answer-engine guide */
.answers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.answer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.answer h3 { font-size: 1.25rem; }
.answer p { color: var(--muted); margin: 0 0 10px; font-size: .98rem; }
.answer p.answer__short, .answer__short { color: var(--ink); }
.answer__short { border-left: 3px solid var(--accent); padding-left: 12px; }
@media (max-width: 820px) { .answers { grid-template-columns: 1fr; } }

/* Tyre page */
.tyre-cta { justify-content: flex-start; }
.numbered { padding-left: 1.3em; margin: 20px 0; display: grid; gap: 12px; }
.numbered li::marker { color: var(--accent-bright); font-family: var(--head); font-weight: 800; }
.section--dark .numbered strong { color: #fff; }
.split--text { align-items: start; }
.table-wrap { overflow-x: auto; }
.spec { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.spec caption { text-align: left; font-family: var(--head); font-weight: 700; font-size: 1.1rem; padding: 0 0 12px; }
.spec th, .spec td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .96rem; }
.spec thead th { background: var(--ink); color: #fff; font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; }
.spec tbody th code { font-size: 1.05rem; font-weight: 700; color: var(--accent-ink); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .95em; }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent-ink); }
.page-hero--tall { min-height: 60vh; display: flex; align-items: center; }

/* Form validation + status */
.field-error { color: #b3261e; font-size: .88rem; margin: 6px 0 0; font-weight: 600; }
.form [aria-invalid="true"] { border-color: #b3261e; }
.form-status { background: rgba(47,158,91,.1); border: 1px solid rgba(47,158,91,.35); color: #1d5e37; border-radius: 10px; padding: 14px 16px; }
.form-status a { color: inherit; font-weight: 700; }

/* Map placeholder (loads Google Maps only on request) */
.map-consent { background: var(--paper-2); border: 1px dashed #c9c2b5; border-radius: var(--radius); min-height: 260px; padding: 32px; display: grid; place-content: center; text-align: center; gap: 14px; }
.map-consent .btn-row { justify-content: center; }
.map-consent p { margin: 0; }

/* Cookie banner */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin-left: auto;
  background: #fff; color: var(--ink); border-radius: 16px; padding: 22px 24px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.45); border: 1px solid var(--line); }
.cookie h2 { font-size: 1.3rem; margin: 0 0 6px; text-transform: none; }
.cookie p { font-size: .94rem; color: var(--muted); margin: 0 0 14px; }
.cookie p a { color: var(--accent-ink); }
.cookie__prefs { display: grid; gap: 8px; margin-bottom: 14px; font-size: .95rem; }
.cookie__prefs input { width: 18px; height: 18px; vertical-align: -3px; margin-right: 8px; accent-color: var(--accent); }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cookie__btns .btn { padding: 11px 20px; font-size: .9rem; }
@media (max-width: 760px) { .cookie { bottom: 80px; } }

.open-pill { color: #1d6b3c; background: rgba(47,158,91,.14); }
.open-pill.is-closed { color: var(--accent-dark); }
.nav a.btn, .nav a.btn:hover { color: #fff; background: var(--accent); }
.nav a.btn:hover { background: var(--accent-dark); }

/* Mobile: phone lives in the bottom action bar, not the top bar */
@media (max-width: 760px) {
  .topbar .tb-phone, .topbar .tb-sep { display: none; }
  .topbar .wrap { justify-content: center; }
}
