:root {
  --navy: #011966;
  --navy-deep: #01124a;
  --cyan: #2fd9ef;
  --cyan-dark: #17b8cd;
  --ink: #16215c;
  --body-blue: #45569c;
  --card-bg: #eef3f9;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ---------- Header ---------- */

.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 76px;
}

.logo img { height: 58px; width: auto; }

.site-nav {
  display: flex;
  gap: 34px;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  transition: color 0.15s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active { color: var(--cyan); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

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

/* ---------- Hero ---------- */

.hero {
  background-image:
    linear-gradient(100deg, rgba(4, 30, 125, 0.7) 0%, rgba(4, 30, 125, 0.32) 50%, rgba(4, 30, 125, 0.08) 100%),
    url('assets/electricity-pylon-in-sunset.jpg');
  background-size: cover;
  background-position: center 30%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr minmax(340px, 430px);
  gap: 70px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
  min-height: calc(100vh - 76px);
}

.hero-copy h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.22;
  margin-bottom: 18px;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 300;
  max-width: 62ch;
  margin-bottom: 26px;
}

.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 14px 30px;
  border-radius: 4px;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.btn:hover, .btn:focus-visible { filter: brightness(1.08); transform: translateY(-1px); }

.btn-cyan { background: var(--cyan); color: var(--white); }

.btn-navy { background: var(--navy); color: var(--white); }

/* ---------- Quote card ---------- */

.quote-card {
  background: rgba(240, 245, 250, 0.82);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 8px;
  padding: 30px 30px 26px;
  box-shadow: 0 18px 50px rgba(4, 12, 60, 0.3);
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.quote-card h2 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quote-card input[type="text"],
.quote-card input[type="email"],
.quote-card input[type="tel"] {
  width: 100%;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid #aebdd6;
  border-radius: 4px;
  padding: 11px 14px;
}

.quote-card input:focus-visible {
  outline: 2px solid var(--cyan-dark);
  outline-offset: 1px;
}

.quote-card ::placeholder { color: #8794b8; }

.file-field {
  font-size: 0.8rem;
  color: var(--body-blue);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.file-field input { font-size: 0.8rem; font-family: inherit; }

.quote-card .btn-navy { width: 100%; margin-top: 4px; }

.form-status {
  font-size: 0.85rem;
  color: var(--navy);
  text-align: center;
  min-height: 1.2em;
  margin: 0;
}

/* ---------- Mission ---------- */

.mission { padding: 90px 0; }

.mission-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.6fr;
  gap: 56px;
  align-items: start;
}

.mission h2 {
  color: var(--navy);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.25;
}

.mission p {
  color: var(--body-blue);
  text-align: justify;
}

/* ---------- Services ---------- */

.services { padding-bottom: 110px; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 285px;
  padding: 26px 28px;
  border-radius: 6px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 16, 60, 0.55) 0%, rgba(7, 16, 60, 0.1) 45%, rgba(7, 16, 60, 0.45) 100%);
  z-index: -1;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(4, 12, 60, 0.28);
}

.service-card h3 {
  color: var(--white);
  font-size: 1.28rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.read-more {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.rm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-size: 0.75rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 60px;
  align-items: center;
  padding-bottom: 48px;
}

.footer-logo img { height: 96px; width: auto; }

.footer-contact { display: flex; flex-direction: column; gap: 4px; }

.footer-contact a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-contact a:hover, .footer-contact a:focus-visible { color: var(--cyan); }

.footer-contact p, .footer-hours p {
  font-size: 0.92rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}

.copyright {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  padding: 18px 24px;
  background: var(--navy-deep);
}

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .mission-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; justify-items: center; }
}

@media (max-width: 760px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
  }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  body.nav-open .site-nav { display: flex; }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; gap: 24px; }
  .field-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .service-card { transition: none; }
}

/* ---------- Inner pages ---------- */

.page-hero {
  background-size: cover;
  background-position: center;
  position: relative;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(1, 20, 90, 0.88) 0%, rgba(1, 20, 90, 0.55) 60%, rgba(1, 20, 90, 0.3) 100%);
  z-index: -1;
}

.page-hero-inner {
  padding-top: 78px;
  padding-bottom: 78px;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 10px;
  text-wrap: balance;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  max-width: 58ch;
}

.content-section { padding: 72px 0; }

.content-section.tint { background: #f4f8fc; }

.content-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}

.content-section h2 {
  color: var(--navy);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.content-section p { color: var(--body-blue); margin-bottom: 14px; max-width: 68ch; }

.checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.checklist li {
  color: var(--body-blue);
  padding-left: 34px;
  position: relative;
}

.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-card {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 28px;
}

.side-card h3 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.steps { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 18px; }

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
  color: var(--body-blue);
}

.steps li strong { color: var(--navy); display: block; font-weight: 600; }

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-band {
  background: var(--navy);
  padding: 56px 0;
  text-align: center;
}

.cta-band h2 { color: var(--white); font-size: 1.5rem; font-weight: 600; margin-bottom: 8px; }

.cta-band p { color: rgba(255, 255, 255, 0.8); font-weight: 300; margin-bottom: 24px; }

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- WhatsApp ---------- */

.btn-whatsapp {
  background: var(--white);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-whatsapp svg { width: 18px; height: 18px; fill: #25d366; }

.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.wa-bubble {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(4, 12, 60, 0.3);
  transition: transform 0.15s ease;
}

.wa-bubble:hover, .wa-bubble:focus-visible { transform: scale(1.07); }

.wa-bubble svg { width: 30px; height: 30px; fill: var(--white); }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }

.contact-list a { color: var(--navy); font-weight: 500; text-decoration: none; }

.contact-list a:hover, .contact-list a:focus-visible { color: var(--cyan-dark); }

.contact-list li { color: var(--body-blue); }

.contact-list .label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  opacity: 0.65;
  margin-bottom: 2px;
}

.quote-card.on-page { background: var(--card-bg); box-shadow: 0 10px 30px rgba(4, 12, 60, 0.12); }

@media (max-width: 920px) {
  .content-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Partner logo carousel ---------- */

.partners { padding: 0 0 90px; overflow: hidden; }

.partners-track {
  display: flex;
  align-items: center;
  gap: 90px;
  width: max-content;
  animation: partners-scroll 40s linear infinite;
}

.partners-track img {
  height: 56px;
  width: auto;
  flex: none;
}

.partners:hover .partners-track { animation-play-state: paused; }

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 40px; }
  .partners-track img:nth-of-type(n+13) { display: none; }
}

.credit-link { color: inherit; text-decoration: none; }

.credit-link:hover, .credit-link:focus-visible { color: var(--cyan); text-decoration: underline; }
