/* Fuentes Domus - Ordenadas por peso (100-800) */
@font-face {
  font-family: 'Domus';
  src: url('/assets/fonts/Domus_Ultralight.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Domus';
  src: url('/assets/fonts/Domus_Extralight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Domus';
  src: url('/assets/fonts/Domus_Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Domus';
  src: url('/assets/fonts/Domus.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Domus';
  src: url('/assets/fonts/Domus_Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Domus';
  src: url('/assets/fonts/Domus_Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Domus';
  src: url('/assets/fonts/Domus_Extrabold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}

* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Domus', sans-serif;
  /* font-weight: 200; */
  text-align: justify;
  position: relative;
  /* border: 1px solid red;  */
}

:root {
  --primary-color: #182f4f;
  --secondary-color: #f9b401;
  --tertiary-color: #5191ce;
  --cuaternary-color: #f9f9f9;
  --accent-color: #ffff;
  --black-color: #000;
  --gris-claro: #f7f7f7;
  --gris-oscuro: #333333;
  --gris-medio: #595959;

}

body {
  width: 100%;
  overflow: auto !important;
  overflow-x: hidden !important;
  padding: 0 !important;
  padding-right: 0 !important;
  height: 100dvh;
}

body {
  font-weight: 300;
  /* Light como base */
}

strong,
b {
  font-weight: 700;
  /* Bold para títulos o énfasis */
}

.btn-amarillo {
  background-color: var(--secondary-color);
  color: var(--accent-color);
  border: none;
  padding: 5px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
  font-size: 17px;
}

.btn-amarillo:hover {
  background-color: var(--tertiary-color);
}

.form-control::placeholder {
  color: var(--gris-medio);
  font-weight: 200;
}

/* HEADER */
header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

.logo-header {
  max-width: 100px;
  transition: all 0.3s ease;
}

.sticky-active {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .15);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  width: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gris-claro);
  transition: all 0.3s ease;
}

.sticky-active .nav-link {
  color: var(--primary-color) !important;
}

.sticky-active .nav-link.active::after {
  content: "";
  background-color: var(--secondary-color);
  width: 100%;
  height: 3px;
  margin: auto;
  display: block;
}


.sticky-active .logo-header {
  max-width: 90px;
  filter: drop-shadow(1px 1px 0px rgb(255, 255, 255));

}

header .nav-link {
  color: var(--tertiary-color);
  font-size: 20px;
  font-weight: 500;
}

header .nav-link:hover {
  color: var(--primary-color);
}

header .nav-link.active {
  color: var(--primary-color);
}

header .navbar-nav {
  gap: 3%;
}

/* FOOTER */
footer {
  background-color: var(--primary-color);
  color: var(--accent-color);
  padding: 20px 0;
}

footer h5 {
  margin-bottom: 15px;
}

footer h5 span {
  font-weight: 100;
  font-size: 16px;
}

footer .info {
  display: grid;
  gap: 10px;
}

footer .info-footer {}

footer .info-footer {
  font-size: 18px;
  font-weight: 200;
}

footer .icons-redes a {
  text-decoration: none;
  color: var(--accent-color);
  transition: color 0.3s ease;
}

footer .icons-redes a i {
  background-color: var(--accent-color);
  color: var(--tertiary-color);
  padding: 5px;
  border-radius: 5px;
  aspect-ratio: 1 / 1;
  width: 26px;
  display: grid;
  place-items: center;
}

header h6 {
  font-size: 15px;
  color: var(--tertiary-color);
}

header .icons-redes a {
  text-decoration: none;
}


header .icons-redes a i {
  background-color: var(--tertiary-color);
  color: var(--accent-color);
  padding: 5px;
  border-radius: 5px;
  aspect-ratio: 1 / 1;
  width: 26px;
  display: grid;
  place-items: center;
  transition: all 300ms ease;
}

header .icons-redes a:hover i {
  background-color: var(--secondary-color);
  color: var(--accent-color);
}

header .icons-redes a.whatsapp i {
  background-color: #25D366;

}

.info-header span {
  color: var(--primary-color);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 3px;
}

.info-header i {
  margin-bottom: -5px;
}

.info-header a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 3px;
}

.info-header.correo {
  color: var(--primary-color);
}

.offcanvas-body {
  align-items: center;
}

/* -------------------
FLOTANTES INICIO
-------------------- */
.floating-btn {

  display: flex;
  flex-direction: column;
  position: fixed;
   right: 2%;
    bottom: 6%;
  z-index: 10;

  justify-content: center;
  align-items: end;
  width: auto;
  /* height: 70px; */
  border-radius: 5px 0px 0 5px;
  /* background-color: var(--verde); */
  cursor: pointer;
  padding: 10px 0px 10px 10px;
  gap: 15px;
}

.floating-btn a {
  color: #FFF;
  text-decoration: none;
  /* border-bottom: 1px solid #FFF; */
  width: auto;
  text-align: center;
  padding: 5px;
  gap: 4px;
  place-items: center;
  border-radius: 5px;
  width: 80px;
  transition: all 300ms ease;
}

/* .floating-btn a:last-of-type {
  border-bottom: 0;

} */

.floating-btn a span {
  font-size: 16px;
  font-weight: 600;
  transition: all 300ms ease;

}


.floating-btn a img {
  width: 100%;
  transition: all 300ms ease;

}

.floating-btn a:hover {
  transform: scale(1.1);
  filter: drop-shadow(0px 1px 5px var(--gris-medio));
  /* transform: translateX(-10px); */
}

.floating-btn a:hover span {
  font-weight: 600;
}


/* -------------------
FLOTANTES FIN
-------------------- */


/* BANNER */
.slider-principal {
  width: 100%;
}

.img-banner {
  width: 100%;
  height: 500px;
  aspect-ratio: 28/9;
  object-fit: cover;
}

@media (width > 1700px) {

  .img-banner {
    height: 800px;

  }
}

.carousel-control-prev-icono {
  font-size: 30px;
  color: #343133;
  background-color: #FFF;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  font-size: 20px;

  padding: 4px;
}

.carousel-control-next-icono {
  font-size: 30px;
  color: #343133;
  background-color: #FFF;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  padding: 4px;
  font-size: 20px;

}

.carousel-control-next,
.carousel-control-prev {
  width: 5%;
  z-index: 9;
  height: 90%;
  height: 73%;
  margin: auto;
}

.contenido-banner {
  position: absolute;
  width: 100%;

  /* display: grid; */
  /* align-items: center; */

  font-weight: 800;
  padding-top: 150px;
  padding-bottom: 20px;
  bottom: 0px;
}

.contenido-banner>.container {
  margin-top: auto;
}

.contenido-banner .info-banner span {
  font-weight: 700;
}

.contenido-banner h4 {
  font-weight: 500;
  color: var(--azul-oscuro);
  font-size: 35px;


}

.contenido-banner .btn-blue {
  width: fit-content;
}

.contenido-banner-internas {
  position: absolute;
  width: 100%;

  height: 100%;
  display: grid;
  align-items: center;

  padding: 0 5%;
}

.contenido-banner-internas h4 {
  font-weight: 500;
  color: var(--azul-oscuro);
  font-size: 35px;


}

.contenido-banner-internas .btn-blue {
  width: fit-content;
}

.contenido-banner-internas p {
  margin: 0;
  text-shadow: 4px 4px 2px rgba(0, 0, 0, 0.6);
}

.contenido-banner-internas img {
  margin-bottom: 8px;
}

.titulo-sub-banners {
  color: var(--gris-medio);
  font-size: 24px;
  font-weight: 300;
}

.titulo-sub-banners i {
  color: var(--secondary-color);
}


.sub-banner {}

.sub-banner a {
  background-color: var(--tertiary-color);
  border-radius: 15px;
  color: var(--accent-color);
  padding: 12px;
  text-decoration: none;
  color: var(--accent-color);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 300ms ease;
  min-height: 170px;
}

.sub-banner a:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.contenido-sub-banner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 5px;
  font-size: 17px;
  gap: 10px;
}

.img-subbanner {
  width: 100%;
  object-fit: cover;
  max-width: 75px;
  aspect-ratio: 1/1;
}


.icono-sub-banner {
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  padding: 5px;
  width: 25px;
  height: 25px;
  aspect-ratio: 1/1;
  text-align: center;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.texto-sub-banner {
  font-weight: 300 !important;
  font-size: 30px;
  line-height: 1;
  width: 100%;
}

.contenedor-seccion {
  padding: 40px 0;
  background-repeat: no-repeat;
  background-size: cover;
}

.content-box>h2 {
  text-align: center;
  font-weight: 600;
  color: var(--primary-color);
}

.content-box>h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 5px;
  background-color: var(--secondary-color);
  margin: 5px auto;

}

/* Banner internas */

.fondo-imagen-internas img {
  width: 100%;
  height: 500px;
  aspect-ratio: 28/9;
  object-fit: cover;

}

@media (width >1700px) {
  .fondo-imagen-internas img {
    height: 700px;
  }
}

.img-banner-interna {
  height: 350px;
  width: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.carousel-indicators .active {
  background-color: var(--primary-color);
}


.content-box>.row {}

/* HOME */
/* beneficios */
.id_5 .content-box>h2 {
  color: var(--accent-color);
}

.id_5 .caja-contenido-simple .imagen-contenido img {
  width: 100%;
  max-width: 80px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  aspect-ratio: 1/1;
}

.contenido-home .caja-contenido-simple .descripcion {
  margin-top: 15px;
}

.id_5 .caja-contenido-simple .descripcion::after {
  content: "";
  display: block;
  width: 50px;
  height: 5px;
  background-color: var(--tertiary-color);
  margin: 10px auto 0 auto;
}

.descripcion p {
  margin: 0;
}

/* Nuestros clientes */
.itemSlider a {
  text-decoration: none;
}

.itemSlider .img-slider:hover {
  transform: scale(1.05);
}

.itemSlider .img-slider {
  object-fit: contain;
  width: 100%;
  max-width: 150px;
  height: 100px;


  display: block;
  margin: auto;
  /* aspect-ratio: 25/9; */
  transition: all 300ms ease;
}

.content-slider>h3 {
  font-size: 15px;
  color: var(--primary-color)
}

.slick-prev:before,
.slick-next:before {
  color: var(--tertiary-color);
}

.slick-dots {
  position: relative;
  bottom: -5px;

}

.slick-dots li.slick-active button:before {
  color: var(--primary-color);
}

.id_20 .design-two .col-md-7 {
  display: grid;
  place-items: center;
}

.id_20 .design-two .col-md-7 .descripcion p::after {
  content: "";
  display: block;
  background-image: url(/assets/ComillasFrase.png);
  background-size: contain;
  background-repeat: no-repeat;
  /* background-position: right center; */
  width: 65px;
  height: 62px;
  position: absolute;
  right: 0px;
  transform: translateY(-50%);
  bottom: -60px;
}

/* Testimonios */
.itemSlider.itemSlider_23 {
  display: flex !important;
  gap: 10px;
  align-items: start;
  overflow: hidden;
}

.itemSlider.itemSlider_23 .descripcion-slider span {
  font-weight: 300;
}

.itemSlider.itemSlider_23 .descripcion-slider img {
  max-height: 36px;
  object-fit: contain;
}

.itemSlider.itemSlider_23 .img-slider {
  width: 35%;
  max-width: none;
  height: 100%;
  margin: 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  height: 160px;
  object-fit: cover;

}

.content-slider_23 {
  width: 62%;
}

.slider-23 .slick-prev,
.slider-23 .slick-next {
  bottom: -30px;
  top: auto;
}

.slider-23 .slick-prev {
  left: 47.5%;
}

.slider-23 .slick-next {
  left: 50.5%;
}

.slider-23 .slick-prev:before,
.slider-23 .slick-next:before {
  font-size: 30px;
}

.slick-dots li button:before {
  font-size: 12px;
  color: var(--tertiary-color);
}

.slick-dots li {
  width: 15px;
}

/* Contactenos */
.modalPoliticas .modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.bg-azul {
  background-color: var(--primary-color);
}

.btn-azul {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.btn-azul:hover {
  background-color: var(--secondary-color);
}


/* ********************
INICIO GALERIA
*************************** */
.contenedor-galeria {
  padding-bottom: 15px;
}

.contenedor-galeria h3 {
  font-size: 1.2rem;
  text-align: center;
  height: 50px;
  display: grid;
  align-items: center;
}

/* Diseño Masonry - 3 columnas con JavaScript */
.masonry-gallery {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 5px;
}



.masonry-item {
  width: 100%;
  /* height: 100%; */
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.masonry-item img {
  border-radius: 12px;
  height: 30vh;
  width: 100%;
  object-fit: cover;
}

.masonry-item:hover {
  transform: translateY(-5px);
}

.masonry-item img .portada {
  width: 100%;
  height: 90%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 12px;
}

.masonry-item:hover img.portada {
  transform: scale(1.02);
}

.contenedor-galeria .portada {
  border-radius: 12px;
  transition: transform 300ms ease-in-out,
    box-shadow 300ms ease-in-out;
  cursor: pointer;
  width: 100%;
  height: auto;
  margin-bottom: 0;
}

.contenedor-galeria .portada:hover {
  transform: scale(1.02);
}

.titulo-album {
  font-weight: 600;
  text-align: center;
  color: var(--tertiary-color);
  margin: 0;
  font-size: 1.1rem;
}

/* Responsive para masonry */
@media (max-width: 768px) {
  .masonry-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .masonry-gallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Estilos para paginación específicos de galería */
.contenedor-galeria .pagination-info {
  margin-bottom: 1rem;
}

.contenedor-galeria .pagination-info small {
  font-size: 0.9rem;
  color: var(--gris-medio);
}

.contenedor-galeria .pagination {
  margin-top: 2rem;
  flex-wrap: wrap;
}

.contenedor-galeria .pagination .page-link {
  color: #6c757d;
  border: 1px solid #dee2e6;
  padding: 0.5rem 0.75rem;
  margin: 0.125rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

/* Responsive para paginación */
@media (max-width: 768px) {
  .contenedor-galeria .pagination .page-link {
    font-size: 1rem;
    margin: 0.0625rem;
  }

  .contenedor-galeria .pagination .page-item:not(.active):not(:first-child):not(:last-child) {
    display: none;
  }

  .contenedor-galeria .pagination .page-item.active,
  .contenedor-galeria .pagination .page-item:first-child,
  .contenedor-galeria .pagination .page-item:last-child {
    display: inline-block;
  }

  /* Mostrar algunas páginas cercanas en móvil */
  .contenedor-galeria .pagination .page-item.active+.page-item,
  .contenedor-galeria .pagination .page-item.active+.page-item+.page-item,
  .contenedor-galeria .pagination .page-item:first-child+.page-item,
  .contenedor-galeria .pagination .page-item:last-child:nth-child(n+3) {
    display: inline-block;
  }
}

@media (max-width: 480px) {
  .contenedor-galeria .pagination {
    margin-top: 1.5rem;
    gap: 5px;
  }

  /* En pantallas muy pequeñas, mostrar solo prev/next y página actual */
  .contenedor-galeria .pagination .page-item:not(.active):not(:first-child):not(:last-child) {
    display: none;
  }
}

/* Estilos para Fancybox */
.fancybox__nav {
  position: static;
}

.pagination .page-item.active .page-link {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--gris-oscuro);
  line-height: 1;
}

.pagination .page-link {
  line-height: 1;

}

/* ********************
FIN GALERIA
*************************** */

/* NOSOTROS */
.contenido-nosotros .caja-contenido-simple img {
  border-radius: 10px;
}

.contenido-nosotros .caja-contenido-simple>h2 {
  color: var(--gris-medio);
      margin-bottom: 0rem !important;
  font-weight: 600;
  font-size: 25px;
      text-align: center;
}

.btn-vermas {
  background-color: var(--secondary-color);
  color: var(--accent-color);
  border: none;
  padding: 7px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
  line-height: 1;
  font-weight: 500;
  margin: 10px 0 5px 0;
}

.btn-vermas:hover {
  background-color: var(--tertiary-color);
  color: var(--accent-color);
}

.contenido-nosotros .caja-contenido-simple {
  /* margin-top: 15px; */
}

.contenido-nosotros .caja-contenido-simple .img-fluid {
  display: block;
    margin: 0 0;
    width: 100%;
    height: 40dvh;
    object-fit: cover;
}

.contenido-nosotros .design-four {
  padding: 20px;
  border-radius: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* margin-bottom: 1.5rem; */
 
}
.contenido-nosotros .design-five {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 10px;
}

.contenido-nosotros  .design-five .img-fluid {

  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 150px;
}

/* Servicios */

.contenido-interna .contenedor-seccion {
  padding: 15px 0;
}

.contenedor-contacto {
  padding: 25px;
}

.descripcion-seccion>p {
  margin: 0;
}

.contenido-nosotros .caja-contenido-simple .descripcion {
     margin-left: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-right: auto;
}

.id_32 .design-four .imagen-contenido img {
  aspect-ratio: 2/3;
  width: 200px;
  height: 300px;
  object-fit: cover;
  margin: 0 auto;
}

.id_32 .columna-seccion {
  margin-bottom: 1.5rem;
}

.contenido-servicios .img-fluid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}


.contenido-servicios .descripcion h3 span {
  width: 100%;
  display: block;
}

.contenido-servicios ::marker {
  color: var(--secondary-color);
  font-weight: 600;
}

.contenido-servicios dl,
.contenido-servicios ol,
.contenido-servicios ul {
  margin: 0;
  padding-left: 1rem;
}

.contenido-servicios .caja-contenido-simple,
.contenido-servicios .caja-contenido-simple>.row {
  height: 100%;
}

.contenido-servicios .columna-seccion {
  margin: 10px 0;
}

/* .contenido-servicios .col-contenido{
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
} */
.contenido-servicios .design-five .img-fluid {
  width: 100%;
  object-fit: contain;
  display: block;
  margin: auto;
  aspect-ratio: 1/1;

}

.contenido-servicios .id_46 .design-five {
  overflow: hidden;
display: grid;
  place-items: center;
  transition: all 300ms ease;
  border-radius: 10px;
  border: 1px solid var(--gris-claro);
  padding: 10px;

}

.contenido-servicios .design-five:hover {
  padding: 0px;
}

.contenido-servicios .id_46 .columna-seccion {
  width: 14%;
}


