:root {
  --grey: #79858b;
  --yellow: #fedc31;
  --blue: #1babc5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Frutiger", sans-serif;
  color: #585857;
}

.main__section--hero {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.main__section--services {
  width: 70%;
  margin: 0 auto;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  padding: 3rem 0 0;
}

.card-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.card {
  width: calc(45% - 1rem);
  height: 550px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  filter: drop-shadow(4px 4px 10px #00000070);
}

.card__image {
  width: 100%;
  height: 50%;
  border-radius: 20px 20px 0 0;
  object-fit: cover;
}

.card__content {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background-color: white;
  border-radius: 0 0 20px 20px;
  height: 50%;
  width: 100%;
}

.card__logo {
  width: 30%;
  height: auto;
  margin: 0 auto;
}

.card--full {
  width: 100%;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.card--full .card__image {
  height: 100%;
  width: 60%;
  object-fit: cover;
  border-radius: 20px 0 0 20px;
}

.card--full .card__content {
  height: 100%;
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 0 20px 20px 0;
}

.main__section--find {
  background: #ffdc00;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -150px;
  padding: 200px 0 2rem;
  width: 100%;
}

.main__section--find .arrow-up {
  width: 50px;
  height: auto;
  margin-bottom: 1rem;
}

.main__section--find .title {
  text-align: center;
}

.main__section--find .title {
  text-align: center;
  font-size: 2.2rem;
  padding-bottom: 1rem;
  border-bottom: 5px solid white;
  margin-bottom: 3rem;
}

.main__section--find .select-container {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  max-width: 800px;
  width: 80%;
  height: auto;
}

.main__section--find .select-wrapper {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main__section--find .select-wrapper .select-wrapper__title {
  position: relative;
  background-color: white;
  border-radius: 20px 20px 0 0;
  padding: 10px 1rem;
  width: 100%;
}

.main__section--find .select-wrapper .select-wrapper__title h2 {
  background: #ffdc00 !important;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 5px 10px 10px;
  border-radius: 20px;
  overflow-x: hidden;
  width: 93%;
}

.main__section--find select {
  border-radius: 20px;
  border: 0;
  height: 35px;
  width: 50%;
  padding: 5px 10px;
  font-weight: bold;
}

.main__section--find .select-container select::after {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  position: absolute;
  top: 18px;
  right: 10px;
  background-image: url("../assets/img/servicios/img/chevron-down.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.main__section--find select option:checked {
  background: #ffdc00 !important;
}

.main__section--find select option:checked:hover {
  background: #ffdc00 !important;
}

.main__section--find select::-webkit-scrollbar {
  width: 10px;
  border-radius: 20px;
}

.main__section--find select::-webkit-scrollbar-thumb {
  background: #ffdc00;
  border-top: 3px solid white;
  border-bottom: 3px solid white;
  border-right: 3px solid white;
  border-left: 1px solid white;
  border-radius: 20px;
}

.footer {
  background-color: white;
  text-align: center;
}

.footer__text {
  color: black;
  margin: 3rem 0 0;
  font-size: 1.6rem;
  font-style: italic;
  max-width: 85%;
  margin: 3rem auto 0;
}

.footer__text--span {
  color: #7b868c;
}

.footer__content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

.footer__logo {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__logo img {
  width: 150px;
}

.footer__title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.footer__title p::first-letter {
  color: var(--yellow);
}

.footer__title p {
  color: var(--blue);
  font-family: "Frutiger", sans-serif;
  text-transform: uppercase;
  font-size: 1.5rem;
}

.footer__title p:last-child {
  font-style: italic;
}

.footer__title {
  flex-direction: column;
  gap: 10px;
  margin: 1rem 0;
}

.line {
  display: none;
  margin-top: 1rem;
  width: 100%;
  height: 20px;
}

.line .yellow {
  background-color: var(--yellow);
  width: 70%;
  height: 20px;
}

.line .blue {
  background-color: var(--blue);
  width: 30%;
  height: 20px;
}

@media (min-width: 768px) {
  .footer__logo img {
    width: 50%;
    max-width: 300px;
    margin: 0 auto;
  }

  .footer__title {
    flex-direction: row;
  }

  .footer__content {
    flex-direction: row-reverse;
    justify-content: space-evenly;
    width: 90%;
    margin: auto;
  }
}

@media (max-width: 950px) {
  .main__section--services {
    width: 90%;
    gap: 2rem;
  }

  .card-container {
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
  }

  .card {
    width: 100%;
    height: 420px;
  }

  .card.card--full {
    width: 100%;
    height: 420px;
    flex-direction: column;
    filter: drop-shadow(4px 4px 10px #00000070);
  }

  .card--full .card__image {
    width: 100%;
    height: 50%;
    border-radius: 20px 20px 0 0;
  }

  .card--full .card__content {
    padding: 2rem;
    border-radius: 0 0 20px 20px;
    height: 50%;
    width: 100%;
  }

  .main__section--find .select-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .main__section--find .select-wrapper {
    width: 90%;
  }

  .main__section--find .select-wrapper .select-wrapper__title {
    width: 85%;
  }

  .main__section--find select {
    width: 90%;
  }
}
