/* =============================================================================
   DEW — Deepjot Engineering Works
   Shared design system. All pages use ONLY these tokens/components.
   Sections: 1 Reset  2 Tokens  3 Base/Typography  4 Layout  5 Buttons
             6 Cards  7 Placeholder image  8 Spec table  9 Chips
             10 Breadcrumb  11 Hero  12 CTA band  13 Top bar  14 Header/Nav
             15 Dropdown  16 Mobile hamburger drawer  17 Footer
             18 Forms  19 Utility  20 Responsive
   ============================================================================= */

/* ---------- 1. Reset --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 2. Tokens ---------------------------------------------------- */
:root {
  /* Brand */
  --brand-red: #C8102E;
  --brand-red-dark: #a10d25;
  --ink: #1a1d21;
  --steel: #5b6570;
  --steel-light: #8a929b;
  --line: #e3e6ea;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --accent-blue: #12508c;

  /* Derived */
  --steel-gradient: linear-gradient(135deg, #dde2e7 0%, #b9c2ca 45%, #8a929b 100%);
  --shadow-sm: 0 1px 2px rgba(26,29,33,.06), 0 1px 1px rgba(26,29,33,.04);
  --shadow-md: 0 6px 16px rgba(26,29,33,.10), 0 2px 4px rgba(26,29,33,.06);
  --shadow-lg: 0 16px 40px rgba(26,29,33,.16);
  --radius: 6px;
  --radius-lg: 10px;

  /* Type */
  --font-head: 'Oswald', 'Barlow Condensed', Impact, sans-serif;
  --font-body: 'Inter', 'Barlow', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --container-w: 1200px;
  --section-pad-y: 72px;
  --section-pad-y-sm: 44px;

  --header-h: 84px;
  --topbar-h: 40px;
}

/* ---------- 3. Base / Typography ----------------------------------------- */
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-head {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.4vw + .8rem, 2.4rem); margin-bottom: .6em; }
h3 { font-size: 1.25rem; margin-bottom: .4em; }
h4 { font-size: 1rem; letter-spacing: .04em; }

p { color: var(--steel); }
p + p { margin-top: 1em; }

a { transition: color .15s ease; }

:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: .6em;
}

.lead { font-size: 1.15rem; color: var(--steel); }

/* ---------- 4. Layout ----------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding-block: var(--section-pad-y);
}
.section--sm { padding-block: var(--section-pad-y-sm); }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--ink); color: #fff; }

.section__head {
  max-width: 720px;
  margin-bottom: 40px;
}
.section__head--center { margin-inline: auto; text-align: center; }

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

.flex { display: flex; }
.flex--center { align-items: center; }
.flex--between { justify-content: space-between; }
.flex--wrap { flex-wrap: wrap; }
.flex--gap { gap: 12px; }

/* ---------- 5. Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid var(--brand-red);
  background: var(--brand-red);
  color: #fff;
  transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--brand-red-dark); border-color: var(--brand-red-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

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

.btn--sm { padding: 9px 18px; font-size: .82rem; }
.btn--block { width: 100%; }

/* ---------- 6. Cards --------------------------------------------------- */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card__body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card__title { font-size: 1.05rem; margin-bottom: .35em; }
.card__desc { font-size: .92rem; color: var(--steel); flex: 1; }
.card__link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand-red);
}
.card__link::after { content: '\2192'; transition: transform .15s ease; }
.card:hover .card__link::after { transform: translateX(4px); }

/* Large category card (products.php) */
.card--category .card__body { padding: 24px 26px 28px; }
.card--category .card__title { font-size: 1.3rem; }

/* ---------- 7. Placeholder image (.ph-img) -------------------------------- */
.ph-img {
  width: 100%;
  background: var(--steel-gradient);
  background-size: 220% 220%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}
.ph-img::before {
  /* subtle diagonal hazard-stripe texture to read as "industrial placeholder" */
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,.06) 0 14px,
    rgba(255,255,255,0) 14px 28px
  );
}
.ph-img::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.ph-img__label {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 16px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
}

/* ---------- 8. Spec table --------------------------------------------------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}
.spec-table {
  min-width: 560px;
  font-size: .92rem;
}
.spec-table caption {
  text-align: left;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .95rem;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
}
.spec-table thead th {
  background: var(--accent-blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: .78rem;
  text-align: left;
  padding: 12px 16px;
  position: sticky;
  top: 0;
}
.spec-table tbody td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  white-space: nowrap;
}
.spec-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.spec-table tbody tr:hover { background: #eef2f6; }
.spec-table tbody td:first-child { font-weight: 600; color: var(--brand-red); }

.table-note {
  margin-top: 14px;
  font-size: .88rem;
  color: var(--steel);
  padding: 12px 16px;
  background: var(--bg-alt);
  border-left: 3px solid var(--brand-red);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- 9. Chips --------------------------------------------------- */
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chip-group:last-child { margin-bottom: 0; }
.chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: inherit;
}
/* Light-background variant (used on white/alt sections) */
.chip--light {
  border-color: var(--line);
  background: var(--bg);
  color: var(--ink);
}
.chip--alt {
  border-color: var(--line);
  background: var(--bg-alt);
  color: var(--steel);
}
.chip--brand {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff;
}

/* ---------- 9b. Detailed product card (.pcard) ---------------------------- */
/* Used by products-fittings.php and other detailed-spec family pages.
   Structure:
   <div class="pcard">
     <div class="pcard__media"> <?php ph_img(...); ?> </div>
     <div class="pcard__body">
       <span class="pcard__model">DEW-SPF101</span>
       <h3 class="pcard__title">Product Name</h3>
       <dl class="pcard__specs">
         <div class="pcard__spec"><dt class="pcard__k">Size</dt><dd class="pcard__v">DN15–DN100</dd></div>
         ...
       </dl>
     </div>
   </div> */
.pcard {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.pcard__media { width: 100%; }
.pcard__body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pcard__model {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pcard__title {
  font-size: 1.05rem;
  margin-bottom: .6em;
}
.pcard__specs {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.pcard__spec {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  font-size: .86rem;
  border-bottom: 1px dashed var(--line);
}
.pcard__spec:last-child { border-bottom: 0; }
.pcard__k {
  flex: 0 0 auto;
  color: var(--steel);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.pcard__v {
  flex: 1;
  text-align: right;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- 9c. Pill link strip (dimension charts by standard, etc.) ----- */
.link-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.pill-link:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- 10. Breadcrumb ----------------------------------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: .85rem;
  color: rgba(255,255,255,.75);
}
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb__sep { color: rgba(255,255,255,.5); }
.breadcrumb__current { color: #fff; font-weight: 600; }

/* Breadcrumb on light backgrounds */
.breadcrumb--light { color: var(--steel); }
.breadcrumb--light a { color: var(--steel); }
.breadcrumb--light a:hover { color: var(--brand-red); }
.breadcrumb--light .breadcrumb__current { color: var(--ink); }

/* ---------- 11. Hero ----------------------------------------------------- */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(120deg, #21262c 0%, #1a1d21 55%, #2b323a 100%);
  overflow: hidden;
  padding-block: 96px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,.035) 0 18px,
    rgba(255,255,255,0) 18px 36px
  );
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.35), transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; max-width: 760px; }
.hero__title { color: #fff; margin-bottom: .3em; }
.hero__title .accent { color: var(--brand-red); }
.hero__sub { color: rgba(255,255,255,.82); font-size: 1.1rem; max-width: 560px; margin-bottom: 2em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Slim page-header hero (used on product-family pages) */
.hero--page {
  padding-block: 48px 40px;
}
.hero--page .hero__inner { max-width: 900px; }
.hero--page .breadcrumb { margin-bottom: 18px; }
.hero--page .hero__sub { margin-bottom: 0; }

/* ---------- 12. CTA band ----------------------------------------------- */
.cta-band {
  background: var(--brand-red);
  color: #fff;
  padding-block: 56px;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.9); margin-bottom: 1.8em; }
.cta-band .btn-outline { border-color: #fff; color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--brand-red); }
.cta-band .btn { background: var(--ink); border-color: var(--ink); }
.cta-band .btn:hover { background: #000; border-color: #000; }

/* Small in-page CTA (bottom of product-family pages) */
.quote-cta {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.quote-cta h3 { color: #fff; }
.quote-cta p { color: rgba(255,255,255,.75); margin-bottom: 1.6em; }

/* ---------- 13. Top contact bar ----------------------------------------- */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  min-height: var(--topbar-h);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar-h);
  gap: 16px;
}
.topbar__contact { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__contact a:hover { color: var(--brand-red); }
.topbar__icon { margin-right: 4px; }
.topbar__label { color: rgba(255,255,255,.55); white-space: nowrap; }

/* ---------- 14. Header / Nav --------------------------------------------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: .02em;
  color: var(--brand-red);
  line-height: 1;
}
.brand__name {
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1.15;
  max-width: 180px;
}
.brand--footer .brand__mark { font-size: 1.8rem; }
.brand--footer .brand__name { color: #fff; max-width: 220px; }

.nav__list {
  display: flex;
  align-items: stretch;
  gap: 4px;
}
.nav__item { position: relative; }

.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  height: var(--header-h);
  padding-inline: 14px;
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 3px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav__link:hover,
.nav__link.active,
.nav__link[aria-expanded="true"] {
  color: var(--brand-red);
  border-bottom-color: var(--brand-red);
}
.nav__link--dropdown { cursor: pointer; }
.nav__caret { font-size: .7rem; transition: transform .15s ease; }
.nav__item--dropdown:hover .nav__caret,
.nav__link--dropdown[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }

.nav__link--cta {
  margin-left: 6px;
  align-self: center;
  height: auto;
  padding: 10px 20px;
  background: var(--brand-red);
  color: #fff;
  border-radius: var(--radius);
  border-bottom: none;
}
.nav__link--cta:hover { background: var(--brand-red-dark); color: #fff; }

/* ---------- 15. Dropdown -------------------------------------------------- */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 50;
}
.nav__item--dropdown:hover .dropdown,
.nav__item--dropdown:focus-within .dropdown,
.dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown__link {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink);
}
.dropdown__link:hover,
.dropdown__link.active {
  background: var(--bg-alt);
  color: var(--brand-red);
}
.dropdown__divider {
  height: 1px;
  background: var(--line);
  margin: 6px 4px;
}

/* ---------- 16. Mobile hamburger / drawer -------------------------------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
}
.hamburger:hover { background: var(--bg-alt); }
.hamburger__box { position: relative; width: 22px; height: 16px; }
.hamburger__bar,
.hamburger__bar::before,
.hamburger__bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.hamburger__bar { top: 7px; }
.hamburger__bar::before { top: -7px; }
.hamburger__bar::after { top: 7px; }
.hamburger[aria-expanded="true"] .hamburger__bar { background: transparent; }
.hamburger[aria-expanded="true"] .hamburger__bar::before { top: 0; transform: rotate(45deg); background: var(--brand-red); }
.hamburger[aria-expanded="true"] .hamburger__bar::after { top: 0; transform: rotate(-45deg); background: var(--brand-red); }

/* ---------- 17. Footer ---------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-block: 56px 40px;
}
.footer__col--brand .brand { margin-bottom: 14px; }
.footer__tagline { color: var(--brand-red); font-weight: 600; margin-bottom: 16px; font-size: .95rem; }
.footer__address { font-style: normal; color: rgba(255,255,255,.65); font-size: .9rem; margin-bottom: 16px; }
.footer__contact-list li { font-size: .88rem; margin-bottom: 8px; color: rgba(255,255,255,.75); }
.footer__contact-list a:hover { color: var(--brand-red); }
.footer__label { color: rgba(255,255,255,.45); margin-right: 4px; }

.footer__heading {
  color: #fff;
  font-size: .85rem;
  letter-spacing: .06em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-red);
  display: inline-block;
}
.footer__links li { margin-bottom: 10px; }
.footer__links a { font-size: .88rem; color: rgba(255,255,255,.7); }
.footer__links a:hover { color: #fff; }

.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bottom-inner {
  padding-block: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}

/* ---------- 18. Forms ---------------------------------------------------- */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--ink);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(18,80,140,.15);
  outline: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field--required label::after { content: ' *'; color: var(--brand-red); }

/* ---------- 19. Utility --------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.color-red { color: var(--brand-red); }
.color-steel { color: var(--steel); }
.bg-alt { background: var(--bg-alt); }

.icon-list { display: grid; gap: 16px; }
.icon-list__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.icon-list__icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(200,16,46,.1);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
}
.icon-list__body h4 { margin-bottom: .3em; text-transform: none; }
.icon-list__body p { font-size: .92rem; margin: 0; }

/* ---------- 20. Responsive ------------------------------------------------ */
@media (max-width: 1200px) {
  :root { --container-w: 1000px; }
}

@media (max-width: 991px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--6 { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
    --section-pad-y: 48px;
  }

  .brand__name { display: none; }

  .hamburger { display: inline-flex; }

  /* Nav becomes a slide-down drawer */
  .nav {
    position: fixed;
    top: calc(var(--header-h) + var(--topbar-h));
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
    z-index: 90;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { transform: translateX(0); }

  .nav__list { flex-direction: column; padding: 12px; gap: 0; }
  .nav__item { width: 100%; }
  .nav__link {
    height: auto;
    padding: 16px 8px;
    width: 100%;
    border-bottom: 1px solid var(--line);
    justify-content: space-between;
  }
  .nav__link--cta { margin: 16px 8px; justify-content: center; }

  /* Dropdown becomes an inline accordion on mobile */
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 14px;
    display: none;
    max-height: none;
  }
  .dropdown.is-open { display: block; }
  .nav__item--dropdown:hover .dropdown { opacity: 1; visibility: hidden; } /* disable hover-open on touch */
  .nav__item--dropdown.is-open .dropdown,
  .dropdown.is-open { visibility: visible; opacity: 1; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--6 { grid-template-columns: repeat(2, 1fr); }

  .footer__grid { grid-template-columns: 1fr; padding-block: 40px 24px; }
  .footer__bottom-inner { flex-direction: column; gap: 4px; text-align: left; }

  .hero { padding-block: 56px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }

  .topbar__inner { flex-wrap: wrap; height: auto; padding-block: 8px; gap: 6px 16px; }
  .topbar__label { display: none; }
}

@media (max-width: 480px) {
  .grid--6 { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 1.9rem; }
  .section { padding-block: var(--section-pad-y-sm); }
  .quote-cta { padding: 28px 20px; }
  .pcard__spec { flex-direction: column; gap: 2px; }
  .pcard__v { text-align: left; }
}
