/* Firetek Systems — brand + layout system */
:root {
  --ink: #1b1d23;
  --ink-soft: #4a4d57;
  --muted: #767a86;
  --bg: #f6f7f8;
  --paper: #ffffff;
  --line: #e4e6ea;
  --orange: #ff4d00;
  --orange-dark: #d63f00;
  --teal: #00838f;
  --black: #0a0a0b;
  --radius: 14px;
  --maxw: 1140px;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
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; }
section { padding: 92px 0; }
@media (max-width: 640px) { section { padding: 60px 0; } }

/* Eyebrow section markers  (§ 00 — LABEL) */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

h1, h2, h3 { font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 620px; }
.accent { color: var(--orange); }
p { color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem; padding: 13px 24px; border-radius: 6px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  font-family: var(--sans);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 4px 14px rgba(255,77,0,.22); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,77,0,.32); }
/* Solid, static-color secondary button — never blends into the grid background */
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; box-shadow: 0 1px 2px rgba(17,20,26,.05); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(17,20,26,.12); }
.btn-light { border-color: #fff; color: var(--black); background: #fff; }
.btn-light:hover { background: #f1f1f2; color: var(--black); border-color: #f1f1f2; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.28); }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,247,248,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 122px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.01em; font-size: 1.1rem; }
.brand img { width: 128px; height: 128px; border-radius: 0; }
.brand span b { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { padding: 10px 20px; font-size: 0.9rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 122px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 16px;
  }
  .nav-toggle { display: block; }
}

/* Hero */
.hero { padding: 84px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }
.hero h1 { margin: 6px 0 20px; }
.hero .cta-row { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-media { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--black); aspect-ratio: 1/1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Centered hero (home) */
.hero-center { text-align: center; padding: 70px 0 64px; position: relative; overflow: hidden; }
.hero-center::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(27,29,35,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27,29,35,.06) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 78% 72% at 50% 32%, #000 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 72% at 50% 32%, #000 45%, transparent 100%);
}
.hero-center .container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-center .hero-mark { width: 108px; height: 108px; border-radius: 22px; margin-bottom: 26px; box-shadow: 0 12px 34px rgba(255,77,0,.16); }
.hero-center h1 { max-width: 15ch; margin: 4px auto 20px; }
.hero-center .lead { margin: 0 auto; }
.hero-center .cta-row { justify-content: center; }
.hero-center .stats { width: 100%; }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; border-top: 1px solid var(--line); padding-top: 34px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2,1fr); gap: 26px; } }
.stat .num { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.stat .lbl { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* Cards / feature grids */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card.has-anim { padding: 0; overflow: hidden; }
.card.has-anim .card-body { padding: 28px; }
.release-anim { width: 100%; aspect-ratio: 3/2; background-repeat: no-repeat; background-size: 200% auto; border-bottom: 1px solid var(--line); background-color: #0a0a0b; }
.release-anim.left { background-position: 0% 50%; }
.release-anim.right { background-position: 100% 50%; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.96rem; }
.card .ico { width: 44px; height: 44px; border-radius: 11px; background: #fff0eb; color: var(--orange); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card .ico svg { width: 22px; height: 22px; }

/* Numbered steps */
.step-num { font-family: var(--mono); font-size: 2.4rem; font-weight: 700; color: var(--orange); line-height: 1; }
.mech .card { display: flex; flex-direction: column; gap: 14px; }

/* Section headings block */
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head p { margin-top: 16px; font-size: 1.05rem; }

/* Feature list (ticks) */
.ticks { list-style: none; display: grid; gap: 12px; margin-top: 8px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.96rem; color: var(--ink-soft); }
.ticks li::before {
  content: ""; flex: 0 0 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Soft light band (subtle separation from adjacent white sections) */
.band-soft { background: #eceef1; }

/* Dark band */
.band-dark { background: var(--black); color: #fff; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p { color: rgba(255,255,255,.72); }
.band-dark .eyebrow { color: #34b3bf; }

/* Dark accent cards (dark-filled cards sitting inside light sections) */
.card[style*="1b1e25"] { color: #fff; }
.card[style*="1b1e25"] h1,
.card[style*="1b1e25"] h2,
.card[style*="1b1e25"] h3 { color: #fff; }
.card[style*="1b1e25"] p { color: rgba(255,255,255,.75); }
.card[style*="1b1e25"] .eyebrow { color: #34b3bf; }
.card[style*="1b1e25"] .ticks li { color: rgba(255,255,255,.82); }

/* Media figures (photos from the shop floor) */
.figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--black); }
.figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.figure.cap { position: relative; }
.figure .cap-tag {
  position: absolute; left: 0; bottom: 0; right: 0;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.82)); padding: 30px 16px 14px; font-weight: 600;
}
.media-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.media-3 .figure { aspect-ratio: 4/3; }
@media (max-width: 760px){ .media-3 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .figure { aspect-ratio: 4/3; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; gap: 30px; } }

/* Equipment list */
.eq-list { columns: 2; column-gap: 40px; }
@media (max-width: 620px){ .eq-list { columns: 1; } }
.eq-list li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); list-style: none; display: flex; gap: 10px; align-items: center; }
.eq-list li::before { content: ""; width: 7px; height: 7px; background: var(--orange); border-radius: 2px; }

/* Spec table */
.spec { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 20px; }
@media (max-width:620px){ .spec { grid-template-columns: repeat(2,1fr); } }
.spec div { background: var(--paper); padding: 22px; }
.spec .k { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.spec .v { font-weight: 700; margin-top: 6px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
@media (max-width: 720px){ .price-grid { grid-template-columns: 1fr; } }
.price { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 34px; }
.price.featured { border: 2px solid var(--orange); }
.badge { position: absolute; top: -13px; left: 34px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.price .amt { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 2px; }
.price .amt small { font-size: .95rem; font-weight: 600; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
@media (max-width: 860px){ .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.info-block { margin-bottom: 26px; }
.info-block .k { font-family: var(--mono); font-size: 11px; letter-spacing:.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.info-block .v { font-size: 1.05rem; font-weight: 600; }
.info-block a.v { color: var(--orange); }

form.quote { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.field { margin-bottom: 16px; }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width:520px){ .field.row { grid-template-columns: 1fr; } }
label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
input, textarea, select {
  width: 100%; font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfbfc;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,77,0,.12); }
textarea { min-height: 120px; resize: vertical; }
.form-msg { margin-top: 14px; font-size: 0.92rem; font-weight: 600; }
.form-msg.ok { color: #1a7f43; }
.form-msg.err { color: #c0392b; }

/* Motion & transitions */
.card { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(17,20,26,.09); border-color: #d6d9de; }
.price { transition: transform .28s ease, box-shadow .28s ease; }
.price:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(17,20,26,.12); }
.figure img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.figure:hover img { transform: scale(1.05); }
.release-anim { transition: background-size .5s ease; }
.card.has-anim:hover .release-anim { background-size: 210% auto; }
.site-header { transition: box-shadow .25s ease, background .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(17,20,26,.08); }
.eq-list li, .info-block a.v, .spec div { transition: color .18s ease, background .18s ease; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .card:hover, .price:hover, .btn:hover, .figure:hover img { transform: none !important; }
}

/* Footer (light) */
.site-footer { background: var(--paper); color: var(--ink); padding: 60px 0 34px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px){ .foot-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer p, .site-footer li, .site-footer a { color: var(--ink-soft); font-size: 0.92rem; }
.site-footer .brand { color: var(--ink); margin-bottom: 14px; }
.site-footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing:.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a:hover { color: var(--orange); }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; font-size: 0.82rem; color: var(--muted); }
.disclaimer { font-size: 0.8rem; color: var(--muted); margin-top: 8px; }
