/**
 * SauraTrans · Menú de escritorio
 */

.st-desktop-header {
	position: relative;
	--st-primary:#10a8b8;
	--st-accent:#26b7c6;
	--st-dark:#071a28;
	--st-light:#f5f7fa;
	z-index: 9990;
	width: 100%;
	color: var(--st-text, #24313a);
	background: #fff;
}

.st-desktop-menu-sticky .st-desktop-header {
	position: sticky;
	top: 0;
}

body.admin-bar.st-desktop-menu-sticky .st-desktop-header {
	top: 32px;
}

.st-desktop-container {
	width: min(calc(100% - 48px), var(--st-desktop-max-width, 1440px));
	margin-inline: auto;
}

.st-desktop-topbar {
	min-height: 38px;
	background: var(--st-dark, #0b1720);
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	line-height: 1.3;
}

.st-desktop-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 38px;
}

.st-desktop-topbar__message {
	font-weight: 600;
	letter-spacing: 0.02em;
}

.st-desktop-topbar__links {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
}

.st-desktop-topbar__links a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: inherit;
	text-decoration: none;
	transition: color 180ms ease;
}

.st-desktop-topbar__links a:hover,
.st-desktop-topbar__links a:focus-visible {
	color: #fff;
}

.st-desktop-topbar__station {
	color: var(--st-accent, #e6a321) !important;
	font-weight: 700;
}

.st-desktop-mainbar {
	min-height: var(--st-desktop-header-height, 88px);
	border-bottom: 1px solid rgba(36, 49, 58, 0.10);
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(10px);
	transition:
		background-color 220ms ease,
		box-shadow 220ms ease,
		border-color 220ms ease;
}

.st-desktop-header.is-scrolled .st-desktop-mainbar {
	box-shadow: var(--st-desktop-header-shadow, 0 12px 34px rgba(11, 23, 32, 0.10));
}

.st-desktop-mainbar__inner {
	display: grid;
	grid-template-columns: minmax(220px, max(var(--st-desktop-logo-width, 250px), 300px)) minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(22px, 3vw, 52px);
	min-height: var(--st-desktop-header-height, 88px);
}

.st-desktop-logo {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: min(100%, max(var(--st-desktop-logo-width, 250px), 300px));
	color: var(--st-primary, #12304a);
	text-decoration: none;
}

.st-desktop-logo__image {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: calc(var(--st-desktop-header-height, 88px) - 16px);
	height: auto;
	object-fit: contain;
	object-position: left center;
}

.st-desktop-logo__text {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.st-desktop-nav {
	min-width: 0;
}

.st-desktop-menu {
	display: flex;
	align-items: stretch;
	justify-content: flex-end;
	gap: clamp(4px, 0.7vw, 12px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.st-desktop-menu li {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

.st-desktop-menu > li {
	display: flex;
	align-items: stretch;
}

.st-desktop-menu a {
	text-decoration: none;
}

.st-desktop-menu > li > a {
	position: relative;
	display: flex;
	align-items: center;
	min-height: var(--st-desktop-header-height, 88px);
	padding: 0 clamp(8px, 0.85vw, 15px);
	color: var(--st-text, #24313a);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.15;
	white-space: nowrap;
	transition: color 180ms ease;
}

.st-desktop-menu > li > a::after {
	position: absolute;
	right: 12px;
	bottom: 18px;
	left: 12px;
	height: 3px;
	border-radius: 999px;
	background: var(--st-accent, #e6a321);
	content: "";
	opacity: 0;
	transform: scaleX(0.45);
	transition:
		opacity 180ms ease,
		transform 180ms ease;
}

.st-desktop-menu > li:hover > a,
.st-desktop-menu > li:focus-within > a,
.st-desktop-menu > li.current-menu-item > a,
.st-desktop-menu > li.current-menu-ancestor > a {
	color: var(--st-primary, #12304a);
}

.st-desktop-menu > li:hover > a::after,
.st-desktop-menu > li:focus-within > a::after,
.st-desktop-menu > li.current-menu-item > a::after,
.st-desktop-menu > li.current-menu-ancestor > a::after {
	opacity: 1;
	transform: scaleX(1);
}

.st-submenu-toggle {
	align-self: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-left: -8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--st-text, #24313a);
	cursor: pointer;
	transition:
		background-color 180ms ease,
		color 180ms ease,
		transform 180ms ease;
}

.st-submenu-toggle:hover,
.st-submenu-toggle:focus-visible {
	background: var(--st-light, #f4f7f9);
	color: var(--st-primary, #12304a);
}

.st-submenu-toggle::before {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

.menu-item.is-open > .st-submenu-toggle {
	transform: rotate(180deg);
}

.st-desktop-menu .sub-menu {
	position: absolute;
	top: calc(100% - 8px);
	left: 50%;
	z-index: 50;
	width: var(--st-desktop-dropdown-width, 250px);
	margin: 0;
	padding: 10px;
	border: 1px solid rgba(36, 49, 58, 0.10);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 20px 48px rgba(11, 23, 32, 0.15);
	list-style: none;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 10px);
	transition:
		opacity 170ms ease,
		transform 170ms ease;
}

.st-desktop-menu .sub-menu .sub-menu {
	top: -10px;
	left: calc(100% + 10px);
	transform: translate(8px, 0);
}

.st-desktop-menu li:hover > .sub-menu,
.st-desktop-menu li:focus-within > .sub-menu,
.st-desktop-menu li.is-open > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.st-desktop-menu .sub-menu li:hover > .sub-menu,
.st-desktop-menu .sub-menu li:focus-within > .sub-menu,
.st-desktop-menu .sub-menu li.is-open > .sub-menu {
	transform: translate(0, 0);
}

.st-desktop-menu .sub-menu a {
	display: flex;
	align-items: center;
	min-height: 43px;
	padding: 10px 12px;
	border-radius: 9px;
	color: var(--st-text, #24313a);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.25;
	transition:
		background-color 170ms ease,
		color 170ms ease,
		padding-left 170ms ease;
}

.st-desktop-menu .sub-menu a:hover,
.st-desktop-menu .sub-menu a:focus-visible,
.st-desktop-menu .sub-menu .current-menu-item > a {
	padding-left: 16px;
	background: var(--st-light, #f4f7f9);
	color: var(--st-primary, #12304a);
}

.st-desktop-menu .sub-menu .st-submenu-toggle {
	position: absolute;
	top: 8px;
	right: 8px;
	margin: 0;
	transform: rotate(-90deg);
}

.st-desktop-menu .sub-menu .menu-item.is-open > .st-submenu-toggle {
	transform: rotate(90deg);
}

.st-desktop-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 46px;
	padding: 12px 18px;
	border: 1px solid var(--st-primary, #12304a);
	border-radius: 9px;
	background: var(--st-primary, #12304a);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.15;
	text-decoration: none;
	white-space: nowrap;
	transition:
		background-color 180ms ease,
		border-color 180ms ease,
		color 180ms ease,
		transform 180ms ease;
}

.st-desktop-cta:hover,
.st-desktop-cta:focus-visible {
	border-color: var(--st-accent, #e6a321);
	background: var(--st-accent, #e6a321);
	color: var(--st-dark, #0b1720);
	transform: translateY(-1px);
}

.st-desktop-menu-transparent-home:not(.st-desktop-header-scrolled) .st-desktop-header {
	position: absolute;
	top: 0;
	left: 0;
}

body.admin-bar.st-desktop-menu-transparent-home:not(.st-desktop-header-scrolled) .st-desktop-header {
	top: 32px;
}

.st-desktop-menu-transparent-home:not(.st-desktop-header-scrolled) .st-desktop-mainbar {
	border-bottom-color: rgba(255, 255, 255, 0.18);
	background: transparent;
}

.st-desktop-menu-transparent-home:not(.st-desktop-header-scrolled) .st-desktop-menu > li > a,
.st-desktop-menu-transparent-home:not(.st-desktop-header-scrolled) .st-desktop-logo,
.st-desktop-menu-transparent-home:not(.st-desktop-header-scrolled) .st-submenu-toggle {
	color: #fff;
}

@media (max-width: 1180px) {
	.st-desktop-container {
		width: min(calc(100% - 32px), var(--st-desktop-max-width, 1440px));
	}

	.st-desktop-mainbar__inner {
		gap: 18px;
	}

	.st-desktop-menu > li > a {
		padding-inline: 8px;
		font-size: 14px;
	}

	.st-desktop-cta {
		padding-inline: 13px;
	}

	.st-desktop-topbar__links {
		gap: 14px;
	}
}

@media (max-width: 1050px) {
	.st-desktop-topbar__message {
		display: none;
	}

	.st-desktop-topbar__links {
		width: 100%;
		justify-content: flex-end;
	}
}

@media (max-width: 782px) {
	body.admin-bar.st-desktop-menu-sticky .st-desktop-header,
	body.admin-bar.st-desktop-menu-transparent-home:not(.st-desktop-header-scrolled) .st-desktop-header {
		top: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.st-desktop-mainbar,
	.st-desktop-topbar__links a,
	.st-desktop-menu > li > a,
	.st-desktop-menu > li > a::after,
	.st-submenu-toggle,
	.st-desktop-menu .sub-menu,
	.st-desktop-menu .sub-menu a,
	.st-desktop-cta {
		transition: none;
	}
}

body.st-desktop-menu-enabled #st-desktop-header{isolation:isolate}
.st-desktop-mainbar{box-shadow:0 10px 28px rgba(7,20,31,.06)}
.st-desktop-logo__image{filter:drop-shadow(0 6px 12px rgba(0,0,0,.06))}
.st-desktop-cta{
	background:linear-gradient(180deg,var(--st-primary,#10a8b8),#0b8695);
	border-color:#0b8695;
	color:#fff;
	box-shadow:0 12px 24px rgba(16,168,184,.18);
	transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease;
}
.st-desktop-cta:hover,.st-desktop-cta:focus-visible{
	transform:translateY(-2px);
	background:linear-gradient(180deg,var(--st-accent,#dc3d78),#c42d67);
	border-color:#c42d67;
	color:#fff;
	box-shadow:0 14px 28px rgba(220,61,120,.20);
}

.st-desktop-station-link{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:11px 16px;border:1px solid rgba(16,151,167,.25);border-radius:12px;background:rgba(16,151,167,.08);color:var(--st-primary,#1097a7)!important;text-decoration:none!important;font-weight:800;white-space:nowrap;transition:transform .22s ease,background-color .22s ease,border-color .22s ease,color .22s ease}
.st-desktop-station-link:hover,.st-desktop-station-link:focus-visible{transform:translateY(-2px);background:rgba(16,151,167,.16);border-color:rgba(16,151,167,.45);color:#0b7381!important}
.st-desktop-topbar__station{color:var(--st-primary,#1097a7)!important}
.st-desktop-cta{background:linear-gradient(180deg,var(--st-accent,#26b7c6),var(--st-primary,#1097a7));border-color:#0b7381;color:#fff;box-shadow:0 12px 24px rgba(16,151,167,.18)}
.st-desktop-cta:hover,.st-desktop-cta:focus-visible{background:#fff;border-color:#1097a7;color:#0b7381;box-shadow:0 14px 28px rgba(16,151,167,.14)}
@media(max-width:1100px){.st-desktop-station-link{display:none}}

.st-desktop-station-link{display:none!important}.st-desktop-menu__station-item>a{font-weight:800}.st-desktop-menu__station-item>a::after{background:var(--st-primary,#1097a7)!important} @media(max-width:1200px){.st-desktop-mainbar__inner{gap:clamp(14px,2vw,26px)}.st-desktop-menu>li>a{padding:0 10px;font-size:14px}}

/* v1.0.5 */
.st-desktop-mainbar__inner{grid-template-columns:minmax(300px,360px) minmax(0,1fr) auto!important;gap:clamp(18px,2.3vw,38px)!important}
.st-desktop-logo{width:360px!important;max-width:100%!important}
.st-desktop-logo__image{width:100%!important;max-width:360px!important;max-height:72px!important;filter:drop-shadow(0 8px 16px rgba(0,0,0,.10))!important}
.st-desktop-menu__station-item>a{min-height:46px!important;margin:auto 4px!important;padding:0 18px!important;border:1px solid rgba(16,151,167,.30)!important;border-radius:999px!important;background:linear-gradient(180deg,rgba(38,183,198,.16),rgba(16,151,167,.08))!important;color:#0b7381!important;font-weight:900!important;box-shadow:0 9px 22px rgba(16,151,167,.10)!important;transition:transform .22s ease,background .22s ease,color .22s ease!important}
.st-desktop-menu__station-item>a::before{content:"⛽";margin-right:8px;font-size:15px}
.st-desktop-menu__station-item>a::after{display:none!important}
.st-desktop-menu__station-item>a:hover{transform:translateY(-2px);background:linear-gradient(180deg,#2bc4d1,#0d91a1)!important;color:#fff!important;box-shadow:0 14px 28px rgba(16,151,167,.22)!important}
@media(max-width:1250px){.st-desktop-mainbar__inner{grid-template-columns:minmax(250px,310px) minmax(0,1fr) auto!important}.st-desktop-logo{width:310px!important}.st-desktop-logo__image{max-width:310px!important}.st-desktop-menu>li>a{padding-inline:9px!important;font-size:14px!important}.st-desktop-menu__station-item>a{padding-inline:13px!important}}


/* SauraTrans 1.0.6 · Cabecera pegada al viewport y al slider. */
html.st-desktop-menu-no-admin-gap {
	margin-top: 0 !important;
}
body.st-desktop-menu-enabled,
body.st-desktop-menu-enabled #top,
body.st-desktop-menu-enabled #wrap_all,
body.st-desktop-menu-enabled #main {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
body.st-desktop-menu-enabled #st-desktop-header,
body.st-desktop-menu-enabled .st-desktop-topbar,
body.st-desktop-menu-enabled .st-desktop-mainbar {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
body.st-desktop-menu-enabled #main > .container_wrap:first-child,
body.st-desktop-menu-enabled #main > .avia-section:first-child,
body.st-desktop-menu-enabled #main > .avia-layerslider:first-child,
body.st-desktop-menu-enabled #main .avia-builder-el-first,
body.st-desktop-menu-enabled #main .ls-wp-container:first-child,
body.st-desktop-menu-enabled #main .ls-container:first-child {
	margin-top: 0 !important;
	padding-top: 0 !important;
	border-top-width: 0 !important;
}
html.html_header_top.html_header_sticky body.st-desktop-menu-enabled #top #wrap_all #main,
html.html_header_top body.st-desktop-menu-enabled #top #wrap_all #main {
	padding-top: 0 !important;
}


/* SauraTrans 2.0 · menú de una sola página */
.st-desktop-mainbar__inner{grid-template-columns:minmax(260px,360px) minmax(0,1fr)!important}
.st-desktop-nav{justify-self:end!important}
.st-desktop-cta{display:none!important}
.st-desktop-menu--onepage{justify-content:flex-end!important;gap:16px!important}
.st-desktop-menu--onepage>li>a{min-height:52px;padding:0 20px!important;border-radius:14px;font-size:15px!important}
.st-desktop-menu--onepage .st-desktop-menu__station-item>a{display:inline-flex!important;align-items:center!important;gap:9px!important;border:1px solid rgba(16,151,167,.32)!important;background:linear-gradient(180deg,rgba(38,183,198,.12),rgba(16,151,167,.07))!important;color:#0a7380!important;box-shadow:0 10px 24px rgba(16,151,167,.10)!important}
.st-desktop-menu--onepage .st-desktop-menu__station-item>a:hover{background:linear-gradient(180deg,#26b7c6,#1097a7)!important;color:#fff!important;transform:translateY(-2px)}
.st-desktop-menu--onepage .st-desktop-menu__station-item>a:after{display:none!important}
@media(max-width:1100px){.st-desktop-menu--onepage{gap:8px!important}.st-desktop-menu--onepage>li>a{padding:0 14px!important}}


/* v2.0.1: menú reducido a la estación */
.st-desktop-menu--onepage{justify-content:flex-end!important}
.st-desktop-menu--onepage .st-desktop-menu__station-item>a{
	display:inline-flex!important;align-items:center!important;gap:12px!important;
	min-height:58px!important;padding:8px 20px!important;border-radius:18px!important;
}
.st-desktop-menu__station-item>a::before{display:none!important;content:none!important}
.st-station-menu-icon{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:34px;height:34px;border-radius:11px;background:rgba(16,151,167,.13);font-size:17px;line-height:1}
.st-station-menu-copy{display:grid;gap:2px;line-height:1.05;text-align:left}
.st-station-menu-copy strong{font-size:15px;font-weight:900;white-space:nowrap}
.st-station-menu-copy small{font-size:10px;font-weight:800;letter-spacing:.10em;text-transform:uppercase;opacity:.62;white-space:nowrap}
.st-desktop-menu__station-item>a:hover .st-station-menu-icon{background:rgba(255,255,255,.18)}

.st-desktop-menu a,.st-desktop-logo{position:relative;z-index:10;pointer-events:auto!important;cursor:pointer}.st-desktop-menu__station-item>a *{pointer-events:none}
