/**
 * GW Trailers — site chrome and homepage.
 *
 * Primitives, typography and forms live in base.css. This file is the dealer
 * chrome (utility bar, header, nav, footer) and the page-level components the
 * homepage and the supporting pages are built from.
 */

/* ============================================================ Site chrome */

.gw-chrome {
	position: sticky;
	top: 0;
	z-index: 80;
	margin: 0;
	background: var(--gw-navy);
	color: #fff;
	box-shadow: 0 12px 28px rgba(5, 10, 48, .22);
}

.gw-chrome .gw-wrap {
	max-width: none;
	padding-inline: 28px;
}

.admin-bar .gw-chrome { top: 32px; }

@media (max-width: 782px) {
	.admin-bar .gw-chrome { top: 46px; }
}

.gw-utility {
	background: transparent;
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.gw-utility-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 52px;
	padding-block: 6px;
}

.gw-utility-facts {
	display: flex;
	align-items: center;
	gap: 0;
	min-width: 0;
}

.gw-utility-fact {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 16px;
	color: #fff;
	font-size: .84rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.gw-utility-fact:first-child { padding-left: 0; }

.gw-utility-fact + .gw-utility-fact {
	border-left: 1px solid rgba(255, 255, 255, .16);
}

.gw-utility-fact .gw-icon { flex: 0 0 auto; color: #6ea8ff; }

.gw-utility-fact span {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	min-width: 0;
}

.gw-utility-fact small {
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .72);
}

.gw-utility-fact strong {
	font-size: .92rem;
	font-weight: 700;
	letter-spacing: 0;
}

.gw-utility-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

.gw-promo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 12px 7px 12px;
	border-radius: 10px;
	color: #fff;
	text-decoration: none;
	transition: background-color .15s ease, transform .15s ease;
}

.gw-promo::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-left: 2px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
	opacity: .85;
}

.gw-promo span { display: flex; flex-direction: column; line-height: 1.15; }
.gw-promo strong { font-size: .84rem; font-weight: 700; }
.gw-promo small { font-size: .68rem; color: rgba(255, 255, 255, .72); }

.gw-promo-service {
	background: rgba(255, 255, 255, .08);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.gw-promo-service:hover { background: rgba(255, 255, 255, .14); color: #fff; }

.gw-promo-deliver { background: #2f6bff; }
.gw-promo-deliver:hover { background: #2458d6; color: #fff; }

/* ================================================================= Header */

.gw-header {
	position: relative;
	background: transparent;
	box-shadow: none;
	overflow: visible;
}

.gw-header::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: min(380px, 36vw);
	background: linear-gradient(108deg, #16306e 0%, #0d1c4e 68%, transparent 69%);
	pointer-events: none;
}

.gw-header-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 112px;
	padding-block: 8px;
}

.gw-brand {
	position: relative;
	z-index: 2;
	flex: 0 0 auto;
	align-self: center;
	line-height: 0;
}

.gw-brand .custom-logo-link {
	display: inline-block;
	height: auto;
	max-height: none;
	line-height: 0;
}

.gw-brand .custom-logo {
	display: block;
	width: auto;
	height: 96px;
	max-width: 240px;
	max-height: none;
	margin-block: 0;
	position: static;
	left: auto;
	object-fit: contain;
	object-position: left center;
}

/* Typographic lockup used until a logo file is uploaded. */
.gw-wordmark {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #fff;
	text-decoration: none;
}

.gw-wordmark-mark {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 2px solid var(--gw-blue-300);
	border-radius: 6px;
	background: var(--gw-blue);
	font-family: var(--gw-display);
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: .02em;
}

.gw-wordmark-text { display: flex; flex-direction: column; line-height: 1.15; }

.gw-wordmark-text strong {
	font-family: var(--gw-display);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: .01em;
}

.gw-wordmark-text small {
	font-size: .7rem;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
}

/* ------------------------------------------------------------ Navigation */

.gw-nav {
	display: flex;
	flex: 1 1 auto;
	justify-content: center;
	min-width: 0;
}

.gw-header-icon {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	margin-left: auto;
	padding-left: 14px;
	border-left: 1px solid rgba(255, 255, 255, .16);
	box-sizing: content-box;
	color: #fff;
	text-decoration: none;
}

.gw-header-icon:hover { color: #8eb6ff; }

.gw-menu {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gw-menu li { position: relative; }

.gw-menu > li > a {
	display: block;
	padding: 10px 12px;
	border-radius: 8px;
	color: #fff;
	font-size: .78rem;
	font-weight: 650;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}

.gw-menu > li > a:hover,
.gw-menu > li:focus-within > a {
	background: rgba(255, 255, 255, .08);
	color: #fff;
}

.gw-menu > li.current-menu-item > a,
.gw-menu > li.current-menu-ancestor > a,
.gw-menu > li.current-menu-item > a:hover,
.gw-menu > li.current-menu-ancestor > a:hover,
.gw-menu > li.current-menu-item:focus-within > a,
.gw-menu > li.current-menu-ancestor:focus-within > a {
	background: #2f6bff;
	color: #fff;
}

/* Parent items get a caret and reveal their children on hover or focus. */
.gw-menu > li:has(.sub-menu) > a::after,
.gw-menu > li.gw-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	opacity: .7;
}

.gw-menu .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 10;
	min-width: 248px;
	margin: 0;
	padding: 8px;
	border-radius: var(--gw-radius);
	background: #fff;
	box-shadow: var(--gw-shadow-lg);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
}

.gw-menu > li:hover > .sub-menu,
.gw-menu > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.gw-menu .sub-menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 9px 12px;
	border-radius: 5px;
	color: var(--gw-ink);
	font-size: .9rem;
	font-weight: 500;
	text-decoration: none;
}

.gw-menu .sub-menu a:hover { background: var(--gw-surface-alt); color: var(--gw-blue); }

.gw-menu .sub-menu li.current-menu-item > a {
	background: var(--gw-blue-100);
	color: var(--gw-blue);
}

.gw-menu .gw-menu-all {
	margin-top: 6px;
	padding-top: 6px;
	border-top: 1px solid var(--gw-line);
}

.gw-menu .gw-menu-all a { color: var(--gw-blue); font-weight: 600; }

.gw-nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 6px;
	background: none;
	cursor: pointer;
}

.gw-nav-toggle-bars,
.gw-nav-toggle-bars::before,
.gw-nav-toggle-bars::after {
	display: block;
	width: 20px;
	height: 2px;
	margin-inline: auto;
	background: #fff;
	transition: transform .18s ease, opacity .18s ease;
}

.gw-nav-toggle-bars::before,
.gw-nav-toggle-bars::after {
	content: "";
	position: relative;
}

.gw-nav-toggle-bars::before { top: -6px; }
.gw-nav-toggle-bars::after { top: 4px; }

.gw-nav-toggle[aria-expanded="true"] .gw-nav-toggle-bars { background: transparent; }
.gw-nav-toggle[aria-expanded="true"] .gw-nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.gw-nav-toggle[aria-expanded="true"] .gw-nav-toggle-bars::after { transform: translateY(-4px) rotate(-45deg); }

/* =================================================================== Hero */

.gw-hero {
	position: relative;
	padding: 84px 0 92px;
	background: #071033;
	color: #fff;
	overflow: hidden;
}

.gw-hero-media {
	position: absolute;
	inset: 0 0 0 34%;
	background:
		linear-gradient(90deg, #071033 0%, rgba(7, 16, 51, .72) 16%, rgba(7, 16, 51, .18) 42%, rgba(7, 16, 51, .05) 100%),
		url("../images/hero-lot.jpg") right center / cover no-repeat;
}

.gw-hero::before,
.gw-hero::after {
	content: "";
	position: absolute;
	z-index: 1;
	pointer-events: none;
}

.gw-hero::before {
	top: -90px;
	left: -80px;
	width: 58%;
	height: 78%;
	background: linear-gradient(155deg, rgba(28, 58, 150, .55), rgba(7, 16, 51, 0) 72%);
	clip-path: polygon(0 0, 72% 0, 38% 100%, 0 86%);
}

.gw-hero::after {
	top: -30px;
	left: 12%;
	width: 42%;
	height: 58%;
	background: linear-gradient(200deg, rgba(90, 130, 230, .28), transparent 68%);
	clip-path: polygon(28% 0, 100% 0, 64% 100%, 0 72%);
}

.gw-hero-inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 360px);
	gap: 48px;
	align-items: center;
}

.gw-hero-kicker {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 18px;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .88);
}

.gw-hero-kicker::before {
	content: "";
	width: 42px;
	height: 3px;
	border-radius: 2px;
	background: #2f6bff;
	flex: 0 0 auto;
}

.gw-hero-title {
	margin: 0 0 18px;
	font-family: var(--gw-text);
	font-size: clamp(2.7rem, 1.2rem + 3.8vw, 4.6rem);
	font-weight: 700;
	line-height: .96;
	letter-spacing: -.035em;
}

.gw-hero-title span { display: block; }

.gw-hero-accent {
	background: linear-gradient(180deg, #f4f7ff 10%, #7aa2ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.gw-hero-lede {
	max-width: 46ch;
	margin: 0 0 28px;
	font-size: 1.05rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, .82);
}

.gw-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 22px;
}

.gw-hero .gw-btn {
	min-height: 52px;
	padding: 14px 22px;
	border-radius: 12px;
}

.gw-hero .gw-btn-primary { background: #2f6bff; }
.gw-hero .gw-btn-primary:hover { background: #2458d6; }

.gw-hero .gw-btn-outline {
	border-color: rgba(255, 255, 255, .72);
	background: rgba(7, 16, 51, .25);
}

.gw-hero-search {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 560px;
	padding: 8px 8px 8px 16px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
}

.gw-hero-search .gw-icon { color: #8b93a7; }

.gw-hero-search input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 0;
	border: 0;
	background: none;
	color: var(--gw-ink);
	font: inherit;
	font-size: .98rem;
}

.gw-hero-search input:focus { outline: none; }
.gw-hero-search input:focus-visible { outline: none; }

.gw-hero-search:focus-within {
	box-shadow: 0 0 0 3px rgba(47, 107, 255, .45), 0 16px 40px rgba(0, 0, 0, .28);
}

.gw-hero-search .gw-btn {
	min-height: 48px;
	padding: 12px 18px;
	border-radius: 10px;
}

.gw-hero-stats {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 22px;
	background: rgba(8, 18, 58, .48);
	box-shadow: 0 24px 50px rgba(0, 0, 0, .28);
	backdrop-filter: blur(16px);
}

.gw-hero-stats li {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 16px 22px;
	border: 0;
	border-radius: 0;
	background: none;
}

.gw-hero-stats li + li { border-top: 1px solid rgba(255, 255, 255, .12); }

.gw-hero-stat-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: rgba(47, 107, 255, .22);
	color: #9eb6ff;
}

.gw-hero-stat-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.gw-hero-stats strong {
	display: block;
	font-family: var(--gw-text);
	font-size: 1.65rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.03em;
}

.gw-hero-stat-copy > span {
	font-size: .92rem;
	font-weight: 500;
	color: rgba(255, 255, 255, .78);
}

/* ============================================================= Categories */

.gw-cats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 16px;
}

.gw-cat {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 12px 14px 12px 12px;
	border: 1px solid var(--gw-line);
	border-radius: var(--gw-radius);
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.gw-cat:hover {
	border-color: var(--gw-blue);
	box-shadow: var(--gw-shadow);
	transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
	.gw-cat { transition: none; }
	.gw-cat:hover { transform: none; }
}

.gw-cat-media {
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 6px;
	background: var(--gw-surface-alt);
	overflow: hidden;
}

.gw-cat-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gw-cat-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.gw-cat-name {
	font-weight: 600;
	font-size: .96rem;
	line-height: 1.25;
}

.gw-cat-meta { font-size: .78rem; color: var(--gw-ink-soft); }

.gw-cat-go { color: var(--gw-blue); opacity: .55; }
.gw-cat:hover .gw-cat-go { opacity: 1; }

/* ============================================================== Unit rows */

.gw-units { background: var(--gw-surface-alt); }

.gw-units-dark {
	background:
		linear-gradient(165deg, var(--gw-navy-700), var(--gw-navy));
	color: #fff;
}

.gw-units-dark .gw-section-title { color: #fff; }
.gw-units-dark .gw-eyebrow { color: #8fa2e0; }
.gw-units-dark .gw-link-arrow { color: #b9c6ef; }
.gw-units-dark .gw-link-arrow:hover { color: #fff; }

.gw-unit-row { margin-top: 4px; }
.gw-unit-row .gwti-grid { margin-top: 0; }

/* ================================================================== About */

.gw-about-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(260px, .9fr);
	gap: 48px;
	align-items: start;
}

.gw-about-copy p {
	margin: 0 0 16px;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--gw-ink-soft);
}

.gw-about-copy .gw-section-title { margin-bottom: 18px; }
.gw-about-actions { margin-top: 24px !important; }

.gw-brands-panel {
	padding: 26px;
	border: 1px solid var(--gw-line);
	border-radius: var(--gw-radius);
	background: var(--gw-surface-alt);
}

.gw-brands-title {
	margin: 0 0 16px;
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gw-ink-soft);
}

.gw-brands { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }

.gw-brands a {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid var(--gw-line);
	border-radius: 6px;
	background: #fff;
	color: var(--gw-ink);
	text-decoration: none;
}

.gw-brands a:hover { border-color: var(--gw-blue); color: var(--gw-blue); }
.gw-brands span { font-family: var(--gw-display); font-weight: 700; font-size: .95rem; }
.gw-brands small { font-size: .78rem; color: var(--gw-ink-soft); }

/* =============================================================== Services */

.gw-services { background: var(--gw-surface-alt); }

.gw-service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.gw-service {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px;
	border: 1px solid var(--gw-line);
	border-radius: var(--gw-radius);
	background: #fff;
}

.gw-service-icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 8px;
	background: var(--gw-blue-100);
	color: var(--gw-blue);
}

.gw-service-title {
	margin: 0;
	font-family: var(--gw-display);
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--gw-navy);
}

.gw-service p {
	margin: 0;
	font-size: .94rem;
	line-height: 1.65;
	color: var(--gw-ink-soft);
}

.gw-service .gw-link-arrow { margin-top: auto; align-self: flex-start; }

/* =========================================================== Testimonials */

.gw-reviews {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}

.gw-review {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 26px;
	border: 1px solid var(--gw-line);
	border-radius: var(--gw-radius);
	background: #fff;
}

.gw-stars { color: #f5a623; font-size: 1rem; letter-spacing: 2px; line-height: 1; }

/* The theme styles blockquote as a pull-quote (italic, indented, ruled).
   A review card is body copy, so those defaults are reset here. */
.gw-review blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-style: normal;
	background: none;
}

.gw-review p {
	margin: 0;
	font-size: .92rem;
	line-height: 1.65;
	color: var(--gw-ink-soft);
}

.gw-review figcaption {
	margin-top: auto;
	padding-top: 6px;
	font-weight: 600;
	font-size: .9rem;
	color: var(--gw-navy);
}

/* ================================================================== Visit */

.gw-visit-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
	gap: 44px;
	align-items: center;
}

.gw-visit-facts {
	display: grid;
	gap: 16px;
	margin: 24px 0;
	padding: 0;
	list-style: none;
}

.gw-visit-facts li {
	display: flex;
	gap: 12px;
	font-size: .95rem;
	line-height: 1.6;
	color: var(--gw-ink-soft);
}

.gw-visit-facts .gw-icon { color: var(--gw-blue); margin-top: 2px; }

.gw-visit-copy p { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--gw-ink-soft); }
.gw-visit-copy .gw-section-title { margin-bottom: 14px; }

.gw-visit-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px !important;
}

.gw-visit-map {
	aspect-ratio: 4 / 3;
	border-radius: var(--gw-radius);
	border: 1px solid var(--gw-line);
	background: var(--gw-surface-alt);
	overflow: hidden;
}

.gw-visit-map iframe { display: block; width: 100%; height: 100%; }

/* ================================================================= Footer */

.gw-footer { background: var(--gw-navy); color: rgba(255, 255, 255, .76); }

.gw-footer-top {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(170px, .7fr) minmax(220px, .9fr);
	gap: 48px;
	padding-top: 64px;
	padding-bottom: 48px;
}

.gw-footer-eyebrow {
	margin: 0 0 14px;
	font-family: var(--gw-display);
	font-size: .98rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: #fff;
}

.gw-footer-brand p {
	margin: 0 0 14px;
	font-size: .9rem;
	line-height: 1.7;
}

.gw-footer-heading {
	margin: 0 0 16px;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
}

.gw-footer-heading-sub { margin-top: 28px; }

.gw-footer-links,
.gw-footer-contact {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gw-footer-links a {
	color: rgba(255, 255, 255, .76);
	font-size: .9rem;
	text-decoration: none;
}

.gw-footer-links a:hover { color: #fff; text-decoration: underline; }

.gw-footer-contact li { display: flex; gap: 10px; font-size: .9rem; line-height: 1.55; }
.gw-footer-contact .gw-icon { color: var(--gw-blue-300); margin-top: 3px; }
.gw-footer-contact a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.gw-footer-contact a:hover { color: #fff; text-decoration: underline; }

.gw-hours { display: grid; gap: 7px; margin: 0; font-size: .88rem; }

.gw-hours > div {
	display: flex;
	justify-content: space-between;
	gap: 14px;
}

.gw-hours dt { color: rgba(255, 255, 255, .62); }
.gw-hours dd { margin: 0; font-weight: 600; color: #fff; }
.gw-hours .is-closed dd { color: rgba(255, 255, 255, .45); font-weight: 500; }

.gw-social { display: flex; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }

.gw-social a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 6px;
	color: #fff;
	text-decoration: none;
}

.gw-social a:hover { background: var(--gw-blue); border-color: var(--gw-blue); }

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

.gw-footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-block: 20px;
	font-size: .82rem;
	color: rgba(255, 255, 255, .55);
}

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

.gw-footer-built a {
	color: rgba(255, 255, 255, .86);
	text-decoration: none;
}

.gw-footer-built a:hover { color: #fff; text-decoration: underline; }

/* ========================================================== Page chrome */

.gw-skip-link:focus { outline: none; }

.gw-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
	font-size: .82rem;
	color: var(--gw-ink-soft);
}

.gw-breadcrumb a { color: inherit; text-decoration: none; }
.gw-breadcrumb a:hover { text-decoration: underline; }
.gw-breadcrumb [aria-current] { color: var(--gw-ink); }

.gw-page-head {
	padding: 52px 0 28px;
	background: var(--gw-surface-alt);
	border-bottom: 1px solid var(--gw-line);
}

.gw-page-title {
	margin: 0;
	font-family: var(--gw-display);
	font-size: clamp(1.6rem, 1.15rem + 2vw, 2.4rem);
	line-height: 1.14;
	letter-spacing: -.015em;
	color: var(--gw-navy);
}

.gw-post-meta {
	margin: 10px 0 0;
	font-size: .85rem;
	color: var(--gw-ink-soft);
}

.gw-archive-intro {
	max-width: 65ch;
	margin-top: 12px;
	color: var(--gw-ink-soft);
}

.gw-page-media {
	margin: 0;
	padding: 28px 0 0;
}

.gw-page-media img {
	width: 100%;
	border-radius: var(--gw-radius);
}

.gw-page-body { padding: 44px 0 64px; }

.gw-lenders {
	display: grid;
	gap: 16px;
	margin: 8px 0 28px;
}

.gw-lender {
	padding: 18px 20px 16px;
	border: 1px solid var(--gw-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: inset 3px 0 0 var(--gw-blue);
}

.gw-lender h3 { margin: 0 0 10px; }

.gw-lender ul { margin: 0 0 14px; }

.gw-lender .gw-btn { margin-top: 2px; }

.gw-page-links {
	display: flex;
	gap: 8px;
	margin-top: 28px;
	font-size: .9rem;
}

/* ============================================================ Post cards */

.gw-post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 22px;
}

.gw-post-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--gw-line);
	border-radius: var(--gw-radius);
	background: var(--gw-surface);
	overflow: hidden;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.gw-post-card:hover {
	border-color: var(--gw-blue);
	box-shadow: var(--gw-shadow);
}

.gw-post-card-media { display: block; aspect-ratio: 16 / 10; background: var(--gw-surface-alt); }
.gw-post-card-media img { width: 100%; height: 100%; object-fit: cover; }

.gw-post-card-body {
	display: flex;
	flex-direction: column;
	gap: 9px;
	flex: 1 1 auto;
	padding: 20px;
}

.gw-post-card-title {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.3;
}

.gw-post-card-title a { color: var(--gw-navy); text-decoration: none; }
.gw-post-card-title a:hover { color: var(--gw-blue); }

.gw-post-card-excerpt {
	margin: 0;
	font-size: .92rem;
	line-height: 1.6;
	color: var(--gw-ink-soft);
}

.gw-post-card .gw-link-arrow { margin-top: auto; align-self: flex-start; }

.gw-post-card .gw-post-meta { margin: 0; }

/* ========================================================== Empty states */

.gw-empty {
	max-width: 54ch;
	margin-inline: auto;
	padding: 56px 24px;
	border: 1px dashed var(--gw-line);
	border-radius: var(--gw-radius);
	text-align: center;
}

.gw-empty h2 { margin: 0 0 10px; font-family: var(--gw-display); font-size: 1.3rem; color: var(--gw-navy); }
.gw-empty p { margin: 0 0 18px; color: var(--gw-ink-soft); }

/* ================================================================== 404 */

.gw-404 { padding: 72px 0 80px; }

.gw-404-head {
	max-width: 60ch;
	margin: 0 auto 56px;
	text-align: center;
}

.gw-404-code {
	margin: 0 0 6px;
	font-family: var(--gw-display);
	font-size: clamp(3.4rem, 2rem + 6vw, 6rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.03em;
	color: var(--gw-blue-100);
}

.gw-404-lede {
	margin: 14px 0 26px;
	font-size: 1.02rem;
	line-height: 1.65;
	color: var(--gw-ink-soft);
}

.gw-404-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin: 0;
}

.gw-404-cats .gw-section-title { text-align: center; margin-bottom: 24px; }

/* ================================================================== CTA */

.gw-cta {
	padding: 44px 0;
	background: linear-gradient(165deg, var(--gw-navy-700), var(--gw-navy));
	color: #fff;
}

.gw-cta-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
}

.gw-cta-title {
	margin: 0 0 4px;
	font-family: var(--gw-display);
	font-size: 1.4rem;
	line-height: 1.2;
}

.gw-cta p { margin: 0; color: rgba(255, 255, 255, .76); }

.gw-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ========================================================== Search form */

.gw-searchform {
	display: flex;
	gap: 8px;
	max-width: 520px;
}

.gw-searchform input { flex: 1 1 auto; min-width: 0; }

.gw-search-redirect {
	margin: 14px 0 0;
	font-size: .95rem;
	color: var(--gw-ink-soft);
}

/* ======================================================== Footer widgets */

.gw-footer-extra {
	padding: 40px 0;
	background: var(--gw-surface-alt);
	border-top: 1px solid var(--gw-line);
}

.gw-footer-extra .widget-title {
	font-family: var(--gw-display);
	font-size: 1.05rem;
	color: var(--gw-navy);
}

/* ============================================================ Responsive */

@media (max-width: 1080px) {
	.gw-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.gw-hero-media {
		inset: 0;
		background:
			linear-gradient(180deg, rgba(7, 16, 51, .9) 0%, rgba(7, 16, 51, .78) 48%, rgba(7, 16, 51, .92) 100%),
			url("../images/hero-lot.jpg") center / cover no-repeat;
	}
	.gw-hero-stats { max-width: 460px; }
	.gw-about-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.gw-visit-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.gw-footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
}

@media (max-width: 1180px) {
	.gw-utility-address { display: none; }
}

@media (max-width: 900px) {
	.gw-utility-inner {
		flex-wrap: wrap;
		row-gap: 8px;
	}

	.gw-utility-facts .gw-utility-fact:nth-child(2) { display: none; }

	.gw-utility-facts {
		flex: 1 1 160px;
		min-width: 0;
	}

	.gw-utility-actions {
		flex: 1 1 100%;
		justify-content: stretch;
	}

	.gw-promo {
		flex: 1 1 0;
		justify-content: center;
		min-width: 0;
	}

	.gw-promo small { display: none; }
	.gw-brand .custom-logo { height: 58px; margin-block: 0; }

	.gw-nav-toggle { display: block; }

	.gw-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex: none;
		justify-content: stretch;
		max-height: calc(100vh - 140px);
		padding: 10px 20px 20px;
		background: var(--gw-navy);
		border-top: 1px solid rgba(255, 255, 255, .12);
		box-shadow: 0 18px 30px rgba(5, 10, 48, .35);
		overflow-y: auto;
	}

	.gw-nav.is-open { display: block; }

	.gw-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.gw-menu > li > a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; }

	/* Submenus sit inline on narrow screens: a hover-revealed panel is not
	   reachable by touch. */
	.gw-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		min-width: 0;
		margin: 0 0 8px;
		padding: 6px 0 6px 12px;
		background: none;
		box-shadow: none;
	}

	.gw-menu .sub-menu a { color: rgba(255, 255, 255, .78); }
	.gw-menu .sub-menu a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
	.gw-menu .gw-menu-all { border-top-color: rgba(255, 255, 255, .12); }

	.gw-header { overflow: visible; }
	.gw-header-inner { position: relative; }
}

@media (max-width: 720px) {
	.gw-utility-inner { min-height: 0; padding-block: 8px; }
	.gw-utility-actions { width: auto; gap: 8px; }
	.gw-promo { padding: 8px 10px; }
	.gw-section { padding: 52px 0; }
	.gw-section-tight { padding: 42px 0; }
	.gw-hero { padding: 48px 0 56px; }
	.gw-hero-title { font-size: clamp(2.3rem, 1.4rem + 4vw, 3.2rem); }
	.gw-utility-inner { justify-content: center; text-align: center; }
	.gw-utility-actions { width: 100%; justify-content: center; }
	.gw-promo { flex: 1 1 auto; justify-content: center; }
	.gw-hero-stats { grid-template-columns: 1fr; }
	.gw-hero-search { flex-wrap: wrap; padding: 10px; }
	.gw-hero-search input { flex-basis: 100%; padding-inline: 8px; }
	.gw-hero-search .gw-btn { width: 100%; }
	.gw-footer-top { grid-template-columns: minmax(0, 1fr); }
	.gw-section-head-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
	.gw-promo small { display: none; }
	.gw-cats { grid-template-columns: 1fr; }
}

/* Touch devices open a submenu on first tap (see assets/js/site.js). */
@media (hover: none) {
	.gw-menu > li.is-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}
}

@media (max-width: 720px) {
	.gw-page-head { padding: 36px 0 22px; }
	.gw-page-body { padding: 32px 0 48px; }
	.gw-cta-inner { flex-direction: column; align-items: flex-start; }
	.gw-404 { padding: 48px 0 56px; }
	.gw-searchform { flex-wrap: wrap; }
	.gw-searchform input { flex-basis: 100%; }
	.gw-searchform .gw-btn { width: 100%; }
}

/* ============================================================== Elementor */

/*
 * Where a builder owns the layout, the theme contributes nothing but chrome.
 *
 * The failure mode this avoids: a page composed in Elementor inherits the
 * theme's .gw-prose margins and .gw-wrap-narrow width, so every section the
 * editor sets to full width renders boxed and every spacing control fights a
 * margin it cannot see. Standing down is the integration.
 */

.gw-main-builder {
	/* No padding, no max-width: the builder's own sections handle both. */
	padding: 0;
}

.gw-main-builder > .gw-article {
	margin: 0;
	padding: 0;
}

/* A builder page supplies its own heading, so the theme's page head would be
   a duplicate title. page.php already omits it; this covers a Theme Builder
   template that renders inside the default wrapper. */
.gw-elementor-page .gw-page-head { display: none; }

/*
 * Elementor's container queries measure against the viewport, so anything the
 * theme wraps around them must not introduce its own horizontal padding.
 */
.gw-elementor-page .gw-site-content,
.gw-elementor-page .gw-main-builder {
	padding-inline: 0;
}

/* No prose or typography resets are applied to builder content on purpose:
   Elementor normalises its own widgets, and a theme adding more on top is the
   usual cause of "my spacing does nothing in the editor". */

/* The editor iframe shows the real header and footer, so they must not be
   sticky inside it or they float over the canvas while scrolling. */
body.elementor-editor-active .gw-header,
body.elementor-editor-preview .gw-header {
	position: static;
}
