/* Fusion Point Electric - Main Stylesheet */
:root {
  --primary: #0a4d8c;
  --primary-dark: #073561;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --light: #f8fafc;
  --gray: #64748b;
  --white: #ffffff;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

ul {
  list-style: none;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 94px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-link img {
  height: 94px; /* 1.3x scale */
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark);
}

.nav-desktop a:hover {
  color: var(--primary);
}

.nav-desktop .btn {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
}

.nav-desktop .btn:hover {
  background: var(--primary-dark);
}

.nav-phone {
  font-weight: 600;
  color: var(--primary) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-phone:hover {
  color: var(--primary-dark) !important;
}

.nav-phone img {
  width: 18px;
  height: 18px;
}

/* Mobile menu - hidden on desktop */
.nav-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
  /* Full-bleed jumbotron */
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: url("../assets/jumbo.avif") center/cover no-repeat, linear-gradient(135deg, rgba(10,77,140,0.65) 0%, rgba(3,53,97,0.55) 50%, rgba(7,53,97,0.6) 100%);
  color: var(--white);
  padding: 8rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 70% 50%, rgba(245, 158, 11, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.4);
  padding: 2rem 2.5rem;
  border-radius: 12px;
  backdrop-filter: blur(2px);
}

.hero-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.95);
  color: var(--dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.35);
}

.hero .accent {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.35), 0 4px 16px rgba(0,0,0,0.25);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.95);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

/* Sections */
section {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-alt {
  background: var(--light);
}

.service-card ul {
  margin-bottom: 1rem;
  color: var(--gray);
  font-size: 0.95rem;
}

.btn-full {
  width: 100%;
}

.tsbc-banner {
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--dark-soft);
  color: var(--white);
}

.tsbc-banner p {
  opacity: 0.9;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-header p a {
  color: var(--primary);
  font-weight: 500;
}

.section-header p a:hover {
  text-decoration: underline;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.about-content p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.badge {
  background: var(--light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

/* Services cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card h3::before {
  content: '⚡';
  font-size: 1.25rem;
}

.service-card p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.service-card .btn {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

/* Service icons grid */
.service-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.25rem;
  align-items: start;
}
.service-icons .icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  color: var(--gray);
  font-weight: 600;
}
.service-icons .icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.service-icons .icon span {
  min-height: 2.6em;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 700px) {
  .service-icons {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .service-icons .icon img {
    width: 48px;
    height: 48px;
  }
  .service-icons .icon span {
    min-height: 2.4em;
  }
}

/* Fixed Google Ratings Widget */
.google-rating-widget {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.12);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  white-space: nowrap; /* Keeps everything on one line */
}

.google-rating-widget .grw-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  text-decoration: none;
}

/* CRITICAL FIX FOR THE "HUGE G" */
.google-rating-widget .grw-glogo {
  width: 24px;   /* Explicit container width */
  height: 24px;  /* Explicit container height */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* Prevents logo from squishing */
}

.google-rating-widget .grw-glogo svg {
  width: 20px;   /* Explicit SVG width */
  height: 20px;  /* Explicit SVG height */
  display: block;
}

.google-rating-widget .grw-stars {
  color: #f59e0b;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 1px;
}

.google-rating-widget .grw-rating {
  font-weight: 700;
}

.google-rating-widget .grw-count {
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 600;
}

.google-rating-widget .grw-action {
  background: var(--primary);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  margin-left: 4px;
}

/* Google Ratings Widget */
/* .google-rating-widget {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  z-index: 1200;
  background: rgba(255,255,255,0.98);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(16,24,40,0.12);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(0,0,0,0.06);
}
.google-rating-widget .grw-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.google-rating-widget .grw-glogo {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.google-rating-widget .grw-glogo svg {
  width: 20px;
  height: 20px;
  display: block;
}
.google-rating-widget .grw-stars {
  color: #f59e0b;
  font-size: 1rem;
  line-height: 1;
}
.google-rating-widget .grw-rating {
  font-weight: 700;
  margin-right: 4px;
}
.google-rating-widget .grw-count {
  color: var(--gray);
  font-weight: 600;
}
.google-rating-widget .grw-action {
  background: var(--primary);
  color: var(--white);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
} */

@media (max-width: 480px) {
  .google-rating-widget {
    padding: 6px 8px;
    gap: 8px;
  }
  .google-rating-widget .grw-stars { font-size: .9rem }
  .google-rating-widget .grw-action { padding: 5px 8px; font-size: .8rem }
}

/* Features */

/* Certifications panel (fixed side / bottom) */
.certifications-panel {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.96);
  padding: 12px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(0,0,0,0.06);
}
.certifications-panel img {
  width: 72px;
  height: auto;
  display: block;
}
.certifications-panel .cert-link {
  display: block;
  padding: 4px;
  border-radius: 8px;
}

@media (max-width: 700px) {
  .certifications-panel {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 16px;
    top: auto;
    flex-direction: row;
    padding: 8px 12px;
    gap: 8px;
  }
  .certifications-panel img {
    width: 48px;
  }
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--light);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: block;
  object-fit: contain;
}

.feature-card:hover {
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step .step-num {
  width: 4rem;
  height: 4rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}

.process-step h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.process-step p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Location links */
.locations-section {
  background: var(--light);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.locations-grid a {
  display: block;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--dark);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.locations-grid a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Gallery page */
.gallery-page-intro {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.5rem 2rem;
}

.gallery-page-intro p {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.7;
}

.gallery-item-expanded {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gallery-caption {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.5;
}

.gallery-page-grid {
  padding-bottom: 2rem;
}

/* Contact form */
.contact-section {
  background: var(--dark);
  color: var(--white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-info p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-details a {
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-form {
  background: var(--dark-soft);
  padding: 2rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form .btn-full {
  justify-content: center;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

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

/* Reviews section */
.reviews-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.reviews-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.reviews-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.reviews-stars {
  color: var(--accent);
  font-size: 2rem;
  letter-spacing: 2px;
}

.reviews-rating {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
}

.reviews-count {
  font-size: 0.9rem;
  color: var(--gray);
}

.reviews-cta {
  text-align: left;
}

.reviews-cta p {
  margin-bottom: 1rem;
  color: var(--gray);
}

@media (max-width: 768px) {
  .reviews-section {
    grid-template-columns: 1fr;
  }

  .reviews-cta {
    text-align: center;
  }
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 78px; /* 1.3x scale */
  margin-bottom: 1rem;
}

.footer-brand p {
  opacity: 0.8;
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-contact {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact a {
  opacity: 0.9;
  font-size: 0.95rem;
}

.footer-contact a:hover {
  opacity: 1;
}

.footer-social {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: inline-flex;
  opacity: 0.9;
}

.footer-social a:hover {
  opacity: 1;
}

.footer-social img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  max-width: 100%;
}

.footer h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

#locations ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 2rem;
}

.footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Page header (for inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 8rem 1.5rem 4rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  opacity: 0.9;
  font-size: 1.1rem;
}

.page-hero .breadcrumb {
  font-size: 0.875rem;
  opacity: 0.85;
  margin-bottom: 1rem;
}

.page-hero .breadcrumb a {
  color: var(--white);
  text-decoration: underline;
}

.page-hero .breadcrumb a:hover {
  opacity: 0.9;
}

/* Service detail pages */
.service-detail-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.service-detail-img {
  width: 120px;
  height: auto;
  flex-shrink: 0;
}

.service-detail-intro > div {
  flex: 1;
  min-width: 200px;
}

/* Services page */
.services-page-grid {
  max-width: 800px;
  margin: 0 auto;
}

.service-list ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}

.service-list li {
  list-style: none;
}

.service-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  color: var(--primary);
  font-weight: 600;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.service-list li a::after {
  content: "→";
  font-size: 1.1rem;
  opacity: 0.8;
}

.service-list li a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.service-list li a:hover::after {
  opacity: 1;
}

.services-page-cta {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.services-page-cta p {
  margin-bottom: 1.5rem;
  color: var(--gray);
}

/* Location page content */
.location-content {
  padding: 3rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.location-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.location-content p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.location-content h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.location-content ul {
  margin: 0 0 1rem 1.25rem;
  padding-left: 0;
}

.location-content ul li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.35rem;
  color: var(--gray);
}

.location-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.location-neighborhoods ul,
.location-services-list ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem;
  margin: 1rem 0;
  padding-left: 1.25rem;
}

.location-neighborhoods li,
.location-services-list li {
  color: var(--gray);
  margin-bottom: 0.25rem;
}

.location-faq {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.location-faq h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.location-faq p {
  margin-bottom: 0.75rem;
}

.location-nearby {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--light);
  border-radius: var(--radius-lg);
}

.location-nearby h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.location-nearby-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.location-nearby-links a {
  color: var(--primary);
  font-weight: 500;
}

.location-nearby-links a:hover {
  text-decoration: underline;
}

/* Service Areas page grid */
.service-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.service-areas-grid a {
  color: var(--primary);
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color var(--transition);
}

.service-areas-grid a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Homepage - Find an Electrician Near You */
.home-locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
  padding: 1rem 0 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .home-locations-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 720px;
  }
}

.home-locations-grid a {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--transition);
  padding: 0.35rem 0;
}

.home-locations-grid a:hover {
  color: var(--accent);
}

.home-locations-cta {
  text-align: center;
  margin: 0;
}

.home-locations-cta .link-arrow {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}

.home-locations-cta .link-arrow:hover {
  color: var(--accent);
}

.home-locations-cta .link-arrow::after {
  content: ' →';
  font-weight: 500;
}

/* Homepage - Service blurbs */
.services-expanded {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding-top: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.service-blurb h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.service-blurb p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Homepage - Permits note */
.permits-note {
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray);
  text-align: center;
  padding: 1rem 0 2rem;
}

/* Homepage - FAQ */
.home-faq {
  max-width: 700px;
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.home-faq h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.home-faq h3:first-child {
  margin-top: 0;
}

.home-faq p {
  color: var(--gray);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.home-faq a {
  color: var(--primary);
  font-weight: 500;
}

.home-faq a:hover {
  text-decoration: underline;
}

/* CTA banner */
.cta-banner {
  background: var(--primary);
  color: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
}

.cta-banner h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-mobile {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-mobile.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-mobile a {
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .about-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column;
  }

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

  .footer-social img {
    width: 26px;
    height: 26px;
  }
}

/* Mobile adjustments for logo sizes */
@media (max-width: 480px) {
  .logo-link img {
    height: 73px; /* 1.3x scale, slightly smaller on small screens */
  }
  .footer-brand img {
    height: 62px; /* 1.3x scale */
  }
  .footer-social img {
    width: 24px;
    height: 24px;
  }
}
