/* INTRO ========================================================= */
#intro {
  padding: var(--paddingMedium) 0;
  background-color: var(--gris-2);
}

#intro .box {
  border-radius: var(--radiusXV);
  padding: 80px 60px;
  padding: var(--innerPadding);
  position: relative;
  margin-top: 10%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background-color: #fff;
  min-height: 520px;
}

#intro h1 {
  font-weight: 800;
  font-size: clamp(1.7rem, 7vw, 3.5rem);
  text-transform: uppercase;
  line-height: 1.1em;
  margin-bottom: 0.5em;
  max-width: 40%;
  position: relative;
  z-index: 10;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  color: var(--verde-1);
}

#intro p {
  font-weight: 600;
  font-size: clamp(0.9rem, 3.6vw, 1.2rem);
  line-height: 1.3em;
  max-width: 320px;
  position: relative;
  z-index: 10;
}

#intro p span {
  white-space: nowrap;
}

#intro picture {
  position: absolute;
  right: -15px;
  left: auto;
  height: 97%;
  bottom: 0;
  overflow: hidden;
  display: flex;
}

#intro picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 100% 100%;
}

@media screen and (max-width: 950px) {
  #intro .box {
    min-height: auto;
    padding-bottom: 0;
  }

  #intro h1 {
    max-width: 100%;
  }

  #intro p {
    max-width: 100%;
    margin-bottom: 2em;
  }

  #intro picture {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
  }

  #intro picture img {
    object-fit: contain;
  }
}

/* SOLUCIÓN ONE TEAM ========================================================= */
#oneTeamSolution {
  /* padding: var(--paddingMedium) 0; */
  background-color: var(--gris-2);
}

#oneTeamSolution p {
  font-weight: 700;
  font-size: 48px;
  font-size: clamp(1.1rem, 5.6vw, 3rem);
  line-height: 1.3em;
  max-width: 720px;
  position: relative;
  z-index: 10;
  margin: 0 auto;
}

#oneTeamSolution p span {
  white-space: nowrap;
  color: var(--verde-1);
}

/* FLEXIBILIDAD ========================================================= */
#flexibility {
  padding: var(--paddingMedium) 0 0 0;
  background-color: var(--gris-2);
}

#flexibility .box {
  background-color: var(--azul-4);
  border-radius: var(--radiusXV);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 825px;
  margin: 0 auto;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

#flexibility .box h2 {
  font-weight: 700;
  font-size: 48px;
  font-size: clamp(1.3rem, 6vw, 3rem);
  line-height: 1.3em;
  position: relative;
  z-index: 10;
  margin: 0.7em auto 0.2em auto;
  text-align: center;
}

#flexibility .box p {
  font-weight: 600;
  font-size: clamp(0.9rem, 3.6vw, 1.2rem);
  line-height: 1.3em;
  position: relative;
  z-index: 10;
  margin: 0 auto 1em auto;
  max-width: 730px;
  padding: 0 10px;
}

#flexibility a {
  font-size: clamp(0.7rem, 3.6vw, 1.2rem);
  font-weight: 700;
  background-color: var(--dorado-2);
  color: var(--marino);
  padding: 0.3em 0.8em;
  border-radius: 10px;
  transition: all 0.2s;
  margin-bottom: 1.8em;
}

#flexibility a:hover {
  background-color: var(--dorado-4);
}

#flexibility .box img {
  width: 100%;
}

/* INNOVACIÓN ========================================================= */
#innovation {
  padding: var(--paddingMedium) 0;
  background-color: var(--gris-2);
}

#innovation .box {
  background-color: #fff;
  border-radius: var(--radiusXV);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 825px;
  margin: 0 auto;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

#innovation .box h2 {
  font-weight: 700;
  font-size: 48px;
  font-size: clamp(1.3rem, 6vw, 3rem);
  line-height: 1.3em;
  position: relative;
  z-index: 10;
  margin: 0.7em auto 0.2em auto;
  text-align: center;
}

#innovation .box p {
  font-weight: 600;
  font-size: clamp(0.9rem, 3.6vw, 1.2rem);
  line-height: 1.3em;
  position: relative;
  z-index: 10;
  margin: 0 auto 1em auto;
  max-width: 730px;
  padding: 0 10px;
}

#innovation .box img {
  width: 100%;
}

/* MÉTODO ========================================================= */
#method {
  padding: var(--paddingMedium) 0;
  background-color: var(--gris-2);
}

#method .wrapper {
  max-width: 825px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

#method .wrapper > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#method .wrapper picture {
  display: flex;
}

#method .wrapper .box {
  background-color: #fff;
  border-radius: var(--radiusXV);
  display: flex;
  flex-direction: column;
  padding: 50px;
  margin: 0 auto;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  flex: 1;
}

#method .wrapper .team .box {
  background-color: var(--verde-2);
}

#method .wrapper .specialists .box {
  background-color: var(--purpura-4);
}

#method .wrapper .box h2 {
  font-weight: 700;
  font-size: 48px;
  font-size: clamp(1.3rem, 6vw, 2.2rem);
  line-height: 1.3em;
  position: relative;
  z-index: 10;
  margin-bottom: 0.6em;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#method .wrapper p {
  font-weight: 600;
  font-size: clamp(0.9rem, 3.6vw, 1.1rem);
  line-height: 1.3em;
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#method .wrapper p span {
  position: relative;
  z-index: 1;
}

#method .wrapper p i {
  font-size: clamp(0.7rem, 18.6vw, 13rem);
  position: absolute;
  z-index: 0;
  color: #fff;
  opacity: 0.3;
}

@media screen and (max-width: 800px) {
  #method .wrapper {
    max-width: 450px;
    margin: 0 auto;
    grid-template-columns: repeat(1, 1fr);
    gap: 100px;
  }

  #method .wrapper .box h2 {
    min-height: auto;
  }
}

@media screen and (max-width: 450px) {
  #method .wrapper .box {
    padding: 30px;
  }
}

/* IMPLEMENTACIÓN ========================================================= */
#implementation {
  padding: var(--paddingMedium) 0;
  background-color: var(--gris-2);
}

#implementation h2 {
  font-weight: 700;
  font-size: 48px;
  font-size: clamp(1.3rem, 6vw, 3rem);
  line-height: 1.3em;
  position: relative;
  z-index: 10;
  margin: 0 auto 1em auto;
  text-align: center;
}

#implementation ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

#implementation ul li {
  background-color: #fff;
  border-radius: var(--radiusV);
  overflow: hidden;
  display: flex;
  /* flex-direction: column; */
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  min-height: 150px;
}

#implementation ul li:nth-child(1) {
  border: 5px solid var(--dorado-3);
}

#implementation ul li:nth-child(2) {
  border: 5px solid var(--purpura-3);
}

#implementation ul li:nth-child(3) {
  border: 5px solid var(--verde-3);
}

#implementation ul li:nth-child(4) {
  border: 5px solid var(--coral-2);
}

#implementation ul li .icon {
  width: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* flex: 1; */
  padding-left: 30px;
}

#implementation ul li .icon .switch {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  width: 85px;
  height: 48px;
  border-radius: 24px;
  padding: 4px;
}

#implementation ul li:nth-child(1) .icon .switch {
  background-color: var(--dorado-3);
}

#implementation ul li:nth-child(2) .icon .switch {
  background-color: var(--purpura-3);
}

#implementation ul li:nth-child(3) .icon .switch {
  background-color: var(--verde-3);
}

#implementation ul li:nth-child(4) .icon .switch {
  background-color: var(--coral-2);
}

#implementation ul li .icon .switch .control {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 20px;
}

#implementation ul li .data {
  padding: 10px 20px 14px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

#implementation ul li h3 {
  font-weight: 700;
  font-size: 48px;
  font-size: clamp(1.3rem, 6vw, 1.5rem);
  line-height: 1.3em;
  position: relative;
  z-index: 10;
  margin-bottom: 0.2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#implementation p {
  font-weight: 600;
  font-size: clamp(0.9rem, 3.6vw, 0.9rem);
  line-height: 1.3em;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

@media screen and (max-width: 900px) {
  #implementation ul {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 450px) {
  #implementation ul li {
    display: flex;
    flex-direction: column;
  }

  #implementation ul li .icon {
    padding-left: 0;
    padding-top: 15px;
  }

  #implementation ul li .icon .switch {
    width: 58px;
    height: 32px;
    border-radius: 16px;
  }

  #implementation ul li .icon .switch .control {
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 20px;
  }
}

/* PROCESO ========================================================= */
#process {
  padding: var(--paddingMedium) 0;
  background-color: var(--gris-2);
}

#process h2 {
  font-weight: 700;
  font-size: 48px;
  font-size: clamp(1.3rem, 6vw, 3rem);
  line-height: 1.3em;
  position: relative;
  z-index: 10;
  margin: 0 auto 1em auto;
  text-align: center;
}

#process h3 {
  font-weight: 700;
  font-size: clamp(1.3rem, 6vw, 2.2rem);
  line-height: 1.3em;
  position: relative;
  z-index: 10;
  margin-bottom: 0.6em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#process .discoveryAndIdeation {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

#process .discovery h3 {
  background-color: #fff;
  padding: 0 0.5em;
  margin-left: -0.5em;
  border-radius: 1em;
}

#process .ideation h3 {
  background-color: var(--coral-4);
  /* color: #fff; */
  padding: 0 0.5em;
  margin-left: -0.5em;
  border-radius: 1em;
}

#process p {
  font-weight: 600;
  font-size: clamp(0.9rem, 3.6vw, 1.1rem);
  line-height: 1.3em;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#process .discovery,
#process .ideation {
  border-radius: var(--radiusXV);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 50px 50px 0 50px;
  margin: 0 auto;
  flex: 1;
  overflow: hidden;
}

#process .discovery {
  background-color: var(--coral-4);
  justify-content: center;
}

#process .ideation {
  background-color: #fff;
}

#process .discoveryAndIdeation picture {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* flex: 1; */
  position: relative;
  overflow: hidden;
  width: 100%;
}

#process .ideation img {
  width: 50%;
  margin-top: 1.5em;
}

#process .discovery img {
  width: 65%;
  margin-top: 1.5em;
}

@media screen and (max-width: 860px) {
  #process .discoveryAndIdeation {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    margin-bottom: 30px;
  }

  #process .discovery img {
    width: 100%;
    max-width: 300px;
    margin: 1.5em 0;
  }

  #process .ideation img {
    width: 100%;
    max-width: 220px;
  }
}

#process .proposal {
  display: flex;
  margin-bottom: 60px;
}

#process .proposal h3 {
  background-color: var(--marino);
  color: #fff;
  padding: 0 0.5em;
  margin-left: -0.5em;
  border-radius: 1em;
}

#process .proposal .data {
  margin-right: 40px;
  width: calc(33% - 20px);
  border-radius: var(--radiusXV);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 50px;
  background-color: #fff;
  min-height: 400px;
}

#process .proposal .video {
  position: relative;
  flex: 1;
  border-radius: var(--radiusXV);
  overflow: hidden;
}

#process .proposal .videoWrapper {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
}

#process .proposal .videoWrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

@media screen and (max-width: 860px) {
  #process .proposal {
    flex-direction: column;
    margin-bottom: 30px;
  }

  #process .proposal .data {
    margin-right: 0;
    width: 100%;
    min-height: 0;
    margin-bottom: 30px;
  }

  #process .proposal .video {
    height: clamp(100px, 60vw, 400px);
    flex: auto;
  }
}

#process .academia {
  position: relative;
  margin-bottom: 60px;
}

#process .academia h3 span {
  background-color: var(--marino);
  color: #fff;
  padding: 0 0.5em;
  margin-left: -0.5em;
  border-radius: 1em;
}

#process .academia .video {
  position: relative;
  flex: 1;
  border-radius: var(--radiusXV);
  overflow: hidden;
  min-height: 580px;
}

#process .academia .data .wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 420px;
  margin: 0 auto;
  padding: 0 20px;
}

#process .academia .data {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

#process .academia .data h3 {
  /* background-color: #fff; */
  color: #fff;
  padding: 0 0.5em;
  margin-left: -0.5em;
  border-radius: 1em;
}

#process .academia .data p {
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

#process .academia .videoWrapper {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  z-index: 0;
}

#process .academia .videoWrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  position: relative;
  z-index: 0;
}

@media screen and (max-width: 600px) {
  #process .academia .video {
    min-height: auto;
    height: clamp(350px, 80vw, 580px);
  }
}

/* RE-EVOLUCIONÁ ========================================================= */
#reevolution {
  padding: var(--paddingMedium) 0;
  background-color: var(--gris-2);
}

#reevolution h2 {
  font-weight: 700;
  font-size: 48px;
  font-size: clamp(1.3rem, 6vw, 3rem);
  line-height: 1.3em;
  position: relative;
  z-index: 10;
  margin: 0 auto 1em auto;
  text-align: center;
}

#reevolution ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

#reevolution ul li {
  border-radius: var(--radiusXV);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 50px;
  margin: 0 auto;
  flex: 1;
  overflow: hidden;
  /* justify-content: center; */
}

#reevolution ul li:nth-child(1) {
  background-color: var(--verde-1);
}

#reevolution ul li:nth-child(2) {
  background-color: var(--dorado-2);
}

#reevolution ul li:nth-child(3) {
  background-color: var(--coral-1);
}

#reevolution p {
  font-weight: 600;
  font-size: clamp(0.7rem, 3.6vw, 1.1rem);
  line-height: 1.3em;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#reevolution h3 {
  background-color: #fff;
  padding: 0.5em;
  border-radius: 1.8em;
  font-weight: 700;
  font-size: clamp(1.3rem, 6vw, 1.7rem);
  line-height: 1.3em;
  position: relative;
  z-index: 10;
  margin-bottom: 0.6em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-height: 190px;
}

@media screen and (max-width: 1100px) {
  #reevolution ul {
    grid-template-columns: repeat(1, 1fr);
  }

  #reevolution ul li {
    flex-direction: row;
    align-items: stretch;
    margin: 0;
    flex: auto;
    overflow: hidden;
  }

  #reevolution h3 {
    padding: 0.5em;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    min-height: auto;
    width: 280px;
    margin-right: 1em;
  }

  #reevolution p {
    font-weight: 600;
    font-size: clamp(0.9rem, 3.6vw, 1.1rem);
    line-height: 1.3em;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
  }
}

@media screen and (max-width: 750px) {
  #reevolution ul li {
    flex-direction: column;
    flex: auto;
    overflow: hidden;
  }

  #reevolution h3 {
    padding: 0.5em;
    margin-bottom: 1em;
    display: flex;
    min-height: auto;
    width: 100%;
    margin-right: 1em;
    border-radius: 20px;
  }
}

@media screen and (max-width: 750px) {
  #reevolution ul li {
    padding: 20px;
  }
}

/* COMPARACIÓN ========================================================= */
#comparison {
  padding: 0 0 var(--paddingMedium) 0;
  background-color: var(--gris-2);
}

#comparison .pageWidth {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#comparison h2 {
  font-weight: 700;
  font-size: clamp(1.7rem, 5vw, 3.2rem);
  text-align: center;
  margin: 0 auto 1em auto;
  max-width: 700px;
}

#comparison .box {
  border-radius: var(--radiusV);
  padding: var(--innerPaddingSmall);
  position: relative;
  background-color: #fff;
  height: 100%;
  max-width: 580px;
}

#comparison .box .header,
#comparison .box .row:not(.type) {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}

#comparison .box .row:not(.type) .cell {
  background-color: var(--gris-2);
  padding: 1em 4em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

#comparison .box .row:not(.type) .cell:not(:first-child) {
  border-left: 1px solid var(--gris-5);
}

#comparison .box .row:not(.type) .cell p {
  font-weight: 600;
  font-size: clamp(0.7rem, 3.6vw, 0.8rem);
  font-size: clamp(0.9rem, 3.6vw, 1rem);
}

#comparison .box .row:not(.type) .cell h3 {
  display: none;
}

#comparison .box .header .cell {
  display: flex;
  justify-content: center;
}

#comparison .box .header .cell h3 {
  border-radius: 1em;
  text-align: center;
  padding: 0.1em 1em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(0.7rem, 6vw, 1.5rem);
  margin-bottom: 0.5em;
}

#comparison .box .header .cell:nth-child(1) h3 {
  background-color: var(--verde-2);
}

#comparison .box .header .cell:nth-child(2) h3 {
  background-color: var(--purpura-3);
}

#comparison .box .header .cell:nth-child(3) h3 {
  background-color: var(--coral-2);
}

#comparison .box .row:not(.type) .cell:first-child {
  border-top-left-radius: 1em;
  border-bottom-left-radius: 1em;
}

#comparison .box .row:not(.type) .cell:last-child {
  border-top-right-radius: 1em;
  border-bottom-right-radius: 1em;
}

#comparison .box .row.type p {
  text-align: center;
  font-weight: 700;
  font-size: clamp(0.9rem, 3.6vw, 1rem);
  margin: 1em 0 0.4em 0;
  max-width: 495px;
  text-align: center;
  margin: 1.5em auto 0.4em auto;
}

#comparison p.more {
  font-weight: 700;
  font-size: clamp(1.7rem, 5vw, 3.2rem);
  text-align: center;
  margin: 1em auto 0 auto;
  max-width: 700px;
}

@media screen and (max-width: 850px) {
  #comparison .box .row:not(.type) .cell {
    padding: 1em 2em;
  }
}

@media screen and (max-width: 680px) {
  #comparison .box .header {
    display: none !important;
  }

  #comparison .box .row.type p {
    margin-left: auto;
    margin-right: auto;
  }

  #comparison .box .header,
  #comparison .box .row:not(.type) {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  #comparison .box .row.type:nth-child(2) p {
    margin-top: 0;
  }

  #comparison .box .row:not(.type) .cell {
    border-left: none;
    display: block;
  }

  #comparison .box .row:not(.type) .cell:nth-child(2) {
    padding: 0 2em;
  }

  #comparison .box .row:not(.type) .cell:first-child {
    border-top-left-radius: 1em;
    border-bottom-left-radius: 0;
    border-top-right-radius: 1em;
  }

  #comparison .box .row:not(.type) .cell:last-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 1em;
    border-bottom-left-radius: 1em;
  }

  #comparison .box .row:not(.type) .cell p {
    max-width: 300px;
    margin: 0 auto;
  }

  /* Titulos mobile */
  #comparison .box .row:not(.type) .cell h3 {
    display: inline-block;
    font-size: clamp(0.7rem, 3.6vw, 0.7rem);
    border-radius: 1em;
    padding: 0.1em 1em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.5em;
  }

  #comparison .box .row:not(.type) .cell:nth-child(1) h3 {
    background-color: var(--verde-2);
  }

  #comparison .box .row:not(.type) .cell:nth-child(2) h3 {
    background-color: var(--purpura-3);
  }

  #comparison .box .row:not(.type) .cell:nth-child(3) h3 {
    background-color: var(--coral-2);
  }
}

@media screen and (max-width: 450px) {
  #comparison {
    padding: var(--paddingMedium) 0;
  }
}
