/* =========================================================
   Bolton Auto Electrical — styles
   Brand: black #111, copper #C25926 (from BAE logo), white
   ========================================================= */

:root {
  --copper: #C25926;
  --copper-dark: #A3471B;
  --copper-soft: #F6E7DF;
  --ink: #111111;
  --ink-2: #1B1B1C;
  --ink-3: #2A2A2C;
  --text: #2B2B2B;
  --muted: #6B6B6B;
  --line: #E6E3E0;
  --bg: #FFFFFF;
  --bg-alt: #F5F3F1;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 20px 50px -20px rgba(0,0,0,.35);
  --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--head);
  line-height: 1.02;
  color: var(--ink);
  margin: 0 0 .5em;
  text-transform: uppercase;
  letter-spacing: .01em;
}
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.copper { color: var(--copper); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--copper); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 700; font-size: 1rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--copper); margin: 0 0 .9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--copper); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  padding: 12px 22px; border-radius: 10px;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-pill { border-radius: 999px; padding: 8px 8px 8px 22px; }
.btn-lg { font-size: 1.08rem; }
.btn-block { width: 100%; padding: 14px; }
.btn .arrow {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: var(--ink); font-size: 1.1rem; line-height: 1;
  transition: transform .2s;
}
.btn:hover .arrow { transform: rotate(-35deg); }
.btn-copper { background: var(--copper); color: #fff; }
.btn-copper:hover { background: var(--copper-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark .arrow { background: var(--copper); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); padding: 13px 26px; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17,17,17,.96);
  backdrop-filter: blur(8px);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  color: #E8E8E8; text-decoration: none; font-weight: 600; font-size: .98rem;
  position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--copper); transition: right .25s;
}
.nav a:hover { color: #fff; }
.nav a:hover::after { right: 0; }
.header-call { font-size: .95rem; }
.header-call .arrow { width: 30px; height: 30px; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 110px 0 190px;
  /* Stock photo (Unsplash) — swap for your own, e.g. url('assets/photos/hero.jpg') */
  --hero-photo: url('https://images.unsplash.com/photo-1615906655593-ad0386982a0f?w=2000&q=75&auto=format&fit=crop');
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(17,17,17,.97) 0%, rgba(17,17,17,.85) 45%, rgba(17,17,17,.35) 100%),
    var(--hero-photo) center / cover no-repeat,
    linear-gradient(135deg, #161616, #0c0c0c);
}
/* copper stripe echoing the logo */
.hero::after {
  content: ""; position: absolute; left: 60%; right: 0; top: 38%;
  height: 20px; background: var(--copper);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: var(--wrap); }
.hero h1 {
  color: #fff;
  font-size: clamp(3.2rem, 9vw, 7rem);
  font-weight: 800; line-height: .92;
  margin-bottom: 26px;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.hero h1 .copper { position: relative; z-index: 1; }
.lead { font-size: 1.18rem; max-width: 560px; color: #D6D6D6; position: relative; z-index: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Overlapping quick card ---------- */
.quick { position: relative; z-index: 5; margin-top: -120px; }
.quick-card {
  display: grid; grid-template-columns: 1fr 1.6fr;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); background: #fff;
}
.hours { background: var(--ink-2); color: #fff; padding: 36px; display: flex; flex-direction: column; }
.hours h2, .quick-form h2 { font-size: 1.6rem; margin-bottom: 22px; }
.hours h2 { color: #fff; border-bottom: 3px solid var(--copper); padding-bottom: 14px; }
.hours ul { list-style: none; margin: 0 0 24px; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #CFCFCF; }
.hours li span:last-child { color: #fff; font-weight: 600; }
.hours-call {
  margin-top: auto; text-decoration: none;
  font-family: var(--head); font-size: 2rem; font-weight: 800; color: var(--copper);
  display: flex; flex-direction: column; line-height: 1.1;
}
.hours-call small { font-family: var(--body); font-size: .85rem; font-weight: 600; color: #9A9A9A; text-transform: uppercase; letter-spacing: .1em; }
.quick-form { padding: 36px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.quick-form input, .quick-form select, .quick-form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg-alt);
  transition: border-color .2s, background .2s;
}
.quick-form textarea { resize: vertical; margin-bottom: 14px; display: block; }
.quick-form input:focus, .quick-form select:focus, .quick-form textarea:focus {
  outline: none; border-color: var(--copper); background: #fff;
}
.form-note { font-size: .85rem; color: var(--muted); margin: 10px 0 0; text-align: center; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 34px 0; margin-top: 50px; border-block: 1px solid var(--line); }
.marquee-track {
  display: flex; align-items: center; gap: 34px; width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee span {
  font-family: var(--head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 2.8rem); white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.2px #B9B4AF;
}
.marquee span:nth-of-type(odd) { color: var(--ink); -webkit-text-stroke: 0; }
.marquee i { color: var(--copper); font-style: normal; font-size: 1.6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-head .eyebrow { justify-content: center; }
.section-head.light h2 { color: #fff; }

/* Service rows */
.service-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  margin-bottom: 90px;
}
.service-row:last-child { margin-bottom: 0; }
.service-row.reverse .service-media { order: 2; }
.service-media { position: relative; }
.service-media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px;
  border: 3px solid var(--copper); border-radius: var(--radius-lg); z-index: -1;
}
.service-row.reverse .service-media::before { inset: 24px 24px -24px -24px; }
.service-media .photo-placeholder, .service-media img { aspect-ratio: 4/3; border-radius: var(--radius-lg); width: 100%; object-fit: cover; }
.num { font-family: var(--head); font-weight: 800; font-size: 1.1rem; color: var(--copper); letter-spacing: .1em; display: block; margin-bottom: 8px; }
.checks {
  list-style: none; padding: 0; margin: 22px 0 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px;
}
.checks li { position: relative; padding-left: 30px; font-weight: 600; color: var(--ink); font-size: .98rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--copper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}
.licence {
  display: inline-flex; align-items: center; gap: 16px;
  background: var(--bg-alt); border-radius: 12px; padding: 12px 18px; margin: 0 0 26px;
}
.licence img { height: 34px; width: auto; }
.licence span { font-size: .85rem; color: var(--muted); display: flex; flex-direction: column; line-height: 1.2; }
.licence strong { color: var(--ink); font-size: 1.1rem; font-family: var(--head); letter-spacing: .05em; }

/* Photo placeholders (remove once real photos are in) */
.photo-placeholder {
  margin: 0; display: grid; place-items: center; text-align: center;
  min-height: 200px; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(194,89,38,.07) 0 14px, transparent 14px 28px),
    linear-gradient(135deg, #2a2a2c, #161616);
  color: #bbb; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 1.15rem;
}
.photo-placeholder small { font-family: var(--body); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: .85rem; color: #8a8a8a; }

/* ---------- Why us ---------- */
.why { background: var(--bg-alt); padding: 80px 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item { background: #fff; border-radius: var(--radius); padding: 30px 26px; border-bottom: 4px solid transparent; transition: border-color .2s, transform .2s; }
.why-item:hover { border-color: var(--copper); transform: translateY(-4px); }
.why-item h3 { font-size: 1.4rem; margin-bottom: 8px; }
.why-item p { margin: 0; color: var(--muted); font-size: .98rem; }
.icon {
  width: 54px; height: 54px; border-radius: 12px; background: var(--ink);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--copper); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Reviews ---------- */
.reviews { padding: 100px 0; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
}
.stars { color: #F2A900; letter-spacing: 3px; font-size: 1.1rem; margin-bottom: 12px; }
.review blockquote { margin: 0 0 20px; font-size: 1.02rem; color: var(--text); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); }
.review figcaption .avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--copper); color: #fff;
  display: grid; place-items: center; font-family: var(--head); font-size: 1.2rem;
}
.review figcaption small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; }
.reviews-cta { text-align: center; margin-top: 40px; }

/* ---------- Recent work ---------- */
.work { background: var(--ink); padding: 100px 0; position: relative; overflow: hidden; }
.work-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 18px;
}
.work-grid > * { min-height: 0; }
.work-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.work-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.work-grid img { transition: transform .5s; }
.work-grid figure:hover img { transform: scale(1.05); }
.work-grid .big { grid-row: span 2; }

/* ---------- Service area ---------- */
.area { padding: 80px 0; }
.area-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: center; }
.area h2 { margin: 0; }
.towns { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.towns li {
  padding: 10px 20px; border-radius: 999px; background: var(--bg-alt); font-weight: 600; color: var(--ink);
  border: 1.5px solid var(--line);
}
.towns li:first-child { background: var(--copper); color: #fff; border-color: var(--copper); }

/* ---------- Contact band ---------- */
.contact { background: var(--copper); color: #fff; padding: 70px 0; }
.contact-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.contact h2 { color: #fff; }
.contact p { margin: 0; color: #FBE9DF; font-size: 1.1rem; max-width: 520px; }
.contact-actions { display: grid; gap: 14px; }
.contact-line {
  display: flex; align-items: center; gap: 18px; text-decoration: none;
  background: rgba(0,0,0,.18); border-radius: var(--radius); padding: 16px 22px; transition: background .2s;
}
.contact-line:hover { background: rgba(0,0,0,.3); }
.contact-line svg { width: 26px; height: 26px; fill: #fff; flex: none; }
.contact-line svg.stroke { fill: none; stroke: #fff; stroke-width: 2; }
.contact-line span { font-family: var(--head); font-weight: 700; font-size: 1.5rem; line-height: 1.15; word-break: break-word; }
.contact-line small { display: block; font-family: var(--body); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #A9A9A9; padding: 70px 0 0; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 1.15rem; margin-bottom: 14px; }
.site-footer p { margin: 0 0 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--copper); }
.footer-bottom { border-top: 1px solid #2a2a2a; padding: 22px 24px; font-size: .85rem; }
.footer-bottom p { margin: 0; }

.call-fab { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .header-call { display: none; }
  .menu-toggle {
    display: flex; flex-direction: column; gap: 5px; margin-left: auto;
    background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .menu-toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: .25s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--ink); padding: 8px 24px 20px; display: none;
    border-top: 1px solid #2a2a2a;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid #222; font-size: 1.05rem; }
  .nav a::after { display: none; }

  .quick-card { grid-template-columns: 1fr; }
  .service-row, .service-row.reverse { grid-template-columns: 1fr; gap: 50px; }
  .service-row.reverse .service-media { order: 0; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .area-inner, .contact-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header-inner { height: 66px; }
  .brand img { height: 38px; }
  .nav { top: 66px; }
  .hero { padding: 70px 0 160px; }
  .hero::after { display: none; }
  .hours, .quick-form { padding: 26px 20px; }
  .grid-2 { grid-template-columns: 1fr; }
  .section, .work, .reviews { padding: 70px 0; }
  .service-media::before { inset: 14px -10px -14px 14px; }
  .service-row.reverse .service-media::before { inset: 14px 14px -14px -10px; }
  .checks { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .work-grid > * { aspect-ratio: 1; min-height: 0; }
  .work-grid .big { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; }
  .contact-line span { font-size: 1.2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding-bottom: 70px; }

  .call-fab {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 60;
    background: var(--copper); color: #fff; text-decoration: none; font-weight: 700;
    padding: 15px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.35);
  }
  .call-fab svg { width: 20px; height: 20px; fill: #fff; }
}

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

/* ---------- Additions: rating badge, map ---------- */
.rating {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px; padding: 7px 16px 7px 7px; color: #E6E6E6; font-size: .95rem;
  position: relative; z-index: 2; margin-top: 6px;
}
.rating .g {
  width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #4285F4;
  display: grid; place-items: center; font-weight: 700; font-family: Arial, sans-serif;
}
.rating .stars { margin: 0; font-size: .95rem; letter-spacing: 1px; }
.rating strong { color: #fff; }
.rating-line { color: var(--muted); }
.rating-line .stars { display: inline; margin-right: 6px; }
.rating-line strong { color: var(--ink); }
.reviews { background: var(--bg-alt); }
.review { box-shadow: 0 10px 30px -18px rgba(0,0,0,.25); border: 0; border-top: 4px solid var(--copper); }

.area-inner { align-items: stretch; }
.address { font-size: 1.1rem; color: var(--ink); margin: 18px 0 20px; }
.towns-label { margin: 34px 0 12px; font-weight: 700; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.map { border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(.3); }
