/* ===== TITANGRIP · static B2B site ===== */
:root {
  --ink: #0b1220;
  --navy: #0f1a2e;
  --navy-2: #16243c;
  --accent: #f97316;
  --accent-dk: #ea580c;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-2: #f6f8fb;
  --radius: 14px;
  --max: 1160px;
  --font: "Inter", "Segoe UI", "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: .02em; }
.brand svg { width: 30px; height: 30px; }
.brand span b { color: var(--accent); }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { font-size: 15px; color: #334155; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.nav-links a.active { color: var(--ink); border-bottom-color: var(--accent); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 11px 20px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: .18s; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -8px rgba(249, 115, 22, .9); }
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: #cbd5e1; background: var(--bg-2); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-light:hover { background: rgba(255,255,255,.2); }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, #0b1220 0%, #101f39 55%, #0b1220 100%); color: #fff; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 84px 0 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fdba74; font-weight: 700; }
.hero h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; margin: 14px 0 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 17px; color: #c7d2e3; max-width: 540px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 30px; padding: 0; list-style: none; font-size: 14px; color: #dbe4f3; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero-visual::before { display: none; }
.chuck { position: relative; width: 250px; height: 320px; }

/* ---------- strips ---------- */
.strip { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 26px 0; }
.stat b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.stat span { font-size: 13.5px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head .eyebrow { color: var(--accent); }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 10px 0 12px; }
.section-head p { color: var(--muted); font-size: 16.5px; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(15, 26, 46, .35); border-color: #cbd5e1; }
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: #fff4ea; color: var(--accent-dk); display: grid; place-items: center; margin-bottom: 16px; }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.card .more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--accent-dk); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; font-size: 15px; color: #334155; }
.checklist li::before {
  content: "✓"; flex: 0 0 22px; height: 22px; border-radius: 50%; background: #ecfdf5; color: #059669;
  font-size: 13px; font-weight: 700; display: grid; place-items: center; margin-top: 2px;
}
.panel {
  background: var(--navy); border-radius: 20px; padding: 34px; color: #dbe4f3;
  border: 1px solid rgba(255,255,255,.08);
}
.panel h3 { color: #fff; font-size: 20px; margin-bottom: 14px; }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 8px 16px; font-size: 14px; }
.kv dt { color: var(--muted-2); }
.kv dd { margin: 0; color: #e2e8f0; }

/* ---------- product cards ---------- */
.product {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: .2s; display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(15, 26, 46, .35); }
.product .thumb {
  height: 190px; background: radial-gradient(circle at 50% 45%, #f8fafc, #e9eef6);
  display: grid; place-items: center; border-bottom: 1px solid var(--line);
}
.product .thumb svg { width: 110px; height: 110px; }
.product .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product h3 { font-size: 16.5px; }
.product .spec { font-size: 13px; color: var(--muted); }
.product .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.tag { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--bg-2); color: #475569; border: 1px solid var(--line); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.spec { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
table.spec th, table.spec td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.spec th { background: var(--bg-2); font-weight: 600; color: #334155; font-size: 13px; letter-spacing: .02em; }
table.spec tr:last-child td { border-bottom: 0; }
table.spec td:first-child { font-weight: 600; }

/* ---------- cta band ---------- */
.cta { background: linear-gradient(120deg, #0f1a2e, #1b2f52); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 56px 0; }
.cta h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.cta p { color: #c7d2e3; margin: 8px 0 0; }

/* ---------- footer ---------- */
.site-footer { background: #0b1220; color: #94a3b8; padding: 56px 0 28px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
.site-footer a:hover { color: #fff; }
.foot-links { display: grid; gap: 9px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #64748b; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 600; color: #334155; }
input, select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 14.5px; background: #fff; color: var(--ink); outline: none; transition: .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(249,115,22,.14); }
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* ---------- misc ---------- */
.note-bar {
  background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412;
  padding: 10px 14px; border-radius: 10px; font-size: 13px; margin: 0 0 18px;
}
.breadcrumbs { font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.page-hero { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 54px 0 50px; }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.page-hero p { color: var(--muted); max-width: 680px; margin-top: 12px; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding: 60px 0; }
  .hero-visual { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 54px 0; }
}

/* ---------- language switch ---------- */
.lang-switch { display: flex; gap: 2px; background: #f1f5f9; border-radius: 9px; padding: 3px; }
.lang-switch button {
  border: 0; background: transparent; font: inherit; font-size: 12.5px; font-weight: 700;
  color: #64748b; padding: 5px 10px; border-radius: 7px; cursor: pointer; letter-spacing: .04em;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15,23,42,.12); }
@media (max-width: 980px) { .lang-switch { display: none; } }

/* ---------- product sections with photos ---------- */
.prod-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 22px; }
.prod-gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.prod-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 26px; }
.sub-h { font-size: 16px; margin: 4px 0 12px; }
.spec-img { width: 100%; max-width: 820px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: block; }
.eyebrow-num { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
@media (max-width: 900px) { .prod-gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- hero photo ---------- */
.photo-card { background: #fff; border-radius: 20px; padding: 12px; max-width: 340px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); }
.photo-card img { border-radius: 12px; display: block; width: 100%; }

/* ---------- hero product gallery ---------- */
.hero-visual { width: 100%; }
.hero-gallery { display: grid; grid-template-columns: minmax(0, 1fr) 74px; gap: 12px; width: 100%; max-width: 560px; }
.hg-stage { position: relative; background: #fff; border-radius: 20px; padding: 10px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.75); }
.hg-stage > img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 12px; background: #fff; display: block; transition: opacity .18s ease; }
.hg-badge { position: absolute; left: 20px; top: 20px; background: rgba(11,18,32,.82); color: #fff; font-size: 11.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; letter-spacing: .02em; }
.hg-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(11,18,32,.55); color: #fff; font-size: 17px; cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.hg-nav:hover { background: rgba(11,18,32,.88); }
.hg-nav.prev { left: 16px; }
.hg-nav.next { right: 16px; }
.hg-side { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hg-thumbs { display: flex; flex-direction: column; gap: 8px; }
.hg-thumbs button { border: 2px solid transparent; border-radius: 10px; padding: 0; overflow: hidden; background: #fff; cursor: pointer; aspect-ratio: 1 / 1; }
.hg-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hg-thumbs button:hover { border-color: #cbd5e1; }
.hg-thumbs button.active { border-color: var(--accent); }
.hg-bar { width: 100%; max-width: 560px; display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.hg-arrow { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.07); color: #fff; font-size: 17px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: .15s; }
.hg-arrow:hover { background: var(--accent); border-color: var(--accent); }
.hg-info { flex: 1; min-width: 0; }
.hg-sub { font-size: 11.5px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hg-sub b { color: #e2e8f0; font-weight: 600; margin-right: 2px; }
.hg-hint::before { content: " · "; color: #64748b; }
.hg-link { color: #fdba74; font-weight: 700; font-size: 12px; white-space: nowrap; }
.hg-link:hover { color: #fff; }
@media (max-width: 1100px) { .hg-thumbs { display: none; } .hero-gallery { grid-template-columns: 1fr; max-width: 420px; } }

/* ---------- logo ---------- */
.brand-logo { height: 36px; width: auto; display: block; flex: 0 0 auto; }
.site-footer .brand-logo { height: 34px; }

/* ---------- catalogue figure ---------- */
.catalog-figure { margin: 34px 0 0; max-width: 380px; }
.catalog-figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.catalog-figure figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.5; }

/* ---------- accessory cards with thumb ---------- */
.acc-card { display: flex; align-items: center; gap: 14px; }
.acc-card > div { flex: 1; min-width: 0; }
.acc-thumb { flex: 0 0 84px; width: 84px; height: 84px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
@media (max-width: 640px) { .acc-thumb { flex: 0 0 68px; width: 68px; height: 68px; } }

/* three-column strip variant */
.strip-inner.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .strip-inner.three { grid-template-columns: repeat(3, 1fr); } }
