/* The Tyre Shop Telford. Light theme in the shop's own sign colours: sky blue, navy and white. */
:root {
  --navy: #0d2440;
  --blue: #1f86cf;
  --blue-dark: #166aa8;
  --sky: #e6f3fc;
  --ink: #16222e;
  --muted: #52616f;
  --line: #d8e1e8;
  --bg: #f5f7f9;
  --card: #ffffff;
  --plate: #ffd21f;
  --ok: #17794a;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }

/* Header */
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.1rem; line-height: 1.1; }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand small { display: block; font-weight: 600; font-size: .72rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.nav { margin-left: auto; display: flex; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 0; }
.nav a:hover { color: var(--blue-dark); }
.call { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 800; padding: 11px 16px; border-radius: 999px; white-space: nowrap; }
.call:hover { background: var(--blue-dark); }
@media (max-width: 860px) { .nav { display: none; } .call { margin-left: auto; } }
@media (max-width: 420px) { .brand small { display: none; } .call { padding: 10px 13px; font-size: .95rem; } }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, #14406d 60%, var(--blue-dark) 100%); color: #fff; padding: 44px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.15rem; color: #d7e6f3; max-width: 34em; }
.strap { display: inline-block; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 16px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: #eaf3fa; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.stars { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; color: #fff; }
.stars span b { color: #ffd21f; letter-spacing: 2px; margin-right: 6px; }
@media (max-width: 900px) { .hero { padding: 28px 0 36px; } .hero .wrap { grid-template-columns: 1fr; gap: 26px; } }

/* Quote box */
.quote { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: 0 18px 50px rgba(3, 20, 40, .35); }
.quote h2 { font-size: 1.45rem; margin-bottom: 4px; }
.quote .sub { color: var(--muted); margin-bottom: 14px; font-size: .98rem; }
.demo-tag { display: inline-block; background: #fff4cc; color: #6b5200; border: 1px solid #f0d877; font-size: .78rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; margin-bottom: 10px; }
.regrow { display: flex; gap: 10px; }
.plate { flex: 1; min-width: 0; display: flex; align-items: stretch; background: var(--plate); border: 2px solid #1b1b1b; border-radius: 8px; overflow: hidden; }
.plate i { background: #0b4ea2; color: #fff; font: 700 .68rem/1 system-ui, sans-serif; font-style: normal; display: flex; align-items: flex-end; justify-content: center; padding: 0 7px 8px; }
.plate input { flex: 1; min-width: 0; border: 0; background: transparent; font: 800 1.7rem/1 "Arial Narrow", Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; text-align: center; padding: 12px 6px; color: #111; }
.plate input::placeholder { color: rgba(0, 0, 0, .35); }
.plate input:focus { outline: none; }
.plate:focus-within { box-shadow: 0 0 0 3px rgba(31, 134, 207, .45); }
.btn { border: 0; cursor: pointer; background: var(--blue); color: #fff; font: 800 1rem/1 inherit; padding: 0 20px; min-height: 54px; border-radius: 8px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn:hover { background: var(--blue-dark); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn.navy { background: var(--navy); }
.btn.wide { width: 100%; }
.linkbtn { background: none; border: 0; padding: 8px 0; color: var(--blue-dark); font: inherit; font-size: .95rem; text-decoration: underline; cursor: pointer; }
.msg { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: #fdf0ef; color: #8a1f17; font-size: .95rem; }
.car { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--sky); display: flex; gap: 12px; align-items: center; }
.car b { display: block; color: var(--navy); font-size: 1.08rem; }
.car span { color: var(--muted); font-size: .92rem; }
.car svg { width: 34px; height: 34px; flex: none; color: var(--blue-dark); }
.sizes { margin-top: 16px; }
.sizes legend, .lbl { font-weight: 700; color: var(--navy); padding: 0; margin-bottom: 6px; display: block; }
fieldset { border: 0; padding: 0; margin: 0; }
.sizegrid { display: grid; grid-template-columns: 1fr 1fr 1fr .8fr; gap: 8px; }
.sizegrid label { font-size: .8rem; color: var(--muted); font-weight: 600; }
select { width: 100%; min-height: 50px; font: 700 1.05rem/1 inherit; color: var(--ink); background: #fff; border: 1.5px solid #b9c6d1; border-radius: 8px; padding: 0 8px; margin-top: 3px; }
select:focus { outline: 3px solid rgba(31, 134, 207, .45); border-color: var(--blue); }
.hint { font-size: .88rem; color: var(--muted); margin: 8px 0 0; }
.hint b { color: var(--ink); }
.prices { margin-top: 16px; display: grid; gap: 8px; }
.price { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px; }
.price.pick { border-color: var(--blue); background: #f4faff; }
.price div { flex: 1; min-width: 0; }
.price b { display: block; color: var(--navy); }
.price small { color: var(--muted); display: block; line-height: 1.35; }
.price strong { font-size: 1.35rem; color: var(--navy); white-space: nowrap; text-align: right; }
.price strong small { font-weight: 600; font-size: .75rem; }
.badge { display: inline-block; background: var(--blue); color: #fff; font-size: .68rem; font-weight: 800; padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: middle; text-transform: uppercase; letter-spacing: .04em; }
.after { margin-top: 14px; }
.smallprint { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
[hidden] { display: none !important; }
@media (max-width: 420px) { .quote { padding: 16px; } .regrow { flex-direction: column; } .plate input { font-size: 1.5rem; } .sizegrid { grid-template-columns: 1fr 1fr; } }

/* Sections */
section { padding: 56px 0; }
section.alt { background: #fff; border-block: 1px solid var(--line); }
.intro { max-width: 46em; color: var(--muted); font-size: 1.08rem; margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.alt .card { background: var(--bg); }
.card svg { width: 38px; height: 38px; color: var(--blue); margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } section { padding: 40px 0; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 30%; box-shadow: 0 10px 30px rgba(13, 36, 64, .18); }
.vehicles { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; list-style: none; }
.vehicles li { background: var(--sky); color: var(--navy); font-weight: 700; padding: 7px 14px; border-radius: 999px; font-size: .95rem; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 24px; } .split img { aspect-ratio: 4 / 3; } }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px 70px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps b { display: block; color: var(--navy); margin-bottom: 4px; }
.steps span { color: var(--muted); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Find us */
.find { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.find .card h3 { margin-bottom: 10px; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 700; }
.hours tr.today td { color: var(--blue-dark); font-weight: 800; }
.hours tr:last-child td { border-bottom: 0; }
address { font-style: normal; margin-bottom: 14px; }
.bigphone { font-size: 1.7rem; font-weight: 800; color: var(--navy); text-decoration: none; display: inline-block; margin-bottom: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .find { grid-template-columns: 1fr; } }

/* Footer */
footer { background: var(--navy); color: #c5d4e2; padding: 34px 0 90px; font-size: .93rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; }
footer a { color: #fff; }
footer p { margin: 0 0 6px; }
@media (min-width: 761px) { footer { padding-bottom: 34px; } }

/* Phone: a call bar that stays at the bottom */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
.callbar a { flex: 1; min-height: 50px; }
@media (max-width: 760px) { .callbar { display: flex; } }

/* Plain pages (privacy, not found) */
.plain { padding: 44px 0 60px; }
.plain .wrap { max-width: 760px; }
.plain h2 { font-size: 1.3rem; margin-top: 1.4em; }
