/* empieza todo con .hazt_custom */
.hazt_custom{
	
}
.hazt_custom section {
	opacity: 0;
	transform: translateY(150px); /* opcional: agrega desplazamiento para más efecto */
	transition: opacity 0.8s ease, transform 1.2s ease-out;
}
.hazt_custom section.visible {
	opacity: 1;
	transform: translateY(0);
}
.custom_2 .title h2{
	text-transform:capitalize !important;
}
.hazt_custom .title h2{
	margin-bottom:2rem;
}
.hazt_custom .center{
	text-align:center;
}
.custom_1 .flex-cols{
	position:relative;
}
.custom_1 .btnabsolute {
	position: absolute;
	bottom: 25px;
	left: 42%;
	color: white;
	background: black;
	padding: 10px 30px;
	border-radius:5px;
	cursor:pointer;
}
.custom_5 .btnabsolute{
	position: absolute;
	bottom: 0;
	left: 0;
	font-size:40px;
	border-radius:5px;
	cursor:pointer;
	font-size: 8rem;
	font-weight: 700;
	font-style: oblique;
	width: 100%;
	height: 100%;
	/* background: linear-gradient(0deg,#fff0,#00f0 20%); */
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transform: translateY(-100%);
}
.visible .hazt_fadeup {
  animation: fadeUp 1s 1.6s ease-in-out forwards !important;
}

@keyframes fadeUp {
  0% { transform: translateY(-100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}


.custom_5 .grid-cols-2{
	position:relative;
}
.btnabsolute.btnabsolute.btnabsolute.btnabsolute{
	color: white !important;
}
.btnabsolute svg{
  width: 25px;
}
/* Contenedor principal del componente */
.hazt_custom .custom_1 .flex-cols{
    display: flex;
    background-color: #fafafa; /* Fondo blanco para la tarjeta */
    border-radius: 10px; /* Bordes redondeados para un look moderno */
    overflow: hidden; /* Esencial para que el border-radius afecte a la imagen */
	
}
.hazt_custom .custom_3 {
    border-radius: 5px; /* Bordes redondeados para un look moderno */
	overflow: hidden; /* Esencial para que el border-radius afecte a la imagen */
	
}

/* Columna de la imagen */
.hazt_custom .col-img, .hazt_custom .col_collection {
    flex: 1 1 45%; /* La imagen ocupa el 45% del ancho */
    max-height: 450px; /* ¡IMPORTANTE! Limita la altura de la imagen */
}
.hazt_custom .col-imgfull{
	flex: 1 1 45%; /* La imagen ocupa el 45% del ancho */
    max-height: 100%; /* ¡IMPORTANTE! Limita la altura de la imagen */
}
.col_collection {
  position: relative;
}
.textimg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
  transition:all 0.3s ease;
  background: #0000003d;
  
}
.textimg.textimg.textimg.textimg{
	 color: white !important;
	 font-weight: 700;
  font-size: 2rem;
}
.textimg:hover{
	background: #0101017a;
}
.hazt_custom img {
    width: 100%;
    height: 100%;
    /* ¡LA CLAVE! La imagen cubre todo el espacio sin deformarse. */
    object-fit: cover; 
    display: block;
	
}

/* Columna del texto */
.hazt_custom .columna-texto {
    flex: 1 1 55%; /* El texto ocupa el 55% restante */
    display: flex;
    align-items: center; /* Centrado vertical */
    justify-content: center; /* Centrado horizontal */
    padding: 3rem; /* Espaciado interno generoso */
}

.hazt_custom .contenido-texto {
    max-width: 500px; /* Evita que las líneas de texto sean demasiado largas */
}

/* Estilos de tipografía mejorados */
.hazt_custom .contenido-texto h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1a202c;
}

.hazt_custom .contenido-texto h3 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.hazt_custom .contenido-texto p {
    font-size: 1rem;
    line-height: 1.65;
    color: #2d3748;
}
.hazt_custom .grid-cols-3{
	display:grid;
	grid-template-columns: repeat(3, 1fr);
	border-radius:5px;
	overflow:hidden
}
.hazt_custom .grid-cols-2{
	display:grid;
	grid-template-columns: repeat(2, 1fr);
	border-radius:5px;
	overflow:hidden
}

.map_info_wrapper {
  display: flex;
  flex-wrap: wrap;
  min-height: 400px;
  width:100%
}

.map_area {
  flex: 1;
  min-width: 300px;
}

.map_area iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.info_area {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  box-sizing: border-box;
  background-color: #f5f5f5;
}

.info_area h2 {
  margin-top: 0;
  color: #fff;
}

.info_area p {
  margin: 1rem 0;
  color: #c5c5c5;
  font-size: 0.9rem;
}
.infoimg img {
	
}
.local-num.local-num.local-num.local-num{
	color:#0087ff !important
}
.box_four {
  padding: 20px;
  background: #fff;
  border: 1px solid #0000001f;
  border-radius: 5px;
  box-shadow: 0 5px 10px 0 #0d0d0d14;
  transition:all 0.3s ease;
}
.box_four:hover{
	scale:1.1;
}
.custom_4 .grid-cols-3{
	gap: 1rem;
	overflow:initial;
}
.four_txt p {
  font-size: 14px;
  color: #00000096;
}
.cms-content.cms-custom{
	max-width: initial;
}
.cms-content.cms-custom .content_full{
	max-width: fit-content;
	width: 100%;
}
.cms-content.cms-custom .content_xl{
	max-width: 1200px;
	margin: 6rem auto;
	width: 100%;
}
/* --- OPTIMIZACIÓN PARA MÓVILES (Diseño Responsivo) --- */
@media (max-width: 768px) {
	.custom_5 .btnabsolute{
		font-size: 3rem;
	}
    .hazt_custom .custom_1{
        /* Apila los elementos uno encima del otro */
        flex-direction: column; 
    }

    .hazt_custom .columna-texto {
        padding: 2rem 1.5rem; /* Reduce el padding en móviles */
        text-align: center; /* El texto centrado suele funcionar mejor en móviles */
    }

    .hazt_custom .contenido-texto h2 {
        font-size: 1.75rem;
    }

    .hazt_custom .contenido-texto h3 {
        font-size: 1.1rem;
    }
	.hazt_custom .grid-cols-3{
		grid-template-columns: repeat(1, 1fr);
	}
	
    .hazt_custom .col-img {
        max-height: 230px; /* Una altura más adecuada para móviles */
    }
	
	.hazt_custom .col_collection{
		max-height: 135px;
	}
	.custom_1 .btnabsolute{
		left: 22%;
	}
}