:root {
  --color-mostaza: #e5de00;
  --color-oliva: #c5d200;
  --color-celeste: #00ace7;
  --color-grsiMedio: #b3b3b3;
  --color-grsiOscuro: #999999;
  --color-text: #050505;
  --alto-botonesFlecha: 250px;
  --transition-All: all 0.25s ease;
}
* {
  scroll-behavior: smooth;
}
/* Fonts */
@font-face {
  font-family: "Avant";
  src: url("../fonts/avant-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: "Avant";
  src: url("../fonts/avant-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
}
@font-face {
  font-family: "Avant";
  src: url("../fonts/avant-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
}
body {
  font-family: "Avant", sans-serif;
  color: var(--color-text);
  position: relative;
}

/* Overrides BS */

/* Utilitarias */
.bg-grsiMedio {
  /*background-color: var(--color-grsiMedio);*/
}
.bg-grsiMedio h3 {
  font-size: 1.4rem;
}
.text-mostaza {
  color: var(--color-mostaza);
}
.text-dark {
  color: #141414;
}
.text-gray {
  color: #adadad;
}
.text-gray-dark {
  color: #606060;
}
.text-blue {
  color: #075ea5;
}
.big-titles {
  font-size: 60px;
}
.lh-100 {
  line-height: 1;
}
.fw-400 {
  font-weight: 400;
}
.fw-700 {
  font-weight: 700;
}
.btn-dark {
  background-color: #050505;
  color: white;
  border-radius: 10px;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  transition: var(--transition-All);
}
.btn-dark:hover {
  background-color: var(--color-mostaza);
  color: var(--color-text);
}
.btn-dark:focus {
  box-shadow: none;
}
.btn-outline-dark {
  background-color: transparent;
  color: #050505;
  border-color: #050505;
  border-radius: 10px;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  transition: var(--transition-All);
}
.btn-outline-dark:hover {
  background-color: #050505;
  color: #fff;
}
.btn-oliva {
  transition: var(--transition-All);
  color: var(--color-text);
  background: var(--color-oliva);
  background: linear-gradient(
      90deg,
      var(--color-oliva),
      var(--color-mostaza) 51%,
      var(--color-oliva)
    )
    0 / 200%;
  border: var(--color-oliva) 2px solid;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
}
.btn-oliva:hover {
  background: var(--color-mostaza);
  background: linear-gradient(
      90deg,
      var(--color-oliva),
      var(--color-mostaza) 51%,
      var(--color-oliva)
    )
    100% / 200%;
  border-color: var(--color-oliva);
  color: var(--color-text);
  box-shadow: -5px 5px 5px 0px rgba(0, 0, 0, 0.1);
}
.btn-skew {
  transition: var(--transition-All);
  transform: skew(-30deg);
  border-radius: 8px;
  margin-left: 15px;
  margin-right: 15px;
  padding-left: 40px;
  padding-right: 40px;
}
.btn-skew > span {
  transition: var(--transition-All);
  transform: skew(30deg);
  display: inline-block;
}
.btn-skew:hover {
  transform: skew(-40deg);
}
.btn-skew:hover > span {
  transform: skew(40deg);
}

/* NavBar */
nav.notTopPage .navbar-brand img {
  height: 80px;
  padding: 10px 0;
  transition: var(--transition-All);
}
nav.topPage .navbar-brand img {
  height: 130px;
  padding: 10px 0px 20px 0px;
  transition: var(--transition-All);
}
.nav-item.isotipo img {
  height: 60px;
  margin-left: 20px;
  display: none;
}
.nav-link {
  padding-bottom: 10px !important;
  margin-bottom: 0px;
}
.nav-item {
  position: relative;
}
.bsnav-mobile .navbar {
  padding-top: 120px;
}
.navbar-nav .nav-item.active > .nav-link,
.navbar-nav .nav-item:active:focus > .nav-link,
.navbar-nav .nav-item:active > .nav-link,
.navbar-nav .nav-item:focus > .nav-link,
.navbar-nav .nav-item:hover > .nav-link {
  color: var(--color-mostaza);
}
.nav-link::before {
  content: "";
  position: absolute;
  height: 2px;
  width: 25px;
  background-color: var(--color-mostaza);
  bottom: 0;
  margin: 0 auto;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateX(-50px);
  transition: var(--transition-All);
}
.nav-link:hover::before {
  opacity: 1;
  transform: translateX(0px);
}
.nav-item .nav-link.active::before {
  opacity: 1;
  transform: translateX(0px);
}
.navbar-toggler .navbar-toggler-icon,
.navbar-toggler .navbar-toggler-icon::after,
.navbar-toggler .navbar-toggler-icon::before {
  background-color: var(--color-mostaza);
}
.navbar-toggler-icon {
  background: none;
}
.bsnav-mobile .navbar-nav .nav-item .nav-link {
  font-size: 20px;
}
/* Carousel Inicial */
.carousel-inner{
  height: 100vh;
  padding-top: 50px;
}
#carouselInicial .carousel-item,
#carouselInicial .carousel-item .row,
#carouselInicial .carousel-item.active {
  min-height: 100vh;
}
#carouselInicial .carousel-item > img {
  position: absolute;
  bottom: 0;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.carousel-item h3{
  font-size: 2rem;
  text-align: center;
  color: #fff;
  line-height: 2rem;
  margin-top: -70px;
  letter-spacing: -2px;
}
.carousel-indicators li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background-color: transparent;
  margin: 0 4px;
  opacity: 1;
}
.carousel-indicators li.active {
  background-color: #fff;
}
.carousel-control-next, .carousel-control-prev{
  padding-top: 70px;
}
.carousel-control-next-icon {
  background-image: url(../images/arrow-right.svg);
  height: 50px;
  width: 50px;
}
.carousel-control-prev-icon {
  background-image: url(../images/arrow-left.svg);
  height: 50px;
  width: 50px;
}
.cubrir-todo {
  background-position: left top;
  background-size: cover;
  width: 100%;
  height: 100%;
}
.carousel-play {
  height: 25vh;
}
@keyframes zoomSlow {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3) rotate(0.1deg);
  }
  100% {
    transform: scale(1);
  }
}
.infinite-zoom {
  animation: zoomSlow 35s infinite linear;
}

/* Bg Video */
.video-container {
  background-color: #000000;
  height: calc(var(--alto-botonesFlecha) * 3);
}
.video-container video {
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.6;
  position: absolute;
  overflow: hidden;
  max-height: calc(var(--alto-botonesFlecha) * 3);
}
.card-button {
  display: block;
  position: relative;
  padding: 0px 30px;
  padding-top: calc(var(--alto-botonesFlecha) - 100px);
  text-decoration: none !important;
  z-index: 0;
  overflow: hidden;
  height: var(--alto-botonesFlecha);
}
.card-button:after {
  content: "";
  position: absolute;
  width: 42px;
  height: 11px;
  bottom: 30px;
  left: 0px;
  z-index: 1;
  background: url(../images/arrow-right-mostard.svg) 0 0 repeat;
  transform: translate(32px, 0);
  transition: var(--transition-All);
}
.card-button:hover:after {
  background: url(../images/arrow-right-white.svg) 0 0 repeat;
  transform: translate(150px, 0);
  transition: var(--transition-All);
}
.card-button:before {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -32px;
  left: -32px;
  background: var(--color-mostaza);
  height: 32px;
  width: 32px;
  border-radius: 32px;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: var(--transition-All);
}
.card-button:hover:before {
  transform: scale(60);
}
.card-button h3 {
  transition: var(--transition-All);
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 400;
}
.card-button:hover h3 {
  transition: var(--transition-All);
  color: #000;
  padding-left: 20px;
}
.card-button p {
  transition: var(--transition-All);
  color: #ffffff;
  padding-top: 35px;
}
.card-button:hover p {
  transition: var(--transition-All);
  color: #000;
  padding-left: 20px;
}
.card-button.cb-1 {
  border-top: 4px solid #fff;
  border-bottom: 4px solid #fff;
}
.card-button.cb-2 {
  border-top: 4px solid #fff;
  border-bottom: 4px solid #fff;
}
.card-button.cb-3 {
  border-top: 4px solid #fff;
  border-bottom: 4px solid #fff;
}

/* Parallax + Typewriter */
/* PARALLAX BLOCKS */
.parallax-section {
  height: 80vh;
  min-height: 600px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
}
.parallax-section.typewriter {
  background-image: url(../images/bg-parallax-01.jpg);
}
.parallax-section-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  background: rgb(0, 0, 0);
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1) 1%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 1;
  opacity: 0.7;
}
.var-highlight {
  color: var(--color-celeste);
}
#typewriter {
  font-size: 2.4rem;
  line-height: 2.9rem;
  margin: 0;
  font-family: "Avant";
  color: #fff;
  z-index: 2;
  position: relative;
  text-align: left;
  font-weight: 500;
  letter-spacing: -1px;
  text-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}
#typewriter:after {
  content: "|";
  animation: blink 500ms linear infinite alternate;
}
@keyframes blink {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* CAROUSEL CLIENTES */
@keyframes sliders{
  from{
    transform:translateX(0) ;
  }
  to{
    transform:translateX(-100%) ;
  }
}
.logos{
  background:white;
  white-space:nowrap;
  position:relative;
  padding: 3rem 0;
  overflow: hidden;
}

.logos:before,
.logos:after{
  content:"";
  position:absolute;
  top:0;
  width:50px;
  height:100%;
  z-index:2;
}
.logos:before{
  left:0;
  background:linear-gradient(to left, rgba(255,255,255,0), white);
}
.logos:after{
  right:0;
  background:linear-gradient(to right, rgba(255,255,255,0), white);
}
.logos-slide{
  display:inline-block;
  animation: 75s sliders infinite linear;
}
.logos-slide img{
  width: 140px;
  margin: 0px 3rem;
  filter: grayscale(1);
  opacity: 0.7;
  transition: 0.3s;
}
.logos-slide img:hover {
  opacity: 1;
}

/* Newsletter */
/* Label Ascendente en Input */
.labelAscendente {
  position: relative;
  width: 100%;
}
.labelAscendente label {
  transition: var(--transition-All);
  position: absolute;
  top: 0;
  font-size: 16px;
}
.labelAscendente label:hover {
  cursor: text;
}
.labelAscendente:focus-within label,
.labelAscendente input:not(:placeholder-shown) + label {
  color: #050505;
  font-size: 12px;
  top: -12px;
}
.labelAscendente input {
  padding-left: 0;
}
.labelAscendente .form-control {
  border-radius: 0;
  border: 0;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-text);
  font-size: 16px;
  background-color: transparent;
  box-shadow: none;
}
.labelAscendente input:focus {
  border-bottom-color: var(--color-mostaza);
}

/* Footer */
footer {
  background-color: var(--color-text);
  color: var(--color-grsiOscuro);
}
.logo-footer {
  height: 120px;
}
footer h5,
footer h6 {
  font-weight: 400;
  margin-bottom: 5px;
}
footer a { color: var(--color-grsiOscuro); text-decoration: none; transition: var(--transition-All);}
footer a:hover, footer a:focus{ color: #fff; text-decoration: none; transition: var(--transition-All);}
footer .nav-item a.nav-link,
footer .nav-item.active > .nav-link,
footer .nav-item:active:focus > .nav-link,
footer .nav-item:active > .nav-link,
footer .nav-item:focus > .nav-link,
footer .nav-item:hover > .nav-link {
  color: var(--color-grsiOscuro);
  margin-bottom: 0;
  padding-bottom: 0;
}
footer .nav-link::before {
  background-color: var(--color-grsiOscuro);
}
footer .rrss .nav-link::before {
  background-color: transparent;
}
footer .rrss img{
  width: 90%;
}
footer .rrss .nav-link {
  opacity: 0.5;
  padding: 7px;
  transition: var(--transition-All);
}
footer .rrss .nav-link:hover {
  opacity: 1;
  transform: translate(0px, -5px);
}
.relative {
  position: relative;
}

#response {
  background: #2ec770;
  color: #fff;
  text-align: center;
  width: 100%;
  padding: 25px 10px;
  position: absolute;
  top: -30px;
}

.fx-fading-circle {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  background: #ffffffad url(../images/loading.gif) center no-repeat;
}

.loading {
  display: none;
}
/*////////////////////// BTN WSP //////////////////*/
.whatsapp-mobile {
  position: fixed;
  z-index: 700;
  bottom: 1.5rem;
  right: 1.5rem;
  opacity: .9;
  transition: all ease .25s;
}

.whatsapp-mobile {
  width: 56px;
  height: 56px;
}

.whatsapp-mobile:hover {
  opacity: 1;
  transition: all ease .25s;
}
/*/////////////////// Interna | Nosotros /////////////////*/
.internal-newsletter > section {
  background-color: white !important;
}

.about-us {
  background-image: url(../images/bg-about.jpg);
  background-size: cover;
  background-position: right bottom;
  background-repeat: no-repeat;
  min-height: 840px;
  display: flex;
  align-items: center;
  padding: 12rem 0 8rem 0;
}
.about-us-manifest {
  background-image: url(../images/bg-about-manifest.jpg);
  background-size: cover;
  background-position: right bottom;
  background-repeat: no-repeat;
  min-height: 840px;
  display: flex;
  align-items: center;
  padding: 12rem 0 8rem 0;
}

.team {
  background: #000000;
  padding: 6rem 0;
  margin-top: 0.5rem;
}

.deco-team {
  width: 100px;
  display: block;
  margin-left: auto;
}

.team a {
  transition: var(--transition-All);
  color: white;
}

.team a:hover {
  text-decoration: none;
}

.team-photo {
  width: 100%;
  transition: var(--transition-All);
}
.team-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

.team-arrow {
  transition: var(--transition-All);
  opacity: 0;
  transform: translateX(-100px);
}

.team-member:hover .team-photo {
  opacity: 0.8;
}
.team-member:hover .team-arrow {
  transform: translateX(0);
  opacity: 1;
}

.modal-header {
  border: 0;
}

.close {
  font-size: 1.8rem;
  text-shadow: none;
  line-height: 0.5;
}

.member-modal .modal-content {
  background: url(../images/bg-modal.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border: 0;
  border-radius: 0;
}

.modal-photo {
  width: 100%;
  object-fit: cover;
}

.modal-social {
  display: flex;
  align-items: center;
  margin-top: 1.2rem;
}

.modal-social img {
  height: 35px;
  margin-right: 0.6rem;
  transition: var(--transition-All);
}

.modal-social img:hover {
  transform: translateY(-5px);
}

.text-block {
  background: url(../images/bg-bloque-animado.svg);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 6rem 0;
}

.text-modal .modal-content {
  background: url(../images/bg-modal-text.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border: 0;
  border-radius: 0;
}
.modal-dialog{ padding: 1rem;}
.p-custom{ padding: 10px 0px;}
/*/////////////////// Interna | Servicios /////////////////*/
.services {
  background-image: url(../images/bg-servicios.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 840px;
  display: flex;
  align-items: center;
  padding: 10.5rem 0 6rem 0;
}

.services-cards {
  margin: 0.5rem 0;
  padding: 6rem 0;
  background-image: url(../images/bg-cards-servicios.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.services-cards a:hover {
  text-decoration: none;
}

.service-container {
  padding: 3rem;
  background: linear-gradient(
    121deg,
    rgba(229, 222, 0, 1) 0%,
    rgba(229, 222, 0, 1) 100%
  );
  border-radius: 28px;
  width: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: var(--transition-All);
  color: #000;
  margin: 0.8rem 0;
}

.service-container-lg {
  min-height: 550px;
}

.service-container img {
  filter: grayscale(10) brightness(0);
  height: 42px;
  margin-top: 2rem;
  margin-right: auto;
  transition: var(--transition-All);
}

.service-container:hover {
  background: rgb(229, 222, 0);
  background: linear-gradient(
    121deg,
    rgba(229, 222, 0, 1) 0%,
    rgba(186, 180, 0, 1) 100%
  );
}

.service-container:hover img {
  filter: grayscale(10) brightness(10);
  transform: translateX(50px);
}

/*///// Servicios internas /////*/
.services-detail {
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
/*Estrategia*/
.services-strategy {
  background-image: url(../images/bg-servicios-estrategia.jpg) !important;
}
/*Decisión*/
.services-decision {
  background-image: url(../images/bg-servicios-decision.jpg) !important;
}
/*Impulso*/
.services-impulse {
  background-image: url(../images/bg-servicios-impulse.jpg) !important;
}

/* Formato tabs */
.bg-tabs {
  padding: 6rem 0;
  background: #999999;
  margin: 0.5rem 0;
}

.tab-link {
  font-size: 26px;
  font-weight: 500;
  color: #141414;
  padding: 5px 9px;
  background-color: #e5de00;
  text-transform: uppercase;
  transition: var(--transition-All);
  margin: 5px 3px;
  display: inline-block;
}

.services-tab-nav {
  display: inline-block;
  border: 0;
}

.tab-link:hover{
  background-color: #bdb600;
  color: #141414;
  text-decoration: none;
}
.tab-link.active {
  background-color: white;
  text-decoration: none;
}
.btn-top{
  opacity: .5;
  transition: var(--transition-All);
}
.btn-top:hover, .btn-top:focus{
  opacity: .9;
}
/* Formato tabs-content */
.bg-tabs-content {
  background: url(../images/bg-tabs.svg) #f7fffa;
  background-position: center center;
  background-repeat: no-repeat;
  background-position-y: -200px;
  padding: 7rem 0;
}

.services-detail-highlight {
  padding: 4rem 12rem 6rem 4rem;
  border-radius: 30px;
  color: white;
  font-size: 32px;
  margin: 4rem 0;
  font-weight: 500;
  text-transform: uppercase;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  position: relative;
}

.services-detail-highlight-strategy {
  background-image: url(../images/bg-destacado-estrategia.jpg);
}

.services-detail-highlight-decision {
  background-image: url(../images/bg-destacado-decision.jpg);
}

.services-detail-highlight-impulso {
  background-image: url(../images/bg-destacado-impulso.jpg);
}

.services-detail-highlight img {
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  height: 270px;
}

/* Bloque de nota */
.notes-section {
  margin-top: 12rem;
}

.notes-author {
  display: flex;
  align-items: center;
  margin-top: 2rem;
}

.notes-author img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-right: 1rem;
}

.notes-img {
  width: 100%;
  height: 420px;
  margin: 3rem 0;
  transition: var(--transition-All);
  object-fit: cover;
  object-position: right center;
}

.notes-img:hover {
  filter: brightness(1.05);
}

/* RESPONSIVE */
/* SM */
@media (min-width: 576px) {
  #typewriter {
    font-size: 3.5rem;
    line-height: 3.9rem;
  }
  .carousel-item h3{
    font-size: 2rem;
    margin-top: -20px;
  }
  .bg-grsiMedio h3 {
    font-size: 1.75rem;
  }
  .labelAscendente label {
    font-size: 20px;
  }
  .labelAscendente .form-control {
    font-size: 20px;
  }
  
}

/* LG */
@media (min-width: 992px) {
  .nav-item.isotipo img {
    display: block;
  }
  nav.topPage .navbar-brand img {
    height: 165px;
  }
  .carousel-item h3{
    font-size: 2.7rem;
    line-height: 2.9rem;
    letter-spacing: -2px;
    text-align: left;
  }
  .video-container {
    height: calc(var(--alto-botonesFlecha) * 3);
  }
  .video-container video {
    max-height: calc(var(--alto-botonesFlecha) * 3);
  }
  .card-button {
    padding-top: calc(var(--alto-botonesFlecha) * 3 - 275px);
    height: calc(var(--alto-botonesFlecha) * 3);
  }
  .card-button:after {
    bottom: 190px;
  }
  .card-button.cb-1,
  .card-button.cb-2,
  .card-button.cb-3 {
    border-top: 4px solid #fff;
    border-bottom: 4px solid #fff;
  }
  .card-button.cb-1 {
    border-right: 2px solid #fff;
  }
  .card-button.cb-2 {
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
  }
  .card-button.cb-3 {
    border-left: 2px solid #fff;
  }
  .p-custom{ padding: 90px 70px;}
  .logos:before, .logos:after{
    width:200px;
  }
}
/* XL */
@media (max-width: 1200px) {
  .services-detail-highlight {
    padding: 4rem 12rem 8rem 4rem;
  }
}

/* MD */
@media (max-width: 768px) {
  .carousel-inner{
    height: 100vh;
    padding-top: 100px;
  }
  .modal-photo {
    height: auto;
    margin-bottom: 1rem;
  }
  .service-container,
  .service-container-lg {
    min-height: auto;
  }
  .services-detail p {
    font-size: 32px;
  }
  .tab-link,
  .services-tab-nav span {
    font-size: 36px;
  }
  .services-detail-highlight {
    font-size: 22px;
  }
  .services-detail-highlight img {
    height: 200px;
  }
  .services-detail-highlight {
    padding: 2rem 2rem 8rem 2rem;
  }
}

/* Sm */
@media (max-width: 576px) {
  .carousel-control-next, .carousel-control-prev{ display: none;}
  .about-us p.h1 {
    font-size: 1.8rem;
  }
  .big-titles {
    font-size: 40px;
  }
  .parallax-section {
    background-position: -870px 0px;
  }
  .services {
    background-image: url(../images/bg-servicios-sm.jpg);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
  }
  .services-detail p {
    font-size: 24px;
  }
  .services-detail {
    padding: 8rem 0 5rem 0;
  }
  .tab-link,
  .services-tab-nav span {
    font-size: 20px;
  }

  .tab-content .h2 {
    font-size: 24px;
  }
  .tab-content .h3 {
    font-size: 22px;
  }
  .services-detail-highlight {
    font-size: 18px;
    padding: 2rem;
  }
  .services-detail-highlight img {
    display: none;
  }
  .notes-img {
    height: 320px;
  }
}
