/* ================================================================
   MBK TOOLS [P] LTD — SHARED STYLESHEET
   ================================================================ */

/* ── Variables ── */
:root {
  --orange:    #C8651B;
  --orange-dk: #a8520f;
  --orange-lt: #e87a2a;
  --navy:      #2C3E6B;
  --navy-dk:   #1e2d50;
  --navy-lt:   #3d527a;
  --white:     #FFFFFF;
  --g50:       #FAFAFA;
  --g100:      #F4F4F4;
  --g200:      #E5E5E5;
  --g400:      #9CA3AF;
  --g600:      #6B7280;
  --g800:      #1F2937;
  --fh:        'Montserrat', sans-serif;
  --fb:        'Inter', sans-serif;
  --nav-h:     82px;
  --r:         12px;
  --r-sm:      8px;
  --sh-sm:     0 2px 8px rgba(0,0,0,.08);
  --sh-md:     0 8px 32px rgba(0,0,0,.12);
  --sh-lg:     0 24px 64px rgba(0,0,0,.18);
  --ease:      0.3s cubic-bezier(.4,0,.2,1);
  --sp:        100px 0;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--fb); color: var(--g800); background: var(--white); overflow-x: hidden; line-height: 1.6; }
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.sp { padding: var(--sp); }

/* ── Section labels ── */
.sec-label {
  font-family: var(--fh); font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px; display: block;
}
.sec-title {
  font-family: var(--fh); font-size: clamp(28px,4vw,44px); font-weight: 800;
  color: var(--navy); line-height: 1.12; margin-bottom: 14px;
}
.sec-title span { color: var(--orange); }
.sec-sub { font-size: 16.5px; color: var(--g600); line-height: 1.78; max-width: 580px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 32px; border-radius: 6px;
  font-family: var(--fh); font-weight: 700; font-size: 14px; letter-spacing: .5px;
  transition: var(--ease); cursor: pointer; border: none;
}
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-dk); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,101,27,.4); }
.btn-navy   { background: var(--navy);   color: var(--white); }
.btn-navy:hover { background: var(--navy-dk); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(44,62,107,.35); }
.btn-outline-w { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.65); }
.btn-outline-w:hover { background: rgba(255,255,255,.1); border-color: var(--white); transform: translateY(-2px); }
.btn-outline-o { background: transparent; color: var(--orange); border: 2px solid var(--orange); }
.btn-outline-o:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }

/* ── Scroll-in animations ── */
.fu { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s ease; }
.fu.vis { opacity: 1; transform: translateY(0); }
.fu.d1 { transition-delay: .1s; }
.fu.d2 { transition-delay: .2s; }
.fu.d3 { transition-delay: .3s; }
.fu.d4 { transition-delay: .4s; }
.fu.d5 { transition-delay: .5s; }
.fu.d6 { transition-delay: .6s; }

/* ================================================================
   NAVBAR
   ================================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.97); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0,0,0,.07); transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--sh-md); }
.nav-inner {
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
/* Brand / logo */
.nav-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo {
  height: 68px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.nav-logo-fallback {
  font-family: var(--fh); font-size: 19px; font-weight: 900;
  color: var(--navy); line-height: 1.1;
}
.nav-logo-fallback span { color: var(--orange); }
.nav-logo-fallback small { display: block; font-size: 9px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--g400); }

/* Links */
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-family: var(--fh); font-size: 13px; font-weight: 600; letter-spacing: .3px;
  color: var(--g800); padding: 8px 13px; border-radius: 6px; transition: var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--orange); background: rgba(200,101,27,.07); }

/* CTA */
.nav-cta { flex-shrink: 0; }
.nav-cta .btn { padding: 10px 22px; font-size: 13px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; border-radius: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   PAGE HERO (inner pages — not home)
   ================================================================ */
.page-hero {
  background: linear-gradient(140deg, #0b1220 0%, #18243f 40%, #2c3e6b 100%);
  padding: calc(var(--nav-h) + 64px) 0 72px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; opacity: .03;
  background-image:
    linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-label {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(200,101,27,.2); border: 1px solid rgba(200,101,27,.35);
  color: var(--orange-lt); font-family: var(--fh); font-size: 11px;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 7px 16px; border-radius: 100px; margin-bottom: 18px;
}
.page-hero-label::before { content: ''; width: 5px; height: 5px; background: var(--orange); border-radius: 50%; }
.page-hero h1 { font-family: var(--fh); font-size: clamp(32px,5vw,58px); font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 14px; }
.page-hero h1 span { color: var(--orange); }
.page-hero p { font-size: 17px; color: rgba(255,255,255,.68); max-width: 540px; line-height: 1.75; }

/* ================================================================
   STATS BAR
   ================================================================ */
.stats-bar { background: var(--orange); }
.stats-bar .container { display: grid; grid-template-columns: repeat(4,1fr); }
.stat { padding: 34px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.22); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--fh); font-size: clamp(30px,4vw,52px); font-weight: 900; color: var(--white); line-height: 1; margin-bottom: 7px; }
.stat-lbl { font-family: var(--fh); font-size: 11px; font-weight: 600; color: rgba(255,255,255,.85); letter-spacing: 1.8px; text-transform: uppercase; }

/* ================================================================
   PRODUCT CARDS (shared)
   ================================================================ */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 20px; }
.pcard {
  background: var(--white); border-radius: var(--r); padding: 28px 24px;
  border: 1px solid var(--g200); transition: var(--ease); position: relative; overflow: hidden;
}
.pcard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--navy));
  transform: scaleX(0); transition: var(--ease); transform-origin: left;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }
.pcard:hover::before { transform: scaleX(1); }
.pcard-icon {
  width: 52px; height: 52px; background: rgba(200,101,27,.1); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; color: var(--orange); margin-bottom: 15px; transition: var(--ease);
}
.pcard:hover .pcard-icon { background: var(--orange); color: var(--white); transform: scale(1.06); }
.pcard-name { font-family: var(--fh); font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.pcard-makes { font-size: 11.5px; color: var(--g400); margin-bottom: 10px; font-weight: 500; }
.pcard-types { display: flex; flex-wrap: wrap; gap: 5px; }
.ptype { font-size: 11px; background: var(--g100); color: var(--g600); padding: 3px 8px; border-radius: 4px; font-weight: 500; }
.pcard-desc { font-size: 13.5px; color: var(--g600); line-height: 1.72; margin-top: 8px; }

/* ================================================================
   BRANDS MARQUEE
   ================================================================ */
.brands { background: var(--white); padding: 58px 0; overflow: hidden; border-top: 1px solid var(--g200); border-bottom: 1px solid var(--g200); }
.brands-lbl { text-align: center; font-family: var(--fh); font-size: 11px; font-weight: 700; letter-spacing: 3.5px; text-transform: uppercase; color: var(--g400); margin-bottom: 30px; }
.brands-wrap { overflow: hidden; position: relative; }
.brands-wrap::before, .brands-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2;
}
.brands-wrap::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.brands-wrap::after  { right: 0; background: linear-gradient(to left, var(--white), transparent); }
.brands-track { display: flex; animation: marquee 38s linear infinite; width: max-content; }
.brands-track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brand-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 148px; padding: 11px 24px; margin: 0 7px;
  background: var(--g100); border: 1px solid var(--g200); border-radius: 8px;
  font-family: var(--fh); font-size: 13.5px; font-weight: 700; color: var(--g600);
  white-space: nowrap; transition: var(--ease); cursor: default;
}
.brand-badge:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: scale(1.05); }

/* ================================================================
   WHY CHOOSE US CARDS
   ================================================================ */
.wgrid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.wcard {
  background: var(--white); border-radius: var(--r); padding: 40px 30px;
  text-align: center; border: 1px solid var(--g200); transition: var(--ease);
  position: relative; overflow: hidden;
}
.wcard::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--navy));
  transform: scaleX(0); transition: var(--ease);
}
.wcard:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.wcard:hover::after { transform: scaleX(1); }
.wcard-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg,rgba(200,101,27,.12),rgba(44,62,107,.07));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px; font-size: 28px; color: var(--orange); transition: var(--ease);
}
.wcard:hover .wcard-icon { background: var(--orange); color: var(--white); transform: scale(1.08); }
.wcard-title { font-family: var(--fh); font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.wcard-desc  { font-size: 14px; color: var(--g600); line-height: 1.72; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer { background: var(--navy-dk); color: var(--white); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 44px; margin-bottom: 48px; }
.footer-logo { height: 68px; width: auto; max-width: 200px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-logo-fallback { font-family: var(--fh); font-size: 20px; font-weight: 900; color: var(--white); }
.footer-logo-fallback span { color: var(--orange); }
.footer-brand p { color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.8; margin: 16px 0 22px; max-width: 280px; }
.footer-social { display: flex; gap: 9px; }
.footer-social a {
  width: 38px; height: 38px; background: rgba(255,255,255,.08); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.68); font-size: 14px; transition: var(--ease);
}
.footer-social a:hover { background: var(--orange); color: var(--white); }
.footer-col h4 { font-family: var(--fh); font-size: 12px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: rgba(255,255,255,.58); font-size: 14px; transition: var(--ease); display: flex; align-items: center; gap: 5px; }
.footer-links a::before { content: '›'; color: var(--orange); font-size: 17px; line-height: 1; }
.footer-links a:hover { color: var(--orange); }
.footer-ci { display: flex; flex-direction: column; gap: 13px; }
.footer-ci-item { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.58); font-size: 13.5px; line-height: 1.55; }
.footer-ci-item a { color: rgba(255,255,255,.72); text-decoration: none; transition: color .2s; }
.footer-ci-item a:hover { color: var(--orange); }
.footer-wa-btn { margin-left: 8px; color: #25D366; font-size: 14px; vertical-align: middle; transition: opacity .2s; }
.footer-wa-btn:hover { opacity: .75; color: #25D366 !important; }
.footer-ci-item i { color: var(--orange); margin-top: 2px; width: 13px; flex-shrink: 0; font-size: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p, .footer-bottom a { color: rgba(255,255,255,.4); font-size: 13px; transition: var(--ease); }
.footer-bottom a:hover { color: var(--orange); }
.footer-bottom-links { display: flex; gap: 20px; }

/* ================================================================
   BACK TO TOP
   ================================================================ */
.btt {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 48px; height: 48px; background: var(--orange); color: var(--white);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; opacity: 0; transform: translateY(16px);
  transition: var(--ease); box-shadow: 0 4px 18px rgba(200,101,27,.45);
}
.btt.vis { opacity: 1; transform: translateY(0); }
.btt:hover { background: var(--orange-dk); transform: translateY(-4px); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 960px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(14px);
    flex-direction: column; padding: 14px 24px 24px;
    gap: 2px; box-shadow: var(--sh-md); align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 15px; width: 100%; padding: 12px 14px; }
  .nav-cta  { display: none; }
  .wgrid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --sp: 72px 0; }
  .stats-bar .container { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 540px) {
  .wgrid { grid-template-columns: 1fr; }
  :root { --nav-h: 68px; }
  .nav-logo { height: 54px; max-width: 160px; }
}
