
    /* =========================================================
   MAX ELECTRICAL SERVICES — CORE STYLESHEET
   ========================================================= */

    :root {
      --primary: #E3212D;
      --primary-dim: #a5171f;
      --bg: #0B0B0B;
      --bg-soft: #101010;
      --secondary: #181818;
      --gray: #8A8A8A;
      --white: #FFFFFF;
      --border: rgba(255, 255, 255, .08);
      --border-strong: rgba(255, 255, 255, .14);

      --font: 'Poppins', sans-serif;
      --container: 1440px;

      --ease: cubic-bezier(.16, .84, .44, 1);
      --dur: .6s;
    }

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

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      background: var(--bg);
      color: var(--white);
      font-family: var(--font);
      font-weight: 400;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

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

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

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

    button {
      font-family: var(--font);
      cursor: pointer;
      border: none;
      background: none;
      color: inherit;
    }

    input,
    textarea,
    select {
      font-family: var(--font);
    }

    :focus-visible {
      outline: 2px solid var(--primary);
      outline-offset: 3px;
    }

    .container {
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 40px;
    }

    @media (prefers-reduced-motion: reduce) {
      * {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
      }
    }

    /* ---------- typography ---------- */
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--primary);
      margin: 0 0 18px;
    }

    .eyebrow__dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--primary);
      box-shadow: 0 0 0 4px rgba(227, 33, 45, .18);
    }

    .eyebrow--center {
      display: flex;
      justify-content: center;
    }

    .eyebrow--onblack {
      color: var(--primary);
    }

    .section-title {
      font-size: clamp(30px, 4vw, 46px);
      font-weight: 700;
      line-height: 1.15;
      letter-spacing: -.01em;
      margin: 0 0 20px;
    }

    .section-title--center {
      text-align: center;
    }

    .section-desc {
      color: var(--gray);
      text-align: center;
      max-width: 560px;
      margin: -8px auto 0;
      font-size: 16px;
    }

    .text-accent {
      color: var(--primary);
    }

    .section-head {
      margin-bottom: 60px;
    }

    /* ---------- buttons ---------- */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 16px 30px;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: .03em;
      border-radius: 6px;
      transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s, color .3s;
      white-space: nowrap;
    }

    .btn--primary {
      background: var(--primary);
      color: var(--white);
      box-shadow: 0 0 0 0 rgba(227, 33, 45, .5);
    }

    .btn--primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 14px 30px -10px rgba(227, 33, 45, .55);
    }

    .btn--ghost {
      background: transparent;
      color: var(--white);
      border: 1px solid var(--border-strong);
    }

    .btn--ghost:hover {
      border-color: var(--primary);
      background: rgba(227, 33, 45, .08);
      transform: translateY(-3px);
    }

    .btn--call {
      background: var(--primary);
      color: var(--white);
      padding: 11px 20px;
      font-size: 13px;
      border-radius: 6px;
    }

    .btn--call:hover {
      background: var(--primary-dim);
    }

    .btn--block {
      width: 100%;
    }

    /* =========================================================
   HEADER
   ========================================================= */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      padding: 22px 0;
      transition: padding .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
      border-bottom: 1px solid transparent;
    }

    .header.is-scrolled {
      padding: 14px 0;
      background: rgba(11, 11, 11, .72);
      backdrop-filter: blur(16px) saturate(140%);
      -webkit-backdrop-filter: blur(16px) saturate(140%);
      border-bottom-color: var(--border);
    }

    .header__inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .logo__mark {
      width: 38px;
      height: 38px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(145deg, var(--primary), #7d1319);
    }

    .logo__mark svg {
      fill: #fff;
    }

    .logo__text {
      display: flex;
      flex-direction: column;
      line-height: 1.05;
      font-weight: 800;
      letter-spacing: .04em;
      font-size: 15px;
    }

    .logo__text em {
      font-style: normal;
      font-weight: 800;
    }

    .logo__text b {
      font-weight: 400;
      color: var(--primary);
      font-size: 10px;
      letter-spacing: .28em;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 34px;
    }

    .nav__link {
      position: relative;
      font-size: 14px;
      font-weight: 500;
      color: rgba(255, 255, 255, .78);
      transition: color .25s;
    }

    .nav__link::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -8px;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width .3s var(--ease);
    }

    .nav__link:hover,
    .nav__link.active {
      color: var(--white);
    }

    .nav__link:hover::after,
    .nav__link.active::after {
      width: 100%;
    }

    .header__actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .nav-toggle {
      display: none;
      padding: 6px;
    }

    /* =========================================================
   HERO
   ========================================================= */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding: 150px 0 90px;
      overflow: hidden;
      background:
        radial-gradient(80% 60% at 82% 8%, rgba(227, 33, 45, .10), transparent 60%),
        radial-gradient(60% 50% at 10% 100%, rgba(227, 33, 45, .06), transparent 60%),
        var(--bg);
    }

    .hero__grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
      background-size: 64px 64px;
      mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 90%);
    }

    .hero__trace {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
    }

    .trace-path {
      fill: none;
      stroke: rgba(227, 33, 45, .28);
      stroke-width: 1.5;
      stroke-dasharray: 6 6;
    }

    .trace-path--delay {
      stroke: rgba(255, 255, 255, .08);
    }

    .trace-dot {
      fill: var(--primary);
      filter: drop-shadow(0 0 6px rgba(227, 33, 45, .9));
    }

    .trace-dot--b {
      fill: rgba(255, 255, 255, .6);
      filter: none;
    }

    .hero__inner {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1fr .92fr;
      gap: 70px;
      align-items: center;
    }

    .hero__title {
      font-size: clamp(40px, 5.4vw, 68px);
      font-weight: 800;
      line-height: 1.06;
      letter-spacing: -.02em;
      margin: 0 0 24px;
    }

    .hero__desc {
      color: var(--gray);
      font-size: 17px;
      max-width: 520px;
      margin: 0 0 38px;
    }

    .hero__cta {
      display: flex;
      gap: 16px;
      margin-bottom: 46px;
      flex-wrap: wrap;
    }

    .hero__badges {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .hero__badges li {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 14px;
      font-weight: 500;
      color: rgba(255, 255, 255, .85);
    }

    .hero__badges svg {
      fill: none;
      stroke: var(--primary);
      stroke-width: 1.8;
      flex: none;
    }

    .hero__visual {
      position: relative;
    }

    .hero__frame {
      position: relative;
    }

    .hero__frame-glow {
      position: absolute;
      inset: -2px;
      border-radius: 26px;
      box-shadow: 0 0 60px 6px rgba(227, 33, 45, .22), inset 0 0 40px rgba(227, 33, 45, .05);
      pointer-events: none;
      z-index: -1;
      animation: glow-pulse 4s ease-in-out infinite;
    }

    @keyframes glow-pulse {

      0%,
      100% {
        box-shadow: 0 0 50px 4px rgba(227, 33, 45, .18), inset 0 0 30px rgba(227, 33, 45, .04);
      }

      50% {
        box-shadow: 0 0 78px 10px rgba(227, 33, 45, .32), inset 0 0 50px rgba(227, 33, 45, .08);
      }
    }

    .slider {
      position: relative;
      border-radius: 24px;
      overflow: hidden;
      border: 1px solid rgba(227, 33, 45, .35);
      background: var(--secondary);
      aspect-ratio: 640/760;
      max-width: 460px;
      margin-left: auto;
      box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
    }

    .slider__track {
      position: relative;
      width: 100%;
      height: 100%;
    }

    .slider__slide {
      position: absolute;
      inset: 0;
      margin: 0;
      opacity: 0;
      transform: scale(1.04);
      transition: opacity 1s var(--ease), transform 1.2s var(--ease);
    }

    .slider__slide.is-active {
      opacity: 1;
      transform: scale(1);
    }

    .slider__slide .art {
      width: 100%;
      height: 100%;
    }

    .slider__slide figcaption {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 22px 26px 26px;
      background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent);
      font-size: 14px;
      font-weight: 600;
      letter-spacing: .02em;
    }

    .slider__dots {
      position: absolute;
      top: 22px;
      right: 22px;
      display: flex;
      gap: 7px;
      z-index: 3;
    }

    .slider__dots span {
      width: 20px;
      height: 3px;
      border-radius: 2px;
      background: rgba(255, 255, 255, .28);
      transition: background .3s, width .3s;
    }

    .slider__dots span.is-active {
      background: var(--primary);
      width: 32px;
    }

    .hero__stat-chip {
      position: absolute;
      left: -36px;
      bottom: 32px;
      background: rgba(20, 20, 20, .85);
      backdrop-filter: blur(14px);
      border: 1px solid var(--border-strong);
      border-radius: 16px;
      padding: 20px 24px;
      display: flex;
      align-items: baseline;
      gap: 2px;
      flex-wrap: wrap;
      box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
    }

    .hero__stat-chip small {
      flex-basis: 100%;
      color: var(--gray);
      font-size: 12px;
      margin-top: 4px;
      letter-spacing: .03em;
    }

    .hero__stat-num {
      font-size: 34px;
      font-weight: 800;
      color: var(--primary);
    }

    .hero__stat-chip span:nth-child(2) {
      font-size: 22px;
      font-weight: 700;
      color: var(--primary);
    }

    /* =========================================================
   HIGHLIGHT CARDS
   ========================================================= */
    .highlight {
      padding: 0 0 120px;
      margin-top: -40px;
      position: relative;
      z-index: 3;
    }

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

    .hcard {
      position: relative;
      background: linear-gradient(165deg, var(--secondary), #101010);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 38px 34px 34px;
      transition: transform .45s var(--ease), border-color .35s, background .35s;
    }

    .hcard:hover {
      transform: translateY(-8px);
      border-color: rgba(227, 33, 45, .4);
      background: linear-gradient(165deg, #1c1c1c, #101010);
    }

    .hcard__arrow {
      position: absolute;
      top: 26px;
      right: 26px;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--border-strong);
      transition: background .3s, border-color .3s, transform .4s var(--ease);
    }

    .hcard__arrow svg {
      fill: none;
      stroke: var(--white);
      stroke-width: 1.8;
    }

    .hcard:hover .hcard__arrow {
      background: var(--primary);
      border-color: var(--primary);
      transform: rotate(45deg);
    }

    .hcard__num {
      display: block;
      font-size: 15px;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 26px;
      letter-spacing: .05em;
    }

    .hcard h3 {
      font-size: 23px;
      font-weight: 700;
      margin: 0 0 10px;
    }

    .hcard p {
      color: var(--gray);
      margin: 0;
      font-size: 14.5px;
    }

    /* =========================================================
   ABOUT
   ========================================================= */
    .about {
      padding: 60px 0 130px;
    }

    .about__grid {
      display: grid;
      grid-template-columns: .85fr 1fr;
      gap: 90px;
      align-items: center;
    }

    .about__visual {
      position: relative;
    }

    .about__art {
      border-radius: 18px;
      width: 100%;
    }

    .about__badge {
      position: absolute;
      left: -24px;
      bottom: -24px;
      background: var(--primary);
      color: #fff;
      border-radius: 14px;
      padding: 16px 22px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 600;
      font-size: 14px;
      box-shadow: 0 20px 40px -14px rgba(227, 33, 45, .6);
    }

    .about__badge svg {
      fill: none;
      stroke: #fff;
      stroke-width: 1.6;
    }

    .about__lead {
      color: var(--gray);
      font-size: 16px;
      margin: 0 0 18px;
    }

    .counters {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
      margin-top: 40px;
      padding-top: 36px;
      border-top: 1px solid var(--border);
    }

    .counter {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 2px;
    }

    .counter__num {
      font-size: 34px;
      font-weight: 800;
      color: var(--white);
    }

    .counter__plus {
      font-size: 22px;
      font-weight: 700;
      color: var(--primary);
    }

    .counter small {
      flex-basis: 100%;
      color: var(--gray);
      font-size: 12.5px;
      margin-top: 6px;
      letter-spacing: .02em;
    }

    /* =========================================================
   MISSION / VISION / VALUES
   ========================================================= */
    .mvv {
      padding: 0 0 130px;
    }

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

    .mvv-card {
      background: var(--secondary);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 38px 32px;
      transition: transform .4s var(--ease), border-color .3s;
    }

    .mvv-card:hover {
      transform: translateY(-6px);
      border-color: var(--border-strong);
    }

    .mvv-card--accent {
      background: linear-gradient(165deg, rgba(227, 33, 45, .14), var(--secondary));
      border-color: rgba(227, 33, 45, .3);
    }

    .mvv-card__icon {
      width: 54px;
      height: 54px;
      border-radius: 14px;
      margin-bottom: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(227, 33, 45, .12);
      color: var(--primary);
    }

    .mvv-card__icon svg {
      fill: none;
      stroke: var(--primary);
      stroke-width: 1.6;
    }

    .mvv-card h3 {
      font-size: 21px;
      font-weight: 700;
      margin: 0 0 12px;
    }

    .mvv-card p {
      color: var(--gray);
      font-size: 14.5px;
      margin: 0;
    }

    /* =========================================================
   SERVICES
   ========================================================= */
    .services {
      padding: 0 0 130px;
    }

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

    .scard {
      background: var(--secondary);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 30px 26px;
      transition: transform .4s var(--ease), border-color .3s, background .3s;
    }

    .scard svg {
      fill: none;
      stroke: var(--primary);
      stroke-width: 1.6;
      margin-bottom: 20px;
    }

    .scard h3 {
      font-size: 16.5px;
      font-weight: 600;
      margin: 0 0 8px;
    }

    .scard p {
      color: var(--gray);
      font-size: 13.5px;
      margin: 0;
      line-height: 1.55;
    }

    .scard:hover {
      transform: translateY(-6px);
      border-color: rgba(227, 33, 45, .35);
      background: #1c1c1c;
    }

    /* =========================================================
   CAPABILITIES GALLERY
   ========================================================= */
    .capabilities {
      padding: 0 0 130px;
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .gallery__item {
      position: relative;
      margin: 0;
      border-radius: 16px;
      overflow: hidden;
      aspect-ratio: 500/620;
    }

    .gallery__art {
      width: 100%;
      height: 100%;
      transition: transform .7s var(--ease);
    }

    .gallery__item:hover .gallery__art {
      transform: scale(1.08);
    }

    .gallery__item figcaption {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: flex-end;
      padding: 24px;
      background: linear-gradient(0deg, rgba(0, 0, 0, .82), transparent 55%);
    }

    .gallery__item h4 {
      font-size: 16px;
      font-weight: 600;
      margin: 0;
    }

    /* =========================================================
   WORK PROCESS TIMELINE
   ========================================================= */
    .process {
      padding: 0 0 130px;
    }

    .timeline {
      position: relative;
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 20px;
      padding-top: 10px;
    }

    .timeline__line {
      position: absolute;
      top: 24px;
      left: 10%;
      right: 10%;
      height: 2px;
      background: var(--border);
    }

    .timeline__progress {
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      width: 0%;
      background: var(--primary);
      transition: width 1.6s var(--ease);
    }

    .timeline__step {
      text-align: center;
      position: relative;
      padding-top: 64px;
    }

    .timeline__node {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: var(--secondary);
      border: 2px solid var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 16px;
      z-index: 2;
    }

    .timeline__step h4 {
      font-size: 16px;
      font-weight: 600;
      margin: 0 0 8px;
    }

    .timeline__step p {
      color: var(--gray);
      font-size: 13px;
      margin: 0;
      padding: 0 8px;
    }

    /* =========================================================
   INDUSTRIES
   ========================================================= */
    .industries {
      padding: 0 0 130px;
    }

    .industries__grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .ind-card {
      background: var(--secondary);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 30px 24px;
      transition: transform .35s var(--ease), border-color .3s, background .3s;
    }

    .ind-card span {
      display: block;
      font-size: 12px;
      font-weight: 700;
      color: var(--primary);
      letter-spacing: .1em;
      margin-bottom: 14px;
    }

    .ind-card h4 {
      margin: 0;
      font-size: 17px;
      font-weight: 600;
    }

    .ind-card:hover {
      transform: translateY(-5px);
      border-color: rgba(227, 33, 45, .35);
      background: #1c1c1c;
    }

    /* =========================================================
   PROJECTS
   ========================================================= */
    .projects {
      padding: 0 0 130px;
    }

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

    .pcard {
      position: relative;
      margin: 0;
      border-radius: 16px;
      overflow: hidden;
      aspect-ratio: 500/400;
    }

    .pcard__media svg {
      width: 100%;
      height: 100%;
      transition: transform .7s var(--ease);
    }

    .pcard:hover .pcard__media svg {
      transform: scale(1.1);
    }

    .pcard__overlay {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      gap: 6px;
      padding: 24px;
      background: linear-gradient(0deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .1) 60%);
    }

    .pcard__cat {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--primary);
    }

    .pcard__overlay h4 {
      margin: 0;
      font-size: 18px;
      font-weight: 600;
    }

    /* =========================================================
   SAFETY
   ========================================================= */
    .safety {
      position: relative;
      padding: 150px 0;
      overflow: hidden;
      background: #000;
    }

    .safety__bg {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(50% 60% at 50% 0%, rgba(227, 33, 45, .14), transparent 70%);
    }

    .safety__inner {
      position: relative;
      text-align: center;
    }

    .safety__title {
      margin: 0 0 26px;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .safety__title span {
      font-size: clamp(34px, 7vw, 84px);
      font-weight: 800;
      letter-spacing: -.02em;
      line-height: 1.02;
    }

    .safety__title span:nth-child(2) {
      color: var(--primary);
    }

    .safety__desc {
      color: var(--gray);
      max-width: 560px;
      margin: 0 auto;
      font-size: 16px;
    }

    /* =========================================================
   STATISTICS
   ========================================================= */
    .stats {
      padding: 110px 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .stats__grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      text-align: center;
    }

    .stat__num {
      font-size: clamp(38px, 4.4vw, 56px);
      font-weight: 800;
      color: var(--white);
    }

    .stat__suffix {
      font-size: clamp(24px, 2.6vw, 34px);
      font-weight: 700;
      color: var(--primary);
    }

    .stat p {
      margin: 10px 0 0;
      color: var(--gray);
      font-size: 14px;
      letter-spacing: .02em;
    }

    /* =========================================================
   TESTIMONIALS
   ========================================================= */
    .testimonials {
      padding: 130px 0;
    }

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

    .testi-card {
      background: var(--secondary);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 34px 30px;
      transition: transform .4s var(--ease), border-color .3s;
    }

    .testi-card:hover {
      transform: translateY(-6px);
      border-color: var(--border-strong);
    }

    .testi-card__stars {
      display: flex;
      gap: 4px;
      color: var(--primary);
      margin-bottom: 18px;
    }

    .testi-card p {
      color: rgba(255, 255, 255, .85);
      font-size: 14.5px;
      margin: 0 0 24px;
      font-style: italic;
    }

    .testi-card__author b {
      display: block;
      font-size: 14.5px;
      font-weight: 600;
    }

    .testi-card__author small {
      color: var(--gray);
      font-size: 12.5px;
    }

    /* =========================================================
   CONTACT
   ========================================================= */
    .contact {
      padding: 0 0 130px;
    }

    .contact__grid {
      display: grid;
      grid-template-columns: .9fr 1.1fr;
      gap: 80px;
    }

    .contact__lead {
      color: var(--gray);
      font-size: 15.5px;
      margin: 0 0 34px;
    }

    .contact__list {
      display: flex;
      flex-direction: column;
      gap: 20px;
      margin-bottom: 36px;
    }

    .contact__list li {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .contact__icon {
      width: 42px;
      height: 42px;
      border-radius: 10px;
      flex: none;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(227, 33, 45, .12);
    }

    .contact__icon svg {
      fill: none;
      stroke: var(--primary);
      stroke-width: 1.7;
    }

    .contact__list small {
      display: block;
      color: var(--gray);
      font-size: 11.5px;
      letter-spacing: .05em;
      text-transform: uppercase;
      margin-bottom: 2px;
    }

    .contact__list a,
    .contact__list span {
      font-weight: 600;
      font-size: 15px;
    }

    .contact__map {
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid var(--border);
      height: 220px;
    }

    .contact__map iframe {
      width: 100%;
      height: 100%;
      border: 0;
      filter: grayscale(.4) invert(.92) contrast(.86);
    }

    .contact__form {
      background: var(--secondary);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 44px;
    }

    .contact__form h3 {
      margin: 0 0 26px;
      font-size: 21px;
      font-weight: 700;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
    }

    .field {
      margin-bottom: 18px;
    }

    .field label {
      display: block;
      font-size: 12.5px;
      font-weight: 600;
      color: var(--gray);
      margin-bottom: 8px;
      letter-spacing: .03em;
    }

    .field input,
    .field select,
    .field textarea {
      width: 100%;
      background: #101010;
      border: 1px solid var(--border-strong);
      border-radius: 8px;
      padding: 13px 15px;
      color: var(--white);
      font-size: 14px;
      transition: border-color .25s, background .25s;
      resize: vertical;
    }

    .field input:focus,
    .field select:focus,
    .field textarea:focus {
      border-color: var(--primary);
      background: #0d0d0d;
    }

    .form-note {
      margin: 14px 0 0;
      font-size: 13px;
      color: var(--primary);
      min-height: 18px;
    }

    /* =========================================================
   FOOTER
   ========================================================= */
    .footer {
      position: relative;
      padding-top: 90px;
      background: #080808;
      border-top: 1px solid var(--border);
      overflow: hidden;
    }

    .footer__trace {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--primary), transparent);
      opacity: .6;
    }

    .footer__top {
      display: grid;
      grid-template-columns: 1.4fr .8fr .8fr .9fr .9fr;
      gap: 40px;
      padding-bottom: 60px;
      border-bottom: 1px solid var(--border);
    }

    .footer__brand p {
      color: var(--gray);
      font-size: 14px;
      margin: 18px 0 22px;
      max-width: 280px;
    }

    .footer__social {
      display: flex;
      gap: 10px;
    }

    .footer__social a {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      border: 1px solid var(--border-strong);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 700;
      transition: background .3s, border-color .3s;
    }

    .footer__social a:hover {
      background: var(--primary);
      border-color: var(--primary);
    }

    .footer__col h5 {
      font-size: 13px;
      letter-spacing: .08em;
      text-transform: uppercase;
      margin: 0 0 20px;
      color: var(--white);
    }

    .footer__col a,
    .footer__col span {
      display: block;
      color: var(--gray);
      font-size: 14px;
      margin-bottom: 12px;
      transition: color .25s;
    }

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

    .footer__newsletter p {
      color: var(--gray);
      font-size: 13px;
      margin: 0 0 16px;
    }

    .footer__newsletter form {
      display: flex;
      gap: 8px;
    }

    .footer__newsletter input {
      flex: 1;
      background: #101010;
      border: 1px solid var(--border-strong);
      border-radius: 8px;
      padding: 11px 13px;
      color: var(--white);
      font-size: 13px;
      min-width: 0;
    }

    .footer__newsletter button {
      width: 40px;
      height: 40px;
      flex: none;
      border-radius: 8px;
      background: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .footer__newsletter button svg {
      fill: none;
      stroke: #fff;
      stroke-width: 2;
    }

    .footer__bottom {
      display: flex;
      justify-content: space-between;
      padding: 26px 0;
      color: var(--gray);
      font-size: 12.5px;
    }

    /* =========================================================
   FLOATING BUTTONS
   ========================================================= */
    .fab {
      position: fixed;
      right: 26px;
      z-index: 90;
      width: 54px;
      height: 54px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6);
      transition: transform .3s var(--ease), opacity .3s;
    }

    .fab--wa {
      bottom: 96px;
      background: #20b858;
      color: #fff;
    }

    .fab--wa:hover {
      transform: translateY(-4px) scale(1.05);
    }

    .fab--top {
      bottom: 26px;
      background: var(--secondary);
      border: 1px solid var(--border-strong);
      color: #fff;
      opacity: 0;
      pointer-events: none;
      transform: translateY(10px);
    }

    .fab--top.is-visible {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }

    .fab--top svg {
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
    }

    .fab--top:hover {
      border-color: var(--primary);
      color: var(--primary);
    }

    /* =========================================================
   LOADER
   ========================================================= */
    .loader {
      position: fixed;
      inset: 0;
      z-index: 999;
      background: var(--bg);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 22px;
      transition: opacity .6s var(--ease), visibility .6s var(--ease);
    }

    .loader.is-hidden {
      opacity: 0;
      visibility: hidden;
    }

    .loader-mark {
      animation: pulse-scale 1.4s ease-in-out infinite;
    }

    @keyframes pulse-scale {

      0%,
      100% {
        transform: scale(1);
        opacity: 1;
      }

      50% {
        transform: scale(1.15);
        opacity: .7;
      }
    }

    .loader-bar {
      width: 160px;
      height: 3px;
      background: rgba(255, 255, 255, .1);
      border-radius: 3px;
      overflow: hidden;
    }

    .loader-bar span {
      display: block;
      height: 100%;
      width: 40%;
      background: var(--primary);
      animation: loader-slide 1.2s ease-in-out infinite;
    }

    @keyframes loader-slide {
      0% {
        transform: translateX(-100%);
      }

      100% {
        transform: translateX(350%);
      }
    }

    /* =========================================================
   MOBILE NAV OVERLAY
   ========================================================= */
    .mobile-nav {
      position: fixed;
      inset: 0;
      z-index: 200;
      background: #0b0b0b;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 40px;
      transform: translateX(100%);
      transition: transform .5s var(--ease);
    }

    .mobile-nav.is-open {
      transform: translateX(0);
    }

    .mobile-nav__close {
      position: absolute;
      top: 26px;
      right: 26px;
    }

    .mobile-nav__close svg {
      fill: none;
      stroke: #fff;
      stroke-width: 1.8;
    }

    .mobile-nav nav {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 26px;
    }

    .mobile-nav nav a {
      font-size: 22px;
      font-weight: 600;
    }

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

    /* ---------- AOS override niceties ---------- */
    [data-aos] {
      transition-timing-function: var(--ease) !important;
    }


    /* ===== RESPONSIVE ===== */
    /* =========================================================
   RESPONSIVE — MAX ELECTRICAL SERVICES
   ========================================================= */

    /* ---------- Large desktop / laptop ---------- */
    @media (max-width:1300px) {
      .container {
        padding: 0 32px;
      }

      .hero__inner {
        gap: 50px;
      }

      .footer__top {
        grid-template-columns: 1.3fr .8fr .8fr 1fr;
      }

      .footer__newsletter {
        grid-column: 1 / -1;
        max-width: 340px;
      }
    }

    /* ---------- Tablet landscape ---------- */
    @media (max-width:1080px) {
      .nav {
        display: none;
      }

      .nav-toggle {
        display: flex;
      }

      .btn--call span {
        display: none;
      }

      .btn--call {
        padding: 11px;
        border-radius: 50%;
      }

      .hero {
        padding-top: 130px;
      }

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

      .hero__visual {
        order: -1;
        max-width: 380px;
        margin: 0 auto 20px;
      }

      .hero__content {
        text-align: center;
      }

      .eyebrow {
        justify-content: center;
      }

      .hero__desc {
        margin-left: auto;
        margin-right: auto;
      }

      .hero__cta {
        justify-content: center;
      }

      .hero__badges {
        align-items: center;
      }

      .hero__badges li {
        justify-content: center;
      }

      .hero__stat-chip {
        left: 50%;
        transform: translateX(-50%);
        bottom: -24px;
      }

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

      .about__grid {
        grid-template-columns: 1fr;
        gap: 60px;
      }

      .about__visual {
        max-width: 420px;
        margin: 0 auto;
      }

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

      .services__grid {
        grid-template-columns: repeat(3, 1fr);
      }

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

      .industries__grid {
        grid-template-columns: repeat(3, 1fr);
      }

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

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

      .timeline {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 60px;
      }

      .timeline__line {
        display: none;
      }

      .contact__grid {
        grid-template-columns: 1fr;
        gap: 50px;
      }

      .contact__form {
        padding: 34px;
      }

      .footer__top {
        grid-template-columns: 1fr 1fr;
        row-gap: 44px;
      }

      .footer__brand {
        grid-column: 1 / -1;
      }
    }

    /* ---------- Tablet portrait ---------- */
    @media (max-width:820px) {
      .container {
        padding: 0 24px;
      }

      .hero__title {
        font-size: clamp(34px, 8vw, 50px);
      }

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

      .stats__grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 40px;
      }

      .form-row {
        grid-template-columns: 1fr;
      }
    }

    /* ---------- Mobile ---------- */
    @media (max-width:640px) {
      .container {
        padding: 0 20px;
      }

      .header {
        padding: 16px 0;
      }

      .logo__text {
        font-size: 13px;
      }

      .logo__mark {
        width: 34px;
        height: 34px;
      }

      .hero {
        padding-top: 110px;
        padding-bottom: 70px;
      }

      .hero__title {
        font-size: 36px;
      }

      .hero__desc {
        font-size: 15.5px;
      }

      .hero__cta {
        flex-direction: column;
        width: 100%;
      }

      .hero__cta .btn {
        width: 100%;
      }

      .hero__frame {
        max-width: 280px;
        margin: 0 auto;
      }

      .hero__visual {
        max-width: 280px;
      }

      .hero__stat-chip {
        padding: 14px 18px;
      }

      .hero__stat-num {
        font-size: 26px;
      }

      .highlight {
        padding-bottom: 80px;
      }

      .hcard {
        padding: 30px 24px;
      }

      .about {
        padding: 40px 0 90px;
      }

      .counters {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .mvv,
      .services,
      .capabilities,
      .process,
      .industries,
      .projects {
        padding-bottom: 80px;
      }

      .mvv__grid,
      .services__grid,
      .gallery,
      .industries__grid,
      .projects__grid,
      .testi__grid {
        grid-template-columns: 1fr;
      }

      .section-title {
        font-size: 28px;
      }

      .section-head {
        margin-bottom: 40px;
      }

      .timeline {
        grid-template-columns: 1fr;
        row-gap: 34px;
      }

      .timeline__step {
        padding-top: 60px;
      }

      .safety {
        padding: 100px 0;
      }

      .safety__title span {
        font-size: 34px;
      }

      .stats {
        padding: 70px 0;
      }

      .stats__grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px;
      }

      .testimonials {
        padding: 80px 0;
      }

      .contact {
        padding-bottom: 90px;
      }

      .contact__form {
        padding: 26px;
      }

      .footer {
        padding-top: 60px;
      }

      .footer__top {
        grid-template-columns: 1fr;
        row-gap: 36px;
        padding-bottom: 40px;
      }

      .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
      }

      .fab {
        width: 48px;
        height: 48px;
        right: 16px;
      }

      .fab--wa {
        bottom: 80px;
      }

      .fab--top {
        bottom: 16px;
      }
    }

    .gallery__art {
      width: 100%;
      height: 100%;
      object-fit: cover;
      /* Ensures the image covers the area without distortion */
      display: block;
    }

    .about__visual {
  position: relative;
  /* width: 560px; */
  height: 640px;
}

/* Single Image Container Styling */
.about__single-image {
  position: absolute;
  top: 60px;
  /* left: 60px;
  width: 440px; */
  height: 490px;
  border-radius: 12px;
  background-color: #0b0b0b;
  border: 1px solid #2a2a2a;
  overflow: hidden;
}

.about__single-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

    .pcard__media img.pcard__img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }


    html, body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}


/* Main Section Styling */
.safety {
    position: relative;
    padding: 100px 0; /* Adjust padding as per your design */
    color: #ffffff;   /* Ensures text defaults to white */
    overflow: hidden;
}

/* Background Image with Dark Overlay */
.safety__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Sits behind the content */
    
    /* Combine a semi-transparent dark gradient/overlay with your background image */
    background: linear-gradient(
        rgba(0, 0, 0, 0.6), 
        rgba(0, 0, 0, 0.6)
    ), 
    url('../assests/img/non-negotiable.jpg') center/cover no-repeat;
}

/* Ensure inner content sits above the background overlay */
.safety__inner {
    position: relative;
    z-index: 2; 
}

/* Typography Enhancements for Readability */
.safety__title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3); /* Optional: Adds subtle depth for readability */
}

.safety__desc {
    color: #f1f1f1;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}