.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.admissions-page{overflow:hidden}
.admissions-hero .info-badge {
  --info-rise: 50%;
}

.admissions-offer {
  padding: 7cqi 0 0;
}

.offer-panel {
  display: grid;
  grid-template-columns: 37cqi minmax(0, 37cqi);
  align-items: center;
  gap: 2.3cqi;
  width: 96%;
  min-height: 64cqi;
  padding: 14cqi 0 6cqi 4cqi;
  border-radius: 0 100vmax 100vmax 0;
  background: #f0f0f0;
}

.offer-photo {
  position: relative;
  align-self: start;
  aspect-ratio: 1;
}

.offer-portrait {
  width: 100%;
  border-radius: 50%;
}

.offer-seal, .offer-chevrons {
  position: absolute;
}

.offer-seal {
  width: 43%;
  right: -3.5%;
  bottom: -11%;
  opacity: .18;
}

.offer-chevrons {
  width: 37%;
  left: 23%;
  bottom: -10%;
}

.offer-copy h2 {
  color: #0826a2;
  font-size: 8.6cqi;
  font-weight: 700;
  line-height: .88;
}

.offer-copy h2 em, .offer-copy h2 span {
  display: block;
  font-weight: 400;
}

.offer-copy h2 em {
  font-size: .86em;
}

.offer-copy h2 span {
  margin-top: .37em;
  font-size: .59em;
  font-style: italic;
}

.offer-copy p {
  margin: 2.7cqi 0 0 1.4cqi;
  font-size: max(.6875rem, 2.25cqi);
  font-weight: 700;
  line-height: 1.12;
}

.prepa-entry {
  position: relative;
  display: block;
  width: 39cqi;
  margin: 7cqi auto 0;
  border-radius: 50%;
  scroll-margin-block-start: calc(var(--floating-top) + max(44px, 12cqi) + .5rem);
}

.prepa-entry img {
  width: 100%;
}

.prepa-gesture {
  --prepa-gesture-background: white;
  position: absolute;
  right: 7%;
  bottom: 8%;
  display: grid;
  width: clamp(1.85rem, 22%, 3.75rem);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--prepa-gesture-background);
  box-shadow: 0 .16rem .5rem #06214866;
  color: var(--capec-blue);
  pointer-events: none;
}

.prepa-gesture-hand {
  position: relative;
  z-index: 1;
  width: 58%;
}

.prepa-gesture-hand path:first-child {
  fill: var(--prepa-gesture-background);
}

.prepa-gesture-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.prepa-gesture-rings circle {
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .prepa-gesture-rings circle {
    animation: prepa-gesture-wave 1.5s linear infinite;
  }

  /* Advance each ring by one third of a cycle, including when the loop repeats. */
  .prepa-gesture-rings circle:nth-child(2) {
    animation-delay: -1s;
  }

  .prepa-gesture-rings circle:nth-child(3) {
    animation-delay: -.5s;
  }

  @keyframes prepa-gesture-wave {
    0%, 45%, 100% { opacity: 0; }
    10% { opacity: 1; }
  }
}

.prepa-entry:is(:hover, :focus-visible) .prepa-gesture {
  --prepa-gesture-background: #e3f2ff;
}

@media (max-width: 22.5rem) {
  .offer-panel {
    grid-template-columns: 34cqi minmax(0, 41cqi);
  }
}

.careers {
  padding: 4cqi 0 17cqi;
}

/* Keep fragment navigation focus without outlining the entire section. */
.careers:focus {
  outline: none;
}

@media (width < 56rem) {
  /* Leave room for the floating Informes button when opening the section link. */
  #carreras {
    scroll-margin-block-start: calc(var(--floating-top) + max(44px, 12cqi));
  }
}

.career-stage {
  position: relative;
  isolation: isolate;
  max-width: 72rem;
  margin-inline: auto;
  aspect-ratio: 2;
}

.career-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.career-card {
  position: absolute;
  top: var(--fan-top, 0%);
  left: var(--fan-left, 50%);
  z-index: var(--fan-layer, 3);
  width: 22.4%;
  pointer-events: auto;
  transform: translateX(-50%) rotate(var(--fan-angle, 0deg));
}

.career-card img {
  width: 100%;
}

.career-card[data-slot="-2"], .career-card[data-slot="2"] {
  --fan-top: 14%;
  --fan-layer: 1;
}

.career-card[data-slot="-1"], .career-card[data-slot="1"] {
  --fan-top: 5%;
  --fan-layer: 2;
}

.career-card[data-slot="-2"] { --fan-left: 19%; --fan-angle: -25deg; }
.career-card[data-slot="-1"] { --fan-left: 35%; --fan-angle: -10deg; }
.career-card[data-slot="1"] { --fan-left: 65%; --fan-angle: 10deg; }
.career-card[data-slot="2"] { --fan-left: 81%; --fan-angle: 25deg; }

@media (prefers-reduced-motion: no-preference) {
  .career-card {
    transition: left .45s ease-out, top .45s ease-out, transform .45s ease-out;
  }
}

.career-control {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr 64% 1fr;
  align-items: end;
  width: 78%;
  transform: translateX(-50%);
}

.career-control h2 {
  display: grid;
  align-content: end;
  min-height: 16.8cqi;
  padding: 1.1em .4em .8em;
  background: var(--capec-blue);
  color: #57a9ff;
  clip-path: polygon(0 28%, 50% 0, 100% 28%, 100% 100%, 0 100%);
  font-size: clamp(.9rem, 4.4cqi, 3rem);
  font-weight: 700;
  text-align: center;
}

.career-control button {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  justify-self: center;
  width: max(44px, 5.3cqi);
  height: max(44px, 5.3cqi);
  margin-bottom: -2.2cqi;
  padding: 0;
  border: 0;
  background: transparent;
  color: #686868;
  font: inherit;
  cursor: pointer;
}

.career-control button span {
  display: grid;
  place-items: center;
  width: clamp(20px, 5.2cqi, 3.5rem);
  aspect-ratio: 1;
  border: 2px solid #a0a0a0;
  border-radius: 50%;
  background: #fff;
  font-size: clamp(1.1rem, 4cqi, 2.5rem);
  line-height: 1;
}

.career-control button:hover span, .career-control button:focus-visible span {
  border-color: var(--capec-blue);
  color: var(--capec-blue);
}

.process-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 41%;
  align-items: center;
  gap: 6cqi;
  min-height: 38cqi;
  padding: 6cqi 0 6cqi 14cqi;
  background: #20242b;
  color: #fff;
}

.process-banner h2 {
  color: inherit;
  font-size: max(1rem, 4cqi);
  font-weight: 700;
  line-height: 1.02;
}

.process-banner h2 strong {
  margin-top: .2em;
  color: #4399ff;
  font-size: max(1.4rem, 7cqi);
  line-height: 1;
}

.process-art {
  position: relative;
}

.process-photo {
  width: 100%;
  border-radius: 999px 0 0 999px;
}

.process-mark {
  position: absolute;
  top: 25%;
  left: 14%;
  width: 28%;
}

.steps {
  display: grid;
  justify-items: center;
  gap: 9cqi;
  margin: 0;
  padding: 6.7cqi 0 0;
  list-style: none;
}

.steps li {
  --step-size: clamp(13.5rem, 49cqi, 22rem);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(var(--step-size), 100%);
  aspect-ratio: 1;
  padding: 1rem calc(var(--step-size) * .135);
  border-radius: 50%;
  background: var(--capec-blue);
  color: #fff;
}

.steps li:nth-child(2) { background: #123568; }
.steps li:nth-child(3) { background: #00398c; }

.steps li:not(:last-child)::after {
  position: absolute;
  bottom: -5.5cqi;
  left: 50%;
  width: clamp(2.5rem, 15cqi, 5.75rem);
  aspect-ratio: 88.24 / 97.25;
  background: url('./assets/flechas-pasos.svg') center / contain no-repeat;
  transform: translateX(-50%);
  pointer-events: none;
  content: "";
}

.steps h3 {
  margin: 0;
  font-size: clamp(1rem, 4.2cqi, 1.9rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.steps p {
  margin: .2em 0 0 .55em;
  font-size: clamp(.75rem, 2.55cqi, 1.15rem);
  font-weight: 700;
  line-height: 1.2;
}

@media (width < 56rem) {
  .admissions-hero .hero-end {
    margin-block-start: 1.25cqi;
  }

  .admissions-hero .info-badge {
    --info-rise: 0%;
  }

  .admissions-page .footer small { font-weight: 700; }
}

@media (min-width: 56rem) {
  .admissions-hero .hero-end {
    inset: 100% 0 auto;
  }

  .admissions-offer {
    display: grid;
    grid-template-columns: 68cqi minmax(0, 1fr);
    padding: 6cqi 0 4cqi;
  }

  .offer-panel {
    width: 100%;
    min-height: 36cqi;
    padding: 4cqi 0 4cqi 11.5cqi;
    grid-template-columns: 25cqi minmax(0, 21cqi);
    gap: 1.6cqi;
  }

  .offer-photo {
    align-self: center;
  }

  .offer-chevrons {
    left: 36%;
    bottom: -8%;
  }

  .offer-seal {
    right: -7%;
    bottom: -4%;
  }

  .offer-copy h2 {
    font-size: 4.9cqi;
  }

  .offer-copy p {
    margin: 1.6cqi 0 0 1cqi;
    font-size: max(.8125rem, 1.08cqi);
    line-height: 1.12;
  }

  .prepa-entry {
    align-self: end;
    width: 21.6cqi;
    margin: 0 0 0 -7cqi;
    scroll-margin-block-start: calc(var(--floating-top) + 3.75rem);
  }
  .careers {
    padding: 1rem 3rem 8rem;
  }

  .career-control h2 {
    min-height: min(15cqi, 11rem);
  }

  .process-banner {
    grid-template-columns: minmax(0, 1fr) 47%;
    padding: 0 0 0 14cqi;
  }

  .process-banner h2 {
    font-size: clamp(2rem, 3.2cqi, 4rem);
  }

  .process-banner h2 strong {
    font-size: 5.3cqi;
  }

  .process-photo {
    min-height: 27cqi;
    object-fit: cover;
  }

  .steps {
    max-width: 90rem;
    margin-inline: auto;
    padding: 5rem 2rem 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .steps li {
    width: 100%;
    max-width: 25rem;
    padding-inline: 13%;
  }

  .steps li:not(:last-child)::after {
    bottom: auto;
    top: 50%;
    left: auto;
    right: -2.6rem;
    width: clamp(2.5rem, 6.5cqi, 5.75rem);
    transform: translateY(-50%) rotate(-90deg);
  }

  .steps h3 {
    font-size: clamp(1.2rem, 2.1cqi, 2rem);
  }

  .steps p {
    font-size: clamp(.875rem, 1.25cqi, 1.15rem);
  }

  .advisor-link {
    margin: 5rem auto 6rem;
    min-height: 4rem;
  }

  .advisor-link img {
    width: 5.5rem;
  }

}

@media (56rem <= width < 67rem) {
  .admissions-hero .info-badge {
    --info-rise: 0%;
  }
}
