/* ==========================================================
   Hyperion – Menu widget
   Όλα τα χρώματα/μεγέθη περνούν από CSS μεταβλητές, ώστε
   να ελέγχονται πλήρως από την καρτέλα Style του Elementor.
   ========================================================== */

.hmenu {
	--hmenu-accent: var( --e-global-color-accent, #abc1de );
	--hmenu-side-bg: var( --e-global-color-secondary, #343d46 );
	--hmenu-side-w: 360px;
	--hmenu-glass-blur: 22px;
	--hmenu-edge: var( --e-global-color-primary, #6796ec );
	--hmenu-orb: var( --e-global-color-primary, #6796ec );
	--hmenu-divider: rgba( 255, 255, 255, 0.08 );
	--hmenu-overlay: rgba( 20, 24, 30, 0.7 );
	--hmenu-overlay-blur: 3px;

	--hmenu-status: var( --e-global-color-accent, #abc1de );
	--hmenu-dot: 7px;

	--hmenu-contact: var( --e-global-color-accent, #abc1de );
	--hmenu-contact-hover: #ffffff;

	--hmenu-num: var( --e-global-color-primary, #6796ec );
	--hmenu-num-size: 11px;
	--hmenu-bar: var( --e-global-color-primary, #6796ec );

	--hmenu-arrow-c: var( --e-global-color-primary, #6796ec );
	--hmenu-arrow-s: 14px;

	--hmenu-grid-c: var( --e-global-color-primary, #6796ec );
	--hmenu-grid-o: 0.06;
	--hmenu-grid-s: 34px;

	--hmenu-scan-c: var( --e-global-color-primary, #6796ec );
	--hmenu-scan-o: 0.22;
	--hmenu-scan-t: 4.5s;

	--hmenu-hud-c: var( --e-global-color-primary, #6796ec );
	--hmenu-hud-s: 22px;

	--hmenu-burger-bg: rgba( 255, 255, 255, 0.07 );
	--hmenu-burger-bd: rgba( 255, 255, 255, 0.16 );
	--hmenu-burger-bg-h: var( --e-global-color-primary, #6796ec );
	--hmenu-burger-r: 10px;

	display: flex;
	align-items: center;
	width: 100%;
}

.hmenu__panel {
	display: flex;
	align-items: center;
	width: 100%;
}

.hmenu__hud,
.hmenu__scan,
.hmenu__orb,
.hmenu__head,
.hmenu__contact,
.hmenu__foot,
.hmenu__overlay {
	display: none;
}

/* ==========================================================
   DESKTOP
   ========================================================== */

.hmenu__list {
	display: flex;
	align-items: center;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	counter-reset: hmenu;
}

.hmenu__list li {
	position: relative;
}

.hmenu__list a {
	position: relative;
	display: inline-block;
	padding: 6px 0;
	color: var( --e-global-color-text, #ffffff );
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.2px;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.hmenu__list a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -4px;
	height: 2px;
	width: 0;
	border-radius: 2px;
	background: var( --hmenu-accent );
	transition: width 0.28s cubic-bezier( 0.4, 0, 0.2, 1 );
}

.hmenu--underline-none .hmenu__list a::after {
	display: none;
}

.hmenu__list a:hover,
.hmenu__list .current-menu-item > a {
	color: var( --hmenu-accent );
}

.hmenu__list a:hover::after,
.hmenu__list .current-menu-item > a::after {
	width: 100%;
}

.hmenu--underline-glow .hmenu__list a:hover::after,
.hmenu--underline-glow .hmenu__list .current-menu-item > a::after {
	box-shadow: 0 0 6px var( --hmenu-accent ), 0 0 14px var( --hmenu-accent );
}

.hmenu__list ul.sub-menu {
	position: absolute;
	top: calc( 100% + 14px );
	left: 0;
	min-width: 210px;
	list-style: none;
	margin: 0;
	padding: 10px;
	border-radius: 10px;
	background: var( --e-global-color-secondary, #343d46 );
	box-shadow: 0 20px 40px rgba( 0, 0, 0, 0.35 );
	opacity: 0;
	visibility: hidden;
	transform: translateY( 8px );
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 100;
}

.hmenu__list li:hover > ul.sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY( 0 );
}

.hmenu__list ul.sub-menu a {
	display: block;
	padding: 8px 12px;
}

.hmenu__list ul.sub-menu a::after {
	display: none;
}

/* ==========================================================
   Hamburger
   Το <button> είναι στόχος των κανόνων του Elementor kit και
   του θέματος (τύπου `.elementor-kit-N button`, ειδικότητα
   0,1,1). Γράφουμε λοιπόν με `.hmenu .hmenu__burger` (0,2,0)
   ώστε να κερδίζει, και μηδενίζουμε ρητά ΚΑΘΕ ιδιότητα που
   μπορεί να κληρονομηθεί (φόντο, περίγραμμα, padding, σκιά,
   στρογγύλεμα, appearance).
   ========================================================== */

.hmenu .hmenu__burger,
.hmenu .hmenu__burger:hover,
.hmenu .hmenu__burger:focus,
.hmenu .hmenu__burger:active {
	position: relative;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	gap: 5px;
	width: 44px;
	height: 44px;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0 2px;
	background: none;
	background-color: transparent;
	background-image: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	text-shadow: none;
	outline: 0;
	transform: none;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	z-index: 10001;
}

/* Κρυφό σε desktop, ορατό μόνο σε mobile — και τα δύο με 0,2,0. */
.hmenu .hmenu__burger {
	display: none;
}

.hmenu.is-mobile .hmenu__burger {
	display: flex;
}

/* Ουδετεροποιούμε το global gradient/shine των κουμπιών. */
.hmenu .hmenu__burger::before,
.hmenu .hmenu__burger::after {
	content: none;
	display: none;
}

/* ---------- Στιλ: κουτί / κύκλος ---------- */

.hmenu.hmenu--burger-boxed .hmenu__burger,
.hmenu.hmenu--burger-circle .hmenu__burger {
	padding: 0 11px;
	background-color: var( --hmenu-burger-bg );
	border: 1px solid var( --hmenu-burger-bd );
	border-radius: var( --hmenu-burger-r );
	transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.hmenu.hmenu--burger-circle .hmenu__burger {
	border-radius: 50%;
}

.hmenu.hmenu--burger-boxed .hmenu__burger:hover,
.hmenu.hmenu--burger-circle .hmenu__burger:hover {
	background-color: var( --hmenu-burger-bg-h );
	border-color: var( --hmenu-burger-bg-h );
	box-shadow: 0 0 18px -4px var( --hmenu-burger-bg-h );
	transform: translateY( -1px );
}

/* Όταν είναι ανοιχτό, το κουτί «ανάβει» μόνιμα. */
.hmenu.hmenu--burger-boxed .hmenu__burger[ aria-expanded='true' ],
.hmenu.hmenu--burger-circle .hmenu__burger[ aria-expanded='true' ] {
	background-color: var( --hmenu-burger-bg-h );
	border-color: var( --hmenu-burger-bg-h );
	box-shadow: 0 0 22px -4px var( --hmenu-burger-bg-h );
}

/* Ορατή ένδειξη εστίασης για πλοήγηση με πληκτρολόγιο. */
.hmenu .hmenu__burger:focus-visible {
	outline: 2px solid var( --hmenu-edge );
	outline-offset: 3px;
}

.hmenu .hmenu__burger span {
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: #ffffff;
	transition: transform 0.3s cubic-bezier( 0.65, 0, 0.35, 1 ), opacity 0.2s ease, width 0.3s ease;
}

.hmenu .hmenu__burger span:nth-child( 2 ) { width: 70%; }
.hmenu .hmenu__burger span:nth-child( 3 ) { width: 85%; }

.hmenu .hmenu__burger:hover span:nth-child( 2 ),
.hmenu .hmenu__burger:hover span:nth-child( 3 ) { width: 100%; }

.hmenu .hmenu__burger[ aria-expanded='true' ] span { width: 100%; }
.hmenu .hmenu__burger[ aria-expanded='true' ] span:nth-child( 1 ) { transform: translateY( 7px ) rotate( 45deg ); }
.hmenu .hmenu__burger[ aria-expanded='true' ] span:nth-child( 2 ) { opacity: 0; transform: scaleX( 0 ); }
.hmenu .hmenu__burger[ aria-expanded='true' ] span:nth-child( 3 ) { transform: translateY( -7px ) rotate( -45deg ); }

/* ==========================================================
   MOBILE — Sidebar
   ========================================================== */

.hmenu.is-mobile .hmenu__panel {
	position: fixed;
	top: 0;
	bottom: 0;
	width: min( var( --hmenu-side-w ), 92vw );
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	padding: 84px 26px 30px;
	overflow-y: auto;
	overflow-x: hidden;
	background: var( --hmenu-side-bg );
	border-left: 1px solid var( --hmenu-divider );
	transition: transform 0.42s cubic-bezier( 0.65, 0, 0.35, 1 ), visibility 0.42s;
	z-index: 10000;
}

/* ---------- Glass ---------- */

.hmenu.is-mobile.hmenu--glass .hmenu__panel {
	backdrop-filter: blur( var( --hmenu-glass-blur ) ) saturate( 170% );
	-webkit-backdrop-filter: blur( var( --hmenu-glass-blur ) ) saturate( 170% );
	box-shadow:
		inset 1px 0 0 rgba( 255, 255, 255, 0.07 ),
		-30px 0 60px -20px rgba( 0, 0, 0, 0.75 );
}

.hmenu.is-mobile.hmenu--glass.hmenu--mobile-left .hmenu__panel {
	box-shadow:
		inset -1px 0 0 rgba( 255, 255, 255, 0.07 ),
		30px 0 60px -20px rgba( 0, 0, 0, 0.75 );
}

/* Φωτεινή ακμή που «τραβιέται» κατά μήκος της άκρης όταν ανοίγει. */

.hmenu.is-mobile .hmenu__panel::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 1px;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		transparent 0%,
		var( --hmenu-edge ) 25%,
		var( --hmenu-edge ) 75%,
		transparent 100%
	);
	opacity: 0;
	transform: scaleY( 0.2 );
	transform-origin: center;
	transition: opacity 0.5s ease 0.15s, transform 0.7s cubic-bezier( 0.22, 1, 0.36, 1 ) 0.15s;
}

.hmenu.is-mobile.hmenu--mobile-right .hmenu__panel::after { left: 0; }
.hmenu.is-mobile.hmenu--mobile-left  .hmenu__panel::after { right: 0; }

.hmenu.is-mobile.is-open .hmenu__panel::after {
	opacity: 0.8;
	transform: scaleY( 1 );
	box-shadow: 0 0 14px var( --hmenu-edge );
}

/* ---------- Φωτεινή σφαίρα φόντου ---------- */

.hmenu.is-mobile.hmenu--orb .hmenu__orb {
	display: block;
	position: absolute;
	top: -90px;
	right: -90px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	pointer-events: none;
	background: radial-gradient( circle, var( --hmenu-orb ) 0%, transparent 68% );
	opacity: 0.2;
	filter: blur( 26px );
	animation: hmenu-orb 11s ease-in-out infinite;
}

@keyframes hmenu-orb {
	0%, 100% { transform: translate( 0, 0 ) scale( 1 ); opacity: 0.2; }
	50%      { transform: translate( -34px, 46px ) scale( 1.18 ); opacity: 0.32; }
}

.hmenu.is-mobile.hmenu--mobile-right .hmenu__panel {
	right: 0;
	transform: translateX( 100% );
	visibility: hidden;
}

.hmenu.is-mobile.hmenu--mobile-left .hmenu__panel {
	left: 0;
	border-left: 0;
	border-right: 1px solid var( --hmenu-divider );
	transform: translateX( -100% );
	visibility: hidden;
}

.hmenu.is-mobile.is-open .hmenu__panel {
	transform: translateX( 0 );
	visibility: visible;
}

.hmenu.is-mobile.is-open .hmenu__overlay {
	display: block;
	position: fixed;
	inset: 0;
	background: var( --hmenu-overlay );
	backdrop-filter: blur( var( --hmenu-overlay-blur ) );
	z-index: 9999;
	animation: hmenu-fade 0.35s ease forwards;
}

@keyframes hmenu-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* ---------- Πλέγμα ---------- */

.hmenu.is-mobile.hmenu--grid .hmenu__panel::before {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient( var( --hmenu-grid-c ) 1px, transparent 1px ),
		linear-gradient( 90deg, var( --hmenu-grid-c ) 1px, transparent 1px );
	background-size: var( --hmenu-grid-s ) var( --hmenu-grid-s );
	opacity: var( --hmenu-grid-o );
	animation: hmenu-grid-drift 18s linear infinite;
}

@keyframes hmenu-grid-drift {
	from { background-position: 0 0, 0 0; }
	to   { background-position: 0 100%, 100% 0; }
}

/* ---------- Scanline ---------- */

.hmenu.is-mobile.hmenu--scanline.is-open .hmenu__scan {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	height: 140px;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		transparent 0%,
		rgba( 255, 255, 255, 0.05 ) 45%,
		var( --hmenu-scan-c ) 50%,
		rgba( 255, 255, 255, 0.05 ) 55%,
		transparent 100%
	);
	opacity: var( --hmenu-scan-o );
	animation: hmenu-scan var( --hmenu-scan-t ) cubic-bezier( 0.5, 0, 0.5, 1 ) infinite;
}

@keyframes hmenu-scan {
	0%   { top: -140px; opacity: 0; }
	10%  { opacity: var( --hmenu-scan-o ); }
	85%  { opacity: var( --hmenu-scan-o ); }
	100% { top: 100%; opacity: 0; }
}

/* ---------- Άγκιστρα HUD ---------- */

.hmenu.is-mobile.hmenu--hud .hmenu__hud {
	display: block;
	position: absolute;
	width: var( --hmenu-hud-s );
	height: var( --hmenu-hud-s );
	pointer-events: none;
	border-color: var( --hmenu-hud-c );
	opacity: 0;
}

.hmenu.is-mobile.hmenu--hud.is-open .hmenu__hud {
	animation: hmenu-hud-in 0.5s ease 0.28s forwards;
}

.hmenu__hud--tl { top: 18px; left: 18px; border-top: 2px solid; border-left: 2px solid; }
.hmenu__hud--tr { top: 18px; right: 18px; border-top: 2px solid; border-right: 2px solid; }
.hmenu__hud--bl { bottom: 18px; left: 18px; border-bottom: 2px solid; border-left: 2px solid; }
.hmenu__hud--br { bottom: 18px; right: 18px; border-bottom: 2px solid; border-right: 2px solid; }

@keyframes hmenu-hud-in {
	from { opacity: 0; transform: scale( 0.4 ); }
	to   { opacity: 0.85; transform: scale( 1 ); }
}

/* ---------- Κεφαλίδα ---------- */

.hmenu.is-mobile.is-open .hmenu__head,
.hmenu.is-mobile.is-open .hmenu__contact,
.hmenu.is-mobile.is-open .hmenu__foot {
	animation: hmenu-fade-up 0.55s cubic-bezier( 0.22, 1, 0.36, 1 ) backwards;
}

.hmenu.is-mobile.is-open .hmenu__head    { animation-delay: 0.10s; }
.hmenu.is-mobile.is-open .hmenu__contact { animation-delay: 0.16s; }
.hmenu.is-mobile.is-open .hmenu__foot    { animation-delay: 0.30s; }

@keyframes hmenu-fade-up {
	from { opacity: 0; transform: translateY( 14px ); }
	to   { opacity: 1; transform: translateY( 0 ); }
}

.hmenu.is-mobile .hmenu__head {
	display: flex;
	flex-direction: column;
	gap: 7px;
	position: relative;
	z-index: 2;
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid var( --hmenu-divider );
}

.hmenu .hmenu__eyebrow {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var( --e-global-color-primary, #6796ec );
}

.hmenu .hmenu__brand {
	font-size: 17px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0.5px;
	color: #ffffff;
}

.hmenu .hmenu__subtitle {
	font-size: 12.5px;
	line-height: 1.5;
	color: var( --e-global-color-accent, #abc1de );
}

.hmenu .hmenu__status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var( --hmenu-status );
}

.hmenu .hmenu__dot {
	flex-shrink: 0;
	width: var( --hmenu-dot );
	height: var( --hmenu-dot );
	border-radius: 50%;
	background: var( --hmenu-status );
	box-shadow: 0 0 8px var( --hmenu-status );
	animation: hmenu-blink 1.6s ease-in-out infinite;
}

@keyframes hmenu-blink {
	0%, 100% { opacity: 1; transform: scale( 1 ); }
	50%      { opacity: 0.35; transform: scale( 0.75 ); }
}

/* ---------- Επικοινωνία ---------- */

.hmenu.is-mobile .hmenu__contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
	position: relative;
	z-index: 2;
	padding-bottom: 22px;
	margin-bottom: 22px;
	border-bottom: 1px solid var( --hmenu-divider );
}

.hmenu .hmenu__contact-row {
	display: flex;
	align-items: center;
	gap: 11px;
	font-size: 13.5px;
	line-height: 1.45;
	color: var( --hmenu-contact );
	text-decoration: none;
	word-break: break-word;
	transition: color 0.2s ease, transform 0.2s ease;
}

.hmenu .hmenu__contact-row:not( .hmenu__contact-row--plain ):hover {
	color: var( --hmenu-contact-hover );
	transform: translateX( 3px );
}

.hmenu .hmenu__ico {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	color: var( --e-global-color-primary, #6796ec );
}

.hmenu__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 4px;
}

.hmenu .hmenu__social {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	border: 1px solid rgba( 255, 255, 255, 0.14 );
	color: var( --hmenu-contact );
	font-size: 14px;
	text-decoration: none;
	transition: color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.hmenu .hmenu__social:hover {
	color: var( --hmenu-contact-hover );
	border-color: var( --e-global-color-primary, #6796ec );
	box-shadow: 0 0 14px -2px var( --e-global-color-primary, #6796ec );
	transform: translateY( -2px );
}

.hmenu .hmenu__social svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Links στο sidebar ---------- */

.hmenu.is-mobile .hmenu__list {
	position: relative;
	z-index: 2;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start !important;
	gap: 2px;
}

.hmenu.is-mobile .hmenu__list > li {
	border-bottom: 1px solid rgba( 255, 255, 255, 0.05 );
}

/* Κλιμακωτή είσοδος — μόνο όταν είναι ενεργό το εφέ. */
.hmenu.is-mobile .hmenu__list {
	perspective: 800px;
}

.hmenu.is-mobile.hmenu--stagger .hmenu__list > li {
	opacity: 0;
	transform: translateX( 30px );
}

.hmenu.is-mobile.hmenu--stagger.is-open .hmenu__list > li {
	animation: hmenu-item-in 0.5s cubic-bezier( 0.22, 1, 0.36, 1 ) forwards;
}

.hmenu--stagger.is-open .hmenu__list > li:nth-child( 1 )  { animation-delay: 0.16s; }
.hmenu--stagger.is-open .hmenu__list > li:nth-child( 2 )  { animation-delay: 0.22s; }
.hmenu--stagger.is-open .hmenu__list > li:nth-child( 3 )  { animation-delay: 0.28s; }
.hmenu--stagger.is-open .hmenu__list > li:nth-child( 4 )  { animation-delay: 0.34s; }
.hmenu--stagger.is-open .hmenu__list > li:nth-child( 5 )  { animation-delay: 0.40s; }
.hmenu--stagger.is-open .hmenu__list > li:nth-child( 6 )  { animation-delay: 0.46s; }
.hmenu--stagger.is-open .hmenu__list > li:nth-child( 7 )  { animation-delay: 0.52s; }
.hmenu--stagger.is-open .hmenu__list > li:nth-child( 8 )  { animation-delay: 0.58s; }
.hmenu--stagger.is-open .hmenu__list > li:nth-child( 9 )  { animation-delay: 0.64s; }
.hmenu--stagger.is-open .hmenu__list > li:nth-child( n + 10 ) { animation-delay: 0.70s; }

@keyframes hmenu-item-in {
	from { opacity: 0; transform: translateX( 30px ) rotateY( -12deg ); filter: blur( 4px ); }
	to   { opacity: 1; transform: translateX( 0 ) rotateY( 0 ); filter: blur( 0 ); }
}

.hmenu.is-mobile .hmenu__list > li > a,
.hmenu.is-mobile .hmenu__list > li > a:visited {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 15px 4px;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.4px;
	white-space: normal;
	color: #ffffff;
}

/* Το underline του desktop δεν ισχύει μέσα στο sidebar. */
.hmenu.is-mobile .hmenu__list > li > a::after {
	content: none;
}

/* Αρίθμηση 01 / 02 / 03 */

.hmenu.is-mobile.hmenu--numbers .hmenu__list > li > a::before {
	counter-increment: hmenu;
	content: counter( hmenu, decimal-leading-zero );
	flex-shrink: 0;
	min-width: 24px;
	font-size: var( --hmenu-num-size );
	font-weight: 700;
	letter-spacing: 1px;
	color: var( --hmenu-num );
	opacity: 0.8;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.hmenu.is-mobile.hmenu--numbers .hmenu__list > li > a:hover::before {
	opacity: 1;
	transform: translateY( -2px );
}

/* Βέλος — flex item με margin-left:auto, ώστε να μη στοιβάζεται
   πάνω στο κείμενο ούτε να βγαίνει έξω από το panel. */

.hmenu.is-mobile.hmenu--arrow .hmenu__list > li > a::after {
	content: '';
	display: block;
	flex-shrink: 0;
	margin-left: auto;
	width: var( --hmenu-arrow-s );
	height: var( --hmenu-arrow-s );
	background-color: var( --hmenu-arrow-c );
	-webkit-mask: var( --hr-ico-arrow-right ) center / contain no-repeat;
	mask: var( --hr-ico-arrow-right ) center / contain no-repeat;
	opacity: 0;
	transform: translateX( -8px );
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.hmenu.is-mobile.hmenu--arrow .hmenu__list > li > a:hover::after {
	opacity: 1;
	transform: translateX( 0 );
}

/* Φωτεινή πλαϊνή γραμμή */

.hmenu.is-mobile.hmenu--bar .hmenu__list > li::before {
	content: '';
	position: absolute;
	left: -14px;
	top: 50%;
	width: 3px;
	height: 0;
	background: var( --hmenu-bar );
	box-shadow: 0 0 10px var( --hmenu-bar );
	transform: translateY( -50% );
	transition: height 0.3s cubic-bezier( 0.65, 0, 0.35, 1 );
}

.hmenu.is-mobile.hmenu--bar .hmenu__list > li:hover::before,
.hmenu.is-mobile.hmenu--bar .hmenu__list > li.current-menu-item::before {
	height: 62%;
}

/* Glitch */

.hmenu.is-mobile.hmenu--glitch .hmenu__list > li > a:hover {
	animation: hmenu-glitch 0.32s steps( 2, end ) 1;
}

@keyframes hmenu-glitch {
	0%   { text-shadow: none; transform: translateX( 0 ); }
	25%  { text-shadow: -2px 0 var( --hmenu-status ), 2px 0 var( --hmenu-num ); transform: translateX( 2px ); }
	50%  { text-shadow: 2px 0 var( --hmenu-status ), -2px 0 var( --hmenu-num ); transform: translateX( -2px ); }
	75%  { text-shadow: -1px 0 var( --hmenu-num ); transform: translateX( 1px ); }
	100% { text-shadow: none; transform: translateX( 0 ); }
}

/* Υπο-μενού στο sidebar */

.hmenu.is-mobile .hmenu__list ul.sub-menu {
	position: static;
	opacity: 1;
	visibility: visible;
	transform: none;
	box-shadow: none;
	background: transparent;
	padding: 0 0 10px 20px;
	margin: 0 0 0 6px;
	border-left: 1px solid var( --hmenu-divider );
}

.hmenu.is-mobile .hmenu__list ul.sub-menu a,
.hmenu.is-mobile .hmenu__list ul.sub-menu a:visited {
	padding: 9px 4px;
	font-size: 14px;
	font-weight: 500;
	color: var( --e-global-color-accent, #abc1de );
}

.hmenu.is-mobile .hmenu__list ul.sub-menu a:hover {
	color: #ffffff;
}

/* ---------- Υποσέλιδο ---------- */

.hmenu.is-mobile .hmenu__foot {
	display: block;
	position: relative;
	z-index: 2;
	margin-top: auto;
	padding-top: 22px;
	font-size: 11.5px;
	line-height: 1.5;
	color: #6e7a87;
	border-top: 1px solid var( --hmenu-divider );
}

/* ==========================================================
   Responsive — μικρές οθόνες
   ========================================================== */

@media ( max-width: 520px ) {
	.hmenu.is-mobile .hmenu__panel {
		width: min( var( --hmenu-side-w ), 88vw );
		padding-top: 74px;
	}

	.hmenu.is-mobile .hmenu__list > li > a {
		font-size: 16px;
		padding-top: 13px;
		padding-bottom: 13px;
	}

	.hmenu .hmenu__brand { font-size: 16px; }

	/* Σε πολύ στενή οθόνη τα μεγάλα emails ξεχειλίζουν. */
	.hmenu .hmenu__contact-row { font-size: 13px; }

	.hmenu__hud--tl, .hmenu__hud--tr { top: 12px; }
	.hmenu__hud--bl, .hmenu__hud--br { bottom: 12px; }
	.hmenu__hud--tl, .hmenu__hud--bl { left: 12px; }
	.hmenu__hud--tr, .hmenu__hud--br { right: 12px; }
}

/* Χαμηλές οθόνες σε landscape: το sidebar πρέπει να κυλάει σωστά. */
@media ( max-height: 520px ) {
	.hmenu.is-mobile .hmenu__panel {
		padding-top: 64px;
		padding-bottom: 20px;
	}

	.hmenu.is-mobile .hmenu__list > li > a {
		padding-top: 11px;
		padding-bottom: 11px;
		font-size: 15px;
	}

	.hmenu.is-mobile .hmenu__head,
	.hmenu.is-mobile .hmenu__contact {
		padding-bottom: 14px;
		margin-bottom: 14px;
	}
}

/* ---------- Προσβασιμότητα ---------- */

@media ( prefers-reduced-motion: reduce ) {
	.hmenu__scan,
	.hmenu__dot,
	.hmenu__orb,
	.hmenu.is-mobile.is-open .hmenu__head,
	.hmenu.is-mobile.is-open .hmenu__contact,
	.hmenu.is-mobile.is-open .hmenu__foot,
	.hmenu.is-mobile.hmenu--grid .hmenu__panel::before {
		animation: none !important;
	}

	.hmenu.is-mobile.hmenu--stagger .hmenu__list > li {
		opacity: 1;
		transform: none;
		animation: none !important;
	}

	.hmenu.is-mobile.hmenu--glitch .hmenu__list > li > a:hover {
		animation: none;
	}
}
