/* ============================================================
   Architectural & Scale Model Manufacturer — B2B site styles
   Zero external dependencies. Light theme, mobile-first.
   ============================================================ */
:root {
  --ink: #16232e;
  --ink-2: #45586a;
  --line: #dfe6ec;
  --bg: #f7f9fb;
  --card: #ffffff;
  --brand: #0e3a5d;      /* deep engineering blue */
  --brand-2: #12694f;    /* accent green */
  --accent: #d97706;     /* CTA orange */
  --radius: 10px;
  --shadow: 0 1px 3px rgba(22,35,46,.08), 0 8px 24px rgba(22,35,46,.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--brand); }
.brand .logo-slot {
  width: 34px; height: 34px; border: 1.5px dashed #b6c3ce; border-radius: 8px;
  display: grid; place-items: center; font-size: 9px; color: #8fa1af; letter-spacing: .5px;
}
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-cta { background: var(--accent); color: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.nav-cta:hover { text-decoration: none; filter: brightness(.95); }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; color: var(--brand); cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--brand); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero-inner { position: relative; padding: 84px 0 72px; max-width: 760px; }
.hero-kicker { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  padding: 5px 14px; border-radius: 999px; font-size: 13px; letter-spacing: .6px; text-transform: uppercase; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 18px 0 14px; font-weight: 800; }
.hero p { font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,.88); max-width: 56ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 26px; border-radius: 8px; font-weight: 600; font-size: 15px; cursor: pointer; border: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { text-decoration: none; filter: brightness(.95); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { text-decoration: none; background: rgba(255,255,255,.2); }

/* ---------- stats ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; padding: 34px 0; }
.stat { text-align: center; }
.stat b { display: block; font-size: 30px; color: var(--brand); font-weight: 800; line-height: 1.1; }
.stat span { font-size: 13.5px; color: var(--ink-2); }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section.alt { background: #fff; border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; color: var(--ink); }
.section-head p { color: var(--ink-2); margin-top: 10px; }

/* ---------- category cards (home) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--card);
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.cat-card:hover { transform: translateY(-4px); }
.cat-card a { display: block; }
.cat-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.cat-card .cc-body { padding: 14px 16px 16px; }
.cat-card .cc-label { font-weight: 700; font-size: 15.5px; color: var(--ink); }
.cat-card .cc-count { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.cat-card .cc-group { font-size: 11.5px; color: var(--brand-2); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.cat-card a:hover { text-decoration: none; }

/* ---------- why us ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feat b { display: block; font-size: 16px; margin-bottom: 6px; color: var(--brand); }
.feat p { font-size: 14px; color: var(--ink-2); }

/* ---------- portfolio ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filter-btn {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  padding: 8px 16px; border-radius: 999px; font-size: 14px; cursor: pointer; font-weight: 500;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.group-label { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--brand-2);
  font-weight: 700; margin: 26px 0 12px; }
.gallery { columns: 3 260px; column-gap: 14px; }
.gitem { break-inside: avoid; margin-bottom: 14px; border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: var(--shadow); cursor: zoom-in; position: relative; }
.gitem img { width: 100%; }
.gitem .gi-tag { position: absolute; left: 10px; bottom: 10px; background: rgba(14,58,93,.85); color: #fff;
  font-size: 11.5px; padding: 4px 10px; border-radius: 999px; letter-spacing: .3px; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(10,18,26,.92); z-index: 100;
  display: none; align-items: center; justify-content: center; flex-direction: column; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 92vw); max-height: 80vh; border-radius: 6px; }
.lb-close { position: absolute; top: 18px; right: 22px; color: #fff; font-size: 30px; cursor: pointer; line-height: 1; }
.lb-nav { color: #fff; font-size: 40px; cursor: pointer; user-select: none; padding: 0 14px; }
.lb-row { display: flex; align-items: center; gap: 6px; }
.lb-cap { color: rgba(255,255,255,.75); font-size: 13.5px; margin-top: 12px; }

/* ---------- about / placeholders ---------- */
.placeholder-box { border: 1.5px dashed #b6c3ce; border-radius: var(--radius); background: #fff;
  padding: 40px 28px; text-align: center; color: #8fa1af; }
.placeholder-box b { color: #5f7386; }
.todo-note { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; border-radius: 8px;
  padding: 12px 16px; font-size: 14px; margin-bottom: 22px; }

/* ---------- contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 34px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card h3 { font-size: 17px; margin-bottom: 14px; color: var(--brand); }
.info-row { display: flex; gap: 10px; align-items: baseline; margin-bottom: 10px; font-size: 14.5px; }
.info-row .k { color: var(--ink-2); min-width: 84px; }
form.inquiry { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { margin-bottom: 16px; }
.fg label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.fg input, .fg select, .fg textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fbfcfd;
}
.fg input:focus, .fg textarea:focus, .fg select:focus { outline: 2px solid rgba(14,58,93,.25); border-color: var(--brand); }
.form-ok { display: none; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46;
  border-radius: 8px; padding: 12px 16px; font-size: 14px; margin-bottom: 14px; }

/* ---------- footer ---------- */
.site-footer { background: var(--brand); color: rgba(255,255,255,.8); margin-top: 40px; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 44px 0 30px; }
.site-footer a { color: #fff; }
.f-col h4 { color: #fff; font-size: 14px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .8px; }
.f-col ul { list-style: none; font-size: 14px; }
.f-col li { margin-bottom: 7px; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 16px 0; font-size: 13px; display: flex;
  justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .nav-links, .nav .nav-cta { display: none; }
  .nav.open .nav-links { display: flex; position: absolute; top: 64px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 18px 24px; gap: 16px; border-bottom: 1px solid var(--line); }
  .nav.open .nav-cta { display: inline-block; }
  .nav-toggle { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-inner { padding: 56px 0 50px; }
}
