@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #00395d;
  --purple: #702785;
  --purple-l: #d8bfde;
  --pink: #e34398;
  --pink-d: #c42a80; /* rosa con contraste AA sobre blanco y texto blanco */
  --pink-l: #f4bdd6;
  --green: #65bd5f;
  --green-l: #c6e0a6;
  --green-d: #2f7a2a;
  --cyan: #00bce7;
  --cyan-l: #bfe7f7;
  --cyan-d: #007fa3;
  --indigo: #23266b;
  --muted: #2b4d66;
  --max: 1360px;
  --gutter: clamp(16px, 5.4vw, 74px);
  --font:
    "Montserrat", system-ui, -apple-system, "Segoe UI", roboto, sans-serif;
}

/* Todo el sitio va en una capa: así el bloque de movimiento reducido, fuera de capas, gana sin !important. */
@layer sitio {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    text-size-adjust: 100%;
    scroll-behavior: smooth;
  }

  body {
    margin: 0;
    font-family: var(--font);
    color: var(--navy);
    background: #fff;
    line-height: 1.5;
  }

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

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

  h1,
  h2,
  h3,
  h4,
  p,
  ul,
  ol,
  figure {
    margin: 0;
  }

  ul,
  ol {
    padding: 0;
    list-style: none;
  }

  button {
    font-family: inherit;
  }

  :focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: 2px;
  }

  .cib-bar :focus-visible,
  .site-footer :focus-visible,
  .carousel :focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .skip-link {
    position: absolute;
    left: 8px;
    top: -64px;
    z-index: 100;
    background: #fff;
    color: var(--navy);
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 700;
  }

  .skip-link:focus {
    top: 8px;
  }

  .page {
    max-width: var(--max);
    margin: 0 auto;
    background: #fff;
  }

  .section {
    padding-inline: var(--gutter);
  }

  .h2 {
    font-size: clamp(23px, 2.2vw, 30px);
    line-height: 1.25;
    font-weight: 700;
    color: var(--navy);
  }

  .rule {
    width: 86px;
    height: 4px;
    margin: 12px 0 24px;
    background: var(--cyan);
  }

  .rule--pink {
    background: var(--pink);
  }

  .rule--purple {
    background: var(--purple);
  }

  .course__rule {
    width: 120px;
    margin: 16px 0 24px;
  }

  .what__rule {
    margin: 14px 0 26px;
  }

  .what__title {
    font-size: clamp(25px, 2.5vw, 30px);
  }

  .lead {
    font-size: 17px;
    line-height: 1.7;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-height: 52px;
    padding: 12px 28px;
    border: 2px solid var(--pink-d);
    border-radius: 10px 10px 30px;
    background: var(--pink-d);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    transition:
      background-color 0.2s,
      color 0.2s,
      border-color 0.2s;
  }

  .btn:hover {
    background: #fff;
    color: var(--pink-d);
  }

  .btn:active {
    border-color: var(--pink-d);
    background: var(--pink-d);
    color: #fff;
  }

  .btn:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: 3px;
  }

  .btn svg {
    flex: none;
    fill: currentcolor;
    transition: translate 0.2s;
  }

  .site-header {
    display: contents;
  }

  .cib-bar {
    position: relative;
    z-index: 21;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    min-height: 150px;
    padding: 0 40px;
    background: linear-gradient(100deg, #23266b 0%, #2c3088 100%);
  }

  .cib-logo {
    flex: none;
    padding-top: 22px;
  }

  .cib-logo img {
    height: 80px;
    width: auto;
  }

  .menu-toggle {
    display: none;
  }

  .cib-panel {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: end;
    align-items: center;
    gap: 18px 28px;
    padding-top: 14px;
  }

  .cib-utils {
    display: contents;
  }

  .util-links {
    display: flex;
    align-items: center;
    gap: 28px;
    grid-column: 1;
    grid-row: 1;
  }

  .util-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
  }

  .search {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    height: 36px;
    padding: 0 6px 0 16px;
    border-radius: 999px;
    background: #fff;
  }

  .search input {
    width: 150px;
    border: 0;
    background: transparent;
    font: 400 13px var(--font);
    color: var(--indigo);
  }

  .search input:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: 2px;
  }

  .search button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  .search button:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: -2px;
  }

  .panel-ehr {
    display: none;
  }

  .cib-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: end;
    display: flex;
    background: #0a7bb3;
    border-radius: 6px;
  }

  .nav-group {
    position: relative;
  }

  .nav-group-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    height: 100%;
    padding: 12px 14px;
    border: 0;
    border-left: 1px solid rgb(255 255 255 / 65%);
    background: transparent;
    color: #fff;
    font: 600 13px var(--font);
    text-align: left;
    cursor: pointer;
  }

  .nav-group:first-child .nav-group-btn {
    border-left: 0;
    border-radius: 6px 0 0 6px;
  }

  .nav-group:last-child .nav-group-btn {
    border-radius: 0 6px 6px 0;
  }

  .nav-group.is-current .nav-group-btn {
    background: #054f7a;
  }

  .nav-group-btn svg {
    flex: none;
    transition: transform 0.2s;
  }

  .nav-sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 5;
    min-width: 250px;
    padding: 6px 0;
    background: #0a7bb3;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 10px 24px rgb(0 0 0 / 25%);
  }

  .nav-group:nth-last-child(-n + 2) .nav-sub {
    left: auto;
    right: 0;
  }

  .nav-group-btn[aria-expanded="true"] + .nav-sub {
    display: block;
  }

  .nav-sub a {
    display: block;
    padding: 10px 16px;
    color: #fff;
    font-size: 13px;
    transition: background-color 0.15s ease;
  }

  .ehr-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 28px;
    background: #fff;
    border-bottom: 1px solid #e3e8f0;
    box-shadow: 0 3px 12px rgb(0 57 93 / 8%);
  }

  .ehr-brand {
    flex: 0 1 auto;
    min-width: 0;
  }

  .ehr-brand img {
    height: 54px;
    width: auto;
    max-width: 100%;
  }

  .ehr-nav {
    display: flex;
    flex: 0 1 auto;
    min-width: 0;
    border: 2px solid var(--pink-d);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
  }

  .ehr-nav a,
  .ehr-nav span {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 14px clamp(14px, 2vw, 30px);
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
    color: var(--pink-d);
    transition:
      background-color 0.2s,
      color 0.2s;
  }

  .ehr-nav li {
    display: flex;
  }

  .ehr-nav__list {
    display: contents;
  }

  .ehr-nav li + li > * {
    border-left: 1px solid #f0a3cc;
  }

  .ehr-partner {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
  }

  .ehr-partner img {
    height: 52px;
    width: auto;
  }

  .ehr-partner p {
    max-width: 110px;
    font-size: 12px;
    line-height: 1.45;
  }

  .hero {
    position: relative;
    background: var(--navy);
    overflow: hidden;
  }

  .hero__img {
    width: 100%;
    height: auto;
  }

  .hero__text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .hero__eyebrow {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cyan);
  }

  .hero__title {
    margin-top: 10px;
    font-size: 32px;
    line-height: 1.18;
    font-weight: 700;
    color: #fff;
  }

  .hero__lead {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.55;
    color: #fff;
  }

  .hero__line {
    width: 72px;
    height: 3px;
    margin-top: 18px;
    background: var(--pink);
  }

  .hl-green {
    color: var(--green);
  }

  .hl-pink {
    color: #f08cc0;
  }

  .carousel {
    position: relative;
    height: 440px;
    overflow: hidden;
    background: var(--navy);
  }

  .carousel__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.7s ease;
  }

  .carousel__btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgb(0 57 93 / 90%);
    color: #fff;
    cursor: pointer;
    transition:
      background-color 0.2s,
      color 0.2s;
  }

  .carousel__btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -3px;
  }

  .carousel__pause {
    position: absolute;
    right: 14px;
    bottom: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgb(0 57 93 / 90%);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s;
  }

  .carousel__pause:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -3px;
  }

  .carousel__pause[aria-pressed="true"] .i-pause {
    display: none;
  }

  .carousel__btn--prev {
    left: 18px;
  }

  .carousel__btn--next {
    right: 18px;
  }

  .carousel__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    z-index: 2;
    display: flex;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgb(0 57 93 / 85%);
    pointer-events: none;
  }

  .carousel__dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .carousel__dot:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -2px;
  }

  .carousel__dot span {
    display: block;
    width: 30px;
    height: 5px;
    border-radius: 3px;
    background: rgb(255 255 255 / 70%);
  }

  .about {
    padding-top: 64px;
  }

  .about__card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px;
    align-items: center;
    padding: 56px 64px;
    border-radius: 64px 0;
    background: var(--cyan-l);
  }

  .about__card p {
    font-size: 17px;
    line-height: 1.65;
  }

  .about__photo {
    width: 100%;
    aspect-ratio: 1085 / 856;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgb(0 57 93 / 22%);
    transition:
      scale 0.45s ease,
      box-shadow 0.45s ease,
      opacity 0.7s ease,
      translate 0.7s ease;
  }

  .ornament {
    position: relative;
    height: 76px;
  }

  .ornament img {
    position: absolute;
    left: 50%;
    top: 0;
    width: 68px;
    margin-left: -34px;
  }

  .ornament::before,
  .ornament::after {
    content: "";
    position: absolute;
    border: 0 solid #7d95aa;
  }

  .ornament--right::before {
    left: 50%;
    right: 0;
    top: 44px;
    border-top-width: 1.5px;
  }

  .ornament--right::after {
    left: 50%;
    top: 44px;
    height: 32px;
    border-left-width: 1.5px;
  }

  .ornament--left::before {
    left: 0;
    right: 50%;
    top: 44px;
    border-top-width: 1.5px;
  }

  .ornament--left::after {
    left: 50%;
    top: 44px;
    height: 32px;
    border-left-width: 1.5px;
  }

  .ornament--both::before {
    left: 0;
    right: 0;
    top: 52px;
    border-top-width: 1.5px;
  }

  .ornament--both::after {
    left: 50%;
    top: 52px;
    height: 24px;
    border-left-width: 1.5px;
  }

  .allies {
    padding-top: 84px;
  }

  .strip {
    position: relative;
    padding-inline: 68px;
    background: #fff;
    border: 1px solid #cfd8e3;
    border-radius: 20px;
    box-shadow: 0 6px 22px rgb(0 57 93 / 12%);
  }

  .strip__track {
    display: flex;
    align-items: center;
    padding-block: 26px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    cursor: grab;
  }

  .strip__track::-webkit-scrollbar {
    display: none;
  }

  .strip__track li {
    flex: none;
    display: grid;
    place-items: center;
    width: 190px;
    height: 92px;
    scroll-snap-align: start;
  }

  .strip__track a {
    display: grid;
    place-items: center;
    padding: 6px 8px;
    border-radius: 10px;
    cursor: pointer;
  }

  .strip__track img {
    width: auto;
    height: var(--h, 52px);
    max-width: 158px;
    object-fit: contain;
    transition: scale 0.2s ease;
    user-select: none;
    -webkit-user-drag: none;
  }

  .strip__logo--h38 {
    --h: 38px;
  }

  .strip__logo--h42 {
    --h: 42px;
  }

  .strip__logo--h46 {
    --h: 46px;
  }

  .strip__logo--h54 {
    --h: 54px;
  }

  .strip__logo--h56 {
    --h: 56px;
  }

  .strip__logo--h62 {
    --h: 62px;
  }

  .strip__logo--h66 {
    --h: 66px;
  }

  .strip__btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgb(0 57 93 / 62%);
    color: #fff;
    cursor: pointer;
    transition:
      background-color 0.2s,
      color 0.2s,
      opacity 0.2s;
  }

  .strip__btn--prev {
    left: 12px;
  }

  .strip__btn--next {
    right: 12px;
  }

  .course {
    margin-top: 96px;
    padding-block: 68px 72px;
    background: var(--pink-l);
  }

  .course__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
    align-items: center;
  }

  .course__title {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .course__title img {
    width: 60px;
    height: 60px;
    animation: float-y 4.2s ease-in-out infinite;
  }

  .course__title h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--purple);
  }

  .course__sub {
    max-width: 330px;
    margin-top: 18px;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 700;
  }

  .modules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .module {
    position: relative;
    display: block;
    padding: 22px 22px 26px;
    border: 2px solid transparent;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 14px rgb(112 39 133 / 12%);
    color: inherit;
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      border-color 0.25s ease;
  }

  .module__go {
    position: absolute;
    right: 16px;
    bottom: 14px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--pink-d);
    color: #fff;
    transition:
      background-color 0.25s,
      color 0.25s,
      translate 0.25s;
  }

  .module__head {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .module__head img {
    flex: none;
    width: 56px;
    height: 56px;
  }

  .module__num {
    font-size: 16px;
    font-weight: 700;
    color: var(--mc-ink);
  }

  .module h3 {
    margin-top: 2px;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 700;
  }

  .module--1 {
    --mc: var(--cyan);
    --mc-ink: var(--cyan-d);
  }

  .module--2 {
    --mc: var(--pink);
    --mc-ink: var(--pink-d);
  }

  .module--3 {
    --mc: var(--green);
    --mc-ink: var(--green-d);
  }

  .module--4 {
    --mc: var(--purple);
    --mc-ink: var(--purple);
  }

  .what {
    padding-top: 64px;
  }

  .what__card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: center;
    padding: 60px 64px;
    border-radius: 64px 0;
    background: var(--pink-l);
  }

  .what__text p {
    font-size: 17px;
    line-height: 1.65;
  }

  .blob {
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }

  .blob--magenta {
    background-image: url("../img/blob-magenta.png");
  }

  .blob--verde {
    background-image: url("../img/blob-verde.png");
  }

  .blob--rojo {
    background-image: url("../img/blob-rojo.png");
  }

  .what__blob {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-block: -100px;
    padding: 56px 52px 60px;
  }

  .what__blob img {
    width: 68px;
    height: 68px;
  }

  .what__blob p {
    margin: 0;
    font-size: 19px;
    line-height: 1.6;
    font-weight: 700;
    color: #fff;
  }

  .genetic {
    padding-top: 150px;
  }

  .genetic__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: center;
  }

  .genetic__dna {
    position: relative;
    aspect-ratio: 436 / 327;
    background: url("../img/adn-fondo.png") center / 100% 100% no-repeat;
  }

  .genetic__dna img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: dna-drift 7s ease-in-out infinite;
  }

  .genetic__text p {
    font-size: 16px;
    line-height: 1.7;
  }

  .pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    padding-top: 70px;
  }

  .pair h2 {
    margin-bottom: 18px;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
  }

  .pair p {
    font-size: 16px;
    line-height: 1.7;
  }

  .flag-note {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgb(255 255 255 / 60%);
  }

  .flag-note img {
    flex: none;
    width: 44px;
    height: 44px;
  }

  .flag-note p {
    font-size: 15px;
    line-height: 1.55;
  }

  .route {
    margin-top: 80px;
    padding-block: 64px 56px;
    background: var(--cyan-l);
  }

  .route__title {
    max-width: 980px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: clamp(22px, 2.1vw, 28px);
    line-height: 1.35;
    font-weight: 500;
  }

  .route__title strong {
    font-weight: 700;
  }

  .route__source {
    margin-top: 22px;
    text-align: center;
    font-size: 13px;
  }

  .route__steps {
    display: none;
  }

  .route__step--navy {
    --bg: var(--navy);
    --fg: #fff;
  }

  .route__step--magenta {
    --bg: var(--pink-d);
    --fg: #fff;
  }

  .route__step--green {
    --bg: var(--green);
    --fg: var(--navy);
  }

  .route__step--cyan {
    --bg: var(--cyan);
    --fg: var(--navy);
  }

  .route__full {
    display: none;
  }

  .refs {
    padding-block: 48px 64px;
  }

  .refs h2 {
    margin-bottom: 14px;
    font-size: 18px;
    font-weight: 700;
  }

  .refs ol,
  .refs ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted);
  }

  .refs ol {
    list-style: decimal;
  }

  .refs ul {
    list-style: disc;
  }

  .refs a {
    color: var(--purple);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
  }

  .refs details {
    border: 1px solid #cfd8e3;
    border-radius: 12px;
    padding: 0 16px;
  }

  .refs summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }

  .refs h3 {
    margin: 8px 0 10px;
    font-size: 15px;
    font-weight: 700;
  }

  .intro {
    padding-top: 56px;
    text-align: center;
  }

  .intro p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
  }

  .voices {
    padding-top: 72px;
    padding-bottom: 90px;
  }

  .tgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    align-items: start;
  }

  .tcol {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  .tcard {
    --sh: rgb(0 57 93 / 30%);

    padding: 34px 36px 30px;
    border-radius: 56px 0;
    background: var(--soft);
    color: var(--navy);
    scroll-margin-top: 96px;
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      background-color 0.4s ease,
      color 0.4s ease;
  }

  .tcard h3 {
    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
  }

  .tcard__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 48px;
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 17px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
  }

  .tcard__toggle img {
    flex: none;
    width: 22px;
    height: auto;
    padding: 2px;
    border-radius: 4px;
    transition: transform 0.2s;
  }

  .tcard__body {
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition:
      grid-template-rows 0.45s ease,
      visibility 0s linear 0.45s;
  }

  .tcard__inner {
    min-height: 0;
    padding-top: 0;
    overflow: hidden;
    opacity: 0;
    transition:
      opacity 0.3s ease,
      padding-top 0.45s ease;
  }

  .tcard__body p {
    font-size: 17px;
    line-height: 1.7;
  }

  .about__card p + p {
    margin-top: 20px;
  }

  .module h3::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    margin-top: 8px;
    background: var(--mc);
  }

  .what__text p + p {
    margin-top: 18px;
  }

  .refs summary::-webkit-details-marker {
    display: none;
  }

  .tcard--verde {
    --soft: var(--green-l);
    --strong: var(--green);
    --strong-fg: var(--navy);
    --line: var(--green);
    --sh: rgb(101 189 95 / 60%);
  }

  .tcard--rosa {
    --soft: var(--pink-l);
    --strong: var(--pink-d);
    --strong-fg: #fff;
    --strong-line: #fff;
    --line: var(--pink-d);
    --sh: rgb(196 42 128 / 55%);
  }

  .tcard--morado {
    --soft: var(--purple-l);
    --strong: var(--purple);
    --strong-fg: #fff;
    --strong-line: #fff;
    --line: var(--purple);
    --sh: rgb(112 39 133 / 50%);
  }

  .tcard--cian {
    --soft: var(--cyan-l);
    --strong: var(--cyan);
    --strong-fg: var(--navy);
    --line: var(--cyan);
    --sh: rgb(0 188 231 / 60%);
  }

  .repo-icon {
    position: absolute;
    left: 50%;
    top: 0;
    margin-left: -32px;
  }

  .repo {
    padding-top: 64px;
    padding-bottom: 96px;
  }

  .repo__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px;
    align-items: stretch;
  }

  .rcard {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid rgb(227 67 152 / 55%);
    border-radius: 48px 0;
    background: var(--navy);
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      border-color 0.25s ease;
  }

  .rcard img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center top;
    transition: scale 0.5s ease;
  }

  .rcard__body {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 30px 36px 38px;
    text-align: center;
    background: var(--navy);
  }

  .rcard__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .rcard__cat {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyan);
  }

  .rcard h3 {
    max-width: 420px;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 600;
    color: #fff;
  }

  .rcard__desc {
    max-width: 430px;
    font-size: 15px;
    line-height: 1.6;
    color: #dbe7f0;
  }

  .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    min-width: 230px;
    padding: 13px 26px;
    border: 2px solid var(--pink-d);
    border-radius: 4px 4px 28px;
    background: transparent;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    transition:
      background-color 0.2s,
      border-color 0.2s;
  }

  .btn-outline svg {
    flex: none;
    fill: currentcolor;
    transition: translate 0.2s;
  }

  .site-footer {
    color: #fff;
  }

  .site-footer__wave {
    display: flex;
    height: 14px;
    background: #2b62b3;
  }

  .site-footer__wave::before {
    content: "";
    width: 36%;
    border-radius: 0 14px 0 0;
    background: #2f9fe0;
  }

  .site-footer__body {
    padding: 44px 74px 36px;
    background: linear-gradient(180deg, #25296f 0%, #14185a 100%);
  }

  .site-footer__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
  }

  .site-footer__top img {
    height: 64px;
    width: auto;
  }

  .social {
    display: flex;
    gap: 16px;
  }

  .social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #1b9bdc;
    transition:
      scale 0.15s ease,
      background-color 0.15s ease;
  }

  .fcols {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 12px;
  }

  .fcol {
    min-width: 130px;
    padding: 2px 22px;
    border-left: 1px solid rgb(255 255 255 / 60%);
  }

  .fcol summary {
    list-style: none;
  }

  .fcol:not([open]) > :not(summary) {
    display: none;
  }

  .fcol__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    pointer-events: none;
  }

  .fcol__title svg {
    display: none;
  }

  .refs summary svg {
    transition: transform 0.2s;
  }

  .btn:hover svg {
    translate: 4px 0;
  }

  .nav-group-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }

  .tcard h3::after {
    content: "";
    display: block;
    width: 86px;
    height: 4px;
    margin: 14px 0;
    background: var(--line);
    transition:
      width 0.55s ease,
      background-color 0.4s ease;
  }

  .tcard__body p + p {
    margin-top: 14px;
  }

  .fcol summary::-webkit-details-marker {
    display: none;
  }

  .fcol ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
  }

  .fcol a {
    font-size: 12px;
    color: #e6e9ff;
  }

  .fcol a,
  .legal a,
  .contact a,
  .util-link {
    transition: color 0.15s ease;
  }

  .util-link:hover {
    text-decoration: underline;
  }

  .search:focus-within {
    box-shadow: 0 0 0 3px var(--navy);
  }

  .ehr-nav .is-disabled {
    color: var(--muted);
    cursor: default;
  }

  .carousel__slide.is-active {
    opacity: 1;
  }

  .carousel__btn:hover,
  .carousel__btn:focus-visible {
    background: var(--pink-d);
    color: #fff;
  }

  .carousel__pause:hover,
  .carousel__pause:focus-visible {
    background: var(--pink-d);
  }

  .carousel__pause .i-play {
    display: none;
  }

  .carousel__pause[aria-pressed="true"] .i-play {
    display: block;
  }

  .carousel__dots .carousel__dot {
    pointer-events: auto;
  }

  .no-js .carousel__btn,
  .no-js .carousel__dots,
  .no-js .carousel__pause {
    display: none;
  }

  .about__photo:hover {
    scale: 1.035;
    box-shadow: 0 18px 40px rgb(0 57 93 / 50%);
  }

  .allies .h2 {
    margin: 20px 0 34px;
    text-align: center;
    font-size: clamp(26px, 2.6vw, 34px);
  }

  .strip__track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
  }

  .strip__btn:hover,
  .strip__btn:focus-visible {
    background: var(--pink-d);
    color: #fff;
  }

  .strip__btn:disabled {
    opacity: 0.3;
    cursor: default;
    background: rgb(0 57 93 / 62%);
    color: #fff;
    outline: 3px solid var(--navy);
    outline-offset: 2px;
  }

  .no-js .strip__btn {
    display: none;
  }

  .module:hover,
  .module:focus-visible {
    transform: translateY(-6px);
    border-color: var(--pink-d);
    box-shadow: 0 16px 30px rgb(227 67 152 / 28%);
  }

  .module:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: 3px;
  }

  .module:hover .module__go,
  .module:focus-visible .module__go {
    background: var(--purple);
    color: #fff;
    translate: 3px 0;
  }

  .what__text .btn {
    margin-top: 30px;
  }

  .genetic .h2 {
    margin-bottom: 40px;
    text-align: center;
    font-size: clamp(24px, 2.2vw, 28px);
  }

  .pair .blob {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 56px;
  }

  .intro .h2 {
    margin: 18px 0 26px;
    font-size: clamp(25px, 2.4vw, 30px);
  }

  .voices .h2 {
    margin: 14px 0 40px;
    text-align: center;
    font-size: clamp(25px, 2.4vw, 30px);
  }

  .tcard:nth-child(even) {
    border-radius: 0 56px;
  }

  .tcard:not(.is-open):hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -8px var(--sh);
  }

  .no-js .tcard__body {
    grid-template-rows: 1fr;
    visibility: visible;
  }

  .tcard.is-open .tcard__body {
    grid-template-rows: 1fr;
    visibility: visible;
    transition:
      grid-template-rows 0.45s ease,
      visibility 0s;
  }

  .no-js .tcard__inner {
    padding-top: 18px;
    opacity: 1;
  }

  .tcard.is-open .tcard__inner {
    padding-top: 18px;
    opacity: 1;
    transition:
      opacity 0.5s ease 0.15s,
      padding-top 0.45s ease;
  }

  .tcard.is-open {
    /* diseño: justificado — variantes rosa y morado usan texto #fff, verde y cian usan navy; ver D-4 */
    background: var(--strong);
    color: var(--strong-fg, var(--navy));
  }

  .tcard--morado.is-open :focus-visible,
  .tcard--rosa.is-open :focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
  }

  .rcard:hover {
    transform: translateY(-6px);
    border-color: var(--pink-d);
    box-shadow:
      0 0 0 1px var(--pink-d),
      0 18px 34px rgb(0 57 93 / 38%);
  }

  .btn-outline:hover {
    background: var(--pink-d);
    color: #fff;
  }

  .btn-outline:active {
    border-color: var(--pink-d);
    background: var(--pink-d);
    color: #fff;
  }

  .btn-outline:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
  }

  .fcol:first-child {
    border-left: 0;
  }

  .legal {
    margin-top: 30px;
    text-align: center;
    font-size: 12px;
    color: #e6e9ff;
  }

  .contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 34px;
    margin-top: 20px;
    padding: 16px 0;
    border-block: 1px solid rgb(255 255 255 / 35%);
    font-size: 12px;
  }

  .contact__icon {
    flex: none;
  }

  .contact li,
  .contact a {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .nav-sub a:hover,
  .nav-sub a[aria-current="page"] {
    background: #054f7a;
  }

  .ehr-nav a:hover {
    background: var(--pink-l);
    color: var(--navy);
  }

  .ehr-nav a[aria-current="page"] {
    background: var(--pink-d);
    color: #fff;
    border-color: var(--pink-d);
    border-left-color: transparent;
  }

  .ehr-nav a:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: -12px;
  }

  .ehr-nav a[aria-current="page"]:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -12px;
  }

  .carousel__dot[aria-current="true"] span {
    background: var(--pink-d);
  }

  .allies .h2 span {
    color: var(--pink-d);
  }

  .course p.course__text {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.7;
  }

  .module p:not(.module__num) {
    margin-top: 18px;
    padding-right: 40px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
  }

  .genetic__text p:first-child {
    margin-bottom: 10px;
  }

  .refs a:hover {
    color: var(--pink-d);
  }

  .intro .h2 span {
    color: var(--purple);
  }

  .voices .h2 span {
    color: var(--pink);
  }

  .repo-intro .h2 span {
    color: #3c8a36;
  }

  .rcard:hover img {
    scale: 1.05;
  }

  .btn-outline:hover svg {
    translate: 4px 0;
  }

  .refs details[open] summary svg {
    transform: rotate(180deg);
  }

  .fcol a:hover,
  .legal a:hover,
  .contact a:hover {
    color: #fff;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
  }

  .social a:hover,
  .social a:focus-visible {
    scale: 1.12;
    background: #3ab3f0;
  }

  .copy {
    margin-top: 18px;
    text-align: center;
    font-size: 12px;
    color: #e6e9ff;
  }

  .js .reveal {
    opacity: 0;
    translate: 0 26px;
    transition:
      opacity 0.7s ease var(--d, 0s),
      translate 0.7s ease var(--d, 0s),
      scale 0.7s ease var(--d, 0s);
  }

  .js .reveal--left {
    translate: -34px 0;
  }

  .js .reveal--right {
    translate: 34px 0;
  }

  .js .reveal--zoom {
    translate: 0 0;
    scale: 0.96;
  }

  .js .reveal.is-in {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }

  .reveal:nth-child(2) {
    --d: 0.12s;
  }

  .reveal:nth-child(3) {
    --d: 0.24s;
  }

  .reveal:nth-child(4) {
    --d: 0.36s;
  }

  .lift {
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      filter 0.25s ease,
      border-color 0.25s ease,
      background-color 0.4s ease,
      color 0.4s ease;
  }

  /* Elementos con elevación al pasar el cursor: conservan la transición de aparición */
  .js .reveal.lift {
    transition:
      opacity 0.7s ease var(--d, 0s),
      translate 0.7s ease var(--d, 0s),
      transform 0.25s ease,
      box-shadow 0.25s ease,
      filter 0.25s ease,
      border-color 0.25s ease,
      background-color 0.4s ease,
      color 0.4s ease;
  }

  .js .rule {
    transform-origin: left center;
    scale: 0 1;
    transition: scale 0.7s ease 0.15s;
  }

  .js .rule.is-in {
    scale: 1 1;
  }

  .js .ornament::before {
    transform-origin: left center;
    scale: 0 1;
    transition: scale 0.8s ease 0.1s;
  }

  .js .ornament--left::before {
    transform-origin: right center;
  }

  .js .ornament--both::before {
    transform-origin: center;
  }

  .js .ornament::after {
    transform-origin: top center;
    scale: 1 0;
    transition: scale 0.5s ease 0.8s;
  }

  .ornament.is-in img {
    animation:
      icon-pop 0.7s cubic-bezier(0.3, 1.5, 0.5, 1) both,
      float-y 4.2s ease-in-out 0.7s infinite;
  }

  .blob.is-in img {
    animation: icon-pop 0.6s cubic-bezier(0.3, 1.5, 0.5, 1) 0.25s both;
  }

  .genetic__dna:hover img {
    animation-play-state: paused;
  }

  .strip__track li:hover img {
    scale: 1.09;
  }

  .tcard.is-open h3::after {
    width: 100%;
    background: var(--strong-line, var(--navy));
  }

  .tcard.is-open .tcard__toggle img {
    transform: rotate(180deg);
    background: rgb(255 255 255 / 85%);
  }

  .js .ornament.is-in::before,
  .js .ornament.is-in::after {
    scale: 1 1;
  }

  .js .ornament:not(.is-in) img,
  .js .blob:not(.is-in) img {
    opacity: 0;
    scale: 0.5;
  }

  @keyframes float-y {
    0%,
    100% {
      translate: 0 0;
    }

    50% {
      translate: 0 -9px;
    }
  }

  @keyframes icon-pop {
    from {
      opacity: 0;
      scale: 0.5;
    }

    to {
      opacity: 1;
      scale: 1;
    }
  }

  @keyframes dna-drift {
    0%,
    100% {
      translate: 0 0;
      rotate: -1.5deg;
    }

    50% {
      translate: 0 -10px;
      rotate: 1.5deg;
    }
  }

  /* Tarjetas informativas (no clicables): elevación y ligero cambio de tonalidad */
  .blob.lift:hover {
    transform: translateY(-6px);
    filter: brightness(1.07) saturate(1.12)
      drop-shadow(0 14px 18px rgb(0 57 93 / 28%));
  }

  .route__img {
    transition:
      scale 0.45s ease,
      opacity 0.7s ease,
      translate 0.7s ease;
  }

  .route__img:hover {
    scale: 1.02;
  }

  @media (prefers-reduced-motion: no-preference) {
    .hero__img,
    .carousel {
      animation: hero-in 0.9s ease both;
    }

    .hero__text > * {
      animation: fade-up 0.7s ease both;
    }

    .hero__text > :nth-child(2) {
      animation-delay: 0.1s;
    }

    .hero__text > :nth-child(3) {
      animation-delay: 0.2s;
    }

    .hero__line {
      transform-origin: left center;
      animation: line-in 0.8s ease 0.4s both;
    }

    /* Transición suave al cambiar de sección (navegación entre páginas) */
    @view-transition {
      navigation: auto;
    }

    ::view-transition-old(root) {
      animation: 0.22s ease both vt-out;
    }

    ::view-transition-new(root) {
      animation: 0.35s ease both vt-in;
    }
  }

  @keyframes hero-in {
    from {
      opacity: 0;
      scale: 1.04;
    }

    to {
      opacity: 1;
      scale: 1;
    }
  }

  @keyframes fade-up {
    from {
      opacity: 0;
      translate: 0 16px;
    }

    to {
      opacity: 1;
      translate: 0 0;
    }
  }

  @keyframes line-in {
    from {
      scale: 0 1;
    }

    to {
      scale: 1 1;
    }
  }

  @keyframes vt-out {
    to {
      opacity: 0;
    }
  }

  @keyframes vt-in {
    from {
      opacity: 0;
    }
  }

  @media (901px <= width <= 1200px) {
    .cib-bar {
      display: grid;
      grid-template-columns: auto 1fr;
      align-items: start;
      gap: 12px 16px;
      min-height: 0;
      padding: 0 24px 16px;
    }

    .cib-logo {
      padding-top: 14px;
    }

    .cib-logo img {
      height: 64px;
    }

    .cib-panel {
      display: contents;
    }

    .cib-utils {
      display: flex;
      grid-column: 2;
      grid-row: 1;
      align-items: center;
      justify-content: flex-end;
      gap: 28px;
      padding-top: 14px;
    }

    .util-links,
    .search {
      grid-column: auto;
      grid-row: auto;
    }

    .cib-nav {
      grid-column: 1 / -1;
      grid-row: 2;
    }

    .ehr-bar {
      gap: 12px;
      padding: 14px 20px;
    }

    .ehr-brand img {
      height: 46px;
    }

    .ehr-nav {
      flex: none;
    }

    .ehr-nav a,
    .ehr-nav span {
      padding: 14px clamp(8px, calc(3vw - 22px), 14px);
      font-size: clamp(13px, 1.3vw, 14px);
    }
  }

  @media (1201px <= width <= 1320px) {
    .nav-group-btn {
      padding: 12px 9px;
    }
  }

  @media (width <= 900px) {
    .cib-bar {
      flex-wrap: wrap;
      align-items: center;
      min-height: 64px;
      padding: 8px 12px 8px 16px;
    }

    .cib-logo {
      padding: 0;
    }

    .cib-logo img {
      height: 44px;
    }

    .menu-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 48px;
      height: 48px;
      padding: 0;
      border: 0;
      border-radius: 12px;
      background: rgb(255 255 255 / 14%);
      cursor: pointer;
    }

    .menu-toggle .icon-close {
      display: none;
    }

    .site-header.is-open .menu-toggle .icon-open {
      display: none;
    }

    .site-header.is-open .menu-toggle .icon-close {
      display: block;
    }

    .cib-panel {
      display: none;
      flex: 1 0 100%;
      order: 3;
      flex-direction: column;
      margin: 8px -12px -8px -16px;
      padding: 20px 16px 28px;
      background: #1d2162;
    }

    .site-header.is-open .cib-panel {
      display: flex;
    }

    .cib-utils {
      display: contents;
    }

    .search {
      order: 1;
      width: 100%;
      height: 48px;
      padding: 0 6px 0 16px;
      border-radius: 12px;
    }

    .search input {
      flex: 1;
      min-width: 0;
      width: auto;
      font-size: 16px;
    }

    .search button {
      width: 44px;
      height: 44px;
    }

    .panel-ehr {
      order: 2;
      display: block;
      margin-top: 22px;
    }

    .cib-nav {
      order: 3;
      flex-direction: column;
      margin-top: 22px;
      background: transparent;
      border-top: 1px solid rgb(255 255 255 / 25%);
      border-radius: 0;
    }

    .util-links {
      order: 4;
      flex-direction: column;
      align-items: stretch;
      gap: 10px;
      margin-top: 26px;
    }

    .panel-label {
      margin-bottom: 8px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #7fd8f2;
    }

    .panel-ehr a,
    .panel-ehr .is-disabled {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 52px;
      margin-bottom: 6px;
      padding: 0 14px;
      border-radius: 10px;
      background: rgb(255 255 255 / 10%);
      font-size: 16px;
      font-weight: 600;
      color: #fff;
    }

    .panel-ehr a[aria-current="page"] {
      background: var(--pink-d);
    }

    .panel-ehr .is-disabled {
      background: transparent;
      color: #9aa0cf;
    }

    .panel-ehr .tag {
      display: inline-block;
      min-height: 0;
      margin: 0;
      padding: 3px 10px;
      background: transparent;
      color: #c9cdf0;
      border: 1px solid #9aa0cf;
      border-radius: 999px;
      font-size: 12px;
    }

    .nav-group {
      border-bottom: 1px solid rgb(255 255 255 / 25%);
    }

    .nav-group-btn,
    .nav-group:first-child .nav-group-btn,
    .nav-group:last-child .nav-group-btn {
      justify-content: space-between;
      min-height: 52px;
      padding: 8px 4px;
      border: 0;
      border-radius: 0;
      font-size: 16px;
    }

    .nav-group.is-current .nav-group-btn {
      background: transparent;
      color: #7fd8f2;
    }

    .nav-sub,
    .nav-group:nth-last-child(-n + 2) .nav-sub {
      position: static;
      min-width: 0;
      margin: 0 0 12px;
      padding: 0 0 0 14px;
      border-left: 3px solid var(--cyan);
      border-radius: 0;
      background: transparent;
      box-shadow: none;
    }

    .nav-sub a {
      display: flex;
      align-items: center;
      min-height: 44px;
      padding: 0 10px;
      font-size: 15px;
      color: #e6e9ff;
    }

    .nav-sub a[aria-current="page"] {
      background: transparent;
      font-weight: 700;
      color: #7fd8f2;
    }

    .util-link {
      justify-content: center;
      min-height: 48px;
      border: 2px solid #fff;
      border-radius: 10px;
      font-size: 15px;
      font-weight: 600;
    }

    .ehr-bar {
      position: static;
      flex-wrap: wrap;
      gap: 8px 12px;
      padding: 10px 16px 0;
      box-shadow: none;
    }

    .site-header.is-open .ehr-bar {
      display: none;
    }

    .ehr-brand img {
      height: 36px;
    }

    .ehr-partner img {
      height: 36px;
    }

    .ehr-partner p {
      max-width: 68px;
      font-size: 10px;
      line-height: 1.3;
    }

    .ehr-nav {
      order: 3;
      flex: 1 0 100%;
      gap: 8px;
      padding: 6px 0 12px;
      border: 0;
      border-radius: 0;
      overflow-x: auto;
      scroll-snap-type: x proximity;
      scrollbar-width: none;
    }

    .ehr-nav::-webkit-scrollbar {
      display: none;
    }

    .ehr-nav li {
      flex: none;
      scroll-snap-align: start;
    }

    .ehr-nav li + li > * {
      border-left: 0;
    }

    .ehr-nav a,
    .ehr-nav span {
      height: 40px;
      padding: 0 18px;
      border: 2px solid var(--pink-d);
      border-radius: 999px;
    }

    .ehr-nav a[aria-current="page"] {
      border-color: var(--pink-d);
    }

    .ehr-nav .is-disabled {
      border-color: #d5d8de;
    }

    .hero__text {
      position: static;
      width: auto;
      height: auto;
      margin: 0;
      padding: 34px 20px 8px;
      overflow: visible;
      clip-path: none;
      white-space: normal;
    }

    .hero__img {
      height: 230px;
      object-fit: cover;
      object-position: right center;
    }

    .carousel {
      height: 230px;
    }

    .carousel__btn {
      width: 40px;
      height: 40px;
      margin-top: -20px;
    }

    .carousel__btn--prev {
      left: 8px;
    }

    .carousel__btn--next {
      right: 8px;
    }

    .carousel__dots {
      bottom: 14px;
    }

    .carousel__pause {
      right: 8px;
      bottom: 36px;
      width: 32px;
      height: 32px;
    }

    .carousel__dot {
      height: 30px;
    }

    .carousel__dot span {
      width: 26px;
    }

    .ornament::before,
    .ornament::after {
      display: none;
    }

    .ornament {
      height: auto;
    }

    .ornament img,
    .repo-icon {
      position: static;
      display: block;
      margin: 0 auto;
      width: 56px;
    }

    .about {
      padding-top: 36px;
    }

    .about__card {
      grid-template-columns: 1fr;
      gap: 24px;
      padding: 32px 22px 28px;
      border-radius: 40px 0;
    }

    .about__card p {
      font-size: 16px;
    }

    .allies {
      padding-top: 56px;
    }

    .strip {
      padding-inline: 0;
      border-radius: 16px;
    }

    .strip__btn {
      display: none;
    }

    .strip__track {
      padding: 18px 20px;
      scroll-padding-inline: 20px;
      border-radius: 16px;
    }

    .strip__track li {
      width: 140px;
      height: 76px;
    }

    .strip__track img {
      height: calc(var(--h, 52px) * 0.75);
      max-width: 116px;
    }

    .course {
      margin-top: 60px;
      padding-block: 44px 48px;
    }

    .course__grid {
      grid-template-columns: 1fr;
      gap: 32px;
    }

    .course__title img {
      width: 52px;
      height: 52px;
    }

    .course__title h2 {
      font-size: 26px;
    }

    .course__sub {
      max-width: none;
      font-size: 18px;
    }

    .course .btn {
      display: flex;
    }

    .modules {
      grid-template-columns: 1fr;
      gap: 14px;
    }

    .module {
      padding: 18px;
    }

    .module__head img {
      width: 52px;
      height: 52px;
    }

    .what {
      padding-top: 36px;
    }

    .what__card {
      grid-template-columns: 1fr;
      gap: 20px;
      padding: 0;
      border-radius: 0;
      background: none;
    }

    .what__text {
      padding: 32px 22px 36px;
      border-radius: 40px 0;
      background: var(--pink-l);
    }

    .what__text .h2 {
      font-size: 25px;
    }

    .what__text p {
      font-size: 16px;
    }

    .what__text .btn {
      display: flex;
      margin-top: 24px;
    }

    .what__blob {
      margin: 0;
      align-items: flex-start;
      gap: 18px;
      padding: 44px 28px 48px;
    }

    .what__blob img {
      width: 60px;
      height: 60px;
    }

    .genetic {
      padding-top: 56px;
    }

    .genetic .h2 {
      margin-bottom: 24px;
    }

    .genetic__grid {
      grid-template-columns: 1fr;
      gap: 26px;
    }

    .genetic__dna {
      width: 260px;
      max-width: 100%;
      margin: 0 auto;
    }

    .pair {
      grid-template-columns: 1fr;
      gap: 20px;
      padding-top: 44px;
    }

    .pair .blob {
      padding: 44px 30px 48px;
    }

    .pair h2 {
      margin-bottom: 14px;
      font-size: 24px;
    }

    .route {
      margin-top: 56px;
      padding-block: 44px 40px;
    }

    .route__title {
      margin-bottom: 30px;
      font-size: 23px;
    }

    .route__img {
      display: none;
    }

    .route__steps {
      display: block;
      position: relative;
      margin: 0;
      padding: 0;
    }

    .route__steps::before {
      content: "";
      position: absolute;
      left: 18px;
      top: 20px;
      bottom: 20px;
      width: 4px;
      border-radius: 2px;
      background: linear-gradient(
        180deg,
        #00395d 0%,
        #e34398 28%,
        #65bd5f 52%,
        #00bce7 76%,
        #702785 100%
      );
    }

    .route__steps li {
      position: relative;
      margin-bottom: 22px;
      padding-left: 56px;
    }

    .route__steps .n {
      position: absolute;
      left: 0;
      top: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border: 3px solid var(--cyan-l);
      border-radius: 50%;
      background: var(--bg);
      color: var(--fg);
      font-size: 17px;
      font-weight: 800;
    }

    .route__steps .card {
      overflow: hidden;
      border-radius: 14px;
      background: #fff;
      box-shadow: 0 3px 12px rgb(0 57 93 / 14%);
    }

    .route__steps h3 {
      padding: 12px 16px;
      background: var(--bg);
      color: var(--fg);
      font-size: 16px;
      line-height: 1.3;
      font-weight: 700;
    }

    .route__steps p {
      padding: 14px 16px 16px;
      font-size: 15px;
      line-height: 1.6;
    }

    .route__full {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 50px;
      margin-top: 8px;
      border: 2px solid var(--navy);
      border-radius: 10px;
      font-size: 15px;
      font-weight: 700;
    }

    .route__source {
      margin-top: 18px;
      line-height: 1.5;
    }

    .refs {
      padding-block: 32px 48px;
    }

    .intro {
      padding-top: 44px;
    }

    .intro p {
      text-align: left;
      font-size: 16px;
    }

    .voices {
      padding-top: 52px;
      padding-bottom: 56px;
    }

    .voices .h2 {
      margin-bottom: 26px;
    }

    .tgrid {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .tcol {
      display: contents;
    }

    .tcard {
      padding: 26px 22px 20px;
      border-radius: 40px 0;
    }

    .tcard[data-order="2"],
    .tcard[data-order="4"] {
      border-radius: 0 40px;
    }

    .tcard[data-order="1"] {
      order: 1;
    }

    .tcard[data-order="2"] {
      order: 2;
    }

    .tcard[data-order="3"] {
      order: 3;
    }

    .tcard[data-order="4"] {
      order: 4;
    }

    .tcard h3 {
      font-size: 22px;
    }

    .tcard h3::after {
      width: 72px;
      margin: 12px 0 8px;
    }

    .tcard__toggle {
      font-size: 16px;
    }

    .tcard.is-open .tcard__inner {
      padding-top: 12px;
      padding-bottom: 4px;
    }

    .tcard__body p {
      font-size: 16px;
    }

    .module p:not(.module__num) {
      margin-top: 14px;
    }

    .repo {
      padding-top: 36px;
      padding-bottom: 56px;
    }

    .repo__grid {
      grid-template-columns: 1fr;
      gap: 24px;
    }

    .rcard {
      border-radius: 36px 0;
    }

    .rcard img {
      height: 220px;
    }

    .rcard__body {
      gap: 22px;
      padding: 24px 20px 28px;
    }

    .rcard h3 {
      font-size: 20px;
    }

    .btn-outline {
      justify-content: center;
      gap: 26px;
      width: 100%;
      min-height: 52px;
      font-size: 17px;
    }

    .site-footer__wave {
      height: 12px;
    }

    .site-footer__wave::before {
      width: 40%;
      border-radius: 0 12px 0 0;
    }

    .site-footer__body {
      padding: 32px 20px 28px;
    }

    .site-footer__top img {
      height: 52px;
    }

    .social {
      gap: 10px;
    }

    .social a {
      width: 44px;
      height: 44px;
    }

    .fcols {
      display: block;
      margin-top: 22px;
      border-top: 1px solid rgb(255 255 255 / 30%);
    }

    .fcol {
      padding: 0;
      border-left: 0;
      border-bottom: 1px solid rgb(255 255 255 / 30%);
    }

    .fcol summary {
      cursor: pointer;
    }

    .fcol__title {
      min-height: 52px;
      margin: 0;
      font-size: 15px;
      pointer-events: auto;
    }

    .fcol__title svg {
      display: block;
      transition: transform 0.2s;
    }

    .fcol[open] .fcol__title svg {
      transform: rotate(180deg);
    }

    .fcol ul {
      gap: 0;
      margin-bottom: 10px;
    }

    .fcol a {
      display: flex;
      align-items: center;
      min-height: 44px;
      font-size: 14px;
    }

    .legal {
      margin-top: 22px;
      font-size: 13px;
      line-height: 1.9;
    }

    .legal a {
      display: block;
    }

    .legal .sep {
      display: none;
    }

    .contact {
      flex-flow: column nowrap;
      align-items: stretch;
      gap: 6px;
      margin-top: 20px;
      padding: 10px 0 0;
      border-bottom: 0;
      font-size: 14px;
    }

    .contact li,
    .contact a {
      min-height: 44px;
      gap: 12px;
    }

    .contact a {
      word-break: break-all;
    }

    .ehr-nav a:focus-visible,
    .ehr-nav a[aria-current="page"]:focus-visible {
      outline: 3px solid var(--navy);
      outline-offset: 2px;
    }

    .copy {
      padding-top: 16px;
      border-top: 1px solid rgb(255 255 255 / 30%);
    }
  }

  @media (width <= 640px) {
    .hero__title {
      font-size: 30px;
    }
  }
}

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

  *,
  *::before,
  *::after {
    animation: none;
    transition: none;
  }

  .js .reveal,
  .js .rule,
  .js .ornament::before,
  .js .ornament::after {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }

  .js .ornament:not(.is-in) img,
  .js .blob:not(.is-in) img {
    opacity: 1;
    scale: 1;
  }
}
