/**
 * Go1 Transfer Suite — Global Header (v2.3.64)
 *
 * Header global renderizado por el plugin en wp_body_open.
 * Oculta los headers antiguos duplicados dentro del contenido Elementor.
 */

/* ── Ocultar headers antiguos de Elementor ───────────────────────────── */
.elementor-element-c8721fe,
.elementor-element-065dd25 {
	display: none !important;
}

/* ── Header base ─────────────────────────────────────────────────────── */
#go1ts-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 120;
	background: transparent;
	padding: 18px 0;
	font-family: 'Poppins', sans-serif;
}

#go1ts-header .go1ts-header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

#go1ts-header a {
	text-decoration: none;
}

/* ── Logo ────────────────────────────────────────────────────────────── */
#go1ts-header .go1ts-header-logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	line-height: 0;
}

#go1ts-header .go1ts-header-logo img {
	width: 111px;
	height: 47px;
	max-width: none;
	display: block;
}

/* ── Nav pill central (desktop) ──────────────────────────────────────── */
#go1ts-header .go1ts-header-nav {
	background: rgba(217, 217, 217, 0.33);
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 999px;
	padding: 6px;
	display: flex;
	gap: 4px;
}

#go1ts-header .go1ts-nav-pill {
	padding: 10px 22px;
	border-radius: 999px;
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	line-height: 1.2;
	white-space: nowrap;
	transition: background .2s ease, color .2s ease;
}

#go1ts-header .go1ts-nav-pill:hover {
	background: rgba(255, 255, 255, 0.15);
}

#go1ts-header .go1ts-nav-pill.is-active {
	background: #fff;
	color: #0a1f3c;
	font-weight: 500;
}

/* ── Bloque derecho ──────────────────────────────────────────────────── */
#go1ts-header .go1ts-header-right {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

/* ── Selector de idioma ──────────────────────────────────────────────── */
#go1ts-header .go1ts-lang {
	position: relative;
}

#go1ts-header .go1ts-lang-btn {
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 999px;
	padding: 9px 14px;
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	cursor: pointer;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	line-height: 1.2;
}

#go1ts-header .go1ts-lang-caret {
	font-size: 10px;
	opacity: .8;
}

#go1ts-header .go1ts-lang-list {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	background: #071436;
	border-radius: 14px;
	padding: 8px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
	z-index: 130;
	min-width: 170px;
	display: none;
}

#go1ts-header .go1ts-lang.is-open .go1ts-lang-list {
	display: block;
}

#go1ts-header .go1ts-lang-list a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 10px;
	color: #fff;
	font-size: 14px;
	white-space: nowrap;
}

#go1ts-header .go1ts-lang-list a:hover {
	background: rgba(255, 255, 255, .08);
}

/* ── Botón "Mi reserva" ──────────────────────────────────────────────── */
#go1ts-header .go1ts-booking-btn {
	background: rgba(217, 217, 217, 0.85);
	color: #0a1f3c;
	border-radius: 999px;
	padding: 9px 8px 9px 20px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
	font-size: 15px;
	white-space: nowrap;
	transition: background .2s ease;
}

#go1ts-header .go1ts-booking-btn:hover {
	background: #fff;
}

#go1ts-header .go1ts-booking-icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #0a1f3c;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* ── Hamburguesa (oculta en desktop) ─────────────────────────────────── */
#go1ts-header .go1ts-burger {
	display: none;
	width: 44px;
	height: 44px;
	background: transparent;
	border: 0;
	padding: 10px;
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
}

#go1ts-header .go1ts-burger-bar {
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: #fff;
	transition: transform .25s ease, opacity .25s ease;
}

#go1ts-header .go1ts-burger.is-open .go1ts-burger-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
#go1ts-header .go1ts-burger.is-open .go1ts-burger-bar:nth-child(2) {
	opacity: 0;
}
#go1ts-header .go1ts-burger.is-open .go1ts-burger-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ── Panel móvil ─────────────────────────────────────────────────────── */
#go1ts-header .go1ts-mobile-panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #071436f2;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-radius: 0 0 18px 18px;
	padding: 18px;
	display: none;
	z-index: 125;
}

#go1ts-header .go1ts-mobile-panel.is-open {
	display: block;
}

#go1ts-header .go1ts-mobile-panel a {
	display: block;
	padding: 14px;
	color: #fff;
	font-size: 17px;
	border-bottom: 1px solid rgba(255, 255, 255, .07);
}

#go1ts-header .go1ts-mobile-panel a:last-of-type {
	border-bottom: 0;
}

#go1ts-header .go1ts-mobile-panel a.go1ts-mobile-booking {
	background: #00C4BE;
	color: #04122e;
	border-radius: 12px;
	text-align: center;
	margin-top: 10px;
	font-weight: 500;
	border-bottom: 0;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 880px) {
	#go1ts-header .go1ts-header-nav,
	#go1ts-header .go1ts-booking-btn {
		display: none;
	}
	#go1ts-header .go1ts-burger {
		display: inline-flex;
	}
	#go1ts-header .go1ts-header-right {
		gap: 8px;
	}
}

/* Compensar la barra de admin de WP (solo usuarios logueados) */
body.admin-bar #go1ts-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar #go1ts-header { top: 46px; } }

/* Móvil: header en flujo (no flotante) para no tapar el contenido */
@media (max-width: 880px) {
	#go1ts-header { position: relative; top: auto !important; background: #010B28; padding: 12px 0; }
	body.admin-bar #go1ts-header { top: auto !important; }
}

/* Solo la portada lleva header flotante; el resto en flujo con fondo navy */
#go1ts-header.go1ts-header--solid { position: relative; top: auto !important; background: #010B28; }
body.admin-bar #go1ts-header.go1ts-header--solid { top: auto !important; }

/* ════════════════════════════════════════════════════════════════
 * v2.3.70 — Móvil booking form (integrado desde snippet producción)
 * ════════════════════════════════════════════════════════════════ */
.chbs-main .chbs-circle{color:#0a1e3f !important;border-color:#0a1e3f !important;}
@media (max-width: 960px) {
	.chbs-main .chbs-layout-25x75 > .chbs-layout-column-left, .chbs-main .chbs-layout-25x75 > .chbs-layout-column-right { width:100% !important; float:none !important; }
	.chbs-main .chbs-main-content-step-2 > .chbs-layout-25x75 > .chbs-layout-column-right, .chbs-main .chbs-main-content-step-3 > .chbs-layout-25x75 > .chbs-layout-column-right, .chbs-main .chbs-main-content-step-2 > .chbs-layout-25x75 > .chbs-layout-column-left, .chbs-main .chbs-main-content-step-3 > .chbs-layout-25x75 > .chbs-layout-column-left { width:100% !important; float:none !important; }
	.chbs-main .chbs-form-field.chbs-form-field-width-50, .chbs-main .chbs-form-field.chbs-form-field-width-33, .chbs-main .chbs-form-field.chbs-form-field-width-25 { width:100% !important; float:none !important; }
	.chbs-main .chbs-tab { width:100% !important; }
	#go1-route-map-wrap { margin-bottom:24px !important; }
	.chbs-main .chbs-main-content-step-3 > .chbs-layout-25x75 > .chbs-layout-column-left { margin-bottom:24px !important; }
}
