:root {
  --orange: #f57c1f;
  --orange-dark: #c95509;
  --navy: #071936;
  --navy-2: #0d2448;
  --blue: #00a8ff;
  --charcoal: #15171b;
  --muted: #5d6675;
  --line: #dfe6ee;
  --soft: #f5f8fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(7, 25, 54, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

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

.narrow {
  max-width: 820px;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--navy);
  background: var(--white);
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(7, 25, 54, 0.08);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(7, 25, 54, 0.12);
}

.nav-wrap {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 184px;
}

.brand img {
  width: 184px;
  height: 86px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:not(.btn):hover {
  color: var(--orange-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span:not(.sr-only) {
  width: 21px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.section {
  padding: 92px 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 168, 255, 0.12), transparent 34%),
    linear-gradient(180deg, var(--navy), var(--navy-2));
}

.angled {
  position: relative;
  overflow: hidden;
}

.angled::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 43%, rgba(245, 124, 31, 0.11) 43% 44%, transparent 44% 100%);
  pointer-events: none;
}

.hero {
  position: relative;
  padding: 78px 0 28px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 18px;
  background: linear-gradient(135deg, var(--orange) 0 26%, transparent 26% 31%, var(--blue) 31% 45%, transparent 45%);
  opacity: 0.9;
}

.hero-grid,
.split,
.area-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.split-copy h2,
.area-grid h2,
.contact-card h2,
.policy-card h1 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
  color: inherit;
}

.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(2.7rem, 8vw, 5.8rem);
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  color: var(--white);
  background: var(--orange);
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

.btn-secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.62);
}

.section:not(.section-dark) .btn-secondary,
.policy-card .btn-secondary {
  color: var(--navy);
  border-color: var(--line);
}

.btn-whatsapp {
  background: #128c7e;
  border-color: #128c7e;
}

.btn-small {
  min-height: 42px;
  padding: 9px 15px;
  color: var(--white);
}

.hero-media {
  position: relative;
  min-height: 520px;
}

.hero-media img,
.split-media img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media img {
  aspect-ratio: 4 / 5;
  object-position: center 18%;
}

.spark-line {
  position: absolute;
  right: -16px;
  bottom: 30px;
  width: 180px;
  height: 88px;
  clip-path: polygon(0 42%, 43% 42%, 34% 0, 100% 58%, 55% 58%, 68% 100%);
  background: linear-gradient(135deg, var(--orange), var(--blue));
  opacity: 0.92;
}

.trust-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 44px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
}

.trust-strip span {
  padding: 18px;
  text-align: center;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading h2,
.split-copy h2,
.area-grid h2,
.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  color: var(--navy);
}

.section-heading p,
.split-copy p,
.area-grid p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-heading h2,
.section-dark .section-heading p {
  color: var(--white);
}

.service-grid,
.benefit-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.benefit,
.contact-card,
.enquiry-form,
.policy-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(7, 25, 54, 0.07);
}

.service-card {
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 124, 31, 0.55);
}

.service-card h3,
.process-list h3 {
  margin: 16px 0 8px;
  color: var(--navy);
  line-height: 1.18;
}

.service-card p,
.process-list p,
.benefit span,
.contact-list span,
.contact-list a {
  margin: 0;
  color: var(--muted);
}

.service-icon {
  position: relative;
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  background: #eaf7ff;
}

.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.service-icon.bolt::before,
.service-icon.plug::before,
.service-icon.maintain::before {
  width: 14px;
  height: 28px;
  background: var(--orange);
  clip-path: polygon(45% 0, 100% 0, 65% 42%, 100% 42%, 22% 100%, 44% 55%, 0 55%);
}

.service-icon.light::before {
  width: 18px;
  height: 18px;
  border-radius: 50% 50% 45% 45%;
  border: 3px solid var(--orange);
  top: 8px;
}

.service-icon.light::after {
  width: 16px;
  height: 7px;
  background: var(--navy);
  bottom: 8px;
  border-radius: 0 0 4px 4px;
}

.service-icon.socket::before,
.service-icon.panel::before,
.service-icon.house::before,
.service-icon.shop::before {
  width: 24px;
  height: 22px;
  border: 3px solid var(--orange);
  border-radius: 4px;
}

.service-icon.socket::after {
  width: 12px;
  height: 3px;
  background: var(--navy);
  box-shadow: 0 8px 0 var(--navy);
}

.service-icon.search::before {
  width: 17px;
  height: 17px;
  border: 3px solid var(--orange);
  border-radius: 50%;
  top: 8px;
  left: 9px;
}

.service-icon.search::after {
  width: 14px;
  height: 4px;
  background: var(--navy);
  transform: rotate(45deg);
  right: 7px;
  bottom: 9px;
}

.service-icon.wire::before,
.service-icon.tool::before,
.service-icon.outdoor::before {
  width: 27px;
  height: 14px;
  border: 3px solid var(--orange);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 12px 0 0;
}

.split-media img {
  aspect-ratio: 5 / 6;
  object-position: center;
}

.text-link {
  color: var(--orange-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.benefit {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.benefit strong {
  display: block;
  margin-bottom: 7px;
  color: var(--white);
  font-size: 1.08rem;
}

.benefit span {
  color: rgba(255, 255, 255, 0.78);
}

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  padding: 24px;
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.process-list li::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -18px;
  width: 18px;
  height: 3px;
  background: var(--blue);
}

.process-list li:last-child::after {
  display: none;
}

.process-list span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-weight: 800;
}

.address-line {
  font-weight: 800;
  color: var(--navy) !important;
}

.map-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eaf7ff, #ffffff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 25, 54, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 25, 54, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 68px -30px auto;
  height: 96px;
  transform: rotate(-12deg);
  background: rgba(0, 168, 255, 0.25);
}

.map-card::after {
  content: "";
  position: absolute;
  left: -20px;
  right: 70px;
  bottom: 82px;
  height: 70px;
  transform: rotate(12deg);
  background: rgba(245, 124, 31, 0.22);
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  color: var(--navy);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
  font-weight: 800;
}

.map-pin span {
  width: 18px;
  height: 18px;
  background: var(--orange);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

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

.gallery-item {
  position: relative;
  min-height: 240px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.gallery-item:hover img {
  opacity: 0.82;
  transform: scale(1.04);
}

.gallery-item span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 11px;
  color: var(--white);
  background: rgba(7, 25, 54, 0.82);
  border-left: 4px solid var(--orange);
  border-radius: 4px;
  text-align: left;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

summary {
  padding: 18px 20px;
  color: var(--navy);
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(245, 124, 31, 0.09), transparent 30%),
    var(--navy);
}

.contact-grid {
  align-items: start;
}

.contact-card,
.enquiry-form {
  padding: clamp(24px, 4vw, 36px);
}

.contact-card h2 {
  color: var(--navy);
}

.contact-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 2px;
}

.contact-list strong {
  color: var(--navy);
}

.contact-list a {
  text-decoration: none;
}

.enquiry-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-row.full,
.full {
  grid-column: 1 / -1;
}

label,
legend {
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--charcoal);
  border: 1px solid #cbd6e2;
  border-radius: var(--radius);
  background: var(--white);
}

textarea {
  resize: vertical;
}

.choice,
.consent {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-right: 14px;
  color: var(--muted);
  font-weight: 700;
}

.choice input,
.consent input {
  width: auto;
}

.site-footer {
  padding: 42px 0 92px;
  color: rgba(255, 255, 255, 0.76);
  background: #050f22;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
}

.site-footer img {
  width: 190px;
  height: 125px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}

.site-footer p {
  margin: 0 0 5px;
}

.site-footer nav,
.site-footer .footer-grid > div:last-child {
  display: grid;
  gap: 8px;
  align-content: start;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

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

.footer-bottom {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.mobile-contact-bar {
  position: fixed;
  z-index: 90;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-contact-bar a {
  min-height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--orange);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.mobile-contact-bar a:last-child {
  background: #128c7e;
}

.lightbox {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 52px 18px 18px;
  background: rgba(3, 10, 23, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 86vh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--orange);
  border: 0;
  border-radius: var(--radius);
  font-size: 1.8rem;
  cursor: pointer;
}

.policy-page {
  min-height: 100vh;
  padding: 48px 0;
  background: var(--soft);
}

.policy-card {
  padding: clamp(24px, 5vw, 52px);
}

.policy-card h1 {
  margin-top: 20px;
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.policy-card h2 {
  margin: 28px 0 8px;
  color: var(--navy);
}

.success-card img {
  width: 150px;
  height: 74px;
  object-fit: contain;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 82px;
    display: grid;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-nav .btn {
    margin-top: 8px;
  }

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

  .hero-media {
    min-height: 420px;
  }

  .trust-strip,
  .service-grid,
  .benefit-grid,
  .gallery-grid,
  .process-list,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list li::after {
    display: none;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .section {
    padding: 66px 0;
  }

  .hero {
    padding-top: 52px;
  }

  .brand,
  .brand img {
    width: 154px;
  }

  .brand img {
    height: 72px;
  }

  .hero-copy h1 {
    font-size: clamp(2.45rem, 14vw, 3.65rem);
  }

  .hero-media {
    min-height: 360px;
  }

  .spark-line {
    width: 130px;
    height: 64px;
    right: -6px;
  }

  .trust-strip,
  .service-grid,
  .benefit-grid,
  .gallery-grid,
  .process-list,
  .footer-grid,
  .enquiry-form {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    text-align: left;
  }

  .gallery-item {
    min-height: 220px;
  }

  .footer-grid {
    gap: 22px;
  }

  .mobile-contact-bar {
    display: grid;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
