:root {
  --black: #080808;
  --charcoal: #171717;
  --text: #101010;
  --muted: #666;
  --line: #e7e7e7;
  --panel: #f7f7f7;
  --blue: #1967ff;
  --blue-dark: #0d4fcc;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section-pad {
  padding: 76px 0;
}

/* HEADER */

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo {
  display: block;
  width: clamp(145px, 13vw, 180px);
  height: auto;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark .bolt {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--white);
  font-size: 23px;
}

.brand-mark strong {
  display: block;
  font-size: 30px;
  letter-spacing: -2px;
  line-height: 0.9;
}

.brand-mark small {
  display: block;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #333;
  font-weight: 800;
  font-size: 17px;
}

.nav-links a {
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.header-call {
  background: var(--black);
  color: var(--white);
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 16px;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.header-call:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

/* HERO */

.hero {
  padding-top: 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 13px;
  margin-bottom: 12px;
}

h1,
h2,
h3 {
  letter-spacing: -1.8px;
}

.hero h1 {
  font-size: clamp(50px, 6.5vw, 84px);
  line-height: 0.92;
  margin-bottom: 22px;
}

.hero-text {
  font-size: 19px;
  max-width: 640px;
  color: #252525;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border-radius: 14px;
  font-weight: 900;
  border: 2px solid var(--black);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--black);
}

.hero-location {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: #333;
  background: #f3f6ff;
  border: 1px solid #dce6ff;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 15px;
}

.what-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.card-label {
  display: inline-block;
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 13px;
}

.what-card h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.02;
  margin-bottom: 18px;
}

.what-card p {
  color: #333;
  font-size: 17px;
  margin-bottom: 25px;
}

.service-list {
  display: grid;
  gap: 13px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
}

.service-item span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #e8efff;
  color: var(--blue);
}

/* STATS */

.stats-strip {
  background: var(--charcoal);
  color: var(--white);
  padding: 26px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.stats-grid div {
  padding: 16px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stats-grid div:last-child {
  border-right: none;
}

.stats-grid span {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
}

.stats-grid strong {
  display: block;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.8px;
}

.stats-grid p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.stats-grid > div {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* PRODUCTS */

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading h2,
.why h2,
.enquiry h2,
.location h2 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;
  margin-bottom: 16px;
}

.section-heading p,
.why-copy p:not(.eyebrow),
.enquiry-copy p,
.location-card p {
  color: #444;
  font-size: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 25px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
  min-height: 132px;
}

.product-card span {
  display: block;
  font-size: 30px;
  margin-bottom: 18px;
}

.product-card h3 {
  font-size: 19px;
  letter-spacing: -0.5px;
}

/* WHY CHOOSE US */

.why {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 50px;
  align-items: start;
}

.why-cards {
  display: grid;
  gap: 14px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

.why-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.why-card p {
  color: #444;
}

/* ENQUIRY */

.enquiry-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: start;
}

.photo-card {
  margin-top: 28px;
  border-radius: 24px;
  overflow: hidden;
  min-height: 270px;
  background: #111;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}

.battery-photo {
  width: 100%;
  height: auto;
  display: block;
}

.battery-illustration {
  position: relative;
  width: 72%;
  max-width: 360px;
  height: 160px;
}

.battery-body {
  height: 100%;
  border: 8px solid white;
  border-radius: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px;
  color: white;
  font-size: 48px;
  font-weight: 900;
}

.battery-body::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 48px;
  width: 18px;
  height: 64px;
  background: white;
  border-radius: 0 8px 8px 0;
}

.spark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffde59;
  font-size: 58px;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 800;
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d5d5d5;
  border-radius: 12px;
  padding: 15px 14px;
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(25, 103, 255, 0.12);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  padding: 16px;
  font: inherit;
  font-weight: 700;
  color: #111;
  background: #fff;
  outline: none;
}

select:focus {
  border-color: #1d74ff;
  box-shadow: 0 0 0 3px rgba(29, 116, 255, 0.12);
}

.form-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
  text-align: center;
}

/* LOCATION */

.location {
  background: #fff;
}

.location-card {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.04);
}

.contact-details p {
  margin-bottom: 11px;
  color: #333;
}

.contact-details a {
  font-weight: 900;
}

.directions {
  margin-top: 10px;
}

.location-visual-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 4px;
}

.shop-photo-wrap,
.entrance-photo-wrap {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
}

.shop-photo-wrap img,
.entrance-photo-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-photo-wrap,
.map-wrap {
  height: 360px;
}

.shop-photo-wrap img {
  object-position: 50% 48%;
}

.map-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15);
}

.location-sign-card {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: 32px;
  align-items: stretch;
  margin-top: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.04);
  background: #fff;
}

.location-sign-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-sign-copy h3 {
  max-width: 430px;
  margin: 8px 0 14px;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.location-sign-copy > p:not(.eyebrow) {
  max-width: 390px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.location-address-pill {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid #d8e6ff;
  border-radius: 14px;
  background: #f5f8ff;
  font-size: 13px;
}

.location-address-pill .mini-location-icon {
  flex: 0 0 auto;
}

.entrance-photo-wrap {
  min-height: 320px;
}

.entrance-photo-wrap img {
  object-position: 50% 58%;
}

/* OPENING HOURS */

.hours-list {
  list-style: none;
  margin: 10px 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  font-size: 15px;
}

.hours-list li span {
  color: #475569;
}

.hours-list li strong {
  color: #0f172a;
  white-space: nowrap;
}

.roadside-note {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(29, 116, 255, 0.25);
  background: #f5f8ff;
  border-radius: 16px;
  display: grid;
  gap: 4px;
  max-width: 520px;
}

.roadside-note strong {
  color: #0f172a;
  font-size: 15px;
}

.roadside-note span {
  color: #475569;
  font-size: 14px;
}

/* ICONS */

.line-icon {
  width: 46px;
  height: 46px;
  color: #1d74ff;
  background: #f5f8ff;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.line-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card .line-icon {
  margin-bottom: 16px;
}

.mini-location-icon {
  width: 22px;
  height: 22px;
  color: #1d74ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mini-location-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* FOOTER */

.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.footer-inner a {
  font-weight: 900;
}

.site-credit {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.site-credit a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
}

.site-credit a:hover {
  color: #fff;
  text-decoration: underline;
}

/* SECTION SCROLL OFFSETS */

#products,
#enquiry,
#location {
  scroll-margin-top: 75px;
}

/* HAMBURGER MENU */

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--black);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Changes hamburger into an X */

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

/* TABLET AND MOBILE */

@media (max-width: 980px) {
  html {
    scroll-padding-top: 90px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    position: relative;
    min-height: 72px;
    padding: 8px 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
  }

  .brand {
    flex: 1;
    min-width: 0;
  }

  .site-logo {
    width: 135px;
  }

  /* Hide desktop navigation */

  .nav-links {
    display: none;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .header-call {
    width: auto;
    padding: 10px 13px;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
  }

  .menu-toggle {
    display: flex;
    flex-shrink: 0;
  }

  /* Dropdown menu */

  .mobile-menu {
    position: absolute;
    top: 100%;
    left: -14px;
    right: -14px;
    display: grid;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transform: translateY(-8px);
    transition: max-height 0.3s ease, opacity 0.22s ease, transform 0.3s ease, visibility 0.3s ease;
  }

  .mobile-menu.is-open {
    max-height: 240px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 0 24px;
    color: var(--text);
    background: var(--white);
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    font-weight: 800;
    text-align: left;
  }

  .mobile-menu a:last-child {
    border-bottom: none;
  }

  .mobile-menu a:hover,
  .mobile-menu a:focus {
    color: var(--blue);
    background: var(--panel);
  }

  .hero-grid,
  .why-grid,
  .enquiry-grid,
  .location-card {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .location-visual-grid,
  .location-sign-card {
    grid-template-columns: 1fr;
  }

  .location-sign-card {
    gap: 22px;
  }

  .entrance-photo-wrap {
    min-height: 360px;
  }

  .hero {
    padding-top: 32px;
  }

  .section-pad {
    padding: 56px 0;
  }

  .hero h1 {
    font-size: clamp(50px, 15vw, 76px);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .what-card {
    padding: 28px;
  }

  .stats-grid,
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid div:nth-child(2) {
    border-right: none;
  }

  .stats-grid div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  #products,
  #enquiry,
  #location {
    scroll-margin-top: 90px;
  }
}

/* SMALL MOBILE */

@media (max-width: 600px) {
  .product-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid div {
    border-right: none;
  }

  .location-card,
  .location-sign-card,
  .form-card {
    padding: 24px;
  }

  .location-visual-grid {
    gap: 14px;
  }

  .shop-photo-wrap,
  .map-wrap,
  .entrance-photo-wrap {
    height: 300px;
    min-height: 300px;
  }

  .location-sign-copy h3 {
    font-size: 36px;
  }

  .location-address-pill {
    width: 100%;
  }

  .section-heading h2,
  .why h2,
  .enquiry h2,
  .location h2 {
    font-size: 40px;
  }

  .hero h1 {
    font-size: clamp(45px, 14vw, 64px);
  }

  .hero-text {
    font-size: 17px;
  }
}

/* VERY SMALL MOBILE */

@media (max-width: 480px) {
  .header-inner {
    min-height: 66px;
    gap: 7px;
  }

  .site-logo {
    width: 112px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-call {
    padding: 9px 9px;
    border-radius: 10px;
    font-size: 11px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 9px;
  }

  .menu-toggle span {
    width: 20px;
  }

  .mobile-menu a {
    min-height: 54px;
    padding: 0 20px;
    font-size: 15px;
  }
}
