:root {
  --navy: #001030;
  --navy-2: #031b43;
  --ink: #102033;
  --muted: #617086;
  --line: #dbe3ec;
  --soft: #f5f8fb;
  --white: #ffffff;
  --green: #90c020;
  --cyan: #10c0d0;
  --amber: #f0a000;
  --shadow: 0 18px 45px rgba(0, 16, 48, 0.12);
  --radius: 8px;
  --header-height: 74px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  width: auto;
  height: auto;
  padding: 0.7rem 1rem;
  clip: auto;
  color: var(--navy);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0 5vw;
  color: var(--white);
  background: rgba(0, 16, 48, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.site-header[data-scrolled] {
  box-shadow: 0 10px 30px rgba(0, 16, 48, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  font-size: 1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.35vw, 1.35rem);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  font-weight: 650;
}

.nav a {
  padding: 0.65rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--white);
  border-color: var(--cyan);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 5vw;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  min-height: calc(78svh - var(--header-height));
  padding-top: clamp(4rem, 7vw, 7rem);
  padding-bottom: clamp(2.4rem, 5vw, 4.5rem);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 38%, rgba(16, 192, 208, 0.13), transparent 32%),
    linear-gradient(90deg, rgba(0, 16, 48, 0.98) 0%, rgba(0, 16, 48, 0.91) 48%, rgba(0, 16, 48, 0.98) 100%),
    var(--navy);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--amber), var(--green), var(--cyan));
}

.hero-inner {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 780px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(46vw, 620px);
  min-width: 360px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 0.8rem;
  font-size: clamp(3.1rem, 9vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin-top: 1.35rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.06rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: 100%;
  padding: 0.82rem 1.12rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  color: var(--navy);
  background: var(--green);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #a6d92c;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--cyan);
}

.hero-facts {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 980px;
  margin-top: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.hero-facts div {
  min-height: 112px;
  padding: 1.1rem;
  background: rgba(0, 16, 48, 0.66);
}

.hero-facts dt {
  color: var(--cyan);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 850;
  line-height: 1;
}

.hero-facts dd {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.section-heading {
  max-width: 790px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-heading h2,
.team h2,
.contact h2 {
  margin-top: 0.6rem;
  color: var(--navy);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.services {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  min-height: 250px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(0, 16, 48, 0.06);
}

.service-card:hover {
  border-color: rgba(16, 192, 208, 0.55);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.3rem;
  color: var(--navy);
  background: #eaf6ce;
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 850;
}

.service-card h3,
.artifact-grid h3,
.approach-grid h3,
.team-card h3,
.topic-list h3 {
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.22;
}

.service-card p,
.artifact-grid p,
.approach-grid p,
.team-card p,
.topic-list p {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.artifacts {
  background:
    linear-gradient(180deg, rgba(144, 192, 32, 0.09), rgba(144, 192, 32, 0) 46%),
    var(--soft);
}

.artifact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.artifact-layout .section-heading {
  margin-bottom: 0;
}

.artifact-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.artifact-visual img {
  width: 100%;
  height: auto;
}

.artifact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.artifact-grid article {
  min-height: 220px;
  padding: 1.25rem;
  border: 1px solid rgba(0, 16, 48, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(0, 16, 48, 0.05);
}

.experience {
  background: var(--soft);
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.experience-copy {
  display: grid;
  gap: 1rem;
  color: #314258;
  font-size: 1.06rem;
}

.entity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.entity-list span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 760;
}

.approach {
  background:
    linear-gradient(180deg, rgba(16, 192, 208, 0.08), rgba(16, 192, 208, 0) 42%),
    var(--white);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.approach-grid article {
  min-height: 190px;
  padding: 1.35rem;
  border-left: 4px solid var(--cyan);
  background: var(--soft);
  border-radius: var(--radius);
}

.approach-grid article:nth-child(2) {
  border-left-color: var(--green);
}

.approach-grid article:nth-child(3) {
  border-left-color: var(--amber);
}

.team {
  background: var(--navy);
}

.team .section-heading h2 {
  color: var(--white);
}

.team .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 1rem;
  max-width: 1180px;
}

.team-card {
  min-height: 330px;
  padding: clamp(1.35rem, 3vw, 2.1rem);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(144, 192, 32, 0.13), rgba(16, 192, 208, 0.08)),
    var(--navy-2);
}

.team-card-featured {
  background:
    linear-gradient(135deg, rgba(144, 192, 32, 0.18), rgba(16, 192, 208, 0.1)),
    var(--navy-2);
}

.team-card h3 {
  margin-top: 0.5rem;
  color: var(--white);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.team-card p {
  color: rgba(255, 255, 255, 0.82);
}

.team-role {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.topics {
  background: var(--white);
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.topic-list article {
  min-height: 180px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact {
  padding: clamp(4rem, 8vw, 7rem) 5vw;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 16, 48, 0.96), rgba(0, 16, 48, 0.82)),
    url("02_isotipo_transparente.png") right 8% center / min(460px, 48vw) auto no-repeat,
    var(--navy);
}

.contact-inner {
  max-width: 740px;
}

.contact h2 {
  color: var(--white);
}

.contact p:not(.eyebrow) {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
}

.contact-address {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
  font-weight: 750;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  padding: 1.4rem 5vw;
  color: rgba(255, 255, 255, 0.76);
  background: #000b20;
  font-size: 0.9rem;
}

.site-footer p:first-child {
  color: var(--white);
  font-weight: 760;
}

.footer-domain {
  color: var(--cyan);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: calc(var(--header-height) - 1px);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 0.5rem 5vw 1rem;
    background: rgba(0, 16, 48, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 180ms ease, visibility 180ms ease;
  }

  .nav[data-open="true"] {
    transform: translateY(0);
    visibility: visible;
  }

  .nav a {
    padding: 0.95rem 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: calc(80svh - var(--header-height));
    background:
      radial-gradient(circle at 50% 22%, rgba(16, 192, 208, 0.14), transparent 34%),
      linear-gradient(180deg, rgba(0, 16, 48, 0.98) 0%, rgba(0, 16, 48, 0.92) 100%),
      var(--navy);
  }

  .hero-inner {
    padding-top: 2rem;
  }

  .hero-visual {
    justify-self: start;
    width: min(100%, 520px);
    min-width: 0;
  }

  .hero-facts,
  .service-grid,
  .artifact-grid,
  .artifact-layout,
  .experience-layout,
  .approach-grid,
  .team-grid,
  .topic-list {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding: 0 1rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand span {
    font-size: 0.94rem;
  }

  .section,
  .contact {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero {
    min-height: calc(82svh - var(--header-height));
  }

  .hero-actions,
  .hero-actions .button,
  .contact-actions,
  .contact .button {
    width: 100%;
  }

  .hero-facts {
    margin-top: 2.4rem;
  }

  .service-card,
  .artifact-grid article,
  .approach-grid article,
  .team-card,
  .topic-list article {
    min-height: auto;
  }

  .site-footer {
    padding: 1.3rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
