@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/poppins-400.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/poppins-500.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/poppins-600.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/poppins-700.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/poppins-800.woff2") format("woff2");
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/montserrat-400.woff2") format("woff2");
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/montserrat-600.woff2") format("woff2");
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/montserrat-700.woff2") format("woff2");
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/montserrat-800.woff2") format("woff2");
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url("../fonts/montserrat-900.woff2") format("woff2");
}

:root {
	--ja-red: #dc2e26;
	--ja-action-blue: #1b4f8a;
	--ja-action-blue-dark: #123a68;
	/* Announcement marquee row, above the fixed header. */
	--ja-marquee-height: 34px;
	--ja-marquee-bg: #000000;
	--ja-marquee-text: #ffffff;
	--ja-marquee-border: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h2 {
	font-weight: 500 !important;
}

[class*="kicker"],
[class*="eyebrow"] {
	font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
	background: none !important;
	border-width: 0 !important;
	border-radius: 0 !important;
	letter-spacing: 0.15em !important;
}

@media (max-width: 1024px) {
	:root {
		--ja-marquee-height: 30px;
	}
}

html[data-ja-theme="dark"] {
	color-scheme: dark;
	--ja-loader-bg: #070c12;
	--ja-loader-autos: #ffffff;
}

html[data-ja-theme="light"] {
	color-scheme: light;
	--ja-marquee-bg: #000000;
	--ja-marquee-text: #ffffff;
	--ja-marquee-border: rgba(255, 255, 255, 0.14);
	--ja-loader-bg: #ffffff;
	--ja-loader-autos: #0c1622;
}

body.jayautos-site-body {
	padding-top: calc(84px + var(--ja-marquee-height));
}

body.ja-mobile-menu-open {
	overflow: hidden;
}

/* Third-party "Click to Chat" WhatsApp bubble plugin renders at an
   extremely high z-index, so it floats above the mobile nav offcanvas
   unless explicitly hidden while the offcanvas is open. */
body.ja-mobile-menu-open #ht-ctc-chat {
	display: none !important;
}

.ja-header-marquee {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 101;
	height: var(--ja-marquee-height);
	overflow: hidden;
	background: var(--ja-marquee-bg);
	border-top: 1px solid var(--ja-marquee-border);
	border-bottom: 1px solid var(--ja-marquee-border);
	backdrop-filter: blur(14px);
}

.ja-header-marquee__viewport {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.ja-header-marquee__track {
	display: flex;
	align-items: center;
	width: max-content;
	height: 100%;
	animation: ja-header-marquee-scroll 32s linear infinite;
	will-change: transform;
}

.ja-header-marquee:hover .ja-header-marquee__track,
.ja-header-marquee:focus-within .ja-header-marquee__track {
	animation-play-state: paused;
}

.ja-header-marquee__item {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	padding: 0 40px;
	white-space: nowrap;
	color: var(--ja-marquee-text);
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1;
}

@keyframes ja-header-marquee-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ja-header-marquee__track {
		animation: none;
		transform: none;
	}

	.ja-header-marquee__viewport {
		overflow-x: auto;
	}

	.ja-header-marquee__item[aria-hidden="true"] {
		display: none;
	}
}

@media (max-width: 1024px) {
	.ja-header-marquee__item {
		padding: 0 28px;
		font-size: 11.5px;
	}
}

.ja-header {
	--ja-header-background: rgba(12, 18, 28, 0.96);
	--ja-header-text: #ffffff;
	--ja-header-panel: #0c1622;
	--ja-header-panel-text: #f8fafc;
	--ja-header-border: rgba(255, 255, 255, 0.16);
	--ja-header-overlay: rgba(0, 0, 0, 0.62);
	--ja-header-link-hover: rgba(27, 79, 138, 0.16);
	position: fixed;
	top: var(--ja-marquee-height);
	left: 0;
	right: 0;
	z-index: 100;
	display: grid;
	grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
	align-items: center;
	gap: 28px;
	width: 100%;
	padding: 12px clamp(20px, 4vw, 64px);
	box-sizing: border-box;
	background: linear-gradient(180deg, rgba(4, 9, 14, 0.96), rgba(4, 9, 14, 0.76));
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(14px);
}

body.admin-bar .ja-header {
	top: calc(32px + var(--ja-marquee-height));
}

body.admin-bar .ja-header-marquee {
	top: 32px;
}

html[data-ja-theme="light"] .ja-header {
	--ja-header-background: rgba(255, 255, 255, 0.96);
	--ja-header-text: #0c1622;
	--ja-header-panel: #ffffff;
	--ja-header-panel-text: #0c1622;
	--ja-header-border: rgba(12, 22, 34, 0.14);
	--ja-header-overlay: rgba(8, 13, 20, 0.48);
	--ja-header-link-hover: rgba(27, 79, 138, 0.1);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 251, 253, 0.82));
	border-bottom-color: rgba(12, 22, 34, 0.08);
	box-shadow: 0 10px 28px rgba(26, 38, 52, 0.08);
}

.ja-logo {
	display: inline-flex;
	flex-direction: column;
	gap: 2px;
	color: var(--ja-header-text);
	text-decoration: none;
	justify-self: start;
}

.ja-logo img {
	display: none;
}

.ja-logo__art {
	display: block;
	width: 128px;
	color: currentColor;
	line-height: 0;
}

.ja-logo__art svg {
	display: block;
	width: 100%;
	height: auto;
}

.ja-logo__text {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	font-weight: 500;
	line-height: 1;
}

.ja-logo__jay {
	color: var(--ja-red);
	font-size: 29px;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.ja-logo__autos {
	color: currentColor;
	font-size: 20px;
	font-weight: 300;
	letter-spacing: 0.02em;
}

.ja-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	justify-self: center;
	gap: 14px;
}

.ja-nav__menu,
.ja-mobile-nav__menu {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ja-nav__menu {
	flex-wrap: wrap;
	justify-content: center;
}

.ja-nav__menu ul,
.ja-mobile-nav__menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ja-nav li {
	position: relative;
	margin: 0;
}

.ja-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	display: none;
	min-width: 240px;
	padding: 30px 30px 30px 10px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: #0c1622;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
	font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 11px;
}

.ja-nav li:hover > .sub-menu,
.ja-nav li:focus-within > .sub-menu {
	display: grid;
}

.ja-nav .sub-menu a {
	display: block;
	padding: 10px 12px;
	color: #ffffff;
	white-space: nowrap;
}

.ja-nav .sub-menu a.ja-submenu-link {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ja-submenu-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	flex: 0 0 auto;
	border-radius: 8px;
	color: currentColor;
}

.ja-submenu-icon svg {
	width: 16px;
	height: 16px;
}

.ja-nav a {
	position: relative;
	display: block;
	padding: 16px 10px;
	color: var(--ja-header-text);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-decoration: none;
	text-transform: uppercase;
	opacity: 0.95;
}

.ja-nav__menu > .menu-item > a::after {
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 10px;
	height: 2px;
	border-radius: 99px;
	background: var(--ja-red);
	opacity: 0;
	transform: scaleX(0);
	transform-origin: center;
	transition:
		opacity 160ms ease,
		transform 160ms ease;
}

.ja-nav__menu > .current-menu-item > a::after,
.ja-nav__menu > .current-menu-ancestor > a::after,
.ja-nav__menu > .current_page_item > a::after,
.ja-nav__menu > .menu-item > a:hover::after,
.ja-nav__menu > .menu-item > a:focus-visible::after {
	opacity: 1;
	transform: scaleX(1);
}

/* Small arrow marking a top-level item that only opens a submenu (desktop
   hover-reveal nav). Mobile already shows its own arrow on the separate
   .ja-submenu-toggle button injected by header.js, so this is scoped to
   the desktop nav only to avoid a duplicate indicator. Icon itself is an
   inline SVG span (see Jayautos_Kadence_Nav_Walker), kept out of the
   ::after slot already used by the hover-underline on this selector. */
.ja-desktop-nav .ja-nav-dropdown > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ja-nav-arrow {
	display: inline-flex;
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	opacity: 0.8;
}

.ja-nav-arrow svg {
	width: 100%;
	height: 100%;
}

.ja-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	justify-self: end;
	gap: 10px;
	min-width: 220px;
}

.ja-theme-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--ja-header-text);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}

html[data-ja-theme="light"] .ja-theme-toggle {
	border-color: rgba(12, 22, 34, 0.14);
	background: rgba(12, 22, 34, 0.04);
}

.ja-theme-toggle__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ja-theme-toggle__icon--moon {
	display: none;
}

html[data-ja-theme="light"] .ja-theme-toggle__icon--sun {
	display: none;
}

html[data-ja-theme="light"] .ja-theme-toggle__icon--moon {
	display: inline-flex;
}

html[data-ja-theme="light"] .ja-theme-toggle__label {
	font-size: 0;
}

html[data-ja-theme="light"] .ja-theme-toggle__label::after {
	content: "Dark Mode";
	font-size: 11px;
}

.ja-whatsapp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid var(--ja-action-blue);
	border-radius: 999px;
	background: var(--ja-action-blue);
	color: #ffffff;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
	text-transform: uppercase;
}

.ja-whatsapp:hover,
.ja-whatsapp:focus-visible {
	background: var(--ja-action-blue-dark);
	border-color: var(--ja-action-blue-dark);
	color: #ffffff;
}

.ja-whatsapp svg,
.ja-theme-toggle svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.ja-menu-toggle,
.ja-mobile-menu {
	display: none;
}

.ja-menu-toggle {
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--ja-header-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--ja-header-text);
	cursor: pointer;
}

.ja-menu-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 99px;
	background: currentColor;
}

.ja-menu-toggle span + span {
	margin-top: 4px;
}

.ja-menu-toggle:focus-visible,
.ja-mobile-menu__close:focus-visible,
.ja-mobile-nav a:focus-visible,
.ja-submenu-toggle:focus-visible,
.ja-mobile-menu__cta:focus-visible,
.ja-theme-toggle:focus-visible,
.ja-whatsapp:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.ja-mobile-menu[hidden] {
	display: none;
}

.ja-mobile-menu {
	--ja-mobile-menu-background: #0c1622;
	--ja-mobile-menu-text: #f8fafc;
	--ja-mobile-menu-border: rgba(255, 255, 255, 0.14);
	--ja-mobile-menu-overlay: rgba(0, 0, 0, 0.62);
}

html[data-ja-theme="light"] .ja-mobile-menu {
	--ja-mobile-menu-background: #ffffff;
	--ja-mobile-menu-text: #0c1622;
	--ja-mobile-menu-border: rgba(12, 22, 34, 0.14);
	--ja-mobile-menu-overlay: rgba(8, 13, 20, 0.48);
}

@media (max-width: 1024px) {
	.ja-js .ja-header {
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: 12px;
		min-height: 72px;
		padding: 12px 16px;
	}

	.ja-js .ja-desktop-nav {
		display: none;
	}

	.ja-js .ja-header__actions {
		min-width: 0;
		justify-content: flex-end;
		justify-self: end;
	}

	.ja-js .ja-header__actions .ja-whatsapp {
		display: none;
	}

	.ja-js .ja-theme-toggle {
		width: 44px;
		height: 44px;
		padding: 0;
		justify-content: center;
	}

	.ja-js .ja-theme-toggle__label {
		display: none;
	}

	.ja-js .ja-menu-toggle {
		display: inline-flex;
		justify-self: end;
	}

	.ja-mobile-menu:not([hidden]) {
		position: fixed;
		inset: 0;
		z-index: 300;
		display: block;
		width: 100%;
		height: 100vh;
		height: 100dvh;
		min-height: 100vh;
		color: var(--ja-mobile-menu-text);
		pointer-events: none;
		visibility: hidden;
		overflow: hidden;
	}

	.ja-mobile-menu.is-open {
		pointer-events: auto;
		visibility: visible;
	}

	body.admin-bar .ja-mobile-menu:not([hidden]) {
		top: 32px;
		height: calc(100vh - 32px);
		height: calc(100dvh - 32px);
		min-height: calc(100vh - 32px);
	}

	.ja-mobile-menu__overlay {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 0;
		border: 0;
		background: var(--ja-mobile-menu-overlay);
		opacity: 0;
		transition: opacity 200ms ease;
		cursor: pointer;
	}

	/* This is a real <button>, so without this it inherits the parent
	   theme's blue button hover/focus background — covering the whole
	   page behind the offcanvas panel the moment the cursor reaches it. */
	.ja-mobile-menu__overlay:hover,
	.ja-mobile-menu__overlay:focus,
	.ja-mobile-menu__overlay:focus-visible,
	.ja-mobile-menu__overlay:active {
		background: var(--ja-mobile-menu-overlay);
	}

	.ja-mobile-menu__panel {
		position: absolute;
		top: 0;
		right: 0;
		display: flex;
		flex-direction: column;
		width: min(88vw, 400px);
		max-width: 100%;
		height: 100%;
		min-height: 100%;
		border-left: 1px solid var(--ja-mobile-menu-border);
		background: var(--ja-mobile-menu-background);
		color: var(--ja-mobile-menu-text);
		box-shadow: -24px 0 60px rgba(0, 0, 0, 0.32);
		overflow: hidden;
		transform: translateX(100%);
		transition: transform 220ms ease;
	}

	.ja-mobile-menu.is-open .ja-mobile-menu__overlay {
		opacity: 1;
	}

	.ja-mobile-menu.is-open .ja-mobile-menu__panel {
		transform: translateX(0);
	}

	.ja-mobile-menu__header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex: 0 0 auto;
		gap: 16px;
		min-height: 72px;
		padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 16px 16px;
		border-bottom: 1px solid var(--ja-mobile-menu-border);
	}

	.ja-mobile-menu__logo {
		color: var(--ja-mobile-menu-text);
	}

	.ja-mobile-menu__close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 auto;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 1px solid var(--ja-mobile-menu-border);
		border-radius: 999px;
		background: transparent;
		color: var(--ja-mobile-menu-text);
		cursor: pointer;
	}

	.ja-mobile-menu__close svg {
		width: 20px;
		height: 20px;
		fill: currentColor;
	}

	.ja-mobile-nav {
		position: relative;
		flex: 1 1 auto;
		min-height: 0;
		overflow: hidden;
	}

	/* Drill-down screens: the top-level list and each submenu are separate
	   full-size panels stacked in the same spot, slid in/out horizontally.
	   Only .setupSubmenus() in header.js creates the submenu screens — with
	   no JS, the submenu simply renders inline as a normal nested list. */
	.ja-mobile-nav__screen {
		position: absolute;
		inset: 0;
		padding: 16px max(16px, env(safe-area-inset-right)) 16px 16px;
		box-sizing: border-box;
		overflow-y: auto;
		overscroll-behavior: contain;
		transform: translateX(100%);
		transition: transform 220ms ease;
	}

	.ja-mobile-nav__screen--main {
		transform: translateX(0);
	}

	.ja-mobile-nav__screen.is-active {
		transform: translateX(0);
	}

	.ja-mobile-nav__screen--main:not(.is-active) {
		transform: translateX(-100%);
	}

	.ja-mobile-nav__screen-head {
		display: flex;
		align-items: center;
		gap: 10px;
		margin: -4px -4px 10px;
		padding-bottom: 12px;
		border-bottom: 1px solid var(--ja-mobile-menu-border);
	}

	.ja-mobile-nav__back {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		min-height: 44px;
		padding: 0 10px 0 6px;
		border: 0;
		border-radius: 8px;
		background: transparent;
		color: #000000;
		font-size: 15px;
		font-weight: 700;
		cursor: pointer;
	}

	.ja-mobile-nav__back:hover,
	.ja-mobile-nav__back:focus,
	.ja-mobile-nav__back:focus-visible,
	.ja-mobile-nav__back:active {
		background: transparent;
		color: #000000;
	}

	.ja-mobile-nav__back svg {
		width: 20px;
		height: 20px;
		flex: 0 0 auto;
	}

	.ja-mobile-nav__menu,
	.ja-mobile-nav__screen--submenu .sub-menu {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.ja-mobile-nav li {
		position: relative;
		margin: 0;
		padding: 0;
		border-bottom: 1px solid var(--ja-mobile-menu-border);
	}

	.ja-mobile-nav a,
	.ja-submenu-toggle {
		min-height: 44px;
		border-radius: 8px;
		color: var(--ja-mobile-menu-text);
		text-decoration: none;
	}

	.ja-mobile-nav a {
		display: flex;
		align-items: center;
		gap: 10px;
		width: 100%;
		padding: 11px 12px;
		box-sizing: border-box;
		font-size: 15px;
		font-weight: 600;
		line-height: 1.3;
	}

	.ja-mobile-nav .current-menu-item > a,
	.ja-mobile-nav .current_page_item > a,
	.ja-mobile-nav a:hover,
	.ja-mobile-nav a:focus-visible,
	.ja-submenu-toggle:hover,
	.ja-submenu-toggle:focus-visible {
		background: var(--ja-header-link-hover);
	}

	.ja-mobile-nav .menu-item-has-children > a {
		padding-right: 52px;
	}

	.ja-submenu-toggle {
		position: absolute;
		top: 0;
		right: 0;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		padding: 0;
		border: 0;
		background: transparent;
		cursor: pointer;
	}

	.ja-submenu-toggle svg {
		width: 20px;
		height: 20px;
	}

	/* The small down-chevron baked into "Services"-style dropdown-only links
	   (Jayautos_Kadence_Nav_Walker's ja-nav-dropdown branch) is meant for the
	   desktop hover dropdown only — the mobile drill-down uses its own right
	   arrow (.ja-submenu-toggle) instead, so don't show both. */
	.ja-mobile-nav .ja-nav-arrow {
		display: none;
	}

	.ja-mobile-menu__footer {
		padding: 0 max(16px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) 16px;
	}

	.ja-mobile-menu__cta {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		min-height: 46px;
		padding: 12px 16px;
		box-sizing: border-box;
		border: 1px solid var(--ja-action-blue);
		border-radius: 8px;
		background: #d4b038;
		color: #ffffff;
		font-size: 13px;
		font-weight: 800;
		text-decoration: none;
	}
}

.ja-mobile-menu__cta {
	border-color: #d4b038;
	background: #d4b038;
	color: #ffffff;
}

@media (max-width: 782px) {
	body.admin-bar .ja-header {
		top: calc(46px + var(--ja-marquee-height));
	}

	body.admin-bar .ja-header-marquee {
		top: 46px;
	}

	body.admin-bar .ja-mobile-menu:not([hidden]) {
		top: 46px;
		height: calc(100vh - 46px);
		height: calc(100dvh - 46px);
		min-height: calc(100vh - 46px);
	}
}

/*
 * Shared site footer (rendered by jayautos_kadence_render_site_footer()).
 * This is the ONLY .ja-footer ruleset in the theme — it must stay this way so the
 * footer looks identical on every page. Do not add competing .ja-footer rules to
 * homepage.css, vehicles.css, or inventory.css.
 */
.ja-footer {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	align-items: start;
	gap: 28px;
	width: 100%;
	padding: 34px clamp(20px, 4vw, 60px) 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	background:
		linear-gradient(180deg, rgba(6, 10, 14, 0.82), rgba(2, 7, 12, 0.92)),
		radial-gradient(circle at top right, rgba(196, 37, 29, 0.08), transparent 26%);
}

.ja-footer__brand,
.ja-footer__links,
.ja-footer__contact {
	min-width: 0;
}

.ja-footer__links,
.ja-footer__contact {
	display: flex;
	flex-direction: column;
}

.ja-footer h2 {
	margin: 0 0 16px;
	color: inherit;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
}

.ja-footer p,
.ja-footer a {
	margin: 0 0 10px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	line-height: 1.6;
	text-decoration: none;
}

.ja-footer .ja-logo--footer {
	color: #ffffff;
}

.ja-footer__copyright {
	margin-top: 18px;
	color: rgba(255, 255, 255, 0.48);
	font-size: 12px;
}

.ja-footer a:hover,
.ja-footer a:focus-visible {
	color: #ffffff;
}

.ja-footer a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

html[data-ja-theme="light"] .ja-footer {
	border-top-color: rgba(12, 22, 34, 0.12);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 252, 0.98)),
		radial-gradient(circle at top right, rgba(220, 46, 38, 0.08), transparent 26%);
}

html[data-ja-theme="light"] .ja-footer h2 {
	color: #0c1622;
}

html[data-ja-theme="light"] .ja-footer p,
html[data-ja-theme="light"] .ja-footer a {
	color: rgba(12, 22, 34, 0.74);
}

html[data-ja-theme="light"] .ja-footer .ja-logo--footer {
	color: #0c1622;
}

html[data-ja-theme="light"] .ja-footer a:hover,
html[data-ja-theme="light"] .ja-footer a:focus-visible {
	color: #0c1622;
}

@media (max-width: 1180px) {
	.ja-footer {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.ja-footer {
		grid-template-columns: 1fr;
		width: 100%;
		padding: 24px 16px;
		gap: 18px;
	}
}

/* Contact page and homepage: transparent header over the dark hero
   photo/video until the visitor scrolls (header.js toggles .is-scrolled),
   then the header falls back to its normal themed appearance — same as
   every other page. Scoped by body class rather than applied globally
   because most other pages have light-background heroes, where white nav
   text would be illegible. */
body.jayautos-contact-body .ja-header:not(.is-scrolled),
body.jayautos-home-body .ja-header:not(.is-scrolled) {
	--ja-header-text: #ffffff;
	background: transparent;
	border-bottom-color: transparent;
	backdrop-filter: none;
	box-shadow: none;
}

body.jayautos-contact-body .ja-header:not(.is-scrolled) .ja-whatsapp,
body.jayautos-home-body .ja-header:not(.is-scrolled) .ja-whatsapp {
	background: transparent;
	color: #ffffff;
	border: 1px solid #ffffff;
}
