.montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.gabarito {
  font-family: "Gabarito", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/* ROOT VARS */
:root {
  --font-default: "Montserrat";
  --font-primary: "Gabarito";

  --color-default-light: #e3e3e3;
  --color-default: #535454;
  --color-default-dark: #333333;

  --color-primary: #000;

  --color-secondary-light: #cbe8e7;
  --color-secondary: #b8d0d0;
  --color-secondary-dark: #9d9d9c;

  --color-tertiary-light: #f9f5eb;
  --color-tertiary: #eae7dc;
  --color-tertiary-dark: #c5bfaf;

  --color-white: #ffffff;
  --color-light: #f3f5fa;
  --color-dark: #1a1f24;

  --regular-shaodw: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;

  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: var(--font-default);
  color: var(--color-default);
}

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

a:hover {
  color: var(--color-primary-light);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-default);
  color: var(--color-default-dark);
}

p {
  font-size: 15px;
  line-height: 1.5em;
  font-weight: normal;
  font-style: normal;
  letter-spacing: 0.05em;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--color-primary-dark);
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--color-primary-dark);
  border-top-color: var(--color-white);
  border-bottom-color: var(--color-white);
  border-radius: 60px;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #075e54;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 15px 0;
}

#header.header-scrolled,
#header.header-inner-pages {
  background: var(--color-primary);
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  color: #fff !important;
  /* box-shadow: var(--regular-shaodw); */
}

#header.header-scrolled .navbar a,
.navbar,
#header.header-inner-pages .navbar a,
.navbar {
  color: #fff !important;
  opacity: 1;
}

#logo {
  max-height: 40px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 14px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.05em;
  color: var(--color-default-dark);
  opacity: 0.5;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: var(--color-default-dark);
  opacity: 1;
}

/*
* HEADER SCROLLED
*/

.getstarted,
.getstarted:focus {
  padding: 8px 20px;
  margin-left: 30px;
  border-radius: 0.5rem;
  color: var(--color-primary);
  background: var(--color-white);
  font-size: 14px;
  border: 2px solid var(--color-primary);
  font-weight: 600;
  transition: all 0.3s;
}

.getstarted:hover,
.getstarted:focus:hover {
  border: 2px solid var(--color-white);
  color: var(--color-white);
  background: var(--color-primary);
  transition: all 0.3s;
}

.btn-get-started {
  font-family: var(--font-default);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px 11px 28px;
  border-radius: 0.5rem;
  transition: 0.3s;
  margin: 10px 0 0 0;
  color: var(--color-white);
  background: var(--color-primary);
  border: none;
}

.btn-get-started:hover {
  background: var(--color-primary-light);
}

/**
* Mobile Navigation 
*/

#header.header-scrolled .mobile-nav-toggle{
  color: #fff !important;
}

.mobile-nav-toggle {
  color: var(--color-dark);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: var(--color-white);
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px 0;
  border-radius: 0;
  background-color: var(--color-primary);
  overflow-y: auto;
  transition: 0.3s;
  align-content: center;
  flex-direction: column;
  justify-content: center;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.5);
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: var(--color-white);
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
  color: var(--color-dark);
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: var(--color-white);
  border: 1px solid var(--color-light);
  box-shadow: none;
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
  color: var(--color-primary);
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

.navbar-mobile .getstarted {
  display: flex;
  justify-content: center;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 100px 0;
  overflow: hidden;
}
.bg-cover {
  background-position: center;
  background-size: cover;
  width: 100%;
}

.bg-cover-cuadrado {
  background-position: center;
  background-size: cover;
  width: 100%;
  content: "";
  padding-bottom: 100%;
  border-radius: 0 3rem 3rem 3rem;
  height: 100px;
}

.title-section {
  position: relative;
  font-weight: 800;
  margin-bottom: 40px;
}
.title-section::before {
  position: absolute;
  content: "";
  top: 50px;
  bottom: 0%;
  height: 5px;
  width: 80px;
  background-color: var(--color-secondary-dark);
}

.title-section-white {
  position: relative;
  font-weight: 800;
  margin-bottom: 40px;
  color: #fff;
}
.title-section-white::before {
  position: absolute;
  content: "";
  top: 50px;
  bottom: 0%;
  height: 5px;
  width: 80px;
  background-color: #fff;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.btn-hero {
  color: #fff;
  border: 2px solid #fff;
  padding: 10px 30px;
  border-radius: 30px;
  transition: all 0.3s;
}
.btn-hero:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-hero-black {
  color: #000;
  border: 2px solid #000;
  padding: 10px 30px;
  border-radius: 30px;
  transition: all 0.3s;
}
.btn-hero-black:hover {
  background: #000;
  color: #fff;
}

.btn-hero-black-invertido {
  color: #fff;
  background-color: #000;
  border: 2px solid #000;
  padding: 10px 30px;
  border-radius: 30px;
  transition: all 0.3s;
}
.btn-hero-black-invertido:hover {
  background: transparent;
  color: #000;
  border: 2px solid #000;
}

/*--------------------------------------------------------------
# Quienes Somos Section
--------------------------------------------------------------*/
/* .card-servicios{
  border: 2px solid #fff;
  padding: 25px 30px;
  border-radius: 20px;
  transition: all .3s;
}

.card-servicios i{
  font-size: 20px;
  color: #000;
  margin-bottom: 20px;
  background-color: #fff;
  padding: 15px;
  border-radius: 25%;
}

.card-servicios:hover{
  background: var(--color-white);
  color: #fff;
  box-shadow: var(--regular-shaodw);
  transform: translateY(-10px);
}

.card-servicios:hover h4, .card-servicios:hover p{
  color: #fff !important;
}

.card-servicios:hover i {
  background-color: var(--color-primary);
  color: var(--color-white);
} */

.count-box {
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  background: #fff;
  min-height: 200px;
  max-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.count-box i {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  background: #fff;
  color: #000;
  width: 56px;
  height: 56px;
  line-height: 0;
  border-radius: 50px;
  border: 5px solid #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.count-box span {
  font-size: 23px;
  display: block;
  font-weight: 600;
  color: #000;
}

.count-box p {
  padding: 0;
  margin: 0;
  font-size: 15px;
  color: #000;
}



/*--------------------------------------------------------------
# Contacto Section
--------------------------------------------------------------*/
.card-contacto{
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 20px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  font-size: 14px;
  background-color: var(--color-dark);
}

#footer .footer-top {
  padding: 60px 0 60px 0;
}

#footer .footer-bottom {
  padding-top: 30px;
  padding-bottom: 30px;
  color: var(--color-white);
}

#footer .copyright {
  float: left;
}

#footer .credits {
  float: right;
  font-size: 13px;
}

#footer .credits a {
  transition: 0.3s;
}

#init-video {
  height: 100vh;
  position: relative;
}
#init-video video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1200px) {
  .cta {
    background-image: url("../img/bg-cta_4.jpg") !important;
  }
}
@media (max-width: 768px) {
  /* .cta {
    background-image: url("../img/bg-cta-mobile.jpg") !important;
  } */
}
