/* Priority: 110 */

/*
 * GF Estet mobile navigation and successful form state.
 * The content remains native WordPress/WPBakery; this file only controls presentation.
 */

.gf-mobile-submenu,
.gf-mobile-services,
.gf-mobile-menu__booking,
.gf-mobile-menu-toggle,
.gf-mobile-booking-fab {
	display: none;
}

body header .gf-mobile-booking-fab.btn {
	display: none !important;
}

@media (max-width: 991px) {
	body.gf-mobile-menu-open {
		overflow: hidden;
	}

	body.gf-mobile-menu-open header {
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		width: 100%;
	}

	header {
		min-height: 66px;
		padding: 0 !important;
		background: #fff;
		z-index: 1000;
	}

	header .mobile-wrapper {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 12px var(--outsideGap) !important;
		box-sizing: border-box;
	}

	header .mobile-wrapper .first-row {
		position: relative;
		z-index: 1002;
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		height: 42px;
	}

	header .mobile-wrapper .logo,
	header .mobile-wrapper .logo img {
		display: block;
		width: 113.647px;
		height: 42px !important;
		margin: 0 !important;
		object-fit: contain;
		object-position: left center;
	}

	header .mobile-wrapper .mobile-buttons {
		display: flex;
		align-items: center;
		gap: 24px !important;
	}

	header .mobile-wrapper .mobile-buttons > .header-button {
		display: none !important;
	}

	header .gf-mobile-header__icon-link,
	header .gf-mobile-menu-toggle {
		display: flex;
		flex: 0 0 32px;
		align-items: center;
		justify-content: center;
		width: 32px !important;
		height: 32px !important;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
		box-sizing: border-box;
		color: var(--contentColor);
		cursor: pointer;
	}

	header .gf-mobile-header__icon-link > svg {
		display: block;
		max-width: none !important;
		max-height: none !important;
	}

	header .gf-mobile-header__icon-link.max > svg {
		width: 24.41px !important;
		height: 24.32px !important;
	}

	header .gf-mobile-header__icon-link.phone > svg {
		width: 24.5px !important;
		height: 24.5px !important;
	}

	.gf-mobile-menu-toggle__burger {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		justify-content: center;
		gap: 7px;
		width: 28px;
		height: 20px;
	}

	.gf-mobile-menu-toggle__burger i {
		display: block;
		width: 28px;
		height: 1.4px;
		margin: 0;
		background: var(--contentColor);
		border-radius: 1px;
	}

	.gf-mobile-menu-toggle__burger i:nth-child(2) {
		width: 22px;
	}

	.gf-mobile-menu-toggle__close {
		display: none;
		width: 19.5px;
		height: 19.5px;
	}

	.gf-mobile-menu-toggle__close svg {
		display: block;
		width: 19.5px;
		height: 19.5px;
	}

	header.gf-mobile-menu-open .gf-mobile-menu-toggle__burger {
		display: none;
	}

	header.gf-mobile-menu-open .gf-mobile-menu-toggle__close {
		display: block;
	}

	header .nav-mobile {
		position: fixed;
		inset: 0;
		z-index: 1001;
		display: flex;
		flex-direction: column;
		width: 100%;
		height: 100vh;
		height: 100dvh;
		margin: 0;
		padding: 66px 0 0 !important;
		background: #fff;
		box-sizing: border-box;
		overflow-x: hidden;
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 160ms ease, visibility 160ms ease;
	}

	header.gf-mobile-menu-open .nav-mobile {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	header .gf-mobile-services {
		display: block;
		padding: 32px var(--outsideGap);
	}

	header .gf-mobile-services__list {
		display: flex;
		flex-direction: column;
		gap: 20px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	header .gf-mobile-services__list li {
		margin: 0 !important;
		padding: 0;
	}

	header .gf-mobile-services__list a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		position: static;
		color: var(--contentColor);
		font-family: var(--textFont);
		font-size: 21px;
		font-weight: var(--textWeight);
		line-height: 24px;
		letter-spacing: -0.42px;
		margin: 0 !important;
		text-decoration: none;
	}

	header .gf-mobile-services__caret {
		flex: 0 0 18px;
		width: 18px;
		height: 18px;
	}

	header .gf-mobile-menu--sublevel > .gf-mobile-services,
	header .gf-mobile-menu--sublevel > .gf-mobile-menu__secondary,
	header .gf-mobile-submenu[hidden] {
		display: none;
	}

	header .gf-mobile-submenu:not([hidden]) {
		display: block;
		flex-shrink: 0;
		padding: 20px var(--outsideGap) 0;
		color: var(--contentColor);
		font-family: var(--textFont);
		font-weight: var(--textWeight);
		font-size: 16px;
		line-height: 20px;
		letter-spacing: -0.32px;
	}

	header .gf-mobile-submenu__back {
		display: flex;
		align-items: center;
		gap: 4px;
		margin: 0 0 24px;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: inherit;
		font: inherit;
		letter-spacing: inherit;
		cursor: pointer;
	}

	header .gf-mobile-submenu__back span,
	header .gf-mobile-submenu__title,
	header .nav-mobile .gf-mobile-submenu__all {
		text-box-trim: trim-both;
		text-box-edge: cap alphabetic;
	}

	header .gf-mobile-submenu__back img {
		width: 11px;
		height: 11px;
		flex: 0 0 11px;
	}

	header .gf-mobile-submenu__heading {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 16px 0 20px;
		flex-wrap: wrap;
	}

	header .gf-mobile-submenu__title {
		font-size: 18px;
		line-height: 22px;
		letter-spacing: -0.36px;
	}

	header .nav-mobile .gf-mobile-submenu__all {
		flex-shrink: 0;
		color: var(--primary500);
		font-size: 14px;
		line-height: 16px;
		letter-spacing: 0;
		text-decoration: none;
	}

	header .gf-mobile-submenu__list {
		display: block;
		margin: 0;
		padding: 0;
		list-style: none;
		border-top: 1px solid var(--dividerDefault);
	}

	header .gf-mobile-submenu__list li {
		display: block;
		font: inherit;
		margin: 0 !important;
		padding: 0;
		border-bottom: 1px solid var(--dividerDefault);
	}

	header .gf-mobile-submenu__list a {
		display: block;
		position: static;
		margin: 0 !important;
		padding: 16px 0;
		color: inherit;
		font: inherit;
		letter-spacing: inherit;
		text-decoration: none;
		overflow-wrap: anywhere;
	}

	header .gf-mobile-menu__secondary {
		width: calc(100% - 2 * var(--outsideGap));
		margin: 0 auto;
		border-top: 1px solid rgba(0, 0, 0, 0.15);
		border-bottom: 1px solid rgba(0, 0, 0, 0.15);
	}

	header .nav-mobile .gf-mobile-menu__secondary-list {
		display: flex;
		flex-direction: column;
		gap: 0;
		width: 100%;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	header .nav-mobile .gf-mobile-menu__secondary-list > .menu-item {
		display: block;
		width: 100%;
		margin: 0;
		padding: 0;
		white-space: normal;
	}

	header .nav-mobile .gf-mobile-menu__secondary-list > li:not(:last-child) {
		border-bottom: 1px solid var(--dividerDefault);
	}

	header .nav-mobile .gf-mobile-menu__secondary-list > .menu-item:first-child {
		display: none;
	}

	header .nav-mobile .gf-mobile-menu__secondary-list > .menu-item > a {
		display: block;
		width: 100%;
		margin: 0 !important;
		padding: 16px 0;
		color: var(--contentColor);
		font-family: var(--textFont);
		font-size: 16px;
		font-weight: var(--textWeight);
		line-height: 20px;
		letter-spacing: 0;
		text-decoration: none;
		box-sizing: border-box;
	}

	header .gf-mobile-menu__booking {
		display: block;
		width: 100%;
		margin-top: auto;
		padding: 40px var(--outsideGap);
		box-sizing: border-box;
	}

	header .gf-mobile-menu__booking .header-button {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 44px !important;
		margin: 0;
		padding: 0 28px !important;
		border: 1px solid var(--primary500);
		border-radius: 120px;
		background: transparent;
		box-sizing: border-box;
		color: var(--primary500);
		font-size: 16px;
		line-height: 20px;
		text-decoration: none;
	}

	body header .gf-mobile-booking-fab.btn {
		position: fixed;
		right: var(--outsideGap);
		bottom: var(--outsideGap);
		z-index: 900;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: auto;
		height: 44px !important;
		margin: 0;
		padding: 0 28px !important;
		border: 1px solid var(--primary500);
		border-radius: 120px;
		background: var(--primary500) !important;
		background-color: var(--primary500) !important;
		box-sizing: border-box;
		color: #fff !important;
		font-family: var(--textFont);
		font-size: 16px;
		font-weight: var(--textWeight);
		line-height: 20px;
		text-decoration: none;
		box-shadow: none;
	}

	body.gf-mobile-menu-open header .gf-mobile-booking-fab.btn {
		display: none !important;
	}
}

/* Figma 6062:7259 — successful form submission. */
body.gf-form-success-open .mfp-bg {
	background: rgba(0, 0, 0, 0.25) !important;
	opacity: 1 !important;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
}

body.gf-form-success-open .mfp-wrap .mfp-container {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--outsideGap);
	box-sizing: border-box;
}

body.gf-form-success-open .mfp-wrap .mfp-content {
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: 100%;
	height: auto;
}

body.gf-form-success-open .mfp-wrap .modal-content {
	position: relative;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: min(624px, calc(100vw - 2 * var(--outsideGap))) !important;
	height: auto !important;
	min-height: 280px;
	margin: auto !important;
	padding: 48px 64px !important;
	border-radius: 16px !important;
	background: #fff;
	box-sizing: border-box;
	overflow: visible !important;
	box-shadow: none;
}

body.gf-form-success-open .mfp-wrap .modal-content > .mfp-close {
	top: 20px;
	right: 20px;
	width: 32px;
	height: 32px;
	padding: 0;
	background: url("../assets/header-close.svg") center / 19.5px 19.5px no-repeat;
	color: transparent;
	font-size: 0;
	line-height: 0;
	opacity: 1;
}

body.gf-form-success-open .gf-form-success.vc_row {
	display: block;
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
}

body.gf-form-success-open .gf-form-success > .vc_column_container {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.gf-form-success-open .gf-form-success .gf-form-success__title,
body.gf-form-success-open .gf-form-success .gf-form-success__text {
	width: 100%;
	text-align: center;
}

body.gf-form-success-open .gf-form-success .gf-form-success__title h2,
body.gf-form-success-open .gf-form-success .gf-form-success__text p {
	margin: 0;
}

body.gf-form-success-open .gf-form-success .gf-form-success__home {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 128px;
	height: 44px;
	padding: 0 28px;
	border: 1px solid var(--primary500);
	border-radius: 120px;
	box-sizing: border-box;
	color: var(--primary500);
	font-size: 16px;
	line-height: 20px;
}

@media (max-width: 767px) {
	body.gf-form-success-open .mfp-wrap .modal-content {
		width: calc(100vw - 2 * var(--outsideGap)) !important;
		min-height: 280px;
		padding: 48px 20px !important;
		border-radius: 16px !important;
	}
}
