:root {
  --navy: #0f1b3d;
  --blue: #2f6fff;
  --orange: #f28b22;
  --light: #f6f8fc;
  --text: #0f172a;
  --muted: #6b7280;
  --card: #ffffff;
  --line: #e5e7eb;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 2px 18px rgba(15,23,42,.05);
}
.nav { min-height: 88px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { display:flex; align-items:center; gap:12px; font-weight:800; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, #1e63da, #ec4f46 60%, #f1a83b);
  color:#fff; display:grid; place-items:center; font-weight:900; font-size: 14px;
  box-shadow: var(--shadow);
}
.brand-copy strong { display:block; color:#1252c3; font-size: 18px; line-height: 1; letter-spacing:.02em; }
.brand-copy small { display:block; color:#ef6b3a; font-style: italic; font-size: 11px; margin-top: 3px; }
.nav-links { display:flex; align-items:center; gap:24px; }
.nav-links a { font-weight:600; color:#334155; font-size:14px; }
.nav-links a:hover { color: var(--blue); }
.actions { display:flex; gap:12px; align-items:center; }
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height: 44px; padding: 0 18px; border-radius: 12px; border:1px solid transparent;
  font-weight:700; font-size:14px; cursor:pointer; transition:.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-blue { background: var(--blue); color:#fff; box-shadow: 0 8px 18px rgba(47,111,255,.22); }
.btn-orange { background: var(--orange); color:#fff; box-shadow: 0 8px 18px rgba(242,139,34,.22); }
.btn-white { background:#fff; border-color: var(--line); }
.btn-outline { background: transparent; border-color:#cbd5e1; color:#334155; }
.hero {
  position: relative; color:#fff; overflow:hidden;
  background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
              radial-gradient(circle at 20% 20%, rgba(255,255,255,.15), transparent 30%),
              linear-gradient(90deg, #2b2b2b, #444 30%, #6c3b1d 70%, #4b4b4b);
}
.hero.fire { background:
  linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
  linear-gradient(120deg, #38322d 0%, #5d5249 28%, #2d2c2a 58%, #6d614f 100%);
}
.hero.mechanical { background:
  linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
  linear-gradient(120deg, #3e3a35 0%, #7d4033 28%, #6e2b21 58%, #555 100%);
}
.hero.home { background:
  linear-gradient(rgba(0,0,0,.38), rgba(0,0,0,.38)),
  linear-gradient(120deg, #4e5c67 0%, #8a6847 30%, #d8c5b0 70%, #59626b 100%);
}
.hero-inner { min-height: 440px; display:grid; place-items:center; text-align:center; padding: 90px 0 80px; }
.hero h1 { font-size: clamp(44px, 7vw, 78px); line-height: .98; margin:0 0 16px; }
.hero p { font-size:18px; color:rgba(255,255,255,.92); max-width:760px; margin:0 auto 24px; }
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-light { background: var(--light); }
.center { text-align:center; }
.eyebrow {
  color: #6b86c8; letter-spacing:.16em; text-transform:uppercase; font-size:12px; font-weight:800;
  margin-bottom: 12px;
}
.section h2 { font-size: clamp(34px, 4vw, 56px); margin:0 0 12px; line-height:1.05; color:var(--navy); }
.section p.lead { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 17px; }
.grid-3, .grid-4 { display:grid; gap:24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.service-card, .story-card, .doc-card, .mini-card {
  background: var(--card); border:1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow:hidden;
}
.service-card .img, .category-card .img { aspect-ratio: 4/3; position:relative; }
.img.fire-a { background: linear-gradient(135deg,#5a0d0d,#f13b2d 55%,#2c2c2c); }
.img.fire-b { background: linear-gradient(135deg,#6f6f6f,#d44 55%,#999); }
.img.fire-c { background: linear-gradient(135deg,#555,#282828 50%,#b91c1c); }
.img.fire-d { background: linear-gradient(135deg,#233041,#d63f34 60%,#999); }
.img.fire-e { background: linear-gradient(135deg,#5f646d,#222 60%,#d6362a); }
.img.fire-f { background: linear-gradient(135deg,#d6d7db,#868686 45%,#d54); }
.img.fire-g { background: linear-gradient(135deg,#444,#20354d 40%,#f24f34); }
.img.fire-h { background: linear-gradient(135deg,#2d3748,#101010 45%,#ef4444); }
.img.mech-a { background: linear-gradient(135deg,#d9dee4,#6b7280 45%,#65a9e8); }
.img.mech-b { background: linear-gradient(135deg,#f0f4f8,#9aa5b1 45%,#7db4f6); }
.img.mech-c { background: linear-gradient(135deg,#f5f5f5,#d4d4d8 45%,#94a3b8); }
.img.mech-d { background: linear-gradient(135deg,#e5e7eb,#d1d5db 45%,#b9c5d8); }
.img.mech-e { background: linear-gradient(135deg,#dbeafe,#93c5fd 45%,#1d4ed8); }
.img.mech-f { background: linear-gradient(135deg,#eff6ff,#cbd5e1 45%,#60a5fa); }
.img.docs { background: linear-gradient(135deg,#f9fafb,#e5e7eb 55%,#cbd5e1); }
.service-card .img::after, .category-card .img::after {
  content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,.28), transparent 45%);
}
.service-content { padding: 18px 20px 20px; }
.service-content h3 { margin:0 0 10px; font-size:24px; color:var(--navy); }
.service-content ul { margin:0 0 16px 18px; padding:0; color:#475569; font-size:14px; line-height:1.65; }
.service-content li { margin: 4px 0; }
.category-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:24px; margin-top:42px; }
.category-card {
  position: relative; min-height: 340px; border-radius: 22px; overflow:hidden; box-shadow: var(--shadow); color:#fff;
}
.category-card .img { position:absolute; inset:0; aspect-ratio:auto; }
.category-card .overlay { position:absolute; inset:0; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,.08)); }
.category-card .content { position:absolute; left:24px; right:24px; bottom:24px; }
.category-card h3 { margin:0 0 8px; font-size:42px; line-height:1; }
.category-card p { margin:0; color: rgba(255,255,255,.9); }
.dark-section {
  background: radial-gradient(circle at 50% 0%, rgba(24,77,185,.16), transparent 28%), linear-gradient(90deg, #07132f, #0b1c45 50%, #07132f);
  color:#fff;
}
.dark-section h2 { color:#fff; }
.dark-section .lead { color: rgba(255,255,255,.82); }
.mini-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:20px; margin-top:42px; }
.mini-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color:#fff; padding:22px; }
.mini-card h4 { margin:0 0 10px; font-size:24px; }
.mini-card p { margin:0 0 14px; color: rgba(255,255,255,.82); font-size:14px; line-height:1.6; }
.mini-stat { color:#5da0ff; font-weight:800; }
.quote-wrap { max-width: 980px; margin: 40px auto 0; }
.featured-quote { padding: 38px; border-left:4px solid #ef4444; background:#fff; }
.featured-quote.blue { border-left-color: #2f6fff; }
.quote { font-size: 19px; line-height:1.8; color:#475569; font-style: italic; }
.author { display:flex; align-items:center; gap:16px; margin-top:20px; }
.avatar { width:48px; height:48px; border-radius: 12px; background:#334155; color:#fff; display:grid; place-items:center; font-weight:800; }
.author strong { display:block; }
.author small { color: #64748b; }
.story-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:20px; margin-top:20px; }
.story-card { padding: 22px; }
.story-card p { color:#475569; line-height:1.7; }
.stats-row { display:grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 30px; }
.stat { text-align:center; }
.stat strong { display:block; font-size: 56px; color: var(--navy); line-height:1; }
.stat span { display:block; margin-top:8px; color:#64748b; font-size:13px; text-transform:uppercase; letter-spacing:.08em; }
.accredit {
  background: linear-gradient(180deg, #edf4ff, #eaf6f5);
}
.logo-grid { display:grid; grid-template-columns: repeat(5, 1fr); gap:24px; margin: 40px auto 24px; }
.logo-card {
  min-height: 92px; background:#fff; border:1px solid #dbe3f0; border-radius: 14px; box-shadow: var(--shadow); display:grid; place-items:center;
  color:#335; font-weight:800; text-align:center; padding: 12px;
}
.footer {
  background: linear-gradient(180deg, #edf4ff, #d9eef5);
  border-top: 1px solid #dbe7ef; padding: 34px 0 0;
}
.footer-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:24px; }
.footer h4 { margin:0 0 14px; color:var(--navy); }
.footer a { display:block; margin:10px 0; color:#334155; font-weight:600; }
.copy { text-align:center; color:#475569; font-size:14px; padding: 18px 0 22px; border-top:1px solid #dbe7ef; margin-top: 24px; }
.docs-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; max-width: 980px; margin: 40px auto 0; }
.doc-card { padding: 20px; }
.doc-card h3 { margin:0 0 6px; font-size:22px; }
.doc-card p { margin:0 0 16px; color:#64748b; }
.doc-actions { display:flex; gap:10px; }
.form-wrap { max-width: 1100px; margin: 0 auto; display:grid; grid-template-columns: 1fr 360px; gap:28px; }
.form-card, .contact-card { background:#fff; border:1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 28px; }
.field { margin-bottom: 16px; }
.field label { display:block; font-weight:700; font-size:14px; margin-bottom:6px; }
.field input, .field textarea {
  width:100%; border:none; border-bottom: 2px solid #dbe1ea; padding: 12px 0; font: inherit; outline:none; background: transparent;
}
.field textarea { min-height: 110px; resize: vertical; }
.helper { color:#64748b; }
.back-link { display:inline-block; margin: 24px 0 18px; color:#64748b; font-weight:600; }
.small-note { color:#64748b; font-size:14px; }
@media (max-width: 1100px) {
  .grid-4, .stats-row { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .mini-grid, .story-grid, .docs-grid, .logo-grid, .category-grid, .footer-grid, .form-wrap { grid-template-columns: 1fr 1fr; }
  .nav-links { display:none; }
}
@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero-inner { min-height: 360px; }
  .grid-4, .grid-3, .mini-grid, .story-grid, .docs-grid, .logo-grid, .category-grid, .footer-grid, .form-wrap, .stats-row { grid-template-columns: 1fr; }
  .actions { width:100%; justify-content:flex-end; }
  .brand-copy strong { font-size: 16px; }
  .section { padding: 64px 0; }
  .category-card { min-height: 280px; }
  .category-card h3 { font-size: 34px; }
  .hero h1 { font-size: 48px; }
}
