/* =========================================================
   XIERONG METAL TECHNOLOGY — Global stylesheet
   Light minimal theme · stainless & aluminium stockholder
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #fafaf8;
  --bg-2: #f4f4f2;
  --surface: #ffffff;
  --surface-2: #f2f3f2;
  --line: #e3e5e3;
  --line-soft: #edeeec;
  --ink: #16191c;
  --text: #22272b;
  --muted: #5d656d;
  --muted-2: #8b939a;
  --accent: #c94e12;
  --accent-bright: #ff6a2b;
  --accent-soft: #fbeee7;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20, 25, 30, 0.05);
  --shadow-md: 0 14px 34px rgba(20, 25, 30, 0.07);
  --shadow-lg: 0 26px 60px rgba(20, 25, 30, 0.1);
  --wrap: 1180px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; }

button { font: inherit; cursor: pointer; }

::selection { background: var(--accent-soft); color: var(--ink); }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.text-accent { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(250, 250, 248, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(20, 25, 30, 0.02);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: block; line-height: 1.1; }
.brand-text strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.brand-text em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  font-size: 13px;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a.is-active { color: var(--ink); font-weight: 500; }
.nav a.is-active::after {
  content: "";
  display: block;
  height: 1.5px;
  margin-top: 5px;
  background: var(--accent);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-tel {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}
.header-tel:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.22s var(--ease), border-color 0.22s, color 0.22s, transform 0.22s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }

.btn-accent {
  background: var(--ink);
  color: #fff;
}
.btn-accent:hover { background: #000; transform: translateY(-1px); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: #c9ccc9; background: #fff; }

.btn-sm { padding: 8px 15px; font-size: 12.5px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 64px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--surface);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(42px, 5.2vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero h1 .line-2 { color: var(--muted-2); font-weight: 300; }
.hero h1 .hot { color: var(--accent); }

.hero-lead {
  margin-top: 26px;
  max-width: 520px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-meta strong {
  display: block;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero-meta span {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero-visual { position: relative; }
.hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(20, 25, 30, 0.16);
}
.hero-coil { display: none; }

.hero-tag {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero-tag b { font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.hero-tag span {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.hero-tag--1 { top: 18px; left: -18px; }
.hero-tag--2 { top: 42%; right: -16px; }
.hero-tag--3 { bottom: 22px; left: 32px; }

.scroll-cue { display: none; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 13px 0;
}
.marquee-track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee-track span {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--tight { padding: 52px 0; }
.section--panel {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 56px;
  max-width: none;
}
.section-head--split .section-lead { max-width: 430px; }
.section-head--split > div { flex: 1 1 auto; }

.eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--muted { color: var(--muted-2); }

.section-title {
  margin-top: 14px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.section-title .thin { color: var(--muted-2); font-weight: 300; }

.section-lead {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 56px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero--app { padding-bottom: 58px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.breadcrumb a { color: var(--muted-2); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb i { font-style: normal; color: #c3c8cc; }

.page-hero h1 {
  margin-top: 16px;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.page-hero .lead {
  margin-top: 20px;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}
.grad-text { color: var(--muted-2); }

.hero-spec { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-spec div {
  min-width: 116px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  transition: border-color 0.25s, transform 0.25s;
}
.hero-spec div:hover { border-color: #cfd2cf; transform: translateY(-2px); }
.hero-spec b {
  display: block;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero-spec span {
  display: block;
  margin-top: 4px;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat { background: var(--surface); padding: 26px 24px; }
.stat b {
  display: block;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat b em {
  font-style: normal;
  font-size: 16px;
  font-weight: 400;
  color: var(--muted-2);
  margin-left: 2px;
  letter-spacing: 0;
}
.stat > span {
  display: block;
  margin-top: 9px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  line-height: 1.5;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grade-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.grade-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d6d9d6;
}

.grade-swatch {
  position: relative;
  height: 132px;
  background: linear-gradient(135deg, #f7f8f8 0%, #e2e6e7 42%, #fbfbfb 66%, #dfe3e5 100%);
}
.grade-swatch::after {
  content: attr(data-gloss);
  position: absolute;
  left: 18px;
  bottom: 14px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d757c;
}
.grade-swatch--dark { background: linear-gradient(135deg, #e7eaeb 0%, #c9cfd3 45%, #f4f6f6 72%, #d5dade 100%); }
.grade-swatch--warm { background: linear-gradient(135deg, #f7f4ef 0%, #e8ddcd 46%, #fbf8f3 70%, #dfd3c2 100%); }

.grade-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.grade-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.grade-top h3 { font-size: 21px; letter-spacing: -0.02em; }
.grade-standard {
  font-size: 9.5px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-align: right;
  color: var(--muted-2);
  white-space: nowrap;
}
.grade-desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.grade-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.grade-facts span {
  padding: 4px 8px;
  border-radius: 5px;
  background: var(--surface-2);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4f5860;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Application / feature cards ---------- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.app-grid--2 { grid-template-columns: repeat(2, 1fr); }

.app-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.app-card:hover { border-color: #d6d9d6; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.app-icon { width: 40px; height: 40px; margin-bottom: 18px; color: var(--accent); }
.app-icon svg { width: 30px; height: 30px; }
.app-card h4 { font-size: 18px; margin-bottom: 9px; letter-spacing: -0.015em; }
.app-card p { font-size: 14px; line-height: 1.65; color: var(--muted); }
.app-card small {
  display: block;
  margin-top: 14px;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.process-step { border-top: 1px solid var(--line); padding-top: 20px; }
.process-step i {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.process-step h4 { margin: 10px 0 8px; font-size: 17px; letter-spacing: -0.015em; }
.process-step p { font-size: 13.5px; line-height: 1.68; color: var(--muted); }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}
.split .section-lead + .section-lead { margin-top: 18px; }

/* ---------- Tables ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.spec-table th,
.spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  text-align: left;
  vertical-align: top;
}
.spec-table th {
  width: 36%;
  background: #fbfbfa;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.spec-table td { color: #343b41; }
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.data-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}
.data-table caption {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 11.5px;
  color: var(--muted-2);
  text-align: left;
}
.data-table th,
.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  text-align: left;
  vertical-align: top;
}
.data-table thead th {
  background: #fbfbfa;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.data-table tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.data-table tbody td { color: #3c444a; }
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: #fbfbfa; }

.spec-note {
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted-2);
}

/* ---------- Quality band ---------- */
.quality-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.quality-item { padding: 24px; border-right: 1px solid var(--line-soft); }
.quality-item:last-child { border-right: 0; }
.quality-item b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.quality-item span {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  line-height: 1.5;
}

/* ---------- CTA ---------- */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 44px 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.cta-band h2 {
  margin: 10px 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
}
.cta-band p { max-width: 560px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.cta-actions { display: flex; flex-shrink: 0; gap: 10px; }

/* ---------- Filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--surface);
  font-size: 12.5px;
  color: var(--muted);
  transition: all 0.2s;
}
.chip:hover { border-color: #cfd2cf; color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Detail pages ---------- */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}
.detail-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.detail-head h2 { font-size: clamp(30px, 3.4vw, 40px); letter-spacing: -0.03em; }
.badge {
  padding: 5px 10px;
  border-radius: var(--pill);
  background: var(--accent-soft);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.detail-sub {
  margin: 12px 0 26px;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--muted-2);
}
.detail-body p { margin-top: 14px; font-size: 15px; line-height: 1.8; color: #3d454c; }
.detail-body h3 { margin: 38px 0 14px; font-size: 21px; letter-spacing: -0.02em; }
.detail-body .table-wrap { margin-top: 14px; }
.detail-body .data-table tbody th,
.detail-body .data-table td:not(:last-child) { white-space: nowrap; }
.detail-side { position: sticky; top: calc(var(--header-h) + 24px); }

.quote-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.quote-card h4 { font-size: 17px; margin-bottom: 8px; }
.quote-card > p { margin-bottom: 18px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.quote-list { margin-top: 20px; padding-top: 6px; border-top: 1px solid var(--line-soft); }
.quote-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
}
.quote-list div:last-child { border-bottom: 0; }
.quote-list span { color: var(--muted-2); }
.quote-list b { font-weight: 600; color: var(--ink); }

.ticks { list-style: none; margin-top: 14px; display: grid; gap: 10px; }
.ticks li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #3d454c;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.75;
}

/* ---------- Certifications ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.cert-card svg { width: 32px; height: 32px; color: var(--accent); }
.cert-card b { font-size: 15px; letter-spacing: -0.01em; }
.cert-card span { font-size: 12px; line-height: 1.55; color: var(--muted); }

/* ---------- Test list ---------- */
.test-list { border-top: 1px solid var(--line); }
.test-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.test-item span { font-size: 12px; color: var(--muted-2); text-align: right; }

/* ---------- Timeline ---------- */
.timeline { display: grid; }
.timeline-item {
  position: relative;
  padding: 0 0 28px 24px;
  border-left: 1px solid var(--line);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
}
.timeline-item b {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.timeline-item h4 { margin: 6px 0 8px; font-size: 17px; letter-spacing: -0.015em; }
.timeline-item p { font-size: 13.5px; line-height: 1.7; color: var(--muted); }

/* ---------- Values ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.value-card b { font-size: 10.5px; letter-spacing: 0.14em; color: var(--accent); }
.value-card h4 { margin: 12px 0 10px; font-size: 18px; letter-spacing: -0.015em; }
.value-card p { font-size: 13.5px; line-height: 1.7; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}
.contact-info { display: grid; gap: 22px; }
.info-block span {
  display: block;
  margin-bottom: 5px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.info-block a,
.info-block p { font-size: 15px; line-height: 1.6; color: var(--ink); }
.info-block a:hover { color: var(--accent); }

.contact-form-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.contact-form-card h2 { font-size: 25px; letter-spacing: -0.02em; }
.contact-form-card > p { margin: 8px 0 24px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  margin-bottom: 6px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fcfcfb;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input::placeholder,
.field textarea::placeholder { color: #b0b6bb; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #b9bdb9;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(20, 25, 30, 0.05);
}
.field textarea { min-height: 118px; resize: vertical; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #c4553f; background: #fdf7f5; }

.form-note { margin-top: 14px; font-size: 11px; line-height: 1.65; color: var(--muted-2); }
.form-success,
.form-fallback,
.form-error {
  display: none;
  margin-top: 16px;
  padding: 13px 15px;
  border: 1px solid;
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.65;
}
.form-success.is-visible,
.form-fallback.is-visible,
.form-error.is-visible { display: block; }
.form-success { background: #f1f8f3; border-color: #cfe6d6; color: #1e5b34; }
.form-fallback { background: #fdf7ec; border-color: #ecdcbe; color: #77521a; }
.form-error { background: #fdf2f0; border-color: #f0d2cb; color: #8a3125; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted-2); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p {
  max-width: 780px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- Applications page ---------- */
.app-hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}
.app-hero-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.app-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.app-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 14, 0) 58%, rgba(10, 12, 14, 0.62));
  pointer-events: none;
}
.app-hero-cap {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.app-hero-cap b { color: #fff; font-weight: 500; }

.app-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.photo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d6d9d6; }
.photo-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.photo-card:hover img { transform: scale(1.03); }
.photo-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.photo-card-body h3 { font-size: 19px; margin-bottom: 9px; letter-spacing: -0.015em; }
.photo-card-body p { font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.photo-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 16px; }
.photo-tags span {
  padding: 4px 9px;
  border-radius: var(--pill);
  background: var(--surface-2);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #55606a;
}

.app-band {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #2a2f33;
}
.app-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.app-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 15, 18, 0.86) 0%, rgba(12, 15, 18, 0.62) 46%, rgba(12, 15, 18, 0.12) 100%),
              linear-gradient(180deg, rgba(12, 15, 18, 0) 45%, rgba(12, 15, 18, 0.7) 100%);
}
.app-band-inner { position: relative; z-index: 2; max-width: 600px; padding: 52px; }
.app-band-inner .eyebrow { color: #ffb894; }
.app-band-inner h2 {
  margin: 12px 0 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.04;
  color: #fff;
}
.app-band-inner p { max-width: 440px; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.78); }
.app-band-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.app-band-stats b { display: block; font-size: 27px; font-weight: 600; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.app-band-stats span {
  display: block;
  margin-top: 6px;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.mat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mat-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.mat-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.mat-card:hover img { transform: scale(1.04); }
.mat-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(180deg, rgba(10, 12, 14, 0) 0%, rgba(10, 12, 14, 0.82) 78%);
}
.mat-card figcaption b { display: block; font-size: 19px; font-weight: 600; color: #fff; }
.mat-card figcaption span {
  display: block;
  margin-top: 4px;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0 28px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1.1fr;
  gap: 40px;
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { max-width: 330px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.footer-markets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.footer-markets span {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--surface);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer-col h5 {
  margin-bottom: 14px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
}
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a { font-size: 13px; color: #3d454d; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-col address { font-style: normal; font-size: 13px; line-height: 1.6; color: var(--muted); }

.footer-qr { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.footer-qr img {
  width: 84px;
  height: 84px;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.footer-qr span { font-size: 12px; line-height: 1.5; color: var(--muted); }

.qr-img {
  display: block;
  width: 140px;
  height: 140px;
  margin: 4px 0 10px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted-2);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .app-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: 2; }
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .section-head--split { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-head--split .section-lead { max-width: none; }
  .split, .contact-layout, .detail-layout { grid-template-columns: 1fr; gap: 40px; }
  .detail-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid, .quality-band { grid-template-columns: repeat(2, 1fr); }
  .quality-item:nth-child(2) { border-right: 0; }
  .quality-item:nth-child(1),
  .quality-item:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .card-grid, .app-grid, .app-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
  .stats { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .nav a { padding: 8px 9px; font-size: 12.5px; }
  .header-tel { display: none; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(20, 25, 30, 0.08);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  body.nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav a {
    width: 100%;
    padding: 14px 6px;
    border-radius: 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 15px;
  }
  .nav a.is-active::after { display: none; }
  .nav a:last-child { border-bottom: 0; }
  .nav-toggle { display: block; }
  .header-tel { display: none; }
  .cta-band { flex-direction: column; align-items: flex-start; gap: 26px; padding: 34px 26px; }
  .cta-actions { flex-wrap: wrap; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .header-actions .btn { display: none; }
  .section { padding: 60px 0; }
  .section--tight { padding: 40px 0; }
  .card-grid, .app-grid, .app-grid--2, .app-photo-grid, .mat-grid, .cert-grid, .quality-band, .footer-grid { grid-template-columns: 1fr; }
  .quality-item { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .quality-item:last-child { border-bottom: 0; }
  .hero-meta { gap: 26px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero-tag--1 { left: 10px; }
  .hero-tag--2 { right: 8px; }
  .hero-tag--3 { left: 16px; }
  .page-hero { padding: calc(var(--header-h) + 44px) 0 40px; }
  .page-hero h1 { font-size: clamp(32px, 9vw, 42px); }
  .hero-spec div { flex: 1 1 42%; min-width: 0; }
  .cta-band { padding: 28px 20px; }
  .contact-form-card { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .app-band { min-height: 460px; }
  .app-band-inner { padding: 28px 22px; }
  .app-band-stats { gap: 24px; }
  .photo-card-body { padding: 20px; }
  .process { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .test-item { flex-direction: column; gap: 2px; }
  .test-item span { text-align: left; }
  .detail-head h2 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .app-band, .cta-band { display: none; }
  body { background: #fff; color: #000; }
}
