:root {
  --uco: #003b71;
  --accent: #00a3a3;
  --ink: #17212b;
  --muted: #5a6673;
  --paper: #ffffff;
  --soft: #eef5f8;
  --line: #d7e3ea;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

.hero {
  background: linear-gradient(135deg, var(--uco), #155d8b 55%, #0f766e);
  color: white;
  min-height: 72vh;
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 800;
  color: white;
  text-decoration: none;
  font-size: 1.25rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

.links a {
  color: white;
  text-decoration: none;
  opacity: .92;
  font-size: .95rem;
}

.links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.hero-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 700;
  font-size: .78rem;
  color: var(--accent);
  margin: 0 0 .7rem;
}

.hero .eyebrow {
  color: #a7ffef;
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: .95;
  margin: .2rem 0 1rem;
}

.lead {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  max-width: 820px;
  color: #eef7fa;
}

.actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  background: white;
  color: var(--uco);
  padding: .8rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
}

.button.ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, .65);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.8rem 1.5rem;
}

.section.alt {
  max-width: none;
  background: var(--soft);
  padding-left: max(1.5rem, calc((100% - 1180px) / 2 + 1.5rem));
  padding-right: max(1.5rem, calc((100% - 1180px) / 2 + 1.5rem));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section h2 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  margin: .1rem 0;
  color: var(--uco);
}

.cards {
  display: grid;
  gap: 1rem;
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.35rem;
  box-shadow: 0 10px 30px rgba(0, 59, 113, .06);
}

.card h3 {
  margin: .1rem 0 .45rem;
  color: var(--uco);
}

.card p,
.panel p {
  color: var(--muted);
  margin: .35rem 0;
}

.highlight {
  border-color: rgba(0, 163, 163, .4);
  box-shadow: 0 12px 32px rgba(0, 163, 163, .12);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: .75rem 1.25rem;
  align-items: start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 10px 30px rgba(0, 59, 113, .04);
}

.timeline span {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--uco);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.timeline h3 {
  grid-column: 2;
  margin: .1rem 0 0;
  color: var(--uco);
  line-height: 1.25;
}

.timeline p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  max-width: 80ch;
}

.people {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
}

.people li {
  background: white;
  border: 1px solid var(--line);
  border-radius: .85rem;
  padding: .7rem .8rem;
}

.footer {
  background: #071d33;
  color: #dceaf3;
  text-align: center;
  padding: 2rem 1rem;
  font-size: .92rem;
}

@media (max-width: 850px) {
  .cards.three,
  .cards.two,
  .people {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-content {
    padding-top: 3rem;
  }

  .section.alt {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 700px) {
  .timeline article {
    grid-template-columns: 1fr;
  }

  .timeline span,
  .timeline h3,
  .timeline p {
    grid-column: 1;
    grid-row: auto;
  }
}


/* Ajustes cabecera v2 */
.hero-content{max-width:900px;padding:7rem 1.5rem 5rem;}
.hero-content .eyebrow{text-align:center;}
.hero h1{font-size:clamp(3rem,7vw,5.8rem);line-height:.95;margin:.2rem 0 .75rem;text-align:center;}
.hero-subtitle{margin:0 auto 1.1rem;max-width:760px;font-size:clamp(1.15rem,2vw,1.55rem);font-weight:650;line-height:1.25;color:#dff7ff;text-align:center;}
.lead{margin:0 auto;max-width:860px;text-align:justify;text-wrap:pretty;}
.actions{justify-content:center;}
@media (max-width:850px){.hero-content .eyebrow,.hero h1,.hero-subtitle{text-align:left;}.lead{text-align:left;}.actions{justify-content:flex-start;}}
