:root {
  --navy: #011e3a;
  --navy-2: #0a2c50;
  --teal: #024f52;
  --teal-bright: #2ba8a4;
  --ink: #13202e;
  --muted: #55657a;
  --line: #dfe5ec;
  --bg: #ffffff;
  --bg-alt: #f4f7f9;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(1, 30, 58, .06), 0 8px 24px rgba(1, 30, 58, .06);
  --head: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 900; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow {
  font-family: var(--head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.eyebrow-light { color: var(--teal-bright); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--head); font-weight: 700; font-size: 1rem;
  padding: .85em 1.5em; border-radius: 999px;
  background: var(--teal); color: #fff; text-decoration: none;
  border: 2px solid var(--teal); cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { background: #036a6e; border-color: #036a6e; transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--teal-bright); outline-offset: 2px;
}
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 2px 12px rgba(1,30,58,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 500; font-size: .98rem; }
.site-nav a:not(.btn):hover { color: var(--teal); }
.site-nav .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, #0e4a63 0%, transparent 60%), var(--navy);
  color: #d5e0ea;
  padding: clamp(80px, 12vw, 140px) 0 clamp(64px, 9vw, 104px);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
.hero-inner { position: relative; }
.hero .eyebrow { color: var(--teal-bright); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 .accent { color: var(--teal-bright); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 58ch; color: #c3d1de; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 3.5rem; }
.hero-stats {
  list-style: none; margin: 0; padding: 28px 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-stats strong { display: block; font-family: var(--head); font-weight: 900; font-size: 2.2rem; color: #fff; line-height: 1.1; }
.hero-stats span { font-size: .92rem; color: #9fb2c4; }

/* Sections */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px 30px; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.pillar::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--navy), var(--teal));
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(1,30,58,.12); border-color: #c9d4de; }
.pillar-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background: #e6f1f1; color: var(--teal); margin-bottom: 18px;
}
.pillar-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pillar-num { position: absolute; top: 30px; right: 30px; font-family: var(--head); font-weight: 800; color: #c4cfda; margin: 0; }
.pillar h3 { font-size: 1.35rem; }
.pillar > p { color: var(--muted); }
.pillar ul { list-style: none; margin: 1.25rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); }
.pillar li { position: relative; padding-left: 22px; margin: .45em 0; font-size: .96rem; }
.pillar li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}

/* AI band */
.band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, var(--teal) 140%); color: #c9d6e2; padding: clamp(64px, 8vw, 96px) 0; }
.band h2 { color: #fff; margin: 0; max-width: 14ch; }
.band-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.band-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.band-points h3 { color: #fff; font-size: 1.1rem; }
.band-points p { margin: 0; font-size: .97rem; }
.band-points > div { border-left: 2px solid var(--teal-bright); padding-left: 18px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 26px; left: 26px; right: 26px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.steps li { position: relative; }
.step-num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--head); font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 0 0 8px #fff; margin-bottom: 20px;
}
.steps li:last-child .step-num { background: var(--teal); }
.steps p { color: var(--muted); font-size: .98rem; }

/* About */
.about { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
.about-copy p { color: #3a4a5d; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.values li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.values h3 { font-size: 1.05rem; margin-bottom: .35em; }
.values p { margin: 0; color: var(--muted); font-size: .94rem; }

/* Contact */
.contact { background: var(--navy); color: #c3d1de; }
.contact h2 { color: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-details { margin: 2rem 0 0; display: grid; gap: 16px; }
.contact-details dt { font-family: var(--head); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: #8aa0b5; }
.contact-details dd { margin: 0; color: #fff; font-size: 1.05rem; }
.contact-details a { color: #fff; }
.contact-form { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: 0 24px 60px rgba(0,0,0,.25); color: var(--ink); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid #c9d3dd; border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(2,79,82,.15); outline: none; }
.field.invalid input, .field.invalid textarea { border-color: #c0392b; }
.form-status { margin: 14px 0 0; font-size: .92rem; min-height: 1.4em; color: var(--muted); }
.form-status.error { color: #c0392b; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.contact-form button[disabled] { opacity: .7; cursor: progress; transform: none; }
.form-success { text-align: center; padding: 48px 32px; }
.form-success:focus { outline: none; }
.form-success h3 { font-size: 1.4rem; }
.form-success p { color: var(--muted); margin: 0; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: #e6f1f1; color: var(--teal); display: grid; place-items: center; }
.success-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Footer */
.site-footer { background: #00152a; color: #8aa0b5; padding: 48px 0; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.footer-logo { height: 40px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; justify-content: flex-end; }
.site-footer nav a { color: #c3d1de; text-decoration: none; font-size: .95rem; }
.site-footer nav a:hover { color: #fff; }
.fine { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .pillar { transition: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .pillars { grid-template-columns: 1fr; max-width: 640px; }
  .band-inner, .about, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .band h2 { max-width: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .steps::before { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header-inner { height: 66px; }
  .brand img { height: 36px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; box-shadow: 0 12px 24px rgba(1,30,58,.08);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hero-stats strong { font-size: 1.7rem; }
  .hero-stats span { font-size: .8rem; }
  .band-points, .values { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
}
