/* =====================================================================
   DN Menú Hamburguesa — los colores y medidas se controlan con variables
   CSS (--dnhm-*) que Elementor sobrescribe desde la pestaña Estilo.
   ===================================================================== */

/* ------------------------------ Base + preset por defecto (glass-dark) */
.dnhm {
	/* Botón */
	--dnhm-tg-c: #ffffff;
	--dnhm-tg-bg: rgba(255, 255, 255, 0.08);
	--dnhm-tg-bd: rgba(255, 255, 255, 0.22);
	--dnhm-tg-bdw: 1px;
	--dnhm-tg-c-h: #ffffff;
	--dnhm-tg-bg-h: rgba(255, 255, 255, 0.18);
	--dnhm-tg-bd-h: rgba(255, 255, 255, 0.42);
	--dnhm-tg-c-o: #ffffff;
	--dnhm-tg-bg-o: rgba(255, 255, 255, 0.16);
	--dnhm-tg-bd-o: rgba(255, 255, 255, 0.42);
	--dnhm-tg-size: 48px;
	--dnhm-tg-padx: 18px;
	--dnhm-tg-blur: 14px;
	--dnhm-tg-scale: 1.06;
	--dnhm-tg-shadow: none;
	--dnhm-icon-w: 22px;
	--dnhm-line-h: 2px;
	--dnhm-label-c: var(--dnhm-tg-c);

	/* Panel */
	--dnhm-panel-bg: linear-gradient(145deg, rgba(32, 36, 52, 0.74), rgba(10, 12, 20, 0.82));
	--dnhm-panel-bd: rgba(255, 255, 255, 0.14);
	--dnhm-panel-bdw: 1px;
	--dnhm-panel-r: 22px;
	--dnhm-panel-w: 340px;
	--dnhm-panel-pad: 14px;
	--dnhm-panel-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
	--dnhm-blur: 24px;
	--dnhm-gap: 14px;
	--dnhm-inset: 0px;
	--dnhm-z: 9999;
	--dnhm-backdrop: rgba(5, 6, 12, 0.4);
	--dnhm-backdrop-blur: 6px;

	/* Enlaces */
	--dnhm-link-c: rgba(255, 255, 255, 0.84);
	--dnhm-link-c-h: #ffffff;
	--dnhm-link-c-a: #ffffff;
	--dnhm-link-bg-h: rgba(255, 255, 255, 0.08);
	--dnhm-accent: #7dd3fc;
	--dnhm-line: rgba(255, 255, 255, 0.1);
	--dnhm-link-gap: 4px;
	--dnhm-link-pad: 13px 16px;
	--dnhm-link-r: 14px;
	--dnhm-sub-c: rgba(255, 255, 255, 0.62);
	--dnhm-sub-indent: 18px;
	--dnhm-arrow-c: var(--dnhm-link-c);
	--dnhm-badge-c: #06121a;
	--dnhm-badge-bg: var(--dnhm-accent);

	/* Cabecera, cerrar, extras */
	--dnhm-title-c: #ffffff;
	--dnhm-logo-w: 110px;
	--dnhm-close-c: #ffffff;
	--dnhm-close-bg: rgba(255, 255, 255, 0.1);
	--dnhm-close-size: 40px;
	--dnhm-cta-c: #0b0b0f;
	--dnhm-cta-bg: #ffffff;
	--dnhm-cta-c-h: #0b0b0f;
	--dnhm-cta-bg-h: #7dd3fc;
	--dnhm-cta-bd: transparent;
	--dnhm-cta-pad: 14px 24px;
	--dnhm-cta-r: 999px;
	--dnhm-soc-c: rgba(255, 255, 255, 0.7);
	--dnhm-soc-c-h: #ffffff;
	--dnhm-soc-size: 16px;
	--dnhm-foot-c: rgba(255, 255, 255, 0.5);

	/* Animación */
	--dnhm-dur: 0.45s;
	--dnhm-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--dnhm-stagger: 55ms;

	position: relative;
	display: inline-block;
	text-align: left;
	line-height: 1;
}

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

/* ------------------------------------------------------------ Presets */
.dnhm--p-glass-light {
	--dnhm-tg-c: #111827;
	--dnhm-tg-bg: rgba(255, 255, 255, 0.55);
	--dnhm-tg-bd: rgba(255, 255, 255, 0.85);
	--dnhm-tg-c-h: #000000;
	--dnhm-tg-bg-h: rgba(255, 255, 255, 0.9);
	--dnhm-tg-bd-h: #ffffff;
	--dnhm-tg-c-o: #000000;
	--dnhm-tg-bg-o: rgba(255, 255, 255, 0.9);
	--dnhm-tg-bd-o: #ffffff;
	--dnhm-tg-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
	--dnhm-panel-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.62));
	--dnhm-panel-bd: rgba(255, 255, 255, 0.9);
	--dnhm-panel-shadow: 0 30px 70px rgba(15, 23, 42, 0.18), inset 0 1px 0 #ffffff;
	--dnhm-link-c: #1f2937;
	--dnhm-link-c-h: #000000;
	--dnhm-link-c-a: #000000;
	--dnhm-link-bg-h: rgba(17, 24, 39, 0.06);
	--dnhm-accent: #6366f1;
	--dnhm-line: rgba(17, 24, 39, 0.09);
	--dnhm-sub-c: rgba(17, 24, 39, 0.6);
	--dnhm-badge-c: #ffffff;
	--dnhm-title-c: #111827;
	--dnhm-close-c: #111827;
	--dnhm-close-bg: rgba(17, 24, 39, 0.07);
	--dnhm-cta-c: #ffffff;
	--dnhm-cta-bg: #111827;
	--dnhm-cta-c-h: #ffffff;
	--dnhm-cta-bg-h: #6366f1;
	--dnhm-soc-c: rgba(17, 24, 39, 0.65);
	--dnhm-soc-c-h: #000000;
	--dnhm-foot-c: rgba(17, 24, 39, 0.5);
	--dnhm-backdrop: rgba(255, 255, 255, 0.35);
}

.dnhm--p-neon {
	--dnhm-tg-c: #00ffe1;
	--dnhm-tg-bg: rgba(5, 8, 20, 0.72);
	--dnhm-tg-bd: rgba(0, 255, 225, 0.6);
	--dnhm-tg-c-h: #ffffff;
	--dnhm-tg-bg-h: rgba(0, 255, 225, 0.16);
	--dnhm-tg-bd-h: #00ffe1;
	--dnhm-tg-c-o: #ff2bd6;
	--dnhm-tg-bg-o: rgba(255, 43, 214, 0.12);
	--dnhm-tg-bd-o: #ff2bd6;
	--dnhm-tg-shadow: 0 0 18px rgba(0, 255, 225, 0.35);
	--dnhm-panel-bg: linear-gradient(160deg, rgba(8, 10, 28, 0.9), rgba(4, 4, 14, 0.94));
	--dnhm-panel-bd: rgba(0, 255, 225, 0.4);
	--dnhm-panel-shadow: 0 0 0 1px rgba(0, 255, 225, 0.12), 0 0 40px rgba(0, 255, 225, 0.2), 0 0 90px rgba(255, 0, 200, 0.14);
	--dnhm-blur: 18px;
	--dnhm-link-c: #cdeff0;
	--dnhm-link-c-h: #ffffff;
	--dnhm-link-c-a: #00ffe1;
	--dnhm-link-bg-h: rgba(0, 255, 225, 0.08);
	--dnhm-accent: #00ffe1;
	--dnhm-line: rgba(0, 255, 225, 0.14);
	--dnhm-sub-c: rgba(205, 239, 240, 0.6);
	--dnhm-badge-c: #050510;
	--dnhm-badge-bg: #ff2bd6;
	--dnhm-close-c: #00ffe1;
	--dnhm-close-bg: rgba(0, 255, 225, 0.1);
	--dnhm-cta-c: #050510;
	--dnhm-cta-bg: linear-gradient(90deg, #00ffe1, #ff2bd6);
	--dnhm-cta-c-h: #050510;
	--dnhm-cta-bg-h: linear-gradient(90deg, #ff2bd6, #00ffe1);
	--dnhm-soc-c: rgba(0, 255, 225, 0.75);
	--dnhm-soc-c-h: #ffffff;
	--dnhm-foot-c: rgba(205, 239, 240, 0.5);
	--dnhm-backdrop: rgba(2, 3, 12, 0.55);
}

.dnhm--p-aurora {
	--dnhm-tg-bg: linear-gradient(135deg, rgba(99, 102, 241, 0.65), rgba(236, 72, 153, 0.55));
	--dnhm-tg-bd: rgba(255, 255, 255, 0.35);
	--dnhm-tg-bg-h: linear-gradient(135deg, rgba(129, 140, 248, 0.85), rgba(244, 114, 182, 0.75));
	--dnhm-tg-bg-o: linear-gradient(135deg, rgba(129, 140, 248, 0.85), rgba(244, 114, 182, 0.75));
	--dnhm-panel-bg: linear-gradient(135deg, rgba(79, 70, 229, 0.66), rgba(219, 39, 119, 0.5) 55%, rgba(14, 165, 233, 0.58));
	--dnhm-panel-bd: rgba(255, 255, 255, 0.28);
	--dnhm-panel-shadow: 0 30px 80px rgba(79, 70, 229, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
	--dnhm-blur: 28px;
	--dnhm-link-c: rgba(255, 255, 255, 0.92);
	--dnhm-link-bg-h: rgba(255, 255, 255, 0.14);
	--dnhm-accent: #ffffff;
	--dnhm-line: rgba(255, 255, 255, 0.16);
	--dnhm-badge-c: #4338ca;
	--dnhm-cta-c: #4338ca;
	--dnhm-cta-c-h: #ffffff;
	--dnhm-cta-bg-h: rgba(255, 255, 255, 0.22);
	--dnhm-cta-bd: rgba(255, 255, 255, 0.5);
	--dnhm-backdrop: rgba(20, 10, 50, 0.45);
}

.dnhm--p-luxury {
	--dnhm-tg-c: #c9a45c;
	--dnhm-tg-bg: rgba(0, 0, 0, 0.45);
	--dnhm-tg-bd: rgba(201, 164, 92, 0.5);
	--dnhm-tg-c-h: #e8c987;
	--dnhm-tg-bg-h: rgba(201, 164, 92, 0.14);
	--dnhm-tg-bd-h: #c9a45c;
	--dnhm-tg-c-o: #e8c987;
	--dnhm-tg-bg-o: rgba(201, 164, 92, 0.14);
	--dnhm-tg-bd-o: #c9a45c;
	--dnhm-panel-bg: linear-gradient(160deg, #141414, #050505);
	--dnhm-panel-bd: rgba(201, 164, 92, 0.38);
	--dnhm-panel-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(201, 164, 92, 0.18);
	--dnhm-blur: 0px;
	--dnhm-link-c: rgba(255, 255, 255, 0.86);
	--dnhm-link-c-h: #e8c987;
	--dnhm-link-c-a: #c9a45c;
	--dnhm-link-bg-h: rgba(201, 164, 92, 0.08);
	--dnhm-accent: #c9a45c;
	--dnhm-line: rgba(201, 164, 92, 0.18);
	--dnhm-badge-c: #111111;
	--dnhm-close-c: #c9a45c;
	--dnhm-close-bg: rgba(201, 164, 92, 0.12);
	--dnhm-cta-c: #111111;
	--dnhm-cta-bg: #c9a45c;
	--dnhm-cta-c-h: #111111;
	--dnhm-cta-bg-h: #e8c987;
	--dnhm-soc-c: rgba(201, 164, 92, 0.8);
	--dnhm-soc-c-h: #e8c987;
	--dnhm-backdrop: rgba(0, 0, 0, 0.55);
}

.dnhm--p-minimal-dark {
	--dnhm-tg-bg: transparent;
	--dnhm-tg-bd: rgba(255, 255, 255, 0.2);
	--dnhm-tg-blur: 0px;
	--dnhm-panel-bg: #0c0c0d;
	--dnhm-panel-bd: rgba(255, 255, 255, 0.08);
	--dnhm-panel-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
	--dnhm-blur: 0px;
	--dnhm-accent: #ffffff;
	--dnhm-badge-c: #0c0c0d;
	--dnhm-cta-bg-h: #d4d4d8;
}

.dnhm--p-minimal-light {
	--dnhm-tg-c: #111111;
	--dnhm-tg-bg: transparent;
	--dnhm-tg-bd: rgba(0, 0, 0, 0.14);
	--dnhm-tg-c-h: #000000;
	--dnhm-tg-bg-h: rgba(0, 0, 0, 0.05);
	--dnhm-tg-bd-h: rgba(0, 0, 0, 0.3);
	--dnhm-tg-c-o: #000000;
	--dnhm-tg-bg-o: rgba(0, 0, 0, 0.05);
	--dnhm-tg-bd-o: rgba(0, 0, 0, 0.3);
	--dnhm-tg-blur: 0px;
	--dnhm-panel-bg: #ffffff;
	--dnhm-panel-bd: rgba(0, 0, 0, 0.07);
	--dnhm-panel-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
	--dnhm-blur: 0px;
	--dnhm-link-c: #1a1a1a;
	--dnhm-link-c-h: #000000;
	--dnhm-link-c-a: #000000;
	--dnhm-link-bg-h: rgba(0, 0, 0, 0.05);
	--dnhm-accent: #111111;
	--dnhm-line: rgba(0, 0, 0, 0.08);
	--dnhm-sub-c: rgba(0, 0, 0, 0.6);
	--dnhm-badge-c: #ffffff;
	--dnhm-title-c: #111111;
	--dnhm-close-c: #111111;
	--dnhm-close-bg: rgba(0, 0, 0, 0.06);
	--dnhm-cta-c: #ffffff;
	--dnhm-cta-bg: #111111;
	--dnhm-cta-c-h: #ffffff;
	--dnhm-cta-bg-h: #333333;
	--dnhm-soc-c: rgba(0, 0, 0, 0.6);
	--dnhm-soc-c-h: #000000;
	--dnhm-foot-c: rgba(0, 0, 0, 0.5);
	--dnhm-backdrop: rgba(255, 255, 255, 0.5);
}

/* Detalles tipográficos propios de cada preset (se anulan con el control de tipografía) */
.dnhm--p-neon .dnhm__list > li > a {
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 14px;
}

.dnhm--p-luxury .dnhm__list > li > a {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	letter-spacing: 0.01em;
}

/* ------------------------------------------------------ Forma del botón */
.dnhm--shape-circle { --dnhm-tg-r: 50%; }
.dnhm--shape-rounded { --dnhm-tg-r: 16px; }
.dnhm--shape-pill { --dnhm-tg-r: 999px; }
.dnhm--shape-none {
	--dnhm-tg-r: 12px;
	--dnhm-tg-bg: transparent;
	--dnhm-tg-bg-h: transparent;
	--dnhm-tg-bg-o: transparent;
	--dnhm-tg-bdw: 0px;
	--dnhm-tg-blur: 0px;
	--dnhm-tg-shadow: none;
}

/* ------------------------------------------------- Botón hamburguesa */
.dnhm .dnhm__toggle,
.dnhm .dnhm__toggle:hover,
.dnhm .dnhm__toggle:focus,
.dnhm .dnhm__toggle:active {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: var(--dnhm-tg-size);
	height: var(--dnhm-tg-size);
	margin: 0;
	padding: 0;
	font: inherit;
	line-height: 1;
	text-transform: none;
	text-decoration: none;
	letter-spacing: normal;
	cursor: pointer;
	color: var(--dnhm-tg-c);
	background: var(--dnhm-tg-bg);
	border: var(--dnhm-tg-bdw) solid var(--dnhm-tg-bd);
	border-radius: var(--dnhm-tg-r, 50%);
	box-shadow: var(--dnhm-tg-shadow);
	-webkit-backdrop-filter: blur(var(--dnhm-tg-blur));
	backdrop-filter: blur(var(--dnhm-tg-blur));
	transition: transform var(--dnhm-dur) var(--dnhm-ease), background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
	-webkit-tap-highlight-color: transparent;
	position: relative;
	z-index: var(--dnhm-z);
}

.dnhm .dnhm__toggle:hover {
	color: var(--dnhm-tg-c-h);
	background: var(--dnhm-tg-bg-h);
	border-color: var(--dnhm-tg-bd-h);
	transform: scale(var(--dnhm-tg-scale));
}

.dnhm .dnhm__toggle:focus-visible {
	outline: 2px solid var(--dnhm-accent);
	outline-offset: 3px;
}

.dnhm.is-open .dnhm__toggle,
.dnhm.is-open .dnhm__toggle:hover {
	color: var(--dnhm-tg-c-o);
	background: var(--dnhm-tg-bg-o);
	border-color: var(--dnhm-tg-bd-o);
}

.dnhm--shape-pill .dnhm__toggle,
.dnhm--shape-pill .dnhm__toggle:hover,
.dnhm--shape-pill .dnhm__toggle:focus {
	padding: 0 var(--dnhm-tg-padx);
}

.dnhm--label-left .dnhm__toggle {
	flex-direction: row-reverse;
}

.dnhm .dnhm__toggle:has(.dnhm__label) {
	padding: 0 var(--dnhm-tg-padx);
}

/* Texto Menú / Cerrar */
.dnhm__label {
	display: inline-grid;
	color: var(--dnhm-label-c);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.dnhm__label > span {
	grid-area: 1 / 1;
	transition: opacity 0.3s ease, transform 0.35s var(--dnhm-ease);
}

.dnhm__label-c {
	opacity: 0;
	transform: translateY(8px);
}

.dnhm.is-open .dnhm__label-o {
	opacity: 0;
	transform: translateY(-8px);
}

.dnhm.is-open .dnhm__label-c {
	opacity: 1;
	transform: none;
}

/* ------------------------------------------------------------- Iconos */
.dnhm__icon {
	position: relative;
	display: block;
	flex: none;
	width: var(--dnhm-icon-w);
	height: calc(var(--dnhm-icon-w) * 0.68);
	color: inherit;
}

.dnhm__icon i {
	position: absolute;
	display: block;
	background: currentColor;
	border-radius: 99px;
	transition: top 0.35s var(--dnhm-ease), bottom 0.35s var(--dnhm-ease), width 0.35s var(--dnhm-ease), transform 0.35s var(--dnhm-ease), opacity 0.25s ease;
}

/* Tres líneas */
.dnhm__icon--lines3 i,
.dnhm__icon--lines2 i,
.dnhm__icon--stagger i {
	left: 0;
	right: 0;
	height: var(--dnhm-line-h);
}

.dnhm__icon--lines3 i:nth-child(1),
.dnhm__icon--lines2 i:nth-child(1),
.dnhm__icon--stagger i:nth-child(1) { top: 0; }

.dnhm__icon--lines3 i:nth-child(2),
.dnhm__icon--stagger i:nth-child(2) { top: calc(50% - var(--dnhm-line-h) / 2); }

.dnhm__icon--lines3 i:nth-child(3),
.dnhm__icon--stagger i:nth-child(3) { bottom: 0; }

.dnhm__icon--lines2 { height: calc(var(--dnhm-icon-w) * 0.4); }
.dnhm__icon--lines2 i:nth-child(2) { bottom: 0; }

/* Escalonadas: anchos distintos pegadas a la derecha */
.dnhm__icon--stagger i { left: auto; right: 0; }
.dnhm__icon--stagger i:nth-child(1) { width: 100%; }
.dnhm__icon--stagger i:nth-child(2) { width: 62%; }
.dnhm__icon--stagger i:nth-child(3) { width: 80%; }

/* Abierto: se convierten en X */
.dnhm.is-open .dnhm__icon--lines3 i:nth-child(1),
.dnhm.is-open .dnhm__icon--lines2 i:nth-child(1),
.dnhm.is-open .dnhm__icon--stagger i:nth-child(1) {
	top: calc(50% - var(--dnhm-line-h) / 2);
	width: 100%;
	transform: rotate(45deg);
}

.dnhm.is-open .dnhm__icon--lines3 i:nth-child(2),
.dnhm.is-open .dnhm__icon--stagger i:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.dnhm.is-open .dnhm__icon--lines3 i:nth-child(3),
.dnhm.is-open .dnhm__icon--stagger i:nth-child(3) {
	bottom: calc(50% - var(--dnhm-line-h) / 2);
	width: 100%;
	transform: rotate(-45deg);
}

.dnhm.is-open .dnhm__icon--lines2 i:nth-child(2) {
	bottom: calc(50% - var(--dnhm-line-h) / 2);
	transform: rotate(-45deg);
}

/* Puntos 3x3: al abrir quedan solo las diagonales formando una X */
.dnhm__icon--dots {
	width: calc(var(--dnhm-icon-w) * 0.82);
	height: calc(var(--dnhm-icon-w) * 0.82);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(3, 1fr);
	gap: calc(var(--dnhm-icon-w) * 0.1);
}

.dnhm__icon--dots i {
	position: static;
	width: 100%;
	height: 100%;
	border-radius: 50%;
}

.dnhm.is-open .dnhm__icon--dots i:nth-child(2),
.dnhm.is-open .dnhm__icon--dots i:nth-child(4),
.dnhm.is-open .dnhm__icon--dots i:nth-child(6),
.dnhm.is-open .dnhm__icon--dots i:nth-child(8) {
	opacity: 0;
	transform: scale(0);
}

.dnhm.is-open .dnhm__icon--dots i:nth-child(1),
.dnhm.is-open .dnhm__icon--dots i:nth-child(3),
.dnhm.is-open .dnhm__icon--dots i:nth-child(5),
.dnhm.is-open .dnhm__icon--dots i:nth-child(7),
.dnhm.is-open .dnhm__icon--dots i:nth-child(9) {
	transform: scale(1.18);
}

/* ------------------------------------------------------ Fondo oscuro */
.dnhm__backdrop {
	position: fixed;
	inset: 0;
	z-index: calc(var(--dnhm-z) - 1);
	background: var(--dnhm-backdrop);
	-webkit-backdrop-filter: blur(var(--dnhm-backdrop-blur));
	backdrop-filter: blur(var(--dnhm-backdrop-blur));
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity var(--dnhm-dur) ease, visibility 0s linear var(--dnhm-dur);
}

.dnhm--has-backdrop.is-open .dnhm__backdrop {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition-delay: 0s;
}

.dnhm--type-fullscreen .dnhm__backdrop {
	display: none;
}

.dnhm--type-dropdown .dnhm__backdrop {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.dnhm--type-dropdown.dnhm--has-backdrop.is-open .dnhm__backdrop {
	opacity: 0.55;
}

/* ----------------------------------------------------------- Panel base */
.dnhm__panel {
	position: absolute;
	z-index: var(--dnhm-z);
	display: flex;
	flex-direction: column;
	width: var(--dnhm-panel-w);
	max-width: calc(100vw - 24px);
	max-height: calc(100vh - 24px);
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: var(--dnhm-panel-pad);
	color: var(--dnhm-link-c);
	background: var(--dnhm-panel-bg);
	border: var(--dnhm-panel-bdw) solid var(--dnhm-panel-bd);
	border-radius: var(--dnhm-panel-r);
	box-shadow: var(--dnhm-panel-shadow);
	-webkit-backdrop-filter: blur(var(--dnhm-blur)) saturate(150%);
	backdrop-filter: blur(var(--dnhm-blur)) saturate(150%);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	text-align: left;
	line-height: 1.3;
	scrollbar-width: thin;
	transition: opacity var(--dnhm-dur) ease, transform var(--dnhm-dur) var(--dnhm-ease), visibility 0s linear var(--dnhm-dur);
}

.dnhm.is-open nav.dnhm__panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
	transition-delay: 0s;
}

/* ---- Tarjeta flotante (dropdown) ---- */
.dnhm--type-dropdown .dnhm__panel {
	top: calc(100% + var(--dnhm-gap));
	max-height: calc(100vh - 140px);
	transform: translateY(-12px) scale(0.95);
}

.dnhm--type-dropdown.dnhm--align-right .dnhm__panel {
	right: 0;
	transform-origin: top right;
}

.dnhm--type-dropdown.dnhm--align-left .dnhm__panel {
	left: 0;
	transform-origin: top left;
}

/* ---- Panel lateral (drawer) ---- */
.dnhm--floating { --dnhm-inset: 14px; }
.dnhm--type-drawer:not(.dnhm--floating) { --dnhm-panel-r: 0px; }

.dnhm--type-drawer .dnhm__panel {
	position: fixed;
	top: var(--dnhm-inset);
	bottom: var(--dnhm-inset);
	width: min(var(--dnhm-panel-w), calc(100vw - var(--dnhm-inset) * 2));
	max-width: none;
	max-height: none;
	padding: var(--dnhm-panel-pad);
}

.dnhm--type-drawer.dnhm--side-right .dnhm__panel {
	right: var(--dnhm-inset);
	transform: translateX(calc(100% + 40px));
}

.dnhm--type-drawer.dnhm--side-left .dnhm__panel {
	left: var(--dnhm-inset);
	transform: translateX(calc(-100% - 40px));
}

.admin-bar .dnhm--type-drawer .dnhm__panel {
	top: calc(var(--dnhm-inset) + 32px);
}

@media (max-width: 782px) {
	.admin-bar .dnhm--type-drawer .dnhm__panel {
		top: calc(var(--dnhm-inset) + 46px);
	}
}

/* ---- Pantalla completa ---- */
.dnhm--type-fullscreen .dnhm__panel {
	position: fixed;
	inset: 0;
	width: auto;
	max-width: none;
	max-height: none;
	justify-content: flex-start;
	align-items: center;
	border: 0;
	border-radius: 0;
	padding: 90px 24px 60px;
	text-align: center;
	transform: scale(1.04);
}

.dnhm--type-fullscreen .dnhm__panel > :first-child {
	margin-top: auto;
}

.dnhm--type-fullscreen .dnhm__panel > :last-child {
	margin-bottom: auto;
}

.dnhm--type-fullscreen .dnhm__panel > .dnhm__panel-head + * {
	margin-top: auto;
}

.dnhm--type-fullscreen .dnhm__list {
	width: min(560px, 100%);
}

/* El propio botón hamburguesa se queda encima y se convierte en X */
.dnhm--type-fullscreen .dnhm__toggle,
.dnhm--type-fullscreen .dnhm__toggle:hover {
	z-index: calc(var(--dnhm-z) + 1);
}

.dnhm--type-fullscreen .dnhm__close {
	display: none;
}

/* Panel lateral: el botón se oculta mientras el panel está abierto (tiene su propia X) */
.dnhm--type-drawer.is-open .dnhm__toggle {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.dnhm--type-fullscreen .dnhm__list > li > a {
	justify-content: center;
	font-size: clamp(26px, 5.5vw, 44px);
	font-weight: 500;
	padding: 12px 18px;
}

.dnhm--type-fullscreen .dnhm__panel-head {
	position: absolute;
	top: 22px;
	left: 24px;
	right: 24px;
	margin: 0;
}

.dnhm--type-fullscreen .dnhm__extra,
.dnhm--type-fullscreen .dnhm__social,
.dnhm--type-fullscreen .dnhm__foot {
	justify-content: center;
	text-align: center;
}

.dnhm--type-fullscreen .dnhm__extra {
	width: min(360px, 100%);
}

.admin-bar .dnhm--type-fullscreen .dnhm__panel {
	top: 32px;
}

/* ------------------------------------------------- Cabecera del panel */
.dnhm__panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin: 2px 2px 12px;
}

.dnhm--type-dropdown .dnhm__close,
.dnhm--type-dropdown .dnhm__panel-head--only-close {
	display: none;
}

.dnhm .dnhm__brand,
.dnhm .dnhm__brand:hover {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--dnhm-title-c);
}

.dnhm__logo {
	display: block;
	width: var(--dnhm-logo-w);
	max-width: 100%;
	height: auto;
}

.dnhm__title {
	color: var(--dnhm-title-c);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
}

.dnhm .dnhm__close,
.dnhm .dnhm__close:hover,
.dnhm .dnhm__close:focus {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: var(--dnhm-close-size);
	height: var(--dnhm-close-size);
	margin: 0 0 0 auto;
	padding: 0;
	color: var(--dnhm-close-c);
	background: var(--dnhm-close-bg);
	border: 0;
	border-radius: 50%;
	box-shadow: none;
	cursor: pointer;
	transition: transform 0.4s var(--dnhm-ease);
}

.dnhm .dnhm__close:hover {
	transform: rotate(90deg);
}

.dnhm .dnhm__close:focus-visible {
	outline: 2px solid var(--dnhm-accent);
	outline-offset: 2px;
}

/* ------------------------------------------------------------- Enlaces */
.dnhm .dnhm__list,
.dnhm .dnhm__list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dnhm .dnhm__list {
	display: flex;
	flex-direction: column;
	gap: var(--dnhm-link-gap);
	counter-reset: dnhm;
}

.dnhm .dnhm__list li {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
	background: none;
}

.dnhm .dnhm__list li::before,
.dnhm .dnhm__list li::marker {
	content: none;
}

.dnhm .dnhm__list > li {
	counter-increment: dnhm;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.5s ease, transform 0.55s var(--dnhm-ease);
	transition-delay: calc(var(--i, 0) * var(--dnhm-stagger) + 60ms);
}

.dnhm.is-open .dnhm__list > li {
	opacity: 1;
	transform: none;
}

.dnhm--no-stagger .dnhm__list > li {
	opacity: 1;
	transform: none;
	transition: none;
}

.dnhm .dnhm__list a,
.dnhm .dnhm__list a:visited {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: var(--dnhm-link-pad);
	color: var(--dnhm-link-c);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	border: 0;
	border-radius: var(--dnhm-link-r);
	background: transparent;
	transition: color 0.3s ease, background-color 0.3s ease, transform 0.4s var(--dnhm-ease), opacity 0.3s ease, text-shadow 0.3s ease;
}

.dnhm .dnhm__list a:hover,
.dnhm .dnhm__list a:focus-visible {
	color: var(--dnhm-link-c-h);
	text-decoration: none;
}

.dnhm .dnhm__list a:focus-visible {
	outline: 2px solid var(--dnhm-accent);
	outline-offset: -2px;
}

.dnhm .dnhm__list .current-menu-item > a,
.dnhm .dnhm__list .current-menu-ancestor > a,
.dnhm .dnhm__list .current_page_item > a {
	color: var(--dnhm-link-c-a);
}

/* Punto de acento junto al enlace activo */
.dnhm .dnhm__list > .current-menu-item > a::after,
.dnhm .dnhm__list > .current-menu-ancestor > a::after {
	content: "";
	width: 6px;
	height: 6px;
	margin-left: auto;
	border-radius: 50%;
	background: var(--dnhm-accent);
	box-shadow: 0 0 10px var(--dnhm-accent);
}

.dnhm__ico {
	display: inline-flex;
	flex: none;
	font-size: 1.05em;
	color: var(--dnhm-accent);
}

.dnhm__ico svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.dnhm__badge {
	margin-left: 4px;
	padding: 3px 8px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
	color: var(--dnhm-badge-c);
	background: var(--dnhm-badge-bg);
	border-radius: 99px;
}

/* Números 01, 02... */
.dnhm--numbers .dnhm__list > li > a::before {
	content: counter(dnhm, decimal-leading-zero);
	min-width: 1.9em;
	font-size: 0.62em;
	font-weight: 600;
	letter-spacing: 0.12em;
	color: var(--dnhm-accent);
	opacity: 0.8;
}

/* ---- Efectos al pasar el cursor ---- */
.dnhm--fx-slide .dnhm__list > li > a:hover,
.dnhm--fx-slide .dnhm__list > li > a:focus-visible {
	transform: translateX(8px);
}

.dnhm--fx-bg .dnhm__list a:hover,
.dnhm--fx-bg .dnhm__list a:focus-visible,
.dnhm--fx-slide .dnhm__list a:hover {
	background-color: var(--dnhm-link-bg-h);
}

.dnhm--fx-underline .dnhm__list > li > a .dnhm__txt {
	position: relative;
	padding-bottom: 3px;
	background: linear-gradient(var(--dnhm-accent), var(--dnhm-accent)) 0 100% / 0 2px no-repeat;
	transition: background-size 0.45s var(--dnhm-ease);
}

.dnhm--fx-underline .dnhm__list > li > a:hover .dnhm__txt,
.dnhm--fx-underline .dnhm__list > li > a:focus-visible .dnhm__txt {
	background-size: 100% 2px;
}

.dnhm--fx-glow .dnhm__list a:hover,
.dnhm--fx-glow .dnhm__list a:focus-visible {
	text-shadow: 0 0 14px var(--dnhm-accent), 0 0 28px var(--dnhm-accent);
}

.dnhm--fx-dim .dnhm__list:hover > li > a:not(:hover) {
	opacity: 0.4;
}

/* Líneas separadoras (se activan con el color de línea; por defecto sutiles en fullscreen) */
.dnhm--type-fullscreen .dnhm__list > li + li {
	border-top: 1px solid var(--dnhm-line);
}

/* ------------------------------------------------------------ Submenús */
.dnhm .dnhm__list .menu-item-has-children > a {
	padding-right: 52px;
}

.dnhm__sub-toggle,
.dnhm .dnhm__sub-toggle:hover,
.dnhm .dnhm__sub-toggle:focus {
	-webkit-appearance: none;
	appearance: none;
	position: absolute;
	top: 0;
	right: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	color: var(--dnhm-arrow-c);
	background: transparent;
	border: 0;
	border-radius: 50%;
	box-shadow: none;
	cursor: pointer;
}

.dnhm__sub-toggle svg {
	width: 14px;
	height: 14px;
	transition: transform 0.35s var(--dnhm-ease);
}

.dnhm .is-sub-open > .dnhm__sub-toggle svg {
	transform: rotate(180deg);
}

.dnhm .dnhm__list .sub-menu {
	max-height: 0;
	overflow: hidden;
	padding-left: var(--dnhm-sub-indent);
	transition: max-height 0.4s var(--dnhm-ease);
}

.dnhm .dnhm__list .sub-menu a {
	color: var(--dnhm-sub-c);
	font-size: 15px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.dnhm .dnhm__list .sub-menu a:hover,
.dnhm .dnhm__list .sub-menu .current-menu-item > a {
	color: var(--dnhm-link-c-h);
}

.dnhm .dnhm__list .sub-menu li {
	opacity: 1;
	transform: none;
}

/* --------------------------------------------------------------- Extras */
.dnhm__extra {
	display: flex;
	margin-top: 14px;
}

.dnhm .dnhm__cta,
.dnhm .dnhm__cta:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: var(--dnhm-cta-pad);
	color: var(--dnhm-cta-c);
	background: var(--dnhm-cta-bg);
	border: 1px solid var(--dnhm-cta-bd);
	border-radius: var(--dnhm-cta-r);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: color 0.3s ease, background 0.3s ease, transform 0.4s var(--dnhm-ease), box-shadow 0.3s ease;
}

.dnhm .dnhm__cta:hover,
.dnhm .dnhm__cta:focus-visible {
	color: var(--dnhm-cta-c-h);
	background: var(--dnhm-cta-bg-h);
	text-decoration: none;
	transform: translateY(-2px);
}

.dnhm--cta-full .dnhm__cta {
	width: 100%;
}

.dnhm__cta-ico {
	display: inline-flex;
	transition: transform 0.4s var(--dnhm-ease);
}

.dnhm .dnhm__cta:hover .dnhm__cta-ico {
	transform: translateX(4px);
}

.dnhm__social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.dnhm .dnhm__soc,
.dnhm .dnhm__soc:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: calc(var(--dnhm-soc-size) * 2.5);
	height: calc(var(--dnhm-soc-size) * 2.5);
	color: var(--dnhm-soc-c);
	font-size: var(--dnhm-soc-size);
	border: 1px solid var(--dnhm-line);
	border-radius: 50%;
	text-decoration: none;
	transition: color 0.3s ease, border-color 0.3s ease, transform 0.35s var(--dnhm-ease);
}

.dnhm .dnhm__soc svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.dnhm .dnhm__soc:hover,
.dnhm .dnhm__soc:focus-visible {
	color: var(--dnhm-soc-c-h);
	border-color: var(--dnhm-accent);
	transform: translateY(-3px);
}

.dnhm__foot {
	margin-top: 16px;
	padding: 0 4px;
	color: var(--dnhm-foot-c);
	font-size: 13px;
	line-height: 1.5;
}

/* Bloqueo de scroll del documento */
html.dnhm-lock {
	overflow: hidden !important;
}

/* ---------------------------------------------------------- Responsive */
@media (max-width: 480px) {
	.dnhm--type-dropdown .dnhm__panel {
		width: min(var(--dnhm-panel-w), calc(100vw - 24px));
	}

	.dnhm--type-fullscreen .dnhm__panel {
		padding: 84px 18px 40px;
	}
}

/* ------------------------------------------------ Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
	.dnhm,
	.dnhm * {
		transition-duration: 0.01s !important;
		transition-delay: 0s !important;
	}
}
