  letter-spacing: 0.025em;
  font-weight: 500;
/* =============================================
   GAL Electrical – style.css
   Vanilla HTML/CSS, no framework.
   All brand tokens at the top as variables.
   ============================================= */
/* ── SELF-HOSTED JOST FONT ─────────────────── */
@font-face {
  font-family: 'Jost';
  src: url('assets/fonts/Jost/static/Jost-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Jost';
  src: url('assets/fonts/Jost/static/Jost-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Jost';
  src: url('assets/fonts/Jost/static/Jost-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Jost';
  src: url('assets/fonts/Jost/static/Jost-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* ── TOKENS ─────────────────────────────────── */
:root {
  /* Colours */
  --c-header-bg:      #000000;
  --c-nav-bg:         #2a2a2a;
  --c-nav-active:     #444444;
  --c-nav-text:       #cccccc;
  --c-nav-text-hover: #ffffff;
  --c-red:            #ee3123;
  --c-red-dark:       #a81a1a;
  --c-widget-bg:      #555555;
  --c-widget-btn:     #777777;
  --c-widget-btn-hover: #999999;
  --c-body-bg:        #ffffff;
  --c-text:           #333333;
  --c-text-muted:     #555555;
  --c-text-light:     #888888;
  --c-border:         #e0e0e0;
  --c-subfooter-bg:   #f0f0f0;
  --c-sidebar-box-border: #dddddd;
  --c-enquiries-red:  #ee3123;

  /* Typography */
  --font-body:        'Jost', Arial, sans-serif;
  --font-size-base:   16px;
  --font-size-sm:     13px;
  --font-size-xs:     12px;
  --font-size-nav:    0.72rem;
  --font-size-phone:  1.75rem;
  --font-size-h1:     1.6rem;
  --font-size-quote:  1.1rem;

  /* Spacing */
  --space-xs:   0.4rem;
  --space-sm:   0.75rem;
  --space-md:   1.25rem;
  --space-lg:   2rem;
  --space-xl:   3rem;

  /* Layout */
  --max-width:        1020px;
  --gutter:           24px;
  --sidebar-width:    260px;
  --hero-max-height:  340px;
  --header-logo-h:    36px;
  --nav-link-pad:     0.85rem 1.1rem;
}

/* ── RESET ───────────────────────────────────── */
/* ── GLOBAL BUTTON STYLES ─────────────────────── */
button,
.btn-quote,
.btn-red,
.btn-submit {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #fff;
  background: var(--c-red);
  border: none;
  border-radius: 4px;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.025em;
  font-weight: 500;
}
button:hover,
.btn-quote:hover,
.btn-red:hover,
.btn-submit:hover {
  background: var(--c-red-dark);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--c-text);
  background: var(--c-body-bg);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ── UTILITY ─────────────────────────────────── */
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: var(--c-header-bg);
  position: relative;
  z-index: 100;
}

/* Top row */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1020px;
  margin: 0 auto;
  padding: 24px;
}
.header-logo img {
  height: var(--header-logo-h);
  width: auto;
}
.header-enquiries {
  text-align: right;
  line-height: 1.2;
}
.header-enquiries-label {
  display: block;
  color: var(--c-red);
  font-size: var(--font-size-sm);
  font-weight: 600;
  font-style: normal;
}
.header-phone-main {
  display: block;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.5px;
}
.header-phone-main:hover { color: var(--c-red); }
.header-phone-alt {
  display: block;
  color: #ccc;
  font-size: 0.9rem;
}
.header-phone-alt:hover { color: #fff; }

/* Nav bar */
.site-nav {
  background: var(--c-nav-bg);
}
.nav-inner {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-list {
  display: flex;
}
.nav-list a {
  display: block;
  color: var(--c-nav-text);
  font-size: var(--font-size-nav);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--nav-link-pad);
  transition: color 0.15s, background 0.15s;
}
.nav-list a:hover { color: var(--c-nav-text-hover); }
.nav-list a.active {
  background: var(--c-nav-active);
  color: #fff;
}
.nav-overlay-header { display: none; }
.nav-close { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.nav-toggle:hover { background: transparent; }
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  background: transparent;
  position: relative;
  overflow: hidden;
  height: 440px;
  width: 100%;
}
.hero-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: brightness(0.72);
  transform: scaleX(-1) scale(1.3);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0;
  box-sizing: border-box;
  z-index: 3;
}
.hero-content > div {
  max-width: 1020px;
  margin: 0 auto;
  padding: 1.75rem 24px 6rem;
}
/* hero content needs to be positioned relative to hero, not wrap */
 .hero { position: relative; }
.hero-title {
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 1.75rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  max-width: 50%;
}

.hero-img {
  position: relative;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 2;
  pointer-events: none;
}
.btn-quote {
  display: inline-block;
  background: var(--c-red);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  transition: background 0.2s;
}
.btn-quote:hover { background: var(--c-red-dark); color: #fff; }

/* =============================================
   THREE-COLUMN WIDGET ROW
   (used on home page and below inner page content)
   ============================================= */
.widget-row {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--c-border);
}
.widget-row-inner {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-md);
  align-items: stretch;
}

/* Welcome col */
.col-welcome {
  padding-right: 1.5rem;
}
.col-welcome h2 {
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--c-text);
  line-height: 1.3;
  margin-bottom: var(--space-md);
}
.col-welcome p {
  font-size: 1rem;
  color: var(--c-text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.65;
}
.read-more {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: 0.05em;
  display: inline-block;
  border-bottom: 2px solid var(--c-text);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.read-more:hover { color: var(--c-red); border-color: var(--c-red); }

/* Widget boxes */
.widget-box {
  background: var(--c-widget-bg);
  border-radius: 4px;
  color: #fff;
  height: 100%;
}
.widget-box-inner {
  padding: 2rem 1.25rem 2rem 2.5rem;
  height: 100%;
}
.widget-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.75rem;
  white-space: nowrap;
}
.widget-services-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.widget-services-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
  min-height: 24px;
}
.widget-services-list li::before {
  content: '';
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.6 16.2L17.65 9.15L16.25 7.75L10.6 13.4L7.75 10.55L6.35 11.95L10.6 16.2ZM5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5ZM5 19H19V5H5V19Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.btn-widget {
  display: inline-block;
  background: var(--c-widget-btn);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  margin-top: 1.5rem;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-widget:hover { background: var(--c-widget-btn-hover); color: #fff; }

/* Quote widget – Gary photo as background via exact Figma imageTransform values */
.widget-box--quote {
  padding: 0;
  overflow: hidden;
  background-image: url('../assets/images/widget-gary.png');
  background-repeat: no-repeat;
  background-size: auto 75%;
  background-position: right bottom;
}
.widget-quote-inner {
  height: 100%;
  padding: 2rem 0 2rem 2.5rem;
}
.widget-quote-text .widget-title { margin-bottom: 1.5rem; }
.widget-quote-text .btn-widget   { margin-top: 0; }

/* =============================================
   INNER PAGE LAYOUT
   ============================================= */
.page-title {
  border-bottom: 1px solid var(--c-border);
}
.page-title h1 {
  max-width: 1020px;
  margin: 0 auto;
  padding: 1.6rem 24px;
  font-size: var(--font-size-h1);
  font-weight: 600;
  color: #222;
}

.inner-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem var(--gutter) 2.5rem;
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: 2.5rem;
  align-items: start;
}
.inner-layout--prose {
  grid-template-columns: 1fr;
}
.inner-layout--prose .inner-main {
  max-width: 60ch;
}

/* Main content */
.inner-main {
  font-size: 1rem;
  color: var(--c-text-muted);
  line-height: 1.75;
}
.inner-main p { margin-bottom: 1.5rem; }
.inner-main p a { color: #000; font-weight: 600; }
.inner-main p a:hover { color: var(--c-red); }
.inner-main strong { color: var(--c-text); }
.inner-main ul {
  list-style: disc;
  padding-left: 1.3rem;
  margin-bottom: 0.9rem;
}
.inner-main ul li { margin-bottom: 0.2rem; }
.inner-main img {
  border-radius: 3px;
  margin-bottom: 2.4rem;
  width: 100%;
}
.inner-main h1 {
  font-size: 1.6rem;
  font-weight: 400;
  color: #222;
  margin-bottom: 1.2rem;
}

/* Sidebar */
.inner-sidebar { font-size: 0.875rem; color: var(--c-text-muted); }

.sidebar-photo {
  width: 100%;
  border-radius: 3px;
  margin-bottom: 1rem;
}

/* Sidebar enquiries box */
.sidebar-enquiries-box {
  border: 1px solid var(--c-sidebar-box-border);
  border-radius: 3px;
  padding: 1rem 1.1rem 1.5rem;
  margin-bottom: 1rem;
}
.sidebar-enquiries-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 0.4rem;
}
.sidebar-enquiries-box .sidebar-phones {
  font-size: 1.15rem;
  font-weight: 500;
}
.sidebar-phones .phone-alt {
  font-size: 0.95rem;
  color: var(--c-text);
  line-height: 1.5;
}
.sidebar-enquiries-box .sidebar-phones {
  margin-bottom: 1.1rem;
}
.btn-red {
  display: inline-block;
  background: var(--c-red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  transition: background 0.2s;
}
.btn-red:hover { background: var(--c-red-dark); color: #fff; }

/* =============================================
   TESTIMONIALS PAGE
   ============================================= */
.testimonial-item {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--c-border);
}
.testimonial-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.testimonial-quote {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.testimonial-mark {
  font-size: 6rem;
  line-height: 1;
  color: #ccc;
  flex-shrink: 0;
  margin-top: -0.3rem;
  font-family: Georgia, serif;
}
.testimonial-text {
  font-size: var(--font-size-quote);
  font-style: italic;
  color: var(--c-text-muted);
  line-height: 1.75;
}
.testimonial-credit { font-size: 1rem; }
.testimonial-credit-label { color: #000; font-weight: 600; }
.testimonial-credit-value { color: var(--c-text); }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-detail {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}
.contact-detail-label {
  font-weight: 700;
  color: var(--c-text);
  display: block;
}
.contact-detail a { color: var(--c-text); }
.contact-detail a:hover { color: var(--c-red); }

.enquire-section { margin-top: 4rem; }
#contact-form {
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 3rem;
}
.enquire-section h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 0.4rem;
}
.enquire-section p {
  font-size: 1.1rem;
  color: var(--c-text-muted);
  margin-bottom: 1.2rem;
}

/* Form */
.form-group { margin-bottom: 0.9rem; }
.form-group label {
  display: block;
  font-size: 1.1rem;
  color: var(--c-text-muted);
  margin-bottom: 0.3rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.5rem 0.7rem;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--c-text);
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #888;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.btn-submit {
  display: inline-block;
  background: var(--c-red);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  padding: 0.65rem 1.4rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--c-red-dark); }
.btn-submit { margin-bottom: 1rem; }
.form-status {
  margin-top: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 3px;
  font-size: 0.875rem;
  font-weight: 600;
  display: none;
}
.form-status.success { background: #d4edda; color: #155724; display: block; }
.form-status.error   { background: #f8d7da; color: #721c24; display: block; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  border-top: 1px solid var(--c-border);
}
.footer-cols {
  max-width: 1020px;
  margin: 0 auto;
  padding: var(--space-xl) 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-address {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.7;
}
.footer-address a { color: var(--c-text); font-weight: 700; }
.footer-address a:hover { color: var(--c-red); }

.footer-nav a {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 0.35rem;
}
.footer-nav a:hover { color: var(--c-red); }

.footer-accreditations h4 {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--c-text);
  margin-bottom: 0.75rem;
}

/* Sub-footer */
.sub-footer {
  background: var(--c-subfooter-bg);
  padding: 0.9rem 0;
}
.sub-footer-inner {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.sub-footer-text {
  font-size: var(--font-size-sm);
  color: #555;
  line-height: 1.9;
}
.sub-footer-text a { color: var(--c-text); font-weight: 600; }
.sub-footer-text a:hover { color: var(--c-red); }
.sub-footer-credit { color: #999; font-weight: 600; }
.sub-footer-logo img {
  height: 30px;
  width: auto;
  opacity: 0.55;
}

/* =============================================
   MOBILE
   ============================================= */
@media (max-width: 700px) {
      .hero {
        min-height: 250px;
      }
      .hero-title {
        max-width: 100%;
      }
      .hero-content {
        padding: 0 12px;
        font-size: 1.1rem;
      }
    .hero-img {
      object-fit: cover;
      object-position: center 30%;
    }
  /* Mobile header */
  .header-top {
    flex-wrap: wrap;
    align-items: center;
    padding: 14px 16px;
  }
  .header-logo { flex: 1; }
  .header-logo img { height: 32px; }
  .nav-toggle { display: flex; }
  .header-enquiries {
    width: 100%;
    order: 3;
    text-align: left;
    margin-top: 16px;
  }
  .header-phone-alt { display: none; }
  .header-enquiries { display: flex; align-items: center; gap: 0.5rem; }
  .header-enquiries-label { display: inline; }
  .header-phone-main { display: inline; font-size: 1rem; }

  /* Fullscreen nav overlay */
  .site-nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 99;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .site-nav.open { transform: translateX(0); }
  .nav-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 24px 32px 16px;
    box-sizing: border-box;
    position: relative;
  }
  .nav-overlay-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 32px;
    right: 32px;
    height: 1px;
    background: #e0e0e0;
  }
  .nav-overlay-enquiries-label {
    display: block;
    color: var(--c-red);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 4px;
  }
  .nav-overlay-phone-main {
    display: block;
    color: #111;
    font-size: 1.3rem;
    font-weight: 400;
  }
  .nav-overlay-phone-alt {
    display: block;
    color: #111;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 2px;
  }
  body.nav-open .nav-toggle {
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 1000;
  }
  body.nav-open .nav-toggle span {
    background: #111;
  }
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0;
    max-width: none;
    width: 100%;
  }
  .nav-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .nav-list a {
    font-size: 1.4rem;
    padding: 0.65rem 32px;
    color: #111;
    text-align: left;
    letter-spacing: 0.05em;
    font-weight: 700;
  }
  .nav-list a.active {
    background: transparent;
    color: var(--c-red);
  }

  .widget-row-inner { grid-template-columns: 1fr; }
  .col-welcome { padding-bottom: 1.5rem; }

  .inner-layout { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .sub-footer-inner { flex-direction: column; align-items: flex-start; }
  .sub-footer-text { display: contents; }
  .sub-footer-text p:first-child { order: 1; }
  .sub-footer-logo { order: 2; padding-bottom: 1rem; }
  .sub-footer-text p:last-child { order: 3; padding-bottom: 1.5rem; }
  .footer-links { display: block; }
}
