/* ============================================================
   AIRSAT — flat static site, two themes via data-theme
   theme A (default): "Tech light" — white / blue / Manrope
   theme B:            "Industrial" — warm / graphite+amber / Bricolage
   ============================================================ */

:root {
  /* theme A (tech) */
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --surface: #ffffff;
  --ink: #141a26;
  --ink-2: #45506a;
  --line: #e4e9f2;
  --accent: #0090ff;
  --accent-ink: #ffffff;
  --accent-soft: #e5f4ff;
  --amber: #ffb020;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20,26,38,.05), 0 8px 24px -12px rgba(20,26,38,.14);
  --font-d: "Manrope", system-ui, sans-serif;
  --font-b: "Manrope", system-ui, sans-serif;
  --hero-grad: radial-gradient(1200px 500px at 80% -10%, #e5f4ff 0%, transparent 60%);
}

html[data-theme="b"] {
  --bg: #faf8f3;
  --bg-soft: #f2efe7;
  --surface: #ffffff;
  --ink: #1f2937;
  --ink-2: #5a6472;
  --line: #e3ddd0;
  --accent: #d97706;
  --accent-ink: #ffffff;
  --accent-soft: #fdf0dc;
  --amber: #d97706;
  --radius: 10px;
  --radius-sm: 7px;
  --shadow: 0 1px 2px rgba(31,41,55,.06);
  --font-d: "Bricolage Grotesque", "Rubik", system-ui, sans-serif;
  --font-b: "Rubik", system-ui, sans-serif;
  --hero-grad: radial-gradient(1200px 500px at 80% -10%, #f3e8d0 0%, transparent 60%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { font-family: var(--font-d); letter-spacing: -0.02em; margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo svg { height: 34px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: 8px; flex: 1; }
.nav a {
  padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: 15px;
  color: var(--ink-2); transition: .15s;
}
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a.on { color: var(--accent); }
.head-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: 15px;
  white-space: nowrap;
}
.head-cta:hover { filter: brightness(1.06); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--hero-grad); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; font-weight: 800; margin: 16px 0; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 18px; color: var(--ink-2); max-width: 520px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 11px; font-weight: 700; font-size: 15px; cursor: pointer;
  border: 1px solid transparent;
}
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { filter: brightness(1.06); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.hero-fact {
  position: absolute; left: -18px; bottom: 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 12px 16px; display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px;
}
.hero-fact svg { color: var(--accent); flex-shrink: 0; }

/* ---------- sections ---------- */
.sec { padding: 72px 0; }
.sec-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 640px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; line-height: 1.1; }
.sec-head p { color: var(--ink-2); margin: 12px 0 0; font-size: 17px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.cat-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: .18s; box-shadow: var(--shadow);
}
.cat-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.cat-ic {
  width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; background: var(--accent-soft); color: var(--accent);
}
.cat-ic svg { width: 26px; height: 26px; }
.cat-card h3 { font-size: 18px; font-weight: 700; }
.cat-card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.cat-card .go { margin-top: auto; font-weight: 700; color: var(--accent); font-size: 14px; }

/* ---------- product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.prod {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.prod-fig {
  height: 120px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); background: var(--bg-soft);
  border: 1px dashed var(--line); margin-bottom: 16px; color: var(--accent);
}
.prod-fig svg { width: 88px; height: 88px; }
.prod .model { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.prod h3 { font-size: 17px; font-weight: 700; margin: 6px 0 10px; }
.prod ul { list-style: none; margin: 0 0 16px; padding: 0; font-size: 14px; color: var(--ink-2); }
.prod ul li { padding: 3px 0 3px 16px; position: relative; }
.prod ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.prod .price-row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
.prod .price { font-family: var(--font-d); font-weight: 800; font-size: 17px; }
.prod .price small { color: var(--ink-2); font-weight: 500; font-size: 12px; }
.prod .ask {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700;
  color: var(--accent); padding: 7px 12px; border-radius: 8px; background: var(--accent-soft);
}
.tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent);
}

/* ---------- split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.facts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.facts b { display: block; }
.facts span { color: var(--ink-2); font-size: 14.5px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step .n {
  font-family: var(--font-d); font-size: 34px; font-weight: 800; color: var(--accent); line-height: 1;
}
.step h3 { font-size: 17px; margin: 12px 0 8px; }
.step p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* ---------- contact ---------- */
.contact-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.contact-card h3 { font-size: 16px; margin-bottom: 10px; }
.contact-card a, .contact-card span { display: block; color: var(--ink-2); font-size: 15px; }
.contact-card a:hover { color: var(--accent); }
.contact-card .big { font-size: 20px; font-weight: 800; color: var(--ink); font-family: var(--font-d); }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 48px 0 32px; margin-top: 24px; }
.site-foot .grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-foot h4 { font-size: 14px; margin-bottom: 12px; }
.site-foot a { display: block; color: var(--ink-2); padding: 3px 0; font-size: 14.5px; }
.site-foot a:hover { color: var(--accent); }
.site-foot .bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- page hero (inner) ---------- */
.page-hero { background: var(--hero-grad); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-top: 56px; padding-bottom: 56px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.page-hero p { color: var(--ink-2); font-size: 17px; max-width: 640px; margin: 12px 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .site-foot .grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hero-fact { left: 8px; }
}
