:root {
  --color-primary: #2b5c9e;
  --color-primary-dark: #1f4678;
  --color-secondary: #d62828;
  --color-accent: #f5c518;
  --color-cyan: #4fc3f7;
  --color-steel: #7fa6dc;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f7fb;
  --color-dark: #0a1830;
  --color-dark-2: #0f2244;
  --color-text: #13213a;
  --color-text-light: #44546d;
  --color-placeholder: #66758c;
  --color-border: rgba(43, 92, 158, 0.16);
  --font-heading: "Exo 2", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow-sm: 0 2px 10px rgba(10, 24, 48, 0.06);
  --shadow-md: 0 18px 40px rgba(10, 24, 48, 0.14);
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  --hex-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%234fc3f7' stroke-opacity='0.07' stroke-width='1'/%3E%3C/svg%3E");
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  color-scheme: light;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--color-primary);
}
ul {
  list-style: none;
}
button,
a,
input,
textarea,
select {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}
h1,
h2 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
h2 {
  font-size: clamp(1.9rem, 2.6vw + 1rem, 2.75rem);
  letter-spacing: -0.015em;
}
h3 {
  font-size: 1.3rem;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.on-dark a:focus-visible,
.on-dark button:focus-visible,
.site-header a:focus-visible,
.site-header button:focus-visible {
  outline-color: var(--color-cyan);
}
section[id] {
  scroll-margin-top: 80px;
}
.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 {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  background: var(--color-accent);
  color: var(--color-dark);
  padding: 12px 20px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}
@media (min-width: 1280px) {
  .container {
    padding: 0;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.settled {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 11px;
  height: 12px;
  clip-path: var(--hex);
  background: linear-gradient(
    90deg,
    var(--color-primary) 50%,
    var(--color-secondary) 50%
  );
  flex-shrink: 0;
}
.on-dark .eyebrow {
  color: var(--color-cyan);
}
.on-dark .eyebrow::before {
  background: linear-gradient(
    90deg,
    var(--color-cyan) 50%,
    var(--color-accent) 50%
  );
}
.section {
  padding: 80px 0;
  position: relative;
}
@media (min-width: 768px) {
  .section {
    padding: 104px 0;
  }
}
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p {
  color: var(--color-text-light);
  margin-top: 16px;
  font-size: 1.0625rem;
}
.on-dark .section-head p {
  color: rgba(255, 255, 255, 0.78);
}
.section-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(43, 92, 158, 0.28),
    transparent
  );
  position: relative;
}
.section-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 11px;
  transform: translate(-50%, -50%);
  clip-path: var(--hex);
  background: linear-gradient(
    90deg,
    var(--color-primary) 50%,
    var(--color-secondary) 50%
  );
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
  cursor: pointer;
  line-height: 1.2;
}
.btn .material-icons {
  font-size: 20px;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: rgba(79, 195, 247, 0.45);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(43, 92, 158, 0.45);
}
.btn-pulse {
  animation: pulse 2.2s ease-in-out infinite;
}
.btn-pulse:hover {
  animation-play-state: paused;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(79, 195, 247, 0.45);
  }
  50% {
    box-shadow: 0 0 22px 5px rgba(79, 195, 247, 0.18);
  }
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--color-cyan);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
  padding: 12px 24px;
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(43, 92, 158, 0.25);
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.site-header.scrolled,
.site-header.menu-open {
  background: rgba(10, 24, 48, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
  border-bottom-color: rgba(79, 195, 247, 0.16);
}
.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .nav-wrap {
    padding: 0 40px;
  }
}
@media (min-width: 1280px) {
  .nav-wrap {
    padding: 0;
  }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
}
.brand svg {
  width: 30px;
  height: 34px;
  flex-shrink: 0;
}
.nav-toggle {
  /* el <nav> ocupa un hueco del flex aunque su lista vaya fija en movil:
     el boton va detras para quedar pegado al borde derecho */
  order: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(79, 195, 247, 0.3);
  border-radius: var(--radius-sm);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease;
}
.nav-toggle:hover {
  background: rgba(79, 195, 247, 0.12);
  border-color: var(--color-cyan);
}
.nav-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(10, 24, 48, 0.97);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 28px;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
  border-bottom: 1px solid rgba(79, 195, 247, 0.16);
}
.nav-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu a {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s ease;
}
.nav-menu a:hover {
  color: var(--color-cyan);
}
.nav-menu .nav-cta {
  margin-top: 12px;
  border: 0;
  text-align: center;
  padding: 14px 24px;
  color: #fff;
}
.nav-menu .nav-cta:hover {
  color: #fff;
}
@media (min-width: 1080px) {
  .nav-toggle {
    display: none;
  }
  .nav-menu {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 0;
    background: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: none;
    overflow: visible;
    border: 0;
  }
  .nav-menu a {
    border: 0;
    padding: 6px 0;
    font-size: 0.95rem;
    position: relative;
  }
  .nav-menu a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }
  .nav-menu a:not(.nav-cta):hover::after {
    transform: scaleX(1);
  }
  .nav-menu .nav-cta {
    margin: 0;
    padding: 12px 22px;
  }
}
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--color-dark);
  padding: 112px 0 72px;
}
.hero-bg {
  position: absolute;
  inset: -6% 0 -6% 0;
  background: url("assets/images/hero-circuito.webp")
    center/cover no-repeat;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
    linear-gradient(
      105deg,
      rgba(10, 24, 48, 0.95) 25%,
      rgba(10, 24, 48, 0.7) 60%,
      rgba(15, 34, 68, 0.6)
    );
}
.hero-gridlines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(79, 195, 247, 0.07) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(79, 195, 247, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(
    ellipse at 70% 50%,
    #000 10%,
    transparent 70%
  );
  mask-image: radial-gradient(ellipse at 70% 50%, #000 10%, transparent 70%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.09;
  animation: float 8s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}
.orb-blue {
  width: 300px;
  height: 300px;
  background: var(--color-cyan);
  top: 12%;
  right: 8%;
}
.orb-red {
  width: 220px;
  height: 220px;
  background: var(--color-secondary);
  bottom: 8%;
  right: 28%;
  animation-duration: 7s;
  animation-delay: -2s;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(3deg);
  }
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
  }
}
.hero-copy .eyebrow {
  animation: fadeInUp 0.8s ease both;
}
.hero h1 {
  font-size: clamp(2.5rem, 4.2vw + 1rem, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.1s both;
}
.hero h1 .grad {
  background: linear-gradient(
    90deg,
    var(--color-cyan),
    #9fdcf9 45%,
    var(--color-accent)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.84);
  max-width: 580px;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.25s both;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeInUp 0.8s ease 0.4s both;
}
@media (max-width: 480px) {
  .hero-ctas .btn {
    flex: 1 1 100%;
  }
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  animation: fadeInUp 0.8s ease 0.55s both;
}
.hero-tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 7px 14px;
  border: 1px solid rgba(79, 195, 247, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-tags li::before {
  content: "";
  width: 8px;
  height: 9px;
  clip-path: var(--hex);
  background: var(--dot, var(--color-cyan));
}
.tag-cyan,
.stat-cyan {
  --dot: var(--color-cyan);
  --c: var(--color-cyan);
}
.tag-red,
.stat-red {
  --dot: var(--color-secondary);
  --c: var(--color-secondary);
}
.tag-yellow,
.stat-yellow {
  --dot: var(--color-accent);
  --c: var(--color-accent);
}
.tag-blue,
.stat-blue {
  --dot: var(--color-steel);
  --c: var(--color-steel);
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.signature-wrap {
  position: relative;
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .signature-wrap {
    max-width: 500px;
  }
}
.signature {
  width: 100%;
  height: auto;
  overflow: visible;
}
.sig-hex {
  stroke-dasharray: 1020;
  stroke-dashoffset: 1020;
  animation: draw 1.8s ease-out 0.2s forwards;
}
.sig-hex-inner {
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}
.sig-current {
  stroke-dasharray: 70 950;
  animation: current 4.5s linear 2s infinite;
  opacity: 0;
}
.trace {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: draw 1.1s ease-out forwards;
}
.node {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: pop 0.45s ease-out forwards;
}
.sig-core {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: coreIn 1s ease 0.7s forwards;
}
.sig-bolt {
  opacity: 0;
  animation:
    boltIn 0.6s ease 1.5s forwards,
    flicker 6s ease-in-out 3s infinite;
}
.sig-plug {
  opacity: 0;
  animation: fadeIn 0.6s ease 2.4s forwards;
}
.sig-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0;
  animation: fadeIn 0.6s ease 2.6s forwards;
}
.delay-11 {
  animation-delay: 1.1s;
}
.delay-12 {
  animation-delay: 1.2s;
}
.delay-13 {
  animation-delay: 1.3s;
}
.delay-14 {
  animation-delay: 1.4s;
}
.delay-15 {
  animation-delay: 1.5s;
}
.delay-16 {
  animation-delay: 1.6s;
}
.delay-18 {
  animation-delay: 1.8s;
}
.delay-19 {
  animation-delay: 1.9s;
}
.delay-20 {
  animation-delay: 2s;
}
.delay-21 {
  animation-delay: 2.1s;
}
.delay-22 {
  animation-delay: 2.2s;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
@keyframes pop {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  70% {
    opacity: 1;
    transform: scale(1.4);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes coreIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes boltIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes flicker {
  0%,
  90%,
  100% {
    opacity: 1;
  }
  92% {
    opacity: 0.35;
  }
  94% {
    opacity: 1;
  }
  96% {
    opacity: 0.5;
  }
}
@keyframes current {
  0% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
  100% {
    opacity: 1;
    stroke-dashoffset: -1020;
  }
}
.hex-icon {
  width: 60px;
  height: 68px;
  clip-path: var(--hex);
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(
    150deg,
    var(--color-primary),
    var(--color-primary-dark)
  );
  flex-shrink: 0;
}
.hex-icon .material-icons {
  font-size: 28px;
}
.hex-red {
  background: linear-gradient(150deg, #e04040, var(--color-secondary));
}
.hex-yellow {
  background: linear-gradient(150deg, #ffd84a, var(--color-accent));
  color: var(--color-dark);
}
.hex-cyan {
  background: linear-gradient(150deg, #7fd5fa, var(--color-cyan));
  color: var(--color-dark);
}
.hex-green {
  background: linear-gradient(150deg, #3ee07c, #25d366);
  color: #fff;
}
.value {
  background: var(--color-bg-alt);
}
.value-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 640px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .value-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.value-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.value-card h3 {
  margin: 22px 0 10px;
}
.value-card p {
  color: var(--color-text-light);
  font-size: 1rem;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}
.value-card:hover::before {
  transform: scaleX(1);
}
.band-dark {
  background-color: var(--color-dark);
  background-image: var(--hex-pattern),
    radial-gradient(circle at 15% 20%, rgba(43, 92, 158, 0.35), transparent 55%),
    radial-gradient(circle at 85% 90%, rgba(214, 40, 40, 0.12), transparent 50%);
  color: #fff;
}
.stats {
  padding: 72px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat {
  padding: 28px 24px;
  border: 1px solid rgba(79, 195, 247, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.01)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
  position: relative;
}
.stat::before {
  content: "";
  display: block;
  width: 12px;
  height: 14px;
  clip-path: var(--hex);
  background: var(--c, var(--color-cyan));
  margin-bottom: 16px;
}
.stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.5rem, 3vw + 1rem, 3.25rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.stat-label {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}
.services {
  background: #fff;
}
.services-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 700px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.service-media {
  overflow: hidden;
  aspect-ratio: 3/2;
  position: relative;
  background: var(--color-dark-2);
}
.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 24, 48, 0.35));
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-body {
  padding: 0 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-body .hex-icon {
  margin-top: -34px;
  position: relative;
  z-index: 1;
  box-shadow: none;
}
.service-body h3 {
  margin: 18px 0 10px;
}
.service-body > p {
  color: var(--color-text-light);
  font-size: 1rem;
  margin-bottom: 16px;
}
.service-list {
  margin-bottom: 24px;
  display: grid;
  gap: 8px;
}
.service-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--color-text);
}
.service-list .material-icons {
  font-size: 18px;
  color: var(--color-primary);
  margin-top: 3px;
}
.service-body .btn {
  margin-top: auto;
  align-self: flex-start;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}
.service-card:hover .service-media img {
  transform: scale(1.05);
}
.process-grid {
  display: grid;
  gap: 24px;
  position: relative;
}
@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .process-grid::before {
    content: "";
    position: absolute;
    top: 52px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: repeating-linear-gradient(
      90deg,
      rgba(79, 195, 247, 0.45) 0 10px,
      transparent 10px 18px
    );
    z-index: 0;
  }
}
.step {
  position: relative;
  z-index: 1;
  padding: 32px 26px;
  border: 1px solid rgba(79, 195, 247, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(
    160deg,
    rgba(15, 34, 68, 0.9),
    rgba(10, 24, 48, 0.85)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.step-num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 64px;
  clip-path: var(--hex);
  background: linear-gradient(150deg, var(--color-cyan), var(--color-primary));
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-dark);
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}
.step h3 {
  color: #fff;
  margin-bottom: 10px;
}
.step p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}
.step:hover {
  transform: translateY(-6px);
  border-color: var(--color-cyan);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.gallery {
  background: var(--color-bg-alt);
  background-image: radial-gradient(
      circle at 30% 70%,
      rgba(43, 92, 158, 0.06),
      transparent 60%
    ),
    radial-gradient(
      circle at 85% 15%,
      rgba(79, 195, 247, 0.08),
      transparent 50%
    );
}
.gallery-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  border: 1px solid var(--color-border);
  background: var(--color-dark);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(10, 24, 48, 0.9));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gallery-item figcaption::before {
  content: "";
  width: 9px;
  height: 10px;
  clip-path: var(--hex);
  background: var(--color-accent);
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.testimonials {
  background: #fff;
}
.testi-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .testi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.testi-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 30px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.testi-card::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 1;
  color: rgba(43, 92, 158, 0.12);
}
.stars {
  display: flex;
  gap: 2px;
  color: #e6b400;
  margin-bottom: 16px;
}
.stars .material-icons {
  font-size: 20px;
}
.testi-card blockquote {
  font-size: 1.02rem;
  color: var(--color-text);
  margin-bottom: 24px;
  flex: 1;
}
.testi-person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}
.testi-person .testi-avatar {
  width: 52px;
  height: 58px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  clip-path: var(--hex);
  background: linear-gradient(150deg, var(--color-primary), var(--color-dark-2));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.testi-card:nth-child(2) .testi-avatar {
  background: linear-gradient(150deg, #e04040, var(--color-secondary));
}
.testi-card:nth-child(3) .testi-avatar {
  background: linear-gradient(150deg, #7fd5fa, var(--color-primary));
}
.testi-person strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
}
.testi-person span {
  font-size: 0.88rem;
  color: var(--color-text-light);
}
.testi-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.faq {
  background: rgba(43, 92, 158, 0.06);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.faq-item.open {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.faq-item h3 {
  font-size: 1.08rem;
  font-weight: 600;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 22px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--color-text);
}
.faq-q:hover {
  color: var(--color-primary);
}
.faq-q .material-icons {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(43, 92, 158, 0.08);
  color: var(--color-primary);
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}
.faq-item.open .faq-q .material-icons {
  transform: rotate(180deg);
  background: var(--color-primary);
  color: #fff;
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}
.faq-a-inner {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0.35s;
}
.faq-item.open .faq-a-inner {
  visibility: visible;
}
.faq-a p {
  padding: 0 24px 22px;
  color: var(--color-text-light);
  font-size: 1rem;
}
.contact {
  background: #fff;
}
.contact-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }
}
.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
@media (min-width: 768px) {
  .contact-form {
    padding: 40px;
  }
}
.contact-form h3 {
  margin-bottom: 6px;
}
.contact-form > p {
  color: var(--color-text-light);
  font-size: 1rem;
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.field label {
  font-weight: 600;
  font-size: 0.92rem;
}
.field label .opt {
  font-weight: 400;
  color: var(--color-text-light);
}
.field input,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--color-placeholder);
}
.field input:focus,
.field textarea:focus {
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(43, 92, 158, 0.12);
}
.field-error {
  display: none;
  font-size: 0.85rem;
  color: #b31d1d;
  align-items: center;
  gap: 6px;
}
.field-error .material-icons {
  font-size: 16px;
}
.field.has-error input,
.field.has-error textarea {
  border-color: #b31d1d;
}
.field.has-error .field-error {
  display: flex;
}
.contact-form .btn {
  width: 100%;
}
.form-success {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 160, 80, 0.35);
  color: #14532d;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.form-success[hidden] {
  display: none;
}
.form-success .material-icons {
  color: #1a8a46;
}
.form-success a {
  color: #14532d;
  font-weight: 700;
}
.form-error {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: rgba(214, 40, 40, 0.07);
  border: 1px solid rgba(179, 29, 29, 0.35);
  color: #7f1414;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.form-error[hidden] {
  display: none;
}
.form-error .material-icons {
  color: #b31d1d;
}
.form-error a {
  color: #7f1414;
  font-weight: 700;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-list {
  display: grid;
  gap: 14px;
}
.info-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-alt);
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
}
.info-item:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}
.info-item .hex-icon {
  width: 48px;
  height: 54px;
}
.info-item .hex-icon .material-icons,
.info-item .hex-icon i {
  font-size: 22px;
}
.info-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.98rem;
}
.info-item span,
.info-item a {
  font-size: 0.97rem;
  color: var(--color-text-light);
  text-decoration: none;
  word-break: break-word;
}
.info-item a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}
.map-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  line-height: 0;
}
.map-frame {
  display: block;
  width: 100%;
  border: 0;
}
.site-footer {
  background-color: #071226;
  background-image: var(--hex-pattern);
  color: rgba(255, 255, 255, 0.75);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}
.site-footer .brand {
  margin-bottom: 16px;
}
.site-footer p {
  font-size: 0.97rem;
}
.footer-title {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-title::before {
  content: "";
  width: 9px;
  height: 10px;
  clip-path: var(--hex);
  background: linear-gradient(
    90deg,
    var(--color-cyan) 50%,
    var(--color-secondary) 50%
  );
}
.footer-links {
  display: grid;
  gap: 10px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.97rem;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--color-cyan);
}
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.97rem;
}
.footer-contact .material-icons,
.footer-contact i {
  color: var(--color-cyan);
  font-size: 19px;
  margin-top: 4px;
  width: 19px;
  text-align: center;
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  word-break: break-word;
}
.footer-contact a:hover {
  color: var(--color-cyan);
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(79, 195, 247, 0.25);
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  background: rgba(255, 255, 255, 0.03);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}
.socials a:hover {
  background: var(--color-primary);
  border-color: var(--color-cyan);
  transform: translateY(-3px);
}
.footer-bottom {
  margin-top: 56px;
  padding: 24px 0 96px;
  border-top: 1px solid rgba(79, 195, 247, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}
@media (min-width: 768px) {
  .footer-bottom {
    padding-bottom: 24px;
  }
}
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 1100;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  animation: waPulse 2.4s ease-in-out infinite;
  transition: transform 0.25s ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
}
@keyframes waPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .sig-hex,
  .trace {
    stroke-dashoffset: 0;
  }
}
