/* =========================================================
   CSS TIENE LA PÁGINA SUCCESS Y LAS INDIVIDUALES
========================================================= */

/* =========================================================
   SUCCESS STORIES PAGE
========================================================= */

.success-stories-page {
  background: #F2F1EC;
  padding-top: 108px;
  padding-bottom: 140px;
}

.success-stories-page .site-container {
  width: 100%;
  max-width: 1512px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* HERO */

.success-stories-hero {
  margin-bottom: 120px;
}

.success-stories-eyebrow {
  display: block;
  padding-top: 120px;

  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;

  color: #000;
}

.success-stories-hero h1 {
  margin-top: 0;

  font-family: var(--font-serif);
  font-size: 50px;
  line-height: 60px;
  font-weight: 350;

  color: #000;
}

.success-stories-hero h1 span {
  display: inline;
}

/* GRID */

.success-stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 50px;
  row-gap: 50px;
}

/* CARD */

.success-story-card {
  width: 100%;
  min-height: 486px;
  background: #CEC8BC;
}

.success-story-card a {
  display: block;
  height: 100%;
  padding: 24px 25px 29px;
  text-decoration: none;
  color: inherit;
}

.success-story-card__company,
.success-story-card__role {
  margin: 0;

  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.success-story-card__company {
  color: #9B9B9B;
}

.success-story-card__role {
  margin-bottom: 24px;
  color: #000;
}

.success-story-card__image {
  width: 100%;
  height: 239px;
  overflow: hidden;
  margin-bottom: 22px;
  background: #F1F0EE;
  order: 3;
}

.success-story-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.success-story-card__content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.success-story-card h3 {
  margin: 0 0 22px;
    order:4;
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 33px;
  font-weight: 350;

  color: #000;
}

.success-story-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  order: 5;
  width: 128px;
  height: 44px;

  margin-top: auto;

  background: #333;
  color: #fff;

  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;

  transition: transform .25s ease;
}

.success-story-card:hover .success-story-card__button {
  transform: translateY(-2px);
}

/* =========================================================
   SUCCESS STORIES MOBILE
========================================================= */

@media (max-width: 768px) {

  .success-stories-page {
    background: #F4F3EF;
    padding-top: 160px;
    padding-bottom: 64px;
  }

  .success-stories-page .site-container {
    max-width: none;
    padding-left: 21px;
    padding-right: 21px;
  }

  .success-stories-hero {
    margin-bottom: 220px;
  }

  .success-stories-eyebrow {
    margin-bottom: 8px;

    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 30px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;

    color: #000;
    opacity: .5;
  }

  .success-stories-hero h1 {
    max-width: 320px;
    margin-top: 0;
    font-family: var(--font-serif);
    font-size: 35px;
    line-height: 38px;
    font-weight: 350;

    color: #000;
  }

  .success-stories-hero h1 span {
    display: block;
  }

  .success-stories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .success-story-card {
    width: 100%;
    min-height: 374px;

    background: #FDFDFD;
  }

  .success-story-card a {
    padding: 20px 8px 19px;
  }

  .success-story-card__content {
    height: 100%;
  }

  .success-story-card__company,
  .success-story-card__role {
    width: 100%;

    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .success-story-card__company {
    color: #9B9B9B;
  }

  .success-story-card__role {
    margin-bottom: 20px;
    color: #000;
  }

  .success-story-card__image {
    width: 100%;
    height: 167px;
    margin-bottom: 18px;

    background: #F1F0EE;
  }

  .success-story-card h3 {
    margin-bottom: 18px;

    font-family: var(--font-serif);
    font-size: 20px;
    line-height: 24px;
    font-weight: 350;

    color: #000;
  }

  .success-story-card__button {
    width: 122px;
    height: 42px;

    background: #333333;
    color: #FDFDFD;

    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1;
    font-weight: 400;
  }

}

/* =========================================================
   SUCCESS STORY SINGLE - DESKTOP
========================================================= */

.success-story-single {
  background: #F2F1EC;
  color: #000;
}

.success-story-single__container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-left: 44px;
  padding-right: 44px;
}

.success-story-single__intro {
  padding-top: 170px;
  padding-bottom: 52px;
}

.success-story-single__meta {
  margin: 0 0 94px;

  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;

  color: rgba(0, 0, 0, 0.5);
}

.success-story-single__title {
  margin: 0;

  max-width: 1420px;

  font-family: var(--font-serif);
  font-size: 40px;
  line-height: 44px;
  font-weight: 350;

  color: #000;
}

.success-story-single__hero-image {
  width: 100%;
  height: 543px;

  overflow: hidden;

  background: #F1F0EE;
}

.success-story-single__hero-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.success-story-single__content {
  padding-top: 39px;
  padding-bottom: 98px;
}

.success-story-single__row {
  display: grid;
  grid-template-columns: 360px 1fr;
  column-gap: 148px;

  padding-top: 38px;
  padding-bottom: 38px;

  border-bottom: 1px solid #D7D7D7;
}

.success-story-single__row:first-child {
  border-top: none;
}

.success-story-single__row:last-child {
  border-bottom: none;
}

.success-story-single__row h2 {
  margin: 0;

  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 41px;
  font-weight: 400;
  text-transform: uppercase;

  color: #060606;
}

.success-story-single__row div {
  max-width: 857px;

  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 28px;
  font-weight: 300;

  color: #000;
}

.success-story-single__row div p {
  margin: 0 0 18px;
}

.success-story-single__row div p:last-child {
  margin-bottom: 0;
}

.success-story-single__row div ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.success-story-single__row div li {
  margin-bottom: 8px;
}

.success-story-single__row div li:last-child {
  margin-bottom: 0;
}

/* =========================================================
   TESTIMONIAL
========================================================= */

.success-story-single__testimonial {
    background: #2B221E;
    padding: 120px 44px;
}

.success-story-single__testimonial-inner {
    max-width: 1257px;
    margin: 0 auto;
    text-align: center;
}

.success-story-single__testimonial blockquote {
    margin: 0;

    font-family: var(--font-serif);
    font-size: 30px;
    line-height: 45px;
    font-weight: 350;

    color: #FFFFFF;
}

.success-story-single__testimonial blockquote span {
  display: inline;
}

.success-story-single__testimonial-author {
    margin-top: 32px;

    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;

    color: #FFFFFF;
}

.success-story-single__testimonial-role {
    margin-top: 4px;

    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;

    color: #898989;
}

/* =========================================================
   SUCCESS STORY SINGLE - MOBILE
========================================================= */

@media (max-width: 768px) {

  .success-story-single {
    padding-top: 100px;
    background: #F4F3EF;
  }

  .success-story-single__container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .success-story-single__intro {
    padding-top: 0;
    padding-bottom: 0;
  }

  .success-story-single__meta {
    margin: 0 0 22px;

    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    letter-spacing: 0;
  }

  .success-story-single__title {
    max-width: 365px;

    font-size: 30px;
    line-height: 34px;
    font-weight: 350;
  }

  .success-story-single__hero-image {
    height: auto;
    margin-top: 28px;
  }

  .success-story-single__hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .success-story-single__content {
    padding-top: 42px;
    padding-bottom: 64px;
  }

  .success-story-single__row {
    display: block;

    padding-top: 0;
    padding-bottom: 33px;
    margin-bottom: 33px;

    border-bottom: 1px solid #D7D7D7;
  }

  .success-story-single__row h2 {
    margin-bottom: 18px;
    font-weight: 400;
    font-size: 19px;
    line-height: 41px;
  }

  .success-story-single__row div {
    max-width: none;

    font-size: 18px;
    line-height: 28px;
    font-weight: 300;
  }

  /* TESTIMONIAL MOBILE */

.success-story-single__testimonial {
  width: 100%;
  background: #2B221E;
  padding: 52px 15px 64px;
}

.success-story-single__testimonial-inner {
  max-width: 401px;
  margin: 0 auto;
  text-align: left;
}

.success-story-single__testimonial blockquote {
  margin: 0 0 28px;

  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 35px;
  font-weight: 350;

  color: #FFFFFF;
}

.success-story-single__testimonial blockquote span {
  display: block;
  margin-top: 36px;
}

.success-story-single__testimonial-author {
  margin: 0 0 2px;

  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;

  color: #FFFFFF;
}

.success-story-single__testimonial-role {
  margin: 0;

  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;

  color: #898989;
}

}