/* =========================================================
   Joshua Batteries | Navigation refresh (October 2026)
   Homepage-only overrides: larger type, cleaner desktop
   navigation and polished responsive menus.
   ========================================================= */
.site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #dceae6;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.site-header.scrolled {
  box-shadow: 0 12px 30px rgba(5, 44, 68, 0.11);
}
.nav-shell {
  min-height: 90px;
  gap: 18px;
}
.brand {
  width: 242px;
}
.primary-nav {
  gap: 3px;
}
.nav-link,
.nav-dropdown {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.013em;
  padding: 12px 12px;
  border-radius: 11px;
  color: #213e58;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}
.nav-dropdown {
  gap: 6px;
}
.nav-dropdown svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.25;
}
.nav-link:hover,
.nav-dropdown:hover,
.nav-dropdown[aria-expanded="true"] {
  color: #087c42;
  background: #eff9f3;
}
.nav-link.active {
  background: #e8f6ee;
  color: #087c42;
  box-shadow: inset 0 -2px 0 #20a366;
}
.dropdown-menu {
  top: calc(100% + 12px);
  min-width: 220px;
  padding: 9px;
  border: 1px solid #dfebe5;
  border-radius: 15px;
  box-shadow: 0 19px 44px rgba(7, 48, 73, 0.15);
}
.dropdown-menu a {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  padding: 11px 13px;
  border-radius: 9px;
}
.ticket-link,
.ticket-link:hover {
  color: #fff;
}
.ticket-link {
  padding: 13px 17px;
  background: linear-gradient(135deg, #0b8b50, #087340);
  border: 1px solid #087340;
  border-radius: 11px;
  box-shadow: 0 5px 14px rgba(8, 124, 66, 0.17);
}
.ticket-link:hover {
  background: linear-gradient(135deg, #087942, #075a33);
  box-shadow: 0 6px 16px rgba(8, 124, 66, 0.23);
}
.login-link {
  padding: 12px 15px;
  border: 1px solid #cbdeef;
  border-radius: 11px;
  background: #f6faff;
  color: #125a91;
}
.login-link:hover {
  background: #eaf4ff;
  color: #0a4d83;
}
@media (min-width: 951px) and (max-width: 1150px) {
  .nav-shell {
    gap: 12px;
  }
  .brand {
    width: 210px;
    min-width: 180px;
  }
  .primary-nav {
    gap: 1px;
  }
  .nav-link,
  .nav-dropdown {
    font-size: 14px;
    padding: 11px 8px;
  }
  .ticket-link {
    padding: 12px 10px;
  }
  .login-link {
    padding: 11px 10px;
  }
}
@media (max-width: 950px) {
  .nav-shell {
    min-height: 76px;
  }
  .menu-toggle {
    width: 46px;
    height: 46px;
    border: 1px solid #cfe4d9;
    border-radius: 13px;
    background: #f6fbf8;
    box-shadow: 0 3px 11px rgba(8, 64, 46, 0.06);
  }
  .menu-toggle:hover,
  .menu-toggle[aria-expanded="true"] {
    background: #e9f7ee;
    border-color: #a9d6bd;
  }
  .primary-nav {
    padding: 14px max(18px, calc((100vw - 900px) / 2));
    border-top: 1px solid #dcece5;
    background: linear-gradient(180deg, #fff 0%, #f8fcfa 100%);
    gap: 5px;
    box-shadow: 0 20px 36px rgba(3, 47, 63, 0.13);
    max-height: calc(100dvh - 76px);
  }
  .nav-link,
  .nav-dropdown {
    width: 100%;
    justify-content: space-between;
    font-size: 15.5px;
    padding: 13px 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    white-space: normal;
  }
  .nav-link.active {
    border-color: #d1ecdc;
  }
  .dropdown-menu {
    position: static;
    min-width: 0;
    margin: 5px 12px 9px;
    padding: 4px 0 4px 9px;
    border: 0;
    border-left: 3px solid #a8ddbd;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-group.open .dropdown-menu {
    display: block;
  }
  .dropdown-menu a {
    font-size: 14.5px;
    padding: 11px 14px;
  }
  .ticket-link,
  .login-link {
    justify-content: center;
    margin-top: 6px;
    padding: 13px 16px;
  }
}
@media (max-width: 420px) {
  .nav-shell {
    min-height: 73px;
  }
  .brand {
    width: 175px;
  }
}

/* October 2026: Larger, clearer top information bar. */
.topbar {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.005em;
}
.topbar-inner {
  min-height: 48px;
  gap: 16px;
}
.top-note {
  gap: 9px;
}
.top-contacts {
  gap: 16px;
  white-space: nowrap;
}
.top-divider {
  height: 18px;
}
@media (min-width: 701px) and (max-width: 1100px) {
  .topbar-inner {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 1px;
    padding: 8px 0;
  }
  .top-note {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .top-contacts {
    justify-content: center;
  }
}
@media (max-width: 700px) {
  .topbar {
    font-size: 14px;
  }
  .topbar-inner {
    min-height: 0;
    padding: 5px 0;
  }
  .top-note {
    display: block;
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
    padding: 6px 0;
  }
  .top-note .dot {
    margin-right: 7px;
    vertical-align: middle;
  }
}
@media (max-width: 380px) {
  .top-note {
    font-size: 13px;
  }
}

/* =========================================================
   Joshua Batteries | Footer refresh (October 2026)
   Clearer type, refined four-column layout & mobile polish.
   ========================================================= */
.site-footer {
  position: relative;
  background: linear-gradient(135deg, #f7fbfe 0%, #eef6fb 54%, #f5fbf8 100%);
  border-top: 1px solid #dceaf2;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #1266b0 0%, #0b82c8 46%, #0e9860 100%);
}
.footer-top {
  position: relative;
  grid-template-columns: minmax(265px, 1.8fr) minmax(125px, 0.7fr) minmax(145px, 0.8fr) minmax(
      220px,
      1.15fr
    );
  align-items: start;
  gap: 42px;
  padding-block: 65px 66px;
}
.footer-brand img {
  display: block;
  width: 270px;
  max-width: 100%;
  height: auto;
}
.footer-brand .footer-slogan {
  max-width: 345px;
  margin-top: 20px;
  color: #1f3955;
  font-size: 17px;
  line-height: 1.58;
  font-weight: 700;
  letter-spacing: -0.018em;
}
.footer-slogan::after {
  width: 68px;
  margin-top: 17px;
}
.footer-top > div:not(:first-child) {
  padding-left: 23px;
  border-left: 1px solid #d3e2eb;
  min-width: 0;
}
.footer-top h3 {
  margin: 4px 0 19px;
  color: #092b51;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.footer-top h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 11px;
  border-radius: 5px;
  background: linear-gradient(90deg, #1266b0 0%, #07864b 100%);
}
.footer-top > div:not(:first-child) a {
  display: block;
  margin: 0 0 7px;
  padding: 5px 0;
  color: #35536c;
  font-size: 16px;
  font-weight: 540;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.footer-top > div:not(:first-child) a:hover {
  color: #067c49;
  transform: translateX(3px);
}
.footer-top a:focus-visible {
  outline: 2px solid #0a6cad;
  outline-offset: 4px;
  border-radius: 2px;
}
.footer-bottom {
  background: #092f58;
  color: #e2effb;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
}
.footer-bottom .container {
  padding-block: 20px;
  align-items: center;
}
.footer-bottom .container > span:last-child {
  color: #caebdc;
}
@media (max-width: 1120px) {
  .footer-top {
    grid-template-columns: 1.6fr 0.7fr 0.8fr 1.1fr;
    gap: 26px;
  }
  .footer-top > div:not(:first-child) {
    padding-left: 17px;
  }
  .footer-top > div:not(:first-child) a {
    font-size: 14px;
  }
}
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 29px;
    padding-block: 45px 48px;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .footer-top > div:not(:first-child) {
    padding-left: 0;
    border-left: 0;
  }
  .footer-top > div:last-child {
    border-top: 1px solid #d7e6ee;
    padding-top: 20px;
    grid-column: span 2;
  }
  .footer-top > div:not(:first-child) a {
    font-size: 15px;
  }
}
@media (max-width: 700px) {
  .footer-top {
    gap: 24px 20px;
    padding-block: 41px 40px;
  }
  .footer-brand img {
    width: 235px;
  }
  .footer-brand .footer-slogan {
    font-size: 16px;
    max-width: 340px;
    margin-top: 16px;
  }
  .footer-top h3 {
    font-size: 17px;
    margin-bottom: 15px;
  }
  .footer-top > div:not(:first-child) a {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 6px;
    padding-block: 4px;
  }
  .footer-bottom .container {
    gap: 7px;
    padding-block: 18px;
  }
  .footer-bottom {
    font-size: 13px;
  }
}
@media (max-width: 360px) {
  .footer-top {
    column-gap: 13px;
  }
  .footer-top > div:not(:first-child) a {
    font-size: 14px;
  }
}

/* Joshua Batteries | Bottom copyright bar refresh & SS Computers design credit */
.footer-bottom {
  position: relative;
  background: linear-gradient(110deg, #082b51 0%, #0b3765 62%, #083e54 100%);
  color: #f3f8fe;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.55;
}
.footer-bottom .footer-bottom-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding-block: 19px;
}
.footer-bottom-copy {
  color: #f3f8fe;
}
.footer-bottom-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 26px;
}
.footer-bottom-tagline {
  color: #dcecf8;
}
.footer-bottom-credit {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(164, 222, 200, 0.36);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.075);
  color: #e8f6ff;
  font-size: 15px;
  font-weight: 600;
}
.footer-bottom-credit a {
  color: #9ef0c3;
  font-weight: 850;
  text-decoration: none;
  text-underline-offset: 4px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}
.footer-bottom-credit a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.footer-bottom-credit a:focus-visible {
  outline: 2px solid #9ef0c3;
  outline-offset: 4px;
  border-radius: 3px;
}
@media (max-width: 1090px) {
  .footer-bottom .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }
  .footer-bottom-end {
    justify-content: center;
  }
}
@media (max-width: 700px) {
  .footer-bottom {
    font-size: 15px;
  }
  .footer-bottom .footer-bottom-inner {
    flex-direction: column;
    padding-block: 20px 22px;
    gap: 12px;
  }
  .footer-bottom-end {
    flex-direction: column;
    gap: 12px;
  }
  .footer-bottom-credit {
    font-size: 15px;
    padding: 7px 15px;
  }
}

/* October 2026 | Homepage banner matches navigation & service-row width. */
.banner-shell {
  width: min(1280px, calc(100% - 56px));
  margin-inline: auto;
}
@media (max-width: 1180px) {
  .banner-shell {
    width: min(1140px, calc(100% - 44px));
  }
}
@media (max-width: 700px) {
  .banner-shell {
    width: calc(100% - 34px);
  }
  /* Allow service cards to shrink within the same mobile content width. */
  .service-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-card {
    min-width: 0;
  }
}

/* Joshua Batteries | Homepage content typography upgrade - October 2026 */
/* Increase readability without changing the navigation, footer or banner dimensions. */
main .section {
  font-size: 18px;
  line-height: 1.7;
}
main .section h2 {
  font-size: clamp(2.2rem, 3.2vw, 3.55rem);
  line-height: 1.17;
}
main .section .kicker {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.11em;
}
main .section-heading p:not(.kicker),
main .brand-header p:not(.kicker),
main .why-copy > p:not(.kicker),
main .about-copy > p:not(.kicker),
main .ticket-info > p:not(.kicker),
main .contact-copy > p:not(.kicker) {
  font-size: 18px;
  line-height: 1.75;
}

/* Compact service strip directly below the banner. */
main .quick-item b {
  font-size: 17px;
  line-height: 1.45;
}
main .quick-item div > span {
  font-size: 15px;
  line-height: 1.5;
}

/* Service cards and linked product/service details. */
main .service-card .number {
  font-size: 13px;
}
main .service-card h3 {
  font-size: 25px;
  line-height: 1.25;
}
main .service-card > p {
  font-size: 17px;
  line-height: 1.7;
}
main .service-points a {
  font-size: 16px;
  line-height: 1.45;
}

/* Battery brand picker, explanatory text and action links. */
main .brand-tile strong {
  font-size: 21px;
}
main .brand-tile small {
  font-size: 15px;
  line-height: 1.5;
}
main .section .text-link {
  font-size: 16px;
}
main .section .btn {
  font-size: 16px;
}

/* Why choose us / about section. */
main .benefit h3 {
  font-size: 19px;
  line-height: 1.35;
}
main .benefit p {
  font-size: 16px;
  line-height: 1.65;
}
main .about-caption {
  font-size: 12px;
}

/* Blog and useful tips. */
main .tip-tag {
  font-size: 13px;
}
main .tip-card h3 {
  font-size: 22px;
  line-height: 1.35;
}
main .tip-card p {
  font-size: 16px;
  line-height: 1.7;
}
main .tip-card > a {
  font-size: 16px;
}

/* Enquiry form / clickable call details. */
main .ticket-phone small {
  font-size: 15px;
}
main .ticket-phone a {
  font-size: 21px;
}
main .ticket-form label {
  font-size: 16px;
  line-height: 1.5;
}
main .ticket-form input,
main .ticket-form select,
main .ticket-form textarea {
  font-size: 16px;
  line-height: 1.5;
  min-height: 46px;
}
main .ticket-form textarea {
  min-height: 100px;
}
main .form-help {
  font-size: 13px;
  line-height: 1.6;
}

/* Visit / phone / email panel and map caption. */
main .contact-list strong {
  font-size: 16px;
}
main .contact-list p {
  font-size: 16px;
  line-height: 1.7;
}
main .contact-list small {
  font-size: 14px;
}
main .map-footer strong {
  font-size: 17px;
}
main .map-footer div > span {
  font-size: 15px;
}
main .map-footer .btn-small {
  font-size: 15px;
}

/* Size adjustments for comfortable phone/tablet layouts. */
@media (max-width: 700px) {
  main .section {
    font-size: 16px;
  }
  main .section h2 {
    font-size: clamp(2rem, 7.4vw, 2.6rem);
  }
  main .section-heading p:not(.kicker),
  main .brand-header p:not(.kicker),
  main .why-copy > p:not(.kicker),
  main .about-copy > p:not(.kicker),
  main .ticket-info > p:not(.kicker),
  main .contact-copy > p:not(.kicker) {
    font-size: 16px;
  }
  main .section .kicker {
    font-size: 13px;
  }
  main .quick-item b {
    font-size: 16px;
  }
  main .quick-item div > span {
    font-size: 14px;
  }
  main .service-card h3 {
    font-size: 23px;
  }
  main .service-card > p {
    font-size: 16px;
  }
  main .service-points a {
    font-size: 15px;
  }
  main .brand-tile strong {
    font-size: 19px;
  }
  main .brand-tile small {
    font-size: 14px;
  }
  main .benefit h3 {
    font-size: 18px;
  }
  main .benefit p {
    font-size: 15px;
  }
  main .tip-card h3 {
    font-size: 21px;
  }
  main .tip-card p {
    font-size: 16px;
  }
  main .contact-list p {
    font-size: 15px;
  }
  main .contact-list strong {
    font-size: 15px;
  }
}
