:root {
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(158, 15%, 15%);

    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(158, 15%, 15%);

    --primary: hsl(142, 76%, 36%);
    --primary-foreground: hsl(0, 0%, 98%);
    --primary-light: hsl(142, 76%, 45%);
    --primary-dark: hsl(142, 76%, 28%);

    --secondary: hsl(120, 25%, 85%);
    --secondary-foreground: hsl(158, 15%, 15%);

    --muted: hsl(120, 15%, 95%);
    --muted-foreground: hsl(158, 12%, 45%);

    --accent: hsl(89, 60%, 55%);
    --accent-foreground: hsl(158, 15%, 15%);
    --accent-light: hsl(89, 60%, 65%);

    --success: hsl(142, 76%, 36%);
    --success-foreground: hsl(0, 0%, 98%);

    --destructive: hsl(0, 84%, 60%);
    --destructive-foreground: hsl(0, 0%, 98%);

    --border: hsl(120, 15%, 90%);
    --input: hsl(120, 15%, 92%);
    --ring: hsl(142, 76%, 36%);

    --radius: 0.75rem;

    /* Custom design tokens */
    --gradient-hero: linear-gradient(135deg, hsl(142, 76%, 36%), hsl(89, 60%, 45%));
    --gradient-subtle: linear-gradient(180deg, hsl(120, 25%, 98%), hsl(120, 15%, 95%));
    --shadow-soft: 0 4px 20px -4px hsl(142, 76%, 36%, 0.1);
    --shadow-strong: 0 8px 40px -8px hsl(142, 76%, 36%, 0.2);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

      --blue: #123f7a;
      --blue-2: #0d6fb8;
      --yellow: #ffcc00;
      --dark: #101820;
      --text: #1f2933;
      --muted: #64748b;
      --light: #f6f8fb;
      --white: #ffffff;
      --radius: 12px;
      --shadow: 0 20px 50px rgba(15, 23, 42, .12);
      --max: 1160px;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--text);
      line-height: 1.55;
      background: var(--white);
    }

    img {
      max-width: 100%;
      display: block;
    }

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

    .container {
      width: min(var(--max), calc(100% - 32px));
      margin: 0 auto;
    }

    .topbar {
      background: var(--dark);
      color: var(--white);
      font-size: .9rem;
    }

    .topbar-inner {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      padding: 10px 0;
      flex-wrap: wrap;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255,255,255,.94);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid #e5e7eb;
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 18px 0;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      letter-spacing: .04em;
      color: var(--blue);
    }

    .logo img {
      width: 58px;
      height: 58px;
      object-fit: contain;
    }

    .logo span {
      display: block;
      line-height: 1.05;
    }

    nav {
      display: flex;
      gap: 24px;
      align-items: center;
      font-weight: 600;
      font-size: .95rem;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 13px 20px;
      border-radius: 999px;
      font-weight: 800;
      background: var(--yellow);
      color: var(--dark);
      box-shadow: 0 10px 24px rgba(255, 204, 0, .25);
    }

    .btn.secondary {
      background: var(--blue);
      color: var(--white);
      box-shadow: none;
    }

    .hero {
      background: linear-gradient(115deg, rgba(18,63,122,.95), rgba(13,111,184,.88)); /* ,
      var(--hero-image, url("../images/electrician-hero.jpg")) center/cover; */
      color: var(--white);
      padding: 84px 0;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr .85fr;
      gap: 48px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      background: rgba(255,255,255,.14);
      border: 1px solid rgba(255,255,255,.24);
      padding: 7px 12px;
      border-radius: 999px;
      font-weight: 700;
      margin-bottom: 18px;
      font-size: .9rem;
    }

    h1 {
      font-size: clamp(2.35rem, 5vw, 4.8rem);
      line-height: 1;
      margin: 0 0 20px;
      letter-spacing: -.05em;
    }

    .hero p {
      font-size: clamp(1.05rem, 2vw, 1.3rem);
      max-width: 680px;
      margin: 0 0 28px;
      color: #113769;
    }

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

    .trust {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      font-size: .95rem;
      color: #eaf3ff;
    }

    .trust span {
      background: rgba(255,255,255,.12);
      padding: 8px 11px;
      border-radius: 10px;
    }

    .hero-card {
      background: var(--white);
      color: var(--text);
      border-radius: var(--radius);
      padding: 28px;
      box-shadow: var(--shadow);
    }

    .hero-card h2 {
      margin-top: 0;
      font-size: 1.35rem;
    }

    .hero-card ul {
      padding-left: 20px;
      margin-bottom: 0;
    }

    section {
      padding: 78px 0;
    }

    .section-head {
      text-align: center;
      max-width: 760px;
      margin: 0 auto 42px;
    }

    .section-head h2 {
      font-size: clamp(2rem, 4vw, 3rem);
      line-height: 1.05;
      margin: 0 0 14px;
      letter-spacing: -.04em;
      color: var(--dark);
    }

    .section-head p {
      margin: 0;
      color: var(--muted);
      font-size: 1.08rem;
    }

    .services {
      background: var(--light);
    }

    .service-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 22px;
    }

    .service-grid .card {
      flex: 0 1 calc(33.333% - 15px);
      max-width: 372px;
    }

    .card {
      display: block;
      background: var(--white);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
      border: 1px solid #e8eef6;
      transition: transform .2s ease, box-shadow .2s ease;
    }

    a.card:hover {
      transform: translateY(-3px);
      box-shadow: 0 14px 36px rgba(15, 23, 42, .12);
    }

    .card img {
      width: 100%;
      height: 210px;
      object-fit: cover;
      background: #dbeafe;
    }

    .card-body {
      padding: 24px;
    }

    .card h3 {
      margin: 0 0 10px;
      color: var(--dark);
    }

    .card p {
      margin: 0;
      color: var(--muted);
    }

    .split {
      display: grid;
      grid-template-columns: .95fr 1.05fr;
      gap: 50px;
      align-items: center;
    }

    .feature-box {
      background: var(--blue);
      color: var(--white);
      padding: 36px;
      border-radius: var(--radius);
    }

    .feature-box h2 {
      margin-top: 0;
      font-size: clamp(1.9rem, 4vw, 2.8rem);
      line-height: 1.05;
    }

    .area-list {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 24px;
    }

    .area-list span {
      background: #eef5ff;
      color: var(--blue);
      padding: 8px 12px;
      border-radius: 999px;
      font-weight: 700;
      font-size: .92rem;
    }

    .reviews {
      background: var(--dark);
      color: var(--white);
    }

    .reviews .section-head h2,
    .reviews .section-head p {
      color: var(--white);
    }

    .review-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
    }

    .review {
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.12);
      border-radius: var(--radius);
      padding: 26px;
    }

    .review strong {
      display: block;
      color: var(--yellow);
      margin-bottom: 12px;
    }

    .reviews-cta {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      align-items: center;
      justify-items: center;
      gap: 24px;
      margin-top: 32px;
    }

    .reviews-cta img {
      max-height: 90px;
      width: auto;
      max-width: 100%;
      object-fit: contain;
    }

    .cta {
      background: linear-gradient(135deg, var(--blue), var(--blue-2));
      color: var(--white);
      text-align: center;
    }

    .cta h2 {
      font-size: clamp(2rem, 4vw, 3.2rem);
      line-height: 1.05;
      margin: 0 0 16px;
    }

    .cta p {
      max-width: 720px;
      margin: 0 auto 26px;
      color: #eaf3ff;
      font-size: 1.1rem;
    }

    footer {
      background: #07111f;
      color: var(--white);
      padding: 54px 0 24px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.2fr 1fr 1fr;
      gap: 32px;
      margin-bottom: 36px;
    }

    footer h3 {
      margin: 0 0 14px;
    }

    footer p,
    footer li {
      color: #cbd5e1;
    }

    footer ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .copyright {
      border-top: 1px solid rgba(255,255,255,.12);
      padding-top: 20px;
      color: #94a3b8;
      font-size: .9rem;
    }

    .napit-certified {
      text-align: center;
      margin-top: 1em;
    }
    .napit-certified img {
      margin: auto;
      max-width: 120px;
    }

    /* from wh contact */
    .contact {
      padding: 5rem 0;
      padding-top: 2em;
    }
    .contact{
        background: var(--gradient-subtle);
    }
    .contact .aem-logo {
      width: 140px;
      margin: auto;
      padding: 0;
      margin-bottom: 0;
      margin-top: 0;
    }
    .contact .section-title {
      padding-top: 0;
      margin-top: 0.5em;
    }
    .contact-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3rem;
    }

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-form-container {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid hsla(120, 15%, 90%, 0.5);
    box-shadow: var(--shadow-soft);
}

.contact-form {
    padding: 2rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    margin: 1em;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.hidden {
    display: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.form-label {
    display: block;
    color: var(--foreground);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--input);
    border-radius: var(--radius);
    background: var(--background);
    color: var(--foreground);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 3px hsla(142, 76%, 36%, 0.1);
}

.form-submit {
    width: 100%;
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    font-size: 1.125rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.form-submit:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid hsla(120, 15%, 90%, 0.5);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
}

.contact-card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: hsla(214, 80%, 31%, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: rgb(18 63 122);
}

.contact-label {
    font-weight: 600;
    color: var(--foreground);
}

.contact-value {
    color: var(--muted-foreground);
}

.guarantee-card {
    background: var(--gradient-hero);
    color: white;
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: var(--shadow-strong);
}

.guarantee-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.guarantee-description {
    opacity: 0.9;
    line-height: 1.6;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}
.section-header {
  text-align: center;
  margin-bottom: 2em;
}
.section-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto;
    max-width: 800px;
    color: #01320b;
}



    @media (max-width: 860px) {
      nav {
        display: none;
      }

      .hero {
        padding: 58px 0;
      }

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

      .service-grid .card {
        flex: 1 1 100%;
        max-width: none;
      }

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

      .reviews-cta {
        grid-template-columns: 1fr;
      }

      .hero-card {
        padding: 22px;
      }

      section {
        padding: 56px 0;
      }
    }

.page-content {
      padding: 78px 0;
    }

    .page-content-inner {
      max-width: 760px;
      margin: 0 auto;
    }

    .page-content h2 {
      font-size: clamp(1.75rem, 3.5vw, 2.4rem);
      line-height: 1.1;
      margin: 0 0 20px;
      letter-spacing: -.03em;
      color: var(--dark);
    }

    .page-content p {
      color: var(--muted);
      font-size: 1.08rem;
      margin: 0 0 18px;
    }

    .page-content p:last-of-type {
      margin-bottom: 0;
    }

    .service-offered {
      margin-top: 2.75rem;
      padding-top: 2.25rem;
      border-top: 1px solid #e8eef6;
    }

    .service-offered h2 {
      font-size: clamp(1.35rem, 2.5vw, 1.75rem);
      margin-bottom: 1.25rem;
    }

    .service-offered-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .service-offered-list li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 14px 16px;
      background: var(--light);
      border: 1px solid #e8eef6;
      border-radius: var(--radius);
      font-weight: 600;
      color: var(--dark);
      font-size: .95rem;
      line-height: 1.4;
      box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
    }

    .service-offered-list li::before {
      content: "";
      flex-shrink: 0;
      width: 22px;
      height: 22px;
      margin-top: 1px;
      border-radius: 50%;
      background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/12px no-repeat;
    }

    @media (max-width: 600px) {
      .service-offered-list {
        grid-template-columns: 1fr;
      }
    }

    .breadcrumb {
      font-size: .92rem;
      margin-bottom: 18px;
      color: #eaf3ff;
      opacity: .9;
    }

    .breadcrumb a {
      text-decoration: underline;
      text-underline-offset: 2px;
    }

.hero p.hero-lead {
  color: #dedede;
}

.form-submit--brand {
  background-color: rgb(18 63 122);
}

#areas {
  padding-bottom: 3em;
}

.local-map {
  margin-top: 3em;
}

.local-map img {
  margin: auto;
}
