:root {
  --blue: #29aafe;
  --cyan: #00bfe9;
  --ink: #06142b;
  --navy: #0a2243;
  --grey: #5b6b80;
  --soft: #f3f8fc;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
.wrap {
  width: min(1200px, 92%);
  margin-inline: auto;
}
#pre {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition:
    opacity 0.6s,
    visibility 0.6s;
}
#pre img {
  width: 150px;
  animation: pulse 1.2s ease-in-out infinite;
}
#pre.done {
  opacity: 0;
  visibility: hidden;
}
@keyframes pulse {
  50% {
    opacity: 0.4;
    transform: scale(0.96);
  }
}
header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition:
    transform 0.5s var(--ease),
    background 0.3s;
}
header.hide {
  transform: translateY(-100%);
}
header.solid {
  background: rgba(6, 20, 43, 0.92);
  backdrop-filter: blur(10px);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.bar img {
  height: 34px;
}
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 1.8rem;
  color: #fff;
}
nav a {
  position: relative;
  padding: 0.3rem 0;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
nav a:hover::after,
nav a[aria-current]::after {
  transform: scaleX(1);
}
.has-sub {
  position: relative;
}
.sub {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 230px;
  background: var(--navy);
  border-radius: 12px;
  padding: 0.6rem 1rem;
  display: none;
  flex-direction: column;
  gap: 0.4rem;
}
.has-sub:hover .sub,
.has-sub:focus-within .sub {
  display: flex;
}
#tg {
  display: none;
  background: none;
  border: 1px solid #fff5;
  color: #fff;
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  font-size: 1rem;
}
.hero {
  min-height: 100svh;
  background: radial-gradient(ellipse at 70% 30%, #0d4b8a 0, var(--ink) 60%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 0 3rem;
  overflow: hidden;
  position: relative;
}
.hero h1 {
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 12ch;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  max-width: 46ch;
  margin: 1.5rem 0 2rem;
  color: #c9d8ea;
  font-size: 1.1rem;
}
.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  color: #04122a;
  font-weight: 600;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px #00bfe955;
}
.btn.ghost {
  background: none;
  border: 1px solid #fff6;
  color: #fff;
  margin-left: 0.6rem;
}
.rv {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.rv.in {
  opacity: 1;
  transform: none;
}
.stage {
  position: relative;
  height: clamp(300px, 42vw, 460px);
  perspective: 1400px;
  margin-top: 2.5rem;
  touch-action: pan-y;
  user-select: none;
}
.card {
  position: absolute;
  left: 50%;
  top: 0;
  width: clamp(210px, 34vw, 420px);
  aspect-ratio: 4/3;
  margin-left: calc(clamp(210px, 34vw, 420px) / -2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px #0008;
  will-change: transform;
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card b {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem;
  background: linear-gradient(transparent, #000b);
  font-size: 1.1rem;
}
.ctl {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1rem;
}
.ctl button {
  background: #ffffff18;
  color: #fff;
  border: 1px solid #fff4;
  border-radius: 99px;
  padding: 0.6rem 1.1rem;
  cursor: pointer;
  font-size: 1rem;
}
.ctl button:hover {
  background: #ffffff30;
}
section.s {
  padding: clamp(4rem, 9vw, 8rem) 0;
}
.s h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}
.tile {
  background: #fff;
  border: 1px solid #dbe8f3;
  border-radius: 20px;
  padding: 2rem;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s;
}
.tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px #29aafe22;
}
.tile h3 {
  margin-bottom: 0.6rem;
}
.tile p {
  color: var(--grey);
  margin-bottom: 1rem;
}
.tile a {
  color: #0a7fc4;
  font-weight: 600;
}
.dark {
  background: var(--navy);
  color: #fff;
}
.dark .tile {
  background: #ffffff0d;
  border-color: #ffffff22;
}
.dark .tile p {
  color: #b7c8dc;
}
.dark .tile a {
  color: var(--cyan);
}
.pagehead {
  background: linear-gradient(135deg, var(--ink), #0d4b8a);
  color: #fff;
  padding: 9rem 0 4rem;
}
.pagehead h1 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
}
.note {
  background: #fff8e1;
  border-left: 4px solid #f5b400;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  color: #5a4500;
}
footer {
  background: var(--ink);
  color: #b7c8dc;
  padding: 3rem 0;
}
footer .grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
footer h4 {
  color: #fff;
  margin-bottom: 0.6rem;
}
footer li {
  list-style: none;
  margin: 0.3rem 0;
}
footer ul {
  padding: 0;
}
.wa {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  background: #25d366;
  color: #fff;
  padding: 0.8rem 1.1rem;
  border-radius: 99px;
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .win,
  .orb,
  .ring,
  .cue i {
    animation: none !important;
  }
}
/* ===== 5.1 Fondo premium: azul oscuro, geometría y gradientes blur ===== */
:root {
  --netweb-night: #061426;
  --netweb-deep-blue: #081d35;
  --netweb-petrol: #0a2948;
  --netweb-blue: #29aafe;
  --netweb-cyan: #00bfe9;
  --netweb-white: #ffffff;
}
.hero,
.pagehead {
  background: linear-gradient(
    180deg,
    var(--netweb-night) 0,
    var(--netweb-deep-blue) 55%,
    var(--netweb-petrol) 100%
  );
}
.hero > *:not(.bg),
.pagehead > *:not(.bg) {
  position: relative;
  z-index: 1;
}
.bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.bg > * {
  position: absolute;
}
.orb {
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}
.orb.a {
  width: 46vw;
  height: 46vw;
  max-width: 680px;
  max-height: 680px;
  right: -12%;
  top: -8%;
  background: radial-gradient(
    circle,
    rgba(41, 170, 254, 0.55),
    rgba(41, 170, 254, 0) 70%
  );
  animation: drift 32s ease-in-out infinite alternate;
}
.orb.b {
  width: 38vw;
  height: 38vw;
  max-width: 560px;
  max-height: 560px;
  left: -14%;
  bottom: 8%;
  background: radial-gradient(
    circle,
    rgba(0, 191, 233, 0.38),
    rgba(0, 191, 233, 0) 70%
  );
  animation: drift 44s ease-in-out infinite alternate-reverse;
}
.orb.c {
  width: 30vw;
  height: 30vw;
  left: 38%;
  top: 36%;
  background: radial-gradient(
    circle,
    rgba(41, 170, 254, 0.22),
    rgba(41, 170, 254, 0) 70%
  );
}
.ring {
  border-radius: 50%;
  border: 1px solid rgba(41, 170, 254, 0.28);
}
.ring.r1 {
  width: 62vw;
  height: 62vw;
  max-width: 880px;
  max-height: 880px;
  right: -22%;
  top: -26%;
  animation: spin 120s linear infinite;
}
.ring.r1::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(0, 191, 233, 0.25);
}
.ring.r2 {
  width: 34vw;
  height: 34vw;
  left: -9%;
  top: 46%;
  border-color: rgba(0, 191, 233, 0.2);
}
.poly {
  width: min(34vw, 420px);
  right: 6%;
  bottom: -8%;
  opacity: 0.8;
  animation: floaty 16s ease-in-out infinite;
}
.mesh {
  inset: 0;
  background:
    linear-gradient(rgba(41, 170, 254, 0.07) 1px, transparent 1px) 0 0/56px 56px,
    linear-gradient(90deg, rgba(41, 170, 254, 0.07) 1px, transparent 1px) 0
      0/56px 56px;
  -webkit-mask-image: radial-gradient(
    ellipse at 70% 30%,
    #000 0,
    transparent 65%
  );
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0, transparent 65%);
}
.pane {
  width: 26vw;
  max-width: 340px;
  aspect-ratio: 1;
  left: 6%;
  top: 14%;
  border: 1px solid rgba(41, 170, 254, 0.25);
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(41, 170, 254, 0.1),
    rgba(0, 191, 233, 0)
  );
  transform: rotate(18deg) skewX(-8deg);
}
.hero .stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10%;
  width: 70%;
  height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse,
    rgba(0, 191, 233, 0.22),
    transparent 65%
  );
  filter: blur(30px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(transparent, var(--soft));
  pointer-events: none;
  z-index: 1;
}
.hero + .s {
  background: var(--soft);
}
.dark {
  background:
    radial-gradient(
      ellipse at 15% 0,
      rgba(41, 170, 254, 0.22),
      transparent 55%
    ),
    radial-gradient(
      ellipse at 90% 100%,
      rgba(0, 191, 233, 0.16),
      transparent 50%
    ),
    var(--netweb-deep-blue);
}
.pagehead .orb.a {
  opacity: 0.7;
}
@keyframes drift {
  to {
    transform: translate3d(-6vw, 5vh, 0) scale(1.12);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes floaty {
  50% {
    transform: translateY(-22px) rotate(4deg);
  }
}
@media (max-width: 860px) {
  .orb {
    filter: blur(44px);
  }
  .orb.c,
  .mesh,
  .pane,
  .ring.r2 {
    display: none;
  }
  .poly {
    opacity: 0.5;
    width: 60vw;
  }
}
/* ===== Portada estilo referencia: tarjeta de imagen + títulos gigantes ===== */
#pre {
  background: #02050a;
}
#pre i {
  display: block;
  height: 2px;
  margin-top: 1.2rem;
  background: linear-gradient(90deg, var(--netweb-blue), var(--netweb-cyan));
  transform-origin: left;
  animation: load 1.6s var(--ease) forwards;
}
@keyframes load {
  from {
    transform: scaleX(0);
  }
}
.bar {
  gap: 1.5rem;
}
nav {
  flex: 1;
}
nav ul {
  justify-content: center;
  gap: 2rem;
  align-items: center;
}
nav a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.explore {
  border: 1px solid #fff;
  border-radius: 99px;
  padding: 0.65rem 1.4rem;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background 0.3s,
    color 0.3s;
}
.explore:hover {
  background: #fff;
  color: #000;
}
.hero {
  display: block;
  min-height: 100svh;
  padding: 6.5rem 0 0;
  background: linear-gradient(180deg, #02050a, #061426);
}
.hero::after {
  display: none;
}
.hero + .dark {
  background:
    radial-gradient(ellipse at 15% 0, rgba(41, 170, 254, 0.2), transparent 55%),
    linear-gradient(180deg, #061426, var(--netweb-deep-blue));
}
.hero-card {
  position: relative;
  width: min(96%, 1400px);
  height: clamp(420px, 72vh, 680px);
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  clip-path: inset(0 round 16px);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s;
}
.slide.on {
  opacity: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s linear;
}
.slide.on img {
  transform: none;
}
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 12, 0.72), transparent 65%);
}
.slide-txt {
  position: absolute;
  z-index: 2;
  left: clamp(1.2rem, 4vw, 3.5rem);
  top: clamp(4.2rem, 9vw, 6rem);
  max-width: 36ch;
  color: #fff;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s 0.4s,
    transform 0.8s var(--ease) 0.4s;
}
.slide.on .slide-txt {
  opacity: 1;
  transform: none;
}
.slide-txt h2 {
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  line-height: 1.05;
}
.hero .slide-txt p {
  margin: 0.8rem 0 1.2rem;
  font-size: 1rem;
  color: #dbe8f5;
}
.hc {
  position: absolute;
  z-index: 3;
  left: clamp(1.2rem, 4vw, 3.5rem);
  top: clamp(1rem, 2.5vw, 1.8rem);
  display: flex;
  gap: 0.5rem;
}
.hc button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #fff6;
  background: #0007;
  color: #fff;
  cursor: pointer;
}
.hc button:hover {
  background: #fff;
  color: #000;
}
.badge {
  position: absolute;
  z-index: 3;
  top: clamp(0.8rem, 3vw, 2rem);
  right: clamp(0.8rem, 3vw, 2rem);
  width: clamp(84px, 10vw, 128px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #000;
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform 0.4s var(--ease);
}
.badge:hover {
  transform: scale(1.08);
}
.badge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  animation: spin 18s linear infinite;
}
.badge b {
  font-size: 1.6rem;
  font-weight: 400;
}
.hero h1 {
  position: relative;
  z-index: 2;
  max-width: none;
  width: min(94%, 1300px);
  margin: -0.55em auto 0;
  text-align: center;
  font-size: clamp(4rem, 17vw, 17rem);
  line-height: 0.82;
  font-weight: 800;
  letter-spacing: -0.03em;
  pointer-events: none;
}
.hero h1 .split {
  display: block;
}
.l1 {
  color: #000;
}
.l2 {
  color: #1aa7d8;
}
.ch {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 0.02em 0.06em;
}
.ch > span {
  display: inline-block;
}
.car p {
  color: #b7c8dc;
  max-width: 70ch;
  margin-bottom: 1rem;
}
.car .stage {
  margin-top: 3rem;
}
.car .stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10%;
  width: 70%;
  height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse,
    rgba(0, 191, 233, 0.22),
    transparent 65%
  );
  filter: blur(30px);
  pointer-events: none;
}
.lead {
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  margin-top: 3rem;
  font-weight: 700;
  max-width: 30ch;
}
.lead span {
  color: #0a7fc4;
}
@media all {
  .js:not(.ready) .hero-card {
    clip-path: inset(0 0 100% 0 round 16px);
  }
  .hero-card {
    transition: clip-path 1.3s var(--ease) 0.15s;
  }
  .js:not(.ready) header {
    transform: translateY(-100%);
    opacity: 0;
  }
  header {
    transition:
      transform 0.8s var(--ease) 0.2s,
      opacity 0.8s 0.2s,
      background 0.3s;
  }
  .js:not(.ready) .ch > span {
    transform: translateY(112%);
  }
  .ch > span {
    transition: transform 1.1s var(--ease) calc(0.6s + var(--i) * 0.07s);
  }
  .l2 .ch > span {
    transition-delay: calc(1s + var(--i) * 0.07s);
  }
  .js:not(.ready) .badge {
    transform: scale(0) rotate(-120deg);
  }
  .badge {
    transition: transform 1s var(--ease) 1.4s;
  }
  .js:not(.ready) .hc {
    opacity: 0;
  }
  .hc {
    transition: opacity 0.8s 1.2s;
  }
}
@media (max-width: 860px) {
  .explore {
    display: none;
  }
  nav a {
    font-size: 0.9rem;
  }
  .hero-card {
    height: clamp(440px, 68vh, 560px);
  }
  .slide-txt {
    max-width: 78%;
  }
  .hero .slide-txt p {
    font-size: 0.9rem;
  }
}
/* ===== Maqueta M2: tema oscuro, tipografía itálica, secciones ===== */
body {
  background: #0a0a0c;
  color: #dfe8f3;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}
h1,
h2,
h3,
nav a,
.explore {
  font-family: Montserrat, "Segoe UI", sans-serif;
}
.bar img {
  height: 44px;
}
nav a {
  font-weight: 500;
}
.hero {
  background: #0a0a0c;
}
.hero .bg {
  opacity: 0.35;
}
.hero-card {
  width: min(96%, 1400px);
  height: auto;
  aspect-ratio: 2.08/1;
  max-height: 76vh;
  background: radial-gradient(ellipse at 50% 20%, #04163a, #010510 75%);
  border-radius: 28px;
  clip-path: inset(0 round 28px);
}
.hero-card canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.hero h1 {
  font-family: Montserrat, sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(3.4rem, 13.5vw, 14rem);
  line-height: 0.86;
  margin: -0.78em auto 0;
  letter-spacing: -0.02em;
}
.l1 {
  color: #000;
}
.l2 {
  color: #29aafe;
}
.ch {
  padding: 0 0.09em 0.08em;
}
.hero-cta {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 2rem 0 4rem;
}
.hero-cta .btn.ghost {
  margin: 0;
}
.btn {
  background: #29aafe;
  color: #04122a;
}
.btn.cy {
  background: #00bfe9;
}
.btn.ghost {
  background: none;
  color: #fff;
  border: 1px solid #fff9;
}
.hero::after {
  display: none;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.intro {
  padding: 5rem 0;
  background: #0a0a0c;
}
.intro .wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.intro h2 {
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  line-height: 1.05;
  margin: 0 0 1.5rem;
}
.intro h2 em,
.story h2 em {
  font-style: inherit;
  color: #29aafe;
}
.intro p {
  color: #cfd9e6;
  max-width: 52ch;
}
.stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.stats b {
  display: block;
  font:
    italic 900 2.6rem Montserrat,
    sans-serif;
}
.stats b.bl {
  color: #29aafe;
}
.stats span {
  color: #aab8c8;
  font-size: 0.9rem;
}
.engine {
  perspective: 1200px;
  padding: 2rem;
}
.win {
  transform: rotateY(-14deg) rotateX(4deg) rotateZ(-3deg);
  background: linear-gradient(145deg, #0e2036, #0a1524);
  border: 1px solid #29aafe33;
  border-radius: 22px;
  padding: 1.4rem;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow:
    0 0 90px #0a5fb855,
    0 30px 60px #0008;
}
.dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}
.dots i:nth-child(2) {
  background: #febc2e;
}
.dots i:nth-child(3) {
  background: #28c840;
}
.dots span {
  margin-left: auto;
  font-size: 0.7rem;
  color: #7d93ab;
  font-family: monospace;
}
.bars i {
  display: block;
  height: 10px;
  border-radius: 9px;
  background: #1b4f86;
  margin: 0.7rem 0;
  width: 70%;
}
.bars i + i {
  width: 90%;
  background: #2a3a4d;
}
.chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.chips div {
  border: 1px solid #29aafe33;
  border-radius: 12px;
  padding: 0.9rem;
  font-size: 0.8rem;
  background: #ffffff08;
}
.foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #7d93ab;
}
.foot b {
  color: #29aafe;
}
.mods {
  background: linear-gradient(180deg, #0a0a0c 0, #0a0a0c 30%, #0a2948 100%);
  padding: 5rem 0 6rem;
  overflow-x: clip;
}
.mods .stage {
  --cw: clamp(250px, 30vw, 360px);
  height: clamp(340px, 34vw, 420px);
  margin-top: 0;
}
.mods .stage::before {
  display: none;
}
.mod {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--cw);
  margin-left: calc(var(--cw) / -2);
  min-height: 290px;
  padding: 1.6rem;
  border-radius: 22px;
  background: linear-gradient(160deg, #111c30, #0c1626);
  border: 1px solid #29aafe22;
  box-shadow: 0 30px 60px #0008;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  will-change: transform;
}
.ico {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #29aafe22;
  color: #29aafe;
  margin-bottom: 0.6rem;
}
.mod-1 {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--cw);
  margin-left: calc(var(--cw) / -2);
  min-height: 290px;
  padding: 1.6rem;
  border-radius: 22px;
  background: linear-gradient(160deg, #ffbe0b, #c9960b);
  border: 1px solid #c9960b;
  box-shadow: 0 10px 60px #c9960b;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  will-change: transform;
}
.ico-1 {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #c9960b;
  color: #000;
  margin-bottom: 0.6rem;
}

.mod-2 {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--cw);
  margin-left: calc(var(--cw) / -2);
  min-height: 290px;
  padding: 1.6rem;
  border-radius: 22px;
  background: linear-gradient(160deg, #fb5607, #cf4606);
  border: 1px solid #cf4606;
  box-shadow: 0 10px 60px #cf4606;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  will-change: transform;
}
.ico-2 {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #cf4606;
  color: #fff;
  margin-bottom: 0.6rem;
}

.mod-3 {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--cw);
  margin-left: calc(var(--cw) / -2);
  min-height: 290px;
  padding: 1.6rem;
  border-radius: 22px;
  background: linear-gradient(160deg, #ff006e, #ca0359);
  border: 1px solid #ca0359;
  box-shadow: 0 10px 60px #ca0359;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  will-change: transform;
}
.ico-3 {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ca0359;
  color: #fff;
  margin-bottom: 0.6rem;
}

.mod-4 {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--cw);
  margin-left: calc(var(--cw) / -2);
  min-height: 290px;
  padding: 1.6rem;
  border-radius: 22px;
  background: linear-gradient(160deg, #8338ec, #6429b6);
  border: 1px solid #6429b6;
  box-shadow: 0 10px 60px #6429b6;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  will-change: transform;
}
.ico-4 {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #6429b6;
  color: #fff;
  margin-bottom: 0.6rem;
}

.mod-5 {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--cw);
  margin-left: calc(var(--cw) / -2);
  min-height: 290px;
  padding: 1.6rem;
  border-radius: 22px;
  background: linear-gradient(160deg, #3a86ff, #2961b9);
  border: 1px solid #2961b9;
  box-shadow: 0 10px 60px #2961b9;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  will-change: transform;
}
.ico-5 {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #2961b9;
  color: #fff;
  margin-bottom: 0.6rem;
}

.mod-6 {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--cw);
  margin-left: calc(var(--cw) / -2);
  min-height: 290px;
  padding: 1.6rem;
  border-radius: 22px;
  background: linear-gradient(160deg, #111c30, #0c1626);
  border: 1px solid #29aafe22;
  box-shadow: 0 10px 60px #2961b9;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  will-change: transform;
}
.ico-6 {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #29aafe22;
  color: #29aafe;
  margin-bottom: 0.6rem;
}

.mod small {
  color: #29aafe;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}
.mod h3 {
  font-size: 1.4rem;
  line-height: 1.15;
}
.mod p {
  color: #aab8c8;
  font-size: 0.92rem;
}
.mod a {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #ffffff14;
  color: #29aafe;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
}

.mod-1 a {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #fff;
  color: #f2f4f5;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
}

.mod-2 a {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #ffffff14;
  color: #29aafe;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
}

.mod-3 a {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #ffffff14;
  color: #29aafe;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
}

.mod-4 a {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #ffffff14;
  color: #29aafe;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
}

.mod-5 a {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #ffffff14;
  color: #29aafe;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
}

.mod-6 a {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #ffffff14;
  color: #29aafe;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
}

.story {
  background: #081d35;
  padding: 5rem 0;
}
.sgrid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.chip {
  display: inline-block;
  border: 1px solid #29aafe55;
  color: #29aafe;
  border-radius: 99px;
  padding: 0.3rem 0.9rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.chip.c {
  border: 0;
  display: block;
  text-align: center;
}
.story h2,
.prods h2 {
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.story p {
  color: #c2cfde;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}
.gl {
  background: #ffffff08;
  border: 1px solid #29aafe22;
  border-radius: 20px;
  padding: 1.6rem;
}
.gl h3 {
  margin-bottom: 0.5rem;
}
.gl p {
  font-size: 0.9rem;
  color: #b3c2d3;
}
.big {
  padding: 2rem;
}
.yrs {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.yrs b {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #29aafe;
  color: #04122a;
  font:
    800 1.9rem Montserrat,
    sans-serif;
}
.chk {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.chk li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.chk svg {
  flex: none;
  color: #29aafe;
  background: #29aafe22;
  border-radius: 50%;
  padding: 4px;
  width: 26px;
  height: 26px;
}
.chk p {
  margin: 0.2rem 0 0;
}
.prods {
  background: linear-gradient(180deg, #081d35, #061426);
  padding: 5rem 0;
}
.sub2 {
  color: #9fb0c4;
  max-width: 60ch;
  margin: 0 auto 3rem;
}
.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: auto;
  text-align: left;
}
.pgrid h3 {
  font-size: 1.6rem;
}
.pgrid p {
  margin: 0.8rem 0;
}
.pgrid ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  font-size: 0.85rem;
  color: #c2cfde;
}
.pgrid li {
  margin: 0.4rem 0;
}
.pgrid li::before {
  content: "◆ ";
  color: #29aafe;
  font-size: 0.7rem;
}
.pgrid .btn {
  display: block;
  text-align: center;
  font-size: 0.9rem;
}
footer {
  background: #061426;
  border-top: 1px solid #ffffff12;
}
.fgrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
footer h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
footer p,
footer li {
  font-size: 0.85rem;
}
.soc a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--blue);
  font-size: 20px;
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.soc a:hover {
  color: #fff;
  background: var(--blue);
  transform: translateY(-4px);
}
.fbot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ffffff12;
  font-size: 0.75rem;
  color: #7d93ab;
}
.s {
  color: #dfe8f3;
}
.s h2 {
  color: #fff;
}
.pagehead {
  background: linear-gradient(180deg, #061426, #081d35);
}
@media (max-width: 860px) {
  .intro .wrap,
  .sgrid,
  .fgrid {
    grid-template-columns: 1fr;
  }
  .two {
    grid-template-columns: 1fr;
  }
  .engine {
    padding: 0.5rem;
  }
  .win {
    transform: none;
  }
  .hero-card {
    aspect-ratio: 1.5/1;
    border-radius: 20px;
    clip-path: inset(0 round 20px);
  }
}
/* ===== Maqueta 2: logotipo grande como título de portada ===== */
.hero h1 {
  width: min(75vw, 1100px);
  max-width: none;
  margin: calc(min(75vw, 1100px) * -0.17) auto 0;
  font-size: 1rem;
  line-height: 0;
  pointer-events: none;
}
.hero-logo {
  display: block;
  width: 100%;
  height: auto;
}
@media all {
  .js:not(.ready) .hero-logo {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  .hero-logo {
    transition:
      opacity 1.2s var(--ease) 0.7s,
      transform 1.4s var(--ease) 0.7s;
  }
}
/* ===== Tipografía Dessau-Light + video de portada ===== */
@font-face {
  font-family: "Dessau-Light";
  src:
    local("Dessau-Light"),
    local("Dessau Light"),
    url(../assets/fonts/Dessau-Light.woff2) format("woff2"),
    url(../assets/fonts/Dessau-Light.otf) format("opentype"),
    url(../assets/fonts/Dessau-Light.ttf) format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
.hero h1 {
  width: min(82%, 1300px);
  margin: -0.6em auto 0;
  font-family: "Dessau-Light", "Dessau", Montserrat, sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: clamp(4.2rem, 17vw, 17rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}
.l1,
.l2 {
  color: #fff;
}
.hero h1 .l1 {
  text-align: left;
}
.hero h1 .l2 {
  text-align: right;
  padding-right: 4%;
}
.hero-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.has-video canvas {
  display: none;
}
#vp {
  display: none;
  position: absolute;
  z-index: 3;
  right: 1rem;
  top: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #fff6;
  background: #0007;
  color: #fff;
  cursor: pointer;
  place-items: center;
}
.has-video #vp {
  display: grid;
}
#vp:hover {
  background: #fff;
  color: #000;
}
/* ===== Movimiento y dinamismo ===== */
.hero h1 {
  position: relative;
}
.hero h1 .split {
  position: relative;
  z-index: 1;
}
.orbn {
  position: absolute;
  z-index: 0;
  left: -0.08em;
  top: 0.12em;
  width: 0.8em;
  height: 0.8em;
  border-radius: 50%;
  background: linear-gradient(135deg, #29aafe, #00bfe9);
  box-shadow: 0 0 60px #00bfe944;
  animation: bob 7s ease-in-out infinite;
}
.hero > .sweep {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 22%;
  width: 100%;
  height: 110px;
  pointer-events: none;
}
.sweep path {
  fill: none;
  stroke: #4d7cff;
  stroke-width: 1.3;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.4s var(--ease) 1s;
}
.marq {
  overflow: hidden;
  border-block: 1px solid #ffffff14;
  padding: 1.1rem 0;
  background: #0a0a0c;
}
.track {
  display: flex;
  width: max-content;
  animation: mq 40s linear infinite;
}
.marq:hover .track {
  animation-play-state: paused;
}
.track span {
  font:
    300 clamp(1.6rem, 4vw, 3rem) "Dessau-Light",
    Montserrat,
    sans-serif;
  color: transparent;
  -webkit-text-stroke: 1px #29aafe99;
  white-space: nowrap;
  padding-right: 3rem;
}
.track span::after {
  content: "✦";
  margin-left: 3rem;
  color: #29aafe;
  -webkit-text-stroke: 0;
}
#prog {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 60;
  background: linear-gradient(90deg, #29aafe, #00bfe9);
  transform: scaleX(0);
  transform-origin: left;
}
#glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(41, 170, 254, 0.16),
    transparent 65%
  );
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.6s;
}
#glow.on {
  opacity: 1;
}
.win {
  transform: rotateY(calc(-14deg + var(--ry, 0deg)))
    rotateX(calc(4deg + var(--rx, 0deg))) rotateZ(-3deg);
  transition: transform 0.25s;
  animation: bob 8s ease-in-out infinite;
}
.gl,
.mod {
  transition:
    translate 0.4s var(--ease),
    border-color 0.3s;
}
.gl:hover {
  translate: 0 -6px;
  border-color: #29aafe66;
}
.btn {
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s,
    translate 0.25s;
}
.engine {
  perspective: 1200px;
}
@keyframes bob {
  50% {
    translate: 0 -12px;
  }
}
@keyframes mq {
  to {
    transform: translateX(-50%);
  }
}
@media all {
  .js:not(.ready) .orbn {
    transform: scale(0);
  }
  .orbn {
    transition: transform 1.2s var(--ease) 0.5s;
  }
  .js:not(.ready) .sweep path {
    stroke-dashoffset: 1;
  }
}

@media (max-width: 860px) {
  .win {
    transform: none !important;
  }
}
/* ===== Dinamismo v2 ===== */
.wd {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.14em;
}
.wd > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease);
  transition-delay: calc(var(--w) * 0.07s + 0.1s);
}
.wr.rv {
  opacity: 1;
  transform: none;
}
.wr.in .wd > span {
  transform: none;
}
.intro h2 em,
.story h2 em {
  animation: cc 4s ease-in-out infinite;
}
@keyframes cc {
  50% {
    color: #00bfe9;
  }
}
.cue {
  display: block;
  width: 26px;
  height: 42px;
  border: 1.5px solid #fff8;
  border-radius: 14px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 3;
}
.cue i {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #29aafe;
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(16px);
  }
}
.hero-cta {
  padding-bottom: 2rem;
}
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    #ffffff66 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn:hover::after {
  transform: translateX(120%);
}
.hero h1 .ch {
  pointer-events: auto;
  cursor: default;
}
.ch > span {
  transition:
    transform 1.1s var(--ease) calc(0.6s + var(--i) * 0.07s),
    color 0.3s,
    translate 0.4s var(--ease);
}
.ch:hover > span {
  color: #00bfe9;
  translate: 0 -0.05em;
}
.gl,
.mod {
  position: relative;
}
.gl::before,
.mod::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 50%),
    rgba(41, 170, 254, 0.2),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
}
.gl:hover::before,
.mod:hover::before {
  opacity: 1;
}
.gl > *,
.mod > * {
  position: relative;
  z-index: 1;
}
.mod-1 > * {
  position: relative;
  z-index: 1;
}
.mod-2 > * {
  position: relative;
  z-index: 1;
}
.mod-3 > * {
  position: relative;
  z-index: 1;
}
.mod-4 > * {
  position: relative;
  z-index: 1;
}
.mod-5 > * {
  position: relative;
  z-index: 1;
}
.mod-6 > * {
  position: relative;
  z-index: 1;
}

.mod {
  position: absolute;
  transition:
    border-color 0.4s,
    box-shadow 0.4s;
}
.mod-1 {
  position: absolute;
  transition:
    border-color 0.4s,
    box-shadow 0.4s;
}
.mod-2 {
  position: absolute;
  transition:
    border-color 0.4s,
    box-shadow 0.4s;
}
.mod-3 {
  position: absolute;
  transition:
    border-color 0.4s,
    box-shadow 0.4s;
}
.mod-4 {
  position: absolute;
  transition:
    border-color 0.4s,
    box-shadow 0.4s;
}
.mod-5 {
  position: absolute;
  transition:
    border-color 0.4s,
    box-shadow 0.4s;
}
.mod-6 {
  position: absolute;
  transition:
    border-color 0.4s,
    box-shadow 0.4s;
}
.mod.act {
  border-color: #29aafe77;
  box-shadow:
    0 30px 70px #000a,
    0 0 50px #29aafe33;
}
.story,
.prods {
  position: relative;
  overflow: hidden;
}
.story > .wrap,
.prods > .wrap {
  position: relative;
  z-index: 1;
}
#curtain {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #061426, #0a2948);
  z-index: 98;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease);
  pointer-events: none;
}
.leave #curtain {
  transform: scaleY(1);
}
.marq {
  transition: transform 0.3s;
}
@media (prefers-reduced-motion: reduce) {
  .wd > span {
    transform: none;
  }
  .cue i,
  .intro h2 em,
  .story h2 em {
    animation: none;
  }
}
/* ===== Maqueta 3: título centrado, sin círculo ni línea ===== */
.hero h1 .l1,
.hero h1 .l2 {
  text-align: center;
  padding-right: 0;
}
/* ===== Título más compacto y animado ===== */
.hero h1 {
  font-size: clamp(2.6rem, 8vw, 8rem);
  line-height: 0.9;
  margin-top: -0.7em;
}
.ch {
  padding-top: 0.1em;
}
@keyframes wv {
  50% {
    translate: 0 -0.07em;
  }
}
@keyframes lt {
  50% {
    color: #29aafe;
  }
}
@media all {
  .ready .ch > span {
    animation:
      wv 5s ease-in-out infinite,
      lt 6s ease-in-out infinite;
    animation-delay:
      calc(2.4s + var(--i) * 0.15s), calc(2.6s + var(--i) * 0.2s);
  }
  .js:not(.ready) .l1 .ch > span {
    filter: blur(8px);
  }
  .l1 .ch > span,
  .l2 .ch > span {
    filter: blur(0);
  }
}
/* ===== Página Empresa ===== */
.emp .sgrid {
  align-items: start;
}
.emp p {
  margin-bottom: 1rem;
}
.emp .two {
  margin-top: 3rem;
}
.gal {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #29aafe33;
  box-shadow: 0 30px 60px #0008;
}
.gal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition:
    opacity 1.2s,
    transform 7s linear;
  transform: scale(1.06);
}
.gal img.on {
  opacity: 1;
  transform: none;
}
.clients h2 {
  margin-bottom: 2rem;
}
.logos {
  background: none;
  border: 0;
  padding: 1rem 0;
}
.logos .track {
  gap: 0;
  animation-duration: 45s;
}
.logos img {
  height: 90px;
  width: auto;
  background: #fff;
  border-radius: 14px;
  padding: 0.7rem 1.2rem;
  flex: none;
  margin-right: 1.5rem;
}
/* ===== Desarrollo de software ===== */
.tech {
  padding-bottom: 5rem;
}
.tech h2 {
  margin-bottom: 2.5rem;
  text-align: left;
}
.tgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
  text-align: left;
}
.chipsl {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chipsl li {
  background: #29aafe18;
  border: 1px solid #29aafe33;
  border-radius: 99px;
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  color: #cfe6fb;
  transition:
    background 0.3s,
    transform 0.3s var(--ease);
}
.chipsl li:hover {
  background: #29aafe44;
  transform: translateY(-2px);
}
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, #29aafe, #00bfe9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s var(--ease) 0.3s;
}
.steps.in::before {
  transform: scaleX(1);
}
.step {
  position: relative;
  text-align: center;
}
.step b {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #081d35;
  border: 2px solid #29aafe;
  color: #29aafe;
  font:
    700 1rem Montserrat,
    sans-serif;
  position: relative;
  z-index: 1;
}
.step h3 {
  font-size: 1.15rem;
}
@media (max-width: 700px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 2rem;
  }
  .steps::before {
    display: none;
  }
}
/* ===== Páginas de servicios ===== */
.pagehead.svc {
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.pagehead.svc > .wrap {
  position: relative;
  z-index: 1;
}
.svg {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
}
.pagehead.svc h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0.6rem 0 1rem;
  font-weight: 600;
}
.pagehead.svc p {
  max-width: 56ch;
  color: #c9d8ea;
  margin-bottom: 1.6rem;
}
.scene {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  margin: auto;
}
.scene::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px dashed #29aafe55;
  animation: spin 40s linear infinite;
}
.scene .core {
  position: absolute;
  inset: 30%;
  display: grid;
  place-items: center;
  border-radius: 32px;
  background: linear-gradient(135deg, #29aafe, #00bfe9);
  color: #04122a;
  box-shadow: 0 0 80px #00bfe955;
  animation: bob 6s ease-in-out infinite;
}
.scene i {
  position: absolute;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #0c1b30cc;
  border: 1px solid #29aafe55;
  color: #29aafe;
  backdrop-filter: blur(6px);
  animation: bob 5s ease-in-out infinite;
}
.scene .s1 {
  left: 2%;
  top: 14%;
}
.scene .s2 {
  right: 0;
  top: 30%;
  animation-delay: -1.5s;
}
.scene .s3 {
  left: 20%;
  bottom: 2%;
  animation-delay: -3s;
}
.lead2 {
  max-width: 80ch;
  color: #c2cfde;
  margin: -0.4rem 0 2rem;
}
.cta {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, #0a2948, #061426);
}
.cta > .wrap {
  position: relative;
  z-index: 1;
}
.cta h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  max-width: 26ch;
  margin: 0 auto 1.8rem;
  font-weight: 600;
}
.tgrid .gl .ico {
  margin-bottom: 0.8rem;
}
.tgrid .gl h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.soc {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}
.gal.contain img {
  object-fit: contain;
  background: #fff;
}
.gal {
  background: radial-gradient(ellipse at 30% 20%, #0d3a66, #061426);
}
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem;
}
.subnav .chip {
  margin: 0;
  transition:
    background 0.3s,
    color 0.3s;
}
.subnav .chip:hover {
  background: #29aafe;
  color: #04122a;
}
[id] {
  scroll-margin-top: 5rem;
}
.step b {
  display: grid;
}
.step small {
  display: block;
  color: #29aafe;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}
.serp {
  position: relative;
  border: 1px solid #29aafe33;
  border-radius: 20px;
  background: #0c1626;
  padding: 1.2rem;
  box-shadow: 0 30px 60px #0008;
}
.sbar {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  border: 1px solid #ffffff22;
  border-radius: 99px;
  padding: 0.6rem 1rem;
  color: #aab8c8;
  margin-bottom: 1rem;
}
.sbar svg {
  color: #29aafe;
}
.rows {
  position: relative;
  height: 262px;
}
.row {
  position: absolute;
  left: 0;
  right: 0;
  height: 78px;
  border-radius: 14px;
  background: #ffffff08;
  border: 1px solid #ffffff12;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  justify-content: center;
}
.row i {
  display: block;
  height: 9px;
  border-radius: 6px;
  background: #2a3a4d;
  width: 80%;
}
.row i + i {
  width: 55%;
  background: #1d2a3a;
}
.r1 {
  top: 0;
  animation: down 8s ease-in-out infinite;
}
.r2 {
  top: 92px;
  animation: down 8s ease-in-out infinite;
}
.r3 {
  top: 184px;
  animation: up 8s ease-in-out infinite;
}
.row.hit {
  border-color: #00bfe9;
  background: #00bfe91a;
  box-shadow: 0 0 30px #00bfe933;
}
.row.hit i {
  background: #29aafe;
}
.row.hit::after {
  content: "#1";
  position: absolute;
  right: 1rem;
  top: 0.8rem;
  font-weight: 700;
  color: #00bfe9;
  opacity: 0;
  animation: rank 8s ease-in-out infinite;
}
@keyframes up {
  0%,
  15% {
    transform: none;
  }
  40%,
  85% {
    transform: translateY(-184px);
  }
  100% {
    transform: none;
  }
}
@keyframes down {
  0%,
  15% {
    transform: none;
  }
  40%,
  85% {
    transform: translateY(92px);
  }
  100% {
    transform: none;
  }
}
@keyframes rank {
  0%,
  35% {
    opacity: 0;
  }
  45%,
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.plan h3 {
  font-size: 1.2rem;
  color: #29aafe;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price {
  font:
    700 2.2rem Montserrat,
    sans-serif;
  color: #fff;
  margin: 0.4rem 0 1rem;
}
.price small {
  font-size: 0.9rem;
  color: #9fb0c4;
  font-weight: 500;
}
.plan .chk {
  gap: 0.6rem;
}
.plan .chk li {
  font-size: 0.85rem;
  color: #c2cfde;
}
.plan .chk svg {
  width: 22px;
  height: 22px;
}
@media (max-width: 860px) {
  .svg {
    grid-template-columns: 1fr;
  }
  .scene {
    width: min(70%, 260px);
  }
}
/* ===== Clientes y contacto ===== */
.logos.rev .track {
  animation-direction: reverse;
}
.logos + .logos {
  padding-top: 0;
}
.lgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}
.lcard {
  display: grid;
  place-items: center;
  height: 110px;
  background: #fff;
  border-radius: 16px;
  padding: 0.8rem;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s;
}
.lcard:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 40px #29aafe33;
}
.lcard img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.cgrid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.cform {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 2rem;
}
.fld {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.fld.full {
  grid-column: 1/-1;
}
.fld label {
  font-size: 0.82rem;
  color: #aab8c8;
}
.fld input,
.fld select,
.fld textarea {
  background: #0a1626;
  border: 1px solid #29aafe33;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  color: #fff;
  font: inherit;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.fld input:focus,
.fld select:focus,
.fld textarea:focus {
  outline: none;
  border-color: #29aafe;
  box-shadow: 0 0 0 3px #29aafe33;
}
.fld [aria-invalid="true"] {
  border-color: #ff6b6b;
}
.fnote {
  font-size: 0.85rem;
  color: #9fb0c4;
  margin-top: 0.8rem;
}
.cinfo {
  margin-top: 1rem;
}
.cinfo a:hover {
  color: #29aafe;
}
@media (max-width: 860px) {
  .cgrid,
  .cform {
    grid-template-columns: 1fr;
  }
}

/* ===== Menú móvil (hamburguesa) ===== */
#tg {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid #fff5;
  background: #0007;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
#tg:hover {
  background: #ffffff22;
}
.bars {
  position: relative;
  display: block;
  width: 22px;
  height: 16px;
}
.bars i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition:
    transform 0.35s var(--ease),
    opacity 0.2s,
    top 0.35s var(--ease);
}
.bars i:nth-child(1) {
  top: 0;
}
.bars i:nth-child(2) {
  top: 7px;
}
.bars i:nth-child(3) {
  top: 14px;
}
#mx .bars i:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
#mx .bars i:nth-child(2) {
  opacity: 0;
}
#mx .bars i:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}
#mback {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(2, 6, 12, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s,
    visibility 0.35s;
}
#mnav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 92vw);
  z-index: 1001;
  background: linear-gradient(180deg, #081d35, #061426);
  border-left: 1px solid #29aafe33;
  padding: 1.1rem 1.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 0.45s var(--ease),
    visibility 0.45s;
}
body.menu-open {
  overflow: hidden;
}
.menu-open #mback {
  opacity: 1;
  visibility: visible;
}
.menu-open #mnav {
  transform: none;
  visibility: visible;
}
.mtop {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mtop img {
  height: 34px;
}
#mx {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid #fff5;
  background: #ffffff10;
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
}
#mx:hover {
  background: #ffffff25;
}
#mnav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#mnav li {
  border-bottom: 1px solid #ffffff14;
}
#mnav li > a,
#mnav summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0.5rem 0.2rem;
  font:
    600 0.95rem Montserrat,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  cursor: pointer;
  list-style: none;
}
#mnav summary::-webkit-details-marker {
  display: none;
}
#mnav summary::after {
  content: "+";
  font-size: 1.3rem;
  color: #29aafe;
  transition: transform 0.3s;
}
#mnav details[open] summary::after {
  transform: rotate(45deg);
}
#mnav .msub {
  padding: 0 0 0.6rem 1rem;
  display: grid;
}
#mnav .msub a {
  padding: 0.65rem 0.4rem;
  color: #c2cfde;
  font-size: 0.95rem;
}
#mnav .msub a:hover,
#mnav li > a:hover {
  color: #29aafe;
}
#mnav a[aria-current] {
  color: #29aafe;
}
#mnav .btn {
  text-align: center;
}
.mfoot {
  font-size: 0.85rem;
  color: #9fb0c4;
  margin-top: auto;
}
.mfoot a {
  color: #cfe6fb;
}
.subnav a {
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
}
.subnav a::after {
  display: none;
}
@media (max-width: 1000px) {
  #tg {
    display: inline-flex;
  }
  header nav {
    display: none;
  }
  .bar {
    padding: 0.7rem 0;
  }
  .bar img {
    height: 38px;
  }
}
@media (min-width: 1001px) {
  #mnav,
  #mback {
    display: none;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: 90%;
  }
}
/* ===== Mega menú ===== */
.has-mega {
  position: static;
}
.mtrig {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 0;
  padding: 0.3rem 0;
  color: #fff;
  font:
    500 0.78rem Montserrat,
    sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s;
}
.mtrig:hover,
.has-mega.open > .mtrig {
  color: #29aafe;
}
.mtrig svg {
  width: 11px;
  height: 11px;
  transition: transform 0.35s var(--ease);
}
.has-mega.open > .mtrig svg {
  transform: rotate(180deg);
}
.mega {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  width: min(800px, 94vw);
  padding: 1.4rem 1.6rem 1.5rem;
  border-radius: 22px;
  background: rgba(7, 20, 38, 0.97);
  border: 1px solid #29aafe33;
  box-shadow:
    0 40px 80px #000a,
    0 0 60px #29aafe14;
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 14px) scale(0.98);
  transform-origin: top center;
  transition:
    opacity 0.28s,
    transform 0.45s var(--ease),
    visibility 0s 0.45s;
  text-transform: none;
}
.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 20px;
}
.has-mega.open > .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.mega.sm {
  width: min(580px, 94vw);
}
.mega.sm .mgrid {
  grid-template-columns: 1fr 1fr;
}
.mh {
  font:
    600 0.95rem Montserrat,
    sans-serif;
  color: #9fb0c4;
  padding-bottom: 0.8rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid;
  border-image: linear-gradient(90deg, #29aafe66, transparent) 1;
}
.mgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem 1.2rem;
}
.mega a::after {
  display: none;
}
.mega a {
  padding: 0;
  font-size: inherit;
  letter-spacing: 0;
  text-transform: none;
}
.mi {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0.6rem;
  border-radius: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    background 0.3s,
    translate 0.35s var(--ease);
}
.has-mega.open .mi {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.4s calc(var(--i) * 0.05s + 0.08s),
    transform 0.5s var(--ease) calc(var(--i) * 0.05s + 0.08s),
    background 0.3s,
    translate 0.35s var(--ease);
}
.mi:hover,
.mi:focus-visible {
  background: #ffffff0f;
  translate: 4px 0;
}
.mic {
  flex: none;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  color: #fff;
  box-shadow: 0 10px 22px -6px var(--g2);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s;
}
.mi:hover .mic {
  transform: scale(1.1);
  box-shadow: 0 14px 28px -6px var(--g2);
}
.mi b {
  display: block;
  font:
    700 0.9rem Montserrat,
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--g1);
  transition: letter-spacing 0.35s var(--ease);
}
.mi:hover b {
  letter-spacing: 0.11em;
}
.mi small {
  display: block;
  color: #9fb0c4;
  font-size: 0.82rem;
  line-height: 1.35;
  margin-top: 0.15rem;
}
.mcta {
  display: block;
  margin-top: 1.2rem;
  text-align: center;
  padding: 0.95rem;
  font:
    700 0.8rem Montserrat,
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@media (max-width: 1180px) {
  nav ul {
    gap: 1.3rem;
  }
  nav a,
  .mtrig {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }
}
/* ===== Hamburguesa fija (por encima de todo) y panel móvil ===== */
#tg {
  position: fixed;
  top: 7px;
  right: 4%;
  z-index: 1002;
  transition:
    transform 0.5s var(--ease),
    opacity 0.4s,
    background 0.3s;
}
#tg.hide {
  transform: translateY(-140%);
}
#tg.hide[aria-expanded="true"] {
  transform: none;
}
.js:not(.ready) #tg {
  opacity: 0;
  transform: translateY(-100%);
}
#tg[aria-expanded="true"] .bars i:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
#tg[aria-expanded="true"] .bars i:nth-child(2) {
  opacity: 0;
}
#tg[aria-expanded="true"] .bars i:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}
#tg:active {
  transform: scale(0.94);
}
#mnav .mtop {
  padding-right: 56px;
  min-height: 46px;
}
.macc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 0.5rem 0.2rem;
  background: none;
  border: 0;
  color: #fff;
  font:
    600 0.95rem Montserrat,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.macc svg {
  width: 14px;
  height: 14px;
  color: #29aafe;
  transition: transform 0.35s var(--ease);
}
.macc[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.macc[aria-expanded="true"] {
  color: #29aafe;
}
#mnav .msub {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0;
  transition: grid-template-rows 0.45s var(--ease);
}
#mnav .msub > div {
  overflow: hidden;
  min-height: 0;
  visibility: hidden;
  transition: visibility 0.45s;
}
.macc[aria-expanded="true"] + .msub {
  grid-template-rows: 1fr;
}
.macc[aria-expanded="true"] + .msub > div {
  visibility: visible;
}
#mnav .msub a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 50px;
  padding: 0.4rem 0.4rem 0.4rem 0.2rem;
  text-transform: none;
  letter-spacing: 0;
  font:
    500 0.95rem Inter,
    sans-serif;
  color: #c2cfde;
}
#mnav .msub .mic {
  width: 34px;
  height: 34px;
  box-shadow: 0 6px 14px -4px var(--g2);
}
#mnav li > a {
  transition:
    color 0.3s,
    padding-left 0.3s var(--ease);
}
#mnav li > a:hover {
  padding-left: 0.5rem;
}
@media (max-width: 1000px) {
  .has-mega {
    display: none;
  }
}
/* ===== Carrusel de servicios: móvil ===== */
.cdots {
  display: flex;
  gap: 0.55rem;
  justify-content: center;
  margin-top: 1.6rem;
}
.cdots button {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  border: 0;
  background: #ffffff40;
  cursor: pointer;
  padding: 0;
  transition:
    width 0.4s var(--ease),
    background 0.3s;
  position: relative;
}
.cdots button::after {
  content: "";
  position: absolute;
  inset: -14px -6px;
}
.cdots button[aria-current="true"] {
  width: 28px;
  background: linear-gradient(90deg, #29aafe, #00bfe9);
}
.mods .stage {
  transition: height 0.3s;
}
@media (max-width: 700px) {
  .mods {
    padding: 3.5rem 0 4rem;
  }
  .mods .stage {
    --cw: min(78vw, 320px);
    height: auto;
  }
  .mod {
    min-height: 0;
    padding: 1.3rem;
  }
  .mod-1 {
    min-height: 0;
    padding: 1.3rem;
  }
  .mod-2 {
    min-height: 0;
    padding: 1.3rem;
  }
  .mod-3 {
    min-height: 0;
    padding: 1.3rem;
  }
  .mod-4 {
    min-height: 0;
    padding: 1.3rem;
  }
  .mod-5 {
    min-height: 0;
    padding: 1.3rem;
  }
  .mod-6 {
    min-height: 0;
    padding: 1.3rem;
  }
  .mod h3 {
    font-size: 1.2rem;
  }
  .mod-1 h3 {
    font-size: 1.2rem;
  }
  .mod-2 h3 {
    font-size: 1.2rem;
  }
  .mod-3 h3 {
    font-size: 1.2rem;
  }
  .mod-4 h3 {
    font-size: 1.2rem;
  }
  .mod-5 h3 {
    font-size: 1.2rem;
  }
  .mod-6 h3 {
    font-size: 1.2rem;
  }
  .mod p {
    font-size: 0.9rem;
  }
  .mod-1 p {
    font-size: 0.9rem;
  }
  .mod-2 p {
    font-size: 0.9rem;
  }
  .mod-3 p {
    font-size: 0.9rem;
  }
  .mod-4 p {
    font-size: 0.9rem;
  }
  .mod-5 p {
    font-size: 0.9rem;
  }
  .mod-6 p {
    font-size: 0.9rem;
  }

  .mod a {
    min-height: 44px;
    align-items: center;
  }
  .mod-1 a {
    min-height: 44px;
    align-items: center;
  }
  .mod-2 a {
    min-height: 44px;
    align-items: center;
  }
  .mod-3 a {
    min-height: 44px;
    align-items: center;
  }
  .mod-4 a {
    min-height: 44px;
    align-items: center;
  }
  .mod-5 a {
    min-height: 44px;
    align-items: center;
  }
  .mod-6 a {
    min-height: 44px;
    align-items: center;
  }
}
/* ===== Hosting: tarjetas de planes ===== */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem;
  align-items: stretch;
}
@media (min-width: 1180px) {
  .plans {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 560px) {
  .plans {
    grid-template-columns: 1fr;
  }
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-align: left;
  transition:
    translate 0.4s var(--ease),
    border-color 0.3s,
    box-shadow 0.4s;
}
.plan:hover {
  translate: 0 -8px;
  border-color: #29aafe77;
  box-shadow:
    0 30px 60px #0009,
    0 0 40px #29aafe22;
}
.phead {
  background: linear-gradient(135deg, #29aafe, #0a6fd0);
  padding: 1.2rem 1rem;
  text-align: center;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}
.phead-1 {
  background: linear-gradient(135deg, #e6ab0a, #c2910b);
  padding: 1.2rem 1rem;
  text-align: center;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}
.phead-2 {
  background: linear-gradient(135deg, #d34808, #a83a07);
  padding: 1.2rem 1rem;
  text-align: center;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}
.phead-3 {
  background: linear-gradient(135deg, #ca0359, #8a033d);
  padding: 1.2rem 1rem;
  text-align: center;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}
.phead-4 {
  background: linear-gradient(135deg, #00e990, #06945d);
  padding: 1.2rem 1rem;
  text-align: center;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}
.phead-5 {
  background: linear-gradient(135deg, #29aafe, #0a6fd0);
  padding: 1.2rem 1rem;
  text-align: center;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}
.phead-6 {
  background: linear-gradient(135deg, #29aafe, #0a6fd0);
  padding: 1.2rem 1rem;
  text-align: center;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}
.phead h3 {
  font:
    700 1.3rem Montserrat,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 0;
}
.phead p {
  margin: 0;
  color: #e6f4ff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pfeat {
  list-style: none;
  margin: 0;
  padding: 1.1rem 1.1rem 0.4rem;
  display: grid;
  gap: 0.15rem;
}
.pfeat li {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
  min-height: 2.1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid #ffffff0f;
  font-size: 0.82rem;
  color: #b3c2d3;
}
.pfeat li b {
  color: #29aafe;
  font-size: 0.95rem;
  font-weight: 600;
}
.pfeat li.ph {
  visibility: hidden;
}
.pprice {
  margin-top: auto;
  background: linear-gradient(135deg, #0e5a8a, #0a3f66);
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.4rem;
}
.pprice-1 {
  margin-top: auto;
  background: linear-gradient(135deg, #e6ab0a, #e6aa28);
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.4rem;
}
.pprice-2 {
  margin-top: auto;
  background: linear-gradient(135deg, #d34808, #a83b09);
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.4rem;
}
.pprice-3 {
  margin-top: auto;
  background: linear-gradient(135deg, #ac235e, #9b1d53);
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.4rem;
}
.pprice-4 {
  margin-top: auto;
  background: linear-gradient(135deg, #0c6b46, #056943);
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.4rem;
}
.pprice-5 {
  margin-top: auto;
  background: linear-gradient(135deg, #0e5a8a, #0a3f66);
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.4rem;
}
.pprice-6 {
  margin-top: auto;
  background: linear-gradient(135deg, #0e5a8a, #0a3f66);
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.4rem;
}
.pprice p {
  margin: 0;
  color: #d6e8f7;
  font-size: 0.82rem;
}
.pprice .pprice .pprice-1 .pprice-2 .pprice-3 .pprice-4 .pprice-5 b {
  font:
    700 1.7rem Montserrat,
    sans-serif;
  color: #fff;
}
.pprice .pprice .pprice-1 .pprice-2 .pprice-3 .pprice-4 .pprice-5 .off b {
  font-size: 1.3rem;
  color: #7fe3ff;
}
.pbuy {
  margin: 1rem 1.1rem 1.2rem;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  background: none;
  color: #fff;
  border: 1.5px solid #29aafe;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.85rem;
}
.pbuy:hover {
  background: #29aafe;
  color: #04122a;
}
.pbuy:active {
  transform: scale(0.97);
}
.mega a.mi {
  padding: 0.75rem 0.6rem;
}
.mega a.mcta {
  padding: 0.95rem 1rem;
  margin-top: 1.3rem;
  color: #04122a;
}
.pfeat {
  gap: 0;
  padding: 1rem 1.1rem 0.6rem;
}
.pfeat li {
  display: block;
  min-height: 0;
  padding: 0.55rem 0;
  line-height: 1.35;
  font-size: 0.8rem;
  white-space: nowrap;
}
.pfeat li b {
  font-size: 0.86rem;
}
@media (max-width: 1179px) {
  .pfeat li {
    white-space: normal;
    font-size: 0.88rem;
  }
  .pfeat li b {
    font-size: 0.95rem;
  }
}
.pfeat li {
  white-space: normal;
}
.pprice .pprice-1 .pprice-2 .pprice-3 .pprice-4 .pprice-5 {
  min-height: 7.6rem;
  align-content: center;
}
@media (max-width: 560px) {
  .pfeat li.ph {
    display: none;
  }
  .pprice .pprice-1 .pprice-2 .pprice-3 .pprice-4 .pprice-5 {
    min-height: 0;
  }
}
/* ===== Ajustes: hamburguesa blanca centrada, acordeones, botón "Ver detalles", logos de clientes ===== */
#tg {
  display: none;
  padding: 0;
  border: 1.5px solid #fff;
  background: #0a0a0c99;
}
@media (max-width: 1000px) {
  #tg {
    display: block;
  }
}
#tg .bars {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 16px;
  margin: -8px 0 0 -11px;
}
#tg .bars i {
  height: 2.5px;
  background: #fff;
}
#tg .bars i:nth-child(1) {
  top: 0;
}
#tg .bars i:nth-child(2) {
  top: 6.75px;
}
#tg .bars i:nth-child(3) {
  top: 13.5px;
}
#tg[aria-expanded="true"] .bars i:nth-child(1) {
  top: 6.75px;
  transform: rotate(45deg);
}
#tg[aria-expanded="true"] .bars i:nth-child(3) {
  top: 6.75px;
  transform: rotate(-45deg);
}
#mnav .macc[aria-expanded="true"] + .msub {
  grid-template-rows: 1fr;
}
#mnav .macc[aria-expanded="true"] + .msub > div {
  visibility: visible;
}
.mod a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.8rem 1.2rem;
  min-height: 46px;
  border-top: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #29aafe, #00bfe9);
  color: #04122a;
  font-weight: 600;
  font-size: 0.88rem;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}
.mod-1 a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.8rem 1.2rem;
  min-height: 46px;
  border-top: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #e6ab0a, #c9960b);
  color: #000;
  font-weight: 600;
  font-size: 0.88rem;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}
.mod-2 a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.8rem 1.2rem;
  min-height: 46px;
  border-top: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #d34808, #cf4606);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}

.mod-3 a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.8rem 1.2rem;
  min-height: 46px;
  border-top: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #ac235e, #ca0359);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}

.mod-4 a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.8rem 1.2rem;
  min-height: 46px;
  border-top: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #5926a0, #6429b6);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}

.mod-5 a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.8rem 1.2rem;
  min-height: 46px;
  border-top: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #2656a1, #2961b9);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}

.mod-6 a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.8rem 1.2rem;
  min-height: 46px;
  border-top: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #263e6b, #254374);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}

.mod a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px #00bfe955;
}
.mod-1 a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px #ffffff55;
}
.mod-2 a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px #ffffff55;
}
.mod-3 a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px #ffffff55;
}
.mod-4 a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px #ffffff55;
}
.mod-5 a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px #ffffff55;
}
.mod-6 a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px #ffffff55;
}
.mod a:active {
  transform: scale(0.97);
}

.mod-1 a:active {
  transform: scale(0.97);
}

.mod-2 a:active {
  transform: scale(0.97);
}

.mod-3 a:active {
  transform: scale(0.97);
}

.mod-4 a:active {
  transform: scale(0.97);
}

.mod-5 a:active {
  transform: scale(0.97);
}

.mod-6 a:active {
  transform: scale(0.97);
}

.lgrid {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.1rem;
}
.lcard {
  height: auto;
  aspect-ratio: 4/3;
  padding: 1rem;
  overflow: hidden;
}
.lcard img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 560px) {
  .lgrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
}
#tg .bars i,
#tg .bars i + i {
  margin: 0;
  width: 100%;
  background: #fff;
}
.mod p {
  margin-bottom: 1.1rem;
}

.mod-1 p {
  margin-bottom: 1.1rem;
}
.mod-2 p {
  margin-bottom: 1.1rem;
}
.mod-3 p {
  margin-bottom: 1.1rem;
}
.mod-4 p {
  margin-bottom: 1.1rem;
}
.mod-5 p {
  margin-bottom: 1.1rem;
}
.mod-6 p {
  margin-bottom: 1.1rem;
}

/* FIX DEFINITIVO: móvil sin scroll */
/* ===== CORRECCIÓN: SCROLL EN MÓVILES ===== */
@media (max-width: 600px) {
  html,
  body {
    width: 100%;
    min-height: 100%;
    height: auto;
    margin: 0;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto;
  }

  body {
    position: relative;
    inset: auto;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    -webkit-overflow-scrolling: touch;
  }

  .page-shell {
    width: 100%;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0 10px;
    overflow: visible;
  }

  .site-header {
    height: auto;
    flex: 0 0 auto;
  }

  .hero {
    flex: none;
    min-height: 0;
    height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    justify-items: center;
    gap: clamp(6px, 1.2dvh, 12px);
    padding: 20px 0;
    overflow: visible;
  }

  .hero-copy,
  .countdown-panel {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .hero-copy h1 {
    margin: 5px 0;
    font-size: clamp(20px, 6.2vw, 31px);
    line-height: 1.05;
  }

  .hero-copy .intro {
    font-size: clamp(8px, 2.5vw, 11px);
    line-height: 1.3;
  }

  .launch-meta {
    margin-top: 8px;
    gap: 8px;
  }

  .meta-icon,
  .clock-icon {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
  }

  .countdown-panel {
    padding: 10px 6px;
    border-radius: 10px;
    overflow: hidden;
  }

  .countdown-panel h2 {
    margin: 8px 0;
    font-size: clamp(11px, 3vw, 15px);
  }

  .countdownHolder {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    gap: 2px;
  }

  .count-group {
    min-width: 0;
    gap: 3px;
  }

  .digit-position {
    width: clamp(12px, 4.2vw, 22px);
    height: clamp(22px, 4.4dvh, 30px);
  }

  .digit {
    font-size: clamp(11px, 4vw, 19px);
  }

  .countDiv {
    flex: 0 0 3px;
    height: clamp(22px, 4.4dvh, 30px);
  }

  .count-label {
    font-size: clamp(5px, 1.4vw, 7px);
    letter-spacing: 0;
  }

  .panel-divider {
    margin: 7px 0;
  }

  .clock-row {
    gap: 6px;
  }

  .clock-copy strong {
    font-size: clamp(11px, 3vw, 15px);
  }

  .timezone,
  .timezone span {
    font-size: 6px;
  }

  .current-time {
    margin-top: 6px;
    padding-top: 6px;
    font-size: 6px;
    letter-spacing: 0;
  }

  .site-footer {
    flex: 0 0 auto;
    min-height: 25px;
    gap: 4px;
    font-size: 5px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .footer-right {
    gap: 3px;
    font-size: 5px;
  }

  .hero-orbit {
    pointer-events: none;
  }
}

/* Teléfonos en horizontal */
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  .site-header {
    flex-basis: 32px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 10px;
    padding: 3px 0;
  }

  .hero-copy h1 {
    font-size: clamp(17px, 4.8vh, 24px);
  }

  .hero-copy .intro {
    font-size: 8px;
    line-height: 1.2;
  }

  .countdown-panel {
    padding: 5px;
  }

  .digit-position,
  .countDiv {
    height: 20px;
  }

  .site-footer {
    flex-basis: 20px;
    min-height: 20px;
  }
}

/*html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}*/

@media (max-width: 600px) {
  html,
  body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}

/* Botón exclusivo de llamada en el header */
.header .btn-call-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 10;
}

/* HEADER: ALINEACIÓN GENERAL */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wr.rv {
  opacity: 1;
  transform: none;
}

.wr.in .wd > span {
  transform: none;
}

@media (min-width: 601px) {

    html {
        overflow-y: scroll !important;
        scrollbar-width: thin;
        scrollbar-color: #29aafe #0a0a0c;
    }

    html::-webkit-scrollbar {
        width: 10px;
        display: block;
    }

    html::-webkit-scrollbar-track {
        background: #0a0a0c;
    }

    html::-webkit-scrollbar-thumb {
        background: linear-gradient(
            180deg,
            #29aafe,
            #00bfe9
        );
        border-radius: 10px;
        border: 2px solid #0a0a0c;
    }
}


@media (max-width: 600px) {

    html,
    body {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    html {
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    html::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
    }
}
