/* =========================================================
   DAL Footer final
   Archivo limpio: footer-dal.css
   ========================================================= */

/* =========================================================
   RESET ASTRA / UAGB · Quitar aire superior del footer
   ========================================================= */

.site-footer .site-primary-footer-wrap,
#colophon .site-primary-footer-wrap,
.site-primary-footer-wrap[data-section="section-primary-footer-builder"],
.site-footer .ast-builder-grid-row-container-inner,
#colophon .ast-builder-grid-row-container-inner,
.site-footer .footer-widget-area,
#colophon .footer-widget-area,
.site-footer .widget,
#colophon .widget,
.site-footer .wp-block-uagb-container,
#colophon .wp-block-uagb-container,
.site-footer .uagb-container-inner-blocks-wrap,
#colophon .uagb-container-inner-blocks-wrap {
	margin-top: 0 !important;
	padding-top: 0 !important;
	border-top: 0 !important;
}

/* =========================================================
   BASE
   ========================================================= */

.dal-footer-final {
	--dal-bg: #ffffff;
	--dal-text: #111111;
	--dal-muted: #4b5563;
	--dal-line: rgba(0, 0, 0, 0.14);
	--dal-max: 1440px;

	background: var(--dal-bg);
	color: var(--dal-text);
	width: 100%;
	margin: 0 !important;
	padding: 0 24px 28px;
	box-sizing: border-box;
	font-family: inherit;
}

.dal-footer-final * {
	box-sizing: border-box;
}

.dal-footer-inner {
	width: 100%;
	max-width: var(--dal-max);
	margin: 0 auto;
}

/* Línea superior del footer, alineada con las otras líneas */
.dal-footer-inner::before {
	content: "";
	display: block;
	width: 100%;
	max-width: 1120px;
	margin: 0 auto 28px;
	border-top: 1px solid var(--dal-line);
}

/* =========================================================
   BLOQUE SUPERIOR · Logos de áreas
   ========================================================= */

.dal-footer-top {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto 28px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 64px;
	row-gap: 0;
}

.dal-footer-col {
	min-width: 0;
	width: 100%;
}

.dal-footer-stack {
	display: grid;
	gap: 16px;
}

.dal-footer-item {
	min-width: 0;
}

.dal-footer-button {
	width: 100%;
	min-width: 0;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 42px;
	align-items: center;
	column-gap: 18px;
	text-align: left;
}

.dal-footer-pill {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	min-height: 58px;
	padding: 0;
	background: transparent;
	border: 0 !important;
	border-radius: 0;
	text-decoration: none;
	overflow: visible;
	box-shadow: none !important;
}

.dal-footer-pill img {
	display: block;
	width: auto;
	max-width: 360px;
	max-height: 58px;
	height: auto;
	object-fit: contain;
	margin: 0;
}

.dal-footer-pill:hover,
.dal-footer-pill:focus,
.dal-footer-pill:active {
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
}

.dal-footer-toggle {
	appearance: none;
	border: 0;
	background: transparent !important;
	color: var(--dal-text);
	width: 42px;
	height: 42px;
	padding: 0;
	margin: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: none !important;
	outline: none !important;
}

.dal-footer-toggle:hover,
.dal-footer-toggle:focus,
.dal-footer-toggle:active {
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
}

.dal-footer-chevron {
	width: 18px;
	height: 18px;
	transition: transform 0.22s ease;
	color: #111111;
}

.dal-footer-item.is-open .dal-footer-chevron {
	transform: rotate(180deg);
}

.dal-footer-panel {
	display: none;
	padding: 8px 0 0;
}

.dal-footer-item.is-open .dal-footer-panel {
	display: block;
}

.dal-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 7px;
	text-align: left;
	justify-items: start;
	width: 100%;
	max-width: 520px;
}

.dal-footer-links li {
	margin: 0;
	padding: 0;
}

.dal-footer-links a {
	color: var(--dal-muted);
	text-decoration: none;
	line-height: 1.2;
	font-size: 0.9rem;
	display: block;
	max-width: 100%;
}

.dal-footer-links a:hover {
	color: #000000;
	text-decoration: underline;
}

/* =========================================================
   BLOQUE MEDIO · Logo + páginas + redes + datos
   ========================================================= */

.dal-footer-middle {
	width: 100%;
	max-width: 1120px;
	margin: 8px auto 0;
	border-top: 1px solid var(--dal-line);
	border-bottom: 1px solid var(--dal-line);
	padding: 20px 0;

	display: grid;
	grid-template-columns: 220px 190px 190px 280px;
	justify-content: center;
	gap: 48px;
	align-items: center;
}

.dal-footer-brand-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.dal-footer-brand-logo {
	display: block;
	width: 145px;
	height: 145px;
	text-decoration: none;
}

.dal-footer-brand-logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.dal-footer-pages-wrap,
.dal-footer-social-wrap,
.dal-footer-contact-wrap {
	min-width: 0;
	width: 100%;
}

.dal-footer-pages {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.dal-footer-pages li {
	margin: 0;
	padding: 0;
}

.dal-footer-pages a {
	color: var(--dal-text);
	text-decoration: none;
	line-height: 1.16;
	font-weight: 700;
	font-size: 0.94rem;
}

.dal-footer-pages a:hover {
	text-decoration: underline;
}

.dal-footer-mini-title {
	margin: 0 0 10px 0;
	font-size: 0.94rem;
	line-height: 1.08;
	font-weight: 700;
	color: #111111;
	letter-spacing: 0.01em;
}

.dal-footer-social {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.dal-footer-social a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #111111;
	text-decoration: none;
	background: transparent !important;
	box-shadow: none !important;
}

.dal-footer-social a:hover {
	opacity: 0.85;
	transform: none;
	background: transparent !important;
}

.dal-footer-social svg {
	width: 27px;
	height: 27px;
	fill: currentColor;
	display: block;
}

.dal-footer-social-user {
	margin-top: 7px;
	color: var(--dal-muted);
	line-height: 1.08;
	font-size: 0.86rem;
}

.dal-footer-contact-wrap {
	align-self: center;
}

.dal-footer-contact-wrap .dal-footer-mini-title {
	margin-bottom: 6px;
}

.dal-footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 5px;
}

.dal-footer-contact li {
	margin: 0;
	padding: 0;
}

.dal-footer-contact a,
.dal-footer-contact .row {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--dal-muted);
	text-decoration: none;
	line-height: 1.22;
	font-size: 0.86rem;
	white-space: nowrap;
}

.dal-footer-contact .icon {
	width: 0.95em;
	height: 0.95em;
	display: inline-block;
	flex: 0 0 auto;
	margin-top: 0;
}

.dal-footer-contact a:hover {
	color: #000000;
	text-decoration: underline;
}

/* =========================================================
   LEGAL
   ========================================================= */

.dal-footer-legal {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding-top: 16px;
}

.dal-footer-legal-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px 30px;
	text-align: center;
}

.dal-footer-legal-list li {
	margin: 0;
	padding: 0;
}

.dal-footer-legal-list a {
	color: var(--dal-muted);
	text-decoration: none;
	line-height: 1.2;
	font-size: 0.86rem;
}

.dal-footer-legal-list a:hover {
	color: #000000;
	text-decoration: underline;
}

/* =========================================================
   DESKTOP NORMAL · 1181px a 1499px
   ========================================================= */

@media (min-width: 1181px) and (max-width: 1499px) {
	.dal-footer-final {
		width: 100vw !important;
		max-width: none !important;
		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
		padding: 0 48px 26px !important;
	}

	.dal-footer-inner {
		width: 100% !important;
		max-width: 1220px !important;
		margin: 0 auto !important;
	}

	.dal-footer-inner::before {
		max-width: 1080px !important;
		margin: 0 auto 24px !important;
	}

	.dal-footer-top {
		max-width: 1080px !important;
		margin-bottom: 24px !important;
		column-gap: 64px !important;
	}

	.dal-footer-stack {
		gap: 14px !important;
	}

	.dal-footer-pill {
		min-height: 58px !important;
	}

	.dal-footer-pill img {
		max-width: 340px !important;
		max-height: 58px !important;
	}

	.dal-footer-middle {
		max-width: 1080px !important;
		padding: 18px 0 !important;
		grid-template-columns: 210px 180px 180px 270px !important;
		gap: 44px !important;
	}

	.dal-footer-brand-logo {
		width: 135px !important;
		height: 135px !important;
	}

	.dal-footer-pages {
		gap: 4px !important;
	}

	.dal-footer-pages li {
		line-height: 1 !important;
	}

	.dal-footer-pages a {
		font-size: 0.9rem !important;
		line-height: 1.32 !important;
		display: block !important;
	}

	.dal-footer-mini-title {
		font-size: 0.9rem !important;
		line-height: 1 !important;
		margin: 0 0 6px 0 !important;
	}

	.dal-footer-social a {
		width: 34px !important;
		height: 34px !important;
	}

	.dal-footer-social svg {
		width: 25px !important;
		height: 25px !important;
	}

	.dal-footer-social-user {
		font-size: 0.82rem !important;
	}

	.dal-footer-contact {
		gap: 1px !important;
	}

	.dal-footer-contact li {
		line-height: 1 !important;
	}

	.dal-footer-contact a,
	.dal-footer-contact .row {
		font-size: 0.9rem !important;
		line-height: 1.2 !important;
		gap: 0.42rem !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.dal-footer-contact .icon {
		width: 0.82em !important;
		height: 0.82em !important;
	}

	.dal-footer-legal {
		max-width: 1080px !important;
		padding-top: 14px !important;
	}

	.dal-footer-legal-list a {
		font-size: 0.82rem !important;
	}
}

/* =========================================================
   DESKTOP GRANDE · 1500px+
   Footer amplio y más protagonista
   ========================================================= */

@media (min-width: 1500px) {
	.dal-footer-final {
		width: 100vw !important;
		max-width: none !important;
		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
		padding: 0 clamp(52px, 3.5vw, 86px) 46px !important;
	}

	.dal-footer-inner {
		width: 100% !important;
		max-width: 1920px !important;
		margin: 0 auto !important;
	}

	.dal-footer-inner::before {
		max-width: 1800px !important;
		margin: 0 auto 46px !important;
	}

	/* Bloque superior */
	.dal-footer-top {
		width: 100% !important;
		max-width: 1800px !important;
		margin: 0 auto 48px !important;
		column-gap: clamp(150px, 11vw, 300px) !important;
	}

	.dal-footer-stack {
		gap: 30px !important;
	}

	.dal-footer-button {
		grid-template-columns: minmax(0, 1fr) 58px !important;
		column-gap: 26px !important;
	}

	.dal-footer-pill {
		min-height: 98px !important;
	}

	.dal-footer-pill img {
		max-width: 620px !important;
		max-height: 98px !important;
		width: auto !important;
		height: auto !important;
	}

	.dal-footer-toggle {
		width: 58px !important;
		height: 58px !important;
	}

	.dal-footer-chevron {
		width: 25px !important;
		height: 25px !important;
	}

	.dal-footer-panel {
		padding-top: 14px !important;
	}

	.dal-footer-links {
		max-width: 700px !important;
		gap: 12px !important;
	}

	.dal-footer-links a {
		font-size: 1.08rem !important;
		line-height: 1.28 !important;
	}

	/* Bloque medio: más grande, sin inflar el aire entre líneas */
	.dal-footer-middle {
		width: 100% !important;
		max-width: 1800px !important;
		margin: 10px auto 0 !important;
		padding: 28px 0 !important;

		grid-template-columns:
			minmax(340px, 0.95fr)
			minmax(320px, 0.95fr)
			minmax(320px, 0.95fr)
			minmax(440px, 1fr) !important;

		gap: clamp(70px, 5.5vw, 130px) !important;
		justify-content: stretch !important;
		align-items: center !important;
	}

	.dal-footer-brand-logo {
		width: 330px !important;
		height: 205px !important;
	}

	.dal-footer-brand-logo img {
		width: 100% !important;
		height: 100% !important;
		object-fit: contain !important;
	}

	.dal-footer-pages {
		gap: 7px !important;
	}

	.dal-footer-pages a {
		font-size: 1.65rem !important;
		line-height: 1.02 !important;
		font-weight: 700 !important;
		letter-spacing: -0.02em !important;
	}

	.dal-footer-mini-title {
		font-size: 1.65rem !important;
		line-height: 1 !important;
		margin: 0 0 12px 0 !important;
		font-weight: 700 !important;
		letter-spacing: -0.02em !important;
	}

	.dal-footer-social {
		gap: 20px !important;
	}

	.dal-footer-social a {
		width: 56px !important;
		height: 56px !important;
	}

	.dal-footer-social svg {
		width: 40px !important;
		height: 40px !important;
	}

	.dal-footer-social-user {
		margin-top: 8px !important;
		font-size: 1.24rem !important;
		line-height: 1 !important;
	}

	.dal-footer-contact {
		gap: 5px !important;
	}

	.dal-footer-contact-wrap .dal-footer-mini-title {
		margin-bottom: 9px !important;
	}

	.dal-footer-contact a,
	.dal-footer-contact .row {
		font-size: 1.22rem !important;
		line-height: 1.02 !important;
		gap: 0.56rem !important;
	}

	.dal-footer-contact .icon {
		width: 1.05em !important;
		height: 1.05em !important;
	}

	/* Legal */
	.dal-footer-legal {
		width: 100% !important;
		max-width: 1800px !important;
		margin: 0 auto !important;
		padding-top: 18px !important;
	}

	.dal-footer-legal-list {
		gap: 10px 48px !important;
	}

	.dal-footer-legal-list a {
		font-size: 1.16rem !important;
		line-height: 1.08 !important;
	}

	.dal-footer-final .has-text-align-center,
	.dal-footer-final p:last-child,
	.dal-footer-final .copyright,
	.dal-footer-final .dal-footer-copy,
	.dal-footer-final .dal-footer-copyright {
		font-size: 1rem !important;
		line-height: 1.1 !important;
	}
}

/* =========================================================
   TABLET · 768px a 1180px
   ========================================================= */

@media (max-width: 1180px) and (min-width: 768px) {
	.dal-footer-final {
		width: 100%;
		margin: 0 !important;
		padding: 0 26px 28px !important;
	}

	.dal-footer-inner {
		max-width: 100%;
	}

	.dal-footer-inner::before {
		width: 100%;
		max-width: 100%;
		margin: 0 auto 22px;
	}

	.dal-footer-top {
		width: 100%;
		max-width: 100%;
		column-gap: 40px;
	}

	.dal-footer-pill img {
		max-width: 280px;
		max-height: 54px;
	}

	.dal-footer-middle {
		width: 100%;
		max-width: 100%;
		grid-template-columns: 180px 1fr 1fr;
		gap: 24px;
		align-items: start;
	}

	.dal-footer-brand-logo {
		width: 145px;
		height: 145px;
	}

	.dal-footer-contact-wrap {
		grid-column: 2 / 4;
	}
}

/* =========================================================
   MÓVIL · hasta 767px
   ========================================================= */

@media (max-width: 767px) {
	.dal-footer-final {
		width: 100%;
		margin: 0 !important;
		padding: 0 0 24px !important;
	}

	.dal-footer-inner {
		max-width: none;
		width: 100%;
	}

	.dal-footer-inner::before {
		width: 100%;
		max-width: 100%;
		margin: 0 auto 12px;
	}

	.dal-footer-top {
		width: 100%;
		max-width: none;
		grid-template-columns: 1fr;
		gap: 0;
		margin-bottom: 10px;
	}

	.dal-footer-stack {
		gap: 0;
	}

	.dal-footer-item {
		padding: 0;
	}

	.dal-footer-button {
		min-height: 72px;
		padding: 0 20px;
		grid-template-columns: minmax(0, 1fr) 36px;
		column-gap: 10px;
	}

	.dal-footer-toggle {
		width: 36px;
		height: 36px;
	}

	.dal-footer-pill {
		justify-content: flex-start;
		min-height: 58px;
		overflow: visible;
	}

	.dal-footer-pill img {
		max-width: 260px;
		max-height: 52px;
		margin: 0;
	}

	.dal-footer-panel {
		padding: 0 20px 14px;
	}

	.dal-footer-item.is-open .dal-footer-panel {
		display: block;
	}

	.dal-footer-links {
		text-align: left;
		margin-left: 0;
		margin-right: 0;
		width: auto;
		max-width: 100%;
		justify-items: start;
		padding-left: 0;
		gap: 6px;
	}

	.dal-footer-links a {
		font-size: 0.82rem;
		line-height: 1.08;
	}

	.dal-footer-middle {
		width: 100%;
		max-width: none;
		padding: 18px 20px;
		margin-top: 8px;
		display: grid;
		grid-template-columns: minmax(128px, 150px) 1fr;
		grid-template-areas:
			"logo pages"
			"contact social";
		gap: 16px 22px;
		align-items: start;
		justify-content: stretch;
	}

	.dal-footer-brand-wrap {
		grid-area: logo;
		justify-content: flex-start;
		align-items: start;
	}

	.dal-footer-brand-logo {
		width: 118px;
		height: 118px;
	}

	.dal-footer-pages-wrap {
		grid-area: pages;
		display: flex;
		justify-content: flex-end;
		align-items: flex-start;
		text-align: right;
	}

	.dal-footer-pages {
		gap: 3px;
		justify-items: end;
		padding-top: 28px;
	}

	.dal-footer-pages li {
		line-height: 1;
		margin: 0;
		padding: 0;
	}

	.dal-footer-pages a {
		font-size: 0.9rem;
		line-height: 0.96;
		font-weight: 700;
		display: block;
	}

	.dal-footer-social-wrap {
		grid-area: social;
		text-align: right;
		justify-self: end;
		align-self: start;
	}

	.dal-footer-mini-title {
		margin: 0 0 8px 0;
		font-size: 0.9rem;
		line-height: 0.45;
	}

	.dal-footer-social-wrap .dal-footer-mini-title {
		text-align: right;
	}

	.dal-footer-social {
		justify-content: flex-end;
		gap: 10px;
	}

	.dal-footer-social a {
		width: 34px;
		height: 34px;
	}

	.dal-footer-social svg {
		width: 24px;
		height: 24px;
	}

	.dal-footer-social-user {
		margin-top: 6px;
		font-size: 0.78rem;
		line-height: 0.45;
		text-align: right;
	}

	.dal-footer-contact-wrap {
		grid-area: contact;
		text-align: left;
		justify-self: start;
		align-self: start;
		width: max-content;
		max-width: none;
	}

	.dal-footer-contact-wrap .dal-footer-mini-title {
		text-align: left;
		margin-bottom: 6px;
	}

	.dal-footer-contact {
		gap: 0;
		justify-items: start;
	}

	.dal-footer-contact li {
		margin: 0;
		padding: 0;
		line-height: 1;
	}

	.dal-footer-contact a,
	.dal-footer-contact .row {
		justify-content: flex-start;
		text-align: left;
		align-items: center;
		gap: 0.34rem;
		font-size: 0.7rem;
		line-height: 0.9;
		max-width: none;
		white-space: nowrap;
		overflow-wrap: normal;
		word-break: normal;
	}

	.dal-footer-contact a[href^="mailto:"] span:last-child,
	.dal-footer-contact a[href*="maps.google"] span:last-child {
		white-space: nowrap;
	}

	.dal-footer-contact .icon {
		margin-top: 0.02em;
	}

	.dal-footer-legal {
		padding: 18px 20px 0;
		max-width: none;
	}

	.dal-footer-legal-list {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px 18px;
		justify-content: center;
		align-items: start;
		max-width: 340px;
		margin: 0 auto;
	}

	.dal-footer-legal-list a {
		display: block;
		font-size: 0.84rem;
		line-height: 1.08;
		text-align: center;
	}
}