:root {
  --ink: #f8fbff;
  --muted: #d4ddf4;
  --deep: #1d3d82;
  --deep-2: #355eb3;
  --panel: rgba(255, 255, 255, 0.12);
  --panel-strong: rgba(255, 255, 255, 0.18);
  --line: rgba(255, 255, 255, 0.22);
  --blue: #6f9bff;
  --violet: #a879ee;
  --pink: #c66ddb;
  --cyan: #68d9ff;
  --green: #59e5c1;
  --shadow: 0 24px 70px rgba(19, 48, 112, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 10%, rgba(104, 217, 255, 0.32), transparent 26rem),
    radial-gradient(circle at 88% 8%, rgba(198, 109, 219, 0.24), transparent 25rem),
    radial-gradient(circle at 78% 74%, rgba(111, 155, 255, 0.2), transparent 28rem),
    linear-gradient(135deg, #214c9a 0%, #2d5fb4 42%, #553d98 100%);
  line-height: 1.6;
  min-height: 100vh;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:.22;

  background:

  /* LINEAS VERTICALES */
  repeating-linear-gradient(
    90deg,
    transparent 0 38px,
    rgba(104,217,255,.18) 38px 41px,
    transparent 41px 80px
  ),

  /* LINEAS HORIZONTALES */
  repeating-linear-gradient(
    0deg,
    transparent 0 42px,
    rgba(168,121,238,.12) 42px 45px,
    transparent 45px 90px
  ),

  /* DIAGONALES */
  repeating-linear-gradient(
    135deg,
    transparent 0 60px,
    rgba(104,217,255,.08) 60px 63px,
    transparent 63px 120px
  ),

  /* BRILLOS */
  radial-gradient(
    circle at 20% 30%,
    rgba(168,121,238,.22),
    transparent 22%
  ),

  radial-gradient(
    circle at 70% 40%,
    rgba(104,217,255,.22),
    transparent 24%
  ),

  radial-gradient(
    circle at 50% 80%,
    rgba(104,217,255,.12),
    transparent 18%
  );

  mix-blend-mode:screen;
  animation:circuitFlow 20s linear infinite;
}


body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;

  background-image:

    linear-gradient(
      90deg,
      transparent 48%,
      rgba(104,217,255,.14) 49%,
      rgba(104,217,255,.14) 51%,
      transparent 52%
    ),

    linear-gradient(
      0deg,
      transparent 48%,
      rgba(168,121,238,.12) 49%,
      rgba(168,121,238,.12) 51%,
      transparent 52%
    );

  background-size:220px 220px;

  opacity:.18;
}

@keyframes circuitFlow{

  from{
    transform:translateY(0);
  }

  to{
    transform:translateY(-60px);
  }

}
body > * {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header {
  min-height: 94vh;
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.28em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.logo-slot {
  width: 184px;
  height: 96px;
  border: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.72rem;
  background: transparent;
  overflow: visible;
  filter: drop-shadow(0 12px 22px rgba(17, 35, 91, 0.24));
}

.logo-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 14px;
  color: var(--muted);
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.nav-toggle,
.nav-button {
  display: none;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto 0;
  min-height: calc(94vh - 130px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
  gap: 42px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
  min-width: 0;
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(4rem, 7.4vw, 7.35rem);
  font-weight: 800;
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  overflow-wrap: normal;
}

h1 span {
  display: block;
}

.hero-copy {
  max-width: 660px;
  margin-top: 18px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: #f2f6ff;
}

.secondary-copy {
  margin-top: 12px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #e2e9fb;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #08112a;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  box-shadow: 0 14px 32px rgba(70, 224, 183, 0.25);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.hero-visual,
.image-slot {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  min-height: 460px;
  background:
    linear-gradient(135deg, rgba(104, 217, 255, 0.22), rgba(198, 109, 219, 0.16)),
    rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.image-card {
  padding: 0;
}

.image-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(31, 69, 143, 0.05), rgba(62, 42, 123, 0.46)),
    radial-gradient(circle at 18% 18%, rgba(104, 217, 255, 0.32), transparent 18rem);
}

.image-overlay {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(31, 54, 122, 0.6);
  backdrop-filter: blur(10px);
  text-align: left;
}

.image-overlay span {
  display: block;
  color: var(--ink);
  font-weight: 900;
  font-size: 1.05rem;
}

.image-overlay small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.hero-visual::after,
.image-slot::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  pointer-events: none;
  z-index: 2;
}

.hero-visual p,
.image-slot span {
  color: var(--ink);
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.hero-visual small,
.image-slot small {
  color: var(--muted);
  position: absolute;
  bottom: 34px;
  left: 28px;
  right: 28px;
  z-index: 1;
}

.circuit-mark {
  width: 180px;
  height: 180px;
  margin-bottom: 16px;
  background:
    linear-gradient(90deg, transparent 44%, var(--violet) 44% 49%, transparent 49%),
    linear-gradient(0deg, transparent 44%, var(--blue) 44% 49%, transparent 49%);
  border: 2px solid rgba(141, 109, 246, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 44px rgba(141, 109, 246, 0.45);
  position: relative;
  z-index: 1;
}

.circuit-deco {
  position: absolute;
  width: 260px;
  height: 190px;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
  filter: drop-shadow(0 0 18px rgba(168, 121, 238, 0.28));
}

.circuit-deco::before,
.circuit-deco::after {
  content: "";
  position: absolute;
  inset: 0;
}

.circuit-deco::before {
  background:
    linear-gradient(90deg, transparent 0 14%, rgba(214, 230, 255, 0.58) 14% 16%, transparent 16% 100%) 0 30px / 100% 4px no-repeat,
    linear-gradient(90deg, transparent 0 24%, rgba(214, 230, 255, 0.52) 24% 26%, transparent 26% 100%) 0 72px / 100% 4px no-repeat,
    linear-gradient(90deg, transparent 0 34%, rgba(168, 121, 238, 0.72) 34% 36%, transparent 36% 100%) 0 114px / 100% 4px no-repeat,
    linear-gradient(135deg, transparent 0 45%, rgba(214, 230, 255, 0.5) 45% 47%, transparent 47% 100%) 34px 4px / 140px 130px no-repeat,
    linear-gradient(45deg, transparent 0 45%, rgba(168, 121, 238, 0.68) 45% 47%, transparent 47% 100%) 72px 58px / 150px 110px no-repeat,
    linear-gradient(90deg, transparent 0 54%, rgba(104, 217, 255, 0.62) 54% 56%, transparent 56% 100%) 0 150px / 100% 4px no-repeat;
}

.circuit-deco::after {
  background:
    radial-gradient(circle, rgba(248, 251, 255, 0.95) 0 5px, rgba(104, 217, 255, 0.8) 6px 9px, transparent 10px) 34px 22px / 22px 22px no-repeat,
    radial-gradient(circle, rgba(248, 251, 255, 0.92) 0 5px, rgba(168, 121, 238, 0.8) 6px 9px, transparent 10px) 86px 64px / 22px 22px no-repeat,
    radial-gradient(circle, rgba(248, 251, 255, 0.92) 0 5px, rgba(104, 217, 255, 0.78) 6px 9px, transparent 10px) 136px 106px / 22px 22px no-repeat,
    radial-gradient(circle, rgba(248, 251, 255, 0.92) 0 5px, rgba(168, 121, 238, 0.78) 6px 9px, transparent 10px) 196px 144px / 22px 22px no-repeat,
    radial-gradient(circle, rgba(248, 251, 255, 0.86) 0 4px, rgba(104, 217, 255, 0.65) 5px 8px, transparent 9px) 210px 22px / 20px 20px no-repeat,
    radial-gradient(circle, rgba(248, 251, 255, 0.86) 0 4px, rgba(168, 121, 238, 0.68) 5px 8px, transparent 9px) 226px 66px / 20px 20px no-repeat;
}

.circuit-top-left {
  left: -28px;
  top: 150px;
  transform: rotate(8deg);
}

.circuit-top-right {
  right: -24px;
  top: 80px;
  transform: scaleX(-1) rotate(4deg);
}

.circuit-section-right {
  right: -50px;
  top: 92px;
  transform: scale(1.08) rotate(-5deg);
}

.circuit-section-left {
  left: -52px;
  top: 42px;
  transform: scaleX(-1) rotate(6deg);
}

.circuit-clients {
  right: 4%;
  top: 36px;
  transform: scale(0.85) rotate(2deg);
  opacity: 0.4;
}

.section-band,
.specialties,
.dotacion,
.cta,
.clients {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-band {
  padding: 90px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin-bottom: 42px;
  position: relative;
  z-index: 1;
}

.section-heading.narrow {
  display: block;
  max-width: 820px;
}

h2{
  text-shadow:
    0 0 18px rgba(104,217,255,.15);
}

h3 {
  font-size: 1.22rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.74fr);
  gap: 34px;
  align-items: stretch;
}

.intro-copy {
  display: grid;
  gap: 18px;
  font-size: 1.04rem;
}

.image-slot.tall {
  min-height: 420px;
}

.specialties {
  padding: 28px 0 76px;
}

.marquee-title {
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 20px;
}

.specialty-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.specialty-grid span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #dbe2fb;
  background: rgba(255, 255, 255, 0.055);
}

.services {
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  position: relative;
  z-index: 1;
}

.service-card{
  min-height:282px;
  padding:24px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:24px;
  background:rgba(255,255,255,.06);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  display:flex;
  flex-direction:column;
  gap:15px;
  position:relative;
  overflow:hidden;
  transition:.4s;
  box-shadow:
    0 10px 30px rgba(0,0,0,.22);
}

.service-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      135deg,
      rgba(104,217,255,.08),
      transparent 40%,
      rgba(168,121,238,.08)
    );
  opacity:0;
  transition:.4s;
}

.service-card:hover::before{
  opacity:1;
}

.service-card:hover{
  transform:translateY(-10px);
  border-color:rgba(104,217,255,.35);
  box-shadow:
    0 0 25px rgba(104,217,255,.18),
    0 20px 45px rgba(0,0,0,.35);
}

.service-card.featured {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(77, 124, 255, 0.22), rgba(214, 107, 195, 0.14)),
    var(--panel-strong);
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.76rem;
  font-weight: 900;
  color: #08112a;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
}

.service-card ul,
.check-list {
  display: grid;
  gap: 9px;
}

.service-card li,
.check-list li {
  color: #eef4ff;
  padding-left: 22px;
  position: relative;
}

.service-card li::before,
.check-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  position: absolute;
  left: 0;
  top: 0.72em;
}

.dotacion {
  padding: 70px 0;
}

.dotacion-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 38px;
  background:
    linear-gradient(135deg, rgba(104, 217, 255, 0.18), rgba(168, 121, 238, 0.2)),
    rgba(255, 255, 255, 0.13);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: 36px;
}

.dotacion-panel p {
  margin-top: 18px;
}

.dotacion-panel strong {
  color: var(--ink);
}

.cta {
  padding: 82px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-copy {
  display: grid;
  justify-items: start;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.image-slot.wide {
  min-height: 360px;
}

.family {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.family p {
  max-width: 820px;
  font-size: 1.1rem;
}

.clients {
  overflow: hidden;
  position: relative;
}

.client-slider {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(104, 217, 255, 0.15), rgba(198, 109, 219, 0.13)),
    rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  z-index: 1;
}

.client-slider::before,
.client-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 110px;
  z-index: 2;
  pointer-events: none;
}

.client-slider::before {
  left: 0;
  background: linear-gradient(90deg, rgba(33, 76, 154, 0.98), transparent);
}

.client-slider::after {
  right: 0;
  background: linear-gradient(270deg, rgba(85, 61, 152, 0.98), transparent);
}

.client-track {
  width: max-content;
  display: flex;
  gap: 16px;
  padding: 24px 16px;
  animation: client-slide 46s linear infinite;
}

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

.client-logo {
  width: 220px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgb(255, 255, 255);
  box-shadow: 0 14px 32px rgba(31, 58, 122, 0.18);
  overflow: hidden;
}

.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

@keyframes client-slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 8px));
  }
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.6fr) minmax(220px, 0.7fr);
  gap: 34px;
}

.footer p {
  margin-top: 12px;
}

.footer h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--green);
}

.footer a:hover {
  color: var(--cyan);
}

.footer-brand {
  margin-bottom: 18px;
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
  }

  .nav-button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 0 10px;
    cursor: pointer;
  }

  .nav-button span {
    height: 2px;
    background: var(--ink);
    border-radius: 999px;
  }

  .nav-links {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(17, 26, 54, 0.96);
    flex-direction: column;
    align-items: stretch;
    display: none;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .hero,
  .intro-grid,
  .dotacion-panel,
  .cta,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    margin-top: 20px;
    padding-bottom: 50px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand strong {
    font-size: 0.86rem;
    letter-spacing: 0.18em;
  }

  .brand small {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .logo-slot {
    width: 132px;
    height: 72px;
  }

  h1 {
    width: 100%;
    max-width: 100%;
    padding-right: 10px;
    font-size: clamp(2.25rem, 11.8vw, 3.15rem);
    line-height: 1;
  }

  h1 span {
    display: block;
    max-width: 100%;
  }

  .hero-visual,
  .image-slot,
  .image-slot.tall,
  .image-slot.wide {
    min-height: 300px;
  }

  .service-grid,
  .service-card.featured {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .section-band,
  .dotacion,
  .cta,
  .clients {
    padding: 62px 0;
  }

  .dotacion-panel,
  .service-card {
    padding: 22px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }
}

.button{
  border-radius:14px;
  position:relative;
  overflow:hidden;
}

.button::before{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:100%;
  height:100%;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.4),
    transparent
  );
  transition:.7s;
}

.button:hover::before{
  left:120%;
}

@media (max-width: 390px) {
  h1 {
    font-size: clamp(2rem, 10.6vw, 2.65rem);
  }
}



.social-icons{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:30px;
  margin-top:40px;
  flex-wrap:wrap;
}

.social-icons a{
  width:75px;
  height:75px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:30px;
  color:#fff;
 
  border:1px solid rgba(255,255,255,.08);
  transition:.35s;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.social-icons a:hover{
  transform:translateY(-8px) scale(1.08);
  
}

.social-icons a:nth-child(1):hover{
  color:#1877f2;
}

.social-icons a:nth-child(2):hover{
  color:#ff4da6;
}

.social-icons a:nth-child(3):hover{
  color:#fff;
}

.social-section .section-heading{
  width:100%;
  max-width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  margin:0 auto 25px auto;
}

.social-section .eyebrow{
  text-align:center;
}

.social-section h2{
  width:100%;
  max-width:800px;
  margin:0 auto;
  text-align:center;
}

.image-card img{
  transition:transform 1.2s ease;
}

.image-card:hover img{
  transform:scale(1.06);
}

.service-icon{
  width:54px;
  height:54px;
  border-radius:16px;
  font-size:.9rem;

  box-shadow:
    0 0 20px rgba(104,217,255,.25);

  background:
    linear-gradient(
      135deg,
      #68d9ff,
      #7f7dff,
      #c66ddb
    );
}