:root {
  --bg: #0A0A0F;
  --text: #ffffff;
  --paper: #ffffff;
  --ink: #111218;
  --amber: #FFB300;
  --electric: #00E5FF;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-edge: rgba(255, 255, 255, 0.24);
  --max: 1180px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Satoshi", "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% -20% auto;
  height: 78vh;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 179, 0, 0.3), transparent 42%),
    radial-gradient(circle at 75% 18%, rgba(0, 229, 255, 0.25), transparent 38%),
    linear-gradient(110deg, #12131d, #09090d 56%, #0d1017);
  filter: saturate(1.1);
  animation: mesh 12s ease-in-out infinite alternate;
}

@keyframes mesh {
  from {
    transform: translate3d(0, -2%, 0) scale(1);
  }
  to {
    transform: translate3d(0, 2%, 0) scale(1.05);
  }
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.11;
}

img {
  max-width: 100%;
  display: block;
}

.shell {
  width: min(100% - 2.2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid rgba(10, 10, 15, 0.12);
}

.nav {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  width: clamp(190px, 24vw, 310px);
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.nav-links a {
  color: #10141e;
  text-decoration: none;
  font-size: 0.93rem;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--electric);
}

.nav-links a.is-active {
  color: #0a6f7c;
  font-weight: 700;
}

.nav-links .cta-mini {
  border: 1px solid rgba(16, 20, 30, 0.28);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(16, 20, 30, 0.3);
  border-radius: 50%;
  background: #ffffff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #111218;
}

.page-hero {
  min-height: 48vh;
  display: grid;
  align-content: end;
  gap: 1rem;
  padding-block: 3.2rem 2.2rem;
}

.page-main {
  display: grid;
  gap: 2.4rem;
}

.feature-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border: 1px solid rgba(17, 18, 24, 0.14);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

main {
  display: grid;
  gap: 4.5rem;
  padding-block: 2rem 1rem;
}

/* Video Fondo */
.video-fondo {
  position: fixed;
  top: 86px;
  left: 0;
  width: 100%;
  height: calc(100vh - 86px);
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 78vh;
  display: grid;
  gap: 2.2rem;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  margin: 0 0 1rem;
  color: color-mix(in srgb, var(--electric), #fff 40%);
}

.eyebrow.dark {
  color: #4c6173;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 5.8vw, 4.4rem);
  line-height: 1.02;
  max-width: 11ch;
  letter-spacing: -0.03em;
}

.subhead {
  margin-top: 1.1rem;
  max-width: 50ch;
  color: rgba(255, 255, 255, 0.82);
}

.hero-cta {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffbf2f, #ffb300);
  color: #111218;
  box-shadow: 0 7px 24px rgba(255, 179, 0, 0.35);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: -2px auto -2px -32%;
  width: 28%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0.6) 45%, rgba(255, 255, 255, 0) 80%);
  transform: skewX(-18deg);
  animation: ctaSweep 4.8s ease-in-out infinite;
}

@keyframes ctaSweep {
  0%,
  70% {
    left: -35%;
  }
  100% {
    left: 140%;
  }
}

.btn-secondary {
  color: #f4f4f6;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel {
  position: relative;
  min-height: 410px;
  border-radius: calc(var(--radius) + 10px);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
  isolation: isolate;
  animation: panelDrift 7s ease-in-out infinite alternate;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}

/* Solar panels background pattern */
.solar-panels-bg {
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(
      0deg,
      rgba(10, 45, 70, 0.4) 0px,
      rgba(10, 45, 70, 0.4) 1px,
      transparent 1px,
      transparent 58px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(10, 45, 70, 0.4) 0px,
      rgba(10, 45, 70, 0.4) 1px,
      transparent 1px,
      transparent 58px
    ),
    linear-gradient(
      135deg,
      rgba(0, 150, 200, 0.15) 0%,
      rgba(0, 100, 150, 0.1) 50%,
      rgba(0, 50, 100, 0.15) 100%
    );
  background-size: 59px 59px, 59px 59px, 100% 100%;
  background-position: 0 0, 0 0, 0 0;
  border-radius: calc(var(--radius) + 10px);
  opacity: 0.6;
  z-index: 0;
  animation: panelShimmer 4s ease-in-out infinite alternate;
}

@keyframes panelShimmer {
  from {
    opacity: 0.6;
  }
  to {
    opacity: 0.75;
  }
}

.hero-panel > * {
  position: relative;
  z-index: 1;
}

.hero-panel.is-live .hero-ring,
.hero-panel.is-live .hero-grid,
.hero-panel.is-live .hero-scan,
.hero-panel.is-live .hero-stat {
  transition: transform 0.2s ease-out;
}

@keyframes panelDrift {
  from {
    transform: translateY(0px);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  to {
    transform: translateY(-6px);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.28);
  }
}

.hero-ring {
  position: absolute;
  inset: 10% 18% auto;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.04), 0 0 0 44px rgba(0, 229, 255, 0.06);
  transform: rotate(18deg);
  transform-origin: 50% 50%;
  animation: ringOrbit 9s cubic-bezier(0.4, 0.02, 0.2, 1) infinite;
}

.hero-ring::before,
.hero-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.hero-ring::before {
  border: 1px solid rgba(0, 229, 255, 0.42);
  filter: blur(0.8px);
  animation: ringPulse 3.2s ease-in-out infinite;
}

.hero-ring::after {
  inset: -16px;
  border: 1px solid rgba(255, 179, 0, 0.26);
  opacity: 0.6;
  animation: ringPulse 3.2s ease-in-out infinite reverse;
}

@keyframes ringOrbit {
  0% {
    transform: rotate(18deg) scale(1);
    filter: saturate(1);
  }
  50% {
    transform: rotate(30deg) scale(1.03);
    filter: saturate(1.2);
  }
  100% {
    transform: rotate(18deg) scale(1);
    filter: saturate(1);
  }
}

@keyframes ringPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.45;
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.16);
  }
  50% {
    transform: scale(1.04);
    opacity: 0.9;
    box-shadow: 0 0 26px rgba(0, 229, 255, 0.44);
  }
}

.hero-grid {
  position: absolute;
  inset: auto -8% -18% auto;
  width: 75%;
  aspect-ratio: 1;
  background-image: linear-gradient(rgba(0, 229, 255, 0.22) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 229, 255, 0.22) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 80%);
  animation: gridSlide 8s linear infinite, gridPulse 3.2s ease-in-out infinite;
}

.hero-scan {
  position: absolute;
  inset: 10% 18% auto;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  background: conic-gradient(from 0deg, rgba(0, 229, 255, 0) 0deg, rgba(0, 229, 255, 0.18) 28deg, rgba(255, 179, 0, 0.18) 44deg, rgba(0, 229, 255, 0) 62deg, rgba(0, 229, 255, 0) 360deg);
  mix-blend-mode: screen;
  filter: blur(0.6px);
  animation: radialSweep 7.5s linear infinite;
}

.hero-scan::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: #0a0a0f;
}

@keyframes gridSlide {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-20px, -16px, 0);
  }
}

@keyframes gridPulse {
  0%,
  100% {
    opacity: 0.68;
    filter: drop-shadow(0 0 0 rgba(0, 229, 255, 0));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.38));
  }
}

@keyframes radialSweep {
  from {
    transform: rotate(0deg);
    opacity: 0.42;
  }
  50% {
    opacity: 0.75;
  }
  to {
    transform: rotate(360deg);
    opacity: 0.42;
  }
}

.glass {
  backdrop-filter: blur(10px);
  background: var(--glass);
  border: 1px solid var(--glass-edge);
}

.hero-stat {
  position: absolute;
  right: 6%;
  bottom: 8%;
  border-radius: 14px;
  padding: 1rem;
  width: min(440px, 52%);
  animation: statFloat 4.5s ease-in-out infinite;
}

@keyframes statFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-stat span {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--amber);
}

.hero-stat p {
  margin-top: 0.35rem;
  margin-bottom: 0.75rem;
  color: white;
}

.hero-stat-link {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-stat-link:hover,
.hero-stat-link:focus-visible {
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.38);
}

.hero-stat-image {
  width: 56%;
  height: auto;
  max-height: 152px;
  object-fit: contain;
  background: transparent;
  display: block;
  margin: 0 auto;
}

.section-light {
  background: var(--paper);
  color: var(--ink);
  border-radius: 26px;
  padding: clamp(1.4rem, 4vw, 3rem);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.section-heading {
  margin-bottom: 1.6rem;
}

h2 {
  font-size: clamp(1.52rem, 3.3vw, 2.6rem);
  line-height: 1.08;
  max-width: 20ch;
  letter-spacing: -0.022em;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.service-card {
  flex: 0 1 calc(33.333% - 0.67rem);
  min-width: 200px;
  position: relative;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  padding: 1.1rem;
  border: 1px solid rgba(17, 18, 24, 0.14);
  border-radius: 16px;
  background: linear-gradient(160deg, #ffffff, #f8fbff);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -42% auto;
  width: 150px;
  height: 150px;
  border-radius: 24px;
  rotate: 45deg;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.16), rgba(255, 179, 0, 0.13));
}

.service-card:hover {
  transform: perspective(900px) translateY(-5px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
}

.icon {
  width: 44px;
  aspect-ratio: 1;
  border-radius: 12px;
  display: grid;
  place-content: center;
  background: #f2faff;
  margin-bottom: 0.9rem;
}

.icon svg {
  width: 22px;
  stroke: #0d5f6b;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 0.4rem;
}

.service-card p {
  color: #37414d;
  font-size: 0.95rem;
}

.process {
  padding-block: 0.4rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 3%;
  right: 3%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.44), transparent);
}

.step {
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.15));
  opacity: 0;
  transform: translateY(18px);
  transition: 0.45s ease;
}

.step.active {
  opacity: 1;
  transform: translateY(0);
}

.node {
  width: 44px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: rgba(0, 229, 255, 0.16);
  border: 1px solid rgba(0, 229, 255, 0.5);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step p {
  color: rgba(255, 255, 255, 0.78);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.metrics article {
  border-radius: 14px;
  border: 1px solid rgba(17, 18, 24, 0.16);
  padding: 1rem;
  background: linear-gradient(180deg, #fefefe, #f5f8ff);
}

.metrics span {
  display: block;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 900;
  color: #0f2738;
  margin-bottom: 0.35rem;
}

.metrics p {
  color: #3f4957;
  font-size: 0.94rem;
}

.flagship-project {
  margin-bottom: 1.3rem;
  padding: 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.12), rgba(5, 8, 12, 0.4)),
    radial-gradient(circle at 85% 12%, rgba(0, 229, 255, 0.22), transparent 36%);
}

.flagship-head {
  margin-bottom: 0.8rem;
}

.flagship-head h3 {
  font-size: clamp(1.2rem, 2.7vw, 1.8rem);
  letter-spacing: 0.01em;
}

.flagship-desc {
  margin-top: 0.45rem;
  max-width: 74ch;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
}

.flagship-gallery {
  display: grid;
  grid-template-columns: 1.28fr 1fr;
  gap: 0.85rem;
}

.flagship-photo {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  border: none;
  min-height: 160px;
}

.flagship-photo--main {
  grid-row: auto;
  min-height: 280px;
}

.flagship-photo .flagship-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
  transition: transform 0.6s ease;
}

.flagship-photo:hover .flagship-img {
  transform: scale(1.08) !important;
}

.flagship-img--01 {
  transform-origin: center;
}

.flagship-img--02 {
  transform-origin: center;
}

.skandia-project {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.1), rgba(5, 8, 12, 0.38));
}

.skandia-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.skandia-photo {
  min-height: 320px;
}

.skandia-video-wrap {
  border-radius: 14px;
  overflow: hidden;
  min-height: 320px;
  background: #000;
  display: flex;
  align-items: stretch;
}

.skandia-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flagship-img--skandia {
  transform: scale(1.05);
  transform-origin: center;
  transition: transform 0.6s ease;
}

.skandia-photo:hover .flagship-img--skandia {
  transform: scale(1.12);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.project {
  min-height: 180px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.35)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 6px, transparent 6px 13px);
}

.project::before {
  content: "";
  position: absolute;
  inset: -35% 45% auto auto;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(0, 229, 255, 0.34);
  border-radius: 46px;
  rotate: 35deg;
}

.project:nth-child(1),
.project:nth-child(4) {
  grid-column: span 7;
}

.project:nth-child(2),
.project:nth-child(3) {
  grid-column: span 5;
}

.project p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.93rem;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.87rem;
  font-weight: 500;
  color: #28303d;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(17, 18, 24, 0.16);
  border-radius: 12px;
  background: #ffffff;
  padding: 0.8rem;
  font: inherit;
  color: #10141e;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid rgba(0, 229, 255, 0.35);
  border-color: rgba(0, 229, 255, 0.5);
}

.contact-card {
  border-radius: 16px;
  padding: 1rem;
  align-content: center;
  color: #111;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(243, 248, 255, 0.72));
}

.contact-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 0.8rem;
}

.wa-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 9;
  background: #12ce5e;
  color: #08120d;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.82rem 1.05rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 1.6rem 2.2rem;
  display: grid;
  justify-items: start;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.footer img {
  width: min(300px, 72vw);
  filter: grayscale(1) brightness(1.1);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 0.75rem;
  }

  .cards .service-card {
    flex-basis: calc(50% - 0.5rem);
  }

  .cards .service-card:last-child:nth-child(odd) {
    flex-basis: calc(50% - 0.5rem);
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    display: none;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flagship-gallery {
    grid-template-columns: 1fr;
  }

  .skandia-media {
    grid-template-columns: 1fr;
  }

  .skandia-photo,
  .skandia-video-wrap {
    min-height: 260px;
  }

  .flagship-photo--main {
    grid-row: auto;
    min-height: 220px;
  }

  .flagship-photo {
    min-height: 160px;
  }

  .project,
  .project:nth-child(1),
  .project:nth-child(2),
  .project:nth-child(3),
  .project:nth-child(4) {
    grid-column: span 12;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .flagship-project {
    padding: 0.85rem;
  }

  .flagship-photo,
  .flagship-photo--main {
    min-height: 200px;
  }

  .skandia-photo {
    min-height: 210px;
  }

  .nav-links {
    position: absolute;
    top: 86px;
    left: 1rem;
    right: 1rem;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(16, 20, 30, 0.16);
    padding: 0.6rem;
    flex-direction: column;
    align-items: stretch;
    display: none;
  }

  .nav-links a {
    color: #10141e;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .cta-mini {
    text-align: center;
  }

  .hero-stat {
    right: 4%;
    width: min(360px, 84%);
  }

  .cards .service-card {
    flex-basis: 100%;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .brand {
    width: min(230px, 58vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Monitoring Dashboard */
.monitoring-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.monitor-card {
}

/* Water pumping + PDF page section */
.water-pumping-section,
.pdf-page-seven-section {
  padding-block: 0.5rem 1.5rem;
}

.water-pumping-grid {
  display: grid;
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
}

.water-pumping-card {
  border-radius: 20px;
  padding: 1.5rem 1.4rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(240, 249, 255, 0.92));
  border: 1px solid rgba(17, 18, 24, 0.12);
}

.water-pumping-card h3 {
  margin: 0 0 0.6rem;
  color: #111218;
}

.water-pumping-card p {
  color: #444;
  line-height: 1.6;
  margin: 0 0 0.8rem;
}

.water-pumping-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #3b3b3b;
  line-height: 1.65;
}

.pdf-seven-content {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.pdf-seven-card {
  border-radius: 20px;
  padding: 1.25rem 1.3rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(240, 249, 255, 0.92));
  border: 1px solid rgba(17, 18, 24, 0.12);
}

.pdf-seven-card h3 {
  margin: 0 0 0.65rem;
  color: #111218;
}

.pdf-seven-card p {
  margin: 0 0 0.8rem;
  color: #444;
  line-height: 1.6;
}

.pdf-seven-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #3b3b3b;
  line-height: 1.65;
}

.pdf-inline-link {
  margin-top: 0.7rem;
  text-align: center;
}

.pdf-inline-link a {
  color: #0a6f7c;
  font-weight: 600;
  text-decoration: none;
}

.pdf-inline-link a:hover,
.pdf-inline-link a:focus-visible {
  text-decoration: underline;
}

/* Energy Flow Diagram */
.energy-flow-diagram {
  width: 100%;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2rem;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
  border-radius: 20px;
  border: 1px solid rgba(0, 229, 255, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.energy-flow-diagram svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.flow-line {
  stroke-dasharray: 8, 4;
  animation: flow-dash 30s linear infinite;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.flow-line:hover {
  opacity: 1;
}

@keyframes flow-dash {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -12;
  }
}

.flow-particle {
  animation: particle-fade 2s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

@keyframes particle-fade {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    opacity: 0.3;
  }
}

.value-pv,
.value-inverter,
.value-grid,
.value-consumption,
.value-battery {
  animation: value-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes value-pop {
  0% {
    font-size: 12px;
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    font-size: 18px;
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 960px) {
  .energy-flow-diagram {
    padding: 1rem;
  }

  .energy-flow-diagram svg {
    height: auto;
  }

  .pdf-seven-content {
    grid-template-columns: 1fr;
  }
}

/* ── Beneficios Tributarios ───────────────────────────────────── */
.tax-benefits {
  padding-block: 1rem 2rem;
}

.tax-intro {
  max-width: 62ch;
  margin: 0.6rem auto 2.2rem;
  text-align: center;
  color: #555;
  font-size: 0.97rem;
  line-height: 1.6;
}

.tax-grid {
  display: grid;
  grid-template-columns: minmax(0, 600px);
  gap: 1.5rem;
  justify-content: center;
}

.tax-card {
  border: 1px solid rgba(17, 18, 24, 0.12);
  border-radius: 18px;
  padding: 1.5rem 1.4rem;
  background: linear-gradient(160deg, #ffffff 60%, #f0f9ff);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.tax-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.tax-card-header svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.tax-law {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0EA5E9;
  margin-bottom: 0.25rem;
}

.tax-card:first-child .tax-law {
  color: #d97706;
}

.tax-card-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: #111218;
}

.tax-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.tax-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.tax-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.tax-icon--green { background: #dcfce7; }
.tax-icon--blue  { background: #e0f2fe; }

.tax-list li strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #111218;
  margin-bottom: 0.15rem;
}

.tax-list li p {
  margin: 0;
  font-size: 0.82rem;
  color: #555;
  line-height: 1.5;
}

.tax-procedure {
  border-top: 1px solid rgba(14, 165, 233, 0.2);
  padding-top: 1rem;
}

.tax-procedure h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0EA5E9;
  margin: 0 0 0.75rem;
}

.tax-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.tax-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: #444;
  line-height: 1.5;
}

.tax-steps li span {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0EA5E9;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.tax-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: #888;
  text-align: center;
}

@media (max-width: 700px) {
  .tax-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CARRUSEL DE CLIENTES
   ============================================================ */
.clients-section {
  padding: 4rem 0;
  background: #f8fafc;
  overflow: hidden;
}

.clients-section .section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.clients-section .section-heading h2 {
  font-size: 1.6rem;
  color: #111218;
  margin-bottom: 0.4rem;
}

.clients-section .section-heading p {
  color: #666;
  font-size: 0.95rem;
}

.clients-track-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Degradados laterales para efecto fade */
.clients-track-wrapper::before,
.clients-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.clients-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #f8fafc, transparent);
}

.clients-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #f8fafc, transparent);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: clientsScroll 18s linear infinite;
  -webkit-animation: clientsScroll 18s linear infinite;
}

.clients-track:hover {
  animation-play-state: paused;
  -webkit-animation-play-state: paused;
}

@-webkit-keyframes clientsScroll {
  0%   { -webkit-transform: translateX(0); transform: translateX(0); }
  100% { -webkit-transform: translateX(-2400px); transform: translateX(-2400px); }
}

@keyframes clientsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-2400px); }
}

.client-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
}

.client-logo img {
  max-height: 90px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: grayscale(80%) opacity(0.75);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.client-logo img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.07);
}

@media (max-width: 600px) {
  .client-logo img {
    max-height: 65px;
    max-width: 140px;
  }

  .clients-track {
    gap: 2rem;
  }
}

/* -- Thank-you overlay ------------------------------------------- */
.thankyou-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.5rem;
  animation: fadeIn 0.35s ease;
}

.thankyou-overlay[hidden] {
  display: none;
}

.thankyou-card {
  max-width: 460px;
  width: 100%;
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.thankyou-icon {
  width: 72px;
  height: 72px;
}

.thankyou-icon circle {
  stroke: var(--amber);
}

.thankyou-icon path {
  stroke: var(--amber);
}

.thankyou-card h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--text);
}

.thankyou-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* -- Nosotros page ----------------------------------------------- */
.section-sub {
  color: rgba(255, 255, 255, 0.68);
  max-width: 60ch;
  margin: 0.5rem auto 0;
  font-size: 0.95rem;
  text-align: center;
}

.section-light .section-sub {
  color: rgba(17, 18, 24, 0.68);
}

.metrics--lg {
  gap: 1.5rem;
}

.metrics--lg article span {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

/* Timeline */
.nosotros-timeline-section {
  padding-block: 4rem;
}

.nosotros-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 820px;
  margin: 2.5rem auto 0;
}

.nosotros-timeline::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--amber), rgba(255, 179, 0, 0.15));
}

.nt-item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.nt-item:last-child {
  padding-bottom: 0;
}

.nt-marker {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  position: relative;
  z-index: 1;
}

.nt-marker svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.nt-content {
  padding-top: 0.6rem;
}

.nt-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 0.3rem;
}

.nt-content h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
}

.nt-content p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
  margin: 0;
  max-width: 60ch;
}

/* Values grid */
.nosotros-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.nosotros-value-card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nosotros-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(255, 179, 0, 0.12);
}

.nv-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 179, 0, 0.12);
  border-radius: 12px;
  color: var(--amber);
}

.nv-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.nosotros-value-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
}

.nosotros-value-card p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.section-light .nosotros-value-card {
  background: rgba(17, 18, 24, 0.04);
  border: 1px solid rgba(17, 18, 24, 0.08);
}

.section-light .nosotros-value-card h3 {
  color: var(--ink);
}

.section-light .nosotros-value-card p {
  color: rgba(17, 18, 24, 0.72);
}

.section-light .nv-icon {
  background: rgba(255, 179, 0, 0.08);
  color: var(--amber);
}

/* Services list */
.nosotros-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.ns-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.22s ease, background 0.22s ease;
}

.ns-item:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.12);
}

.ns-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 179, 0, 0.1);
  border-radius: 10px;
  color: var(--amber);
}

.ns-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

.ns-item > div h3 {
  margin: 0 0 0.2rem;
  font-size: 0.97rem;
}

.ns-item > div p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.section-light .ns-item {
  background: rgba(17, 18, 24, 0.04);
  border: 1px solid rgba(17, 18, 24, 0.08);
}

.section-light .ns-item > div h3 {
  color: var(--ink);
}

.section-light .ns-item > div p {
  color: rgba(17, 18, 24, 0.68);
}

.section-light .ns-icon {
  background: rgba(255, 179, 0, 0.08);
  color: var(--amber);
}

.ns-arrow {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--amber);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ns-item:hover .ns-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* CTA final */
.nosotros-cta-section {
  padding-block: 5rem;
}

.nosotros-cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.nosotros-cta-inner h2 {
  margin: 0;
}

.nosotros-cta-inner p {
  color: rgba(17, 18, 24, 0.7);
  max-width: 52ch;
  margin: 0;
}

/* Responsive nosotros */
@media (max-width: 900px) {
  .nosotros-values {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .nosotros-values {
    grid-template-columns: 1fr;
  }

  .nosotros-services {
    grid-template-columns: 1fr;
  }

  .nosotros-timeline::before {
    left: 22px;
  }

  .nt-marker {
    width: 46px;
    height: 46px;
  }
}
