/* ==========================================================================
   SinoPeak Hardware & Machinery — Global Stylesheet
   Palette: Deep Navy (#0A2242) + Industrial Orange (#F26B21)
   Layout:  Mobile-first, responsive @768 / @1024, RTL-aware (logical props)
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #061527;
  --navy-900: #0A2242;
  --navy-800: #0E2C54;
  --navy-700: #16406F;
  --navy-600: #1E5290;
  --accent:    #F26B21;
  --accent-600:#DB5A12;
  --accent-100:#FDE9DC;
  --gold:      #F5A623;

  /* Neutrals */
  --bg:        #F5F7FA;
  --surface:   #FFFFFF;
  --line:      #E2E8F1;
  --line-dark: #24436E;
  --ink:       #12233C;
  --muted:     #5A6B80;
  --muted-2:   #8FA0B5;

  /* On dark */
  --on-dark:   #F2F6FB;
  --on-dark-2: #B7C6DA;

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(10,34,66,.06), 0 2px 8px rgba(10,34,66,.06);
  --shadow-2: 0 6px 24px rgba(10,34,66,.10);
  --shadow-3: 0 18px 48px rgba(6,21,39,.18);

  --radius: 14px;
  --radius-sm: 9px;
  --container: 1200px;
  --header-h: 72px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial,
          "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.text-accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 10px 22px;
  border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.2;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  user-select: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(242,107,33,.35); }
.btn-primary:hover { background: var(--accent-600); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-lg { min-height: 52px; padding: 14px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Section scaffolding ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-dark { background: var(--navy-900); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-alt { background: var(--surface); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--accent); border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 3px; background: var(--accent); border-radius: 2px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.section-dark .section-head p { color: var(--on-dark-2); }

/* ==========================================================================
   Top bar + Header
   ========================================================================== */
.topbar { background: var(--navy-950); color: var(--on-dark-2); font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar a { color: var(--on-dark-2); display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-group { display: flex; gap: 20px; align-items: center; }
.topbar .promise { color: var(--gold); font-weight: 600; }
@media (max-width: 767px) { .topbar .topbar-left { display: none; } .topbar .container { justify-content: center; } }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-2); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { height: 44px; width: auto; }
.brand-mark-dark { background: #fff; border-radius: 10px; padding: 4px 8px; box-sizing: border-box; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 900; font-size: 20px; letter-spacing: -.02em; color: var(--navy-900); }
.brand-name em { color: var(--accent); font-style: normal; }
.brand-tag { font-size: 13px; color: var(--muted-2); letter-spacing: .06em; text-transform: uppercase; }

.main-nav { display: none; margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; font-size: 15px; color: var(--ink);
}
.main-nav a:hover { background: var(--bg); color: var(--accent); }
.main-nav a.active { color: var(--accent); position: relative; }
.main-nav a.active::after {
  content: ""; position: absolute; inset-inline: 16px; bottom: 4px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.header-cta { display: none; }

/* Mobile drawer */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  border: 1px solid var(--line); border-radius: 9px; background: var(--surface);
}
.nav-toggle span { display: block; height: 2px; background: var(--navy-900); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  position: fixed; inset: 0; top: 0; z-index: 80;
  transform: translateX(100%); transition: transform .28s ease;
  background: var(--navy-900); color: #fff;
  padding: 20px; overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mobile-nav-close { width: 44px; height: 44px; border-radius: 9px; border: 1px solid var(--line-dark); background: transparent; color: #fff; font-size: 20px; }
.mobile-nav a {
  display: block; padding: 15px 8px; font-size: 18px; font-weight: 700;
  color: #fff; border-bottom: 1px solid var(--line-dark);
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav .btn { margin-top: 24px; }
@media (min-width: 1024px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
  .header-actions { margin-inline-start: 0; }
}

/* ==========================================================================
   Hero slider
   ========================================================================== */
.hero { position: relative; background: var(--navy-950); color: #fff; overflow: hidden; }
.hero-slides { position: relative; min-height: 520px; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
}
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,21,39,.94) 0%, rgba(6,21,39,.82) 38%, rgba(6,21,39,.30) 75%, rgba(6,21,39,.55) 100%);
}
.hero-slide .container { position: relative; z-index: 2; width: 100%; padding-block: 80px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(242,107,33,.16); border: 1px solid rgba(242,107,33,.5);
  color: #FFB07E; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 100px; margin-bottom: 22px;
}
.hero h1 {
  color: #fff; font-size: clamp(32px, 5vw, 56px); max-width: 640px; margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-sub { color: var(--on-dark-2); font-size: clamp(16px, 2vw, 19px); max-width: 560px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-dots {
  position: absolute; bottom: 26px; inset-inline-start: 0; width: 100%; z-index: 5;
  display: flex; justify-content: center; gap: 9px;
}
.hero-dots button {
  width: 30px; height: 5px; border-radius: 3px; border: 0;
  background: rgba(255,255,255,.35); transition: background .2s, width .2s;
}
.hero-dots button.active { background: var(--accent); width: 44px; }

.hero-stats {
  background: var(--navy-800);
  border-bottom: 1px solid var(--line-dark);
}
.hero-stats .container {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line-dark);
}
.hero-stat { background: var(--navy-800); text-align: center; padding: 26px 12px; }
.hero-stat .num { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; color: #fff; }
.hero-stat .num span { color: var(--accent); }
.hero-stat .label { color: var(--on-dark-2); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
@media (min-width: 768px) { .hero-stats .container { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .hero-slides { min-height: 600px; } }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid-3 { display: grid; gap: 22px; grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: 22px; grid-template-columns: 1fr; }
.grid-2 { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2,1fr); } .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } .grid-2 { grid-template-columns: repeat(2,1fr); } }

/* Advantage cards */
.adv-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 28px 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.adv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: #F5C9AC; }
.adv-icon {
  width: 58px; height: 58px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: #fff; font-size: 24px; margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(14,44,84,.28);
}
.adv-card h3 { font-size: 20px; }
.adv-card p { color: var(--muted); margin: 0; font-size: 15px; }
.adv-num {
  position: absolute; top: 22px; inset-inline-end: 26px;
  font-size: 52px; font-weight: 900; color: var(--bg); line-height: 1;
  -webkit-text-stroke: 1px var(--line);
}

/* Category cards */
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 210px; display: flex; align-items: flex-end;
  color: #fff; box-shadow: var(--shadow-1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,21,39,.05) 30%, rgba(6,21,39,.88) 100%);
}
.cat-body { position: relative; z-index: 2; padding: 20px 22px; width: 100%; }
.cat-body h3 { color: #fff; font-size: 19px; margin-bottom: 2px; }
.cat-body .count { color: var(--on-dark-2); font-size: 13px; }
.cat-arrow {
  position: absolute; inset-inline-end: 18px; bottom: 18px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: transform .2s;
}
.cat-card:hover .cat-arrow { transform: translateX(3px); }

/* Product cards */
.prod-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.prod-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--navy-950); }
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.prod-card:hover .prod-media img { transform: scale(1.05); }
.prod-badge {
  position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px;
}
.prod-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.prod-cat { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.prod-body h3 { font-size: 17px; margin-bottom: 10px; }
.prod-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.spec-chip {
  font-size: 12px; color: var(--muted); background: var(--bg);
  border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; font-weight: 600;
}
.prod-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.prod-moq { font-size: 13px; color: var(--muted); font-weight: 600; }
.prod-moq strong { color: var(--navy-900); }
.btn-quote {
  min-height: 40px; padding: 8px 16px; border-radius: 8px; border: 0;
  background: var(--navy-900); color: #fff; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s;
}
.btn-quote:hover { background: var(--accent); }

/* Feature split (Why choose us) */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1.05fr 1fr; } }
.check-list { display: grid; gap: 14px; margin: 26px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-dark-2); }
.check-list li strong { color: #fff; display: block; }
.check-list .tick {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  background: rgba(242,107,33,.18); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900;
}
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-3); width: 100%; }
.split-media .float-chip {
  position: absolute; bottom: -22px; inset-inline-start: -10px;
  background: var(--surface); color: var(--ink);
  border-radius: 12px; box-shadow: var(--shadow-2);
  padding: 14px 20px; display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 14px;
}
.float-chip .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-100); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 18px; }

/* Process steps */
.steps { display: grid; gap: 18px; counter-reset: step; grid-template-columns: 1fr; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(5,1fr); } }
.step {
  background: rgba(255,255,255,.04); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 24px 20px; position: relative;
}
.step .step-num {
  font-size: 14px; font-weight: 900; color: var(--accent); letter-spacing: .1em; margin-bottom: 10px;
}
.step h4 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--on-dark-2); font-size: 13.5px; margin: 0; }

/* Certifications */
.cert-band { background: var(--surface); border-block: 1px solid var(--line); }
.cert-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cert-chip {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 100px; padding: 10px 20px;
  font-weight: 800; font-size: 14px; color: var(--navy-800); background: var(--bg);
}
.cert-chip .ic { color: var(--accent); font-size: 16px; }

/* Testimonials */
.testi-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 16px;
  transition: transform .2s, box-shadow .2s;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; }
.testi-text { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.testi-person { display: flex; align-items: center; gap: 13px; border-top: 1px solid var(--line); padding-top: 16px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.testi-person .who strong { display: block; font-size: 15px; }
.testi-person .who span { font-size: 13px; color: var(--muted); }

/* CTA band */
.cta-band {
  background:
    radial-gradient(1000px 300px at 85% -60%, rgba(242,107,33,.35), transparent 60%),
    var(--navy-900);
  color: #fff; border-radius: 20px; padding: 48px 32px;
  display: flex; flex-direction: column; gap: 24px; align-items: flex-start;
  position: relative; overflow: hidden;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 6px; }
.cta-band p { color: var(--on-dark-2); margin: 0; max-width: 560px; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 14px; }
@media (min-width: 900px) {
  .cta-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 52px 56px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-2); font-size: 14.5px; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; padding: 60px 0 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a:hover { color: var(--accent); }
.footer-links li { margin-bottom: 10px; }
.footer-about p { margin: 14px 0 18px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line-dark);
  display: inline-flex; align-items: center; justify-content: center; color: var(--on-dark-2);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 13px; align-items: flex-start; }
.footer-contact .ic { color: var(--accent); margin-top: 2px; width: 16px; text-align: center; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 20px 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: #6E809A; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(800px 340px at 80% -80%, rgba(242,107,33,.28), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
}
.page-hero .container { position: relative; }
.breadcrumb { font-size: 13.5px; color: var(--on-dark-2); margin-bottom: 14px; }
.breadcrumb a { color: var(--on-dark-2); }
.breadcrumb a:hover { color: var(--accent); }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin-bottom: 10px; }
.page-hero p { color: var(--on-dark-2); max-width: 640px; margin: 0; font-size: 17px; }

/* ---------- Filter bar (products) ---------- */
.filter-bar {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; display: grid; gap: 12px; box-shadow: var(--shadow-1);
  position: sticky; top: calc(var(--header-h) + 8px); z-index: 40;
}
@media (min-width: 900px) { .filter-bar { grid-template-columns: 1fr 320px 190px; align-items: center; } }
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  border-radius: 100px; padding: 8px 16px; font-size: 13.5px; font-weight: 700;
  transition: .15s;
}
.pill:hover { border-color: var(--accent); color: var(--accent); }
.pill.active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.search-input, .select-wrap select, .form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
  font-size: 15px; font-family: inherit; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus,
.search-input:focus, .select-wrap select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242,107,33,.15);
}
.input-icon { position: relative; }
.input-icon .ic { position: absolute; inset-inline-start: 13px; top: 50%; transform: translateY(-50%); color: var(--muted-2); }
.input-icon .search-input { padding-inline-start: 38px; }
.select-wrap { position: relative; }
.select-wrap::after { content: "▾"; position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.select-wrap select { appearance: none; padding-inline-end: 34px; }
.results-count { font-size: 14px; color: var(--muted); }
.results-count strong { color: var(--ink); }

.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state .ic { font-size: 42px; color: var(--muted-2); margin-bottom: 12px; }

/* ---------- Forms / quote ---------- */
.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-2); overflow: hidden;
}
.form-card-head { background: var(--navy-900); color: #fff; padding: 24px 28px; }
.form-card-head h3 { margin: 0 0 4px; font-size: 20px; color: #fff; }
.form-card-head p { margin: 0; color: var(--on-dark-2); font-size: 14px; }
.form-card-body { padding: 28px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2,1fr); } .form-row.thirds { grid-template-columns: repeat(3,1fr); } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.form-field label .req { color: var(--accent); }
.form-hint { font-size: 12.5px; color: var(--muted); }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.form-msg { border-radius: 10px; padding: 13px 16px; font-size: 14px; font-weight: 600; display: none; margin-bottom: 16px; }
.form-msg.ok { display: block; background: #E8F6EE; color: #1B7A43; border: 1px solid #BFE6CF; }
.form-msg.err { display: block; background: #FDEDEB; color: #B3362A; border: 1px solid #F3C6C0; }

/* Contact info cards */
.contact-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(4,1fr); } }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .2s, box-shadow .2s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.contact-card .ic {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px;
  background: var(--accent-100); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact-card h3 { font-size: 16px; }
.contact-card p { color: var(--muted); font-size: 14.5px; margin: 0; word-break: break-word; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-1); min-height: 380px; background: #DDE5EE; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- About page ---------- */
.timeline { position: relative; margin-top: 10px; padding-inline-start: 26px; }
.timeline::before {
  content: ""; position: absolute; inset-inline-start: 6px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg, var(--accent), var(--navy-600));
  border-radius: 2px;
}
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; inset-inline-start: -26px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--accent);
}
.tl-year { font-weight: 900; color: var(--accent); font-size: 18px; }
.tl-item h4 { margin: 2px 0 4px; font-size: 16.5px; }
.tl-item p { color: var(--muted); font-size: 14.5px; margin: 0; }
.gallery-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3,1fr); } .gallery-grid .tall { grid-row: span 2; } }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-1); aspect-ratio: 4/3; }
.gallery-grid .tall img { aspect-ratio: auto; }
.stat-strip { display: grid; gap: 16px; grid-template-columns: repeat(2,1fr); }
@media (min-width: 900px) { .stat-strip { grid-template-columns: repeat(4,1fr); } }
.stat-box { background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 26px 20px; text-align: center; }
.stat-box .num { font-size: clamp(28px,3vw,40px); font-weight: 900; color: #fff; }
.stat-box .num span { color: var(--accent); }
.stat-box .label { color: var(--on-dark-2); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 90; background: rgba(6,21,39,.62);
  display: none; align-items: flex-start; justify-content: center;
  padding: 24px 16px; overflow-y: auto; backdrop-filter: blur(3px);
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--surface); border-radius: 18px; width: 100%; max-width: 640px;
  box-shadow: var(--shadow-3); animation: modalIn .25s ease; margin: auto 0;
}
@keyframes modalIn { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 24px 28px 0; }
.modal-head h3 { margin: 0; font-size: 21px; }
.modal-close { width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); font-size: 17px; color: var(--muted); flex-shrink: 0; }
.modal-close:hover { border-color: var(--accent); color: var(--accent); }
.modal-body { padding: 22px 28px 28px; }
.prod-quick { display: flex; gap: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 20px; align-items: center; }
.prod-quick img { width: 86px; height: 86px; object-fit: cover; border-radius: 9px; flex-shrink: 0; }
.prod-quick .info h4 { margin: 0 0 3px; font-size: 15.5px; }
.prod-quick .info span { font-size: 13px; color: var(--muted); }

/* ---------- Floating widgets ---------- */
.float-stack { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 70; display: flex; flex-direction: column; gap: 10px; }
.float-btn {
  width: 54px; height: 54px; border-radius: 50%; border: 0;
  display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff;
  box-shadow: 0 10px 26px rgba(6,21,39,.35); transition: transform .15s;
}
.float-btn:hover { transform: scale(1.07); color: #fff; }
.float-wa { background: #25D366; }
.float-chat { background: var(--navy-900); }
.chat-panel {
  position: fixed; inset-inline-end: 18px; bottom: 86px; z-index: 75;
  width: min(360px, calc(100vw - 36px)); background: var(--surface);
  border-radius: 16px; box-shadow: var(--shadow-3); overflow: hidden;
  display: none; flex-direction: column; border: 1px solid var(--line);
}
.chat-panel.open { display: flex; }
.chat-head { background: var(--navy-900); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.chat-head .avatar { width: 38px; height: 38px; font-size: 14px; }
.chat-head .t strong { display: block; font-size: 14.5px; }
.chat-head .t span { font-size: 12px; color: #7ED957; }
.chat-body { padding: 16px; background: var(--bg); flex: 1; max-height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 13px; font-size: 13.5px; line-height: 1.5; }
.chat-msg.bot { background: var(--surface); border: 1px solid var(--line); border-start-start-radius: 3px; align-self: flex-start; }
.chat-msg.me { background: var(--navy-900); color: #fff; border-start-end-radius: 3px; align-self: flex-end; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 12px; background: var(--bg); }
.chat-quick button { border: 1px solid var(--accent); color: var(--accent); background: var(--surface); border-radius: 100px; font-size: 12.5px; font-weight: 700; padding: 6px 12px; }
.chat-quick button:hover { background: var(--accent); color: #fff; }
.chat-foot { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-foot input { flex: 1; min-height: 42px; border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; font-size: 14px; font-family: inherit; }
.chat-foot input:focus { outline: none; border-color: var(--accent); }
.chat-foot button { width: 42px; height: 42px; border-radius: 9px; border: 0; background: var(--accent); color: #fff; font-size: 15px; }

/* ---------- Reveal on scroll (added by JS only, safe without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Misc ---------- */
.hidden { display: none !important; }
.section + .section { border-top: 1px solid var(--line); }
.section-dark + .section-dark { border-top: 0; }
.section-alt + .section-dark { border-top: 0; }
.section-dark + .section-alt { border-top: 0; }
.note-strip {
  display: flex; gap: 10px; align-items: flex-start;
  background: #FFF7EF; border: 1px dashed #F5C9AC; color: #9A4E12;
  border-radius: 10px; padding: 12px 16px; font-size: 13.5px;
}
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid rgba(242,107,33,.5); outline-offset: 2px; }

/* ---------- legal / privacy page ---------- */
.legal { max-width: 820px; }
.legal h2 {
  font-size: 20px; margin: 34px 0 10px; padding-top: 8px;
  color: var(--ink); letter-spacing: -.01em;
}
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); margin: 0 0 12px; line-height: 1.75; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { color: var(--muted); line-height: 1.7; margin-bottom: 7px; }
.legal strong { color: var(--ink); }
.legal a { color: var(--accent-600); text-decoration: underline; text-underline-offset: 2px; }
.legal-updated { font-size: 13.5px; color: var(--on-dark-2) !important; margin-top: 12px !important; }
.legal-contact {
  margin-top: 40px; padding: 26px 28px; border: 1px solid var(--line);
  border-left: 3px solid var(--accent); border-radius: 12px; background: #FAFBFD;
}
.legal-contact h3 { margin: 0 0 8px; font-size: 17px; }
.legal-contact p { margin-bottom: 16px !important; }
@media (max-width: 640px) { .legal { padding: 0 2px; } }

/* ---------- form consent line ---------- */
.consent {
  display: block; margin: -4px 0 16px; font-size: 12.5px; line-height: 1.55;
  color: var(--muted-2);
}
.consent a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: var(--accent); }

/* ---------- chat: WhatsApp hand-off ---------- */
.chat-wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 10px 12px 0; padding: 10px 12px; border-radius: 9px;
  background: #25D366; color: #fff !important; font-size: 13px; font-weight: 700;
}
.chat-wa:hover { background: #1EBE5A; color: #fff !important; }
.chat-wa i { font-size: 15px; }

/* ===== Brand wall ===== */
.brand-band .section-head p { color: var(--on-dark-2); }
.brand-wall {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.brand-wall li {
  display: flex; align-items: center; justify-content: center;
  min-height: 76px; padding: 12px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  font-weight: 800; font-size: 15px; letter-spacing: .05em;
  text-transform: uppercase; text-align: center;
  color: var(--on-dark-2);
  transition: transform .25s, background .25s, border-color .25s, color .25s;
}
.brand-wall li:hover {
  color: #fff;
  background: rgba(242,107,33,.14);
  border-color: var(--accent);
  transform: translateY(-3px);
}
.brand-note {
  margin: 26px auto 0; max-width: 720px; text-align: center;
  font-size: 12.5px; color: var(--on-dark-2); opacity: .75;
}
@media (max-width: 640px) {
  .brand-wall { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .brand-wall li { min-height: 60px; font-size: 13px; }
}

/* ===== Tech band: light blue grid texture (zzsl style) ===== */
.tech-band {
  background:
    linear-gradient(rgba(10,34,66,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,34,66,.035) 1px, transparent 1px),
    radial-gradient(1100px 480px at 88% -10%, rgba(30,82,144,.10), transparent 60%),
    radial-gradient(900px 420px at 0% 110%, rgba(30,82,144,.08), transparent 55%),
    linear-gradient(180deg, #F5F9FD, #EAF2FA);
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
}

/* Why choose us: heading row + 4 cards */
.why-head {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 48px; align-items: end;
}
.why-sub { margin: 0 0 6px; color: #51617A; font-size: 16px; line-height: 1.75; }
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px; margin-top: 52px;
}
.why-card {
  background: #fff; border: 1px solid rgba(10,34,66,.07); border-radius: 16px;
  padding: 30px 26px; box-shadow: 0 12px 32px rgba(10,34,66,.08);
  transition: transform .25s, box-shadow .25s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,34,66,.13); }
.why-ic {
  width: 52px; height: 52px; border-radius: 14px;
  background: #E7F0FA; color: var(--navy-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 22px;
}
.why-card h3 { margin: 0 0 10px; font-size: 17px; color: var(--ink); }
.why-card p { margin: 0; font-size: 14.5px; line-height: 1.7; color: #51617A; }
@media (max-width: 1000px) {
  .why-head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-card { padding: 24px 20px; }
}

/* Section head row with right-side CTA link */
.head-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap; margin-bottom: 8px;
}
.head-cta { font-weight: 800; color: var(--navy-800); white-space: nowrap; }
.head-cta:hover { color: var(--accent); }

/* Testimonial cards on tech band */
.tech-band .testi-card {
  background: #fff; border-color: rgba(10,34,66,.07);
  box-shadow: 0 12px 32px rgba(10,34,66,.08);
}
.tech-band .testi-text::before { content: "\201C\00A0"; color: var(--accent); font-weight: 900; }
.tech-band .testi-text::after { content: "\00A0\201D"; color: var(--accent); font-weight: 900; }
.why-head h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -.02em; }

/* ===== Product detail page ===== */
.prod-card h3 a { color: inherit; }
.prod-card h3 a:hover { color: var(--accent); }
.prod-media a { display: block; }
.pd-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.pd-main { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.pd-main img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumb { width: 84px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; }
.pd-thumb.active { border-color: var(--accent); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-info h1 { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.25; margin: 8px 0 14px; }
.pd-blurb { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0 0 18px; }
.pd-meta { margin: 18px 0; }
.pd-avail { display: inline-flex; align-items: center; gap: 8px; background: #E9F7EF; color: #1E7B4B; font-weight: 700; font-size: 14px; padding: 9px 14px; border-radius: 100px; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-wa { background: #25D366; color: #fff; border-color: #25D366; }
.btn-wa:hover { background: #1EBE5A; border-color: #1EBE5A; color: #fff; }
.pd-trust { margin: 16px 0 0; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; line-height: 1.6; }
.pd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 56px; }
.pd-block h2 { font-size: 20px; margin: 0 0 16px; }
.pd-table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pd-table th, .pd-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pd-table tr:last-child th, .pd-table tr:last-child td { border-bottom: 0; }
.pd-table th { width: 42%; color: var(--muted); font-weight: 600; background: #F7FAFD; }
.pd-table td { font-weight: 600; color: var(--ink); }
.pd-block p { color: var(--muted); line-height: 1.75; margin: 0 0 12px; }
.pd-dl { margin-top: 36px; }
.pd-file { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 14px 18px; font-weight: 700; }
.pd-file:hover { border-color: var(--accent); color: var(--accent); }
.pd-block .grid-3 { margin-top: 8px; }
@media (max-width: 900px) {
  .pd-grid { grid-template-columns: 1fr; gap: 26px; }
  .pd-cols { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .pd-table th { width: 40%; }
}
