/**
 * Estilos CSS del Megamenú Altamira.
 * Enfoque Mobile-First, accesible, animado y personalizable mediante variables CSS y variables en línea.
 */

.alt-mm {
	/* Variables CSS por defecto */
	--navy: #16395c;
	--navy-2: #0f2d49;
	--red: var(--alt-mm-accent-color,#d40b3b);
	--blue: var(--alt-mm-primary-button-bg,#2f6cb0);
	--dark: var(--alt-mm-dark-button-bg,#333a44);
	--ink: #373737;
	--line: #e2e6ea;
	--white: #ffffff;
	--gray-bg: #f9f9f9;

	/* Variables en línea dinámicas de WordPress */
	--menu-txt: var(--alt-mm-menu-text-color, #e5e5e5);
	--menu-txt-hover: var(--alt-mm-menu-text-hover-color, var(--white));
	--submenu-txt: var(--alt-mm-submenu-text-color, var(--ink));
	--submenu-txt-hover: var(--alt-mm-submenu-text-hover-color, var(--navy));
	--topbar-txt: var(--alt-mm-topbar-text-color, #cdd6e0);
	--menu-resp-txt: var(--alt-mm-menu-responsive-text-color, #e5e5e5);
	--menu-resp-txt-hover: var(--alt-mm-menu-responsive-text-hover-color, var(--white));

	/* Fondos personalizables (barra superior, cabecera, megamenú y menú responsive) */
	--topbar-bg: var(--alt-mm-topbar-bg-color, var(--navy-2));
	--header-bg: var(--alt-mm-header-bg-color, var(--navy));
	--megamenu-bg: var(--alt-mm-megamenu-bg-color, var(--white));
	--responsive-bg: var(--alt-mm-responsive-bg-color, var(--navy-2));
	--responsive-panel-bg: var(--alt-mm-responsive-panel-bg-color, var(--responsive-bg));
	--responsive-topbar-txt: var(--alt-mm-responsive-topbar-text-color, var(--topbar-txt));
	--responsive-topbar-hover: var(--alt-mm-responsive-topbar-hover-color, var(--white));
	--responsive-topbar-border: var(--alt-mm-responsive-topbar-border-color, rgba(255, 255, 255, 0.1));
	--responsive-mega-title: var(--alt-mm-responsive-mega-title-color, var(--white));
	--responsive-mega-desc: var(--alt-mm-responsive-mega-desc-color, #a0aec0);
	--responsive-mega-accent: var(--alt-mm-responsive-mega-accent-color, var(--red));
	--responsive-mega-divider: var(--alt-mm-responsive-mega-divider-color, rgba(255, 255, 255, 0.08));
	--responsive-close: var(--alt-mm-responsive-close-color, var(--white));
	--responsive-close-hover: var(--alt-mm-responsive-close-hover-color, var(--white));

	font-family: "DM Sans", system-ui, -apple-system, sans-serif;
	position: relative;
	z-index: 9000;
	background: var(--header-bg);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
	width: 100%;
	box-sizing: border-box;
}

.alt-mm *,
.alt-mm *::before,
.alt-mm *::after {
	box-sizing: border-box;
}

.alt-mm a {
	text-decoration: none;
	transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.alt-mm__container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	width: 100%;
}

/* ==========================================================================
   BARRA SUPERIOR (MÓVIL POR DEFECTO)
   ========================================================================== */
.alt-mm__top {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	background: var(--topbar-bg);
}

.alt-mm__top .alt-mm__container {
	justify-content: space-between;
	min-height: 44px;
	flex-wrap: nowrap;
	padding-top: 5px;
	padding-bottom: 5px;
}

.alt-mm__contact {
	display: flex;
	align-items: center;
	gap: 12px;
}

.alt-mm__contact a {
	color: var(--topbar-txt);
	font-size: 13px;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.alt-mm__contact a:hover {
	color: var(--white);
}

.alt-mm__contact svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

.alt-mm__util {
	display: flex;
	align-items: center;
	gap: 10px;
}

.alt-mm__lang,
.alt-mm__search {
	background: none;
	border: 0;
	color: var(--topbar-txt);
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px;
}

.alt-mm__lang:hover,
.alt-mm__search:hover {
	color: var(--white);
}

.alt-mm__search svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

/* Redes sociales: iconos suministrados por el usuario en PNG o SVG. */
.alt-mm__socials {
	display: flex;
	align-items: center;
	gap: 8px;
}

.alt-mm__socials a {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	opacity: 0.88;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.alt-mm__socials a:hover,
.alt-mm__socials a:focus-visible {
	opacity: 1;
	transform: translateY(-1px);
}

.alt-mm__socials img {
	display: block;
	width: 18px;
	height: 18px;
	object-fit: contain;
}

/* Botones de acción generales */
.alt-btn {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 8px 12px;
	border-radius: var(--alt-mm-button-radius, 4px);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	line-height: 1;
	transition: all 0.2s ease;
	border: 1px solid transparent;
}

.alt-btn svg {
	width: 12px;
	height: 12px;
	fill: currentColor;
}

.alt-btn--primary {
	background: var(--alt-mm-button-bg, var(--blue));
	border-color: var(--alt-mm-button-border, transparent);
	color: var(--alt-mm-button-color, var(--alt-mm-default-button-text,#ffffff));
}

.alt-btn--primary:hover {
	background: var(--alt-mm-button-hover-bg, var(--alt-mm-primary-button-hover,#1c5290));
	border-color: var(--alt-mm-button-hover-border, var(--alt-mm-button-border, transparent));
	color: var(--alt-mm-button-hover-color, var(--alt-mm-button-color, var(--alt-mm-default-button-text,#ffffff)));
}

.alt-btn--dark {
	background: var(--alt-mm-button-bg, var(--dark));
	border-color: var(--alt-mm-button-border, transparent);
	color: var(--alt-mm-button-color, var(--alt-mm-default-button-text,#ffffff));
}

.alt-btn--dark:hover {
	background: var(--alt-mm-button-hover-bg, var(--alt-mm-dark-button-hover,#23282f));
	border-color: var(--alt-mm-button-hover-border, var(--alt-mm-button-border, transparent));
	color: var(--alt-mm-button-hover-color, var(--alt-mm-button-color, var(--alt-mm-default-button-text,#ffffff)));
}

.alt-btn--outline {
	background: var(--alt-mm-button-bg, transparent);
	color: var(--alt-mm-button-color, var(--alt-mm-outline-button-text,#ff5c7a));
	border-color: var(--alt-mm-button-border, var(--red));
}

.alt-btn--outline:hover {
	background: var(--alt-mm-button-hover-bg, var(--red));
	border-color: var(--alt-mm-button-hover-border, var(--alt-mm-button-border, var(--red)));
	color: var(--alt-mm-button-hover-color, var(--alt-mm-default-button-text,#ffffff));
}

/* Botón de acción con imagen */
.alt-btn--image {
	padding: 0;
	background: var(--alt-mm-button-bg, transparent);
	border-color: var(--alt-mm-button-border, transparent);
	border-radius: var(--alt-mm-button-radius, 4px);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.alt-btn--image:hover {
	background: var(--alt-mm-button-hover-bg, var(--alt-mm-button-bg, transparent));
	border-color: var(--alt-mm-button-hover-border, var(--alt-mm-button-border, transparent));
}

.alt-btn-img {
	max-height: 34px;
	width: auto;
	object-fit: contain;
	border-radius: inherit;
	transition: opacity 0.2s;
}

.alt-btn--image:hover .alt-btn-img {
	opacity: 0.85;
}

/* Ocultar botones e email en pantallas muy pequeñas */
@media (max-width: 576px) {
	.alt-mm__contact a:not(:first-child) {
		display: none;
	}
	.alt-mm__util .alt-btn {
		display: none;
	}
}

@media (max-width: 1024px) {
	.alt-mm__socials--top {
		display: none;
	}

	.alt-mm__top {
		border-bottom-color: var(--responsive-topbar-border);
	}
	.alt-mm__top .alt-mm__contact a,
	.alt-mm__top .alt-mm__lang,
	.alt-mm__top .alt-mm__search {
		color: var(--responsive-topbar-txt) !important;
	}
	.alt-mm__top .alt-mm__contact a:hover,
	.alt-mm__top .alt-mm__contact a:focus-visible,
	.alt-mm__top .alt-mm__lang:hover,
	.alt-mm__top .alt-mm__lang:focus-visible,
	.alt-mm__top .alt-mm__search:hover,
	.alt-mm__top .alt-mm__search:focus-visible {
		color: var(--responsive-topbar-hover) !important;
	}
}

/* ==========================================================================
   BARRA PRINCIPAL (MÓVIL POR DEFECTO)
   ========================================================================== */
.alt-mm__main .alt-mm__container {
	min-height: 64px;
	justify-content: space-between;
}

/* Logotipo */
.alt-mm__logo {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--white);
}

.alt-mm__logo-img {
	max-height: 48px;
	width: auto;
}

.alt-mm__logo-mark {
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	display: grid;
	place-items: center;
	border: 2px solid var(--red);
	border-radius: 50%;
	color: var(--red);
	font-size: 18px;
	font-weight: 700;
}

.alt-mm__logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.alt-mm__logo-text b {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.alt-mm__logo-text span {
	font-size: 12px;
	font-weight: 400;
	color: #cdd6e0;
}

.alt-mm__logo-text small {
	font-size: 9px;
	font-weight: 500;
	color: #8ea3b8;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin-top: 2px;
}

/* Burger Button */
.alt-mm__burger {
	background: none;
	border: 0;
	width: 40px;
	height: 40px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 5px;
	justify-content: center;
	align-items: center;
	padding: 0;
	margin-left: auto;
}

.alt-mm__burger span {
	width: 28px;
	height: 2px;
	background: var(--white);
	transition: transform 0.25s, opacity 0.25s;
}

/* Transformaciones del burguer al abrir */
.alt-mm.mobile-open .alt-mm__burger span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.alt-mm.mobile-open .alt-mm__burger span:nth-child(2) {
	opacity: 0;
}

.alt-mm.mobile-open .alt-mm__burger span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   NAVEGACIÓN MÓVIL DESPLEGABLE BAJO LA CABECERA
   ========================================================================== */
.alt-mm__nav {
	position: fixed;
	top: 108px;
	left: 0;
	right: 0;
	bottom: auto;
	width: 100%;
	max-height: calc(100vh - 108px);
	max-height: calc(100dvh - 108px);
	background: var(--responsive-bg);
	margin: 0;
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-8px);
	transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	padding: 0 0 40px;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
	display: block;
}

/* Identidad y contenido promocional exclusivos del panel responsive. */
.alt-mm__mobile-content {
	display: grid;
	gap: 16px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--responsive-mega-divider);
}

.alt-mm__socials--mobile {
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 20px;
	border-top: 1px solid var(--responsive-mega-divider);
}

.alt-mm__socials--mobile a {
	width: 34px;
	height: 34px;
	border: 1px solid var(--responsive-mega-divider);
}

.alt-mm__socials--mobile img {
	width: 21px;
	height: 21px;
}

.alt-mm__mobile-promo {
	display: block;
	overflow: hidden;
	border-radius: 8px;
}

.alt-mm__mobile-promo img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 190px;
	object-fit: cover;
}

.alt-mm__mobile-actions {
	display: grid;
	gap: 10px;
	padding: 20px;
	border-top: 1px solid var(--responsive-mega-divider);
}

.alt-mm__mobile-actions .alt-btn {
	width: 100%;
	min-height: 42px;
	justify-content: center;
}

.alt-mm__mobile-actions .alt-btn--image {
	min-height: 0;
}

.alt-mm.mobile-open .alt-mm__nav {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

/* El panel recibe el foco al abrirse para que teclado y lectores de pantalla
   entren en el menú. No debe dibujar contorno: no es un control. */
.alt-mm__nav:focus {
	outline: none;
}

.alt-mm__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.alt-mm__menu > li {
	border-bottom: 1px solid var(--responsive-mega-divider);
	position: relative;
}

.alt-mm__menu > li > a,
.alt-mm__menu > li > .alt-mm__trigger {
	color: var(--menu-resp-txt);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	background: none;
	border: 0;
	text-align: left;
	cursor: pointer;
	transition: color 0.2s, background-color 0.2s;
}

.alt-mm__menu > li > a:focus-visible,
.alt-mm__menu > li > .alt-mm__trigger:focus-visible {
	outline: 2px solid var(--red);
	outline-offset: -2px;
}

.alt-mm__menu > li.open > .alt-mm__trigger,
.alt-mm__menu > li > a:hover,
.alt-mm__menu > li > .alt-mm__trigger:hover {
	color: var(--menu-resp-txt-hover);
	background: rgba(255, 255, 255, 0.03);
}

/* Caret/Flecha */
.alt-mm__menu > li .caret {
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.25s ease;
	display: inline-block;
	margin-top: -4px;
}

.alt-mm__menu > li.open .caret {
	transform: rotate(225deg);
	margin-top: 2px;
}

/* ==========================================================================
   ACORDEÓN MÓVIL SMOOTH CON GRID (Mobile-First)
   ========================================================================== */
.alt-mm__panel {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
	background: var(--responsive-panel-bg);
	color: var(--menu-resp-txt);
	border-top: 1px solid var(--responsive-mega-divider);
	padding: 0;
}

.alt-mm__menu > li.open .alt-mm__panel {
	max-height: none;
	opacity: 1;
}

.alt-mm__panel-inner {
	display: flex;
	flex-direction: column;
	padding: 15px 20px 25px;
	gap: 15px;
}

.alt-mm__intro {
	width: 100%;
}

.alt-mm__intro h4 {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--responsive-mega-title);
}

.alt-mm__intro p {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--responsive-mega-desc);
}

.alt-mm__intro-link {
	color: var(--responsive-mega-accent);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.alt-mm__links {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--responsive-mega-divider);
	padding-top: 10px;
	width: 100%;
}

.alt-mm__links li {
	margin: 0;
}

.alt-mm__links a {
	display: block;
	padding: 8px 0;
	font-size: 13.5px;
	color: var(--menu-resp-txt);
	border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.alt-mm__links a:hover {
	color: var(--menu-resp-txt-hover);
	padding-left: 5px;
}

/* El banner de cada megamenú también queda disponible en responsive. */
.alt-mm__feature {
	display: flex;
	min-height: 150px;
	width: 100%;
	position: relative;
	align-items: flex-end;
	overflow: hidden;
	border-radius: 8px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-image: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.alt-mm__feature::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 45, 73, 0.05) 25%, rgba(15, 45, 73, 0.9));
}

.alt-mm__feature-cap {
	position: relative;
	z-index: 2;
	padding: 16px;
	color: var(--white);
}

.alt-mm__feature-cap span {
	display: block;
	margin-bottom: 4px;
	color: var(--responsive-mega-accent);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.alt-mm__feature-cap strong {
	display: block;
	font-size: 15px;
	line-height: 1.35;
}

/* Cerradura de scroll del body mientras el menú móvil está abierto.
   `overflow: hidden` por sí solo NO detiene el scroll en Safari iOS: la página
   sigue desplazándose por detrás del menú. Fijando el body y compensando su
   desplazamiento con `top` (lo calcula el JS) el bloqueo sí es efectivo. */
body.alt-mm-lock {
	position: fixed;
	left: 0;
	right: 0;
	width: 100%;
	overflow: hidden;
}

/* ==========================================================================
   DISEÑO DESKTOP (PANTALLAS > 1024px)
   ========================================================================== */
@media (min-width: 1025px) {
	.alt-mm {
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	}

	.alt-mm__top .alt-mm__container {
		justify-content: flex-end;
		gap: 20px;
		min-height: 48px;
	}

	.alt-mm__main .alt-mm__container {
		min-height: 80px;
		justify-content: flex-start;
		gap: 30px;
	}

	.alt-mm__logo-img {
		max-height: 56px;
	}

	.alt-mm__logo-mark {
		width: 44px;
		height: 44px;
		flex-basis: 44px;
		font-size: 20px;
	}

	.alt-mm__logo-text b {
		font-size: 17px;
	}

	.alt-mm__burger {
		display: none;
	}

	.alt-mm__mobile-content,
	.alt-mm__mobile-actions,
	.alt-mm__socials--mobile {
		display: none;
	}

	/* Barra principal de navegación */
	.alt-mm__nav {
		position: static;
		width: auto;
		max-height: none;
		background: transparent;
		box-shadow: none;
		padding: 0;
		margin-left: auto;
		overflow-y: visible;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
		transition: none;
	}

	.alt-mm__menu {
		flex-direction: row;
		align-items: center;
		gap: 6px;
	}

	.alt-mm__menu > li {
		border-bottom: 0;
		position: static;
	}

	.alt-mm__menu > li > a,
	.alt-mm__menu > li > .alt-mm__trigger {
		color: var(--menu-txt);
		font-size: 12px;
		font-weight: 700;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		padding: 30px 14px;
		display: inline-flex;
		align-items: center;
		gap: 6px;
		position: relative;
		background: none;
		border: 0;
		height: 100%;
	}

	/* Línea indicadora activa en hover */
	.alt-mm__menu > li > a::after,
	.alt-mm__menu > li > .alt-mm__trigger::after {
		content: "";
		position: absolute;
		left: 14px;
		right: 14px;
		bottom: 22px;
		height: 2px;
		background: var(--red);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 0.22s ease;
	}

	.alt-mm__menu > li:hover > a,
	.alt-mm__menu > li:hover > .alt-mm__trigger,
	.alt-mm__menu > li.open > .alt-mm__trigger {
		color: var(--menu-txt-hover);
		background: transparent;
	}

	.alt-mm__menu > li:hover > a::after,
	.alt-mm__menu > li:hover > .alt-mm__trigger::after,
	.alt-mm__menu > li.open > .alt-mm__trigger::after {
		transform: scaleX(1);
	}

	/* Caret animada */
	.alt-mm__menu > li .caret {
		margin-top: -3px;
	}

	.alt-mm__menu > li.open .caret {
		transform: rotate(225deg);
		margin-top: 3px;
	}

	/* ==========================================================================
	   PANEL MEGAMENÚ DESKTOP (ANULACIÓN DE ACORDEÓN)
	   ========================================================================== */
	.alt-mm__panel {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background-color: var(--megamenu-bg);
		background-image: none;
		color: var(--ink);
		box-shadow: 0 15px 35px rgba(15, 32, 55, 0.15);
		border-top: 1px solid #eef1f4;
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
		
		/* Reseteamos el acordeón de la animación móvil */
		display: block !important;
		max-height: none;
		overflow: visible;
	}

	/* Mostrar panel en hover y en foco */
		.alt-mm__menu > li.open .alt-mm__panel {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.alt-mm__panel-inner {
		flex-direction: row;
		padding: 38px 20px;
		gap: 40px;
		align-items: stretch;
		min-height: auto;
	}

	/* Intro Column (1) */
	.alt-mm__intro {
		flex: 0 0 25%;
		max-width: 260px;
	}

	.alt-mm__intro h4 {
		font-size: 20px;
		color: var(--navy);
		margin-bottom: 12px;
	}

	.alt-mm__intro p {
		font-size: 14px;
		color: #5a6b7b;
		line-height: 1.6;
		margin-bottom: 18px;
	}

	.alt-mm__intro-link:hover {
		color: var(--navy);
	}

	.alt-mm__intro-link:hover svg {
		transform: translateX(3px);
	}

	.alt-mm__intro-link svg {
		transition: transform 0.2s;
	}

	/* Links Column (2) */
	.alt-mm__links {
		flex: 1;
		border-top: 0;
		border-left: 1px solid var(--line);
		padding: 0 20px;
		margin: 0;
		display: block;
		column-gap: 20px;
		align-self: center;
	}

	.alt-mm__links.two-col {
		columns: 2;
	}

	.alt-mm__links li {
		break-inside: avoid;
	}

	.alt-mm__links a {
		padding: 10px 8px;
		font-size: 14px;
		color: var(--submenu-txt);
		border-bottom: 1px solid #f1f4f7;
		position: relative;
	}

	.alt-mm__links a::before {
		content: "";
		position: absolute;
		left: -8px;
		top: 0;
		bottom: 0;
		width: 2px;
		background: var(--red);
		transform: scaleY(0);
		transition: transform 0.18s ease;
	}

	.alt-mm__links a:hover {
		color: var(--submenu-txt-hover);
		padding-left: 12px;
	}

	.alt-mm__links a:hover::before {
		transform: scaleY(0.7);
	}

	/* Feature Banner Column (3) */
	.alt-mm__feature {
		display: flex;
		flex: 0 0 34%;
		max-width: 400px;
		border-radius: 6px;
		overflow: hidden;
		min-height: 200px;
		position: relative;
		align-items: flex-end;
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		/* Gradiente de fallback en caso de que no haya imagen */
		background-image: linear-gradient(135deg, var(--navy), var(--navy-2));
	}

	.alt-mm__feature::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(180deg, rgba(15, 45, 73, 0) 35%, rgba(15, 45, 73, 0.85));
		transition: opacity 0.3s;
	}

	.alt-mm__feature:hover::after {
		background: linear-gradient(180deg, rgba(15, 45, 73, 0.1) 35%, rgba(15, 45, 73, 0.95));
	}

	.alt-mm__feature-cap {
		position: relative;
		z-index: 2;
		color: var(--white);
		padding: 20px;
	}

	.alt-mm__feature-cap span {
		display: inline-block;
		font-size: 10px;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.1em;
		color: #ffb3c2;
		margin-bottom: 5px;
	}

	.alt-mm__feature-cap strong {
		display: block;
		font-size: 16px;
		font-weight: 700;
		line-height: 1.35;
	}
}

/* ==========================================================================
   MODAL DE BÚSQUEDA ACCESIBLE (HTML5 <dialog>)
   ========================================================================== */
.alt-mm-search-modal {
	border: none;
	border-radius: 8px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
	padding: 24px;
	max-width: 550px;
	width: 90%;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10000;
	background: var(--white);
	margin: 0;
}

.alt-mm-search-modal::backdrop {
	background: rgba(15, 45, 73, 0.8);
	backdrop-filter: blur(4px);
}

.alt-mm-search-modal__inner {
	position: relative;
	width: 100%;
}

.alt-mm-search-form {
	display: flex;
	align-items: center;
	border: 1px solid var(--line);
	border-radius: 4px;
	overflow: hidden;
	width: 100%;
}

.alt-mm-search-form label {
	flex: 1;
}

.alt-mm-search-field {
	border: 0;
	padding: 12px 16px;
	font-size: 15px;
	width: 100%;
	outline: none;
	color: var(--ink);
	background: var(--white);
}

.alt-mm-search-submit {
	background: var(--blue);
	border: 0;
	color: var(--white);
	padding: 12px 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.alt-mm-search-submit:hover {
	background: #1c5290;
}

.alt-mm-search-submit svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.alt-mm-search-close {
	position: absolute;
	right: -10px;
	top: -42px;
	background: none;
	border: 0;
	color: var(--white);
	font-size: 32px;
	cursor: pointer;
	line-height: 1;
}

.alt-mm-search-close:hover {
	color: var(--red);
}

/* Ocultar texto invisible del lector de pantalla */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* ==========================================================================
   FUNCIONALIDAD STICKY CON POSITION FIXED (ROBUSTA)
   ========================================================================== */

/* Sin animación de entrada. La cabecera se fija justo en el punto en el que
   saldría de pantalla, así que ya está en su sitio: animarla desde arriba
   la desplazaba hasta 111px durante 300 ms. En Safari iOS, que difiere el
   repintado de los elementos fijos durante el scroll por inercia, esa
   animación se congelaba a medias y dejaba la barra superior oculta y la
   barra principal recortada. El marcador de hueco ya hace la transición
   imperceptible sin necesidad de animar nada. */
.alt-mm.alt-mm--is-sticky {
	position: fixed !important;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 99999 !important;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);

	/* Safari iOS difiere el repintado de los elementos fijos mientras dura el
	   gesto de scroll y mientras se pliega la barra de direcciones: la cabecera
	   desaparece o se ve cortada hasta que el scroll se detiene. Promoverla a
	   una capa de composición propia hace que el compositor la mantenga
	   pintada. `will-change` crea bloque contenedor, neutralizado más abajo
	   cuando el menú móvil está abierto. */
	will-change: transform;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

/* Mientras el menú móvil está abierto, la cabecera no puede crear un bloque
   contenedor para elementos fijos (transform/filter/perspective lo provocan).
   Las declaraciones `!important` del autor prevalecen sobre las animaciones CSS,
   así que esto también neutraliza efectos aplicados por el tema o por Elementor. */
.alt-mm.mobile-open {
	animation: none !important;
	transform: none !important;
	filter: none !important;
	perspective: none !important;
	will-change: auto !important;
	backface-visibility: visible !important;
}

/* Marcador que conserva el hueco de la cabecera al pasar a `position: fixed`.
   La altura la calcula el JS; sin él la página salta hacia arriba de golpe. */
.alt-mm__placeholder {
	display: none;
}

.alt-mm__placeholder.is-active {
	display: block;
}

/* Caso A: Ambos Fijos (Top Bar + Megamenú) */
.alt-mm--sticky-both.alt-mm--is-sticky {
	top: 0;
}

/* Caso B: Solo Megamenú Fijo (Barra Superior se desliza fuera).
   `--alt-mm-topbar-h` la mide el JS en cada resize, de modo que funciona con
   cualquier contenido, tipografía o número de líneas de la barra superior. */
.alt-mm--sticky-menu-only.alt-mm--is-sticky {
	top: calc(var(--alt-mm-topbar-h, 0px) * -1);
}

/* Caso C: Solo Barra Superior Fija (Megamenú principal se oculta en scroll) */
.alt-mm--sticky-topbar-only.alt-mm--is-sticky {
	top: 0;
}

/* Ocultar el menú principal al hacer scroll si solo la topbar es sticky.
   Solo en escritorio: en móvil la barra principal contiene el botón
   hamburguesa, único acceso a la navegación, y colapsarla dejaría al usuario
   sin menú durante todo el scroll. */
@media (min-width: 1025px) {
	.alt-mm--sticky-topbar-only.alt-mm--is-sticky .alt-mm__main {
		max-height: 0 !important;
		min-height: 0 !important;
		overflow: hidden !important;
		opacity: 0 !important;
		padding: 0 !important;
		border: 0 !important;
	}

	/* Transición suave para colapsar barra principal en caso C */
	.alt-mm--sticky-topbar-only .alt-mm__main {
		transition: max-height 0.3s ease, opacity 0.25s ease;
		max-height: 100px;
		opacity: 1;
	}
}

/* 1.5.5: only JS state controls disclosure. Hidden panels cannot receive focus. */
.alt-mm .alt-mm__panel[hidden],.alt-mm .alt-mm__nav[hidden]{display:none!important}
.alt-mm__sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.alt-mm__new-tab{font-size:.75em;line-height:1;display:inline-block;margin-left:.25em;flex:0 0 auto}
.alt-mm__entry{display:flex;align-items:center;width:100%;color:var(--menu-resp-txt)}
.alt-mm__entry-link{flex:1;min-width:0;color:inherit;padding:16px 20px;font:inherit;text-decoration:none}
.alt-mm__entry .alt-mm__trigger{display:flex;align-items:center;justify-content:center;flex:0 0 44px;min-height:44px;border:0;background:transparent;color:inherit;padding:12px;cursor:pointer}
.alt-mm__intro p{margin-top:0}.alt-mm__intro>p:empty{display:none}
.alt-mm--sticky-both.alt-mm--is-sticky,.alt-mm--sticky-topbar-only.alt-mm--is-sticky{top:var(--alt-mm-adminbar-h,0px)}
.alt-mm--sticky-menu-only.alt-mm--is-sticky{top:calc(var(--alt-mm-adminbar-h,0px) - var(--alt-mm-topbar-h,0px))}
.alt-mm :is(a,button,input):focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(min-width:1025px){
.alt-mm__entry{width:auto;color:var(--menu-txt)}
.alt-mm__entry-link{padding:0;font-size:inherit;font-weight:600;white-space:nowrap}
.alt-mm__entry .alt-mm__trigger{padding:8px;min-width:28px;flex-basis:28px}
.alt-mm__menu>li.open .alt-mm__panel{max-height:calc(100dvh - 90px);overflow-y:auto;overscroll-behavior:contain}
}
@media(prefers-reduced-motion:reduce){.alt-mm *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.alt-mm__description{font-size:14px;line-height:1.7;color:inherit}.alt-mm__description p{font:inherit;color:inherit;margin:0 0 1em}.alt-mm__description p:last-child{margin-bottom:0}

.alt-mm__socials a{position:relative;color:inherit}
.alt-mm__socials .alt-mm__new-tab{position:absolute;right:-2px;top:-2px;font-size:9px;margin:0}
.alt-mm__description{font-size:13px;line-height:1.5;color:var(--responsive-mega-desc);margin:0 0 12px}
@media(min-width:1025px){.alt-mm__description{font-size:14px;line-height:1.6;color:#5a6b7b;margin-bottom:18px}}

/* 1.5.6: constrained controls; all dimensions are sanitized server-side. */
.alt-mm .alt-mm__container{max-width:var(--alt-mm-header-max-width,1240px);padding-left:var(--alt-mm-header-side-padding,20px);padding-right:var(--alt-mm-header-side-padding,20px)}
.alt-mm .alt-mm__main>.alt-mm__container{height:auto;min-height:var(--alt-mm-main-min-height-mobile,64px);padding-top:var(--alt-mm-main-padding-mobile,8px);padding-bottom:var(--alt-mm-main-padding-mobile,8px);gap:var(--alt-mm-main-gap,30px)}
.alt-mm .alt-mm__logo{flex:0 1 auto;min-width:0;max-width:calc(100% - 60px);color:var(--alt-mm-logo-title-color,#fff)}
.alt-mm .alt-mm__logo-img{display:block;height:var(--alt-mm-logo-height-mobile,48px);max-height:none;max-width:min(100%,var(--alt-mm-logo-max-width-mobile,230px));width:auto;object-fit:contain;object-position:left center}
.alt-mm .alt-mm__logo-text b{color:var(--alt-mm-logo-title-color,#fff)}
.alt-mm .alt-mm__logo-text span{color:var(--alt-mm-logo-subtitle-color,#cdd6e0)}
.alt-mm .alt-mm__logo-text small{color:var(--alt-mm-logo-tagline-color,#8ea3b8)}
.alt-mm .alt-mm__logo-mark{color:var(--alt-mm-logo-mark-color,#d40b3b);border-color:var(--alt-mm-logo-mark-color,#d40b3b)}
.alt-mm .alt-mm__logo-text{overflow-wrap:anywhere;min-width:0}
.alt-mm .alt-mm__top{border-bottom-color:var(--alt-mm-topbar-border-color,rgba(255,255,255,.1))}
.alt-mm .alt-mm__top>.alt-mm__container{height:auto;min-height:var(--alt-mm-topbar-min-height,48px);padding-top:var(--alt-mm-topbar-padding-y,5px);padding-bottom:var(--alt-mm-topbar-padding-y,5px);flex-wrap:wrap;row-gap:var(--alt-mm-topbar-row-gap,8px)}
.alt-mm .alt-mm__contact,.alt-mm .alt-mm__util{flex-wrap:wrap;min-width:0;gap:var(--alt-mm-topbar-gap,10px)}
.alt-mm .alt-mm__top-contact{color:var(--topbar-txt);display:inline-flex;gap:6px;align-items:center;max-width:100%;min-width:0;font-size:var(--alt-mm-topbar-font-size,13px);font-weight:500;line-height:1.5}
.alt-mm .alt-mm__contact a{font-size:var(--alt-mm-topbar-font-size,13px);min-width:0;overflow-wrap:anywhere}
.alt-mm .alt-mm__top-contact span{overflow-wrap:anywhere;min-width:0}
.alt-mm .alt-mm__top-contact svg,.alt-mm .alt-mm__contact svg{width:var(--alt-mm-topbar-icon-size,14px);height:var(--alt-mm-topbar-icon-size,14px);flex-shrink:0;fill:currentColor;color:var(--alt-mm-topbar-icon-color,#cdd6e0)}
.alt-mm .alt-mm__contact a:hover,.alt-mm .alt-mm__contact a:focus-visible,.alt-mm .alt-mm__top-contact:hover,.alt-mm .alt-mm__top-contact:focus-visible,.alt-mm .alt-mm__lang:hover,.alt-mm .alt-mm__search:hover{color:var(--alt-mm-topbar-hover-color,#fff)}
.alt-mm .alt-mm__socials a{width:max(var(--alt-mm-social-target-size,28px),var(--alt-mm-social-icon-size,18px));height:max(var(--alt-mm-social-target-size,28px),var(--alt-mm-social-icon-size,18px));background:var(--alt-mm-social-bg-color,transparent)}
.alt-mm .alt-mm__socials img{width:var(--alt-mm-social-icon-size,18px);height:var(--alt-mm-social-icon-size,18px)}
.alt-mm .alt-mm__socials a:hover,.alt-mm .alt-mm__socials a:focus-visible{background:var(--alt-mm-social-hover-bg-color,rgba(255,255,255,.12))}
.alt-mm .alt-btn{max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;padding:var(--alt-mm-btn-padding-y,8px) var(--alt-mm-btn-padding-x,12px);gap:var(--alt-mm-btn-content-gap,6px);font-size:var(--alt-mm-btn-font-size,11px);line-height:1.25}
.alt-mm .alt-btn span{min-width:0}
.alt-mm .alt-btn-img{height:var(--alt-mm-btn-image-height,34px);max-height:none;max-width:min(100%,var(--alt-mm-btn-image-max-width,180px));width:auto;object-fit:contain;flex:0 1 auto;display:block}
.alt-mm .alt-btn--image-after .alt-btn-img{order:2}
.alt-mm .alt-btn--image-text .alt-btn-img{max-width:min(55%,var(--alt-mm-btn-image-max-width,180px))}
.alt-mm .alt-btn--image{padding:var(--alt-mm-btn-padding-y,0) var(--alt-mm-btn-padding-x,0)}
.alt-mm .alt-mm__top-layout{display:flex;align-items:center;justify-content:space-between;column-gap:var(--alt-mm-topbar-gap,10px)}
.alt-mm .alt-mm__zone{display:flex;flex:1 1 auto;flex-wrap:wrap;align-items:center;gap:var(--alt-mm-topbar-row-gap,8px) var(--alt-mm-topbar-gap,10px);min-width:0;max-width:100%}
.alt-mm .alt-mm__zone--left{justify-content:flex-start}.alt-mm .alt-mm__zone--center{justify-content:center}.alt-mm .alt-mm__zone--right{justify-content:flex-end}
.alt-mm .alt-mm__slot{display:flex;min-width:0;max-width:100%;align-items:center;margin-inline-start:var(--alt-mm-slot-gap,0)}
.alt-mm .alt-mm__slot .alt-mm__socials{display:flex}
.alt-mm .alt-mm__slot .alt-btn{display:inline-flex}
.alt-mm .alt-mm__feature{background:var(--alt-mm-feature-bg-color,#16395c)}
.alt-mm .alt-mm__feature-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.alt-mm .alt-mm__feature::after{background:linear-gradient(180deg,transparent 25%,var(--alt-mm-feature-overlay-color,rgba(15,45,73,.85)))}
.alt-mm .alt-mm__feature:hover::after{background:linear-gradient(180deg,transparent 25%,var(--alt-mm-feature-overlay-hover-color,rgba(15,45,73,.95)))}
.alt-mm .alt-mm__feature-cap{color:var(--alt-mm-feature-text-color,#fff)}
.alt-mm .alt-mm__feature-cap span{color:var(--alt-mm-feature-badge-color,#ffb3c2)}
.alt-mm .alt-mm__menu>li.open>.alt-mm__trigger,.alt-mm .alt-mm__menu>li>a:hover,.alt-mm .alt-mm__menu>li>.alt-mm__trigger:hover{background:var(--alt-mm-mobile-item-hover-bg,rgba(255,255,255,.03))}
.alt-mm .alt-mm__links a{border-bottom-color:var(--alt-mm-mobile-sublink-border-color,rgba(255,255,255,.03))}
.alt-mm .alt-mm__links a:hover,.alt-mm .alt-mm__links a:focus-visible{background:var(--alt-mm-sublink-hover-bg-color,transparent)}
.alt-mm .alt-mm__description{color:var(--responsive-mega-desc)}
.alt-mm :is(a,button,input):focus-visible{outline:2px solid var(--alt-mm-focus-color,#d40b3b);outline-offset:2px}
.alt-mm .alt-mm__menu>li>:is(a,.alt-mm__trigger):focus-visible{outline-offset:-2px}
.alt-mm.alt-mm--is-sticky,.alt-mm{box-shadow:0 4px 20px var(--alt-mm-header-shadow-color,rgba(0,0,0,.15))}
.alt-mm .alt-mm__nav{box-shadow:0 14px 30px var(--alt-mm-panel-shadow-color,rgba(15,32,55,.15))}
.alt-mm .alt-mm-search-modal,.alt-mm .alt-mm-search-field{background:var(--alt-mm-search-bg-color,#fff);color:var(--alt-mm-search-text-color,#373737)}
.alt-mm .alt-mm-search-form{border-color:var(--alt-mm-search-border-color,#e2e6ea)}
.alt-mm .alt-mm-search-field::placeholder{color:var(--alt-mm-search-text-color,#373737);opacity:.65}
.alt-mm .alt-mm-search-submit{background:var(--alt-mm-search-button-color,#2f6cb0);color:var(--alt-mm-search-button-text-color,#fff)}
.alt-mm .alt-mm-search-submit:hover{background:var(--alt-mm-search-button-hover-color,#1c5290)}
.alt-mm .alt-mm-search-close{color:var(--alt-mm-search-close-color,#fff)}
.alt-mm .alt-mm-search-close:hover{color:var(--alt-mm-search-close-hover-color,#d40b3b)}
.alt-mm .alt-mm-search-modal::backdrop{background:var(--alt-mm-search-backdrop-color,rgba(15,45,73,.8))}
/* 1.5.8: isolate visibility rules per viewport. A mobile-only hidden zone
   must never suppress its desktop/tablet slots through selector specificity. */
@media(max-width:767px){
 .alt-mm .alt-mm__slot[data-mobile="0"]{display:none}
 .alt-mm .alt-mm__zone:not(:has(.alt-mm__slot:not([data-mobile="0"]))){display:none}
}
@media(min-width:768px) and (max-width:1024px){
 .alt-mm .alt-mm__logo-img{height:var(--alt-mm-logo-height-tablet,48px);max-width:min(100%,var(--alt-mm-logo-max-width-tablet,280px))}
 .alt-mm .alt-mm__main>.alt-mm__container{padding-top:var(--alt-mm-main-padding-tablet,8px);padding-bottom:var(--alt-mm-main-padding-tablet,8px)}
 .alt-mm .alt-mm__slot[data-tablet="0"]{display:none}
 .alt-mm .alt-mm__zone:not(:has(.alt-mm__slot:not([data-tablet="0"]))){display:none}
}
@media(max-width:1024px){
 .alt-mm .alt-mm__top{border-bottom-color:var(--responsive-topbar-border)}
 .alt-mm .alt-mm__top-contact{color:var(--responsive-topbar-txt)}
 .alt-mm .alt-mm__top-contact:hover,.alt-mm .alt-mm__top-contact:focus-visible{color:var(--responsive-topbar-hover)}
 .alt-mm .alt-mm__slot{margin-inline-start:min(var(--alt-mm-slot-gap,0px),24px)}
 .alt-mm .alt-mm__slot .alt-mm__socials a{min-width:36px;min-height:36px}
 .alt-mm .alt-mm__slot .alt-btn{min-height:36px}
}
@media(min-width:1025px){
 .alt-mm .alt-mm__main>.alt-mm__container{min-height:var(--alt-mm-main-min-height-desktop,80px);padding-top:var(--alt-mm-main-padding-desktop,0);padding-bottom:var(--alt-mm-main-padding-desktop,0);flex-wrap:wrap;row-gap:8px}
 .alt-mm .alt-mm__logo{max-width:100%;flex:0 1 auto}
 .alt-mm .alt-mm__logo-img{height:var(--alt-mm-logo-height-desktop,56px);max-width:min(100%,var(--alt-mm-logo-max-width-desktop,320px))}
 .alt-mm .alt-mm__nav{max-width:100%;min-width:0;box-shadow:none}
 .alt-mm .alt-mm__menu{flex-wrap:wrap;gap:var(--alt-mm-menu-gap,6px)}
 .alt-mm .alt-mm__menu>li>:is(a,.alt-mm__trigger),.alt-mm .alt-mm__entry-link{height:auto;padding:var(--alt-mm-menu-padding-y,30px) var(--alt-mm-menu-padding-x,14px)}
 .alt-mm .alt-mm__menu>li{max-width:100%;min-width:0}
 .alt-mm .alt-mm__menu>li>:is(a,.alt-mm__trigger),.alt-mm .alt-mm__entry-link{white-space:normal;overflow-wrap:anywhere}
 .alt-mm .alt-mm__menu>li>:is(a,.alt-mm__trigger)::after,.alt-mm .alt-mm__entry-link::after{content:"";position:absolute;left:var(--alt-mm-menu-padding-x,14px);right:var(--alt-mm-menu-padding-x,14px);bottom:var(--alt-mm-underline-bottom,22px);height:var(--alt-mm-underline-height,2px);background:var(--alt-mm-underline-color,#d40b3b);transform:scaleX(0);transform-origin:var(--alt-mm-underline-origin,left);transition:transform var(--alt-mm-underline-duration,220ms) ease}
 .alt-mm .alt-mm__entry-link{position:relative}
 .alt-mm .alt-mm__menu>li:hover>:is(a,.alt-mm__trigger)::after,.alt-mm .alt-mm__menu>li.open>.alt-mm__trigger::after,.alt-mm .alt-mm__entry:hover .alt-mm__entry-link::after,.alt-mm .alt-mm__menu>li.open .alt-mm__entry-link::after,.alt-mm .alt-mm__menu>li>:is(a,.alt-mm__trigger):focus-visible::after{transform:scaleX(1)}
 .alt-mm .alt-mm__menu>li:hover>:is(a,.alt-mm__trigger),.alt-mm .alt-mm__menu>li.open>.alt-mm__trigger,.alt-mm .alt-mm__entry:hover{background:var(--alt-mm-menu-item-hover-bg,transparent)}
 .alt-mm .alt-mm__panel{border-top-color:var(--alt-mm-panel-border-color,#eef1f4);box-shadow:0 15px 35px var(--alt-mm-panel-shadow-color,rgba(15,32,55,.15))}
 .alt-mm .alt-mm__intro h4{color:var(--alt-mm-panel-title-color,#16395c)}
 .alt-mm .alt-mm__intro p,.alt-mm .alt-mm__description{color:var(--alt-mm-panel-desc-color,#5a6b7b)}
 .alt-mm .alt-mm__intro-link{color:var(--alt-mm-panel-link-color,#d40b3b)}
 .alt-mm .alt-mm__intro-link:hover,.alt-mm .alt-mm__intro-link:focus-visible{color:var(--alt-mm-panel-link-hover-color,#16395c)}
 .alt-mm .alt-mm__links{border-left-color:var(--alt-mm-panel-divider-color,#e2e6ea)}
 .alt-mm .alt-mm__links a{border-bottom-color:var(--alt-mm-sublink-border-color,#f1f4f7)}
 .alt-mm .alt-mm__links a::before{background:var(--alt-mm-sublink-indicator-color,#d40b3b)}
 .alt-mm .alt-mm__slot[data-desktop="0"]{display:none}
 .alt-mm .alt-mm__zone:not(:has(.alt-mm__slot:not([data-desktop="0"]))){display:none}
}
@media(prefers-reduced-motion:reduce){.alt-mm .alt-mm__menu>li>:is(a,.alt-mm__trigger)::after,.alt-mm .alt-mm__entry-link::after{transition:none}}

/* A tall logo must not be clipped before topbar-only sticky is activated. */
@media(min-width:1025px){
.alt-mm.alt-mm--sticky-topbar-only:not(.alt-mm--is-sticky) .alt-mm__main{max-height:none}
.alt-mm .alt-mm__menu>li.open .alt-mm__panel{max-height:var(--alt-mm-panel-available,calc(100dvh - 90px))}
}
