/* =============================================================
   MOTORWIN — HEADER STYLES  (mt_style.css)
   Design tokens: navy #1a2340 | orange #f47c20 | white #ffffff
   Font: Barlow / Arial Narrow — bold/uppercase nav
   Breakpoints: mobile-first → 641 / 767 / 992 / 1200 / 1400
   ============================================================= */

/* -------------------------------------------------------
   UTILITIES
------------------------------------------------------- */
.mobile     { display: block; }
.not-mobile { display: none !important;}

.pdr4 { padding-right: 4px; }
.txt-phone { padding: 0 4px; }

body.mw-no-scroll { overflow: hidden; }

/* -------------------------------------------------------
   SHARED BUTTON
------------------------------------------------------- */
.mw-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 20px;
	border-radius: 4px;
	font-family: 'Barlow', 'Arial Narrow', Arial, sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	border: none;
	cursor: pointer;
	white-space: nowrap;
	line-height: 1;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.mw-btn--orange {
	background-color: #f47c20;
	color: #fff;
}
.mw-btn--orange:hover {
	background-color: #d96a10;
	color: #fff;
	transform: translateY(-1px);
}

/* -------------------------------------------------------
   TICKER BAR
------------------------------------------------------- */
.mw-ticker {
	position: relative;
	width: 100%;
	height: 36px;
	background-color: #1a2340;
	overflow: hidden;
	z-index: 200;
}
.mw-ticker__track {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	height: 100%;
	width: max-content;
	animation: mw-ticker-scroll 30s linear infinite;
	white-space: nowrap;
}
.mw-ticker__track:hover {
	animation-play-state: paused;
}
.mw-ticker__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 0 18px;
	color: #fff;
	font-family: 'Barlow', 'Arial Narrow', Arial, sans-serif;
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.mw-ticker__item i {
	font-size: 14px;
	color: #f47c20;
	flex-shrink: 0;
}
.mw-ticker__sep {
	color: #f47c20;
	font-size: 8px;
	flex-shrink: 0;
}
@keyframes mw-ticker-scroll {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* -------------------------------------------------------
   HEADER WRAPPER
------------------------------------------------------- */
.mw-header {
	position: relative;
	width: 100%;
	z-index: 100;
}

/* -------------------------------------------------------
   NAV BAR
------------------------------------------------------- */
.mw-nav {
	width: 100%;
	background-color: #fff;
	border-bottom: 2px solid #f0f0f0;
}
.mw-nav__inner {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	height: 70px;
	gap: 12px;
	width: 100%;
	max-width: 1400px;
	padding: 0 20px;
	margin: 0 auto;
}

/* -------------------------------------------------------
   LOGO
------------------------------------------------------- */
.mw-nav__logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	height: 100%;
	padding: 10px 0;
	text-decoration: none;
}
.mw-nav__logo img {
	display: block;
	height: 44px;
	width: auto;
	max-width: 180px;
}

/* -------------------------------------------------------
   NAV MENU WRAPPER — full-width row on desktop,
   hidden drawer on mobile
------------------------------------------------------- */
.mw-nav__menu {
	/* mobile: hidden by default, shown via show-menu */
	display: none;
	position: absolute;
	top: 106px; /* ticker 36px + nav 70px */
	left: 0;
	width: 100%;
	background-color: #1a2340;
	z-index: 99;
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.35s ease;
}
.mw-nav__menu.show-menu {
	display: block;
	max-height: 100vh;
}

/* white logo inside navy drawer — mobile only */
.mw-nav__logo--drawer {
	display: flex;
	padding: 16px 24px 8px;
	height: auto;
}
.mw-nav__logo--drawer img {
	height: 40px;
	max-width: 200px;
}

/* -------------------------------------------------------
   NAV LIST  (shared mobile + desktop)
------------------------------------------------------- */
.mw-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* mobile list items */
.mw-nav__list li {
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mw-nav__list li.mobile {
	display: block;
}

/* nav link — mobile default */
.mw-nav__link {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 14px 24px;
	color: #fff;
	font-family: 'Barlow', 'Arial Narrow', Arial, sans-serif;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.mw-nav__link:hover {
	background-color: rgba(255,255,255,0.07);
	color: #f47c20;
	padding-left: 32px;
}
/* Sign In special style in mobile drawer */
.mw-nav__link--signin {
	color: #f47c20;
}

/* -------------------------------------------------------
   DESKTOP ACTIONS (phone + mail icon + sign in btn)
   hidden on mobile, shown via .not-mobile at 992px+
------------------------------------------------------- */
.mw-nav__actions {
	display: none;
	flex-direction: row;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
	padding: 16px 24px;
}
.mw-nav__phone {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	color: #1a2340;
	text-decoration: none;
	font-family: 'Barlow', 'Arial Narrow', Arial, sans-serif;
	font-weight: 700;
	font-size: 14px;
	transition: color 0.2s ease;
}
.mw-nav__phone i {
	font-size: 20px;
	color: #f47c20;
}
.mw-nav__phone:hover {
	color: #f47c20;
}
.mw-nav__phone-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}
.mw-nav__phone-text small {
	font-size: 11px;
	font-weight: 500;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* -------------------------------------------------------
   ICON BUTTON (mail icon on desktop, phone on mobile)
------------------------------------------------------- */
.mw-nav__icon-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 4px;
	border: none;
	background-color: #1a2340;
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s ease;
	flex-shrink: 0;
}
.mw-nav__icon-btn:hover {
	background-color: #f47c20;
	color: #fff;
}

/* -------------------------------------------------------
   MOBILE ICONS ROW (phone btn + hamburger)
------------------------------------------------------- */
.mw-nav__mobile-icons {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 6px;
}

/* -------------------------------------------------------
   HAMBURGER TOGGLE
------------------------------------------------------- */
.mw-nav__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 4px;
	background-color: #1a2340;
	color: #fff;
	font-size: 22px;
	cursor: pointer;
	flex-shrink: 0;
	position: relative;
	transition: background-color 0.2s ease;
}
.mw-nav__toggle:hover {
	background-color: #f47c20;
}
/* burger icon swap via show-icon class on toggle */
.mw-burger__close { display: none; }
.mw-burger__open  { display: block; }
.mw-nav__toggle.show-icon .mw-burger__close { display: block; }
.mw-nav__toggle.show-icon .mw-burger__open  { display: none; }


/* -------------------------------------------------------
   FOOTER  (.mtw-footer)
------------------------------------------------------- */
.mtw-footer {
	background: var(--mw-navy);
	width: 100%;
}
 
/* --- main body --- */
.mtw-footer__body {
	padding: 60px 0 40px;
	border-bottom: 1px solid rgba(255,255,255,0.10);
}
.mtw-footer__inner {
	display: flex;
	flex-direction: column;
	gap: 40px;
}
 
/* --- column shared --- */
.mtw-footer__col-title {
	margin: 0 0 16px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
}
.mtw-footer__links {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 0;
	margin: 0;
}
.mtw-footer__links li { display: flex; }
.mtw-footer__links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 400;
	color: rgba(255,255,255,0.60);
	text-decoration: none;
	transition: color 0.2s ease, padding-left 0.2s ease;
}
.mtw-footer__links a:hover {
	color: var(--mw-orange);
	padding-left: 4px;
}
.mtw-footer__links i { font-size: 15px; flex-shrink: 0; }
 
/* --- brand col --- */
.mtw-footer__logo {
	display: block;
	margin-bottom: 20px;
}
.mtw-footer__logo img {
	height: 44px;
	width: auto;
	max-width: 200px;
}
.mtw-footer__contact-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 0;
	margin: 0;
}
.mtw-footer__contact-list li { display: flex; }
.mtw-footer__contact-list a,
.mtw-footer__address {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	color: rgba(255,255,255,0.60);
	text-decoration: none;
	transition: color 0.2s ease;
	line-height: 1.5;
}
.mtw-footer__contact-list a:hover { color: var(--mw-orange); }
.mtw-footer__contact-list i,
.mtw-footer__address > i {
	font-size: 16px;
	color: var(--mw-orange);
	flex-shrink: 0;
	margin-top: 2px;
}
 
/* --- bottom bar --- */
.mtw-footer__bottom {
	padding: 20px 0;
}
.mtw-footer__bottom-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
}
.mtw-footer__copy {
	margin: 0;
	font-size: 12px;
	color: rgba(255,255,255,0.40);
	line-height: 1.6;
}
.mtw-footer__copy span {
	display: block;
	margin-top: 4px;
}
.mtw-footer__legals {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 20px;
	padding: 0;
	margin: 0;
}
.mtw-footer__legals li { display: flex; }
.mtw-footer__legals a {
	font-size: 12px;
	color: rgba(255,255,255,0.45);
	text-decoration: none;
	transition: color 0.2s ease;
	white-space: nowrap;
}
.mtw-footer__legals a:hover { color: var(--mw-orange); }
 
/* --- scroll to top button --- */
.mtw-to-top {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 42px;
	height: 42px;
	background: var(--mw-orange);
	color: #fff;
	border-radius: 4px;
	display: none;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	text-decoration: none;
	z-index: 999;
	box-shadow: 0 4px 16px rgba(0,0,0,0.25);
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.mtw-to-top.active {
	display: flex;
}
.mtw-to-top:hover {
	background: var(--mw-orange-dark);
	transform: translateY(-2px);
}


/* -------------------------------------------------------
   BREAKPOINTS
------------------------------------------------------- */

@media screen and (min-width: 641px) {
	.mw-nav__inner { padding: 0 20px; }
	.mw-ticker__item { font-size: 12px; padding: 0 22px; }
	.mw-nav__logo img { height: 48px; max-width: 200px; }
	
	/*---------------*/
	.mtw-footer__inner {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 30px 40px;
	}
	.mtw-footer__col--brand {
		width: 100%;
	}
	.mtw-footer__col:not(.mtw-footer__col--brand) {
		flex: 1 1 calc(33% - 40px);
	}
}

@media screen and (min-width: 767px) {
	.mw-nav__inner { height: 76px; padding: 0 35px; }
	.mw-nav__menu { top: 114px; } /* ticker 38px + nav 76px */
	.mw-nav__logo img { height: 50px; max-width: 220px; }
	.mw-ticker { height: 38px; }
}

@media screen and (min-width: 992px) {
	/* ---- switch to full desktop layout ---- */

	/* utility overrides */
	.mobile     { display: none !important; }
	.not-mobile { display: flex !important; }

	.mw-nav__inner {
		height: 80px;
		padding: 0 35px;
	}

	/* nav menu: now a horizontal flex row, always visible, no drawer */
	.mw-nav__menu {
		display: flex !important;
		position: static;
		max-height: none;
		overflow: visible;
		background-color: transparent;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		flex: 1;
		height: 100%;
		padding: 0;
		transition: none;
	}

	/* logo inside menu hidden — mobile logo (outside menu) is shown */
	.mw-nav__menu .mw-nav__logo {
		display: flex;
	}

	/* list: horizontal row */
	.mw-nav__list {
		display: flex;
		flex-direction: row;
		align-items: center;
		height: 100%;
		gap: 0;
	}
	.mw-nav__list li {
		height: 100%;
		display: flex;
		align-items: center;
		border-bottom: none;
	}

	/* nav link: desktop style */
	.mw-nav__link {
		height: 100%;
		padding: 0 12px;
		color: #1a2340;
		font-size: 13px;
		background-color: transparent;
		position: relative;
	}
	.mw-nav__link::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		width: 0;
		height: 3px;
		background-color: #f47c20;
		transition: width 0.25s ease;
	}
	.mw-nav__link:hover {
		background-color: transparent;
		color: #f47c20;
		padding-left: 12px;
	}
	.mw-nav__link:hover::after { width: 100%; }

	/* desktop actions block */
	.mw-nav__actions {
		display: flex;
		padding: 0;
	}

	/* hide mobile icons */
	.mw-nav__mobile-icons { display: none; }

	.mw-nav__logo img { height: 52px; max-width: 240px; }

	/* hide mobile logo outside menu, and drawer logo — desktop doesn't need them */
	.mw-nav__inner > .mw-nav__logo.mobile,
	.mw-nav__logo--drawer {
		display: none !important;
	}
	
	/*----------------------*/
	.mtw-footer__body { padding: 70px 0 50px; }
	.mtw-footer__inner {
		flex-wrap: nowrap;
		align-items: flex-start;
		gap: 50px;
	}
	.mtw-footer__col--brand {
		width: auto;
		flex: 0 0 240px;
		max-width: 240px;
	}
	.mtw-footer__col:not(.mtw-footer__col--brand) {
		flex: 1;
	}
	.mtw-footer__bottom-inner {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}
	.mtw-footer__legals {
		justify-content: flex-end;
	}
}

@media screen and (min-width: 1200px) {
	.mw-nav__inner { padding: 0 40px; }
	.mw-nav__link { font-size: 14px; padding: 0 16px; }
	.mw-nav__link:hover { padding-left: 16px; }
	.mw-nav__logo img { height: 54px; max-width: 260px; }
	.mw-ticker__item { font-size: 13px; }
	
	/*------------------*/
	.mtw-footer__col--brand {
		flex: 0 0 280px;
		max-width: 280px;
	}
}

@media screen and (min-width: 1400px) {
	.mw-nav__inner { padding: 0 60px; }
	.mw-nav__link { padding: 0 20px; font-size: 15px; }
	.mw-nav__link:hover { padding-left: 20px; }
	.mw-ticker__item { font-size: 13px; padding: 0 26px; }
}