:root {
  --navy: #112c50;
  --navy-deep: #0a1d36;
  --blue: #467fe0;
  --blue-dark: #285bb5;
  --aqua: #60cbd0;
  --lime: #b2e766;
  --lime-ink: #334b00;
  --paper: #f7fafc;
  --white: #ffffff;
  --ink: #17345f;
  --muted: #566b86;
  --line: #c7d9e5;
  --mist: #eaf3f6;
  --shadow: 0 20px 52px rgba(17, 44, 80, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(70, 127, 224, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 127, 224, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Outfit", sans-serif;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  max-width: 15ch;
  margin-bottom: 20px;
  font-size: 4rem;
}

h2 {
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: 2.75rem;
}

h3 {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 1.35rem;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.lab-header {
  min-height: 76px;
  padding: 10px max(24px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -4px 0 var(--aqua);
}

.lab-header > a:first-child {
  justify-self: start;
}

.lab-header img {
  display: block;
  width: 105px;
  height: auto;
}

.product-name {
  display: grid;
  justify-items: center;
  color: var(--navy);
  font: 800 1.15rem "Outfit", sans-serif;
}

.product-name small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
}

.button {
  min-height: 50px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: var(--lime);
  color: var(--lime-ink);
  box-shadow: 0 12px 28px rgba(178, 231, 102, 0.24);
  font: 800 0.96rem "Manrope", sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: 0 16px 32px rgba(17, 44, 80, 0.24);
}

.button-small {
  min-height: 44px;
  padding: 10px 16px;
  justify-self: end;
  background: var(--blue);
  color: var(--white);
  box-shadow: none;
}

.button-small:hover {
  background: var(--blue-dark);
}

.lab-hero {
  min-height: 82svh;
  padding: 84px max(24px, calc((100% - 1180px) / 2)) 0;
  display: grid;
  grid-template-columns: minmax(0, 740px) 1fr;
  grid-template-rows: 1fr auto;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: url("images/imagen 5.jpg");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.lab-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(8, 29, 55, 0.74);
}

.hero-copy {
  padding: 48px 0 64px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lab-hero .eyebrow {
  color: var(--lime);
}

.hero-highlight {
  max-width: 32ch;
  margin-bottom: 16px;
  color: var(--aqua);
  font: 700 1.42rem "Outfit", sans-serif;
}

.hero-description {
  max-width: 62ch;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.06rem;
}

.hero-signal {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--navy-deep);
  border-top: 4px solid var(--aqua);
}

.hero-signal span {
  min-height: 72px;
  padding: 20px;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-signal span:last-child {
  border-right: 0;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 104px 24px;
}

.section-intro {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-intro > p:last-child {
  max-width: 66ch;
  color: var(--muted);
  font-size: 1.04rem;
}

.challenge {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.challenge-copy > p {
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.08rem;
}

blockquote {
  margin: 0;
  padding: 30px;
  border: 1px solid var(--aqua);
  border-left: 8px solid var(--aqua);
  background: rgba(96, 203, 208, 0.12);
}

blockquote > strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue-dark);
  font: 800 4rem "Outfit", sans-serif;
  line-height: 1;
}

blockquote p {
  margin-bottom: 16px;
  font-weight: 700;
}

blockquote cite {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
}

.journey {
  max-width: none;
  padding-inline: max(24px, calc((100% - 1180px) / 2));
  background: var(--navy);
  color: var(--white);
}

.journey .eyebrow {
  color: var(--lime);
}

.journey h2,
.journey h3 {
  color: var(--white);
}

.journey .section-intro > p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.journey-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.journey-grid li {
  min-height: 400px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.journey-grid li:last-child {
  border-right: 0;
}

.journey-grid span {
  margin-bottom: 64px;
  color: var(--aqua);
  font: 800 0.9rem "Outfit", sans-serif;
}

.journey-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.journey-grid strong {
  margin-top: auto;
  padding-top: 20px;
  color: var(--lime);
  font-size: 0.85rem;
}

.classroom {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.classroom-image img {
  width: 100%;
  height: 600px;
  display: block;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.classroom-lead {
  margin-bottom: 16px;
  color: var(--blue-dark);
  font: 700 1.28rem "Outfit", sans-serif;
}

.classroom-copy > p:not(.eyebrow, .classroom-lead) {
  color: var(--muted);
}

.classroom-copy ul,
.proposal-copy ul {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.classroom-copy li,
.proposal-copy li {
  padding-left: 30px;
  position: relative;
  font-weight: 700;
}

.classroom-copy li::before,
.proposal-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 900;
}

.partner {
  max-width: none;
  padding-inline: max(24px, calc((100% - 1180px) / 2));
  background: var(--mist);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partner-grid article {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.partner-grid article:last-child {
  border-right: 0;
}

.partner-grid span {
  display: block;
  margin-bottom: 50px;
  color: var(--blue);
  font: 800 0.86rem "Outfit", sans-serif;
}

.partner-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.proposal {
  padding: 104px max(24px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: start;
  background: var(--blue);
  color: var(--white);
}

.proposal-copy {
  position: sticky;
  top: 112px;
}

.proposal-copy .eyebrow {
  color: var(--lime);
}

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

.proposal-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.proposal-copy li::before {
  color: var(--lime);
}

.institution-form {
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-top: 6px solid var(--aqua);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.institution-form label {
  display: grid;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 800;
}

.institution-form input,
.institution-form select,
.institution-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  font: 500 0.96rem "Manrope", sans-serif;
}

.institution-form textarea {
  resize: vertical;
}

.institution-form input:focus,
.institution-form select:focus,
.institution-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(70, 127, 224, 0.16);
  outline-offset: 0;
}

.full-row {
  grid-column: 1 / -1;
}

.consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 500 !important;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin: 3px 0 0;
  accent-color: var(--blue);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue-dark);
  font-weight: 800;
}

.form-status.is-error {
  color: #b42318;
}

.privacy {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.lab-footer {
  min-height: 140px;
  padding: 30px max(24px, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.lab-footer img {
  width: 90px;
}

.lab-footer p {
  margin: 0 auto 0 0;
  color: var(--muted);
}

.lab-footer a {
  color: var(--blue-dark);
  font-weight: 800;
}

.mobile-cta {
  display: none;
}

@media (max-width: 920px) {
  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  .lab-hero {
    grid-template-columns: minmax(0, 680px) 1fr;
  }

  .challenge,
  .classroom,
  .proposal {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .journey-grid {
    grid-template-columns: 1fr;
  }

  .journey-grid li {
    min-height: 290px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .journey-grid li:last-child {
    border-bottom: 0;
  }

  .journey-grid span {
    margin-bottom: 32px;
  }

  .classroom-image img {
    height: 480px;
  }

  .proposal-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 68px;
  }

  h1 {
    font-size: 2.32rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .lab-header {
    min-height: 64px;
    padding: 8px 16px;
    grid-template-columns: 1fr auto;
  }

  .lab-header img {
    width: 82px;
  }

  .product-name {
    display: none;
  }

  .button-small {
    min-height: 42px;
    padding: 9px 12px;
    font-size: 0.78rem;
  }

  .lab-hero {
    min-height: calc(100svh - 64px);
    padding: 48px 18px 0;
    grid-template-columns: 1fr;
    background-position: 62% center;
  }

  .lab-hero::before {
    background: rgba(8, 29, 55, 0.82);
  }

  .hero-copy {
    padding: 38px 0 48px;
    align-self: end;
  }

  .hero-highlight {
    font-size: 1.18rem;
  }

  .hero-description {
    font-size: 0.94rem;
  }

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

  .hero-signal span {
    min-height: 58px;
    padding: 14px;
    font-size: 0.74rem;
  }

  .hero-signal span:nth-child(2) {
    border-right: 0;
  }

  .hero-signal span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .section,
  .proposal {
    padding: 76px 18px;
  }

  .section-intro {
    margin-bottom: 32px;
  }

  blockquote {
    padding: 24px 20px;
  }

  blockquote > strong {
    font-size: 3.2rem;
  }

  .journey-grid li {
    padding: 26px 20px;
  }

  .classroom-image img {
    height: 340px;
  }

  .partner-grid,
  .institution-form {
    grid-template-columns: 1fr;
  }

  .partner-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .partner-grid article:last-child {
    border-bottom: 0;
  }

  .partner-grid span {
    margin-bottom: 24px;
  }

  .institution-form {
    padding: 22px 16px;
  }

  .full-row {
    grid-column: 1;
  }

  .lab-footer {
    padding: 28px 18px;
    flex-wrap: wrap;
    gap: 16px;
  }

  .lab-footer p {
    width: calc(100% - 110px);
    margin: 0;
  }

  .lab-footer a {
    width: 100%;
  }

  .mobile-cta.is-visible {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 12px;
    bottom: 8px;
    left: 12px;
    z-index: 30;
    border-radius: 6px;
    background: var(--lime);
    color: var(--lime-ink);
    box-shadow: var(--shadow);
    font-weight: 800;
    text-decoration: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
