/* Home */

/* Hero */
.hero {
  position: relative;
  height: max(661px, 80vh);
  overflow: hidden;
}

.hero__background {
  position: absolute;
  right: -60px;
  bottom: 0;
  width: calc(100% + 120px);
  height: auto;
  max-width: none;
  z-index: 0;
}

.hero__claim {
  position: absolute;
  top: 50%;
  left: 10%;
  width: 332px;
  margin: 0;
  z-index: 2;
}

.hero__title {
  position: absolute;
  top: 37%;
  left: 54%;
  width: 519px;
  margin: 0;
  font-size: 120px;
  font-weight: 300;
  line-height: 1;
  z-index: 2;
}

.hero__title>span:nth-child(2) {
  white-space: nowrap;
}

.hero__title span:nth-child(2) {
  font-family: var(--font-display);
}

.hero__actions {
  position: absolute;
  top: 65%;
  left: 10%;
  display: flex;
  align-items: center;
  gap: 28px;
  z-index: 3;
}

.hero__line {
  position: absolute;
  bottom: 138px;
  left: 120px;
  width: 85%;
  max-width: none;
  z-index: 2;
  height: 2px;
}

.hero__eyebrow {
  margin: 0;
}

/* About */


.about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  max-width: 2000px;
  margin-inline: auto;
  box-sizing: border-box;
  padding: 112px 100px 100px;
}

.about__title {
  width: 100%;
  max-width: 518px;
}

.about__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 405px;
  min-width: 0;
  max-width: 800px;
}

.about__intro {
  width: 100%;
  max-width: 800px;
  line-height: 1.45;
}

.stats {
  display: flex;
  align-items: flex-start;
  gap: 44px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-size: 72px;
  font-weight: 400;
  line-height: 1;
}

.stat span {
  line-height: 1.4;
}




/* =============================================================
   SERVICES
================================================================ */

.services {
  width: 100%;
}

.services__heading {
  margin-inline: auto;
  padding: 100px 100px 60px;
  box-sizing: border-box;
}

.services__heading h2 {
  margin: 0;
}


/* SERVICE ROW */

.service-row {
  margin-inline: auto;
  display: grid;
  grid-template-columns: 0.9fr 1.5fr 247px;
  column-gap: 60px;
  min-height: 300px;
  padding: 60px 100px;
  box-sizing: border-box;
  border-top: 1px solid var(--color-accent);
}


/* TITLE */

.service-row h3 {
  margin: 0;
}


/* DESCRIPTION + LINK */

.service-row__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-row__content p {
  margin: 0;
  max-width: 650px;
  line-height: 1.45;
}

.service-row__content a {
  display: inline-block;
  margin-top: 30px;
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
}

.service-row:last-of-type {
  border-bottom: 1px solid #FE9266;
}

/* ICON */

.service-row__icon {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.service-row__icon img {
  display: block;
  width: 78px;
  height: 78px;
  object-fit: contain;
}


/* MICROSOFT ICON */

.service-row:last-of-type .service-row__icon img {
  width: 247px;
  height: 72px;
}

/* ALL SERVICES */
.services__all {
  width: 100%;
  max-width: 1800px;
  margin: 40px auto 60px;
  padding: 0 40px;
  box-sizing: border-box;
  text-align: right;
}



/* =============================================================
   SOLUTIONS
================================================================ */

.solutions {
  width: 100%;
  min-height: 668px;
  padding: 92px 73px;
  box-sizing: border-box;
}

.solutions__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
}

.solutions__header h2 {
  margin: 0;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  width: 100%;
  max-width: 1800px;
  margin-inline: auto;
  justify-items: center;
}

.solution-card {
  position: relative;
  display: block;
  width: 100%;
  max-width: 380px;
  min-width: 240px;
  height: 220px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.solution-card__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.solution-card:nth-child(3) .solution-card__background,
.solution-card:nth-child(4) .solution-card__background {
  transform: rotate(180deg);
}

.solution-card__icon {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 50px !important;
  height: 50px !important;
  max-width: 50px !important;
  max-height: 50px !important;
  transform: translate(-50%, -50%);
  object-fit: contain;
  pointer-events: none;
}


.solution-card span {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  width: 220px;
  padding: 7px 10px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.3);
  color: #fff !important;
  line-height: 1.15;
  font-weight: 700;
  text-align: center;
}

.solution-card strong {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 12px;
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
}

.solutions__all {
  width: 100%;
  max-width: 1800px;
  margin: 40px auto 60px;
  padding: 0 40px;
  box-sizing: border-box;
  text-align: right;
}


/* Case study */
.case-study {
  position: relative;
  min-height: 502px;
  overflow: hidden;
  background: url("../assets/backgrounds/background_blue_lines.webp") center / cover no-repeat;
}

.case-study__visual {
  position: absolute;
  left: calc(50% - 430px);
  bottom: 0;
  width: 400px;
  height: auto;
}

.case-study__card {
  position: absolute;
  top: 100px;
  left: calc(50% + 30px);
  width: 340px;
  min-height: 180px;
  padding: 31px 50px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.9);
}

.case-study__card h2 {
  margin: 0;
}

.case-study__card p {
  margin: 17px 0 0;
  font-size: 13px;
  line-height: 1.4;
}

.case-study__card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--color-accent);
  font-weight: 700;
}


@media (min-width: 2000px) {
  .case-study__visual {
    left: calc(50% - 550px);
  }

  .case-study__card {
    left: calc(50% + 150px);
  }
}






/* Clients */

.clients {
  position: relative;
  overflow: hidden;
  min-height: 593px;
  padding: 79px 50px;
  background: rgba(0, 63, 92, 0.4);
  color: #fff;
}

.clients__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.clients h2 {
  position: relative;
  z-index: 1;
  color: #fff;
}

.clients__logos {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  gap: 60px 80px;
  max-width: 1110px;
  margin: 100px auto 0;
}

.clients__logos img {
  max-height: 90px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}



.kit-consulting {
  width: 100%;
  padding: 140px 50px;
  box-sizing: border-box;
  border-top: 1px solid var(--color-accent);
}

.kit-consulting__intro {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.kit-consulting__eyebrow {
  display: block;
  margin-bottom: 20px;
  color: #f36f21;
  font-weight: 700;
  text-transform: uppercase;
}

.kit-consulting__intro h2 {
  margin: 0 0 30px;
}

.kit-consulting__intro p {
  max-width: 900px;
  margin: 0 auto;
}

.kit-consulting__logos {
  width: 90%;
  max-width: 2000px;
  min-height: 180px;
  margin: 100px auto;
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(16, 18, 15, .2);
  border-bottom: 1px solid rgba(16, 18, 15, .2);
  box-sizing: border-box;
}

.kit-consulting__logo {
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kit-consulting__logo img {
  display: block;
  width: 100%;
  max-width: 1300px;
  height: auto;
}


.kit-consulting__cards {
  width: 100%;
  max-width: 2000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

.kit-consulting__card {
  min-width: 0;
  height: 100%;
  padding: 50px;
  border: 1px solid rgba(16, 18, 15, .15);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.kit-consulting__card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 30px;
  border-radius: 50%;
  background: #f36f21;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kit-consulting__card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.kit-consulting__card h3 {
  margin: 0 0 30px;
}

.kit-consulting__card h4 {
  margin: 0 0 15px;
  line-height: 1.2;
}

.kit-consulting__card p {
  margin: 0;
  line-height: 1.6;
}

.kit-consulting__services {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kit-consulting__services li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  line-height: 1.4;
}

.kit-consulting__services li:last-child {
  margin-bottom: 0;
}

.kit-consulting__services li img {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.kit-consulting__amounts {
  list-style: none;
  margin: 25px 0 0;
  padding: 0;
}

.kit-consulting__amounts li {
  padding: 16px 0;
  border-top: 1px solid rgba(16, 18, 15, .15);
  font-size: 16px;
  line-height: 1.4;
}

.kit-consulting__amounts li:last-child {
  border-bottom: 1px solid rgba(16, 18, 15, .15);
}

.kit-consulting__amounts strong {
  display: block;
  margin-top: 5px;
  color: #f36f21;
}

.final-cta::before {
  display: none;
}

/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 1199px) {
  .kit-consulting__cards {
    grid-template-columns: 1fr;
  }

  .kit-consulting__card {
    min-height: 0;
  }

  .kit-consulting__logos {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

}

/* ========================================
   MÓVIL
======================================== */

@media (max-width: 767px) {
  .kit-consulting {
    padding: 90px 25px;
  }

  .kit-consulting__logos {
    margin: 70px auto;
    gap: 30px;
  }


  .kit-consulting__card {
    padding: 35px 25px;
  }
}








/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 1199px) {
  .hero {
    height: max(800px, 60vh);
  }

  .hero__background {
    width: 1000px;
  }

  .hero__title {
    top: 220px;
    right: 50px;
    left: auto;
    width: 480px;
    text-align: right;
    font-size: 80px;
    line-height: 0.95;
  }

  .hero__title em {
    font-size: 108px;
  }

  .hero__claim {
    top: 60%;
    left: 50px;
    width: 420px;
  }

  .hero__actions {
    top: 70%;
    left: 50px;
    flex-direction: row;
    align-items: center;
  }

  .hero__line {
    top: auto;
    bottom: 60px;
    left: 50px;
    width: calc(100% - 100px);
  }

  .about {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about__intro {
    width: min(641px, 100%);
  }


  .about__content {
    min-height: auto;
    gap: 60px;
  }

  .service-row {
    grid-template-columns: 1fr 1.5fr;
    column-gap: 50px;
  }

  .service-row__icon {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
    margin-bottom: 25px;
  }

  .service-row h3 {
    grid-column: 1;
    grid-row: 2;
  }

  .service-row__content {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .service-row__icon img {
    width: 60px;
    height: 60px;
  }

  .service-row:last-of-type .service-row__icon img {
    width: 205px;
    height: auto;
  }


  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .clients__logos img {
    max-height: 55px;
  }

  .case-study__visual {
    left: 5%;
    width: 350px;
  }

  .kit-consulting__logo {
    width: 90%;
  }
}



/* ========================================
   MÓVIL
======================================== */

@media (max-width: 767px) {
  .hero {
    height: max(450px, 40vh);
  }

  .hero__background {
    width: 700px;
  }

  .hero__title {
    top: 100px;
    right: 25px;
    left: auto;
    width: 300px;
    text-align: right;
    font-size: 52px;
    line-height: 0.95;
  }

  .hero__title>span:nth-child(2) {
    white-space: nowrap;
  }

  .hero__claim {
    top: 50%;
    left: 25px;
    width: 280px;
  }

  .hero__actions {
    top: 70%;
    left: 25px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero__line {
    top: auto;
    bottom: 35px;
    left: 25px;
    width: calc(100% - 50px);
  }


  .about {
    min-height: auto;
    padding: 70px var(--gutter);
  }

  .about__title {
    width: auto;
  }

  .about__content {
    min-height: auto;
    gap: 60px;
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }

  .stat strong {
    font-size: 48px;
  }


  .kit-consulting__main {
    width: 100%;
    min-height: auto;
    gap: 50px;
  }

  .kit-consulting__services {
    width: 100%;
  }

  .services__heading {
    padding: 60px var(--gutter);
    min-height: auto;
  }

  .service-row {
    grid-template-columns: 1fr;
    row-gap: 25px;
  }

  .service-row__icon {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
    margin-bottom: 0;
  }

  .service-row h3 {
    grid-column: 1;
    grid-row: 2;
  }

  .service-row__content {
    grid-column: 1;
    grid-row: 3;
  }

  .service-row__icon img {
    width: 52px;
    height: 52px;
  }

  .service-row:last-of-type .service-row__icon img {
    width: 170px;
    height: auto;
  }


  .solutions {
    padding: 70px var(--gutter);
  }

  .solutions__header {
    flex-direction: column;
    gap: 30px;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .case-study {
    min-height: 500px;
  }

  .case-study__visual {
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
  }

  .case-study__card {
    top: 35px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 370px;
    padding: 25px;
  }

  .clients {
    padding: 60px var(--gutter);
  }

  .clients__logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-top: 60px;
    max-width: 250px;
  }


}