/* ==========================================================================
   DisposalPro — shared stylesheet
   Replace the brand tokens below to re-skin the whole site.
   ========================================================================== */

:root {
  /* Brand */
  --brand:        #1264a3;
  --brand-dark:   #0d4a7a;
  --brand-light:  #e8f1f9;
  --accent:       #f0872b;
  --accent-dark:  #c96c19;

  /* Neutrals */
  --ink:          #14202b;
  --ink-2:        #3d4d5c;
  --ink-3:        #6b7c8c;
  --line:         #dde5ec;
  --surface:      #ffffff;
  --surface-2:    #f5f8fa;
  --surface-3:    #eaf0f5;

  /* Semantic */
  --danger:       #b3261e;
  --danger-bg:    #fdecea;
  --warn:         #8a5a00;
  --warn-bg:      #fff4dd;
  --ok:           #1c6b3f;
  --ok-bg:        #e6f4ec;

  /* Layout */
  --wrap:         1160px;
  --radius:       10px;
  --radius-lg:    16px;
  --shadow:       0 1px 2px rgba(20,32,43,.06), 0 4px 14px rgba(20,32,43,.06);
  --shadow-lg:    0 8px 30px rgba(20,32,43,.12);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

/* Sticky-header offsets. --header-h must match the rendered header height, or
   anchor targets land underneath it. Pages with a .subnav add its height too. */
:root { --header-h: 110px; --subnav-h: 50px; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--subnav-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); letter-spacing: -.015em; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }
p  { margin: 0 0 1.1em; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }

.section { padding: 72px 0; }
.section--tint { background: var(--surface-2); }
.section--ink { background: var(--ink); color: #c6d2dd; }
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 .6em;
}
.section--ink .eyebrow { color: var(--accent); }

.lede { font-size: 1.12rem; color: var(--ink-2); }

.center { text-align: center; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { margin-bottom: 0; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 650;
  font-size: .97rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .05s;
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); color: #fff; }

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

.btn--onink { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn--onink:hover { background: rgba(255,255,255,.1); color: #fff; }

.btn--block { display: block; width: 100%; }
.btn--sm { padding: 9px 16px; font-size: .88rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Header / navigation (with dropdown)
   ========================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  background: var(--ink);
  color: #b9c6d2;
  font-size: .84rem;
}
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding-top: 7px; padding-bottom: 7px;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar-note { color: #9fb0be; }

.navbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-top: 14px; padding-bottom: 14px;
}

.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--ink); font-size: 1.22rem; letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo svg { flex: none; }
.logo span small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); line-height: 1; margin-top: 2px; }

.nav-toggle {
  display: none;
  background: none; border: 1.5px solid var(--line); border-radius: 8px;
  padding: 9px 11px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { display: block; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li, .nav-list > li { list-style: none; }
/* The dropdown positions against this — without it the menu escapes to the
   left edge of the sticky header. */
.has-dropdown { position: relative; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }

.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 9px 13px; border-radius: 7px;
  color: var(--ink); font-weight: 600; font-size: .95rem;
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav-link:hover { background: var(--surface-2); text-decoration: none; color: var(--brand); }
.nav-link[aria-current="page"] { color: var(--brand); background: var(--brand-light); }
.nav-link .caret { transition: transform .2s; }

/* Dropdown */
.has-dropdown > .nav-link[aria-expanded="true"] { background: var(--surface-2); color: var(--brand); }
.has-dropdown > .nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 268px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.dropdown.is-open {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 9px 12px; border-radius: 7px;
  color: var(--ink); font-weight: 600; font-size: .92rem;
}
.dropdown a small { display: block; font-weight: 500; font-size: .8rem; color: var(--ink-3); margin-top: 1px; }
.dropdown a:hover { background: var(--brand-light); color: var(--brand-dark); text-decoration: none; }
.dropdown a:hover small { color: var(--brand); }

.nav-cta { margin-left: 8px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background: linear-gradient(160deg, #0e2a40 0%, #14415f 55%, #12557f 100%);
  color: #cfe0ec;
  padding: 84px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 78% 26%, rgba(240,135,43,.20), transparent 46%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero p { font-size: 1.12rem; max-width: 54ch; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero-badges li {
  font-size: .84rem; font-weight: 600; color: #d9e6f0;
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 6px 14px;
}
.hero-art {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 22px;
}

/* ==========================================================================
   Cards & 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); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.icon-badge {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--brand-light); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 16px;
}

/* ---------- Product cards ---------- */

.product-toolbar {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-bottom: 32px;
}
.filter-btn {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-2);
  border-radius: 999px; padding: 8px 18px; font-size: .89rem; font-weight: 600;
  cursor: pointer; font-family: inherit;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.product {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: box-shadow .18s, transform .18s;
  position: relative;
}
.product:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.product-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.product-tag--quiet { background: var(--brand); }

/* Image slot — swap the <img> src for your own product photo */
.product-media {
  background: var(--surface-3);
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line);
  padding: 18px;
}
.product-media img { width: 100%; height: 100%; object-fit: contain; }

.product-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-brand { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 4px; }
.product-body h3 { font-size: 1.1rem; margin-bottom: .35em; }
.product-desc { font-size: .93rem; margin-bottom: 16px; }

.spec-list { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--line); }
.spec-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 7px 0; border-bottom: 1px solid var(--line);
  font-size: .87rem;
}
.spec-list dt, .spec-list .k { color: var(--ink-3); }
.spec-list .v { color: var(--ink); font-weight: 650; text-align: right; }

.product-foot { margin-top: auto; }
.price-note { font-size: .82rem; color: var(--ink-3); margin: 10px 0 0; text-align: center; }

.disclosure {
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: .89rem;
  color: var(--ink-2);
  margin-bottom: 34px;
}
.disclosure strong { color: var(--ink); }
.disclosure p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Callouts
   ========================================================================== */

.callout {
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 0 0 26px;
  border: 1px solid;
  font-size: .95rem;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { display: block; margin-bottom: 4px; }

.callout--danger { background: var(--danger-bg); border-color: #f3c4c0; color: #7d1a15; }
.callout--danger strong { color: var(--danger); }
.callout--warn   { background: var(--warn-bg);   border-color: #f0dcb0; color: #6b4600; }
.callout--warn strong { color: var(--warn); }
.callout--info   { background: var(--brand-light); border-color: #c3ddf1; color: #0f4b78; }
.callout--info strong { color: var(--brand-dark); }
.callout--ok     { background: var(--ok-bg); border-color: #bfe0cd; color: #145030; }
.callout--ok strong { color: var(--ok); }

/* ==========================================================================
   Steps / diagnostics
   ========================================================================== */

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding: 0 0 30px 62px;
  border-left: 2px solid var(--line);
  margin-left: 21px;
}
.steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps > li::before {
  content: counter(step);
  position: absolute; left: -22px; top: -4px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 1rem;
}
.steps h3 { margin-bottom: .35em; }
.steps > li > *:last-child { margin-bottom: 0; }

.symptom {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  background: #fff;
  overflow: hidden;
}
.symptom > summary {
  cursor: pointer; list-style: none;
  padding: 18px 54px 18px 22px;
  font-weight: 700; color: var(--ink); font-size: 1.03rem;
  position: relative;
}
.symptom > summary::-webkit-details-marker { display: none; }
.symptom > summary::after {
  content: "+";
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--brand); line-height: 1;
}
.symptom[open] > summary::after { content: "\2013"; }
.symptom[open] > summary { border-bottom: 1px solid var(--line); background: var(--surface-2); }
.symptom > summary:hover { background: var(--surface-2); }
.symptom-body { padding: 20px 22px 6px; }
.symptom-body ol, .symptom-body ul { padding-left: 20px; }
.symptom-body li { margin-bottom: .5em; }

.likely {
  display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; padding: 3px 9px; border-radius: 999px; margin-left: 8px;
  vertical-align: middle;
}
.likely--easy { background: var(--ok-bg); color: var(--ok); }
.likely--med  { background: var(--warn-bg); color: var(--warn); }
.likely--hard { background: var(--danger-bg); color: var(--danger); }

/* Page sub-nav (anchors) */
.subnav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.subnav ul {
  display: flex; gap: 6px; list-style: none; margin: 0; padding: 10px 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.subnav a {
  white-space: nowrap; font-size: .89rem; font-weight: 600;
  color: var(--ink-2); padding: 7px 14px; border-radius: 999px;
}
.subnav a:hover { background: var(--surface-2); color: var(--brand); text-decoration: none; }

/* ==========================================================================
   Tables
   ========================================================================== */

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .92rem; background: #fff; min-width: 560px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); font-weight: 700; color: var(--ink); font-size: .84rem; text-transform: uppercase; letter-spacing: .05em; }
tbody tr:last-child td { border-bottom: 0; }

/* ==========================================================================
   Recalls
   ========================================================================== */

.recall {
  border: 1px solid var(--line);
  border-left: 5px solid var(--danger);
  border-radius: var(--radius);
  background: #fff;
  padding: 26px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.recall-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.recall h3 { margin: 0; }
.recall-date { font-size: .84rem; color: var(--ink-3); font-weight: 600; }
.recall-meta { display: grid; grid-template-columns: 150px 1fr; gap: 6px 18px; font-size: .92rem; margin: 16px 0 0; }
.recall-meta dt { font-weight: 700; color: var(--ink); }
.recall-meta dd { margin: 0; }
.model-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.model-chips li {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .8rem; background: var(--surface-3); color: var(--ink);
  padding: 3px 9px; border-radius: 5px; border: 1px solid var(--line);
}

/* ==========================================================================
   Blog
   ========================================================================== */

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; overflow: hidden; box-shadow: var(--shadow);
  transition: box-shadow .18s, transform .18s;
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post-thumb { aspect-ratio: 16/9; background: var(--surface-3); border-bottom: 1px solid var(--line); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .8rem; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; }
.post-card h3 { font-size: 1.12rem; margin-bottom: .4em; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--brand); text-decoration: none; }
.post-card p { font-size: .93rem; }
.post-card .readmore { margin-top: auto; font-weight: 650; font-size: .9rem; }

.post-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: #fff; box-shadow: var(--shadow); margin-bottom: 40px;
}
.post-featured .post-thumb { aspect-ratio: auto; height: 100%; min-height: 280px; border: 0; border-right: 1px solid var(--line); }
.post-featured .post-body { padding: 38px; justify-content: center; }
.post-featured h2 { font-size: 1.6rem; }

/* Article body */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { margin-top: 1.8em; }
.article h3 { margin-top: 1.5em; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: .5em; }
.article blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 22px;
  border-left: 4px solid var(--brand);
  color: var(--ink); font-size: 1.06rem; font-style: italic;
}
.article-head { border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 32px; }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 44px; align-items: start; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow);
}

.field { margin-bottom: 20px; }
.field label {
  display: block; font-weight: 650; font-size: .92rem; color: var(--ink); margin-bottom: 7px;
}
.field .req { color: var(--danger); }
.field .hint { font-weight: 500; color: var(--ink-3); font-size: .84rem; }

.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: .97rem; color: var(--ink);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(18,100,163,.14);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: var(--danger); background: #fffafa;
}
.field-error { display: none; color: var(--danger); font-size: .84rem; margin-top: 6px; font-weight: 600; }
.field-error.is-shown { display: block; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.check input { width: auto; margin-top: 3px; flex: none; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* File attachments */
.field-help { font-size: .86rem; color: var(--ink-3); margin: -2px 0 10px; }
.dropzone {
  position: relative; border: 2px dashed var(--line); border-radius: var(--radius);
  background: var(--surface-2); text-align: center; padding: 26px 18px;
  transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.is-dragover { border-color: var(--brand); background: var(--brand-light); }
.dropzone:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(18,100,163,.14); }
.dropzone.is-invalid { border-color: var(--danger); background: #fffafa; }
.field .dropzone input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; padding: 0; border: 0;
}
.dropzone-inner { pointer-events: none; color: var(--brand); }
.dropzone-title { margin: 8px 0 4px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.dropzone-link { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.dropzone-sub { margin: 0; font-size: .82rem; color: var(--ink-3); }

.file-list { list-style: none; margin: 10px 0 0; padding: 0; }
.file-list:empty { display: none; }
.file-item {
  display: flex; align-items: center; gap: 12px; padding: 8px 10px; margin-bottom: 6px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
.file-thumb {
  flex: none; width: 44px; height: 44px; border-radius: 6px; object-fit: cover;
  background: var(--surface-3); color: var(--brand-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em;
}
.file-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.file-name { font-size: .9rem; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-size { font-size: .8rem; color: var(--ink-3); }
.file-remove {
  flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.file-remove:hover, .file-remove:focus-visible { border-color: var(--danger); color: var(--danger); outline: none; }
.file-summary { font-size: .8rem; color: var(--ink-3); padding: 2px 2px 0; }
.form-note { font-size: .82rem; color: var(--ink-3); margin: 10px 0 0; text-align: center; }

.form-status { margin-top: 18px; border-radius: 8px; padding: 14px 18px; font-size: .93rem; display: none; }
.form-status.is-shown { display: block; }
.form-status.is-ok   { background: var(--ok-bg); color: #145030; border: 1px solid #bfe0cd; }
.form-status.is-err  { background: var(--danger-bg); color: #7d1a15; border: 1px solid #f3c4c0; }

.aside-card {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; margin-bottom: 20px;
}
.aside-card h3 { font-size: 1.05rem; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .k { color: var(--ink-3); min-width: 76px; font-weight: 600; }

/* ==========================================================================
   Stats / CTA
   ========================================================================== */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .n { font-size: 2.3rem; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1; }
.stat .l { font-size: .88rem; color: #9fb4c5; margin-top: 8px; }

.cta-band {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff; border-radius: var(--radius-lg); padding: 46px;
  display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #d5e7f4; margin: 0; max-width: 52ch; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--ink); color: #93a6b5; padding: 58px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #93a6b5; }
.site-footer a:hover { color: #fff; }
.footer-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0; display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; font-size: .85rem; color: #7d92a3;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .form-layout { grid-template-columns: 1fr; gap: 32px; }
  .post-featured { grid-template-columns: 1fr; }
  .post-featured .post-thumb { border-right: 0; border-bottom: 1px solid var(--line); min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch;
    padding: 10px 16px 20px;
    max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .nav-link { padding: 13px 12px; font-size: 1rem; justify-content: space-between; width: 100%; }

  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; margin: 2px 0 6px 14px; padding: 0 0 0 8px;
    min-width: 0; display: none;
  }
  /* :not(.is-open) matters — without it these selectors outrank .dropdown.is-open
     and the menu stays hidden once the trigger takes focus on tap. */
  .has-dropdown:hover > .dropdown:not(.is-open),
  .has-dropdown:focus-within > .dropdown:not(.is-open) { display: none; }
  .dropdown.is-open { display: block; }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { width: 100%; }

  .topbar .wrap { font-size: .78rem; }
  .topbar-note { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .wrap { padding: 0 18px; }
  .grid--2, .grid--3, .grid--4, .product-grid, .post-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { padding: 32px 24px; }
  .form-card { padding: 24px; }
  .recall-meta { grid-template-columns: 1fr; gap: 2px 0; }
  .recall-meta dd { margin-bottom: 10px; }
  .steps > li { padding-left: 52px; }
}

@media (max-width: 860px) {
  :root { --header-h: 80px; --subnav-h: 48px; }
}

@media print {
  .site-header, .site-footer, .subnav, .cta-band, .nav-toggle { display: none; }
  body { font-size: 12pt; }
  .section { padding: 12px 0; }
  .symptom-body { display: block !important; }
}
