/* New York Security — leimingjie.com */
:root {
  --bg: #f6f7f9;
  --paper: #ffffff;
  --ink: #15202b;
  --muted: #5b6773;
  --line: #e2e6ea;
  --navy: #0f2740;
  --navy-2: #163552;
  --accent: #c45c26;
  --accent-ink: #fff;
  --radius: 12px;
  --shadow: 0 10px 28px rgba(15, 39, 64, 0.08);
  --font: "Source Sans 3", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 14px;
}
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; min-height: 40px; flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }

header.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); letter-spacing: 0.01em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 13px;
}
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.nav-links { display: flex; gap: 22px; color: var(--muted); font-size: 15px; font-weight: 600; flex-wrap: wrap; }
.nav-links a:hover { color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { border: 1px solid var(--line); border-radius: 999px; overflow: hidden; display: flex; }
.lang button {
  background: transparent; color: var(--muted); border: 0; padding: 6px 12px; cursor: pointer; font: inherit;
}
.lang button.on { background: var(--navy); color: #fff; font-weight: 700; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--accent-ink); font-weight: 700;
  border-radius: 8px; padding: 11px 18px; border: 0; cursor: pointer; font: inherit;
}
.btn.navy { background: var(--navy); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn:hover { filter: brightness(1.05); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--navy); border-radius: 8px; padding: 8px 10px; }

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #1c4a6e 100%),
              url("../images/hero.svg") right center / cover no-repeat;
  color: #fff; padding: 72px 0 84px;
}
.kicker { color: #f0c9a8; font-weight: 700; letter-spacing: 0.1em; font-size: 12px; text-transform: uppercase; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.15; margin: 0 0 16px; max-width: 16ch; letter-spacing: -0.02em; }
.lede { max-width: 38rem; color: rgba(255,255,255,.84); font-size: 18px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-phone { font-size: 18px; font-weight: 700; }
.hero-phone span { display: block; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.7); }

section { padding: 72px 0; }
section.alt { background: var(--paper); }
h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 10px; color: var(--navy); letter-spacing: -0.02em; }
.sub { color: var(--muted); max-width: 42rem; margin: 0 0 36px; }
.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
section.alt .card { background: var(--bg); }
.card h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); }
.steps article { counter-increment: step; }
.step-no {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px;
}

table.price { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
table.price th, table.price td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.price th { color: var(--muted); font-weight: 600; background: #eef2f5; }
table.price td:last-child, table.price th:last-child { font-weight: 700; color: var(--navy); }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--muted); margin: 10px 0 0; }

form.contact { display: grid; gap: 12px; }
input, textarea, select {
  width: 100%; background: #fff; border: 1px solid var(--line); color: var(--ink);
  border-radius: 8px; padding: 12px 14px; font: inherit;
}
textarea { min-height: 130px; resize: vertical; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.meta { color: var(--muted); margin: 0 0 16px; }
.meta strong { display: block; color: var(--navy); margin-bottom: 4px; }
.meta a { color: var(--navy); font-weight: 700; }

footer { background: var(--navy); color: rgba(255,255,255,.78); padding: 36px 0 48px; font-size: 14px; }
footer strong, footer a { color: #fff; }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.note { font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .grid-4, .grid-3, .contact-grid, .steps { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; left: 0; right: 0; top: 76px;
    background: #fff; flex-direction: column; padding: 16px 20px 22px;
    border-bottom: 1px solid var(--line);
  }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2, .contact-grid, .steps { grid-template-columns: 1fr; }
  h1 { max-width: none; }
}
