/* ============================================================
   SOXMILL — B2B sock manufacturer site
   Design system: ink navy + coral accent on warm cream
   ============================================================ */
:root {
  --ink: #16233A;
  --ink-2: #3D4C66;
  --muted: #6B7688;
  --accent: #F4623A;
  --accent-2: #D9481F;
  --accent-soft: #FDEAE3;
  --bg: #FAF6F0;
  --card: #FFFFFF;
  --line: #E9E0D4;
  --dark: #0E1830;
  --dark-2: #16233A;
  --teal: #147D80;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(22, 35, 58, .08);
  --shadow-lg: 0 24px 60px rgba(22, 35, 58, .14);
  --font-head: 'Sora', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Manrope', 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(--font-body);
  background: var(--bg);
  color: var(--ink-2);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; font-weight: 700; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 15.5px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.btn-lg { padding: 16px 32px; font-size: 16.5px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(244, 98, 58, .35); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-danger { background: #FDECEC; color: #B42318; }
.btn-danger:hover { background: #F9D6D4; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 240, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(22,35,58,.08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; }
.brand-name {
  font-family: var(--font-head); font-weight: 800; font-size: 21px;
  color: var(--ink); letter-spacing: .04em;
}
.brand-name em { font-style: normal; color: var(--accent); }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-name em { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  font-weight: 600; font-size: 15.5px; color: var(--ink-2);
  padding: 10px 14px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--accent-2); }
.nav-cta { margin-left: 10px; }
.nav-item.has-drop { position: relative; }
.nav-item.has-drop > .nav-link svg { transition: transform .2s ease; }
.nav-item.has-drop:hover > .nav-link svg { transform: rotate(180deg); }

.drop {
  position: absolute; top: calc(100% + 10px); left: -20px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 14px;
  width: 460px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .18s ease;
}
.nav-item.has-drop:hover .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.drop-link {
  padding: 10px 12px; border-radius: 10px; display: flex; flex-direction: column; gap: 1px;
  transition: background .15s ease;
}
.drop-link:hover { background: var(--accent-soft); }
.drop-link span { font-weight: 700; color: var(--ink); font-size: 14.5px; }
.drop-link small { color: var(--muted); font-size: 12.5px; }
.drop-all {
  display: block; text-align: center; margin-top: 10px; padding: 10px;
  border-top: 1px dashed var(--line); font-weight: 700; color: var(--accent-2); font-size: 14.5px;
}

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; background: var(--ink);
  border-radius: 2px; margin: 5px 0; transition: all .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 64px; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 380px at 85% 10%, rgba(244,98,58,.07), transparent 65%),
    radial-gradient(500px 300px at 5% 90%, rgba(20,125,128,.06), transparent 60%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.eyebrow-light { color: #FFB39A; }
.hero h1 { font-size: clamp(38px, 4.6vw, 58px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); position: relative; }
.lead { font-size: 18.5px; color: var(--ink-2); max-width: 54ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; }
.hero-trust li { font-size: 14.5px; color: var(--muted); }
.hero-trust strong { color: var(--ink); }

.hero-media { position: relative; }
.hero-media img { border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 3/2; object-fit: cover; }
.float-badge {
  position: absolute; background: #fff; border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow-lg); display: flex; align-items: baseline; gap: 10px;
}
.float-badge strong { font-family: var(--font-head); font-size: 26px; color: var(--accent); font-weight: 800; }
.float-badge span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.fb-1 { top: -18px; left: -18px; }
.fb-2 { bottom: -18px; right: -14px; }

/* ---------- stats bar ---------- */
.stats-bar { background: var(--ink); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 16px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; height: 50%; width: 1px; background: rgba(255,255,255,.14); }
.stat strong { display: block; font-family: var(--font-head); font-size: 30px; font-weight: 800; color: #fff; }
.stat span { font-size: 13.5px; color: rgba(255,255,255,.65); }
.stats-inline { border-radius: var(--radius); overflow: hidden; margin-top: 28px; box-shadow: var(--shadow-lg); }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--dark); }
.section-dark h2 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.75); }
.pt-0 { padding-top: 24px; }
.pt-1 { padding-top: 40px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2, .page-head h1 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.01em; }
.section-sub { margin-top: 14px; font-size: 17.5px; color: var(--muted); }

/* ---------- category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; position: relative; transition: all .2s ease; display: block;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-num {
  position: absolute; top: 14px; left: 16px; z-index: 2;
  font-family: var(--font-head); font-weight: 800; font-size: 14px; color: #fff;
  background: rgba(22,35,58,.85); border-radius: 8px; padding: 4px 10px;
}
.cat-img { aspect-ratio: 1.25; overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cat-card:hover .cat-img img { transform: scale(1.05); }
.cat-body { padding: 20px 20px 22px; }
.cat-body h3 { font-size: 18px; margin-bottom: 8px; }
.cat-body p { font-size: 14.5px; color: var(--muted); min-height: 66px; }
.cat-sub {
  display: block; margin-top: 12px; font-size: 12.5px; font-weight: 700;
  color: var(--accent-2); letter-spacing: .02em;
}

/* ---------- why grid ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: all .2s ease;
}
.section-alt .why-card { background: #FFFDF9; }
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.why-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft);
  color: var(--accent-2); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.why-icon svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 17.5px; margin-bottom: 10px; }
.why-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- split / process ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-rev .split-copy { order: 2; }
.split-copy h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 18px; }
.split-media img { border-radius: 20px; box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }

.steps { list-style: none; margin: 28px 0 32px; display: flex; flex-direction: column; gap: 4px; }
.steps li { display: flex; gap: 16px; padding: 12px 0; }
.steps li + li { border-top: 1px dashed var(--line); }
.step-num {
  flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
}
.steps h3 { font-size: 16.5px; margin-bottom: 3px; }
.steps p { font-size: 14.5px; color: var(--muted); }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin: 20px 0 26px; }
.check-list li { padding-left: 32px; position: relative; font-size: 15.5px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--accent-soft);
}
.check-list li::after {
  content: ""; position: absolute; left: 6.5px; top: 8px; width: 7px; height: 10px;
  border: solid var(--accent-2); border-width: 0 2.2px 2.2px 0; transform: rotate(45deg);
}

/* ---------- process grid (custom page) ---------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pstep {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative; transition: all .2s ease;
}
.pstep:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pstep-num {
  font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--accent);
  display: inline-block; margin-bottom: 12px; letter-spacing: .05em;
}
.pstep h3 { font-size: 18px; margin-bottom: 10px; }
.pstep p { font-size: 14.5px; color: var(--muted); }

/* ---------- cases ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; display: flex; flex-direction: column; gap: 14px;
}
.case-tag {
  align-self: flex-start; font-size: 12.5px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--teal); background: rgba(20,125,128,.09);
  padding: 5px 12px; border-radius: 999px;
}
.case-card h3 { font-size: 19px; }
.case-card p { font-size: 15px; color: var(--ink-2); font-style: italic; }
.case-meta { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 14px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-weight: 700; color: var(--ink); font-size: 16.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 22px; color: var(--accent); font-weight: 600;
  transition: transform .2s ease; flex-shrink: 0;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; font-size: 15px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--accent) 0%, #E04A22 100%); padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.cta-inner p { color: rgba(255,255,255,.88); margin-top: 8px; font-size: 17px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- page head ---------- */
.page-head { padding: 64px 0 20px; }
.page-head h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; }

/* ---------- filter chips ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 700; font-size: 14px; color: var(--ink-2); background: #fff;
  transition: all .15s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent-2); }
.chip-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- product grid ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .2s ease; display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.prod-img { aspect-ratio: 1.2; overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.prod-card:hover .prod-img img { transform: scale(1.05); }
.prod-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-cat { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.prod-body h3 { font-size: 17px; }
.prod-body p { font-size: 14px; color: var(--muted); flex: 1; }
.prod-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: var(--ink); border-top: 1px dashed var(--line); padding-top: 12px; }
.prod-meta .arrow { color: var(--accent-2); }
.catalog-cta {
  margin-top: 44px; background: var(--ink); border-radius: var(--radius);
  padding: 30px 32px; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.catalog-cta p { color: rgba(255,255,255,.85); font-size: 16.5px; }
.catalog-cta strong { color: #fff; }

/* ---------- product detail ---------- */
.crumb { padding-top: 22px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumb a:hover { color: var(--accent-2); }
.crumb strong { color: var(--ink); }
.product-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; align-items: start; }
.product-media { position: sticky; top: 96px; }
.product-media img { border-radius: 20px; box-shadow: var(--shadow-lg); width: 100%; }
.pm-badge {
  position: absolute; top: 18px; left: 18px; background: var(--accent);
  color: #fff; font-weight: 800; font-size: 13px; padding: 7px 14px; border-radius: 999px;
}
.product-info h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 10px 0 12px; }
.product-tagline { font-size: 19px; color: var(--accent-2); font-weight: 600; margin-bottom: 16px; }
.product-info > p { font-size: 16px; }
.product-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.spec-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
.spec-table h2, .spec-custom h2 { font-size: 24px; margin-bottom: 20px; }
.spec-table table, .data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: 13px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 34%; color: var(--ink); font-weight: 700; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table tr:nth-child(odd) { background: #FFFDF9; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.tag {
  background: var(--accent-soft); color: var(--accent-2); font-weight: 700;
  font-size: 14px; padding: 8px 16px; border-radius: 999px;
}
.note-card {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm); padding: 22px 24px;
}
.note-card h3 { font-size: 17px; margin-bottom: 8px; }
.note-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- data table ---------- */
.table-wrap { overflow-x: auto; }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--ink); color: #fff; font-weight: 700; }
.data-table tbody tr:nth-child(even) { background: #FFFDF9; }

/* ---------- factory ---------- */
.factory-hero img { border-radius: 20px; box-shadow: var(--shadow-lg); width: 100%; }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cert-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; transition: all .2s ease;
}
.cert-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cert-badge {
  width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%;
  border: 2.5px solid var(--teal); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 17px;
}
.cert-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.cert-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.ci-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.ci-card + .ci-card { margin-top: 18px; }
.ci-card h3 { font-size: 18px; margin-bottom: 16px; }
.rfq-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.rfq-form h2 { font-size: 24px; margin-bottom: 6px; }
.form-note { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-weight: 700; font-size: 14px; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color .15s ease; width: 100%;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
}
.preselect-note {
  background: var(--accent-soft); color: var(--accent-2); font-size: 14px;
  padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 16px; font-weight: 600;
}
.form-error { margin-top: 14px; color: #B42318; font-weight: 700; font-size: 14.5px; }
.form-hint { margin-top: 16px; font-size: 13.5px; color: var(--muted); text-align: center; }
.form-hint a { color: var(--accent-2); font-weight: 700; }
.form-success { text-align: center; padding: 46px 20px; color: var(--ink-2); }
.form-success svg { color: var(--teal); margin: 0 auto 18px; }
.form-success h2 { font-size: 26px; margin-bottom: 10px; }
.form-success p { max-width: 46ch; margin: 0 auto 22px; }

/* ---------- footer contact ---------- */
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.fc-label {
  display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 2px;
}

/* ---------- admin ---------- */
.admin-table td { vertical-align: top; }
.admin-table .inq-msg {
  font-size: 13.5px; color: var(--muted); margin-top: 6px;
  max-width: 380px; white-space: pre-wrap; display: -webkit-box;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.nowrap { white-space: nowrap; }
.row-done td { opacity: .55; }
.pill { font-size: 12px; font-weight: 800; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.pill-new { background: var(--accent-soft); color: var(--accent-2); }
.pill-done { background: #E6F4F1; color: var(--teal); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 110px 0; }
.notfound h1 { font-size: 96px; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.notfound h2 { font-size: 28px; margin-bottom: 12px; }
.notfound p { color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.72); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.1fr; gap: 40px; padding: 64px 24px 48px; }
.footer-brand p { font-size: 14.5px; margin: 18px 0 20px; max-width: 36ch; }
.cert-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-chips span {
  font-size: 12px; font-weight: 700; border: 1px solid rgba(255,255,255,.22);
  padding: 5px 12px; border-radius: 999px; color: rgba(255,255,255,.8);
}
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: .04em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a { font-size: 14.5px; transition: color .15s ease; }
.footer-col ul a:hover { color: var(--accent); }
.footer-col ul span { font-size: 14.5px; }
.footer-col ul a { color: rgba(255,255,255,.72); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- reveal animation (progressive: only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.reveal { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cat-grid, .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0; bottom: auto;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 18px 24px 26px; gap: 4px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); display: none;
  }
  .main-nav.open { display: flex; }
  .nav-link { padding: 13px 10px; border-radius: 8px; }
  .nav-link:hover { background: var(--bg); }
  .drop { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 14px; display: none; }
  .nav-item.has-drop.open .drop { display: block; }
  .drop-grid { grid-template-columns: 1fr; }
  .drop-all { border-top: 0; text-align: left; padding: 10px 12px; }
  .nav-cta { margin: 10px 0 0; justify-content: center; }

  .hero-grid, .split, .product-layout, .spec-layout, .contact-layout { grid-template-columns: 1fr; }
  .split-rev .split-copy { order: 0; }
  .product-media { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat::before { display: none; }
  .hero { padding-top: 48px; }
  .hero-media { margin-top: 8px; }
  .fb-1 { left: 8px; top: -14px; } .fb-2 { right: 8px; bottom: -14px; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 48px; }
}
@media (max-width: 640px) {
  .cat-grid, .prod-grid, .why-grid, .cert-grid, .process-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cat-body p { min-height: 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .rfq-form-wrap { padding: 24px 18px; }
  .prod-body p { display: none; }
}
@media (max-width: 440px) {
  .cat-grid, .prod-grid { grid-template-columns: 1fr; }
}
