﻿:root {
  --negro: #050508;
  --blanco: #f0f0f8;
  --gris-texto: #a0a0c0;
  --azul-acento: #2d63ff;
  --font-display: "Orbitron", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-body: "Open Sans", "Inter", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: #060b16;
  color: var(--blanco);
  font-family: var(--font-body);
  line-height: 1.7;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--negro);
}

::-webkit-scrollbar-thumb {
  background-color: #ffffff;
  border-radius: 80px;
}

img {
  display: block;
  max-width: 100%;
}

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem max(4vw, calc((100vw - 1320px) / 2));
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.logo a {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

#menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 2.8vw, 2.6rem);
}

#menu a.boton {
  color: rgba(232, 240, 255, 0.76);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.25s ease;
}

#menu a.boton:hover {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

section.hero-blue {
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0 max(4vw, calc((100vw - 1320px) / 2));
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 16%, rgba(59, 121, 255, 0.58), rgba(17, 60, 156, 0.22) 30%, transparent 58%),
    linear-gradient(90deg, rgba(14, 32, 78, 0.35) 0 1px, transparent 1px),
    linear-gradient(180deg, #08101f 0%, #0d1d43 38%, #050810 100%);
  background-size: auto, 88px 100%, auto;
}

section.hero-blue::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 17, 0.82), transparent 24%, transparent 76%, rgba(5, 8, 17, 0.82)),
    linear-gradient(180deg, transparent 0%, rgba(5, 8, 17, 0.15) 50%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

section.hero-blue::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(114, 161, 255, 0.16) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.18;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  pointer-events: none;
}

.hero-blue .hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(720px, 100%);
}

.hero-blue .hero-kicker {
  margin: 0 0 1.7rem;
  color: rgba(232, 240, 255, 0.88);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
}

.hero-blue .hero-title {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7.2rem);
  font-weight: 700;
  line-height: 0.98;
  text-shadow: 0 18px 70px rgba(60, 125, 255, 0.38);
}

.hero-blue .hero-description {
  max-width: 470px;
  margin: 1.35rem 0 2.2rem;
  color: rgba(220, 230, 252, 0.72);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-blue .hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.hero-blue .hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.85rem 1.15rem;
  border-radius: 8px;
  border: 1px solid rgba(108, 157, 255, 0.42);
  background: linear-gradient(135deg, #2f70ff, #1e56d8);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 14px 34px rgba(29, 91, 238, 0.28);
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-blue .hero-cta:hover {
  background: linear-gradient(135deg, #4380ff, #2361f0);
  transform: translateY(-2px);
}

.hero-blue .hero-cta-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(240, 246, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-mockup {
  position: absolute;
  z-index: 1;
  top: 18%;
  width: min(320px, 28vw);
  height: min(560px, 58vh);
  border-radius: 12px;
  border: 1px solid rgba(128, 170, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(12, 18, 34, 0.96), rgba(5, 8, 14, 0.96)),
    radial-gradient(circle at 50% 30%, rgba(58, 120, 255, 0.22), transparent 52%);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.hero-mockup-left {
  left: -72px;
  transform: rotate(-6deg);
}

.hero-mockup-right {
  right: -62px;
  transform: rotate(5deg);
}

.mockup-topbar {
  height: 38px;
  background:
    radial-gradient(circle at 18px 50%, #9aa8be 0 3px, transparent 4px),
    radial-gradient(circle at 34px 50%, #9aa8be 0 3px, transparent 4px),
    radial-gradient(circle at 50px 50%, #9aa8be 0 3px, transparent 4px),
    rgba(7, 10, 19, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-placeholder {
  display: grid;
  place-items: center;
  width: calc(100% - 42px);
  height: calc(100% - 96px);
  margin: 28px auto;
  border-radius: 10px;
  border: 1px dashed rgba(145, 178, 255, 0.4);
  background: rgba(128, 139, 158, 0.18);
  color: rgba(221, 230, 248, 0.68);
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
}

.team-section {
  position: relative;
  width: 100%;
  padding: 6.5rem max(4vw, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 36% 52%, rgba(90, 154, 255, 0.34), rgba(23, 65, 150, 0.16) 28%, transparent 55%),
    linear-gradient(180deg, #020409 0%, #050914 52%, #020309 100%);
}

.team-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), transparent 28%, transparent 72%, rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 48% 50%, rgba(125, 194, 255, 0.28), transparent 12%);
  pointer-events: none;
}

.team-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(80, 137, 255, 0.12) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.2;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 88%, transparent);
  pointer-events: none;
}

.team-heading,
.team-list {
  position: relative;
  z-index: 1;
}

.team-heading {
  max-width: 380px;
}

.team-kicker {
  margin: 0 0 1.15rem;
  color: var(--azul-acento);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.team-heading h2 {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.4vw, 4.55rem);
  font-weight: 700;
  line-height: 1.1;
}

.team-copy {
  margin: 1.35rem 0 1.7rem;
  color: rgba(223, 232, 250, 0.76);
  font-size: 1rem;
  line-height: 1.7;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 340px));
  justify-content: end;
  gap: clamp(1.4rem, 2.3vw, 2rem);
  min-width: 0;
}

.team-member {
  position: relative;
  display: block;
  width: 100%;
  max-width: 340px;
  min-width: 0;
  color: #ffffff;
  overflow: hidden;
  border-radius: 16px;
  background: #101624;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.36);
}

.team-member img {
  display: block;
  width: 100%;
  height: clamp(380px, 34vw, 470px);
  object-fit: cover;
  object-position: 50% 30%;
  filter: brightness(0.8) saturate(0.9) contrast(1.05);
}

.team-member-info {
  position: absolute;
  z-index: 1;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(237, 238, 243, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.25s ease;
}

.team-member:hover .team-member-info {
  background: var(--azul-acento);
}

.team-member-info h3 {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
}

.team-member-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 92px;
  padding: 0 max(4vw, calc((100vw - 1420px) / 2));
  background: #03050b;
  border-top: 1px solid rgba(45, 99, 255, 0.14);
}

.site-footer p {
  margin: 0;
  color: rgba(142, 174, 255, 0.92);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

@media (max-width: 1000px) {
  .team-section {
    grid-template-columns: 1fr;
  }

  .team-heading {
    max-width: 650px;
  }

  .team-list {
    overflow-x: auto;
    grid-auto-flow: column;
    grid-auto-columns: minmax(245px, 32vw);
    grid-template-columns: none;
    padding-bottom: 0.5rem;
  }
}

@media (min-width: 601px) and (max-width: 1100px) {
  header {
    min-height: 72px;
    padding: 1rem 2rem;
    gap: 1.5rem;
  }

  .logo a {
    font-size: 0.9rem;
  }

  #menu {
    gap: clamp(1rem, 2.2vw, 1.75rem);
  }

  #menu a.boton {
    font-size: 0.76rem;
  }

  section.hero-blue {
    min-height: 860px;
    padding: 6rem 2rem 4rem;
  }

  .hero-blue .hero-content {
    width: min(620px, 72vw);
  }

  .hero-blue .hero-title {
    font-size: clamp(4.8rem, 12vw, 6.5rem);
  }

  .hero-blue .hero-description {
    max-width: 430px;
    font-size: 0.95rem;
  }

  .hero-mockup {
    top: 22%;
    width: min(260px, 25vw);
    height: min(470px, 50vh);
  }

  .hero-mockup-left {
    left: -108px;
  }

  .hero-mockup-right {
    right: -108px;
  }

  .team-section {
    padding: 5.5rem 2rem;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .team-heading {
    max-width: 680px;
  }

  .team-heading h2 {
    font-size: clamp(3rem, 7vw, 4.2rem);
  }

  .team-copy {
    max-width: 580px;
  }

  .team-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    gap: 1rem;
    overflow: visible;
  }

  .team-member {
    max-width: none;
  }

  .team-member img {
    height: clamp(330px, 42vw, 420px);
  }

  .team-member-info {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.85rem;
  }

  .team-member-info h3 {
    font-size: clamp(0.86rem, 1.8vw, 1.05rem);
  }

  .team-member-info p {
    font-size: 0.78rem;
  }

  .site-footer {
    padding: 0 2rem;
  }
}

@media (max-width: 900px) {
  section.hero-blue {
    min-height: auto;
    padding: 5rem 1.25rem;
  }

  .hero-mockup {
    opacity: 0.24;
    width: 230px;
    height: 430px;
  }

  .hero-mockup-left {
    left: -130px;
  }

  .hero-mockup-right {
    right: -130px;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  section.hero-blue {
    min-height: 760px;
    padding: 6rem 2rem 4rem;
  }

  .hero-mockup {
    display: block;
    opacity: 0.22;
    width: 230px;
    height: 430px;
  }

  .hero-mockup-left {
    left: -142px;
  }

  .hero-mockup-right {
    right: -142px;
  }
}

@media (max-width: 600px) {
  header {
    align-items: center;
    padding: 1rem;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  header.is-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  header.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  header.is-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  #menu {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    justify-items: stretch;
    justify-content: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    padding: 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(8, 14, 29, 0.96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
    transform: translateY(-0.5rem);
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.35s ease, padding 0.35s ease;
  }

  header.is-menu-open #menu {
    max-height: 340px;
    opacity: 1;
    pointer-events: auto;
    padding: 0.75rem 1rem;
    transform: translateY(0);
    justify-content: stretch;
  }

  #menu a.boton {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    inline-size: 100%;
    max-inline-size: none;
    padding: 0.85rem 0;
    border-top: 0;
    font-size: 0.82rem;
    text-align: center;
    justify-self: stretch !important;
    align-self: stretch;
  }

  #menu a.boton + a.boton::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0.75rem;
    right: 0.75rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
  }

  section.hero-blue {
    min-height: 100vh;
    padding: 6rem 1rem 4rem;
  }

  .hero-blue .hero-title {
    font-size: clamp(3.8rem, 23vw, 5.8rem);
  }

  .hero-blue .hero-kicker {
    margin-bottom: 1.2rem;
    font-size: 0.78rem;
  }

  .hero-blue .hero-description {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .hero-blue .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-blue .hero-cta {
    width: 100%;
  }

  .hero-mockup {
    display: none;
  }

  .team-section {
    padding: 4.5rem 1rem;
  }

  .team-heading h2 {
    font-size: clamp(2.4rem, 13vw, 3.5rem);
  }

  .team-copy {
    font-size: 0.95rem;
  }

  .team-list {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    overflow: visible;
  }

  .team-member {
    max-width: none;
  }

  .team-member img {
    height: min(118vw, 470px);
  }

  .team-member-info {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .team-member-info h3 {
    font-size: clamp(1rem, 6vw, 1.25rem);
  }

  .site-footer {
    min-height: 78px;
    padding: 0 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .site-footer p {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }
}
