:root {
  --negro70: rgba(0, 0, 0, 0.7);
  --negro60: rgba(0, 0, 0, 0.6);
  --negro50: rgba(0, 0, 0, 0.5);
  --negro30: rgba(0, 0, 0, 0.3);
  --grisIntenso: rgb(48, 48, 48);
  --grisOscuro: rgb(51, 51, 51);
  --grisOscuro90: rgba(37, 37, 37, 0.9);
  --grisIntermedio: rgb(102, 102, 102);
  --grisClaro: rgb(173, 173, 173);
  --blanco90: rgba(255, 255, 255, 0.9);
  --blanco85: rgba(255, 255, 255, 0.85);
  --blanco70: rgba(255, 255, 255, 0.7);
  --blanco: rgb(255, 255, 255);
  --azul: rgb(6, 71, 192);
  --celeste: rgb(0, 178, 238);
  --lsm: rgb(140, 57, 49);
  --lsm-light: rgba(233, 82, 68, 0.8);
  --lsm50: rgba(204, 69, 57, 0.5);
  --lsm70: rgba(216, 74, 61, 0.7);
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-decoration: none;  
  font-family: "Roboto", sans-serif;
}

section {
  color: var(--negro70) !important;
}

a {
  color: var(--negro70);
  text-decoration: none;
}

a:hover {
  color: var(--negro70);
}

.navi {
  position: fixed;
  display: flex;
  justify-content: space-between;
  width: 100vw;
  height: 3.75rem;
  background-color: var(--blanco90);
  transition: 400ms ease-in all;
  z-index: 100;
}

.navi__logo {
  margin: 0;
  padding: 5px 0 0 10px;
  font-size: 2.2rem;
}

.logo {
  width: 35px;
}

.navi__button {
  align-self: flex-start;
  margin: 0.62rem 1.5rem 0.62rem 0.62rem;
  font-size: 1.5rem;
}

.navi__button-link .fas {
  color: black;
}

.menu {
  position: absolute;
  width: 100vw;
  right: -100vw;
  padding-inline-start: 0;
  margin-top: 3.75rem;
  font-size: 1rem;
  background-color: var(--blanco90);
  transition: all 400ms ease-in;
}

.menu__item--select {
  background-color: var(--lsm70);
}

.menu__item--select a {
  color: white;
}

.menu__item {
  display: block;
  padding: 0.62rem;
  text-align: center;
  list-style: none;
}

.menu__item:hover {
  background: var(--lsm);
  color: var(--blanco);
}

.menu__link {
  display: block;
}

.menu__item:hover a,
.menu__link:hover {
  color: var(--blanco);
}

.menu__active {
  right: 0;
  transition: 400ms ease-in all;
}

.menu_link--fav:hover,
.menu_link--fav {
  color: var(--lsm-light) !important;
}

.navi--shadow {
  box-shadow: 0px 3px 6px 3px rgba(0, 0, 0, 0.4);
}

#nosotros,
#servicios,
#beneficios,
#clientes,
#contacto {
  scroll-margin-block-start: 60px;
}

/*--------------------- Banner ---------------------*/
.banner {
  display: flex;
  height: 100vh;
  justify-content: center;
  align-items: center;
  background-color: #cccccc;
  background-image: url(../img/medical-banner.jpg);
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
}

.banner__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background-color: var(--negro50);
}

.banner__title {
  margin-bottom: 30px;
  font-size: 2rem;
  letter-spacing: 1px;
  text-align: center;
  color: white;
}

.banner__title,
.banner__title strong,
.banner__subtitle,
.banner__subtitle-2 {
  font-family: "Playfair Display", serif;
}

.banner__title strong {
  color: white;
}

.banner__subtitle {
  display: block;
  margin-bottom: 50px;
  font-size: 1.25rem;
  letter-spacing: 1px;
  text-align: center;
  color: white;
}

.banner__subtitle-2 {
  font-size: 1rem;
  letter-spacing: 1px;
  color: white;
  text-align: center;
}

.servicios,
.nosotros {
  color: black;
}

.nosotros p {
  font-size: 1rem;
  text-align: justify;
}

.nosotros td {
  width: 50%;
  padding: 0 20px;
  line-height: 20px;
  vertical-align: top;
}

.nosotros-text {
  padding: 15px;
}

.text-underline-lsm {
  border-bottom: 4px solid var(--lsm);
}

.clientes,
.servicios {
  background-color: beige;
}

.servicios-item {
  padding: 0 20px;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.servicios-item i {
  margin-right: 20px;
  font-size: 3rem;
}

.icon-color {
  padding: 10px;
  width: 80px;
  height: 80px;
  min-width: 80px;
  text-align: center;
  color: white;
  border-radius: 10px;
  background-color: var(--lsm);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.text-lsm-light {
  font-weight: 400;
  color: rgb(122, 122, 122);
}

.text-small {
  position: relative;
  top: -3px;
  font-size: 0.3rem;
  color: rgb(124, 124, 124);
}

.beneficio-card {
  margin-bottom: 30px;
}

.text-deco {
  font-family: "Forum", cursive;
  font-size: 3rem;
}

.beneficio-img {
  display: none;
}

.benefcio-icon {
  min-width: 80px;
  width: 80px;
  height: 80px;
  padding: 10px;
  border-radius: 100%;
  font-size: 3rem;
  color: white;
  background-color: var(--lsm);
}

/* .clientes {
  background-color: rgba(117, 11, 11, 0.144);
} */

.clientes .row {
  width: 100%;  
}

.cliente-img {
  max-width: 200px;
  width: 200px;  
  max-height: 130px;
  cursor: pointer;
  object-fit: contain;
}

.footer {
  width: 100%;
  min-height: 14rem;
  background-color: var(--lsm);
}

.footer div {
  letter-spacing: 2px;
  font-family: "Playfair Display", serif;
}

.btn-lsm {
  width: 200px;
  color: white;
  background-color: var(--lsm);
  border: 1px solid var(--lsm-light);
}

.btn-lsm:hover {
  color: white;
  background-color: var(--lsm-light);
}

.contacto__form {
  width: 90%;
}

@keyframes wave {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  20% {
    -webkit-transform: scale3d(1.5, 1.05, 1.05);
    transform: scale3d(1.5, 1.05, 1.05);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.5, 1.05);
  }

  80% {
    -webkit-transform: scale3d(1.05, 1.05, 1.5);
    transform: scale3d(1.05, 1.05, 1.5);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes wave2 {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  20% {
    -webkit-transform: scale3d(1.5, 1.05, 1.05);
    transform: scale3d(1.5, 1.05, 1.05);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.5, 1.05);
  }

  80% {
    -webkit-transform: scale3d(1.05, 1.05, 1.5);
    transform: scale3d(1.05, 1.05, 1.5);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.button-up {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 40px;
  bottom: 0;
  color: var(--blanco);
  background-color: var(--lsm50);
  border-radius: 50% 50% 0 0;
  transition: height 300ms ease-in-out;
  animation-name: wave;
  animation-duration: 800ms;
}

.button-up:hover {
  background-color: var(--lsm70);
  height: 60px;
  animation-name: wave2;
  animation-duration: 800ms;
}

.button-up a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px;
  font-size: 1.5rem;
  text-align: center;
  opacity: 60%;
}

.button-up--none {
  display: none;
}

.section__header {
  display: grid;
  grid-template: 1fr / repeat(3, minmax(min-content, 33.33%));
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  text-align: center;
}

.section__line {
  width: 100%;
  background-color: var(--lsm);
  border: 2px solid var(--lsm);
  border-radius: 5px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.section__title {
  font-size: 3rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
}

.font-w3 {
  font-weight: 300;
}

.text-dark50 {
  color: var(--negro50);
}

@media (min-width: 768px) {
  .banner {
    background-attachment: fixed;
  }

  .banner__title {
    font-size: 3rem;
  }

  .banner__title strong {
    font-size: 4rem;
  }

  .banner__subtitle {
    font-size: 2.3rem;
  }

  .banner__subtitle-2 {
    font-size: 1.5rem;
  }

  .servicios-item {
    width: 33%;
    padding: 0 20px;
    margin-bottom: 3rem;
    font-size: 1rem;
  }

  .beneficio-img {
    display: inline;
    margin: 20px;
    height: 220px;
    max-width: 300px;
    object-fit: cover;
  }

  .contacto-img {
    width: 60%;
    height: 100;
    background-image: url(../img/contact.jpg);
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
  }

  .contacto__form {
    width: 100%;
  }

  .button-up,
  .button-up:hover {
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }
}

@media (min-width: 1024px) {
  #nosotros,
  #servicios,
  #beneficios,
  #clientes,
  #contacto {
    scroll-margin-block-start: 90px;
  }

  .navi {
    position: absolute;
    top: 30px;
    left: 50%;
    height: 90px;
    width: 80%;
    transform: translateX(-50%);
  }

  .navi__logo {
    margin-left: 10px;
    padding: 10px 0 0 10px;
    font-size: 2.5rem;
    z-index: 10;
  }

  .navi__logo img {
    width: 50px;
  }

  .navi__logo--0 {
    font-size: 2rem;
  }

  .navi__button {
    display: none;
  }

  .menu {
    position: initial;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
    margin-top: initial;
    background-color: transparent;
    transition: none;
  }

  .menu__item {
    margin-right: 5px;
    padding: 1rem 10px;
    border-bottom: 6px solid transparent;
  }

  .menu__item:hover {
    background: transparent;
    border-bottom: 6px solid var(--lsm);
  }

  .menu__link {
    display: inline-block;
    margin: 25px 0;    
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
  }

  .menu__item--select {
    background: transparent;
    border-bottom: 6px solid var(--lsm);
  }

  .menu__item--select a {
    color: var(--negro70);
  }

  .menu__item:hover a,
  .menu__link:hover {
    color: var(--negro70);
  }

  .navi-fixed {
    position: fixed;
    top: 0;
    left: 0;
    height: 90px;
    width: 100vw;
    background-color: white;
    transform: translateX(0);
    box-shadow: 1px 1px 5px black;
    z-index: 100;
  }

  .menu-fixed {
    position: absolute;
    top: 0;
    right: 0;
  }

  .navi__link {
    font-size: 1rem;
  }

  .banner__title {
    font-size: 5rem;
  }

  .banner__title strong {
    font-size: 6rem;
  }

  .banner__subtitle {
    font-size: 3rem;
  }

  .banner__subtitle-2 {
    font-size: 2rem;
  }

  .beneficio-img {
    height: 320px;
    max-width: 500px;
    margin: 20px;
  }

  .cliente-img {
    max-width: 200px;
    width: 200px;
    max-height: 130px;
    cursor: pointer;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 300ms ease-in-out;
  }

  .cliente-img:hover {
    filter: grayscale(0);
    transform: scale(1.2);
  }

  .contacto-img {
    width: 100%;
  }
}
