/* Estilos de interfaz del colegio. */
.enrollment-2027 {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 90% 10%, #ead8af66, transparent 55%), #f8f5ef;
  border-bottom: 1px solid #e3dbce;
  padding-block: clamp(18px, 2vw, 26px) 24px;
}

.enrollment-2027 .admissions-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px 32px;
}

.enrollment-copy {
  min-width: 0;
}

.enrollment-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 13px;
  border: 1px solid #dfc993;
  border-radius: 30px;
  background: #fcf0ce;
  color: #674613;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.enrollment-status-dot {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #92620e;
  animation: enrollment-beacon 4.5s ease-out infinite;
}

.enrollment-2027 h1 {
  max-width: none;
  font-size: clamp(2.6rem, 4.7vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  margin: 18px 0 16px;
  color: var(--brand-wine);
}

.enrollment-year {
  display: block;
  margin-top: 3px;
  font-size: clamp(4.6rem, 8.5vw, 7rem);
  line-height: .98;
  color: #97661d;
  letter-spacing: -.055em;
  font-variant-numeric: lining-nums;
}

.enrollment-2027 .enrollment-lead {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--heading-ink);
  max-width: none;
  margin-bottom: 12px;
}

.enrollment-2027 .enrollment-description {
  color: #5a6066;
  line-height: 1.7;
  font-size: .97rem;
  max-width: none;
}

.enrollment-2027 .enrollment-levels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: #64584b;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.enrollment-levels span {
  color: #a57d36;
}

.enrollment-2027 .admissions-actions {
  gap: 10px;
  margin: 18px 0 14px;
}

.enrollment-2027 .admissions-actions a {
  padding: 13px 17px;
  font-size: .88rem;
  min-height: 48px;
}

.enrollment-2027 .admissions-actions .enrollment-cta {
  background: #edca79;
  color: #460b0b;
  border: 1px solid #dfb75d;
  box-shadow: 0 5px 16px #b1863224;
}

.enrollment-cta i {
  font-size: 1.2rem;
}

.enrollment-2027 .admissions-actions .secondary {
  background: #fff9;
  border: 1px solid #cbbfae;
  color: #3c4f60;
}

.enrollment-2027 .admissions-actions .secondary i {
  font-size: .75rem;
  transition: transform .2s ease;
}

.enrollment-2027 .enrollment-location {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: .8rem;
  color: #726b62;
  line-height: 1.65;
}

.enrollment-location i {
  color: #89692d;
}

.enrollment-visual {
  position: relative;
  align-self: stretch;
  min-height: 440px;
  max-height: 590px;
  border-radius: 22px 22px 64px 22px;
  overflow: hidden;
  box-shadow: 0 18px 36px #473b231c;
  background: #3e3028;
}

.enrollment-visual::after {
  content: '';
  position: absolute;
  inset: 45% 0 0;
  pointer-events: none;
  background: linear-gradient(transparent, #1e1711db);
}

.enrollment-visual .admissions-photo {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 51% center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.enrollment-visual figcaption {
  position: absolute;
  inset: auto 30px 28px;
  color: #fff;
  z-index: 1;
  line-height: 1.5;
}

.enrollment-visual figcaption span {
  display: block;
  font-size: .77rem;
  color: #f0ce8a;
  margin-bottom: 5px;
}

.enrollment-visual figcaption strong {
  display: block;
  max-width: none;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
}

.enrollment-2027 .enrollment-more {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 18px;
  border-color: #e3dbce;
  gap: 14px 28px;
  font-size: .82rem;
}

.enrollment-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #54616a;
  text-decoration: none;
  min-height: 36px;
}

.enrollment-more a:hover {
  text-decoration: underline;
  color: var(--brand-wine);
}

.enrollment-more i {
  font-size: .7rem;
}

.enrollment-slide-label {
  display: inline-block;
  color: #f6d68f;
  font-size: .83rem;
  letter-spacing: .07em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.slider .enrollment-slide .slide-caption-content::before {
  display: none;
}

.slider .enrollment-slide > img {
  object-position: 60% center;
}

@keyframes enrollment-beacon {
  0%, 62%, 100% {
    box-shadow: 0 0 0 0 #92620e00;
  }
  5% {
    box-shadow: 0 0 0 0 #92620e48;
  }
  35% {
    box-shadow: 0 0 0 7px #92620e00;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .enrollment-copy {
    animation: enrollment-enter .65s ease-out both;
  }
  .enrollment-visual {
    animation: enrollment-enter .8s .12s ease-out both;
  }
}

@keyframes enrollment-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (hover: hover) {
  .enrollment-2027 .admissions-actions .enrollment-cta:hover {
    background: #f5d994;
    box-shadow: 0 7px 20px #b1863238;
    transform: translateY(-2px);
  }
  .enrollment-2027 .admissions-actions .secondary:hover {
    background: #fff;
    border-color: #a48c67;
  }
  .enrollment-2027 .admissions-actions .secondary:hover i {
    transform: translateX(3px);
  }
}

@media (max-width: 1100px) {
  .enrollment-2027 .admissions-layout {
    gap: 22px 24px;
  }
  .enrollment-2027 .admissions-actions a {
    padding-inline: 14px;
  }
}

@media (max-width: 900px) {
  .enrollment-2027 .admissions-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .enrollment-2027 h1 {
    font-size: 2.75rem;
  }
  .enrollment-year {
    font-size: 5rem;
  }
  .enrollment-visual {
    min-height: 0;
    height: clamp(220px, 58vw, 340px);
    max-height: none;
    border-radius: 18px 18px 44px 18px;
  }
  .enrollment-visual .admissions-photo {
    object-position: center 46%;
  }
  .enrollment-visual figcaption {
    inset: auto 22px 20px;
  }
  .enrollment-visual figcaption strong {
    font-size: 1.1rem;
  }
  .enrollment-2027 .enrollment-more {
    padding-top: 12px;
    gap: 6px 24px;
  }
}

@media (max-width: 440px) {
  .enrollment-2027 {
    padding-top: 18px;
  }
  .enrollment-2027 h1 {
    font-size: 2.5rem;
    margin-block: 16px 14px;
  }
  .enrollment-year {
    font-size: 4.6rem;
  }
  .enrollment-2027 .enrollment-description {
    font-size: .92rem;
  }
  .enrollment-2027 .admissions-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
  .enrollment-2027 .admissions-actions a {
    min-height: 48px;
  }
  .enrollment-slide-label {
    font-size: .72rem;
    letter-spacing: .04em;
  }
}
