/* ================================================================
 * HEADER ARKANA — glass header + trigger contextual + drawer lateral
 * ================================================================ */
/* Reset fuerte del contenedor <header> para neutralizar estilos globales del tema activo.
 * Sin este reset, algunos temas aplican un fondo negro al elemento header completo,
 * aunque el panel interior sea glass y el fondo cósmico exista detrás. */
.arkana-managed-page .arkana-header {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: none !important;
	border: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
}

.arkana-managed-page .arkana-header::before,
.arkana-managed-page .arkana-header::after {
	content: none !important;
	display: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

.arkana-header {
	position: fixed;
	top: 1rem;
	left: 0;
	right: 0;
	z-index: 1200;
	pointer-events: none;
	transform: translate3d(0, 0, 0);
	opacity: 1;
	transition:
		transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
		opacity 240ms ease;
}

.admin-bar .arkana-header {
	top: calc(32px + 1rem);
}

.arkana-header.is-hidden {
	transform: translate3d(0, calc(-100% - 2.5rem), 0);
	opacity: 0;
}

.arkana-header__inner {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	min-height: 4.15rem;
	gap: clamp(0.85rem, 2vw, 1.4rem);
	padding: 0.52rem 0.7rem 0.52rem 1rem;
	border: 1px solid rgba(219, 225, 255, 0.24);
	border-radius: 1.55rem;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(163, 126, 255, 0.055) 44%, rgba(69, 111, 255, 0.07) 100%),
		rgba(4, 6, 18, 0.32);
	box-shadow:
		0 1.15rem 3.6rem rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.18),
		inset 0 -1px 0 rgba(112, 85, 255, 0.07),
		0 0 0 1px rgba(109, 79, 255, 0.025),
		0 0 3.8rem rgba(91, 54, 255, 0.09);
	backdrop-filter: blur(30px) saturate(165%) contrast(104%);
	-webkit-backdrop-filter: blur(30px) saturate(165%) contrast(104%);
	pointer-events: auto;
	overflow: hidden;
}

.arkana-header__inner::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background:
		linear-gradient(112deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.035) 18%, transparent 42%),
		radial-gradient(circle at 7% 0%, rgba(92, 214, 255, 0.13), transparent 26%),
		radial-gradient(circle at 94% 110%, rgba(136, 70, 255, 0.12), transparent 31%);
	mix-blend-mode: screen;
	opacity: 0.78;
	pointer-events: none;
}

.arkana-header__inner::after {
	content: "";
	position: absolute;
	inset: 1px;
	border-radius: calc(1.55rem - 1px);
	border: 1px solid rgba(255, 255, 255, 0.045);
	box-shadow: inset 0 0 1.8rem rgba(103, 78, 255, 0.035);
	pointer-events: none;
}

.arkana-header__inner > * {
	position: relative;
	z-index: 1;
}

.arkana-header-spacer {
	height: 0;
	background: transparent;
	pointer-events: none;
}

.arkana-brand {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.72rem;
	color: var(--arkana-color-text);
	font-family: var(--arkana-font-display);
	font-weight: 820;
	letter-spacing: 0.09em;
	text-decoration: none;
}

.arkana-brand__mark {
	position: relative;
	display: grid;
	place-items: center;
	width: 2.3rem;
	aspect-ratio: 1;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 0.85rem;
	background: var(--arkana-gradient-brand);
	box-shadow:
		0 0 1.8rem rgba(124, 44, 255, 0.42),
		inset 0 1px 0 rgba(255, 255, 255, 0.28);
	overflow: hidden;
}

.arkana-brand__mark::before,
.arkana-brand__mark::after {
	content: none;
	display: none;
}

.arkana-brand__logo {
	display: block;
	width: 68%;
	height: 68%;
	object-fit: contain;
	filter: drop-shadow(0 0 0.45rem rgba(255, 255, 255, 0.18));
}

.arkana-nav--desktop {
	position: relative;
	justify-self: center;
	display: flex;
	align-items: center;
	gap: clamp(0.18rem, 0.55vw, 0.48rem);
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.arkana-nav__item {
	position: relative;
	padding: 0.72rem 0.82rem;
	border: 0;
	border-radius: 0.78rem;
	background: transparent;
	color: rgba(229, 226, 239, 0.72);
	font-size: 0.88rem;
	font-weight: 690;
	line-height: 1;
	text-decoration: none;
	text-shadow: 0 1px 1rem rgba(0, 0, 0, 0.22);
	transition:
		transform var(--arkana-transition),
		background var(--arkana-transition),
		color var(--arkana-transition),
		box-shadow var(--arkana-transition);
}

.arkana-nav__item:hover {
	transform: translateY(-1px);
	background: rgba(255, 255, 255, 0.045);
	color: #fff;
}

.arkana-nav__item.is-active {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(122, 86, 255, 0.085));
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.11),
		0 0.55rem 1.5rem rgba(0, 0, 0, 0.15);
	color: #fff;
}

.arkana-header__cta {
	position: relative;
	min-height: 2.8rem;
	padding-inline: 1.15rem;
	border-color: rgba(227, 231, 255, 0.18);
	background: rgba(255, 255, 255, 0.035);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.085),
		0 0.6rem 1.8rem rgba(0, 0, 0, 0.12);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.arkana-header__cta:hover {
	border-color: rgba(190, 164, 255, 0.38);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(108, 59, 255, 0.08));
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.12),
		0 0.8rem 2rem rgba(72, 38, 185, 0.16);
}

.arkana-header__mobile-toggle {
	display: none;
	justify-self: end;
	font-size: 0;
	line-height: 0;
}

.arkana-hamburger-button {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 1px solid rgba(155, 188, 255, 0.27);
	border-radius: 1rem;
	background:
		linear-gradient(145deg, rgba(65, 157, 255, 0.2), rgba(76, 39, 185, 0.19)),
		rgba(7, 14, 29, 0.82);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.09),
		0 0 2rem rgba(74, 95, 255, 0.16);
	color: #fff;
	cursor: pointer;
	transition:
		transform var(--arkana-transition),
		border-color var(--arkana-transition),
		box-shadow var(--arkana-transition),
		background var(--arkana-transition);
}

/* El botón móvil nunca forma parte del header completo de escritorio.
 * Se habilita únicamente dentro del breakpoint responsive. */
.arkana-header__mobile-toggle.arkana-hamburger-button {
	display: none;
}

.arkana-floating-menu.arkana-hamburger-button {
	display: inline-grid;
	font-size: 0;
	line-height: 0;
}

.arkana-hamburger-button:hover {
	transform: translateY(-2px);
	border-color: rgba(128, 214, 255, 0.48);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.12),
		0 0 2.6rem rgba(83, 76, 255, 0.27);
}

.arkana-hamburger-button__lines {
	position: relative;
	display: block;
	width: 1.25rem;
	height: 0.95rem;
}

.arkana-hamburger-button__lines span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, #c6f7ff, #fff);
	box-shadow: 0 0 0.7rem rgba(98, 214, 255, 0.35);
}

.arkana-hamburger-button__lines span:nth-child(1) { top: 0; }
.arkana-hamburger-button__lines span:nth-child(2) { top: 0.41rem; }
.arkana-hamburger-button__lines span:nth-child(3) { top: 0.82rem; }

.arkana-floating-menu {
	position: fixed;
	top: 1.2rem;
	left: 1.2rem;
	z-index: 1250;
	width: 3.35rem;
	height: 3.35rem;
	transform: translate3d(-1rem, -0.4rem, 0) scale(0.9);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
		opacity 220ms ease,
		visibility 220ms ease;
}

.admin-bar .arkana-floating-menu {
	top: calc(32px + 1.2rem);
}

.arkana-floating-menu.is-visible {
	transform: translate3d(0, 0, 0) scale(1);
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.arkana-drawer-overlay {
	position: fixed;
	inset: 0;
	z-index: 1300;
	padding: 0;
	border: 0;
	background: rgba(0, 2, 9, 0.72);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	opacity: 0;
	visibility: hidden;
	cursor: default;
	transition: opacity 260ms ease, visibility 260ms ease;
}

.arkana-drawer-overlay.is-visible {
	opacity: 1;
	visibility: visible;
}

.arkana-drawer {
	position: fixed;
	top: 1rem;
	bottom: 1rem;
	left: 1rem;
	z-index: 1400;
	display: flex;
	flex-direction: column;
	width: min(22.5rem, calc(100vw - 2rem));
	padding: 1rem;
	border: 1px solid rgba(129, 183, 255, 0.22);
	border-radius: 1.6rem;
	background:
		radial-gradient(circle at 15% 4%, rgba(73, 161, 255, 0.18), transparent 18rem),
		radial-gradient(circle at 82% 92%, rgba(117, 43, 255, 0.16), transparent 21rem),
		linear-gradient(165deg, rgba(18, 36, 61, 0.96), rgba(4, 10, 24, 0.97) 54%, rgba(7, 5, 24, 0.98));
	box-shadow:
		1.5rem 0 5rem rgba(0, 0, 0, 0.5),
		inset 0 1px 0 rgba(255, 255, 255, 0.07),
		0 0 4rem rgba(51, 111, 255, 0.12);
	backdrop-filter: blur(30px) saturate(145%);
	-webkit-backdrop-filter: blur(30px) saturate(145%);
	transform: translate3d(calc(-100% - 2rem), 0, 0);
	opacity: 0;
	visibility: hidden;
	overflow: auto;
	overscroll-behavior: contain;
	transition:
		transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
		opacity 260ms ease,
		visibility 260ms ease;
}

.admin-bar .arkana-drawer {
	top: calc(32px + 1rem);
}

.arkana-drawer.is-open {
	transform: translate3d(0, 0, 0);
	opacity: 1;
	visibility: visible;
}

.arkana-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.15rem 0.15rem 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.arkana-drawer__brand .arkana-brand__mark {
	width: 2.55rem;
}

.arkana-drawer__close {
	position: relative;
	flex: 0 0 auto;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.055);
	color: #fff;
	cursor: pointer;
	transition: transform var(--arkana-transition), background var(--arkana-transition), border-color var(--arkana-transition);
}

.arkana-drawer__close:hover {
	transform: rotate(4deg);
	border-color: rgba(176, 147, 255, 0.34);
	background: rgba(111, 66, 255, 0.1);
}

.arkana-drawer__close::before,
.arkana-drawer__close::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 1.1rem;
	height: 2px;
	border-radius: 999px;
	background: #fff;
}

.arkana-drawer__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.arkana-drawer__close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.arkana-drawer__nav {
	display: grid;
	gap: 0.58rem;
	padding: 1.15rem 0;
}

.arkana-drawer__link {
	display: grid;
	grid-template-columns: 2.15rem minmax(0, 1fr);
	align-items: center;
	gap: 0.78rem;
	min-height: 3.45rem;
	padding: 0.58rem 0.75rem;
	border: 1px solid rgba(132, 180, 255, 0.12);
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.035);
	color: rgba(244, 245, 255, 0.9);
	font-size: 0.92rem;
	font-weight: 760;
	text-decoration: none;
	transition:
		transform var(--arkana-transition),
		border-color var(--arkana-transition),
		background var(--arkana-transition),
		box-shadow var(--arkana-transition);
}

.arkana-drawer__link:hover,
.arkana-drawer__link.is-active {
	transform: translateX(0.22rem);
	border-color: rgba(105, 205, 255, 0.28);
	background: linear-gradient(90deg, rgba(54, 134, 255, 0.14), rgba(115, 48, 255, 0.075));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.arkana-drawer__number {
	display: inline-grid;
	place-items: center;
	width: 2rem;
	aspect-ratio: 1;
	border: 1px solid rgba(93, 214, 255, 0.26);
	border-radius: 50%;
	background: rgba(29, 148, 211, 0.08);
	color: #79e6ff;
	font-size: 0.68rem;
	font-weight: 850;
	letter-spacing: 0.04em;
}

.arkana-drawer__cta {
	width: 100%;
	margin-top: auto;
	min-height: 3.45rem;
}

.arkana-drawer__footer {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 1rem 0.2rem 0.15rem;
	color: rgba(203, 211, 231, 0.58);
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.035em;
}

.arkana-drawer__status-dot {
	width: 0.45rem;
	aspect-ratio: 1;
	border-radius: 50%;
	background: #55f0bc;
	box-shadow: 0 0 0.8rem rgba(85, 240, 188, 0.75);
}

.arkana-managed-page.arkana-nav-lock {
	overflow: hidden;
}

/* ================================================================
 * BUTTONS AND SHARED COMPONENTS
 * ================================================================ */
.arkana-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 2.95rem;
	padding: 0.78rem 1.2rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font-weight: 760;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: transform var(--arkana-transition), box-shadow var(--arkana-transition), border-color var(--arkana-transition), background var(--arkana-transition);
}

.arkana-button:hover { transform: translateY(-2px); }
.arkana-button--primary { background: var(--arkana-gradient-brand); color: #fff; box-shadow: 0 0 2.7rem rgba(124, 44, 255, 0.28); }
.arkana-button--primary:hover { box-shadow: 0 0 3.6rem rgba(181, 36, 255, 0.38); }
.arkana-button--ghost { border-color: var(--arkana-color-border); background: rgba(255, 255, 255, 0.04); color: var(--arkana-color-text); }
.arkana-button--text { border-color: var(--arkana-color-border); background: rgba(255, 255, 255, 0.025); color: var(--arkana-color-text); }
.arkana-button--large { min-height: 3.5rem; padding-inline: 1.75rem; font-size: 1rem; }

.arkana-icon {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 3rem;
	aspect-ratio: 1;
	border: 1px solid rgba(172, 90, 255, 0.35);
	border-radius: 1rem;
	background: linear-gradient(145deg, rgba(104, 37, 255, 0.30), rgba(255, 58, 185, 0.06));
	box-shadow: 0 0 2rem rgba(124, 44, 255, 0.12);
}

.arkana-icon::before,
.arkana-icon::after { content: ""; position: absolute; }
.arkana-icon::before { width: 1.2rem; height: 1.2rem; border: 2px solid #c49cff; border-radius: 0.35rem; }
.arkana-icon::after { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #ff62c8; box-shadow: 0.65rem 0.4rem 0 -0.08rem #6bd7ff, -0.55rem 0.42rem 0 -0.08rem #8a58ff; }
.arkana-icon--flow::before { border-radius: 50%; }
.arkana-icon--ai::before { border-radius: 50% 50% 42% 42%; }
.arkana-icon--crm::before { width: 1.35rem; height: 0.9rem; border-radius: 0.25rem; }
.arkana-icon--integration::before { transform: rotate(45deg); border-radius: 50%; }

.arkana-mini-card,
.arkana-problem-card,
.arkana-service-card,
.arkana-principle-card,
.arkana-method-card,
.arkana-plan-card,
.arkana-deliverable-card,
.arkana-specialty-card {
	border: 1px solid var(--arkana-color-border);
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018));
	box-shadow: 0 1.3rem 4rem rgba(0, 0, 0, 0.16);
	backdrop-filter: blur(18px);
}

.arkana-mini-card { padding: 1.4rem; border-radius: 1.35rem; }
.arkana-mini-card h3 { margin: 1.1rem 0 0.35rem; font-family: var(--arkana-font-display); font-size: 1.08rem; }
.arkana-mini-card p { margin: 0; color: var(--arkana-color-text-muted); font-size: 0.91rem; }

.arkana-footer {
	border-top: 1px solid var(--arkana-color-border);
	background: rgba(2, 2, 5, 0.92);
}

.arkana-footer__grid { display: grid; gap: 2.2rem; padding-block: 4rem 2.6rem; }
.arkana-brand--footer { margin-bottom: 1rem; }
.arkana-footer__tagline { margin: 0; color: #fff; font-weight: 700; }
.arkana-footer__statement { max-width: 31rem; margin: 0.7rem 0 0; color: var(--arkana-color-text-muted); }
.arkana-footer h2 { margin: 0 0 0.8rem; font-family: var(--arkana-font-display); font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; }
.arkana-footer nav, .arkana-footer__contact { display: grid; align-content: start; gap: 0.58rem; }
.arkana-footer a:not(.arkana-brand) { color: var(--arkana-color-text-muted); text-decoration: none; }
.arkana-footer a:hover { color: #fff; }
.arkana-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 2rem; padding-block: 1.3rem; border-top: 1px solid var(--arkana-color-border); color: var(--arkana-color-text-soft); font-size: 0.78rem; }
.arkana-footer__bottom p { margin: 0; }

@media (max-width: 782px) {
	.admin-bar .arkana-header { top: calc(46px + 0.65rem); }
	.admin-bar .arkana-floating-menu { top: calc(46px + 0.85rem); }
	.admin-bar .arkana-drawer { top: calc(46px + 0.65rem); }
}

@media (max-width: 63.999rem) {
	.arkana-header {
		top: 0.75rem;
		padding-inline: 0 !important;
	}

	/*
	 * Header móvil inspirado en la composición RWC:
	 * una única cápsula glass con marca a la izquierda
	 * y botón hamburguesa a la derecha.
	 */
	.arkana-header .arkana-header__inner {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto !important;
		align-items: center !important;
		justify-content: space-between !important;
		width: calc(100% - 1rem) !important;
		max-width: 50rem !important;
		min-height: 4.8rem;
		margin-inline: auto !important;
		gap: 1rem;
		padding: 0.6rem 0.68rem 0.6rem 0.95rem;
		border: 1px solid rgba(191, 173, 255, 0.32);
		border-radius: 2rem;
		background:
			linear-gradient(118deg, rgba(70, 39, 154, 0.25), rgba(12, 15, 38, 0.5) 48%, rgba(28, 57, 126, 0.24)),
			rgba(3, 5, 17, 0.52);
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.17),
			inset 0 -1px 0 rgba(115, 78, 255, 0.08),
			0 1rem 3rem rgba(0, 0, 0, 0.32),
			0 0 2.8rem rgba(100, 55, 255, 0.14);
		backdrop-filter: blur(28px) saturate(165%) contrast(105%);
		-webkit-backdrop-filter: blur(28px) saturate(165%) contrast(105%);
		overflow: hidden;
	}

	.arkana-header .arkana-header__inner::before {
		background:
			linear-gradient(112deg, rgba(255, 255, 255, 0.17) 0%, rgba(255, 255, 255, 0.035) 22%, transparent 47%),
			radial-gradient(circle at 4% 18%, rgba(153, 96, 255, 0.19), transparent 34%),
			radial-gradient(circle at 96% 82%, rgba(58, 118, 255, 0.16), transparent 36%);
		opacity: 0.88;
	}

	/* Ninguna navegación horizontal o CTA de escritorio debe ocupar espacio. */
	.arkana-header .arkana-nav--desktop,
	.arkana-header .arkana-header__cta {
		display: none !important;
		position: absolute !important;
		width: 0 !important;
		height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}

	.arkana-header__brand {
		min-width: 0;
		justify-self: start;
		gap: 0.8rem;
	}

	.arkana-header__brand .arkana-brand__mark {
		width: 3rem;
		border-radius: 1rem;
		box-shadow:
			0 0 1.7rem rgba(121, 55, 255, 0.44),
			0 0 1rem rgba(255, 61, 183, 0.18),
			inset 0 1px 0 rgba(255, 255, 255, 0.3);
	}

	.arkana-header__brand .arkana-brand__name {
		overflow: hidden;
		color: #fff;
		font-size: 1.04rem;
		font-weight: 850;
		letter-spacing: 0.1em;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	/*
	 * Reset robusto: evita que el tema o una versión HTML anterior
	 * conviertan el botón en un rectángulo blanco con la palabra "Menú".
	 */
	.arkana-header__mobile-toggle.arkana-hamburger-button {
		display: inline-grid !important;
		justify-self: end;
		width: 3.55rem;
		height: 3.55rem;
		min-width: 3.55rem;
		min-height: 3.55rem;
		margin: 0 !important;
		padding: 0 !important;
		border: 1px solid rgba(177, 152, 255, 0.32) !important;
		border-radius: 1.25rem !important;
		background:
			linear-gradient(145deg, rgba(107, 50, 255, 0.2), rgba(55, 103, 222, 0.12)),
			rgba(6, 8, 24, 0.5) !important;
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.15),
			0 0 1.8rem rgba(105, 56, 255, 0.18) !important;
		color: transparent !important;
		font-size: 0 !important;
		line-height: 0 !important;
		text-indent: 0 !important;
		text-shadow: none !important;
		-webkit-appearance: none !important;
		appearance: none !important;
		overflow: hidden;
	}

	.arkana-header__mobile-toggle.arkana-hamburger-button::before,
	.arkana-header__mobile-toggle.arkana-hamburger-button::after {
		content: none !important;
		display: none !important;
	}

	.arkana-header__mobile-toggle > :not(.arkana-hamburger-button__lines) {
		display: none !important;
	}

	.arkana-header__mobile-toggle .arkana-hamburger-button__lines {
		display: block !important;
		width: 1.45rem;
		height: 1.05rem;
	}

	.arkana-header__mobile-toggle .arkana-hamburger-button__lines span {
		height: 2px;
		background: linear-gradient(90deg, #f6efff, #aa90ff 52%, #79baff);
		box-shadow: 0 0 0.8rem rgba(151, 102, 255, 0.45);
	}

	.arkana-header__mobile-toggle .arkana-hamburger-button__lines span:nth-child(1) { top: 0; }
	.arkana-header__mobile-toggle .arkana-hamburger-button__lines span:nth-child(2) { top: 0.48rem; }
	.arkana-header__mobile-toggle .arkana-hamburger-button__lines span:nth-child(3) { top: 0.96rem; }

	.arkana-header-spacer {
		height: 0;
	}

	/* Trigger contextual que aparece al subir después de abandonar el hero. */
	.arkana-floating-menu {
		top: 0.85rem;
		left: 0.85rem;
		width: 3.55rem;
		height: 3.55rem;
		border-radius: 1.25rem;
		background:
			linear-gradient(145deg, rgba(100, 44, 255, 0.28), rgba(41, 82, 193, 0.18)),
			rgba(5, 7, 22, 0.72);
		border-color: rgba(177, 152, 255, 0.34);
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.14),
			0 0 2.2rem rgba(108, 57, 255, 0.25),
			0 1rem 2.5rem rgba(0, 0, 0, 0.28);
		backdrop-filter: blur(22px) saturate(150%);
		-webkit-backdrop-filter: blur(22px) saturate(150%);
	}

	/*
	 * Drawer móvil: panel lateral real, no navegación desplegada
	 * dentro del header. Mantiene visible una porción del sitio.
	 */
	.arkana-drawer {
		top: 0;
		bottom: 0;
		left: 0;
		width: min(86vw, 22rem);
		padding: 1rem;
		border-width: 0 1px 0 0;
		border-radius: 0 1.75rem 1.75rem 0;
		background:
			radial-gradient(circle at 14% 3%, rgba(133, 68, 255, 0.22), transparent 17rem),
			radial-gradient(circle at 88% 94%, rgba(42, 97, 255, 0.18), transparent 22rem),
			linear-gradient(165deg, rgba(14, 16, 45, 0.97), rgba(4, 6, 20, 0.985) 56%, rgba(10, 4, 27, 0.99));
		box-shadow:
			1.5rem 0 5rem rgba(0, 0, 0, 0.58),
			inset 0 1px 0 rgba(255, 255, 255, 0.08),
			0 0 4rem rgba(105, 54, 255, 0.16);
	}

	.arkana-drawer__header {
		min-height: 4.6rem;
		padding: 0 0 0.9rem;
	}

	.arkana-drawer__brand .arkana-brand__mark {
		width: 3rem;
		border-radius: 1rem;
	}

	.arkana-drawer__brand .arkana-brand__name {
		font-size: 1rem;
	}

	.arkana-drawer__close {
		width: 3.2rem;
		height: 3.2rem;
		border-radius: 1.1rem;
	}

	.arkana-drawer__nav {
		gap: 0.62rem;
		padding: 1rem 0;
	}

	.arkana-drawer__link {
		min-height: 3.65rem;
		border-color: rgba(163, 132, 255, 0.15);
		background: rgba(255, 255, 255, 0.035);
	}

	.arkana-drawer__link:hover,
	.arkana-drawer__link.is-active {
		border-color: rgba(166, 126, 255, 0.34);
		background: linear-gradient(90deg, rgba(106, 53, 255, 0.18), rgba(48, 88, 214, 0.08));
	}

	.arkana-drawer__number {
		border-color: rgba(185, 134, 255, 0.3);
		background: rgba(112, 55, 255, 0.1);
		color: #c7a8ff;
	}
}

@media (min-width: 64rem) {
	.arkana-header__mobile-toggle.arkana-hamburger-button {
		display: none !important;
	}
}

@media (max-width: 30rem) {
	.arkana-container {
		width: min(calc(100% - 1rem), var(--arkana-container));
	}

	.arkana-header .arkana-header__inner {
		width: calc(100% - 0.75rem) !important;
		min-height: 4.45rem;
		padding: 0.48rem 0.5rem 0.48rem 0.72rem;
		border-radius: 1.65rem;
	}

	.arkana-header__brand {
		gap: 0.68rem;
	}

	.arkana-header__brand .arkana-brand__mark {
		width: 2.72rem;
		border-radius: 0.9rem;
	}

	.arkana-header__brand .arkana-brand__name {
		font-size: 0.94rem;
		letter-spacing: 0.085em;
	}

	.arkana-header__mobile-toggle.arkana-hamburger-button,
	.arkana-floating-menu {
		width: 3.25rem;
		height: 3.25rem;
		min-width: 3.25rem;
		min-height: 3.25rem;
		border-radius: 1.08rem !important;
	}

	.arkana-floating-menu {
		top: 0.65rem;
		left: 0.65rem;
	}

	.arkana-drawer {
		width: calc(100vw - 0.75rem);
		border-radius: 0 1.55rem 1.55rem 0;
	}

	.arkana-drawer__link {
		min-height: 3.4rem;
	}
}

@media (min-width: 48rem) {
	.arkana-capabilities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.arkana-footer__grid { grid-template-columns: 1.5fr 0.7fr 0.8fr; }
}

@media (min-width: 72rem) {
	.arkana-capabilities__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
	.arkana-header,
	.arkana-floating-menu,
	.arkana-drawer,
	.arkana-drawer-overlay {
		transition-duration: 0.01ms !important;
	}
}


/* ================================================================
 * COMPATIBILIDAD CON EL MARKUP ORIGINAL DE CORE 0.3.0
 * El servidor puede seguir entregando .arkana-nav y .arkana-menu-toggle.
 * Estas reglas garantizan que en móvil solo existan marca + hamburguesa.
 * ================================================================ */
@media (max-width: 63.999rem) {
	.arkana-header .arkana-nav,
	.arkana-header [data-arkana-nav],
	.arkana-header .arkana-nav--desktop,
	.arkana-header .arkana-header__cta {
		display: none !important;
		position: absolute !important;
		inline-size: 0 !important;
		block-size: 0 !important;
		min-inline-size: 0 !important;
		min-block-size: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
		opacity: 0 !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}

	.arkana-header .arkana-header__inner {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto !important;
		grid-template-areas: "brand toggle" !important;
		align-items: center !important;
	}

	.arkana-header .arkana-brand,
	.arkana-header .arkana-header__brand {
		grid-area: brand !important;
		justify-self: start !important;
		min-width: 0 !important;
	}

	.arkana-header .arkana-menu-toggle,
	.arkana-header .arkana-header__mobile-toggle,
	.arkana-header [data-arkana-menu-toggle],
	.arkana-header [data-arkana-drawer-toggle] {
		grid-area: toggle !important;
		display: inline-grid !important;
		place-items: center !important;
		justify-self: end !important;
		width: 3.55rem !important;
		height: 3.55rem !important;
		min-width: 3.55rem !important;
		min-height: 3.55rem !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 1px solid rgba(177, 152, 255, 0.34) !important;
		border-radius: 1.25rem !important;
		background:
			linear-gradient(145deg, rgba(107, 50, 255, 0.24), rgba(55, 103, 222, 0.14)),
			rgba(6, 8, 24, 0.56) !important;
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.15),
			0 0 1.9rem rgba(105, 56, 255, 0.2) !important;
		color: transparent !important;
		font-size: 0 !important;
		line-height: 0 !important;
		text-indent: -9999px !important;
		text-shadow: none !important;
		-webkit-appearance: none !important;
		appearance: none !important;
		overflow: hidden !important;
		cursor: pointer !important;
	}

	.arkana-header .arkana-menu-toggle__label {
		display: none !important;
	}

	/* Fallback visual si el JavaScript aún no ha actualizado el botón antiguo. */
	.arkana-header .arkana-menu-toggle__icon {
		position: relative !important;
		display: block !important;
		width: 1.45rem !important;
		height: 1.05rem !important;
		text-indent: 0 !important;
	}

	.arkana-header .arkana-menu-toggle__icon::before,
	.arkana-header .arkana-menu-toggle__icon span {
		position: absolute !important;
		left: 0 !important;
		width: 100% !important;
		height: 2px !important;
		border-radius: 999px !important;
		background: linear-gradient(90deg, #f6efff, #aa90ff 52%, #79baff) !important;
		box-shadow: 0 0 0.8rem rgba(151, 102, 255, 0.45) !important;
	}

	.arkana-header .arkana-menu-toggle__icon::before {
		content: "" !important;
		top: 0.49rem !important;
	}

	.arkana-header .arkana-menu-toggle__icon span:first-child { top: 0 !important; }
	.arkana-header .arkana-menu-toggle__icon span:last-child { top: 0.98rem !important; }
}

@media (min-width: 64rem) {
	.arkana-header .arkana-menu-toggle,
	.arkana-header [data-arkana-menu-toggle],
	.arkana-header .arkana-header__mobile-toggle {
		display: none !important;
	}
}

/* ================================================================
 * ARKANA DRAWER — UNIFICACIÓN DE COLOR DESKTOP + MÓVIL
 * Fuente visual: versión móvil aprobada.
 * Mantiene dimensiones y comportamiento de cada breakpoint.
 * ================================================================ */

.arkana-drawer {
	border-color: rgba(166, 126, 255, 0.28);
	background:
		radial-gradient(circle at 14% 3%, rgba(133, 68, 255, 0.24), transparent 17rem),
		radial-gradient(circle at 88% 94%, rgba(42, 97, 255, 0.20), transparent 22rem),
		linear-gradient(
			165deg,
			rgba(18, 16, 53, 0.975),
			rgba(5, 6, 23, 0.988) 55%,
			rgba(12, 4, 31, 0.992)
		);
	box-shadow:
		1.5rem 0 5rem rgba(0, 0, 0, 0.58),
		inset 0 1px 0 rgba(255, 255, 255, 0.09),
		inset 0 -1px 0 rgba(118, 72, 255, 0.08),
		0 0 4rem rgba(105, 54, 255, 0.18);
	backdrop-filter: blur(30px) saturate(155%);
	-webkit-backdrop-filter: blur(30px) saturate(155%);
}

.arkana-drawer::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background:
		linear-gradient(
			120deg,
			rgba(255, 255, 255, 0.08),
			transparent 27%,
			transparent 72%,
			rgba(97, 73, 255, 0.055)
		);
	pointer-events: none;
}

.arkana-drawer__header {
	border-bottom-color: rgba(185, 154, 255, 0.14);
}

.arkana-drawer__close {
	border-color: rgba(177, 152, 255, 0.25);
	background:
		linear-gradient(145deg, rgba(108, 57, 255, 0.12), rgba(46, 77, 183, 0.06)),
		rgba(255, 255, 255, 0.045);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 0 1.6rem rgba(104, 57, 255, 0.08);
}

.arkana-drawer__close:hover {
	border-color: rgba(188, 145, 255, 0.43);
	background:
		linear-gradient(145deg, rgba(126, 65, 255, 0.19), rgba(54, 93, 211, 0.08)),
		rgba(255, 255, 255, 0.055);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.1),
		0 0 2rem rgba(116, 63, 255, 0.15);
}

.arkana-drawer__nav {
	position: relative;
}

.arkana-drawer__link {
	border-color: rgba(163, 132, 255, 0.17);
	background:
		linear-gradient(120deg, rgba(255, 255, 255, 0.042), rgba(91, 58, 180, 0.018)),
		rgba(255, 255, 255, 0.018);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.025),
		0 0.8rem 2.1rem rgba(0, 0, 0, 0.09);
}

.arkana-drawer__link:hover,
.arkana-drawer__link.is-active {
	border-color: rgba(181, 137, 255, 0.38);
	background:
		linear-gradient(
			90deg,
			rgba(111, 53, 255, 0.21),
			rgba(75, 64, 217, 0.12) 52%,
			rgba(45, 84, 194, 0.07)
		);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.055),
		0 0 1.8rem rgba(111, 55, 255, 0.08);
}

.arkana-drawer__number {
	border-color: rgba(190, 143, 255, 0.34);
	background:
		linear-gradient(145deg, rgba(126, 59, 255, 0.17), rgba(72, 63, 192, 0.08));
	color: #c9adff;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.05),
		0 0 1.2rem rgba(121, 62, 255, 0.09);
}

.arkana-drawer__cta {
	background: linear-gradient(100deg, #4f25ff 0%, #9b24ff 48%, #ff477a 82%, #ff7b4b 100%);
	box-shadow:
		0 0 2.7rem rgba(124, 44, 255, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.arkana-drawer__cta:hover {
	box-shadow:
		0 0 3.4rem rgba(181, 36, 255, 0.34),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.arkana-drawer__footer {
	color: rgba(211, 205, 228, 0.58);
}

/* Refuerzo para que ningún breakpoint recupere la paleta azul/cian anterior. */
@media (min-width: 64rem) {
	.arkana-drawer {
		border-color: rgba(166, 126, 255, 0.28);
		background:
			radial-gradient(circle at 14% 3%, rgba(133, 68, 255, 0.24), transparent 17rem),
			radial-gradient(circle at 88% 94%, rgba(42, 97, 255, 0.20), transparent 22rem),
			linear-gradient(
				165deg,
				rgba(18, 16, 53, 0.975),
				rgba(5, 6, 23, 0.988) 55%,
				rgba(12, 4, 31, 0.992)
			);
	}

	.arkana-drawer__link {
		border-color: rgba(163, 132, 255, 0.17);
	}

	.arkana-drawer__link:hover,
	.arkana-drawer__link.is-active {
		border-color: rgba(181, 137, 255, 0.38);
		background:
			linear-gradient(
				90deg,
				rgba(111, 53, 255, 0.21),
				rgba(75, 64, 217, 0.12) 52%,
				rgba(45, 84, 194, 0.07)
			);
	}

	.arkana-drawer__number {
		border-color: rgba(190, 143, 255, 0.34);
		background:
			linear-gradient(145deg, rgba(126, 59, 255, 0.17), rgba(72, 63, 192, 0.08));
		color: #c9adff;
	}
}

/* ================================================================
 * ARKANA MOBILE HEADER — STRUCTURAL SPACER FIX v1
 *
 * The header is fixed, so it does not occupy document flow.
 * A real spacer now reserves its height before <main>.
 * This is more reliable than compensating with very large Hero padding.
 * ================================================================ */

@media (max-width: 63.999rem) {
	.arkana-header-spacer {
		display: block !important;
		width: 100% !important;
		height: 6.35rem !important;
		min-height: 6.35rem !important;
		margin: 0 !important;
		padding: 0 !important;
		background: transparent !important;
		pointer-events: none !important;
	}
}

@media (max-width: 30rem) {
	.arkana-header-spacer {
		height: 5.95rem !important;
		min-height: 5.95rem !important;
	}
}

/* ================================================================
 * ARKANA GLOBAL INTERACTIONS — GLASS, DEPTH AND SHIMMER v1
 *
 * Scope:
 * - Shared ARKANA buttons.
 * - Native buttons inside the public ARKANA shell.
 * - Drawer navigation actions.
 *
 * Desktop:
 * - Hover elevation and depth.
 * - Small left-to-right light sweep.
 * - Sibling controls in the same action group become secondary.
 *
 * Touch:
 * - Press feedback without sticky hover states.
 * ================================================================ */

.arkana-site {
	--arkana-control-glass:
		linear-gradient(
			145deg,
			rgba(255, 255, 255, 0.105) 0%,
			rgba(255, 255, 255, 0.042) 42%,
			rgba(116, 65, 255, 0.045) 100%
		);
	--arkana-control-border: rgba(211, 194, 255, 0.22);
	--arkana-control-border-hover: rgba(224, 211, 255, 0.58);
	--arkana-control-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.12),
		inset 0 -1px 0 rgba(74, 46, 120, 0.14),
		0 0.65rem 1.8rem rgba(0, 0, 0, 0.24),
		0 0 1.8rem rgba(111, 61, 255, 0.07);
	--arkana-control-shadow-hover:
		inset 0 1px 0 rgba(255, 255, 255, 0.22),
		inset 0 -1px 0 rgba(102, 58, 170, 0.18),
		0 1rem 2.4rem rgba(0, 0, 0, 0.34),
		0 0 2.3rem rgba(128, 68, 255, 0.22);
	--arkana-control-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Shared physical depth. */
.arkana-site .arkana-button,
.arkana-site button:not(.arkana-hamburger-button),
.arkana-site [role="button"],
.arkana-site .arkana-drawer__link {
	position: relative;
	isolation: isolate;
	border-color: var(--arkana-control-border);
	box-shadow: var(--arkana-control-shadow);
	-webkit-backdrop-filter: blur(16px) saturate(125%);
	backdrop-filter: blur(16px) saturate(125%);
	transition:
		transform 320ms var(--arkana-control-ease),
		opacity 260ms ease,
		filter 280ms ease,
		border-color 280ms ease,
		box-shadow 320ms var(--arkana-control-ease),
		background-color 280ms ease;
	will-change: transform;
}

/* Neutral and ghost controls receive a visible glass layer. */
.arkana-site .arkana-button--ghost,
.arkana-site .arkana-button--text,
.arkana-site button:not(.arkana-hamburger-button):not([class*="primary"]),
.arkana-site [role="button"]:not([class*="primary"]),
.arkana-site .arkana-drawer__link {
	background-color: rgba(12, 9, 25, 0.36);
	background-image: var(--arkana-control-glass);
}

/* Primary controls retain their brand gradient and gain depth. */
.arkana-site .arkana-button--primary {
	border-color: rgba(255, 255, 255, 0.22);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.28),
		inset 0 -1px 0 rgba(104, 25, 142, 0.22),
		0 0.8rem 2.2rem rgba(75, 32, 210, 0.28),
		0 0 2.8rem rgba(181, 36, 255, 0.24);
}

/* Small glass highlight permanently present on full ARKANA buttons. */
.arkana-site .arkana-button::before,
.arkana-site .arkana-drawer__link::before {
	content: "";
	position: absolute;
	inset: 1px 1px auto;
	z-index: 0;
	height: 48%;
	border-radius: inherit;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.15),
		rgba(255, 255, 255, 0.025) 68%,
		transparent
	);
	opacity: 0.72;
	pointer-events: none;
}

/* Compact light sweep. */
.arkana-site .arkana-button::after,
.arkana-site .arkana-drawer__link::after {
	content: "";
	position: absolute;
	top: -35%;
	bottom: -35%;
	left: -42%;
	z-index: 1;
	width: 22%;
	border-radius: 999px;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.08) 24%,
		rgba(255, 255, 255, 0.7) 50%,
		rgba(255, 255, 255, 0.1) 76%,
		transparent
	);
	filter: blur(0.5px);
	transform: translateX(-210%) skewX(-18deg);
	opacity: 0;
	pointer-events: none;
}

/* Keep the label above the glass layers when the button has element children. */
.arkana-site .arkana-button > *,
.arkana-site .arkana-drawer__link > * {
	position: relative;
	z-index: 2;
}

@keyframes arkana-control-shimmer-v1 {
	0% {
		transform: translateX(-210%) skewX(-18deg);
		opacity: 0;
	}
	16% {
		opacity: 0.9;
	}
	100% {
		transform: translateX(760%) skewX(-18deg);
		opacity: 0;
	}
}

@media (hover: hover) and (pointer: fine) {
	.arkana-site .arkana-button:hover,
	.arkana-site button:not(.arkana-hamburger-button):hover,
	.arkana-site [role="button"]:hover,
	.arkana-site .arkana-drawer__link:hover {
		transform: translateY(-0.28rem) scale(1.025) !important;
		border-color: var(--arkana-control-border-hover);
		box-shadow: var(--arkana-control-shadow-hover);
		filter: saturate(1.14) brightness(1.07);
	}

	.arkana-site .arkana-button--primary:hover {
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.34),
			inset 0 -1px 0 rgba(102, 24, 142, 0.2),
			0 1.05rem 2.7rem rgba(31, 14, 76, 0.42),
			0 0 3.5rem rgba(181, 36, 255, 0.42);
	}

	.arkana-site .arkana-button:hover::after,
	.arkana-site .arkana-drawer__link:hover::after {
		animation: arkana-control-shimmer-v1 720ms var(--arkana-control-ease) both;
	}

	/*
	 * Only siblings in the same logical group are dimmed.
	 * This preserves hierarchy without fading unrelated controls elsewhere.
	 */
	.arkana-site :is(
		.arkana-hero__actions,
		.arkana-form__actions,
		.arkana-card__actions,
		.arkana-cta__actions,
		.arkana-button-group,
		.arkana-actions
	):has(> .arkana-button:hover) > .arkana-button:not(:hover),
	.arkana-site .arkana-drawer__nav:has(> .arkana-drawer__link:hover) > .arkana-drawer__link:not(:hover) {
		opacity: 0.38;
		filter: saturate(0.5) brightness(0.72);
		transform: scale(0.975);
	}
}

/* Tap and keyboard feedback without persistent hover on touch devices. */
.arkana-site .arkana-button:active,
.arkana-site button:not(.arkana-hamburger-button):active,
.arkana-site [role="button"]:active,
.arkana-site .arkana-drawer__link:active {
	transform: translateY(0.06rem) scale(0.985) !important;
	filter: brightness(0.94);
	box-shadow:
		inset 0 2px 0 rgba(0, 0, 0, 0.16),
		inset 0 0 1.2rem rgba(106, 57, 255, 0.12),
		0 0.3rem 0.9rem rgba(0, 0, 0, 0.22);
}

.arkana-site .arkana-button:focus-visible,
.arkana-site button:focus-visible,
.arkana-site [role="button"]:focus-visible,
.arkana-site .arkana-drawer__link:focus-visible {
	outline: 2px solid rgba(198, 166, 255, 0.94);
	outline-offset: 0.24rem;
	box-shadow:
		0 0 0 0.28rem rgba(119, 68, 255, 0.16),
		var(--arkana-control-shadow-hover);
}

@media (prefers-reduced-motion: reduce) {
	.arkana-site .arkana-button,
	.arkana-site button,
	.arkana-site [role="button"],
	.arkana-site .arkana-drawer__link {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}

	.arkana-site .arkana-button::after,
	.arkana-site .arkana-drawer__link::after {
		display: none !important;
	}
}

/* ================================================================
 * ARKANA LARGE BUTTONS — SHIMMER CLIP FIX v1
 *
 * The shimmer pseudo-element intentionally travels outside the button
 * bounds. Large buttons were not clipping that layer, so the light beam
 * appeared over the surrounding section. Pills already had overflow hidden.
 * ================================================================ */

.arkana-site .arkana-button,
.arkana-site .arkana-drawer__link {
	overflow: hidden !important;
	overflow: clip !important;
}

/* Fallback for browsers without overflow: clip support. */
@supports not (overflow: clip) {
	.arkana-site .arkana-button,
	.arkana-site .arkana-drawer__link {
		overflow: hidden !important;
	}
}

/* Keep the sweep entirely inside the control while preserving its shine. */
.arkana-site .arkana-button::after,
.arkana-site .arkana-drawer__link::after {
	top: 0 !important;
	bottom: 0 !important;
	height: 100% !important;
	border-radius: inherit !important;
}

/* ================================================================
 * PUBLIC LANGUAGE SWITCH — ES / EN
 * Desktop: floating control at the top-right edge of the viewport.
 * Mobile: rendered inside the navigation drawer.
 * ADA: compact variant inside the assessment header.
 * ================================================================ */
.arkana-language-switch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.42rem;
	min-height: 2.55rem;
	padding: 0.42rem 0.72rem;
	border: 1px solid rgba(194, 180, 255, 0.22);
	border-radius: 0.9rem;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(117, 67, 255, 0.055)),
		rgba(5, 5, 16, 0.66);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.10),
		0 0.8rem 2.4rem rgba(0, 0, 0, 0.24),
		0 0 1.7rem rgba(116, 61, 255, 0.08);
	backdrop-filter: blur(22px) saturate(150%);
	-webkit-backdrop-filter: blur(22px) saturate(150%);
	color: rgba(221, 215, 237, 0.58);
	font-family: var(--arkana-font-display, Inter, sans-serif);
	font-size: 0.72rem;
	font-weight: 780;
	letter-spacing: 0.075em;
	line-height: 1;
}

.arkana-language-switch a,
.arkana-language-switch span {
	display: inline-grid;
	place-items: center;
	min-width: 1.45rem;
	min-height: 1.45rem;
	border-radius: 0.55rem;
	color: inherit;
	text-decoration: none;
	transition: color var(--arkana-transition, 180ms ease), background var(--arkana-transition, 180ms ease), transform var(--arkana-transition, 180ms ease);
}

.arkana-language-switch a:hover {
	transform: translateY(-1px);
	background: rgba(255, 255, 255, 0.055);
	color: #fff;
}

.arkana-language-switch .is-active {
	background: linear-gradient(135deg, rgba(124, 44, 255, 0.32), rgba(36, 77, 255, 0.18));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 1rem rgba(124, 44, 255, 0.14);
	color: #fff;
}

.arkana-language-switch .arkana-language-switch__divider {
	min-width: auto;
	color: rgba(209, 202, 228, 0.28);
}

.arkana-language-switch--floating {
	position: fixed;
	top: 1.72rem;
	right: 1.15rem;
	z-index: 1250;
	pointer-events: auto;
}

.admin-bar .arkana-language-switch--floating {
	top: calc(32px + 1.72rem);
}

.arkana-language-switch--drawer {
	align-self: flex-start;
	margin: 0.15rem 0 0.35rem;
}

.arkana-language-switch--ada {
	min-height: 2.2rem;
	padding: 0.3rem 0.55rem;
	border-radius: 0.78rem;
	font-size: 0.68rem;
}

@media (max-width: 63.999rem) {
	.arkana-language-switch--floating {
		display: none !important;
	}
}

@media (min-width: 64rem) {
	.arkana-language-switch--drawer {
		display: none !important;
	}
}

@media (max-width: 782px) {
	.admin-bar .arkana-language-switch--floating {
		top: calc(46px + 0.9rem);
	}
}

@media (max-width: 30rem) {
	.arkana-language-switch--ada {
		gap: 0.28rem;
		padding-inline: 0.42rem;
	}
}
