@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/*
<uniquifier>: Use a unique and descriptive class name
<weight>: Use a value from 100 to 900
*/

@font-face {
  font-family: 'Cabinet Grotesk Regular';
  font-style: normal;
  font-weight: normal;
  src: local('Cabinet Grotesk Regular'), url('../fonts/CabinetGrotesk-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Cabinet Grotesk Thin';
  font-style: normal;
  font-weight: normal;
  src: local('Cabinet Grotesk Thin'), url('../fonts/CabinetGrotesk-Thin.woff') format('woff');
}

@font-face {
  font-family: 'Cabinet Grotesk Extralight';
  font-style: normal;
  font-weight: normal;
  src: local('Cabinet Grotesk Extralight'), url('../fonts/CabinetGrotesk-Extralight.woff') format('woff');
}

@font-face {
  font-family: 'Cabinet Grotesk Light';
  font-style: normal;
  font-weight: normal;
  src: local('Cabinet Grotesk Light'), url('../fonts/CabinetGrotesk-Light.woff') format('woff');
}

@font-face {
  font-family: 'Cabinet Grotesk Medium';
  font-style: normal;
  font-weight: normal;
  src: local('Cabinet Grotesk Medium'), url('../fonts/CabinetGrotesk-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Cabinet Grotesk Bold';
  font-style: normal;
  font-weight: normal;
  src: local('Cabinet Grotesk Bold'), url('../fonts/CabinetGrotesk-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Cabinet Grotesk Extrabold';
  font-style: normal;
  font-weight: normal;
  src: local('Cabinet Grotesk Extrabold'), url('../fonts/CabinetGrotesk-Extrabold.woff') format('woff');
}

@font-face {
  font-family: 'Cabinet Grotesk Black';
  font-style: normal;
  font-weight: normal;
  src: local('Cabinet Grotesk Black'), url('../fonts/CabinetGrotesk-Black.woff') format('woff');
}

/* Default styles for the document */

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

:root {
  /* Definición de variables de color */
  --color-primario: #000;
  --color-secundario: #09b174;
  --color-acento: #fadc6e;
}

/* Apply styles to the document */

body {
  font-family: 'Work Sans', serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: var(--color-primario);
}

header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 9999;
}

h1,
h2,
h3 {
  font-family: 'Cabinet Grotesk Medium';
  font-style: normal;
  font-weight: normal;
}

h2 {
  color: var(--color-secundario);
  font-weight: 500;
  font-size: 54px;
  line-height: 1.1;
  margin-bottom: 25px;
}

p {
  color: #616161;
  font-weight: 400;
  font-size: 18px;
}

header h1 {
  margin-bottom: 0;
}

button[type='submit'],
.button {
  text-transform: uppercase;
  font-weight: 600;
  border: 2px solid #09b174;
  border-radius: 12px;
  background: #fff;
  padding: 15px 18px;
  text-decoration: none;
  color: #000;
}

button[type='submit']:hover,
.button:hover {
  border-color: #fadc6e;
  background: #fff;
  color: #000;
}

.button.small {
  font-size: 12px;
  padding: 10px;
}

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
  overflow: hidden;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#proyecto .button.small {
  background: #eee;
}
#proyecto .button.small:hover {
  background: #eee;
}

main {
  padding: 0 !important;
  position: relative;
}

section {
  padding: 65px 0;
}

.work-sans-regular {
  font-family: 'Work Sans', serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.navbar-toggler {
  padding: 0;
  font-size: var(--bs-navbar-toggler-font-size);
  line-height: 1;
  color: transparent;
  background-color: transparent;
  border: none;
  border-radius: var(--bs-navbar-toggler-border-radius);
  transition: var(--bs-navbar-toggler-transition);
}

.nav-link {
  color: var(--color-secundario);
  font-weight: bold;
  padding-left: 25px !important;
}

.whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
}

#hero {
  padding: 0;
  position: relative;
}

#proyecto {
  background: #eee;
}

#proyecto ul {
  padding-left: 15px;
}

#proyecto ul li {
  list-style-image: url(../images/proyecto-marker.svg);
  color: var(--color-secundario);
  font-size: 18px;
  padding: 10px;
}

img#edificio {
  max-height: 650px;
}

#sec2 {
  padding-top: 0;
}

.carousel-control-prev-icon {
  background-image: url(../images/prev-arrow.png);
}

.carousel-control-next-icon {
  background-image: url(../images/next-arrow.png);
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  width: 3rem;
  height: 3rem;
}

.nav-pills .nav-link,
.nav-pills .nav-link:focus,
.nav-pills .nav-link:hover {
  color: #616161;
  border: 1px solid #e0e0e0;
  margin-left: 15px;
  padding: 10px 20px !important;
  border-radius: 15px;
  margin: 10px;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background-color: var(--color-secundario);
  border-color: var(--color-secundario);
}

.unidad {
  border-left: 1px solid #e0e0e0;
}

.unidad:nth-child(1) {
  border-left: none;
}

.unidad h4 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 20px;
}

.unidad p {
  font-size: 12px;
}

.items p {
  font-size: 16px;
}

.image-container {
  width: 100%; /* Ajusta el contenedor al ancho del dispositivo */
  overflow-x: auto; /* Permite el desplazamiento horizontal en móviles */
  white-space: nowrap; /* Evita que la imagen se ajuste al ancho en móviles */
  scrollbar-width: none; /* Oculta la barra de desplazamiento en Firefox */
  -ms-overflow-style: none; /* Oculta la barra de desplazamiento en IE/Edge */
}

.image-container::-webkit-scrollbar {
  display: none; /* Oculta la barra de desplazamiento en Chrome, Safari y Opera */
}

.image-container img {
  height: auto; /* Mantiene la proporción de la imagen */
  max-width: 100%; /* Ajusta la imagen al ancho del contenedor en desktop */
  display: inline-block; /* Permite que la imagen se muestre en línea en móviles */
}

/* Estilos específicos para móviles */
@media (max-width: 480px) {
  .image-container img {
    max-width: none;
    height: 350px;
  }
}

@media (max-width: 767px) {
  .image-container {
    overflow-x: scroll; /* Permite el desplazamiento horizontal en móviles */
    -webkit-overflow-scrolling: touch; /* Desplazamiento suave en móviles */
  }

  .image-container img {
    max-width: none; /* Evita que la imagen se ajuste al ancho en móviles */
  }
}

/* Estilos específicos para desktop */
@media (min-width: 768px) {
  .image-container {
    overflow-x: hidden; /* Oculta el desplazamiento horizontal en desktop */
    white-space: normal; /* Permite que la imagen se ajuste al ancho */
  }

  .image-container img {
    display: block; /* Muestra la imagen como bloque en desktop */
    width: 100%; /* Ajusta la imagen al ancho del contenedor */
  }
}

#tu-lugar {
  background: url(../images/tu-lugar.png) no-repeat;
  background-size: contain;
  background-position: center;
}

#tu-lugar h2 {
  color: var(--color-primario);
}

.lat {
  color: var(--color-secundario);
  font-size: 16px;
}

#puntos-de-interes {
  background-color: #eee;
  padding-top: 0;
  padding-bottom: 0;
}

#puntos-de-interes ol {
  list-style: none; /* Elimina el estilo predeterminado de la lista */
  padding: 0; /* Elimina el padding de la lista */
  padding-top: 20px;
  margin: 0; /* Elimina el margen de la lista */
  counter-reset: custom-counter; /* Inicializa el contador personalizado */
}

#puntos-de-interes ol li {
  display: flex; /* Utiliza flexbox para alinear los elementos */
  align-items: center; /* Alinea verticalmente los elementos */
  margin-bottom: 20px; /* Espaciado entre los elementos */
  font-size: 16px; /* Tamaño de fuente */
  counter-increment: custom-counter; /* Incrementa el contador en cada elemento */
}

#puntos-de-interes ol li::before {
  content: counter(custom-counter, decimal-leading-zero); /* Muestra el número con ceros iniciales */
  display: inline-flex; /* Asegura que el círculo y el número estén centrados */
  align-items: center; /* Centra verticalmente el número */
  justify-content: center; /* Centra horizontalmente el número */
  background-color: #ffd966; /* Color de fondo del círculo */
  color: black; /* Color del texto */
  font-weight: normal; /* Texto en negrita */
  width: 30px; /* Ancho del círculo */
  height: 30px; /* Alto del círculo */
  border-radius: 50%; /* Hace que el fondo sea un círculo */
  margin-right: 15px; /* Espaciado entre el círculo y el texto */
  font-size: 16px; /* Tamaño del número */
  font-family: Work Sans, sans-serif;
}

.equipo-img {
  height: 55px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

#contacto {
  padding-top: 0;
}

#contacto .container {
  border-top: 1px solid var(--color-secundario);
}

footer {
  margin-top: 50px;
}

footer p {
  font-size: 14px;
  color: var(--color-secundario);
}

footer a,
footer a:hover {
  color: var(--color-primario);
  text-decoration: none;
}

/* Default styles: Desktop */

/* Extra pequeño (xs) - Menos de 576px */
@media (max-width: 575.98px) {
  .container {
    padding-left: 25px;
    padding-right: 25px;
  }
  h2 {
    font-size: 35px;
  }
  p {
    font-size: 16px;
  }
  section {
    padding: 25px 0;
  }
  button[type='submit'],
  .button:not(#planos .button.tour) {
    width: 100%;
    display: block;
    text-align: center;
    padding: 15px 0;
  }
  .nav-pills .nav-link,
  .nav-pills .nav-link:focus,
  .nav-pills .nav-link:hover {
    margin: 10px;
    width: 145px;
    text-align: center;
  }

  .unidad h4 {
    font-size: 28px;
  }

  .unidad p {
    font-size: 16px;
  }

  #puntos-de-interes {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  #puntos-de-interes ol {
    margin-bottom: 20px;
  }

  .equipo-img {
    height: 40px;
  }

  footer p {
    font-size: 16px;
  }
}

/* Pequeño (sm) - Entre 576px y 767px */
@media (max-width: 767.98px) {
  .unidad {
    padding-bottom: 40px;
    border-left: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .unidad:nth-child(2) {
    border-left: none;
  }

  .unidad:nth-child(4) {
    border-bottom: none;
    border-left: none;
  }
}

/* Mediano (md) - Entre 768px y 991px */
@media (max-width: 991.98px) {
  .nav-link {
    padding-bottom: 15px;
    padding-top: 20px;
  }
}

@media (min-width: 991.98px) {
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    justify-content: flex-end;
  }
}

/* Grande (lg) - Entre 992px y 1199px */
@media (max-width: 1199.98px) {
  .nav-link {
    color: var(--color-secundario);
    font-weight: bold;
    padding-left: 5px !important;
  }
  .unidad {
    border-left: 1px solid #e0e0e0;
    margin-bottom: 30px;
  }

  .unidad:nth-child(3) {
    border-left: none;
  }
}

/* Extra grande (xl) - Entre 1200px y 1399px */
@media (min-width: 992px) and (max-width: 1399.98px) {
  #puntos-de-interes {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

/* XX grande (xxl) - 1400px o más */
@media (min-width: 1400px) {
}
