:root {
  --navy: #08162f;
  --navy2: #10254b;
  --blue: #2874ba;
  --red: #ed3237;
  --green: #4aa64c;
  --yellow: #f5b619;
  --white: #fff;
  --ink: #121d35;
  --muted: #647087;
  --line: #dfe5ec;
  --soft: #f4f7fa;
  --radius: 20px;
  --shadow: 0 25px 65px rgba(7, 22, 47, 0.18);
  --container: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Aptos, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
}
.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: -100px;
  left: 15px;
  z-index: 999;
  background: #fff;
  padding: 10px;
}
.skip:focus {
  top: 15px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(15px);
}
.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand img {
  width: 185px;
  height: 74px;
  object-fit: contain;
}
.nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 0.9rem;
  font-weight: 750;
}
.nav > a:not(.button):hover {
  color: var(--blue);
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  margin: 5px;
}
.button {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 0;
  border-radius: 7px;
  background: var(--red);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 13px 28px rgba(237, 50, 55, 0.22);
  transition: 0.2s;
}
.button:hover {
  transform: translateY(-2px);
  background: #d82329;
}
.button.small {
  min-height: 42px;
  padding: 0 17px;
}
.hero {
  min-height: 700px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(
      90deg,
      rgba(5, 16, 38, 0.98) 0%,
      rgba(7, 23, 51, 0.86) 47%,
      rgba(7, 23, 51, 0.23) 100%
    ),
    url("assets/hero-solar.jpg") center/cover;
  position: relative;
}
.hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--red) 0 25%,
    var(--yellow) 25% 50%,
    var(--green) 50% 75%,
    var(--blue) 75%
  );
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.55fr;
  gap: 100px;
  align-items: center;
}
.eyebrow {
  margin: 0;
  color: #78bdf2;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.eyebrow.dark {
  color: var(--blue);
}
h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}
h1,
h2 {
  line-height: 1.07;
  letter-spacing: -0.045em;
}
.hero h1 {
  font-size: clamp(3.7rem, 7vw, 7rem);
  margin: 17px 0 22px;
}
.hero h1 em {
  font-style: normal;
  color: #65b9f8;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 690px;
  font-size: 1.16rem;
  color: #dbe4f2;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: none;
}
.outline:hover {
  background: #fff;
  color: var(--navy);
}
.hero-proof {
  display: flex;
  gap: 30px;
  margin-top: 35px;
  color: #aebcd2;
  font-size: 0.76rem;
}
.hero-proof span {
  max-width: 180px;
}
.hero-proof b {
  display: block;
  color: #fff;
  font-size: 0.9rem;
}
.hero-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(7, 21, 48, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.hero-card > span {
  color: #80bff0;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  font-weight: 900;
}
.hero-card p {
  font-size: 1.5rem;
  font-weight: 850;
  margin: 16px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.hero-card p:before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 12px;
}
.hero-card p:nth-of-type(2):before {
  background: var(--yellow);
}
.hero-card p:nth-of-type(3):before {
  background: var(--green);
}
.hero-card small {
  color: #aebcd2;
}
.stats {
  background: var(--navy);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: #aebbd1;
}
.stats span {
  text-align: center;
  padding: 25px 15px;
  font-size: 0.78rem;
}
.stats span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.stats b {
  display: block;
  color: #fff;
  font-size: 1.2rem;
}
.section {
  padding: 105px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 80px;
  align-items: center;
}
.image-stack {
  position: relative;
  padding-right: 40px;
  padding-bottom: 40px;
}
.image-stack img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: var(--shadow);
}
.image-stack > div {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 22px 25px;
  background: var(--red);
  color: #fff;
}
.image-stack strong,
.image-stack span {
  display: block;
}
.image-stack span {
  font-size: 0.78rem;
}
.about h2,
.section-head h2,
.differences h2,
.contact h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.7rem);
  margin: 14px 0 22px;
}
.about p:not(.eyebrow) {
  color: var(--muted);
}
.checks {
  padding: 0;
  list-style: none;
  margin: 27px 0 0;
  display: grid;
  gap: 10px;
}
.checks li {
  position: relative;
  padding-left: 27px;
  font-weight: 700;
}
.checks li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
}
.services-section {
  background: var(--navy);
  color: #fff;
}
.section-head {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head > p:last-child {
  color: #9eacc1;
}
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.service {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: var(--navy2);
}
.service-image {
  height: 230px;
  background-position: center;
  background-size: cover;
  position: relative;
}
.service-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(8, 22, 47, 0.75));
}
.service-image.electrical {
  background-image: url("assets/electrical.jpg");
}
.service-image.civil {
  background-image: url("assets/civil.jpg");
}
.service-image.gis {
  background: linear-gradient(140deg, #123c69, #1e6a9c);
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 36px 36px;
  transform: perspective(400px) rotateX(20deg) scale(1.15);
}
.map-grid:after {
  content: "SIG";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.service-body {
  padding: 27px;
}
.service-body > span {
  color: #60aae3;
  font-weight: 900;
}
.service h3 {
  font-size: 1.36rem;
  line-height: 1.2;
  margin: 10px 0;
}
.service p {
  color: #9eacc1;
}
.service ul {
  padding-left: 18px;
  color: #d7dfeb;
  font-size: 0.85rem;
}
.service li {
  margin: 5px 0;
}
.projects-section {
  background: #f6f8fb;
}
.dark-head h2 {
  color: var(--navy);
}
.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.project {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  color: #fff;
}
.project.large {
  grid-row: span 2;
  min-height: 798px;
}
.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.67;
  transition: 0.4s transform;
}
.project:hover img {
  transform: scale(1.03);
}
.project > div {
  position: absolute;
  inset: auto 0 0;
  padding: 32px;
  background: linear-gradient(transparent, rgba(5, 14, 32, 0.96) 35%);
}
.project p {
  color: #6dc2ff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
  font-weight: 900;
}
.project h3 {
  font-size: 1.55rem;
  line-height: 1.15;
  margin: 8px 0;
}
.project dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  font-size: 0.78rem;
}
.project dt {
  font-weight: 900;
  color: #75bdf3;
}
.project dd {
  margin: 0;
}
.project span {
  color: #c5d0df;
  font-size: 0.84rem;
}
.differences {
  background: linear-gradient(135deg, #0a1834, #102a54);
  color: #fff;
}
.differences-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 85px;
}
.sticky-copy {
  align-self: start;
  position: sticky;
  top: 130px;
}
.sticky-copy > p:last-child {
  color: #aebbd0;
}
.difference-list article {
  display: flex;
  gap: 24px;
  padding: 27px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}
.difference-list > article > span {
  color: #69b4eb;
  font-size: 0.8rem;
  font-weight: 900;
}
.difference-list h3 {
  margin: 0 0 5px;
  font-size: 1.25rem;
}
.difference-list p {
  margin: 0;
  color: #9eacc1;
}
.contact {
  background: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 65px;
}
.contact-copy > p:not(.eyebrow) {
  color: var(--muted);
}
.contact-data {
  display: grid;
  gap: 15px;
  margin-top: 30px;
}
.contact-data a,
.contact-data span {
  font-weight: 750;
}
.contact-data small {
  display: block;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}
.contact-form {
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form label {
  display: block;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 850;
  color: #46536a;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 13px 14px;
  border: 1px solid #d2dae4;
  border-radius: 7px;
  background: #fff;
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(40, 116, 186, 0.1);
}
.contact-form textarea {
  resize: vertical;
}
.contact-form .button {
  width: 100%;
}
.form-status {
  text-align: center;
  color: var(--blue);
  font-size: 0.8rem;
  min-height: 1.3em;
}
footer {
  padding: 55px 0 22px;
  background: #050d1e;
  color: #9eacc1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.25fr;
  gap: 40px;
}
.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-grid img {
  width: 210px;
  background: #fff;
  padding: 5px;
  border-radius: 4px;
}
.footer-grid p {
  margin: 0;
}
.footer-grid strong {
  color: #fff;
}
.footer-grid a:hover {
  color: #70b9ef;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 35px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.77rem;
}
.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 57px;
  height: 57px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #21c56d;
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow);
}
.reveal {
  opacity: 0;
  transform: translateY(19px);
  transition: 0.7s;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 960px) {
  .menu-toggle {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 82px;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
  }
  .nav.open {
    display: flex;
  }
  .hero-grid,
  .about-grid,
  .differences-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    gap: 35px;
    padding-block: 70px;
  }
  .hero-card {
    max-width: 550px;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .service {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .service-image {
    height: auto;
  }
  .sticky-copy {
    position: static;
  }
  .about-grid {
    gap: 45px;
  }
}
@media (max-width: 650px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }
  .section {
    padding: 75px 0;
  }
  .nav-wrap {
    min-height: 76px;
  }
  .brand img {
    width: 160px;
    height: 65px;
  }
  .nav {
    top: 70px;
  }
  .hero {
    min-height: auto;
  }
  .hero h1 {
    font-size: 3.5rem;
  }
  .hero-proof {
    flex-direction: column;
    gap: 12px;
  }
  .hero-card {
    display: none;
  }
  .stats .container,
  .projects,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
  .stats span + span {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .image-stack {
    padding: 0;
  }
  .image-stack img {
    height: 390px;
  }
  .image-stack > div {
    right: 10px;
    bottom: 10px;
  }
  .service {
    display: block;
  }
  .service-image {
    height: 220px;
  }
  .project.large {
    grid-row: auto;
    min-height: 470px;
  }
  .project {
    min-height: 420px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Dynamic cards */
.dynamic-card {
  --rotate-x: 0deg;
  --rotate-y: 0deg;
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  isolation: isolate;
  transform: perspective(1000px) translateY(var(--base-lift, 0))
    rotateX(var(--rotate-x)) rotateY(var(--rotate-y));
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}
.dynamic-card:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    300px circle at var(--pointer-x) var(--pointer-y),
    rgba(93, 184, 255, 0.19),
    transparent 68%
  );
  transition: opacity 0.25s;
}
.dynamic-card:hover:after {
  opacity: 1;
}
.dynamic-card:hover {
  --base-lift: -7px;
  box-shadow: 0 25px 58px rgba(2, 12, 32, 0.27);
}
.service {
  border-top: 4px solid var(--card-accent, var(--red));
}
.service:nth-child(2) {
  --card-accent: var(--yellow);
}
.service:nth-child(3) {
  --card-accent: var(--green);
}
.service-image {
  overflow: hidden;
}
.service-image:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    120deg,
    transparent 25%,
    rgba(255, 255, 255, 0.18) 47%,
    transparent 68%
  );
  transform: translateX(-120%);
  transition: transform 0.65s;
}
.service:hover .service-image:before {
  transform: translateX(120%);
}
.service-body > span {
  display: inline-flex;
  transition: transform 0.25s;
}
.service:hover .service-body > span {
  transform: translateX(5px);
  color: #fff;
}
.service h3 {
  transition: color 0.25s;
}
.service:hover h3 {
  color: #78c9ff;
}
.project {
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.project:before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 3;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--red),
    var(--yellow),
    var(--green),
    var(--blue)
  );
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.35s;
}
.project:hover:before {
  transform: scaleX(1);
}
.project > div {
  transition: padding 0.3s;
}
.project:hover > div {
  padding-bottom: 39px;
}
.difference-list article {
  border-radius: 12px;
  transition:
    padding 0.25s,
    background-color 0.25s;
}
.difference-list article:hover {
  padding-inline: 18px;
  background: rgba(255, 255, 255, 0.055);
}
.difference-list article > span {
  display: inline-flex;
  transition:
    transform 0.25s,
    color 0.25s;
}
.difference-list article:hover > span {
  transform: translateX(5px);
  color: #fff;
}
.hero-card.dynamic-card:hover {
  --base-lift: -4px;
  border-color: rgba(112, 190, 244, 0.48);
}
@media (hover: none), (pointer: coarse) {
  .dynamic-card {
    will-change: auto;
  }
  .dynamic-card:active {
    transform: scale(0.985);
  }
}
@media (prefers-reduced-motion: reduce) {
  .dynamic-card,
  .dynamic-card:after,
  .dynamic-card * {
    transition: none !important;
  }
  .dynamic-card {
    transform: none !important;
  }
}
