footer {
  z-index: 500;
  width: 100%;
  height: 600px;
	color: white !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
	
	padding-top: 100px;
	padding-bottom: 60px;
	padding-left: 0;
	padding-right: 0;
	height: auto;
	margin-top: -15px;
}
footer h3 {
	color: white;
	margin-bottom: 10px;
	font-size: 19px;
	line-height: normal;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0) 5%,
    rgba(0, 0, 0, 0.3) 20%,
    rgba(0, 0, 0, 0.6) 30%,
    rgba(0, 0, 0, 0.8) 40%,
    rgba(0, 0, 0, 1) 50%,
    rgb(0, 0, 0)
  );
  z-index: -7;
}
footer p {
	font-size: 14px;
	line-height: normal;
	margin-bottom: 5px;
}
footer h3 {
    color: white !important;
}

footer .backdrop {
  z-index: -5;
  position: absolute;
  inset: 0;

  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);

  mask-image: linear-gradient(
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.5) 10%,
    rgba(0, 0, 0, 0.8) 20%,
    rgba(0, 0, 0, 1) 30%,
    rgb(0, 0, 0)
  );

  -webkit-mask-image: linear-gradient(
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.5) 10%,
    rgba(0, 0, 0, 0.8) 20%,
    rgba(0, 0, 0, 1) 30%,
    rgb(0, 0, 0)
  );
	background: url('https://villademerlogob.com/wp-content/uploads/2025/08/Fondo-en-Degrade-Azul-2-1.png');
}

footer .col {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: calc(0.3 * var(--m)) calc(0.8 * var(--m));
  width: 28%;
  text-align: center;
}

footer .col2,
.col3 {
	text-align: center;
}

footer img {
  height: calc(0.3 * var(--m));
  object-fit: cover;
}

footer .social {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
}

footer a {
  text-decoration: none;
  color: white !important;
}
.col.col1 h3 {
    color: white !important;
}

footer .link {
  width: calc(0.8 * var(--m));
  height: calc(0.8 * var(--m));
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: calc(0.1 * var(--m));

  display: flex;
  justify-content: center;
  align-items: center;
}
footer .col2 strong {
	font-size: 18px;
  color: white !important;
}
footer .col2 a {
	display: block;
	font-size: 15px;
}
footer .col2 a:hover {
	color: #2196f3 !important;
}
#footer strong {
  color: white !important;
}

@media screen and (max-width: 768px) {
	#bloque-hero-home button.wp-block-search__button {
		padding: 3px 10px;
		font-size: 9px !important;
	}
	#bloque-hero-home #wp-block-search__input-1 {
		padding: 10px 10px !important;
		font-size: 12px;
	}
	#bloque-hero-home #wp-block-search__input-1::-webkit-input-placeholder {
		font-size: 10px !important;
		text-align: center !important;
	}
	#bloque-hero-home .wp-block-search__inside-wrapper {
		max-width: 100% !important;
		width: 100% !important;
	}
	.menu-light {
		position: relative !important;
	}
	#bloque-01-servicios {
		background: #eee;
	}
	#bloque-03-servicios .card-servicios {
		height: auto !important;
	}
	.uagb-block-981d2502 figure {
		width: 70px;
		max-width: 70px;
	}
	#bloque-03-servicios {
		background: #eee;
		padding-top: 40px;
	}
	#bloque-03-servicios .row .col-md-3 {
		max-width: 93%;
	}
	#telefonos .titulo-poder {
		display: none;
	}
	#bloque-03-servicios .row {
		row-gap: 30px;
	}
	#bloque-03-servicios .titulo-poder {
		margin-bottom: 20px !important;
		color: #005780 !important
	}
	#bloque-03-servicios .uagb-container-inner-blocks-wrap {
		padding-left: 10px;
		padding-right: 10px;
	}
	#bloque-hero-home {
		padding-left: 15px;
		padding-right: 15px;
		padding-top: 0;
	}
	button.wp-block-search__button {
		font-size: 12px !important;
		background: rgba(1, 16, 88, .6) !important;
	}
	#bloque-hero-home img {
		margin-bottom: -10px;
	}
	#bloque-hero-home input {
		padding: 10px !important;
		background: rgba(255, 255, 255, .7) !important;
	}
	.container-titulo-tipo-servicio img {
		max-width: 100px;
	}
	header.site-header .ast-primary-header-bar {
		background: rgba(63, 148, 201, .9);
	}
	.ast-header-break-point .main-navigation ul .menu-item .menu-link {

		text-align: center;
		font-size: 14px;
	}
	ul.sub-menu li a {
		color: white !important;
		font-size: 14px !important;
	}
	#bloque-04-servicios img {
		width: 90px;
		max-width: 90px;
	}
	.menu-light .ast-primary-header-bar {
		background: rgba(63, 148, 201, .9);
	}
	.menu-light .custom-logo-link img  {
		max-width: 65px !important;
		padding-top: 0px;
		padding-bottom: 0px;
	}
	header .custom-logo-link img, .ast-header-break-point .site-branding img, .ast-header-break-point .custom-logo-link img {
		width: 65px;
		max-width: 65px;
	}
	.site-header-primary-section-right {
		align-items: flex-end !important;
	}
	.container-titulo-tipo-servicio p,
	.titulo-poder {		
		font-size: 26px;
		text-align: center;
	}
	.carousel-inner {
		padding-left: 20px;
		padding-right: 20px;
	}
	.card-servicios .card-subtitle {
		font-size: 13px;
	}
	.carousel-item .row {
		flex-wrap: nowrap;
		column-gap: 12px;
		overflow: auto;
	}
	.carousel-item .row .col-md-3 {
		max-width: 60%;
		padding: 0;
	}
	button.carousel-control-next {
		display: none !important;
	}
	button.carousel-control-prev {
		display: none !important;
	}
	.sslink-socials {
		display: none !important;
	}
	a.btn-flotante {
		display: none !important;
	}
	.uagb-block-e1654973 {
		display: none !important;
	}
	
	.custom-logo-link img {
		width: 100%;
		max-width: 70px;
	}
	body.home #primary {
		padding: 0 !important;
	}
	footer#footer {
		padding: 30px 20px;
		padding-top: 50px;
		flex-direction: column-reverse;
		justify-content: flex-start !important;
		align-items: flex-start;
		row-gap: 12px;
	}
	footer#footer > div {
		width: 100%;
		text-align: center;
	}
	footer#footer .col2 {
		display: none;
	}
	footer#footer .col1 h3,
	footer#footer .col1 .social {
		display: none;
	}
	footer#footer .col1 p strong,
	footer#footer .col3 p {
		font-size: 12px;
	}
	.container-titulo-tipo-servicio p {
		color: #005780 !important;
	}
	body *::-webkit-scrollbar {
		background: transparent !important;;
	}
}
