/*
 * Header and footer alignment with the live hisurfcamp.com Surf Camp page.
 * This file intentionally loads after the lesson-page stylesheet.
 */

.chrome-wrap {
	width: min(1280px, calc(100% - 32px));
	margin-inline: auto;
}

.skip-link {
	position: fixed;
	top: 14px;
	left: 14px;
	z-index: 9999;
	transform: translateY(-150%);
	background: #ff6b3d;
	color: #fff;
	border-radius: 6px;
	padding: 12px 18px;
	font-weight: 700;
}

.skip-link:focus {
	transform: translateY(0);
}

.global-nav-bar {
	background: linear-gradient(90deg, #075d92 0%, #033f66 62%, #023650 100%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.22);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.site-header .nav {
	min-height: 96px;
	gap: 0;
}

.brand-live {
	flex: 0 0 205px;
	width: 205px;
	height: 80px;
	margin-right: 0;
	align-items: center;
	justify-content: flex-start;
}

.brand-live img {
	width: 205px;
	height: 80px;
	object-fit: contain;
	background: transparent;
	border-radius: 0;
	padding: 0;
}

.site-header .global-menu {
	align-self: stretch;
	align-items: stretch;
	gap: 0;
	font-family: "Yanone Kaffeesatz", "Arial Narrow", Arial, sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.3;
}

.site-header .global-menu a {
	display: flex;
	height: 96px;
	align-items: center;
	padding: 0 20px;
	color: #fff;
	font-weight: 500;
}

.site-header .global-menu a:hover,
.site-header .global-menu .current-link {
	color: #ff6b3d;
}

.site-header .global-menu .current-link::after {
	display: none;
}

.nav-social {
	display: flex;
	gap: 7px;
	margin-left: auto;
}

.nav-social a {
	display: grid;
	place-items: center;
	width: 37px;
	height: 37px;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 8px;
	transition: color 0.2s, background 0.2s, transform 0.2s;
}

.nav-social a:hover {
	color: #004e89;
	background: #fff;
	transform: translateY(-2px);
}

.nav-social svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

.mobile-menu summary {
	display: flex;
	width: 48px;
	height: 48px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.34);
	border-radius: 8px;
}

.mobile-menu summary span {
	display: block;
	width: 25px;
	height: 2px;
	background: #fff;
	border-radius: 2px;
}

.mobile-menu[open] summary {
	background: #ff6b3d;
	border-color: #ff6b3d;
}

.mobile-menu nav {
	top: 60px;
	width: min(320px, calc(100vw - 30px));
	padding: 13px;
	background: rgba(0, 46, 76, 0.98);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
}

.mobile-menu nav a {
	padding: 11px 13px;
	font-family: "Yanone Kaffeesatz", "Arial Narrow", Arial, sans-serif;
	font-size: 19px;
	font-weight: 500;
}

.mobile-menu nav a.current-link {
	color: #ff6b3d;
}

.site-footer {
	background: #004e89;
	padding-top: 70px;
	font-family: Roboto, Arial, sans-serif;
}

.footer-grid {
	grid-template-columns: 1.93fr 0.57fr 1fr;
	gap: 30px;
	padding-bottom: 55px;
}

.footer-about img {
	width: 161px;
	height: 96px;
	object-fit: contain;
}

.footer-about > p {
	max-width: 600px;
	margin: 29px 0 22px;
	color: #fff;
	font-size: 16px;
	line-height: 1.62;
}

.social-links {
	gap: 7px;
}

.social-links a {
	width: 37px;
	height: 37px;
	border-radius: 8px;
	font-size: 16px;
}

.site-footer h2 {
	margin: 4px 0 29px;
	font: 500 24px/1.2 "Yanone Kaffeesatz", "Arial Narrow", Arial, sans-serif;
}

.footer-links a,
.footer-contact > a {
	color: #fff;
	font-size: 16px;
	line-height: 1.62;
}

.footer-links a {
	margin-bottom: 17px;
}

.footer-contact > a {
	margin-bottom: 15px;
}

.footer-contact > a b {
	width: 28px;
	font-size: 19px;
}

.footer-form {
	gap: 10px;
	margin-top: 15px;
}

.footer-form input[type="email"] {
	min-height: 48px;
	padding: 8px 16px;
	border: 1px solid #c7e7ff;
	font-family: Manrope, Arial, sans-serif;
	font-size: 14px;
}

.footer-form button {
	min-height: 48px;
	border-radius: 8px;
	font: 500 19px/1.2 "Yanone Kaffeesatz", "Arial Narrow", Arial, sans-serif;
}

.form-status {
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.45;
}

.form-status.success {
	color: #c9fff5;
}

.form-status.error {
	color: #ffe0d6;
}

.footer-bottom {
	background: transparent;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom > .chrome-wrap {
	display: flex;
	min-height: 70px;
	align-items: center;
	gap: 30px;
}

.footer-bottom p {
	margin: 0 auto 0 0;
}

@media (max-width: 1180px) {
	.desktop-menu {
		display: none;
	}

	.mobile-menu {
		display: block;
		margin-left: 10px;
	}

	.brand-live {
		margin-right: auto;
	}
}

@media (max-width: 760px) {
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 38px;
	}
}

@media (max-width: 650px) {
	.chrome-wrap {
		width: 100%;
		padding-inline: 15px;
	}

	.site-header .nav {
		height: 70px;
		min-height: 70px;
	}

	.brand-live {
		flex-basis: 101px;
		width: 101px;
		height: 60px;
	}

	.brand-live img {
		width: 101px;
		height: 60px;
	}

	.nav-social {
		gap: 6px;
		margin-left: auto;
	}

	.nav-social a {
		width: 32px;
		height: 32px;
		border-radius: 6px;
	}

	.nav-social svg {
		width: 15px;
		height: 15px;
	}

	.mobile-menu {
		margin-left: 9px;
	}

	.mobile-menu summary {
		width: 42px;
		height: 42px;
		gap: 5px;
		border-radius: 7px;
	}

	.mobile-menu summary span {
		width: 24px;
	}

	.mobile-menu nav {
		top: 56px;
	}

	.site-footer {
		padding-top: 50px;
	}

	.footer-grid {
		gap: 37px;
		padding-bottom: 42px;
	}

	.footer-about img {
		width: 141px;
		height: 90px;
	}

	.footer-about > p {
		max-width: none;
		margin: 20px 0;
		font-size: 14px;
		line-height: 1.62;
	}

	.site-footer h2 {
		margin-bottom: 23px;
		font-size: 20px;
	}

	.footer-links a,
	.footer-contact > a {
		font-size: 14px;
	}

	.footer-form input[type="email"] {
		min-height: 40px;
	}

	.footer-form button {
		min-height: 45px;
		font-size: 17px;
	}

	.footer-bottom > .chrome-wrap {
		min-height: auto;
		padding-block: 22px;
	}
}
