/* Wrapper */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Mulish:wght@200;300;400;500;600;700;800;900&display=swap");
.wrapper {
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 32px;
  width: 100%;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/Inter-Light.woff2") format("woff2"), url("../fonts/Inter-Light.woff") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/Inter-LightItalic.woff2") format("woff2"), url("../fonts/Inter-LightItalic.woff") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Inter-Regular.woff2") format("woff2"), url("../fonts/Inter-Regular.woff") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Inter-Italic.woff2") format("woff2"), url("../fonts/Inter-Italic.woff") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Inter-Medium.woff2") format("woff2"), url("../fonts/Inter-Medium.woff") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Inter-MediumItalic.woff2") format("woff2"), url("../fonts/Inter-MediumItalic.woff") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Inter-SemiBold.woff2") format("woff2"), url("../fonts/Inter-SemiBold.woff") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Inter-SemiBoldItalic.woff2") format("woff2"), url("../fonts/Inter-SemiBoldItalic.woff") format("woff");
}
* {
  border: 0;
  font-size: 100%;
  margin: 0;
  outline: none;
  padding: 0;
  vertical-align: baseline;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

tr,
td {
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

video {
  max-width: 100%;
}

.fa,
.fab,
.fal,
.far,
.fas {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

h1 {
  color: #12191C;
  font-family: "Playfair Display", serif;
  font-size: 40px;
  line-height: 1.25;
  margin-bottom: 24px;
}

h2 {
  color: #343637;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.5;
  margin-bottom: 32px;
  text-align: center;
}

h3 {
  color: #808488;
  font-size: 14px;
  font-family: "Mulish", sans-serif;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

h4 {
  color: #343637;
  font-family: "Mulish", sans-serif;
  line-height: 1.5;
}

p {
  color: #666a6d;
  font-family: "Mulish", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 24px;
}

li {
  color: #666a6d;
  font-family: "Mulish", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.cover {
  background-image: url("../images/covers/ensemble-5.jpg");
  background-size: cover;
  background-position: 50% 50%;
  height: 50vw;
  position: relative;
  width: 100%;
}
.cover::before {
  background-color: rgba(0, 0, 0, 0.35);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 0;
}
.cover h1 {
  color: #ffffff;
  font-size: 5vw;
  line-height: 1.125;
  font-weight: 300;
  max-width: 90vw;
  position: relative;
  text-align: center;
}
@media screen and (min-width: 1024px) {
  .cover h1 {
    margin: 2.5em auto;
  }
}

@media screen and (max-width: 1023px) {
  .header {
    height: 72px;
    align-items: center;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
  }
}
.header nav {
  align-items: center;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}
.header .logo {
  position: relative;
  width: 200px;
}
@media screen and (max-width: 1023px) {
  .header .logo {
    width: 100%;
  }
}
.header .logo a {
  color: #f6f9fd;
}
.header .logo svg {
  width: 100%;
}
@media screen and (max-width: 1023px) {
  .header .main-menu {
    display: none;
  }
}

@media screen and (min-width: 1024px) {
  .main-menu {
    position: static;
    height: 80px;
    align-items: center;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
  }
}

@media screen and (max-width: 1199px) {
  .main-menu__element {
    margin-bottom: 8px;
  }
}
@media screen and (min-width: 1024px) {
  .main-menu__element {
    margin: 0 24px;
    position: relative;
  }
}

.main-menu__link {
  color: #f6f9fd;
  cursor: pointer;
  display: block;
  font-size: 13px;
  font-family: "Mulish", sans-serif;
  font-weight: 600;
  padding: 16px 0;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
@media screen and (min-width: 1024px) {
  .main-menu__link {
    padding: 16px 0;
    position: relative;
    text-decoration: none;
  }
  .main-menu__link::before {
    background-color: #ffffff;
    bottom: 3px;
    content: "";
    height: 1px;
    position: absolute;
    transform-origin: 100% 0%;
    transform: scaleX(0);
    transition: transform 200ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
    width: 100%;
  }
  .main-menu__link:hover::before {
    transform: scaleX(1);
    transform-origin: 0% 0%;
  }
  .main-menu__link a {
    color: #12191C;
  }
}

.gallery {
  overflow: hidden;
}

.gallery__hero {
  background: #ffffff;
  height: 480px;
  margin-bottom: 16px;
  overflow: hidden;
  padding: 32px;
  position: relative;
  align-items: center;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
}
.gallery__hero img {
  max-height: 100%;
  max-width: 100%;
}

.gallery__thumbs {
  background: #fff;
  text-align: center;
}
.gallery__thumbs a {
  display: inline-block;
  opacity: 0.5;
  height: 120px;
  padding: 8px;
  transition: opacity 200ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
  width: 120px;
}
.gallery__thumbs a:hover {
  opacity: 0.75;
}
.gallery__thumbs a.is-active {
  opacity: 1;
}
.gallery__thumbs img {
  max-height: 100%;
  max-width: 100%;
}

.hero {
  position: relative;
}

.hero__bg {
  background-image: url("../images/bg1.jpg");
  background-position: 100% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 0;
}
.hero__bg:before, .hero__bg:after {
  content: "";
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 0;
}
.hero__bg:before {
  background-image: linear-gradient(180deg, rgba(18, 25, 28, 0.64), rgba(18, 25, 28, 0.24));
}
.hero__bg:after {
  background-image: linear-gradient(90deg, rgba(18, 25, 28, 0.64), rgba(18, 25, 28, 0.24));
}

.introduction {
  padding: 40px 0 80px 0;
  position: relative;
}
@media screen and (min-width: 1024px) {
  .introduction {
    padding: 80px 0;
  }
}
.introduction h1 {
  color: #ffffff;
}
.introduction p {
  color: #ffffff;
  max-width: 620px;
}

.companies {
  padding: 80px 0 40px 0;
}
.companies ul {
  align-items: center;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}
.companies li {
  margin: 40px;
  align-items: center;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
}
@media screen and (max-width: 767px) {
  .companies li {
    width: 20%;
  }
}
.companies li img {
  -webkit-filter: grayscale(100%);
          filter: grayscale(100%);
  max-width: 120px;
  opacity: 0.6;
  transition: opacity 200ms cubic-bezier(0.455, 0.03, 0.515, 0.955), -webkit-filter 200ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
  transition: filter 200ms cubic-bezier(0.455, 0.03, 0.515, 0.955), opacity 200ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
  transition: filter 200ms cubic-bezier(0.455, 0.03, 0.515, 0.955), opacity 200ms cubic-bezier(0.455, 0.03, 0.515, 0.955), -webkit-filter 200ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.companies li:hover img {
  -webkit-filter: grayscale(0%);
          filter: grayscale(0%);
  opacity: 1;
}

.benefits {
  padding: 40px 0 40px 0;
}
.benefits h4 {
  margin-bottom: 16px;
}
.benefits ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: 32px;
       column-gap: 32px;
  row-gap: 32px;
}
@media screen and (max-width: 767px) {
  .benefits ul {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 0;
  }
}
.benefits li {
  align-items: flex-start;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
}
.benefits li:hover {
  box-shadow: 0 0 16px rgba(18, 25, 28, 0.1);
}
@media screen and (min-width: 768px) {
  .benefits li {
    transition: box-shadow 200ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
    padding: 24px;
  }
}
.benefits svg {
  color: #4098C4;
}

.benefit__icon-container {
  background-color: #EBF4F9;
  border-radius: 4px;
  flex-shrink: 0;
  height: 40px;
  margin-right: 16px;
  width: 40px;
  align-items: center;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
}

.benefit__content {
  margin-top: 8px;
}

.how-it-works {
  padding: 40px 0 80px 0;
}

.how-it-works__introduction {
  font-size: 20px;
  margin: 0 auto 64px auto;
  max-width: 680px;
  text-align: center;
}

@media screen and (min-width: 1024px) {
  .steps {
    align-items: flex-start;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
  }
}

.step {
  position: relative;
  align-items: stretch;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
}
@media screen and (min-width: 1024px) {
  .step {
    align-items: center;
    flex-direction: column;
    max-width: 376px;
    width: 33.3333%;
  }
}
.step h4 {
  margin-bottom: 8px;
}
@media screen and (min-width: 1024px) {
  .step h4 {
    text-align: center;
  }
}
@media screen and (min-width: 1024px) {
  .step p {
    text-align: center;
  }
}
.step:first-child .step__number::before {
  content: none;
}
.step:last-child .step__number::after {
  content: none;
}

.step__number {
  position: relative;
  align-items: flex-start;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
}
@media screen and (min-width: 1024px) {
  .step__number {
    align-items: center;
    margin-bottom: 24px;
    width: 100%;
  }
}
.step__number span {
  background-color: #EBF4F9;
  border-radius: 40px;
  box-shadow: 0 1px 2px rgba(64, 152, 196, 0.16);
  color: #4098C4;
  font-family: "Mulish", sans-serif;
  font-size: 16px;
  font-weight: 500;
  height: 32px;
  text-align: center;
  width: 32px;
  align-items: center;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
}
@media screen and (max-width: 767px) {
  .step__number span {
    top: -4px;
  }
}
.step__number::before, .step__number::after {
  background-color: #4098C4;
  height: 100%;
  position: absolute;
  top: 16px;
  width: 2px;
  z-index: -1;
}
@media screen and (min-width: 1024px) {
  .step__number::before, .step__number::after {
    background-color: #4098C4;
    height: 2px;
    width: 50%;
  }
}
.step__number::before {
  left: 0;
}
@media screen and (min-width: 1024px) {
  .step__number::before {
    content: "";
  }
}
.step__number::after {
  content: "";
  left: 50%;
}

.step__content {
  padding: 0 16px;
}

.about {
  background-color: #12191C;
  overflow: hidden;
  position: relative;
  padding: 80px 0;
}
.about h2, .about p {
  color: #f6f9fd;
  text-align: left;
}

.about__image {
  background-image: linear-gradient(270deg, rgba(18, 25, 28, 0), #12191c), url("../images/pedro-romero.jpeg");
  background-position: 50% 50%;
  background-size: cover;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  z-index: 0;
}

.about__content {
  position: relative;
  z-index: 1;
}

.about__icon-container {
  padding-top: 4px;
}

.about__list {
  align-items: flex-start;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  gap: 8px;
}
.about__list li {
  align-items: flex-start;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  color: #f6f9fd;
  gap: 8px;
}
.about__list p {
  margin-bottom: 0;
}

.about__content {
  max-width: 620px;
}
@media screen and (max-width: 1023px) {
  .about__content {
    max-width: 100%;
  }
  .about__content h2 {
    color: #f6f9fd;
    text-align: center;
  }
}

.contact {
  background-color: #343637;
  padding: 120px 0;
}
.contact h2 {
  color: #f6f9fd;
  margin-bottom: 16px;
}
.contact p {
  color: #f6f9fd;
  margin-bottom: 0;
  text-align: center;
}
.contact a {
  color: #f6f9fd;
  font-size: 20px;
  display: inline-block;
  padding: 8px 0;
  position: relative;
  text-decoration: none;
}
.contact a::before {
  background-color: #ffffff;
  bottom: 3px;
  content: "";
  height: 1px;
  position: absolute;
  transform-origin: 100% 0%;
  transform: scaleX(0);
  transition: transform 200ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
  width: 100%;
}
.contact a:hover::before {
  transform: scaleX(1);
  transform-origin: 0% 0%;
}

.benefit__icon-container {
  background-color: #EBF4F9;
  border-radius: 4px;
  flex-shrink: 0;
  height: 40px;
  margin-right: 16px;
  width: 40px;
  align-items: center;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
}

.benefit__content {
  margin-top: 8px;
}

.consultancy {
  background-image: linear-gradient(180deg, rgba(246, 249, 253, 0), #f6f9fd);
  overflow: hidden;
  padding: 80px 0;
}
.consultancy h2 {
  text-align: left;
}

.consultancy__container {
  position: relative;
}
@media screen and (max-width: 767px) {
  .consultancy__container {
    padding-bottom: 180px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .consultancy__container {
    padding-bottom: 320px;
  }
}

.consultancy__content {
  margin: 0 auto;
}
.consultancy__content h2 {
  text-align: center;
}
.consultancy__content ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: 32px;
       column-gap: 32px;
  row-gap: 32px;
}
@media screen and (max-width: 767px) {
  .consultancy__content ul {
    grid-template-columns: repeat(1, 1fr);
  }
}
.consultancy__content li {
  align-items: flex-start;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
}
@media screen and (min-width: 768px) {
  .consultancy__content li {
    padding-left: 48px;
  }
}
.consultancy__content svg {
  color: #4098C4;
}
@media screen and (max-width: 1023px) {
  .consultancy__content {
    max-width: 100%;
  }
}

.consultancy__intro {
  margin-bottom: 32px;
}
@media screen and (min-width: 768px) {
  .consultancy__intro {
    margin-bottom: 64px;
    padding: 0 80px;
  }
}

.consultancy__icon-container {
  flex-shrink: 0;
  height: 24px;
  margin-right: 8px;
  width: 24px;
  align-items: center;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
}

.consultancy__image {
  bottom: -200px;
  position: absolute;
  right: 20px;
}
.consultancy__image img {
  -webkit-filter: grayscale(80%);
          filter: grayscale(80%);
}
@media screen and (max-width: 767px) {
  .consultancy__image {
    width: 300px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .consultancy__image {
    width: 400px;
  }
}
@media screen and (max-width: 1023px) {
  .consultancy__image {
    right: 50%;
    transform: translateX(50%);
  }
  .consultancy__image img {
    width: 100%;
  }
}

.testimonials {
  background-color: #ffffff;
  padding: 80px 0;
}

.testimonials__content {
  position: relative;
}

.testimonials__list {
  align-items: center;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  gap: 40px;
  min-height: 320px;
}

.testimonial__block {
  box-shadow: 0 0 16px rgba(18, 25, 28, 0.1);
  gap: 16px;
  padding: 40px;
  display: none;
}
.testimonial__block:nth-child(even) {
  align-self: flex-end;
}
.testimonial__block.active {
  align-items: flex-start;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
}

.testimonial__image {
  border-radius: 80px;
  height: 80px;
  flex-shrink: 0;
  overflow: hidden;
  width: 80px;
}
.testimonial__image img {
  width: 100%;
}

.testimonial__quote {
  font-style: italic;
  margin-bottom: 8px;
}

.prev-btn,
.next-btn {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  border: 1px solid #d1d3d4;
  box-shadow: 0 0 4px rgba(18, 25, 28, 0.2);
  color: #666a6d;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  height: 48px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
}

.prev-btn:hover,
.next-btn:hover {
  box-shadow: 0 0 8px rgba(18, 25, 28, 0.2);
}

.prev-btn {
  left: -24px;
}

.next-btn {
  right: -24px;
}

.testimonials__dots {
  align-items: center;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  margin-top: 16px;
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  margin: 0 4px;
  background-color: #d1d3d4;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.testimonials__dot.active {
  background-color: #12191C;
}