:root {
  --blue: #042154;
  --blue-2: #075ca8;
  --cyan: #008bda;
  --green: #2a891e;
  --orange: #f5ab00;
  --pink: #e22460;
  --ink: #102033;
  --muted: #64748b;
  --line: #d8e1ec;
  --bg: #f5f8fc;
  --white: #fff;
  --shadow: 0 22px 70px rgba(4, 33, 84, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; }
.container { width: min(1160px, 92%); margin: 0 auto; }

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(245, 171, 0, .18), transparent 34%),
    radial-gradient(circle at 72% 38%, rgba(0, 139, 218, .16), transparent 30%),
    #fff;
  transition: opacity .55s ease, visibility .55s ease;
}
.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-mark {
  position: relative;
  width: min(430px, 74vw);
  padding: 34px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 28px 90px rgba(4, 33, 84, .16);
  animation: loader-rise .9s cubic-bezier(.2, .8, .2, 1) both;
}
.loader-mark::before {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 25px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--cyan), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  animation: loader-line 1.25s .35s ease both;
}
.loader-mark img {
  display: block;
  width: 100%;
  transform-origin: center;
  animation: loader-logo 1.5s ease both;
}
.loader-mark span {
  position: absolute;
  top: -20%;
  bottom: -20%;
  width: 70px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .86), transparent);
  transform: translateX(-160px) skewX(-18deg);
  animation: loader-shine 1.2s .45s ease both;
}

@keyframes loader-rise {
  from { opacity: 0; transform: translateY(22px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes loader-logo {
  0% { opacity: 0; transform: scale(.9); filter: saturate(.8); }
  45% { opacity: 1; transform: scale(1.035); filter: saturate(1.12); }
  100% { opacity: 1; transform: scale(1); filter: saturate(1); }
}
@keyframes loader-line {
  to { transform: scaleX(1); }
}
@keyframes loader-shine {
  to { transform: translateX(520px) skewX(-18deg); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(4, 33, 84, .09);
  backdrop-filter: blur(14px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}
.brand img {
  display: block;
  width: 188px;
  max-height: 74px;
  object-fit: contain;
}
.menu {
  display: flex;
  align-items: center;
  gap: 26px;
}
.menu a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 800;
}
.menu a.btn {
  color: white;
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  padding: 11px;
}
.menu-btn span {
  display: block;
  height: 3px;
  margin: 4px 0;
  background: white;
  border-radius: 99px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(4, 33, 84, .18);
}
.btn-small { min-height: 42px; padding: 10px 16px; }
.btn-outline {
  color: var(--blue);
  background: white;
  border: 1px solid rgba(4, 33, 84, .18);
  box-shadow: none;
}

.hero {
  overflow: hidden;
  padding: 76px 0 72px;
  background:
    linear-gradient(135deg, rgba(245, 171, 0, .18), transparent 34%),
    linear-gradient(155deg, #fff 0%, #f3f8ff 58%, #eaf5ff 100%);
}
.hero-grid,
.process-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1,
h2,
h3,
p { margin-top: 0; }
h1,
.section h2 {
  color: var(--blue);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  margin-bottom: 18px;
}
.hero p,
.section-title p,
.process p,
.contact-copy p {
  color: var(--muted);
  font-size: 19px;
  max-width: 660px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.hero-media {
  position: relative;
  background: white;
  border: 1px solid rgba(4, 33, 84, .08);
  border-radius: 8px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.hero-media::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 12px;
  background: linear-gradient(var(--orange), var(--cyan), var(--green));
  border-radius: 8px 0 0 8px;
}
.hero-media img {
  display: block;
  width: 100%;
}
.hero-note {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 5px solid var(--orange);
  background: #f6f9fd;
}
.hero-note strong,
.hero-note span { display: block; }
.hero-note span { color: var(--muted); }

.section { padding: 78px 0; }
.section-title {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  min-height: 270px;
  padding: 26px;
  border: 1px solid rgba(4, 33, 84, .08);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 45px rgba(4, 33, 84, .08);
}
.service-card h3 {
  color: var(--blue);
  font-size: 24px;
  margin: 20px 0 10px;
}
.service-card p { color: var(--muted); margin: 0; }
.service-mark {
  display: block;
  width: 128px;
  height: 96px;
  object-fit: contain;
  object-position: left center;
}
.solar-mark { width: 142px; }
.electric-mark { width: 92px; }
.climate-mark { width: 142px; }
.spda-mark { width: 92px; }
}

.process {
  background: linear-gradient(135deg, #061b42, #073a7c);
  color: white;
}
.process .eyebrow { color: var(--orange); }
.process h2 { color: white; }
.process p { color: rgba(255, 255, 255, .78); }
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.steps div {
  min-height: 132px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .09);
}
.steps strong {
  display: block;
  color: var(--orange);
  font-size: 24px;
  margin-bottom: 8px;
}
.steps span { color: rgba(255, 255, 255, .86); }

.contact { background: white; }
.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.contact-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  text-decoration: none;
  background: #f8fbff;
}
.contact-list span {
  color: var(--muted);
  font-weight: 800;
}
.contact-list strong {
  font-size: 20px;
  text-align: right;
  overflow-wrap: anywhere;
}
.qr-box {
  padding: 28px;
  border-radius: 8px;
  border: 1px solid rgba(4, 33, 84, .08);
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}
.qr-box img {
  display: block;
  width: min(330px, 100%);
  margin: 0 auto 16px;
}
.qr-box strong,
.qr-box span { display: block; }
.qr-box strong {
  color: var(--blue);
  font-size: 26px;
}
.qr-box span {
  color: var(--pink);
  font-size: 24px;
  font-weight: 900;
}
.qr-box p {
  max-width: 420px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.footer {
  padding: 26px 0;
  color: white;
  background: #031637;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.footer a { color: white; font-weight: 800; }
.float-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  padding: 14px 18px;
  border-radius: 8px;
  background: #25d366;
  color: white;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 940px) {
  .menu-btn { display: block; }
  .menu {
    display: none;
    position: absolute;
    left: 4%;
    right: 4%;
    top: 84px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid rgba(4, 33, 84, .08);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
  }
  .menu.open { display: flex; }
  .menu a { padding: 14px; }
  .hero-grid,
  .process-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .nav { min-height: 76px; }
  .brand img { width: 146px; }
  .hero { padding: 54px 0; }
  .section { padding: 58px 0; }
  h1,
  .section h2 { font-size: 36px; }
  .service-grid,
  .steps { grid-template-columns: 1fr; }
  .contact-list a {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .contact-list strong { text-align: left; font-size: 18px; }
  .float-whatsapp {
    left: 16px;
    right: 16px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .loader-mark,
  .loader-mark img,
  .loader-mark::before,
  .loader-mark span {
    animation: none;
    transition: none;
  }
}
