/* Placentia Super Service: Brakes
   Concept: "Nothing hidden." Photos sit in window frames like the lounge window into the bays;
   the brand stripe (chrome / blue / magenta) is the window sill. */

:root {
  --ink: #0B1F4F;
  --ink-deep: #07142F;
  --blue: #0A5BD0;
  --blue-dark: #0848A6;
  --glass: #EEF3FA;
  --paper: #FFFFFF;
  --line: #D6DDE7;
  --chrome: #C9CED6;
  --magenta: #D1239B;
  --text: #1B2436;
  --muted: #4A5670;
  --amber: #F2B01E;
  --orange: #F07A1A;
  --red: #D7263D;
  --frame: #0E1A33;
  --display: "Schibsted Grotesk", "Arial Narrow", Arial, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.1; font-weight: 800; }
h3 { font-size: 1.375rem; line-height: 1.25; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.section { padding: var(--section) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.1875rem; margin-top: 16px; }
.visually-hidden { position: absolute !important; 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: 8px;
  min-height: 52px; padding: 12px 24px; border-radius: 4px;
  font-family: var(--display); font-weight: 800; font-size: 1.0625rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; line-height: 1.2;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--glass); color: var(--ink); }
.btn--urgent { background: var(--red); color: #fff; }
.btn--urgent:hover { background: #B81E32; color: #fff; }

/* Window pane: the signature frame */
.pane {
  position: relative; margin: 0 0 18px;
  border: 10px solid var(--frame); border-radius: 6px; background: var(--frame);
  box-shadow: 0 24px 48px -30px rgba(7, 20, 47, .6);
}
.pane img { width: 100%; border-radius: 1px; }
.pane::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, transparent 0 58%, rgba(255, 255, 255, .13) 58% 64%, transparent 64% 100%);
}
.pane::before { /* the sill: brand stripe */
  content: ""; position: absolute; left: -10px; right: -10px; bottom: -20px; height: 9px;
  background: linear-gradient(to bottom, var(--chrome) 0 33.3%, var(--blue) 33.3% 66.6%, var(--magenta) 66.6% 100%);
  border-radius: 0 0 2px 2px;
}

/* Header */
.topbar { background: var(--ink-deep); color: #DDE3EC; font-size: .9375rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-height: 44px; padding-top: 6px; padding-bottom: 6px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--chrome); }
.pill.is-open::before { background: #3CCB7F; }
.pill.is-closed::before { background: var(--amber); }
.pill--plain::before { display: none; }
.topbar-phone { margin-left: auto; color: #fff; font-weight: 700; text-decoration: none; }
.topbar-phone:hover { color: #fff; text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.brand img { width: 136px; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 22px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; }
.nav a:hover { color: var(--blue); text-decoration: underline; }
.header-book { flex: none; }
.menu-toggle { display: none; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); background: linear-gradient(180deg, var(--glass) 0, #fff 78%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); line-height: 1.04; font-weight: 900; max-width: 15ch; }
.hero-lead { font-size: 1.25rem; color: var(--muted); max-width: 34rem; margin: 24px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.creds { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; max-width: 34rem; }
.creds li { position: relative; padding-left: 26px; font-weight: 600; color: var(--ink); font-size: 1rem; line-height: 1.35; }
.creds li::before { content: ""; position: absolute; left: 0; top: .2em; width: 14px; height: 14px; background: var(--blue); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%); }

/* Offers */
.offers { background: var(--ink); color: #fff; padding: 40px 0; }
.offers .wrap { display: grid; grid-template-columns: 14rem 1fr; gap: 24px 40px; align-items: start; }
.offers h2 { color: #fff; font-size: 1.75rem; }
.offer-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.offer { border: 2px dashed rgba(255, 255, 255, .45); border-radius: 6px; padding: 20px 22px; }
.offer h3 { color: #fff; font-size: 1.25rem; margin-bottom: 8px; }
.offer p { margin-bottom: 8px; }
.offer-terms { font-size: .9375rem; color: #C7D0DE; }
.offer-end { font-size: .9375rem; font-weight: 700; color: #fff; }
.offer a { color: #fff; font-weight: 700; }
.offer-fallback { font-size: 1.1875rem; margin: 0; max-width: 40rem; }
.offer-fallback a { color: #fff; font-weight: 700; }

/* Check-in */
.checkin { background: var(--ink-deep); color: #fff; }
.checkin .section-head h2 { color: #fff; }
.checkin .section-head p { color: #C7D0DE; }
.checkin-frame { max-width: 780px; margin: 0 auto; }
.checkin .pane { border-color: #1C2C4F; background: #1C2C4F; }
.ci-stage { background: #fff; color: var(--text); padding: clamp(24px, 4vw, 44px); min-height: 380px; }
.ci-stage h3:focus { outline: none; }
.ci-progress { font-size: .9375rem; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.ci-question { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 24px; }
.ci-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ci-option {
  text-align: left; font: inherit; font-weight: 600; color: var(--ink);
  background: var(--glass); border: 2px solid transparent; border-radius: 4px; padding: 14px 16px; cursor: pointer; min-height: 56px;
}
.ci-option:hover { border-color: var(--blue); background: #fff; }
.ci-back { margin-top: 20px; background: none; border: 0; padding: 6px 0; font: inherit; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ci-level { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 1rem; padding: 6px 14px; border-radius: 4px; margin-bottom: 14px; }
.ci-level--soon { background: var(--amber); color: #2A1E00; }
.ci-level--now { background: var(--orange); color: #2A1400; }
.ci-level--stop { background: var(--red); color: #fff; }
.ci-lead { font-size: 1.1875rem; }
.ci-sub { font-weight: 700; color: var(--ink); margin: 20px 0 6px; }
.ci-causes { margin: 0 0 16px; padding-left: 1.2em; }
.ci-causes li { margin-bottom: 4px; }
.ci-note { background: var(--glass); border-left: 4px solid var(--blue); padding: 12px 16px; }
.ci-cta { margin-top: 12px; }
.ci-confirm { margin: 14px 0 0; font-weight: 600; color: var(--muted); }
.ci-noscript { margin: 0; }

/* Visit */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(48px, 7vw, 88px); counter-reset: step; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; counter-increment: step; }
.step:nth-child(even) .step-media { order: 2; }
.step-media { max-width: 440px; width: 100%; justify-self: center; }
.step-body { max-width: 30rem; }
.step-body h3 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); margin-bottom: 12px; display: flex; gap: 14px; align-items: baseline; }
.step-body h3::before {
  content: counter(step); flex: none; font-size: 1rem; width: 34px; height: 34px; border-radius: 50%;
  display: inline-grid; place-items: center; background: var(--ink); color: #fff; transform: translateY(-3px);
}
.step-body p { color: var(--muted); }

/* How brakes wear */
.wear { background: var(--glass); }
.wear .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); }
.wear-parts { margin: 0; }
.wear-parts div { padding: 20px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 9rem 1fr; gap: 20px; }
.wear-parts div:last-child { border-bottom: 1px solid var(--line); }
.wear-parts dt { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 1.1875rem; }
.wear-parts dd { margin: 0; }
.wear-why { margin-top: 28px; padding: 22px 24px; background: #fff; border-radius: 4px; }
.wear-why h3 { margin-bottom: 8px; }
.wear-why p { margin: 0; }

/* History */
.history .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.timeline { list-style: none; margin: 28px 0 0; padding: 0; border-left: 3px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 28px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 10px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.timeline b { display: block; font-family: var(--display); font-weight: 900; font-size: 1.75rem; color: var(--ink); line-height: 1.2; }
.history-note { color: var(--muted); }
.history .pane { margin-top: 8px; }

/* Coverage */
.coverage { border-top: 1px solid var(--line); }
.cover-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cover-grid > div { border-top: 4px solid var(--blue); padding-top: 18px; }
.cover-grid h3 { margin-bottom: 10px; }
.cover-grid p { color: var(--muted); }
.brand-line { margin-top: 40px; font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--ink); }

/* FAQ */
.faq { background: var(--glass); }
.faq .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 80px); }
.faq-list details { border-top: 1px solid var(--line); background: transparent; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-family: var(--display); font-weight: 800; font-size: 1.1875rem; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--blue), var(--blue)) center/100% 3px no-repeat, linear-gradient(var(--blue), var(--blue)) center/3px 100% no-repeat; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 44px 20px 0; margin: 0; color: var(--muted); }

/* Related */
.related-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: start; }
.related-links { list-style: none; margin: 0; padding: 0; }
.related-links li { border-top: 1px solid var(--line); }
.related-links li:last-child { border-bottom: 1px solid var(--line); }
.related-links a { display: block; padding: 14px 0; font-weight: 700; color: var(--ink); text-decoration: none; }
.related-links a:hover { color: var(--blue); text-decoration: underline; }
.related-card a { color: var(--ink); font-weight: 700; font-size: 1.125rem; }
.related-card .pane { margin-bottom: 30px; }

/* Find us */
.findus { background: var(--glass); }
.findus .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.nap { font-style: normal; font-size: 1.1875rem; margin: 20px 0; }
.nap a { font-weight: 700; }
.hours-list { list-style: none; padding: 0; margin: 0 0 20px; }
.hours-list li { display: flex; justify-content: space-between; max-width: 22rem; border-bottom: 1px solid var(--line); padding: 6px 0; }
.areas { color: var(--muted); }
.findus-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Final CTA */
.final { background: var(--ink); color: #fff; }
.final .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.final h2 { color: #fff; }
.final p { color: #C7D0DE; font-size: 1.25rem; margin: 18px 0 28px; }
.final .pane { border-color: #1C2C4F; background: #1C2C4F; }
.final-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--ink-deep); color: #C7D0DE; font-size: 1rem; padding: 56px 0 40px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.site-footer h2 { color: #fff; font-size: 1.125rem; margin-bottom: 12px; }
.site-footer address { font-style: normal; }
.footer-logo { width: 140px; margin-bottom: 16px; background: #fff; border-radius: 4px; padding: 8px; }
.sitemap summary { cursor: pointer; font-weight: 700; color: #fff; }
.sitemap ul { list-style: none; padding: 0; margin: 12px 0 0; columns: 2; column-gap: 20px; }
.sitemap li { margin-bottom: 6px; break-inside: avoid; }
.footer-small { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 40px; padding-top: 24px; font-size: .9375rem; }
.footer-small p { max-width: 62rem; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 12px 0 0; }

/* Scroll buttons + mobile bar */
.scroll-btns { position: fixed; right: 16px; bottom: 20px; display: grid; gap: 8px; z-index: 40; }
.scroll-btns button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); }
.scroll-btns button:hover { background: var(--blue); }
.scroll-btns svg { width: 18px; height: 18px; }
.mobile-bar { display: none; }

@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-toggle { display: block; margin-left: auto; position: relative; }
  .menu-toggle summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--ink); padding: 10px 14px; border: 2px solid var(--ink); border-radius: 4px; }
  .menu-toggle summary::-webkit-details-marker { display: none; }
  .menu-toggle ul { list-style: none; margin: 0; padding: 12px; position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 4px; min-width: 220px; box-shadow: 0 12px 30px -12px rgba(7, 20, 47, .35); }
  .menu-toggle li a { display: block; padding: 10px 8px; color: var(--ink); font-weight: 600; text-decoration: none; }
  .header-book { display: none; }
  .hero .wrap, .history .wrap, .findus .wrap, .final .wrap, .wear .wrap, .faq .wrap { grid-template-columns: 1fr; }
  .offers .wrap { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .related-grid > :first-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .topbar-phone { margin-left: 0; }
  .site-header .wrap { min-height: 68px; }
  .brand img { width: 96px; }
  .step { grid-template-columns: 1fr; }
  .step:nth-child(even) .step-media { order: 0; }
  .ci-options { grid-template-columns: 1fr; }
  .cover-grid { grid-template-columns: 1fr; }
  .wear-parts div { grid-template-columns: 1fr; gap: 4px; }
  .creds { grid-template-columns: 1fr; }
  .related-grid, .footer-grid { grid-template-columns: 1fr; }
  .scroll-btns { bottom: 84px; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--ink-deep); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .mobile-bar a { display: grid; place-items: center; min-height: 48px; border-radius: 4px; color: #fff; font-weight: 800; font-family: var(--display); text-decoration: none; background: rgba(255, 255, 255, .1); }
  .mobile-bar a.is-call { background: var(--blue); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
