/* =====================================================
   TRABAJA CON NOSOTRAS
===================================================== */

.tr-shell {
  padding-left: 2rem;
  padding-right: 2rem;
}


/* =====================================================
   HERO
===================================================== */

.tr-hero {
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.tr-kicker {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.tr-kicker > span:first-child {
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: .4;
}

.tr-title {
  margin-top: 2.5rem;

  max-width: 17ch;

  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;

  line-height: .95;
  letter-spacing: -.01em;

  text-transform: uppercase;
}

.tr-title i {
  font-style: normal;
  font-weight: 400;
}

.tr-lead {
  margin-top: 2rem;

  max-width: 42rem;

  color: var(--muted-foreground);

  font-size: 1rem;
  line-height: 1.75;
}


/* =====================================================
   PERFILES
===================================================== */

.tr-profiles {
  padding-top: 5rem;
  padding-bottom: 6rem;
}

.tr-profiles-grid {
  margin-top: 3rem;

  display: grid;
  gap: 0;

  border-top: 1px solid var(--border);
}

.tr-profile {
  position: relative;

  min-height: 280px;

  padding: 2rem 0;

  border-bottom: 1px solid var(--border);
}

.tr-number {
  color: var(--brand-orange);
}

.tr-profile h2 {
  margin-top: 3rem;

  max-width: 12ch;

  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;

  line-height: .95;
  letter-spacing: -.005em;

  text-transform: uppercase;
}

.tr-profile p {
  margin-top: 1.25rem;

  max-width: 30rem;

  color: var(--muted-foreground);

  font-size: .875rem;
  line-height: 1.65;
}


/* =====================================================
   HOVER PERFILES
===================================================== */

.tr-profile {
  transition:
    background .3s ease,
    padding-left .3s ease,
    padding-right .3s ease;
}

.tr-profile:hover {
  padding-left: 1rem;
  padding-right: 1rem;

  background:
    color-mix(
      in oklab,
      var(--brand-orange) 10%,
      transparent
    );
}


/* =====================================================
   PRESENTARSE
===================================================== */

.tr-apply {
  overflow: hidden;
}

.tr-apply-grid {
  display: grid;
}

.tr-steps {
  padding: 5rem 2rem;
}

.tr-steps-list {
  margin: 3rem 0 0;
  padding: 0;

  list-style: none;

  border-top: 1px solid var(--border);
}

.tr-step {
  padding: 2rem 0;

  border-bottom: 1px solid var(--border);
}

.tr-step p {
  margin-top: 1rem;

  max-width: 40rem;

  font-size: .95rem;
  line-height: 1.7;
}

.tr-step a {
  position: relative;
  font-weight: 600;
}

.tr-step a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -3px;

  width: 100%;
  height: 1px;

  background: currentColor;

  transform: scaleX(.25);
  transform-origin: left;

  transition: transform .25s ease;
}

.tr-step a:hover::after {
  transform: scaleX(1);
}


/* =====================================================
   CONVENIOS UNIVERSITARIOS
===================================================== */

.tr-university {
  min-height: 430px;

  padding: 3rem 2rem;

  display: flex;
  flex-direction: column;

  background: var(--brand-orange);
  color: var(--ink);
}

.tr-university > p {
  margin-top: 2rem;

  max-width: 34rem;

  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 400;

  line-height: 1.2;
  letter-spacing: normal;

  text-transform: none;
}

.tr-contact-button {
  width: fit-content;

  margin-top: auto;

  display: inline-flex;
  align-items: center;
  gap: .75rem;

  padding: .9rem 1.25rem;

  background: var(--ink);
  color: var(--cream);

  transition:
    transform .25s ease,
    gap .25s ease;
}

.tr-contact-button:hover {
  transform: translateY(-3px);
  gap: 1rem;
}

.tr-contact-button span {
  transition: transform .25s ease;
}

.tr-contact-button:hover span {
  transform: translateX(3px);
}


/* =====================================================
   TABLET
===================================================== */

@media (min-width: 640px) {

  .tr-profiles-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .tr-profile {
    padding: 2rem;

    border-right: 1px solid var(--border);
  }

  .tr-profile:nth-child(2n) {
    border-right: 0;
  }

}


/* =====================================================
   TABLET GRANDE
===================================================== */

@media (min-width: 768px) {

  .tr-title {
    font-size: 3.5rem;
  }

  .tr-lead {
    font-size: 1.0625rem;
  }

  .tr-profile h2 {
    font-size: 2.25rem;
  }

  .tr-apply-grid {
    grid-template-columns:
      1.35fr .85fr;
  }

  .tr-steps {
    padding: 6rem 3rem;
  }

  .tr-university {
    min-height: 100%;

    padding: 3rem;
  }

  .tr-university > p {
    font-size: 1.875rem;
  }

}


/* =====================================================
   DESKTOP
===================================================== */

@media (min-width: 1024px) {

  .tr-shell {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .tr-hero {
    padding-top: 8rem;
    padding-bottom: 6rem;
  }

  .tr-title {
    font-size: 4.5rem;
  }

  .tr-profiles {
    padding-top: 6rem;
    padding-bottom: 8rem;
  }

  .tr-profiles-grid {
    grid-template-columns:
      repeat(4, minmax(0, 1fr));
  }

  .tr-profile {
    min-height: 360px;

    padding: 2rem;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .tr-profile:nth-child(2n) {
    border-right: 1px solid var(--border);
  }

  .tr-profile:last-child {
    border-right: 0;
  }

  .tr-profile h2 {
    margin-top: 5rem;
    font-size: 2.35rem;
  }

  .tr-profile p {
    font-size: .9rem;
  }

  .tr-steps {
    padding: 7rem 4rem;
  }

  .tr-step {
    display: grid;

    grid-template-columns:
      7rem 1fr;

    gap: 2rem;

    padding: 2.5rem 0;
  }

  .tr-step p {
    margin-top: 0;
  }

  .tr-university {
    padding: 4rem;
  }

  .tr-university > p {
      margin-top: 2rem;
  font-size: 1.875rem;
  }

}