/* Hero, stat and timeline styles are shared with Careers. */
.nearshore-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 230px;
}
.nearshore-hero__title {
  margin-top: 28px;
  font-size: 57px;
  font-weight: 300;
  line-height: normal;
  letter-spacing: -0.02em;
}
.nearshore-hero__text {
  max-width: 580px;
}
.nearshore-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.page--outsourcing .careers-hero {
  min-height: 760px;
}
.ns-stats {
  margin-top: 120px;
}
.ns-why {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-top: 160px;
}
.ns-why .section-title {
  margin-top: 20px;
  max-width: 562px;
}
.ns-why__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 640px;
  flex-shrink: 0;
}
.ns-why__text p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--white-72);
}
.ns-why__text p:first-child {
  font-size: 22px;
  line-height: 1.5;
  color: var(--color-mist);
}
.ns-models {
  margin-top: 80px;
  padding: 80px 0;
}
.ns-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}
.ns-head .section-title {
  margin-top: 20px;
}
.ns-head__intro {
  width: 420px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--white-72);
}
.ns-models__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 45px;
}
.ns-model {
  display: flex;
  flex-direction: column;
  min-height: 348px;
  padding: 32px;
  border: 1px solid var(--white-08);
  border-radius: 16px;
  background: var(--color-prussian);
}
.ns-model--featured {
  border-color: rgba(212, 204, 255, 0.4);
}
.ns-model__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ns-model__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--white-05);
}
.ns-model__title {
  margin-top: 16px;
  font-size: 26px;
  font-weight: 400;
  line-height: normal;
}
.ns-model__text {
  margin-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--white-10);
  font-size: 16px;
  line-height: 24px;
  color: var(--white-72);
}
.ns-model__points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}
.ns-model__points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 18px;
}
.ns-compare {
  margin-top: 80px;
}
.ns-compare .section-title {
  margin-top: 20px;
  max-width: 360px;
}
.ns-table {
  margin-top: 56px;
  overflow-x: auto;
  border: 1px solid var(--white-10);
  border-radius: var(--radius-card);
}
.ns-table table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}
.ns-table th,
.ns-table td {
  padding: 20px 24px;
  text-align: left;
  font-size: 15px;
  line-height: 18px;
}
.ns-table thead th {
  padding-block: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-sky);
  background: var(--white-04);
}
.ns-table thead th:first-child {
  width: 28%;
}
.ns-table tbody th,
.ns-table tbody td {
  border-top: 1px solid var(--white-08);
}
.ns-table tbody th {
  font-weight: 500;
}
.ns-table tbody td {
  color: var(--white-72);
}
.ns-table .is-highlight {
  background: rgba(0, 102, 255, 0.12);
  color: var(--color-white);
}
.ns-table thead .is-highlight {
  color: var(--color-lavender);
}
.ns-process {
  margin-top: 80px;
  padding: 80px 0;
}
.ns-process__timeline {
  margin-top: 56px;
}
.ns-process__when {
  align-self: flex-start;
  margin-top: 14px;
}
.ns-faq {
  display: grid;
  grid-template-columns: 300px minmax(0, 800px);
  justify-content: space-between;
  gap: 48px;
  margin-top: 80px;
}
.ns-faq .section-title {
  margin-top: 20px;
}
.page--outsourcing .cta-band {
  margin-top: 80px;
}
@media (max-width: 1023px) {
  .nearshore-hero__inner {
    padding-top: 150px;
  }
  .nearshore-hero__title {
    font-size: 44px;
  }
  .ns-why,
  .ns-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .ns-why__text,
  .ns-head__intro {
    width: auto;
  }
  .ns-models__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ns-faq {
    grid-template-columns: minmax(0, 1fr);
  }
  .ns-stats,
  .ns-why {
    margin-top: 96px;
  }
}
@media (max-width: 599px) {
  .nearshore-hero__title {
    font-size: 36px;
  }
  .nearshore-hero__actions .btn {
    width: 100%;
    justify-content: space-between;
  }
}
