/* =========================================================
   Beechboro Tyre & Auto — "Bold Blue"
   Colours come from the logo. Edit the tokens to retheme.
   ========================================================= */

:root {
  --blue:       #1476c4;   /* logo mid blue — hero, primary buttons */
  --blue-dark:  #0e5fa8;   /* logo dark blue — hover, hero photo backdrop */
  --blue-light: #29a8e0;   /* logo light blue — icons on dark, swoosh rings */
  --blue-tint:  #e8f4fc;   /* very light blue for hover fills */
  --black:      #111318;   /* wordmark black — strips, review band */
  --black-soft: #2a2d34;
  --grey:       #f4f6f8;   /* light section fill / cards */
  --grey-line:  #dfe3e8;
  --text:       #111318;
  --muted:      #5b6170;
  --on-dark-muted: #8a909c;
  --white:      #ffffff;

  --display: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --body:    'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --radius: 12px;
  --radius-sm: 6px;
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 80px);
  --section: clamp(56px, 7vw, 96px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
h1, h2, h3, p { margin: 0; }
table { border-collapse: collapse; width: 100%; }

h1, h2, h3, .eyebrow, .stamp, .btn, .address, .phone, .hours td, .strip strong, .review cite {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.01em;
}
h1 { font-size: clamp(44px, 6.6vw, 96px); line-height: 0.95; font-weight: 700; }
h2 { font-size: clamp(34px, 3.9vw, 56px); line-height: 1; font-weight: 700; }
h3 { font-size: clamp(24px, 2vw, 30px); line-height: 1; font-weight: 600; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--blue); letter-spacing: 0.1em; margin-bottom: 8px; }
.eyebrow--light { color: var(--blue-light); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 560px; }
.muted { color: var(--muted); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--black { background: var(--black); color: var(--white); }
.section__head { margin-bottom: 40px; }
.section__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.section__intro { max-width: 460px; color: var(--muted); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--black); color: var(--white); padding: 8px 14px; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 28px; border-radius: var(--radius-sm);
  font-size: 19px; font-weight: 600; border: 2px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s; text-align: center;
}
.btn--black { background: var(--black); color: var(--white); }
.btn--black:hover { background: var(--black-soft); color: var(--white); }
.btn--white { background: var(--white); color: var(--black); }
.btn--white:hover { background: var(--blue-tint); color: var(--black); }
.btn--outline-white { border-color: var(--white); color: var(--white); font-weight: 500; }
.btn--outline-white:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-dark); color: var(--white); }
.btn--nav { min-height: 44px; padding: 10px 20px; font-size: 17px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Nav ---------- */
.nav { padding: 14px 0; background: var(--white); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 64px; width: auto; }
.brand:hover { color: inherit; }
.nav__links { display: flex; gap: 28px; font-family: var(--display); text-transform: uppercase; font-size: 17px; font-weight: 500; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--blue); color: var(--white); overflow: hidden; padding-top: clamp(48px, 6vw, 88px); }
.hero__ring { position: absolute; border-radius: 50%; transform: rotate(-12deg); pointer-events: none; }
.hero__ring--outer { left: -320px; top: -140px; width: 1000px; height: 700px; border: 70px solid var(--blue-light); opacity: .25; }
.hero__ring--inner { left: -200px; top: 20px; width: 700px; height: 480px; border: 40px solid var(--blue-dark); opacity: .5; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: end; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; padding-bottom: clamp(48px, 5vw, 72px); }
.hero .lead { color: #e6f2fb; }
.stamp {
  display: inline-flex; align-items: center; gap: 10px; background: var(--black); color: var(--white);
  padding: 8px 14px; border-radius: var(--radius-sm); font-size: 16px; font-weight: 600; letter-spacing: .08em;
}
.stamp svg { color: var(--blue-light); }
.hero__photo {
  min-height: 440px; background: var(--blue-dark); border-radius: var(--radius) var(--radius) 0 0;
  display: grid; place-items: center; color: #cfe8f8; font-size: 14px; font-weight: 600; overflow: hidden;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Info strip ---------- */
.strip { background: var(--black); color: var(--white); }
.strip__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.strip__item { display: flex; align-items: center; gap: 14px; padding: 24px 32px; border-right: 1px solid var(--black-soft); }
.strip__item:first-child { padding-left: 0; }
.strip__item:last-child { border-right: 0; }
.strip__item svg { color: var(--blue-light); flex-shrink: 0; }
.strip__item div { display: flex; flex-direction: column; }
.strip strong { font-size: 18px; font-weight: 600; }
.strip span { font-size: 14px; color: var(--on-dark-muted); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service { background: var(--grey); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.service p { font-size: 16px; color: var(--muted); }
.service--featured { background: var(--blue); color: var(--white); }
.service--featured p { color: #e6f2fb; }
.service__tag { font-family: var(--display); text-transform: uppercase; font-size: 13px; letter-spacing: .1em; color: #cfe8f8 !important; }

/* ---------- Panels ---------- */
.panel { border-radius: var(--radius); padding: clamp(28px, 4.5vw, 64px); }
.panel--grey { background: var(--grey); }

/* ---------- We've moved ---------- */
.moved { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 480px); gap: 56px; align-items: center; }
.moved__copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.moved__text { color: var(--muted); max-width: 560px; font-size: 18px; }
.address { font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; line-height: 1.15; }
.map { min-height: 360px; border-radius: var(--radius); background: var(--grey-line); display: grid; place-items: center; color: var(--on-dark-muted); font-size: 14px; font-weight: 600; overflow: hidden; }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 64px; align-items: center; }
.about__photo { min-height: 420px; border-radius: var(--radius); background: var(--grey); display: grid; place-items: center; color: var(--on-dark-muted); font-size: 14px; font-weight: 600; overflow: hidden; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__copy { display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.6; }
.about__copy h2 { margin-bottom: 4px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.review { margin: 0; border-left: 4px solid var(--blue); padding: 8px 0 8px 24px; display: flex; flex-direction: column; gap: 12px; }
.review p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; }
.review cite { font-style: normal; font-size: 14px; color: var(--on-dark-muted); letter-spacing: .08em; }
.reviews__link { display: inline-block; margin-top: 32px; color: var(--blue-light); font-weight: 600; }
.reviews__link:hover { color: var(--white); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
.contact__copy { display: flex; flex-direction: column; gap: 18px; }
.phone { font-size: clamp(36px, 4vw, 56px); font-weight: 700; color: var(--blue); line-height: 1; }
.phone:hover { color: var(--blue-dark); }
.contact__hours { display: flex; flex-direction: column; gap: 6px; }
.hours th, .hours td { padding: 14px 0; text-align: left; font-size: 18px; border-top: 1px solid var(--grey-line); }
.hours tr:first-child th, .hours tr:first-child td { border-top: 2px solid var(--black); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--grey-line); }
.hours th { font-weight: 400; }
.hours td { text-align: right; font-weight: 600; }
.hours .closed { color: var(--on-dark-muted); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--grey-line); padding: 28px 0 48px; font-size: 14px; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 24px; }

/* ---------- Sticky call button (phones only) ---------- */
.call-fab {
  display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  align-items: center; justify-content: center; gap: 10px; min-height: 56px;
  background: var(--blue); color: var(--white); border-radius: var(--radius-sm);
  font-family: var(--display); text-transform: uppercase; font-size: 20px; font-weight: 600;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.call-fab:hover { background: var(--blue-dark); color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { gap: 40px; }
  .about { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; }
  .moved { gap: 40px; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .brand img { height: 52px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding-bottom: 40px; }
  .hero__photo { min-height: 260px; }
  .strip__grid { grid-template-columns: 1fr; }
  .strip__item { border-right: 0; border-bottom: 1px solid var(--black-soft); padding: 18px 0; }
  .strip__item:last-child { border-bottom: 0; }
  .section__head--split { flex-direction: column; align-items: flex-start; gap: 12px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .moved, .about, .contact, .reviews { grid-template-columns: 1fr; }
  .about__photo { min-height: 280px; }
  .contact { gap: 40px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .btn-row .btn { width: 100%; }
  .btn--nav span { display: none; }
  .btn--nav { padding: 10px 14px; }
  .services { grid-template-columns: 1fr; }
  .service { padding: 24px; }
  .map { min-height: 260px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .call-fab { display: flex; }
  .footer { padding-bottom: 96px; } /* room for the sticky button */
  .hero__ring--outer { left: -520px; }
  .hero__ring--inner { left: -420px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
