:root {
  --navy: #0d2a52;
  --navy-2: #123c74;
  --blue: #1f5fa8;
  --accent: #f7941d;
  --accent-dark: #d97b0c;
  --ink: #1b2430;
  --muted: #5b6b7d;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(13, 42, 82, .08);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-mark {
  font-size: 20px; font-weight: 800; letter-spacing: .2px; color: var(--navy);
}
.brand-mark span { color: var(--accent); }
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 15px; color: var(--ink); font-weight: 500; }
.nav a:hover { color: var(--blue); }
.btn-wa {
  background: #20b358; color: #fff; padding: 9px 16px; border-radius: 6px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
}
.btn-wa:hover { background: #189c4b; }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #0d2a52 0%, #17406f 55%, #1f5fa8 100%);
  color: #fff; padding: 76px 0 0; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -80px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(247, 148, 29, .28), transparent 65%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: #ffd9a5; border: 1px solid rgba(255, 217, 165, .45); border-radius: 40px;
  padding: 5px 14px; margin-bottom: 20px;
}
.hero h1 { font-size: 44px; line-height: 1.18; margin: 0 0 18px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 17px; color: #d7e3f2; margin: 0 0 28px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 6px; font-weight: 600; font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.hero-shot {
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  background: #fff;
}
.hero-shot img { width: 100%; height: auto; object-fit: cover; }

.stats { display: flex; gap: 0; margin-top: 60px; border-top: 1px solid rgba(255, 255, 255, .16); }
.stat { flex: 1; padding: 24px 8px 30px; text-align: center; }
.stat b { display: block; font-size: 30px; font-weight: 800; color: #fff; }
.stat span { font-size: 13px; color: #b9cbe2; letter-spacing: .04em; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head h2 { font-size: 32px; margin: 0 0 14px; color: var(--navy); font-weight: 800; }
.section-head p { color: var(--muted); margin: 0; font-size: 16px; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}

.bg-soft { background: var(--bg-soft); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: start; }
.about-grid p { color: #37475a; margin: 0 0 16px; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.about-card b { display: block; color: var(--navy); margin-bottom: 4px; font-size: 15px; }
.about-card span { font-size: 13.5px; color: var(--muted); }

/* Capabilities */
.caps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.cap {
  background: #fff; border: 1px solid var(--line); border-radius: 40px;
  padding: 8px 18px; font-size: 14px; color: #37475a;
}
.cap:hover { border-color: var(--blue); color: var(--blue); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter {
  border: 1px solid var(--line); background: #fff; border-radius: 40px; padding: 8px 20px;
  font-size: 14px; cursor: pointer; color: var(--ink); font-family: inherit;
}
.filter:hover { border-color: var(--blue); color: var(--blue); }
.filter.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-img { background: #f8fafc; border-bottom: 1px solid var(--line); height: 210px; display: flex; align-items: center; justify-content: center; padding: 14px; }
.card-img img { max-height: 100%; width: auto; object-fit: contain; }
.card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.card-model { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .04em; }
.card-title { font-size: 17px; font-weight: 700; color: var(--navy); margin: 6px 0 8px; line-height: 1.35; }
.card-desc { font-size: 14px; color: var(--muted); margin: 0 0 14px; flex: 1; }
.card-more { font-size: 14px; font-weight: 600; color: var(--blue); }

/* Modal */
.modal-mask {
  position: fixed; inset: 0; background: rgba(9, 24, 45, .6); z-index: 90;
  display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto;
}
.modal-mask.open { display: flex; }
.modal {
  background: #fff; border-radius: 12px; max-width: 900px; width: 100%; padding: 30px 34px 34px;
  position: relative; box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
}
.modal-close {
  position: absolute; right: 16px; top: 12px; background: none; border: 0; font-size: 28px;
  line-height: 1; cursor: pointer; color: var(--muted);
}
.modal-head { display: grid; grid-template-columns: 320px 1fr; gap: 26px; align-items: center; margin-bottom: 22px; }
.modal-head img { border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; padding: 8px; }
.modal h3 { font-size: 24px; margin: 0 0 6px; color: var(--navy); }
.modal .model { color: var(--accent); font-weight: 700; font-size: 15px; }
.modal h4 { font-size: 15px; margin: 22px 0 10px; color: var(--navy); text-transform: uppercase; letter-spacing: .06em; }
.modal ul { margin: 0; padding-left: 20px; }
.modal li { font-size: 14.5px; color: #37475a; margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 5px 12px; font-size: 13px; color: #37475a; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.spec-table th { background: var(--bg-soft); width: 38%; color: var(--navy); font-weight: 600; }
.modal-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.modal-cta { margin-top: 22px; }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-item { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; padding: 22px; }
.why-item b { display: block; color: var(--navy); margin-bottom: 6px; font-size: 16px; }
.why-item span { font-size: 14px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; }
.contact-info p { margin: 0 0 14px; color: #37475a; font-size: 15px; }
.contact-info b { color: var(--navy); display: inline-block; min-width: 74px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 6px;
  font-family: inherit; font-size: 14px; color: var(--ink); background: #fff;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 95, 168, .1); }
textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* Footer */
.site-footer { background: var(--navy); color: #c3d3e6; padding: 46px 0 26px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-footer b { color: #fff; display: block; margin-bottom: 10px; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 30px; padding-top: 18px; font-size: 13px; color: #9db2cb; }

/* Floating WA */
.fab-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; background: #20b358; color: #fff;
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25); font-size: 26px;
}
.fab-wa:hover { background: #189c4b; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid, .modal-head { grid-template-columns: 1fr; }
  .hero { padding-top: 52px; }
  .hero h1 { font-size: 33px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff;
         flex-direction: column; align-items: flex-start; padding: 16px 24px 22px; gap: 16px;
         border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-inner { position: relative; }
  section { padding: 56px 0; }
  .grid { grid-template-columns: 1fr; }
  .why-grid, .about-cards, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .stats { flex-wrap: wrap; }
  .stat { flex: 1 1 50%; }
  .modal { padding: 24px 20px 28px; }
  .brand-mark { font-size: 17px; }
  .brand-sub { display: none; }
}
