:root {
  --yellow: #f5c100;
  --yellow-dark: #d4a600;
  --charcoal: #141414;
  --charcoal-2: #1e1e1e;
  --charcoal-3: #2a2a2a;
  --off-white: #f0ede8;
  --muted: #9a9a9a;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--charcoal);
  color: var(--off-white);
  overflow-x: hidden;
}

main {
  overflow-x: hidden;
}

a { text-decoration: none; }

.bg-charcoal { background: var(--charcoal) !important; }
.bg-charcoal-2 { background: var(--charcoal-2) !important; }
.bg-charcoal-3 { background: var(--charcoal-3) !important; }
.text-yellow { color: var(--yellow) !important; }
.text-muted-custom { color: var(--muted) !important; }

.btn-brand {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--charcoal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.btn-brand:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  color: var(--charcoal);
}

.btn-outline-brand {
  border: 2px solid rgba(255,255,255,.25);
  color: var(--off-white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.btn-outline-brand:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: transparent;
}

.section-pad {
  padding: 5rem 0;
}

.section-label {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--yellow);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .95;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--muted);
  max-width: 560px;
  font-size: 1rem;
}

.navbar {
  border-bottom: 3px solid var(--yellow);
}

.navbar-brand {
  align-items: center;
  display: inline-flex;
  line-height: 1;
  margin-right: 1.5rem;
  padding: .35rem 0;
}

.brand-logo {
  align-items: center;
  display: inline-flex;
  max-width: 100%;
}

.brand-logo-svg {
  display: block;
  height: 2.875rem;
  max-width: 52vw;
  width: auto;
}

.brand-logo-footer .brand-logo-svg {
  height: 3.25rem;
  max-width: 64vw;
}

.brand-logo-mark-bg {
  fill: var(--yellow);
}

.brand-logo-bolt-shadow {
  fill: rgba(17, 17, 17, .35);
}

.brand-logo-bolt {
  fill: var(--charcoal);
}

.brand-logo-word {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.brand-logo-electrician {
  fill: var(--off-white);
}

.brand-logo-doncaster {
  fill: var(--yellow);
}

.navbar .nav-link {
  color: var(--off-white);
  text-transform: uppercase;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
}

.navbar .nav-link:hover {
  color: var(--yellow);
}

.dropdown-menu {
  background: var(--charcoal-2);
  border: 1px solid var(--charcoal-3);
  border-radius: .35rem;
}

.dropdown-item {
  color: var(--off-white);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .04em;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(245,193,0,.1);
  color: var(--yellow);
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/assets/images/hero-electrician-work.jpg?v=generated-20260605");
  background-size: cover;
  background-position: center;
  filter: brightness(.2) saturate(.3);
  z-index: 0;
}

.hero-accent {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,193,0,.15) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.breadcrumb-trail {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.breadcrumb-trail a {
  color: var(--off-white);
}

.breadcrumb-trail a:hover {
  color: var(--yellow);
}

.breadcrumb-trail span[aria-current="page"] {
  color: var(--yellow);
}

.hero-badge {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .35rem .85rem;
  border: 1px solid rgba(245,193,0,.4);
  background: rgba(245,193,0,.12);
  color: var(--yellow);
  display: inline-block;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 900;
  line-height: .92;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--yellow);
  display: block;
}

.hero-sub {
  color: #b0b0b0;
  font-size: 1.1rem;
  max-width: 520px;
}

.hero-card,
.custom-card {
  background: var(--charcoal-2);
  border: 1px solid var(--charcoal-3);
  border-radius: .35rem;
}

.hero-card {
  border-top: 3px solid var(--yellow);
}

.hero-card h2,
.card-title-display {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .03em;
}

.step-num {
  width: 34px;
  height: 34px;
  background: var(--yellow);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  flex-shrink: 0;
}

.trust-bar {
  background: var(--yellow);
  color: var(--charcoal);
}

.trust-item {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.trust-item::before {
  content: "✓";
  margin-right: .5rem;
}

.service-card,
.cred-card,
.review-card,
.recent-job-card,
.contact-card,
.hours-box,
.include-box,
.contact-box {
  background: var(--charcoal-2);
  border: 1px solid var(--charcoal-3);
  border-radius: .35rem;
  height: 100%;
}

.service-card {
  transition: .2s ease;
}

.service-card:hover {
  background: var(--charcoal-3);
  transform: translateY(-3px);
}

.service-card-link {
  color: var(--off-white);
}

.service-card-link:hover {
  color: var(--off-white);
}

.service-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.service-title,
.cred-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.service-desc,
.cred-desc,
.faq-answer,
.review-meta,
.tip,
.include-list li,
.hours-day {
  color: var(--muted);
}

.service-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.service-link:hover {
  color: var(--off-white);
}

.blog-meta {
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-card {
  overflow: hidden;
}

.blog-card-image {
  aspect-ratio: 16 / 10;
  background: var(--charcoal);
  display: block;
  overflow: hidden;
}

.blog-card-image img {
  display: block;
  filter: saturate(.65) brightness(.85);
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
  width: 100%;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

.blog-card-title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.blog-card-title a {
  color: var(--off-white);
}

.blog-card-title a:hover {
  color: var(--yellow);
}

.blog-article {
  max-width: 780px;
}

.blog-article h2 {
  color: var(--off-white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: .98;
  margin: 3rem 0 1rem;
  text-transform: uppercase;
}

.blog-article p {
  color: #d8d3ca;
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.blog-article a {
  color: var(--yellow);
  font-weight: 700;
}

.blog-article a:hover,
.blog-article a:focus {
  color: var(--off-white);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: .18em;
}

.blog-article .blog-lede {
  color: var(--off-white);
  font-size: 1.2rem;
}

.blog-sidebar {
  position: sticky;
  top: 6rem;
}

.blog-small-link {
  border-bottom: 1px solid var(--charcoal-3);
  color: var(--off-white);
  display: block;
  padding-bottom: 1rem;
}

.blog-small-link:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.blog-small-link span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.blog-small-link small {
  color: var(--muted);
  display: block;
  font-weight: 700;
  margin-top: .45rem;
}

.blog-small-link:hover span {
  color: var(--yellow);
}

.blog-sources {
  border-top: 1px solid var(--charcoal-3);
  padding-top: 2rem;
}

.blog-checklist-box {
  height: auto;
}

.service-hero {
  min-height: 72vh;
}

.service-hero-bg {
  filter: brightness(.18) saturate(.45);
}

.image-frame {
  overflow: hidden;
  border-radius: .35rem;
  position: relative;
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: saturate(.6) brightness(.85);
  display: block;
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid var(--yellow);
  opacity: .35;
  pointer-events: none;
  border-radius: .35rem;
}

.location-tag {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .75rem 1rem;
  background: var(--charcoal-2);
  border: 1px solid var(--charcoal-3);
  border-radius: .35rem;
  color: var(--off-white);
  text-align: center;
  display: block;
}

.location-tag:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.cred-card {
  border-left: 4px solid var(--yellow);
}

.recent-job-card {
  border-top: 4px solid var(--yellow);
}

.job-area {
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tip {
  background: rgba(245,193,0,.05);
  border-left: 2px solid var(--yellow);
}

.accordion-item {
  background: var(--charcoal);
  border: 1px solid var(--charcoal-3);
  color: var(--off-white);
}

.accordion-button {
  background: var(--charcoal);
  color: var(--off-white);
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.accordion-button:not(.collapsed) {
  background: var(--charcoal);
  color: var(--yellow);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--yellow);
}

.accordion-button::after {
  filter: invert(1);
}

.review-stars {
  color: var(--yellow);
  letter-spacing: 2px;
}

.review-text {
  position: relative;
  padding-left: 1.25rem;
}

.review-text::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -6px;
  color: var(--yellow);
  font-size: 2rem;
  line-height: 1;
  font-family: var(--font-display);
}

.contact-card-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--yellow);
  margin-bottom: .4rem;
}

.contact-card a,
.footer-links a {
  color: var(--off-white);
}

.contact-card a:hover,
.footer-links a:hover {
  color: var(--yellow);
}

.contact-consent {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.45;
}

.contact-consent .form-check-input {
  background-color: var(--charcoal);
  border-color: var(--charcoal-3);
  box-shadow: none;
  margin-top: .2rem;
}

.contact-consent .form-check-input:checked {
  background-color: var(--yellow);
  border-color: var(--yellow);
}

.contact-consent .form-check-label a {
  color: var(--yellow);
  font-weight: 700;
}

.contact-consent .form-check-label a:hover {
  color: var(--off-white);
}

.contact-consent label.error {
  color: #ff7a7a;
  display: block;
  font-size: .9rem;
  font-weight: 700;
  margin-top: .4rem;
}

.hours-row {
  border-bottom: 1px solid var(--charcoal-3);
}

.hours-row:last-child {
  border-bottom: 0;
}

.include-box {
  background: rgba(245,193,0,.06);
  border-color: rgba(245,193,0,.2);
}

.include-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.include-list li::before {
  content: "→";
  color: var(--yellow);
  margin-right: .6rem;
}

.include-list a {
  color: var(--off-white);
}

.include-list a:hover {
  color: var(--yellow);
}

.include-chip {
  border: 1px solid var(--charcoal-3);
  background: var(--charcoal);
  color: var(--off-white);
  font-weight: 700;
  line-height: 1.35;
  min-height: 100%;
  padding: 1rem;
}

.include-chip::before {
  content: "✓";
  color: var(--yellow);
  margin-right: .55rem;
}

footer {
  border-top: 3px solid var(--charcoal-3);
}

.site-footer {
  overflow-x: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.35fr) repeat(3, minmax(170px, 1fr));
  gap: 2rem 2.5rem;
  align-items: start;
}

.footer-about,
.footer-nav-group {
  min-width: 0;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: .25rem;
}

.footer-about .small {
  overflow-wrap: anywhere;
}

.footer-email {
  display: inline-block;
  color: var(--off-white);
  margin-top: 1rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-email:hover {
  color: var(--yellow);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: .85rem;
}

.footer-link-list {
  display: grid;
  gap: .55rem;
}

.footer-link-list a {
  color: var(--off-white);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.footer-link-list a:hover {
  color: var(--yellow);
}

.sticky-call-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  background: var(--yellow);
  padding: .85rem 1rem;
  text-align: center;
}

.sticky-call-bar a {
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.2rem;
  background: rgba(18, 18, 18, .98);
  border: 1px solid rgba(245, 193, 0, .35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__copy {
  color: var(--muted);
  max-width: 640px;
}

.cookie-banner__copy h2 {
  color: var(--off-white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: .04em;
  margin-bottom: .35rem;
  text-transform: uppercase;
}

.cookie-banner__copy p {
  margin-bottom: .35rem;
}

.cookie-banner__copy a {
  color: var(--yellow);
  font-weight: 700;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: flex-end;
}

.cookie-banner__actions .btn {
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .hero {
	min-height: auto;
	padding: 4rem 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-accent {
	right: -260px;
	width: 360px;
	height: 360px;
  }

  .image-frame img {
	min-height: 300px;
  }
}

@media (max-width: 767.98px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sticky-call-bar {
	display: block;
  }

  .cookie-banner {
    bottom: 4.75rem;
  }

  body {
	padding-bottom: 58px;
  }
}

@media (max-width: 575.98px) {
  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__actions .btn {
    flex: 1 1 100%;
  }
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.required-marker {
  color: var(--yellow);
  font-weight: 800;
}

.form-control {
  background: var(--charcoal);
  border: 1px solid var(--charcoal-3);
  color: var(--off-white);
  padding: 0.85rem 1rem;
  border-radius: 0.35rem;
}

.form-control::placeholder {
  color: var(--muted);
}

.form-control:focus {
  background: var(--charcoal);
  border-color: var(--yellow);
  box-shadow: none;
  color: var(--off-white);
}

label.error {
  color: #ff8f8f;
  font-size: 0.875rem;
  margin-top: 0.35rem;
  display: block;
}

.form-control.error {
  border-color: #ff8f8f;
}

.form-control.valid {
  border-color: #198754;
}
