/* ==============================
   PÁGINA UEMA VESPERTINO
   Archivo: uema_vespertino.html
============================== */

body.vespertino-page {
  background: #ffffff;
}

/* Cabecera visual vespertina */
.vespertino-cover {
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: var(--uema-red, #FA1212);
}

.vespertino-cover-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Hero textual */
.vespertino-hero {
  position: relative;
  padding: 86px 0 96px;
/*   background:
    radial-gradient(circle at 12% 12%, rgba(250, 18, 18, 0.065), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(250, 18, 18, 0.045), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fff8f8 52%, #ffffff 100%); */
  text-align: center;
}

.vespertino-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(250, 18, 18, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.vespertino-hero .container {
  position: relative;
  z-index: 2;
}

.vespertino-hero h1 {
  max-width: 980px;
  margin: 0 auto 24px;
  color: var(--uema-dark, #151515);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.vespertino-hero .script-text {
  display: block;
  color: var(--uema-red, #FA1212);
  font-family: "Oooh Baby", cursive;
  font-size: clamp(1rem, 4vw, 2.2rem);
  font-weight: 400;
  line-height: .6;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.vespertino-hero p {
  max-width: 820px;
  margin: 0 auto;
  color: var(--uema-text, #5c5c5c);
  font-size: clamp(1rem, 1.2vw, 1rem);
  line-height: 1.6;
}

/* Sección: mismos estándares */
.vespertino-standards {
  position: relative;
  padding: 120px 0;
  background: #ffffff;
}

.vespertino-standards::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 360px;
  height: 360px;
  /* background: rgba(250, 18, 18, 0.055); */
  border-radius: 50%;
  pointer-events: none;
}

.vespertino-standards .container {
  position: relative;
  z-index: 2;
}

.vesp-lead-text {
  color: var(--uema-text, #5c5c5c);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 22px;
}

.vesp-emphasis {
  margin-top: 28px;
  padding: 28px 30px;
  border-left: 4px solid var(--uema-red, #FA1212);
  border-radius: 0 28px 28px 0;
  background: rgba(250, 18, 18, 0.055);
  color: var(--uema-dark, #151515);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  font-weight: 850;
  line-height: 1.32;
  letter-spacing: -0.035em;
}

.vesp-quality-list {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vesp-quality-list li {
  position: relative;
  padding-left: 64px;
  color: var(--uema-text, #5c5c5c);
  font-size: 0.96rem;
  line-height: 1.7;
}

.vesp-quality-list li::before {
  content: attr(data-number);
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--uema-red, #FA1212);
  background: rgba(250, 18, 18, 0.075);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 900;
}

.vesp-quality-list strong {
  display: block;
  color: var(--uema-dark, #151515);
  font-size: 1.03rem;
  font-weight: 850;
  margin-bottom: 4px;
}

/* Formación integral */
.vespertino-formation {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(250, 18, 18, 0.07), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(250, 18, 18, 0.045), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fff8f8 50%, #ffffff 100%);
}

.vespertino-formation .container {
  position: relative;
  z-index: 2;
}

.vesp-formation-grid {
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px 38px;
}

.vesp-formation-item {
  position: relative;
  padding-top: 20px;
}

.vesp-formation-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 2px;
  background: var(--uema-red, #FA1212);
  opacity: 0.8;
}

.vesp-formation-item span {
  display: block;
  margin-bottom: 12px;
  color: rgba(250, 18, 18, 0.18);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.08em;
}

.vesp-formation-item h3 {
  margin-bottom: 12px;
  color: var(--uema-dark, #151515);
  font-size: 1.32rem;
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.vesp-formation-item p {
  margin: 0;
  color: var(--uema-text, #5c5c5c);
  font-size: 0.93rem;
  line-height: 1.68;
}

/* Acompañamiento */
.vespertino-support {
  padding: 120px 0;
  background: #ffffff;
}

.vesp-support-line {
  margin-top: 60px;
  position: relative;
}

.vesp-support-line::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(250, 18, 18, 0.2), rgba(250, 18, 18, 0.04));
}

.vesp-support-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: start;
  gap: 24px;
  margin-bottom: 48px;
}

.vesp-support-step:last-child {
  margin-bottom: 0;
}

.vesp-support-dot {
  width: 54px;
  height: 54px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--uema-red, #FA1212);
  border: 1px solid rgba(250, 18, 18, 0.18);
  border-radius: 50%;
  font-size: 1.45rem;
  box-shadow: 0 14px 28px rgba(250, 18, 18, 0.08);
  z-index: 2;
}

.vesp-support-content {
  max-width: 430px;
}

.vesp-support-step:nth-child(odd) .vesp-support-content {
  text-align: right;
  justify-self: end;
}

.vesp-support-step:nth-child(even) .vesp-support-content {
  grid-column: 3;
  text-align: left;
  justify-self: start;
}

.vesp-support-step:nth-child(even) .vesp-support-dot {
  grid-column: 2;
  grid-row: 1;
}

.vesp-support-content h3 {
  color: var(--uema-dark, #151515);
  font-size: 1.22rem;
  font-weight: 850;
  letter-spacing: -0.035em;
  margin-bottom: 10px;
}

.vesp-support-content p {
  margin: 0;
  color: var(--uema-text, #5c5c5c);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* Organización de la jornada */
.vespertino-organization {
  padding: 120px 0;
  background:
    radial-gradient(circle at 85% 12%, rgba(250, 18, 18, 0.055), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fff8f8 50%, #ffffff 100%);
}

.vesp-info-strip {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(21, 21, 21, 0.08);
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
}

.vesp-info-item {
  padding: 34px 22px;
  border-right: 1px solid rgba(21, 21, 21, 0.08);
}

.vesp-info-item:last-child {
  border-right: 0;
}

.vesp-info-item span {
  display: block;
  margin-bottom: 9px;
  color: var(--uema-red, #FA1212);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vesp-info-item strong {
  color: var(--uema-dark, #151515);
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.25;
}

/* Perfil formativo */
.vespertino-profile {
  padding: 120px 0;
  background: #ffffff;
}

.vesp-profile-statement {
  max-width: 950px;
  margin: 52px auto 0;
  color: var(--uema-dark, #151515);
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.045em;
  text-align: center;
}

.vesp-profile-keywords {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.vesp-profile-keywords span {
  padding: 10px 16px;
  color: var(--uema-red, #FA1212);
  background: rgba(250, 18, 18, 0.065);
  border: 1px solid rgba(250, 18, 18, 0.11);
  border-radius: 100px;
  font-size: 0.84rem;
  font-weight: 800;
}

/* Ajuste de CTA para página vespertina */
.vespertino-page .institution-cta {
  padding-top: 100px;
}

/* Responsive UEMA Vespertino */
@media (max-width: 991px) {
  .vespertino-cover-img {
    min-height: 280px;
    object-fit: cover;
    object-position: center top;
  }

  .vespertino-hero,
  .vespertino-standards,
  .vespertino-formation,
  .vespertino-support,
  .vespertino-organization,
  .vespertino-profile,
  .vespertino-admission {
    padding: 90px 0;
  }

  .vesp-formation-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 38px 30px;
  }

  .vesp-info-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .vesp-info-item:nth-child(2n) {
    border-right: 0;
  }

  .vesp-info-item:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(21, 21, 21, 0.08);
  }

  .vesp-admission-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .vespertino-cover-img {
    min-height: 230px;
    object-fit: cover;
    object-position: center top;
  }

  .vespertino-hero,
  .vespertino-standards,
  .vespertino-formation,
  .vespertino-support,
  .vespertino-organization,
  .vespertino-profile,
  .vespertino-admission {
    padding: 72px 0;
  }

  .vespertino-hero h1 {
    font-size: clamp(2.55rem, 14vw, 3.4rem);
  }

  .vespertino-hero .script-text {
    font-size: clamp(1.9rem, 10vw, 2.65rem);
  }

  .vespertino-hero p,
  .vesp-lead-text {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .vesp-emphasis {
    padding: 22px;
    font-size: 1.18rem;
    border-radius: 0 22px 22px 0;
  }

  .vesp-quality-list li {
    padding-left: 54px;
    font-size: 0.88rem;
  }

  .vesp-quality-list li::before {
    width: 38px;
    height: 38px;
    font-size: 0.72rem;
  }

  .vesp-formation-grid {
    grid-template-columns: 1fr;
    margin-top: 44px;
    gap: 34px;
  }

  .vesp-formation-item h3 {
    font-size: 1.18rem;
  }

  .vesp-formation-item p {
    font-size: 0.86rem;
    line-height: 1.65;
  }

  .vesp-support-line {
    margin-top: 44px;
  }

  .vesp-support-line::before {
    left: 27px;
  }

  .vesp-support-step {
    grid-template-columns: 54px 1fr;
    gap: 18px;
    margin-bottom: 38px;
  }

  .vesp-support-dot,
  .vesp-support-step:nth-child(even) .vesp-support-dot {
    grid-column: 1;
    grid-row: 1;
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }

  .vesp-support-content,
  .vesp-support-step:nth-child(odd) .vesp-support-content,
  .vesp-support-step:nth-child(even) .vesp-support-content {
    grid-column: 2;
    text-align: left;
    justify-self: start;
  }

  .vesp-support-content h3 {
    font-size: 1.08rem;
  }

  .vesp-support-content p {
    font-size: 0.86rem;
    line-height: 1.65;
  }

  .vesp-info-strip {
    grid-template-columns: 1fr;
  }

  .vesp-info-item,
  .vesp-info-item:nth-child(2n),
  .vesp-info-item:last-child {
    border-right: 0;
    border-top: 1px solid rgba(21, 21, 21, 0.08);
  }

  .vesp-info-item:first-child {
    border-top: 0;
  }

  .vesp-info-item {
    padding: 26px 4px;
  }

  .vesp-profile-statement {
    margin-top: 38px;
    font-size: clamp(1.35rem, 8vw, 2.05rem);
    text-align: left;
  }

  .vesp-profile-keywords {
    justify-content: flex-start;
  }

  .vesp-admission-steps {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 44px;
  }

  .vesp-admission-step span {
    font-size: 3rem;
  }
}
