/* Staging-only "under development" notice (header.cfm gates it to test host) */
.dev-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background: #f57f20;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	padding: 13px 50px 13px 22px;
	text-align: center;
	/* Float it a bit below the header and keep it on-screen while scrolling so
	   visitors actually notice it. */
	position: fixed;
	top: 92px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 200;
	max-width: 92%;
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
}
@media (max-width: 640px) {
	.dev-banner { top: 76px; font-size: 14px; padding: 11px 44px 11px 18px; }
}
.dev-banner-close {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	opacity: .8;
}
.dev-banner-close:hover { opacity: 1; }

.site-header {
	border-bottom: 1px solid var(--color-border);
	padding: 10px 0 16px;
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--color-bg);
	box-shadow: 0 2px 12px rgba(58, 64, 70, 0.1);
}
.header-top {
	display: flex;
	justify-content: flex-end;
	padding-top: 4px;
	padding-bottom: 8px;
}
.header-contact {
	font-size: 13px;
	letter-spacing: .03em;
	color: var(--color-muted);
}
.header-contact a { color: var(--color-text); font-weight: 500; }
.header-contact-sep { margin: 0 10px; color: var(--color-border); }
.header-oakwyn img { height: 52px; width: auto; display: block; }
.header-oakwyn { margin-right: auto; margin-left: 18px; padding-left: 18px; border-left: 1px solid var(--color-border); }
.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}
.site-header .logo img,
.site-header .logo svg { height: 60px; width: auto; display: block; }
.site-nav { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
	font-weight: 500;
	font-size: 15px;
	color: var(--color-primary);
	padding-bottom: 4px;
	background-image: linear-gradient(var(--color-accent), var(--color-accent));
	background-size: 0% 2px;
	background-repeat: no-repeat;
	background-position: left bottom;
	transition: background-size .2s, color .15s;
}
.site-nav a:hover { color: var(--color-primary); background-size: 100% 2px; }

/* Dropdown sub-menu (Marketing) */
.site-nav .has-sub { position: relative; }
.site-nav .has-sub > a::after {
	content: "\25BE";
	display: inline-block;
	margin-left: 5px;
	font-size: 14px;
	opacity: .7;
	transition: transform .15s;
}
.site-nav .has-sub:hover > a::after,
.site-nav .has-sub:focus-within > a::after { transform: translateY(2px); opacity: 1; }
.site-subnav {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 210px;
	list-style: none;
	margin: 0;
	padding: 6px 0;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: 0 10px 28px rgba(58, 64, 70, 0.16);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s, transform .15s, visibility .15s;
	z-index: 200;
}
.has-sub:hover .site-subnav,
.has-sub:focus-within .site-subnav {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.site-subnav a {
	display: block;
	padding: 9px 16px;
	font-size: 14px;
	background: none;
}
.site-subnav a:hover { background: var(--color-bg-alt); }

.site-footer {
	/* slate grey (logo's #676768 family, darkened) rather than the blue slate primary */
	background: #33373b;
	color: rgba(255, 255, 255, 0.85);
	padding: 48px 0 36px;
	margin-top: 48px;
}
.site-footer .footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 24px;
}
.site-footer h4 { color: #fff; }
.site-footer .footer-prec { font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }
.site-footer .footer-grid > div:first-child h4::after { display: none; }
.site-footer .footer-prec::after {
	content: "";
	display: block;
	width: 28px;
	height: 3px;
	background: var(--color-accent);
	margin-top: 8px;
	border-radius: 2px;
}
.site-footer h4::after {
	content: "";
	display: block;
	width: 28px;
	height: 3px;
	background: var(--color-accent);
	margin-top: 8px;
	border-radius: 2px;
}
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer small { color: rgba(255, 255, 255, 0.55); }
.site-footer .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.site-footer .btn-secondary:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }

.hero {
	padding: 64px 0;
	background: var(--color-bg-alt);
	text-align: center;
}
.hero h1 { font-size: 38px; max-width: 760px; margin: 0 auto 16px; }
.hero p { color: var(--color-muted); max-width: 600px; margin: 0 auto 24px; }

.hero-video {
	position: relative;
	overflow: hidden;
	min-height: 520px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 0;
	background: var(--color-primary-dark);
}
.hero-bg-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}
.hero-bg-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
/* YouTube iframe doesn't support object-fit — scale it up to cover.
   YT API sets inline width/height attrs so !important needed here. */
.hero-bg-media iframe {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	width: 100vw !important;
	height: 56.25vw !important;
	min-height: 100% !important;
	min-width: 177.78vh !important;
	pointer-events: none !important;
	border: 0 !important;
}
.hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.52);
	z-index: 1;
}
.hero-content {
	position: relative;
	z-index: 2;
}
.hero-video h1,
.hero-video p {
	color: #fff;
}
.hero-video p {
	color: rgba(255, 255, 255, 0.8);
}

.hero.testimonials-hero {
	background-size: cover;
	background-position: center 25%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 360px;
	max-height: 480px;
	padding: 0;
}
.hero.testimonials-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}
.hero.testimonials-hero .container { position: relative; z-index: 1; }
.hero.testimonials-hero h1, .hero.testimonials-hero p { color: #fff; }

.testimonials-hero-placeholder {
	background-image: linear-gradient(135deg, var(--color-primary, #2a5db0), #1a1a1a);
}

.section { padding: 48px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }

@media (max-width: 640px) {
	.hero h1 { font-size: 28px; }
}

/* Full-bleed homepage sections — still capped at 3 listing columns */
.container-fluid { max-width: none; padding: 0 32px; }
@media (min-width: 900px) {
	.container-fluid .listing-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Collapsible mobile nav */
.nav-toggle { display: none; }
@media (max-width: 899px) {
	.nav-toggle {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 44px;
		height: 44px;
		padding: 10px;
		background: none;
		border: 1px solid var(--color-border);
		border-radius: 6px;
		cursor: pointer;
	}
	.nav-toggle-bar {
		display: block;
		width: 100%;
		height: 2px;
		background: var(--color-primary);
		border-radius: 2px;
		transition: transform .2s, opacity .2s;
	}
	.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

	#site-nav-menu {
		flex-basis: 100%;
		max-height: 0;
		overflow: hidden;
		transition: max-height .25s ease;
	}
	#site-nav-menu.open { max-height: 560px; }
	.site-nav {
		flex-direction: column;
		gap: 0;
		padding: 6px 0 10px;
		border-top: 1px solid var(--color-border);
	}
	.site-nav a {
		display: block;
		padding: 12px 4px;
		background: none;
	}
	.site-nav li + li { border-top: 1px solid var(--color-border); }

	/* Sub-menu expands inline on mobile (no hover) */
	.site-subnav {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: none; border-radius: 0; padding: 0; min-width: 0;
		background: var(--color-bg-alt);
	}
	.site-subnav a { padding-left: 22px; font-size: 14px; color: var(--color-muted); }

	.site-header .logo svg,
	.site-header .logo img { height: 46px; }
	.header-oakwyn img { height: 38px; }
	.header-oakwyn { margin-left: 12px; padding-left: 12px; }
}
