/* =============================================================
 * الفرات للدراجات النارية وقطع الغيار
 * Al-Furat for Motorcycles and Spare Parts
 * Identity: Navy #1B2A4A  •  Red #E02129  •  Built on MaxsFramework Lite
 * ============================================================= */

:root {
	--mt-navy:    #1B2A4A;
	--mt-navy-2:  #26375C;
	--mt-navy-3:  #111c33;
	--mt-red:     #E02129;
	--mt-red-2:   #B71C22;
	--mt-gray:    #f4f5f8;
	--mt-text:    #222;
	--mt-muted:   #8a90a0;
}

::selection      { background: var(--mt-red); color: #fff; }
::-moz-selection { background: var(--mt-red); color: #fff; }
::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, var(--mt-navy) 0%, var(--mt-red) 100%);
	border-radius: 5px;
}

body {
	background: #fff;
	text-align: center;
	color: var(--mt-text);
	font-family: maxs04, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
/* Force brand font on every element (numbers, spans, buttons, small...) */
body, body *, button, input, select, textarea,
span, small, strong, b, em, i, div, section, header, footer, nav {
	font-family: maxs04, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}
[dir="ltr"] {
	font-family: maxs04, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	font-feature-settings: "tnum" 1;
}
a { color: var(--mt-navy); }
a:hover { color: var(--mt-red); }
img { vertical-align: middle; }
section { scroll-margin-top: 80px; }

/* =====================================================
 * NAVBAR
 * ===================================================== */
.navbar {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	padding: 14px 24px;
	display: flex; justify-content: space-between; align-items: center;
	transition: transform .35s cubic-bezier(.4,0,.2,1), background .3s, box-shadow .3s, padding .3s;
	background: transparent;
}
.navbar.scrolled {
	background: rgba(27, 42, 74, .96);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	box-shadow: 0 6px 24px rgba(0,0,0,.2);
	padding: 9px 24px;
}
.navbar.hidden { transform: translateY(-110%); }
.navbar .nav-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.navbar .nav-logo img { width: 42px; height: 42px; object-fit: contain; background: #fff; border-radius: 50%; padding: 2px; }
.navbar .nav-logo span { font-size: 16px; letter-spacing: .3px; }
.navbar ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px; }
.navbar li a {
	color: rgba(255,255,255,.85); padding: 8px 14px; font-size: 15px;
	border-radius: 8px; position: relative; transition: .25s;
}
.navbar li a:hover, .navbar li.ac a { color: #fff; background: rgba(255,255,255,.1); }
.navbar li a::after {
	content: ''; position: absolute; bottom: 2px; right: 50%;
	width: 0; height: 2px; background: var(--mt-red); transition: .3s;
}
.navbar li a:hover::after, .navbar li.ac a::after { right: 14px; width: calc(100% - 28px); }
.nav-toggle {
	display: none; width: 40px; height: 40px; background: transparent;
	border: 0; cursor: pointer; padding: 0; flex-direction: column;
	justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 0 auto; transition: .3s; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media all and (max-width: 860px) {
	.nav-toggle { display: flex; }
	.navbar ul {
		position: absolute; top: 100%; left: 0; right: 0;
		background: rgba(27, 42, 74, .98); backdrop-filter: blur(10px);
		flex-direction: column; padding: 0 16px; gap: 4px;
		max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
	}
	body.nav-open .navbar ul { max-height: 420px; padding: 16px; }
	.navbar li a { display: block; }
}

/* =====================================================
 * HERO — split layout with animated motorcycle
 * ===================================================== */
header {
	position: relative; overflow: hidden; color: #fff;
	padding: 130px 6% 70px;
	background:
		radial-gradient(circle at 85% 15%, rgba(224,33,41,.20) 0%, transparent 45%),
		radial-gradient(circle at 10% 85%, rgba(38,55,92,.5) 0%, transparent 50%),
		linear-gradient(135deg, var(--mt-navy-3) 0%, var(--mt-navy) 60%, var(--mt-navy-2) 100%);
}
.hero-bg {
	position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
	-webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
}
/* moving road stripe at bottom of hero */
.hero-road {
	position: absolute; left: 0; right: 0; bottom: 0; height: 70px;
	background: linear-gradient(180deg, transparent, rgba(0,0,0,.4));
	overflow: hidden; pointer-events: none;
}
.hero-road::after {
	content: ''; position: absolute; bottom: 22px; left: 0; right: 0; height: 4px;
	background: repeating-linear-gradient(90deg, var(--mt-red) 0 40px, transparent 40px 90px);
	opacity: .6; animation: road-move 1.2s linear infinite;
}
@keyframes road-move { 100% { background-position: -90px 0; } }

.hero-wrap {
	max-width: 1200px; margin: 0 auto;
	display: grid; grid-template-columns: 1fr 1fr; gap: 3em;
	align-items: center; position: relative; z-index: 2;
}
.hero-text { text-align: right; animation: 1s ease-out hero-text-in; }
@keyframes hero-text-in { 0% { opacity: 0; transform: translateX(40px); } }
.hero-badge {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 7px 16px; background: rgba(224,33,41,.15);
	border: 1px solid rgba(224,33,41,.4); border-radius: 50px;
	font-size: 13px; color: #ff6b70; margin-bottom: 1.3em;
}
.hero-badge .dot {
	width: 8px; height: 8px; background: var(--mt-red); border-radius: 50%;
	box-shadow: 0 0 0 0 rgba(224,33,41,.7); animation: dot-pulse 2s infinite;
}
@keyframes dot-pulse {
	0% { box-shadow: 0 0 0 0 rgba(224,33,41,.7); }
	70% { box-shadow: 0 0 0 10px rgba(224,33,41,0); }
	100% { box-shadow: 0 0 0 0 rgba(224,33,41,0); }
}
.hero-text h1 { font-size: 2.6em; color: #fff; margin: 0 0 .5em; line-height: 1.3; }
.hero-text h1 .brand-en {
	display: block; font-size: 12px; color: #ff6b70;
	letter-spacing: 3px; margin-bottom: 14px; font-weight: 600;
}
.hero-text .lead {
	font-size: 16px; color: rgba(255,255,255,.78); line-height: 1.9;
	margin-bottom: 2em; max-width: 480px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 2.4em; }
.hero-cta a {
	padding: 13px 26px; border-radius: 12px; font-weight: bold; font-size: 15px;
	transition: .3s; display: inline-flex; align-items: center; gap: 8px; color: #fff;
}
.hero-cta .btn-primary {
	background: linear-gradient(135deg, var(--mt-red) 0%, var(--mt-red-2) 100%);
	box-shadow: 0 10px 24px rgba(224,33,41,.4);
}
.hero-cta .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(224,33,41,.55); color: #fff; }
.hero-cta .btn-ghost { background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.2); }
.hero-cta .btn-ghost:hover { background: rgba(37,211,102,.15); border-color: #25D366; color: #fff; transform: translateY(-3px); }
.hero-mini-stats {
	display: flex; gap: 1.6em; padding-top: 1.5em;
	border-top: 1px solid rgba(255,255,255,.1);
}
.hero-mini-stats > div { text-align: right; }
.hero-mini-stats strong { display: block; color: #ff6b70; font-size: 1.6em; line-height: 1; margin-bottom: 4px; }
.hero-mini-stats span { font-size: 12px; color: rgba(255,255,255,.6); }

/* ===== Animated motorcycle SVG ===== */
.hero-visual {
	position: relative; display: flex; align-items: center; justify-content: center;
	animation: 1.2s ease-out .15s both hero-visual-in;
}
@keyframes hero-visual-in { 0% { opacity: 0; transform: translateX(-30px) scale(.95); } }
.hero-svg { width: 100%; max-width: 480px; height: auto; display: block; filter: drop-shadow(0 18px 36px rgba(0,0,0,.45)); }

/* =====================================================
 * SVG ANIMATIONS — robust strategy for all browsers
 *
 * Each rotating element (.wheel-spin, .pc-gear, .pc-wheel, .pc-spark,
 *  .eng-crank, .eng-fan, .eng-spark) sits INSIDE an outer <g transform="translate(X Y)">.
 *  The inner element's children are centered at LOCAL (0, 0), so SVG's default
 *  transform-origin (0, 0) is exactly the element's visual center after the
 *  parent's translate. That makes rotations spin in place in every browser,
 *  with no need for transform-box: fill-box.
 *
 * For circles/paths NOT wrapped in an outer translate (.eng-pulse, .pc-bolt,
 *  .eng-heat, .exhaust, .moto-ring) we set an explicit pixel transform-origin
 *  matching the visual center.
 * ===================================================== */

/* whole bike subtle bobbing — translateY only, origin irrelevant */
.moto-body { animation: moto-idle .25s ease-in-out infinite alternate; }
@keyframes moto-idle { 0% { transform: translateY(0); } 100% { transform: translateY(-1.5px); } }

/* spinning wheels — wrapped in outer translate; default origin (0,0) IS wheel center */
.wheel-spin { transform-origin: 0 0; animation: wheel-rotate .55s linear infinite; }
@keyframes wheel-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* speed lines whooshing — translateX only */
.speed-line { animation: speed-dash .5s linear infinite; }
.speed-line.s1 { animation-delay: 0s; }
.speed-line.s2 { animation-delay: -.16s; }
.speed-line.s3 { animation-delay: -.32s; }
@keyframes speed-dash {
	0%   { opacity: 0; transform: translateX(0); }
	30%  { opacity: 1; }
	100% { opacity: 0; transform: translateX(-40px); }
}

/* exhaust puff: circle at cx=120 cy=235 in the Hero SVG */
.exhaust { transform-origin: 120px 235px; animation: exhaust-puff 1.6s ease-out infinite; }
@keyframes exhaust-puff {
	0%   { opacity: .6; transform: translate(0,0) scale(.6); }
	100% { opacity: 0;  transform: translate(-26px,-10px) scale(1.6); }
}

/* headlight glow — opacity only */
.headlight-glow { animation: headlight 2.4s ease-in-out infinite; }
@keyframes headlight {
	0%, 100% { opacity: .35; }
	50%      { opacity: .85; }
}

/* rotating backdrop ring: circle at cx=200 cy=180 in the Hero SVG */
.moto-ring { transform-origin: 200px 180px; animation: ring-spin 50s linear infinite; }
@keyframes ring-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* floating dots — translate only */
.float-dot { opacity: .6; animation: dot-float 6s ease-in-out infinite; }
.float-dot.d1 { animation-delay: 0s; }
.float-dot.d2 { animation-delay: -2s; }
.float-dot.d3 { animation-delay: -4s; }
@keyframes dot-float {
	0%, 100% { transform: translate(0,0); opacity: .6; }
	50%      { transform: translate(7px,-11px); opacity: 1; }
}

/* =====================================================
 * SECTION HEADINGS
 * ===================================================== */
.sec-head { text-align: center; margin-bottom: 3em; }
.sec-head .eyebrow {
	display: inline-block; font-size: 12px; font-weight: bold; letter-spacing: 3px;
	color: var(--mt-red); background: rgba(224,33,41,.08);
	padding: 6px 14px; border-radius: 20px; margin-bottom: 1em;
}
.sec-head h2 { color: var(--mt-navy); margin: 0 0 .4em; font-size: 2.2em; }
.sec-head p { color: var(--mt-muted); max-width: 600px; margin: 0 auto; line-height: 1.8; }
[data-theme="dark"] .sec-head h2 { color: #fff; }
[data-theme="dark"] .sec-head p { color: rgba(255,255,255,.7); }
[data-theme="dark"] .sec-head .eyebrow { background: rgba(224,33,41,.2); color: #ff6b70; }

/* =====================================================
 * ABOUT
 * ===================================================== */
#about {
	padding: 7em 8% 5em;
	background: radial-gradient(circle at 90% 10%, rgba(224,33,41,.04) 0%, transparent 40%), #fff;
	position: relative; overflow: hidden;
}
.about-wrap {
	max-width: 1200px; margin: 0 auto;
	display: grid; grid-template-columns: 1fr 1fr; gap: 4em;
	align-items: center; text-align: right;
}
.about-image { position: relative; }
.about-image .engine-svg {
	width: 100%;
	max-width: 460px;
	height: auto;
	display: block;
	margin: 0 auto;
	filter: drop-shadow(0 18px 36px rgba(27,42,74,.25));
}
.about-image::before {
	content: ''; position: absolute; top: 20px; right: -20px;
	width: calc(100% - 40px); height: calc(100% - 40px);
	border: 4px solid var(--mt-red);
	border-radius: 22px; z-index: -1; transition: .5s;
}
.about-image::after {
	content: ''; position: absolute; bottom: -20px; left: -20px;
	width: 110px; height: 110px; background: var(--mt-navy);
	border-radius: 18px; z-index: -1; opacity: .12;
}
.about-image:hover::before { top: 10px; right: -10px; }

/* ===== Engine SVG animations =====
   .eng-piston   — translate only (no origin needed)
   .eng-crank, .eng-fan — wrapped in outer <g transform="translate(...)">; default
                          SVG origin (0,0) IS the crank/fan center
   .eng-spark   — wrapped in outer <g transform="translate(190 60)">; scale around (0,0)
                  works because the spark contents are centered around (0,-18)
   .eng-heat, .eng-pulse — NOT wrapped; explicit pixel transform-origin */
.eng-piston {
	animation: piston-stroke .42s ease-in-out infinite alternate;
}
@keyframes piston-stroke {
	0%   { transform: translateY(0); }
	100% { transform: translateY(-18px); }
}
.eng-crank {
	transform-origin: 0 0;
	animation: crank-rotate .42s linear infinite;
}
@keyframes crank-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.eng-fan {
	transform-origin: 0 0;
	animation: fan-rotate .55s linear infinite;
}
@keyframes fan-rotate { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
.eng-spark {
	transform-origin: 0 -18px;
	animation: spark-flash 1.2s ease-out infinite;
}
@keyframes spark-flash {
	0%, 100% { opacity: 0; transform: scale(.3); }
	5%       { opacity: 1; transform: scale(1); }
	15%      { opacity: 0; transform: scale(.5); }
}
.eng-heat {
	transform-origin: 190px 92px;
	animation: heat-wave 2.5s ease-in-out infinite;
}
@keyframes heat-wave {
	0%, 100% { opacity: .35; transform: scaleX(.9) translateY(0); }
	50%      { opacity: .85; transform: scaleX(1.1) translateY(-4px); }
}
.eng-pulse {
	transform-origin: 50px 340px;
	animation: pulse-ring 1.6s ease-out infinite;
}
@keyframes pulse-ring {
	0%   { opacity: .8; transform: scale(.6); }
	100% { opacity: 0;  transform: scale(2.4); }
}
.about-content .eyebrow {
	display: inline-block; font-size: 12px; font-weight: bold; letter-spacing: 3px;
	color: var(--mt-red); background: rgba(224,33,41,.08);
	padding: 6px 14px; border-radius: 20px; margin-bottom: 1em;
}
.about-content h2 { color: var(--mt-navy); margin: 0 0 .8em; font-size: 2.1em; line-height: 1.3; }
.about-content h2 span { color: var(--mt-red); }
.about-content p { color: #555; line-height: 2; margin-bottom: 1em; }
.feature-list { list-style: none; padding: 0; margin: 1.6em 0; }
.feature-list li { display: flex; align-items: flex-start; gap: 14px; padding: 10px 0; }
.feature-list .check {
	flex: 0 0 32px; width: 32px; height: 32px;
	background: linear-gradient(135deg, var(--mt-navy) 0%, var(--mt-navy-2) 100%);
	border-radius: 8px; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 12px rgba(27,42,74,.2);
}
.feature-list .check svg { width: 16px; height: 16px; fill: #fff; }
.feature-list span { color: #333; font-weight: 500; line-height: 32px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; margin-top: 2em; }
.stat {
	background: linear-gradient(160deg, var(--mt-navy) 0%, var(--mt-navy-2) 100%);
	color: #fff; padding: 1.4em 1em; border-radius: 16px; text-align: center;
	box-shadow: 0 8px 22px rgba(27,42,74,.18); transition: .3s;
	position: relative; overflow: hidden;
}
.stat::before {
	content: ''; position: absolute; top: -20px; left: -20px;
	width: 60px; height: 60px; background: var(--mt-red);
	border-radius: 50%; opacity: .3; transition: .5s;
}
.stat:hover { transform: translateY(-6px); box-shadow: 0 14px 32px rgba(27,42,74,.3); }
.stat:hover::before { transform: scale(2.2); opacity: .4; }
.stat strong { display: block; font-size: 2.2em; color: #ff6b70; margin-bottom: 6px; position: relative; }
.stat span { font-size: 14px; opacity: .9; position: relative; }

/* =====================================================
 * PRODUCTS
 * ===================================================== */
#products {
	padding: 6em 1em 5em;
	background: linear-gradient(180deg, var(--mt-gray) 0%, #e7e9ef 100%);
}
.products-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px; max-width: 1100px; margin: 0 auto; padding: 0 1em;
}
.product-card {
	background: #fff; border-radius: 20px; overflow: hidden; text-align: right;
	transition: .4s; box-shadow: 0 10px 30px rgba(27,42,74,.08); position: relative;
}
.product-card:hover { transform: translateY(-10px); box-shadow: 0 24px 50px rgba(27,42,74,.2); }
.product-card .visual {
	height: 170px;
	background: linear-gradient(135deg, var(--mt-navy) 0%, var(--mt-navy-2) 100%);
	display: flex; align-items: center; justify-content: center;
	position: relative; overflow: hidden;
}
.product-card .visual::before {
	content: ''; position: absolute; bottom: -40px; right: -40px;
	width: 160px; height: 160px; background: var(--mt-red);
	border-radius: 32px; transform: rotate(20deg); opacity: .35; transition: .5s;
}
.product-card:hover .visual::before { transform: rotate(35deg) scale(1.1); }
.product-card .visual svg { width: 120px; height: 120px; position: relative; z-index: 2; }
.product-card .body { padding: 1.6em 1.6em 1.8em; }
.product-card h4 { color: var(--mt-navy); margin-bottom: 0.6em; font-size: 1.35em; }
.product-card p { color: #666; font-size: 15px; line-height: 1.85; margin-bottom: 1em; }
.product-card .tag {
	display: inline-block; background: rgba(27,42,74,.06); color: var(--mt-navy);
	font-size: 12px; padding: 5px 14px; border-radius: 20px; font-weight: 600;
}
/* Product SVG animations — all wrapped in outer <g transform="translate(...)">.
   Default SVG transform-origin (0,0) is the wrapped element's visual center. */
.pc-wheel { transform-origin: 0 0; animation: wheel-rotate 1s linear infinite; }
.pc-gear  { transform-origin: 0 0; animation: wheel-rotate 6s linear infinite; }
.pc-gear.pc-gear-reverse { animation: wheel-rotate 4s linear infinite reverse; }
.pc-spark { transform-origin: 0 0; animation: spark-blink 1.2s ease-in-out infinite; }
.pc-bolt  { transform-origin: 30px 45px; animation: spark-blink 1.4s ease-in-out infinite; }
@keyframes spark-blink {
	0%, 100% { opacity: .3; transform: scale(.85); }
	50%      { opacity: 1; transform: scale(1.15); }
}

/* =====================================================
 * SERVICES
 * ===================================================== */
#services {
	padding: 6em 8% 5em; background: var(--mt-navy); color: #fff;
	position: relative; overflow: hidden;
}
#services::before {
	content: ''; position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
	background-size: 50px 50px;
}
.services-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px; max-width: 1100px; margin: 0 auto; position: relative; z-index: 2;
}
.service {
	padding: 2.2em 1.6em; background: rgba(255,255,255,.04);
	border: 1px solid rgba(255,255,255,.08); border-radius: 16px;
	transition: .3s; position: relative; overflow: hidden;
}
.service::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(135deg, rgba(224,33,41,.18) 0%, transparent 60%);
	opacity: 0; transition: .35s;
}
.service:hover { background: rgba(255,255,255,.07); border-color: var(--mt-red); transform: translateY(-6px); }
.service:hover::after { opacity: 1; }
.service .ico {
	width: 60px; height: 60px; margin: 0 auto 1.2em;
	background: linear-gradient(135deg, var(--mt-red) 0%, var(--mt-red-2) 100%);
	border-radius: 16px; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 18px rgba(224,33,41,.4); position: relative; z-index: 2; transition: .3s;
}
.service:hover .ico { transform: rotate(-8deg) scale(1.08); }
.service .ico svg { width: 30px; height: 30px; fill: #fff; }
.service h4 { color: #fff; margin-bottom: 0.6em; font-size: 1.15em; position: relative; z-index: 2; }
.service p { color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.8; position: relative; z-index: 2; }

/* =====================================================
 * GALLERY + LIGHTBOX
 * ===================================================== */
#gallery { padding: 6em 1em 5em; background: #fff; }
.gallery-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px; max-width: 1100px; margin: 0 auto; padding: 0 1em;
}
.gallery-grid .gi {
	position: relative; aspect-ratio: 1 / 1; overflow: hidden;
	border-radius: 14px; cursor: pointer; transition: .3s; display: block;
}
.gallery-grid .gi img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.gallery-grid .gi::before {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgba(27,42,74,.85) 100%);
	opacity: 0; transition: .3s; z-index: 1;
}
.gallery-grid .gi::after {
	content: '+'; position: absolute; top: 50%; left: 50%;
	transform: translate(-50%, -50%) scale(.5);
	width: 50px; height: 50px; background: var(--mt-red); color: #fff;
	border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-size: 28px; opacity: 0; transition: .35s; z-index: 2; font-weight: 300; line-height: 1;
}
.gallery-grid .gi:hover img { transform: scale(1.08); }
.gallery-grid .gi:hover::before { opacity: 1; }
.gallery-grid .gi:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.lightbox {
	position: fixed; inset: 0; z-index: 999; background: rgba(17, 28, 51, .96);
	display: none; align-items: center; justify-content: center; opacity: 0;
	transition: opacity .3s; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox-img-wrap { position: relative; max-width: 92vw; max-height: 88vh; display: flex; align-items: center; justify-content: center; }
.lightbox img {
	max-width: 92vw; max-height: 88vh; border-radius: 12px;
	box-shadow: 0 24px 60px rgba(0,0,0,.6); display: block; width: auto; transition: opacity .25s;
}
.lightbox img.fading { opacity: 0; }
.lightbox-close, .lightbox-prev, .lightbox-next {
	padding: 0 !important;
	position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0;
	width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
	display: flex; align-items: center; justify-content: center; transition: .25s;
	backdrop-filter: blur(8px); font-size: 22px; z-index: 1000;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--mt-red); transform: scale(1.08); }
.lightbox-close { top: 18px; left: 18px; }
.lightbox-prev  { top: 50%; right: 18px; transform: translateY(-50%); }
.lightbox-next  { top: 50%; left: 18px; transform: translateY(-50%); }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-prev svg, .lightbox-next svg { width: 22px; height: 22px; fill: currentColor; }
.lightbox-counter {
	position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
	color: rgba(255,255,255,.7); font-size: 14px; background: rgba(0,0,0,.4);
	padding: 6px 14px; border-radius: 20px; backdrop-filter: blur(6px);
}

/* =====================================================
 * CONTACT (form -> WhatsApp)
 * ===================================================== */
#contact {
	padding: 6em 1.5em 5em;
	background: linear-gradient(135deg, var(--mt-navy-3) 0%, var(--mt-navy) 100%);
	color: #fff; position: relative; overflow: hidden;
}
#contact::before {
	content: ''; position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
	background-size: 40px 40px;
}
.contact-wrap {
	position: relative; z-index: 2; max-width: 560px; margin: 0 auto;
}
.contact-form { text-align: right; margin-top: 1em; }
.contact-form .field { margin-bottom: 16px; }
.contact-form label { display: block; font-size: 14px; color: rgba(255,255,255,.8); margin-bottom: 6px; }
.contact-form input, .contact-form textarea {
	width: 100%; padding: 12px 16px !important; border-radius: 10px !important;
	background: rgba(255,255,255,.07) !important; color: #fff !important;
	border: 1px solid rgba(255,255,255,.15) !important; font-size: 15px;
}
.contact-form input:focus, .contact-form textarea:focus {
	border-color: var(--mt-red) !important; background: rgba(255,255,255,.1) !important;
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form .wa-submit {
	width: 100%; padding: 14px; border-radius: 12px; cursor: pointer;
	background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); color: #fff;
	font-size: 16px; font-weight: bold; display: inline-flex;
	align-items: center; justify-content: center; gap: 10px; transition: .3s;
	box-shadow: 0 10px 24px rgba(37,211,102,.35);
}
.contact-form .wa-submit:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(37,211,102,.5); }
.contact-form .wa-submit svg { width: 22px; height: 22px; fill: #fff; }
.contact-meta {
	margin-top: 2em; display: flex; flex-wrap: wrap; justify-content: center;
	gap: 1.5em; color: rgba(255,255,255,.85);
}
.contact-meta a, .contact-meta span {
	display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-size: 14px;
}
.contact-meta a:hover { color: #ff6b70; }
.contact-meta svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

/* =====================================================
 * FOOTER
 * ===================================================== */
footer { background: #0f1830; color: #aab3c5; position: relative; overflow: hidden; }
footer::before {
	content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
	background: linear-gradient(90deg, var(--mt-red) 0%, #fff 50%, var(--mt-red) 100%);
}
.footer-main {
	max-width: 1200px; margin: 0 auto; padding: 4em 6% 2em;
	display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5em; text-align: right;
}
.footer-col h4 {
	color: #fff; font-size: 1.05em; margin-bottom: 1.4em;
	position: relative; padding-bottom: 10px;
}

.footer-col a::before{display: none}
.footer-col h4::after {
	content: ''; position: absolute; bottom: 0; right: 0;
	width: 40px; height: 3px; background: var(--mt-red); border-radius: 2px;
}
.footer-brand img { width: 90%; margin-bottom: 1em }
.footer-brand p { color: #8a93a8; line-height: 1.9; font-size: 14px; margin-bottom: 1.4em; }
.footer-brand .social { display: flex; gap: 10px; }
.footer-brand .social a {
	width: 38px; height: 38px; background: rgba(255,255,255,.06);
	border-radius: 10px; color: #aab3c5; display: inline-flex;
	align-items: center; justify-content: center; transition: .25s;
}
.footer-brand .social a:hover { background: var(--mt-red); color: #fff; transform: translateY(-3px); }
.footer-brand .social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 10px 0; }
.footer-col a { color: #8a93a8; font-size: 14px; transition: .2s; display: inline-flex; align-items: center; gap: 8px; }
.footer-col a::before {
	content: ''; width: 6px; height: 6px; background: var(--mt-red); border-radius: 50%;
	opacity: 0; transform: translateX(8px); transition: .25s;
}
.footer-col a:hover { color: #fff; }
.footer-col a:hover::before { opacity: 1; transform: translateX(0); }
.footer-contact .item {
	display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px;
	color: #8a93a8; font-size: 14px;
}
.footer-contact .item svg { flex-shrink: 0; width: 18px; height: 18px; fill: #ff6b70; margin-top: 3px; }
.footer-contact a { color: #aab3c5; }
.footer-contact a:hover { color: #ff6b70; }
.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.06); padding: 1.5em 6%;
	display: flex; justify-content: space-between; align-items: center;
	flex-wrap: wrap; gap: 1em; color: #6b7488; font-size: 13px;
}
.footer-bottom a { color: #ff6b70; }
@media all and (max-width: 860px) {
	.footer-main { grid-template-columns: 1fr 1fr; gap: 2em; }
	.footer-bottom { flex-direction: column; text-align: center; }
}
@media all and (max-width: 540px) {
	.footer-main { grid-template-columns: 1fr; gap: 2em; text-align: center; }
	.footer-col h4::after { right: 50%; transform: translateX(50%); }
	.footer-brand .social { justify-content: center; }
	.footer-contact .item { justify-content: center; }
}

/* =====================================================
 * FAB (floating WhatsApp)
 * ===================================================== */
.fab-wa {
	position: fixed; bottom: 22px; left: 22px; width: 56px; height: 56px;
	background: #25D366; border-radius: 50%; display: flex;
	align-items: center; justify-content: center; z-index: 90;
	box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: .25s;
	animation: pulse-wa 2.5s ease-in-out infinite;
}
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 28px; height: 28px; fill: #fff; }
@keyframes pulse-wa {
	0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,.45); }
	50%      { box-shadow: 0 8px 28px rgba(37,211,102,.85), 0 0 0 12px rgba(37,211,102,0); }
}

/* =====================================================
 * SCROLL ANIMATIONS
 * ===================================================== */
.av { opacity: 0; transform: translateX(-80px); transition: 1s; }
.av.T  { transform: translateY(80px); }
.av.B  { transform: translateY(-80px); }
.av.L  { transform: translateX(80px); }
.av.R  { transform: translateX(-80px); }
.av.ac_an { opacity: 1; transform: none; }

/* =====================================================
 * REDUCED MOTION
 * ===================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	.moto-body, .wheel-spin, .speed-line, .exhaust, .headlight-glow,
	.moto-ring, .float-dot, .hero-badge .dot, .hero-road::after,
	.pc-wheel, .pc-gear, .pc-spark, .pc-bolt, .fab-wa { animation: none !important; }
}

/* =====================================================
 * RESPONSIVE
 * ===================================================== */
@media all and (max-width: 960px) {
	header { padding: 110px 5% 60px; }
	.hero-wrap { grid-template-columns: 1fr; gap: 2em; text-align: center; }
	.hero-text { text-align: center; }
	.hero-text .lead { margin-left: auto; margin-right: auto; }
	.hero-text h1 { font-size: 2.1em; }
	.hero-cta { justify-content: center; }
	.hero-mini-stats { justify-content: center; }
	.hero-svg { max-width: 360px; }
	#about { padding: 5em 6%; }
	.about-wrap { grid-template-columns: 1fr; gap: 3em; }
	.about-image { max-width: 460px; margin: 0 auto; }
	.about-image .engine-svg { max-width: 380px; }
	#services { padding: 5em 6%; }
}
@media all and (max-width: 640px) {
	.navbar { padding: 12px 16px; }
	.navbar.scrolled { padding: 8px 16px; }
	.navbar .nav-logo span { font-size: 13px; }
	header { padding: 90px 5% 50px; }
	.hero-text h1 { font-size: 1.7em; }
	.hero-text .lead { font-size: 14px; }
	.hero-cta a { padding: 11px 20px; font-size: 14px; }
	.hero-mini-stats { gap: 1em; }
	.hero-mini-stats strong { font-size: 1.3em; }
	.hero-svg { max-width: 290px; }
	#about, #services { padding: 4em 5%; }
	#products, #gallery, #contact { padding: 4em .8em; }
	.about-content h2 { font-size: 1.7em; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stats .stat:last-child { grid-column: 1 / -1; }
	.gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
	.contact-meta { flex-direction: column; gap: 1em; }
	.fab-wa { width: 48px; height: 48px; bottom: 16px; left: 16px; }
	.fab-wa svg { width: 24px; height: 24px; }
	.lightbox-close, .lightbox-prev, .lightbox-next { width: 42px; height: 42px; }
}
