/* =========================================================
   Midland Mobile Tyres — styles
   Brand colours are taken from the flyer. Change them here
   and the whole site updates.
   ========================================================= */
:root {
  --yellow: #ffd400;
  --yellow-dark: #e6bf00;
  --black: #0b0b0b;
  --ink: #141414;
  --grey-900: #1b1b1b;
  --grey-700: #2a2a2a;
  --grey-300: #bdbdbd;
  --white: #ffffff;

  --font-head: "Montserrat", "Arial Black", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --max: 1180px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.075rem;
  line-height: 1.6;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow); }
a:hover { color: var(--white); }

.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--yellow); color: var(--black); padding: .6rem 1rem; z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ---------- Headings: bold italic like the flyer ---------- */
h1, h2, h3, .head {
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; }
.hl { color: var(--yellow); }
.kicker {
  display: inline-block;
  font-family: var(--font-head); font-weight: 800; font-style: italic;
  text-transform: uppercase; font-size: .85rem; letter-spacing: .08em;
  color: var(--yellow); margin-bottom: .6rem;
}
.lead { font-size: 1.2rem; color: #e9e9e9; max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: 1.05rem; text-decoration: none;
  padding: .95rem 1.5rem; border-radius: 999px; border: 3px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  cursor: pointer; white-space: nowrap;
}
.btn svg { width: 1.3em; height: 1.3em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: var(--white); color: var(--black); }
.btn-black { background: var(--black); color: var(--yellow); }
.btn-black:hover { background: var(--grey-700); color: var(--yellow); }
.btn-outline { border-color: var(--yellow); color: var(--yellow); background: transparent; }
.btn-outline:hover { background: var(--yellow); color: var(--black); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--yellow); color: var(--black);
  font-family: var(--font-head); font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: .85rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 0; }
.topbar a { color: var(--black); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .tb-services { display: none; }
@media (min-width: 760px) { .topbar .tb-services { display: block; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 11, .96);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--yellow);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }

.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.logo svg { width: 48px; height: 48px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: .92; font-family: var(--font-head); font-weight: 900; font-style: italic; text-transform: uppercase; }
.logo-text .l1 { color: var(--white); font-size: 1.45rem; letter-spacing: -.01em; }
.logo-text .l2 { color: var(--yellow); font-size: 1.02rem; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.4rem; }
.nav a {
  color: var(--white); text-decoration: none;
  font-family: var(--font-head); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: .92rem;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--yellow); }
.nav .btn { color: var(--black); padding: .65rem 1.1rem; font-size: .95rem; }
.nav .btn:hover { color: var(--black); }

.nav-toggle {
  display: none; background: none; border: 2px solid var(--yellow); color: var(--yellow);
  border-radius: 10px; padding: .45rem .6rem; cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--black); border-bottom: 3px solid var(--yellow); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.2rem; }
  .nav li a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--grey-700); }
  .nav li:last-child a { margin-top: 1rem; border: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(255, 212, 0, .12), transparent 55%),
    var(--black);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero::before { /* tyre tread watermark */
  content: ""; position: absolute; inset: auto -10% -60px -10%; height: 120px;
  background: repeating-linear-gradient(115deg, rgba(255,212,0,.08) 0 18px, transparent 18px 36px);
  pointer-events: none;
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }

.badge-247 {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--yellow); color: var(--black);
  font-family: var(--font-head); font-weight: 900; font-style: italic; text-transform: uppercase;
  padding: .45rem 1rem .45rem .5rem; border-radius: 999px; margin-bottom: 1.2rem; font-size: .9rem;
}
.badge-247 span.circle {
  background: var(--black); color: var(--yellow); border-radius: 50%;
  width: 2.3rem; height: 2.3rem; display: grid; place-items: center; font-size: .78rem;
}

.service-tags {
  display: flex; flex-wrap: wrap; gap: .4rem 1rem; padding: 0; margin: 0 0 1.8rem; list-style: none;
  font-family: var(--font-head); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: .9rem;
}
.service-tags li { display: flex; align-items: center; gap: 1rem; }
.service-tags li + li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }

.hero-media { position: relative; }
.hero-media .frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 4px solid var(--yellow); transform: rotate(1.5deg);
  aspect-ratio: 622 / 430;
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-media .sticker {
  position: absolute; left: -12px; bottom: -22px;
  background: var(--yellow); color: var(--black); border-radius: 12px;
  padding: .7rem 1rem; box-shadow: var(--shadow); transform: rotate(-3deg);
  font-family: var(--font-head); font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.1;
}
.hero-media .sticker small { display: block; font-size: .72rem; font-weight: 800; }
.hero-media .sticker a { color: var(--black); text-decoration: none; font-size: 1.35rem; }

/* ---------- Brush-stroke message strip ---------- */
.brush {
  background: var(--yellow); color: var(--black);
  clip-path: polygon(0 12%, 4% 0, 30% 6%, 62% 0, 96% 5%, 100% 18%, 98% 88%, 70% 100%, 35% 94%, 3% 100%, 0 82%);
  padding: 2rem 0; margin: -1.2rem 0 0; position: relative; z-index: 2;
}
.brush .container { display: flex; align-items: center; gap: 1.2rem; justify-content: center; text-align: left; }
.brush svg { width: 58px; height: 58px; flex: none; }
.brush p {
  margin: 0; font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: clamp(1.05rem, 2.4vw, 1.5rem); line-height: 1.2;
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--ink); }
.section-yellow { background: var(--yellow); color: var(--black); }
.section-yellow a { color: var(--black); }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head p { color: #d6d6d6; margin: 0; }
.section-yellow .section-head p { color: #222; }

/* ---------- Service cards ---------- */
.cards { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
/* 5 services: 2 per row (last one centred) on tablets, 3 + 2 centred on desktop */
@media (min-width: 600px) and (max-width: 1099px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards > .card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - .6rem); }
}
@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(6, 1fr); }
  .cards > .card { grid-column: span 2; }
  .cards > .card:nth-child(4):nth-last-child(2) { grid-column: 2 / span 2; }
}
.card {
  background: var(--grey-900); border: 2px solid var(--grey-700); border-radius: var(--radius);
  padding: 1.6rem; transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--yellow); transform: translateY(-4px); }
.card p { color: #d0d0d0; margin: 0; }
.icon-circle {
  width: 74px; height: 74px; border-radius: 50%; background: var(--yellow); color: var(--black);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.icon-circle svg { width: 42px; height: 42px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--black); color: var(--white); border-radius: var(--radius); padding: 1.6rem; position: relative; }
.steps li::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: 2.6rem; color: var(--yellow); line-height: 1;
  display: block; margin-bottom: .6rem;
}
.steps p { margin: 0; color: #d6d6d6; }

/* ---------- Why us ---------- */
.why-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .9rem; }
.ticks li { display: flex; gap: .8rem; align-items: flex-start; }
.ticks svg { width: 28px; height: 28px; flex: none; color: var(--yellow); margin-top: .1rem; }
.ticks strong { display: block; font-family: var(--font-head); font-style: italic; text-transform: uppercase; font-weight: 800; }
.flyer-frame { border-radius: var(--radius); overflow: hidden; border: 4px solid var(--yellow); box-shadow: var(--shadow); }

.tip {
  background: var(--grey-900); border-left: 6px solid var(--yellow); border-radius: 10px;
  padding: 1.1rem 1.3rem; margin-top: 1.5rem;
}
.tip strong { color: var(--yellow); }

/* ---------- Areas ---------- */
.areas-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .areas-grid { grid-template-columns: .9fr 1.1fr; } }
.area-links { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); list-style: none; padding: 0; margin: 0; }
.area-links a {
  display: flex; align-items: center; gap: .55rem; text-decoration: none;
  background: var(--black); color: var(--white); border-radius: 12px; padding: 1rem 1.1rem;
  font-family: var(--font-head); font-weight: 800; font-style: italic; text-transform: uppercase;
  border: 2px solid var(--black); transition: border-color .15s ease, color .15s ease;
}
.area-links a:hover { color: var(--yellow); border-color: var(--yellow); }
.area-links svg { width: 22px; height: 22px; color: var(--yellow); flex: none; }

/* ---------- Reviews ---------- */
.reviews-box {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem;
  background: var(--grey-900); border: 2px solid var(--yellow); border-radius: var(--radius); padding: 2rem;
}
.stars { color: var(--yellow); font-size: 1.8rem; letter-spacing: .15em; }
.reviews-box h2 { margin-bottom: .2rem; }
.reviews-box p { margin: 0; color: #d0d0d0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; max-width: 880px; }
.faq details { background: var(--grey-900); border-radius: 12px; border: 2px solid var(--grey-700); }
.faq details[open] { border-color: var(--yellow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem; position: relative;
  font-family: var(--font-head); font-weight: 800; font-style: italic; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  color: var(--yellow); font-size: 1.7rem; font-weight: 900; font-style: normal;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 1.3rem 1.2rem; color: #d6d6d6; }
.faq .answer p { margin: 0; }

/* ---------- Big CTA band (flyer bottom strip) ---------- */
.cta-band { background: var(--yellow); color: var(--black); padding: 2.6rem 0 0; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.2rem; padding-bottom: 2.2rem; }
.cta-phone-icon {
  width: 96px; height: 96px; border-radius: 50%; background: var(--black); color: var(--yellow);
  display: grid; place-items: center; flex: none;
}
.cta-phone-icon svg { width: 52px; height: 52px; }
.cta-text { border-left: 4px solid var(--black); padding-left: 1.6rem; }
.cta-text .head { font-size: clamp(1.1rem, 2.6vw, 1.7rem); margin: 0; }
.cta-text a.number {
  display: block; color: var(--black); text-decoration: none;
  font-family: var(--font-head); font-weight: 900; font-size: clamp(2.3rem, 7vw, 4.4rem); line-height: 1; letter-spacing: -.02em;
}
.cta-text a.number:hover { color: var(--grey-700); }
.cta-band .btn-row { margin-left: auto; }
.tread {
  height: 34px; background-color: var(--black);
  background-image:
    repeating-linear-gradient(120deg, var(--yellow) 0 10px, transparent 10px 30px),
    repeating-linear-gradient(60deg, var(--yellow) 0 10px, transparent 10px 30px);
  background-size: 100% 50%; background-repeat: repeat-x; background-position: top, bottom;
  border-top: 5px solid var(--black);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--black); padding: 3.5rem 0 6rem; color: var(--grey-300); font-size: .98rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h3 { color: var(--yellow); font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid var(--grey-700); margin-top: 2.5rem; padding-top: 1.3rem; font-size: .9rem; }
@media (min-width: 900px) { .site-footer { padding-bottom: 2rem; } }

/* ---------- Page hero (area pages) ---------- */
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0; background: linear-gradient(180deg, #000, var(--ink)); border-bottom: 1px solid var(--grey-700); }
.breadcrumb { font-size: .9rem; color: var(--grey-300); margin-bottom: 1rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; color: var(--yellow); }
.breadcrumb a { color: var(--grey-300); }
.prose { max-width: 75ch; }
.prose p { color: #dadada; }
.prose h2 { margin-top: 2.2rem; }

/* ---------- Sticky mobile call bar + WhatsApp float ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1.4fr 1fr;
  box-shadow: 0 -6px 20px rgba(0,0,0,.4);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1rem .5rem;
  font-family: var(--font-head); font-weight: 900; font-style: italic; text-transform: uppercase; text-decoration: none; font-size: 1rem;
}
.mobile-bar svg { width: 1.4em; height: 1.4em; }
.mobile-bar .call { background: var(--yellow); color: var(--black); }
.mobile-bar .wa { background: var(--black); color: var(--yellow); border-top: 3px solid var(--yellow); }
.wa-float {
  display: none; position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 62px; height: 62px; border-radius: 50%; background: var(--yellow); color: var(--black);
  place-items: center; box-shadow: var(--shadow); border: 3px solid var(--black);
}
.wa-float svg { width: 34px; height: 34px; }
.wa-float:hover { color: var(--black); transform: scale(1.06); }
@media (min-width: 900px) {
  .mobile-bar { display: none; }
  .wa-float { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
