/* Alineación compartida del header, navegación y hero principal. */
html body {
  padding-top: 0;
}

body .header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
}

body .header .nav {
  width: min(1180px, calc(100% - 40px));
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body .header .brand {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

body .header .brand::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -12px;
  top: 50%;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 215, 232, .72) 0, rgba(0, 126, 255, .34) 38%, rgba(0, 126, 255, 0) 72%);
  filter: blur(8px);
  transform: translateY(-50%);
  pointer-events: none;
}

body .header .brand img {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 0 7px rgba(37, 215, 232, .92)) drop-shadow(0 0 17px rgba(0, 126, 255, .55));
}

body .header .brand span {
  position: relative;
  z-index: 1;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

body .header nav[data-nav] {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
}

body .header .menu {
  flex: 0 0 auto;
}

body main > .hero:first-child,
body main .hero#inicio {
  display: block;
  min-height: 0;
  padding: 164px 0 0;
  align-items: initial;
}

body main > .hero:first-child .hero-grid,
body main .hero#inicio .hero-grid {
  min-height: 570px;
  align-items: center;
}

body .hero .hero-copy p.kicker {
  display: block;
  width: auto;
  max-width: none;
  margin: 0 0 18px;
  color: #25d7e8;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(37, 215, 232, .25);
}

body .hero-copy h1,
body .hero-copy .hero-title {
  max-width: none;
  margin-bottom: 28px;
  font-size: clamp(52px, 6.2vw, 88px);
  line-height: .98;
  letter-spacing: -.06em;
}

body .hero .hero-copy p.lead {
  max-width: 620px;
  margin-bottom: 0;
  color: #bdd1e8;
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  body .header .nav {
    width: min(1180px, calc(100% - 40px));
  }

  body .header nav[data-nav] {
    display: none;
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    gap: 0;
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #041936;
    box-shadow: var(--shadow);
  }

  body .header nav[data-nav].open {
    display: grid;
  }

  body .header nav[data-nav] > a {
    padding: 11px 0;
  }

  body .header nav[data-nav] > .nav-cta {
    margin-top: 8px;
    padding: 12px 17px;
    text-align: center;
  }

  body main > .hero:first-child,
  body main .hero#inicio {
    min-height: 0;
    padding-top: 120px;
  }

  body main > .hero:first-child .hero-grid,
  body main .hero#inicio .hero-grid {
    min-height: auto;
    align-items: center;
  }
}

@media (max-width: 600px) {
  body .header .nav {
    width: min(100% - 26px, 1180px);
    height: 82px;
  }

  body .header .brand {
    gap: 11px;
    font-size: 17px;
  }

  body .header .brand img {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  body .header .menu {
    width: 42px;
    height: 42px;
  }

  body .header nav[data-nav] {
    top: 82px;
    left: 13px;
    right: 13px;
  }

  body main > .hero:first-child,
  body main .hero#inicio {
    min-height: 0;
    padding-top: 120px;
  }

  body .hero-copy h1,
body .hero-copy .hero-title {
    font-size: 50px;
  }

  body .hero-copy .trust {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    font-size: clamp(10px, 3.2vw, 12px);
    white-space: nowrap;
  }

  body .hero-copy .trust span {
    flex: 0 0 auto;
  }

  body .hero .hero-copy p.kicker {
    max-width: 100%;
    font-size: clamp(10px, 3.3vw, 12px);
    letter-spacing: .15em;
  }
}

@media (max-width: 360px) {
  body .header .brand {
    font-size: 15px;
  }

  body .hero-copy .trust {
    gap: 7px;
    font-size: 9.5px;
  }

  body .hero .hero-copy p.kicker {
    font-size: 9.5px;
    letter-spacing: .12em;
  }
}
