/* London Tyre Rescue 24 — accessible, calm, one-tap-first.
   Palette: red #E10600 / ink #0B0B0F / off-white #F5F5F7.
   All body text 17px+, all buttons 56px+ hit target, WCAG AA contrast. */

:root {
  --red: #E10600;
  --red-dark: #B00500;
  --red-ink: #7a0300;
  --ink: #0B0B0F;
  --ink-2: #1a1a22;
  --paper: #ffffff;
  --off: #f5f5f7;
  --muted: #4b5563;
  --muted-dark: #d5d5db;
  --line: #e5e7eb;
  --wa: #25D366;
  --wa-dark: #128C7E;
  --accent: #FFC300;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0,0,0,.08);
  --max: 1120px;
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--red);
}

*,*::before,*::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-size: 17px;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
  overflow-x: hidden;
  overflow-wrap: break-word;
  overscroll-behavior-y: contain;
  -webkit-tap-highlight-color: rgba(225, 6, 0, 0.15);
}
/* Kill any horizontal overflow from wide cards/chips on small phones. */
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
button, a { touch-action: manipulation; }
a { color: var(--red-ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--red); }
h1,h2,h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 6.5vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.15rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { margin: 0 0 1em; }

/* Anchor jumps land below the sticky header + nav strip. */
section[id] { scroll-margin-top: 120px; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.1rem; padding-left: max(1.1rem, env(safe-area-inset-left)); padding-right: max(1.1rem, env(safe-area-inset-right)); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .75rem 1.1rem; z-index: 1000;
  font-weight: 700;
}
.skip:focus { left: 0; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,11,15,.96);
  color: #fff;
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 3px solid var(--red);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .55rem 1.1rem;
}
.brand { display: flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 8px; background: #fff; padding: 3px; }
.brand-text strong { display: block; font-size: 1rem; line-height: 1.1; }
.brand-text small { display: block; font-size: .78rem; color: var(--muted-dark); }
.header-call {
  background: var(--red); color: #fff; text-decoration: none;
  padding: .55rem 1rem; border-radius: 10px; font-weight: 800;
  min-height: 44px; display: inline-flex; align-items: center; gap: .35rem;
}
.header-call:hover { background: var(--red-dark); color: #fff; }
@media (min-width: 720px) {
  .brand img { width: 56px; height: 56px; }
  .brand-text strong { font-size: 1.15rem; }
  .brand-text small { font-size: .85rem; }
}

/* ---- Hero — calming, high-contrast, big CTAs ---- */
.hero {
  background:
    radial-gradient(900px 400px at 92% -10%, rgba(225,6,0,.32), transparent 65%),
    linear-gradient(180deg, #0b0b0f 0%, #1a1a22 100%);
  color: #fff;
  padding: 2.4rem 0 2.6rem;
}
.hero a { color: #fff; }
.hero-inner { max-width: 780px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  padding: .4rem .8rem; border-radius: 999px;
  font-size: .9rem; margin: 0 0 1rem; color: #fff;
}
.eyebrow .dot {
  width: 9px; height: 9px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.25);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } }
.hero .accent { color: var(--accent); }
.lede { color: #e5e7eb; font-size: 1.1rem; max-width: 60ch; margin-top: .6rem; }

.cta-stack {
  display: flex; flex-direction: column; gap: .7rem;
  margin: 1.4rem 0 1rem;
}
@media (min-width: 720px) {
  .cta-stack { flex-direction: row; flex-wrap: wrap; }
  .cta-stack .btn-huge { flex: 1 1 340px; }
}
.wa-status {
  color: var(--muted-dark); font-size: .95rem;
  min-height: 1.4em; margin: .2rem 0 0;
}

/* ---- Buttons — 56px+ hit targets, clear hierarchy ---- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  background: var(--bg); color: var(--fg);
  padding: 1rem 1.2rem; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem;
  border: 0; cursor: pointer; text-align: center;
  min-height: 56px; text-decoration: none;
  transition: transform .06s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 0 rgba(0,0,0,.18);
  font-family: inherit;
}
.btn:hover, .btn:focus-visible { text-decoration: none; color: var(--fg); }
.btn:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.btn-call, .btn-primary { background: var(--red); }
.btn-call:hover, .btn-primary:hover { background: var(--red-dark); }
.btn-wa { background: var(--wa); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-primary { width: 100%; }
.btn-ghost {
  background: #fff; color: var(--ink);
  border: 2px solid var(--line);
  box-shadow: none; padding: .8rem 1rem; font-size: .95rem;
  min-height: 52px;
}
.btn-ghost:hover { background: var(--off); border-color: var(--ink); }

/* Big two-line "huge" button — main call + subtitle */
.btn-huge {
  flex-direction: column; padding: 1.05rem 1.2rem; min-height: 72px;
  line-height: 1.15; gap: .15rem;
}
.btn-huge .btn-icon { font-size: 1.4rem; margin-bottom: .1rem; }
.btn-huge .btn-main { font-size: 1.15rem; font-weight: 800; }
.btn-huge .btn-sub  { font-size: .85rem; font-weight: 500; opacity: .92; }

.trust {
  list-style: none; padding: 0; margin: 1.2rem 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .9rem;
  color: #e5e7eb; font-size: .98rem;
}
.trust li { display: flex; align-items: center; gap: .4rem; }
@media (min-width: 720px) { .trust { grid-template-columns: repeat(4, auto); } }

/* ---- Safety strip — reassurance while stressed ---- */
.safety {
  background: var(--accent);
  color: var(--ink);
  padding: 1.8rem 0;
  border-bottom: 3px solid #e0a800;
}
.safety h2 { color: var(--ink); }
.steps {
  list-style: none; padding: 0; margin: 1rem 0 0;
  display: grid; gap: 1rem;
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { display: flex; gap: .8rem; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem;
}
.steps p { margin: .2rem 0 0; color: #1f2937; font-size: .95rem; }

/* ---- Sections ---- */
.section { padding: 2.4rem 0; }
.section-alt { background: var(--off); }
.lede-2 { font-size: 1.05rem; max-width: 62ch; }

.cards {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
}
.card h3 { margin-bottom: .3rem; display: flex; align-items: center; gap: .4rem; }
.card p { color: #374151; margin: 0; }

.areas-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .areas-grid { grid-template-columns: 1fr 1fr; } }
.chips {
  list-style: none; padding: 0; margin: .5rem 0 0;
  display: flex; flex-wrap: wrap; gap: .45rem;
}
.chips li {
  background: #fff; border: 1px solid var(--line);
  padding: .45rem .75rem; border-radius: 999px; font-size: .92rem;
}

.two-col {
  display: grid; gap: 1.6rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .two-col { grid-template-columns: 1.4fr 1fr; } }

/* ---- Form — minimal, plainly worded ---- */
.quote-form { display: grid; gap: .9rem; margin-top: .6rem; }
.quote-form label {
  display: grid; gap: .35rem; font-weight: 600; font-size: 1rem;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  font: inherit; color: var(--ink);
  background: #fff; border: 2px solid var(--line);
  border-radius: 10px; padding: .85rem .9rem;
  min-height: 52px;
  font-size: 1rem;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  max-width: 100%;
}
.quote-form textarea { min-height: 90px; resize: vertical; }
.quote-form input:focus-visible,
.quote-form select:focus-visible,
.quote-form textarea:focus-visible {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225,6,0,.25);
}
.hp { position: absolute; left: -9999px; }
.loc-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.loc-row input { flex: 1 1 200px; min-width: 0; }
.optional { color: var(--muted); font-weight: 500; font-size: .9rem; }

/* ---- Contact card ---- */
.contact-card {
  background: var(--ink); color: #fff;
  border-radius: var(--radius); padding: 1.4rem;
  align-self: start;
}
.contact-card h2 { color: #fff; }
.contact-card a { color: #fff; text-decoration: underline; }
.contact-card p { margin: 0 0 .9rem; }

/* ---- FAQ ---- */
details {
  background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: .9rem 1.1rem;
  margin-bottom: .55rem;
}
details summary {
  cursor: pointer; font-weight: 700; list-style: none;
  min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "＋"; font-weight: 400; color: var(--red);
  transition: transform .2s ease;
}
details[open] summary { color: var(--red); }
details[open] summary::after { content: "－"; }

/* ---- Footer ---- */
.site-footer {
  background: var(--ink); color: #cbd5e1;
  padding: 1.8rem 0 6.5rem; /* leaves room for sticky bar on mobile */
  font-size: .95rem;
}
.site-footer strong { color: #fff; }

.muted { color: var(--muted); }
.wa-status.muted, .hero .muted { color: var(--muted-dark); }
.small { font-size: .88rem; }

/* ---- Sticky bar — always in thumb reach on mobile ---- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr; gap: 2px;
  background: var(--ink);
  padding-bottom: max(env(safe-area-inset-bottom), 4px);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  z-index: 60;
  box-shadow: 0 -6px 24px rgba(0,0,0,.35);
}
.sticky-btn {
  padding: 1.05rem 1rem;
  text-align: center; text-decoration: none;
  color: #fff; font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 60px;
  touch-action: manipulation;
}
.sticky-call { background: var(--red); }
.sticky-call:hover { background: var(--red-dark); color: #fff; }
.sticky-wa { background: var(--wa); }
.sticky-wa:hover { background: var(--wa-dark); color: #fff; }
@media (min-width: 720px) {
  .sticky-bar { display: none; }
  .site-footer { padding-bottom: 1.8rem; }
}

/* ---- Motion ---- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---- Pricing section ---- */
.price-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
  margin: 1.4rem 0 1.5rem;
}
@media (min-width: 640px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .price-grid { grid-template-columns: repeat(4, 1fr); } }

.price-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
  display: flex; flex-direction: column;
}
.price-card h3 { margin-bottom: .55rem; }
.price-list {
  list-style: none; padding: 0; margin: 0 0 .4rem;
  display: grid; gap: .45rem;
}
.price-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: .6rem;
  padding: .35rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: .98rem;
}
.price-list li:last-child { border-bottom: 0; }
.price-list strong { color: var(--red-ink); white-space: nowrap; font-weight: 800; }

.price-discounts {
  background: var(--ink); color: #fff;
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  margin-bottom: 1.4rem;
}
.price-discounts h3 { color: #fff; margin: 0 0 .7rem; }
.chips-solid {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.chips-solid li {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  padding: .55rem .85rem; border-radius: 999px; font-size: .95rem;
  color: #fff;
}
.chips-solid strong { color: var(--accent); margin-right: .25rem; }

.price-cta { margin: 0; }
.price-cta .btn { max-width: 520px; }

/* ---- Section-nav strip under the header ---- */
.section-nav {
  background: #16161e;
  border-top: 1px solid rgba(255,255,255,.06);
}
.section-nav ul {
  list-style: none; margin: 0;
  padding: .55rem max(1.1rem, env(safe-area-inset-left)) .55rem max(1.1rem, env(safe-area-inset-right));
  display: flex; gap: .4rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.section-nav ul::-webkit-scrollbar { display: none; }
.section-nav li { scroll-snap-align: start; flex: 0 0 auto; }
.section-nav a {
  display: inline-block;
  color: #e5e7eb; text-decoration: none;
  font-weight: 600; font-size: .92rem;
  padding: .5rem .85rem; border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  white-space: nowrap;
  min-height: 40px;
}
.section-nav a:hover, .section-nav a:focus-visible {
  background: var(--red); color: #fff; border-color: var(--red);
}

/* ---- Verified UK Ltd chip inside the hero trust list ---- */
.trust-verified {
  color: #fff; text-decoration: none;
  background: rgba(34,197,94,.14);
  border: 1px solid rgba(34,197,94,.45);
  padding: .3rem .65rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 700;
}
.trust-verified:hover, .trust-verified:focus-visible {
  background: rgba(34,197,94,.28); color: #fff;
}

/* ---- Big price tag in the hero ---- */
.hero-price-tag {
  margin: 1.2rem 0 0;
  display: inline-flex; align-items: baseline; gap: .5rem; flex-wrap: wrap;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: .7rem 1rem; border-radius: var(--radius);
  color: #e5e7eb; font-size: .95rem;
}
.hero-price-tag strong {
  color: var(--accent); font-size: 1.55rem; font-weight: 800; letter-spacing: -0.01em;
}

/* ---- How it works ---- */
.how-steps {
  list-style: none; padding: 0; margin: 1.4rem 0 1.5rem;
  display: grid; gap: 1rem;
  counter-reset: how;
}
@media (min-width: 720px) { .how-steps { grid-template-columns: repeat(3, 1fr); } }
.how-steps li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 1.5rem 1.2rem 1.1rem;
  box-shadow: var(--shadow);
}
.how-num {
  position: absolute; top: -18px; left: 1.1rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(225,6,0,.35);
}
.how-steps h3 { margin: .4rem 0 .4rem; font-size: 1.1rem; }
.how-steps p { margin: 0; color: #374151; }
.how-cta { margin: 0; }
.how-cta .btn { max-width: 520px; }

/* ---- Our promise — trust grid ---- */
.promise-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1.4rem;
}
@media (min-width: 640px) { .promise-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .promise-grid { grid-template-columns: repeat(3, 1fr); } }
.promise-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.2rem;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .35rem;
}
.promise-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(225,6,0,.08);
  font-size: 1.35rem;
  margin-bottom: .1rem;
}
.promise-card h3 { margin: 0; font-size: 1.05rem; }
.promise-card p { margin: 0; color: #374151; }
.promise-card a { color: var(--red-ink); font-weight: 700; }
