:root {
  --night: #020b22;
  --ink: #07142c;
  --panel: #0b1732;
  --blue: #1d4fff;
  --cyan: #34cfff;
  --green: #77e4bd;
  --white: #f8fbff;
  --soft: #d8e2f5;
  --muted: #9aa9c2;
  --line: rgba(139, 164, 209, .24);
  --shadow: 0 24px 70px rgba(0, 0, 0, .32);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 118px; }
body {
  margin: 0;
  color: var(--white);
  background: var(--night);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.header {
  min-height: 100svh;
  background: var(--night);
}
.utility-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: 34px;
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  padding: 8px clamp(18px, 4vw, 64px);
  background: #010614;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #b8c4db;
  font-size: 12px;
  font-weight: 700;
}
.navbar {
  position: fixed;
  inset: 34px 0 auto 0;
  z-index: 30;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 13px clamp(18px, 4vw, 64px);
  background: rgba(2, 11, 34, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand img { width: 276px; height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #e4ebf8;
  font-size: 14px;
  font-weight: 700;
}
.nav-links a { padding: 12px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-color: var(--cyan); }
.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 21px;
  border: 1px solid rgba(52, 207, 255, .58);
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 0 30px rgba(29, 79, 255, .28);
}
.nav-cta { font-size: 13px; white-space: nowrap; }
.button.secondary {
  background: rgba(255, 255, 255, .06);
  box-shadow: none;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 152px clamp(18px, 4vw, 64px) 96px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 11, 34, .98) 0%, rgba(2, 11, 34, .9) 34%, rgba(2, 11, 34, .38) 74%),
    linear-gradient(0deg, rgba(2, 11, 34, .95), rgba(2, 11, 34, 0) 45%, rgba(2, 11, 34, .45)),
    url("assets/hero-portada.png") center right / cover no-repeat;
  transform: scale(1.01);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(0deg, var(--night), transparent);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 830px;
}
.eyebrow, .section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 900;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6.5vw, 82px);
  line-height: .96;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}
h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}
.hero-content p {
  max-width: 720px;
  color: #dbe5f7;
  font-size: clamp(18px, 2vw, 22px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-strip {
  position: absolute;
  z-index: 3;
  left: clamp(18px, 4vw, 64px);
  right: clamp(18px, 4vw, 64px);
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(4, 15, 39, .78);
  border: 1px solid rgba(52, 207, 255, .28);
  backdrop-filter: blur(16px);
}
.hero-strip span {
  min-height: 62px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  color: #e5eefc;
  font-weight: 800;
  text-align: center;
}
.hero-strip span:last-child { border-right: 0; }

.section {
  padding: clamp(70px, 9vw, 118px) clamp(18px, 4vw, 64px);
  position: relative;
}
.intro {
  background: #f3f6fb;
  color: #101b31;
}
.intro .section-kicker { color: #1746e8; }
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 88px);
}
.copy-stack {
  color: #3d4b63;
  font-size: 18px;
}
.section-head {
  max-width: 880px;
}
.fabric {
  padding-top: clamp(72px, 8vw, 104px);
  background:
    radial-gradient(circle at 88% 16%, rgba(4, 15, 39, .08) 0 2px, transparent 3px) 0 0 / 36px 36px,
    linear-gradient(180deg, #ffffff 0 33%, #e9eaed 33% 72%, #ffffff 72% 100%);
  color: #222a38;
  overflow: hidden;
}
.fabric-head {
  max-width: 1060px;
  margin: 0 auto 52px;
  text-align: center;
}
.fabric-head .section-kicker { color: #1746e8; }
.fabric-head h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 1120px;
  color: #2d2f34;
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.08;
}
.fabric-head p {
  max-width: 760px;
  margin: 0 auto;
  color: #596477;
  font-size: 18px;
}
.solution-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1240px;
  margin: 0 auto;
}
.solution-card {
  min-height: 250px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(2, 11, 34, .22);
}
.solution-card::before {
  content: "";
  position: absolute;
  inset: -22% -12% -18% 30%;
  opacity: .28;
  background:
    linear-gradient(135deg, transparent 0 27%, rgba(255, 255, 255, .48) 28% 39%, transparent 40%),
    linear-gradient(32deg, transparent 0 34%, rgba(255, 255, 255, .36) 35% 45%, transparent 46%);
  transform: skewX(-8deg);
}
.solution-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .18));
}
.solution-card h3,
.solution-card p,
.solution-number {
  position: relative;
  z-index: 1;
}
.solution-number {
  position: absolute;
  top: 20px;
  left: 22px;
  font-size: 13px;
  font-weight: 900;
  color: rgba(255, 255, 255, .78);
}
.solution-card h3 {
  max-width: 92%;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.12;
}
.solution-card p {
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
}
.solution-card.red { background: linear-gradient(135deg, #e82921, #b80707); }
.solution-card.blue { background: linear-gradient(135deg, #2d7ee7, #134fc2); }
.solution-card.teal { background: linear-gradient(135deg, #248e8c, #126866); }
.solution-card.navy { background: linear-gradient(135deg, #16284f, #07142c); }
.solution-card.cyan { background: linear-gradient(135deg, #169fc1, #11657e); }
.solution-card.graphite { background: linear-gradient(135deg, #435062, #151d2c); }
.fabric-copy p, .security-copy p, .contact-copy p { color: var(--muted); }

.security {
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
  background: #204a5a;
  color: #ffffff;
  overflow: hidden;
}
.security-content {
  display: grid;
  grid-template-columns: minmax(18px, 1fr) minmax(360px, 680px) minmax(440px, 49vw);
  gap: clamp(22px, 3vw, 52px);
  align-items: stretch;
  max-width: none;
  margin: 0;
}
.security-copy {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  padding-top: 38px;
}
.security-copy .section-kicker {
  display: none;
}
.security-copy h2 {
  max-width: 640px;
  color: #ffffff;
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.12;
  margin-bottom: 12px;
}
.security-copy p {
  max-width: 590px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  margin-bottom: 0;
}
.security-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 24px;
}
.security-actions a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.security-actions span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
}
.security-note {
  width: min(620px, 100%);
  margin-top: auto;
  padding: 22px 28px;
  background: #03121d;
  border: 0;
  border-radius: 0 72px 0 0;
  box-shadow: none;
}
.security-note p {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  font-style: italic;
  font-weight: 750;
  line-height: 1.38;
}
.security-visual {
  grid-column: 3;
  margin: 0;
  position: relative;
  z-index: 2;
  height: 442px;
  min-height: 442px;
  overflow: hidden;
  border-radius: 0 22px 0 0;
  isolation: isolate;
}
.security-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #204a5a 0%, rgba(32, 74, 90, .78) 14%, rgba(32, 74, 90, .18) 42%, rgba(32, 74, 90, .05) 100%),
    linear-gradient(0deg, #204a5a 0%, rgba(32, 74, 90, .05) 26%, rgba(32, 74, 90, .12) 100%);
  pointer-events: none;
}
.security-visual::after {
  content: "";
  position: absolute;
  inset: 8% -30% 0 16%;
  z-index: 2;
  background: linear-gradient(110deg, transparent 0 38%, rgba(52, 207, 255, .2) 48%, transparent 58% 100%);
  opacity: .55;
  transform: translateX(-42%);
  pointer-events: none;
}
.security-visual img {
  width: 100%;
  height: 100%;
  min-height: 442px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  filter: saturate(.9) contrast(1.04) brightness(.82);
  transform: scale(1.015);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%), linear-gradient(0deg, transparent 0%, #000 20%, #000 100%);
  mask-composite: intersect;
}
.security-visual figcaption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .75);
}

.methodology {
  background: #f3f6fb;
  color: #101b31;
}
.methodology .section-kicker { color: #1746e8; }
.timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 0;
  margin: 42px 0 0;
  list-style: none;
  border-top: 2px solid #cad4e5;
}
.timeline li {
  min-height: 126px;
  padding: 26px 16px 0 0;
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--blue);
}
.timeline strong {
  display: block;
  color: var(--blue);
  margin-bottom: 8px;
}
.timeline span { font-weight: 900; }

.contact {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 86px);
  background: linear-gradient(180deg, var(--night), #061333);
}
.contact-copy a, .contact-copy span {
  display: block;
  margin-top: 14px;
  color: #edf4ff;
  font-weight: 900;
}
.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(52, 207, 255, .28);
  box-shadow: var(--shadow);
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: #dde8fb;
  font-weight: 800;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(216, 226, 245, .25);
  background: rgba(2, 11, 34, .76);
  color: var(--white);
  font: inherit;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid rgba(52, 207, 255, .58);
  border-color: transparent;
}
.hidden-field { position: absolute; left: -9999px; }
.form-status { min-height: 24px; margin: 0; color: var(--green); }

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: start;
  padding: 42px clamp(18px, 4vw, 64px);
  background: #010614;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer img { width: 264px; }
.footer p { max-width: 560px; margin: 0; }
.footer a, .footer small { display: block; color: #e8effc; margin-bottom: 8px; }

@media (prefers-reduced-motion: no-preference) {
  .button, .nav-cta, .solution-card {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .button:hover, .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 42px rgba(29, 79, 255, .45);
  }
  .solution-card:hover {
    transform: translateY(-3px);
    border-color: rgba(29, 79, 255, .36);
  }
  .security-visual::after {
    animation: securityScan 7s ease-in-out infinite;
  }
  .security-visual img {
    animation: securityDrift 12s ease-in-out infinite alternate;
  }
}

@keyframes securityScan {
  0%, 100% { transform: translateX(-44%); opacity: .18; }
  45% { transform: translateX(18%); opacity: .55; }
  70% { transform: translateX(30%); opacity: .22; }
}

@keyframes securityDrift {
  from { transform: scale(1.045) translate3d(0, 0, 0); }
  to { transform: scale(1.075) translate3d(-10px, 0, 0); }
}

@media (max-width: 1060px) {
  .navbar { grid-template-columns: auto auto; }
  .brand img { width: 236px; }
  .nav-toggle { display: block; justify-self: end; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    top: 106px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(2, 11, 34, .98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .intro-grid, .contact, .footer { grid-template-columns: 1fr; }
  .security-content { grid-template-columns: 1fr; padding: 0 clamp(18px, 4vw, 64px); }
  .security-copy, .security-visual { grid-column: auto; }
  .security-visual { margin: 16px 0 0; height: 390px; min-height: 390px; }
  .security-visual img { min-height: 390px; }
  .solution-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
}

@media (max-width: 680px) {
  .utility-bar { display: none; }
  .navbar { inset: 0 0 auto 0; min-height: 70px; }
  .brand img { width: 204px; }
  .nav-links { top: 82px; }
  .hero { padding-top: 104px; padding-bottom: 190px; align-items: end; }
  .hero-bg {
    background:
      linear-gradient(0deg, rgba(2, 11, 34, 1) 0%, rgba(2, 11, 34, .82) 48%, rgba(2, 11, 34, .42)),
      url("assets/hero-portada.png") 62% top / cover no-repeat;
  }
  .hero-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    bottom: 18px;
  }
  .hero-strip span {
    min-height: 54px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
  .solution-cards, .timeline { grid-template-columns: 1fr; }
  .security-note { border-radius: 0 42px 0 0; margin-top: 20px; padding: 18px 20px; }
  .security-visual { height: 325px; min-height: 325px; }
  .security-visual img { min-height: 325px; }
  .timeline { border-top: 0; }
  .timeline li {
    min-height: auto;
    padding: 0 0 30px 24px;
    border-left: 2px solid #cad4e5;
  }
  .timeline li::before { top: 4px; left: -7px; }
}
