/* ==========================
   URUSAYHUA Carrera Styles (cleaned)
   - Palette & tokens
   - Hero
   - Malla (curricular) + slider arrows
   - Certificaciones
   - Why / Banner
   ========================== */

/* ====== Paleta / tokens ====== */
:root {
  --c-primary-900: #3A1355;
  /* morado profundo */
  --c-primary-700: #602486;
  /* morado principal */
  --c-primary-500: #731B95;
  /* morado claro */
  --c-ink: #0b1220;
  --c-muted: #778199;
  --c-white: #ffffff;

  /* Extras usados por malla simple */
  --bg: #f7f8fb;
  --mora: #602486;
  --card: #ffffff;
  --card-bd: rgba(20, 20, 43, .06);
}

/* ====== Sección HERO ====== */
.career-hero2 {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0;
  color: var(--c-white);
}

.career-hero2__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 400px at -10% -20%, rgba(255, 255, 255, .12), transparent 60%),
    linear-gradient(135deg, var(--c-primary-900), var(--c-primary-700));
  z-index: 0;
}

.career-hero2::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -18%;
  width: 56vw;
  height: 56vw;
  min-width: 520px;
  min-height: 520px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .12), transparent 70%);
  filter: blur(6px);
  transform: rotate(12deg);
  z-index: 0;
}

.career-hero2 .container {
  position: relative;
  z-index: 1
}

.career-hero2__eyebrow {
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: .8rem;
  color: #e9ddff;
  margin-bottom: .5rem;
}

.career-hero2__title {
  font-weight: 800;
  line-height: 1.1;
  font-size: clamp(32px, 4.8vw, 54px);
  margin: 0 0 .95rem;
}

.career-hero2__title .accent {
  color: #ffe5ff
}

.career-hero2__desc {
  color: #f2effa;
  max-width: 52ch;
  margin: 0 0 1rem;
  font-size: clamp(.98rem, 1.35vw, 1.08rem);
}

.career-hero2__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none
}

.career-hero2__chips .chip {
  padding: .48rem .85rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .85rem;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22)
}

.career-hero2__chips .chip--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .35);
  color: #f3eaff
}

.career-hero2__bullets {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  color: #f5f0ff
}

.career-hero2__bullets li {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  margin: .35rem 0;
  font-size: clamp(.98rem, 1.4vw, 1.08rem);
}

.career-hero2__bullets i {
  color: #c9a7ff
}

.career-hero2__cta {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
  margin-bottom: 1rem
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, .65);
  color: #fff
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff
}

.career-hero2__image-wrap {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin-inline: auto
}

.career-hero2__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 26px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, .35);
  object-fit: cover;
}

.career-hero2__glass {
  position: absolute;
  right: 8%;
  bottom: 8%;
  display: flex;
  gap: .5rem;
  padding: .5rem .6rem;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
}

.career-hero2__glass .mini {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  color: #fff;
  white-space: nowrap
}

.career-hero2__glass .mini i {
  color: #ffe7ff
}

@media (max-width: 991.98px) {
  .career-hero2__glass {
    right: 6%;
    bottom: 6%
  }

  .career-hero2__image-wrap {
    max-width: 520px;
  }
}

@media (max-width: 575.98px) {
  .career-hero2 {
    padding: 40px 0
  }

  .career-hero2__title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .career-hero2__image {
    border-radius: 18px
  }

  .career-hero2__glass {
    display: none
  }
}

/* ====== Malla Curricular (tarjetas) ====== */
.malla-wrapper .malla-box {
  padding: clamp(22px, 3.4vw, 36px);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(26, 29, 45, 0.08);
  border: 1px solid rgba(20, 20, 43, 0.06);
}

.malla-wrapper .malla-box h4,
.malla-wrapper .malla-box h5 {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 800;
  margin-bottom: .75rem;
}

.malla-wrapper .malla-box .subtitle {
  font-size: clamp(.95rem, 1.6vw, 1.05rem);
  font-weight: 700;
  color: var(--mora);
  margin-bottom: .6rem;
}

.malla-wrapper .malla-box ul {
  margin: .3rem 0 0 0;
  padding: 0;
  list-style: none;
}

.malla-wrapper .malla-box ul li {
  position: relative;
  padding-left: 28px;
  margin: .55rem 0;
  line-height: 1.55;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.malla-wrapper .malla-box ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--mora);
  border-radius: 50%;
  font-size: .75rem;
  box-shadow: 0 4px 10px rgba(106, 0, 244, .35);
}

@media (min-width: 992px) {
  .malla-wrapper .row.gap-lg {
    gap: 34px;
  }
}

/* ====== Malla SLIDER (con flechas y dots) ====== */
.malla-slider {
  position: relative;
  overflow: hidden;
}

.malla-track {
  display: flex;
  transition: transform .45s ease;
  will-change: transform;
}

.malla-slide {
  min-width: 100%;
  padding: 8px;
}

@media (min-width: 992px) {
  .malla-slide {
    min-width: 50%;
  }
}

.malla-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, .12);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
  transition: background .2s ease, transform .2s ease;
}

.malla-arrow:hover {
  background: #f5f5f8;
  transform: translateY(-50%) scale(1.05);
}

.malla-next {
  right: 24px;
}

/* o 2vw */
.malla-arrow svg {
  width: 20px;
  height: 20px;
  fill: #4b4f5c;
}

.malla-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.malla-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfd3dc;
}

.malla-dots .dot.is-active {
  background: #9aa3b2;
}

/* ====== Certificaciones (con fondo) ====== */
.cert-wrapper {
  position: relative;
  background: url("../images/imagens_carrera/codigp.jpg") no-repeat center center/cover;
  padding: clamp(38px, 5vw, 66px) 0;
  color: #fff;
  z-index: 1;
}

/* /* .cert-wrapper::before {
  content: "";
  position: absolute; inset: 0;
  background: #f4f4f4;
  z-index: 0; */

.cert-wrapper .container {
  position: relative;
  z-index: 1;
}

.cert-mod-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 992px) {
  .cert-mod-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .cert-card {
    width: 100%;
  }
}

.cert-card {
  width: clamp(340px, 34vw, 460px);
  min-height: 194px;
  padding: 24px 28px;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .14);
  background: rgba(255, 255, 255, 0.95);
  color: #222;
  border: 1px solid rgba(0, 0, 0, .06);
  display: grid;
  place-items: center;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .16);
}

.cert-card h5 {
  font-weight: 800;
  color: #6a0dad;
  font-size: clamp(1.12rem, 1.9vw, 1.32rem);
  margin: 0 0 8px;
}

.cert-card p {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.cert-card .icon {
  font-size: 30px;
  color: #6a0dad;
  margin-bottom: 6px;
}

/* ====== ¿Por qué estudiar…? y Banners ====== */
.why-wrapper {
  padding: clamp(34px, 5vw, 64px) 0;
}

.why-wrapper .why-box {
  width: clamp(300px, 36vw, 460px);
  min-height: 172px;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 18px 56px rgba(0, 0, 0, .10);
  border: 1px solid rgba(0, 0, 0, .06);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.bg-morado {
  background: linear-gradient(135deg, #4b0082, #6a0dad, #9d4edd) !important;
  color: #fff !important;
}

.banner-futuro {
  min-height: clamp(260px, 36vh, 400px);
  padding: 36px 0;
  display: grid;
  place-items: center;
}

.banner-futuro .title {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  font-weight: 900;
}

/* ====== Títulos genéricos ====== */
.section-title .kicker {
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-title .heading {
  font-size: clamp(2.1rem, 4.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1.05;
}


/* Ajuste de las cajas de texto de ¿Por qué estudiar…? */
.why-box {
  background: #fff;
  /* blanco como el ejemplo */
  border-radius: 12px;
  /* esquinas redondeadas */
  box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
  /* sombra suave */
  padding: 24px;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  height: 100%;
  /* para que todas tengan la misma altura */
  display: flex;
  align-items: center;
  /* centra verticalmente el texto */
  justify-content: center;
  /* centra horizontalmente el texto */
}



/* ===== ¿Dónde puedo trabajar? ===== */
.jobs-wrapper {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0;
  background:
    radial-gradient(1200px 400px at -10% -20%, rgba(255, 255, 255, .08), transparent 60%),
    linear-gradient(180deg, #ffffff, #ffffff);
  overflow: hidden;
}

.jobs-wrapper::before {
  content: "";
  position: absolute;
  inset: auto -12% -18% auto;
  width: 60vw;
  height: 60vw;
  min-width: 520px;
  min-height: 520px;
  background: radial-gradient(closest-side, rgba(106, 0, 244, .08), transparent 70%);
  transform: rotate(10deg);
  pointer-events: none;
}

.jobs-title {
  font-weight: 900;
  letter-spacing: .3px;
  color: #4b0082;
  /* morado profundo */
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  margin: 0 0 .6rem;
}

.jobs-lead {
  color: #4a5368;
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  margin: 0 0 1rem;
  max-width: 60ch;
}

.jobs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem .6rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.jobs-chips li {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: #fff;
  color: #2d3345;
  border: 1px solid rgba(20, 20, 43, .08);
  box-shadow: 0 8px 22px rgba(20, 20, 43, .08);
  padding: .6rem .9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
}

.jobs-chips i {
  color: #6a00f4;
}

/* morado principal para iconos */

.jobs-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.badge-pill {
  background: linear-gradient(135deg, #4b0082, #6a00f4);
  color: #fff;
  padding: .45rem .8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .2px;
  box-shadow: 0 10px 24px rgba(106, 0, 244, .22);
}

/* Foto flotante con sombra suave */
.jobs-photo {
  display: inline-block;
  background: #fff;
  border-radius: 26px;
  /* borde + sombra morada usando tu paleta */
  box-shadow:
    0 0 0 15px var(--c-primary-700),
    /* borde morado */
    0 30px 70px rgba(20, 20, 43, 0.18);
  /* sombra suave como antes */
}

.jobs-photo img {
  display: block;
  max-width: 420px;
  border-radius: 18px;
}

@media (max-width:991.98px) {
  .jobs-photo img {
    max-width: 340px;
  }
}

@media (max-width:575.98px) {
  .jobs-chips li {
    font-size: .9rem;
  }

  .jobs-photo {
    padding: 10px;
    border-radius: 20px;
  }

  .jobs-photo img {
    border-radius: 14px;
    max-width: 250px;
  }
}

/* ===== Botones hero Arquitectura TI (morado + redondeado) ===== */

.career-hero2__cta .btn {
  border-radius: 999px;
  /* bordes totalmente redondos */
  padding: 0.7rem 1.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-size: 0.95rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

/* Botón principal: "Ver malla curricular" */
.career-hero2__cta .btn.btn-primary {
  background: linear-gradient(135deg, #4b0082, #9d4edd);
  /* morado degradado */
  border: none;
  color: #fff;
}

.career-hero2__cta .btn.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

/* Botón secundario: "Postula ahora" */
.career-hero2__cta .btn.btn-outline-light {
  background: transparent;
  border: 1px solid #f7d9ff;
  /* borde morado clarito */
  color: #f7d9ff;
}

.career-hero2__cta .btn.btn-outline-light:hover {
  background: #ffffff;
  color: #4b0082;
  /* texto morado al pasar el mouse */
  border-color: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

/* Ajuste del egresado en sección ¿Por qué estudiar...? */
.why-wrapper img[alt="Egresado"] {
  width: auto !important;
  /* evita que se estire a lo ancho */
  max-height: 280px !important;
  /* respeta la altura que ya usas */
  height: auto !important;
  /* mantiene proporción original */
  object-fit: contain !important;
  /* nunca se deforma */
  display: block;
  margin: 0 auto;
}