/* Topmell Precision — site design system */
:root {
  /* Brand from logo gold + charcoal */
  --brand-50: #fff9e8;
  --brand-100: #fff0c2;
  --brand-200: #ffe08a;
  --brand-300: #f5d05a;
  --brand-400: #f0c030;
  --brand-500: #e8b020;
  --brand-600: #d49a12;
  --brand-700: #b07a0c;
  --brand-800: #8a5e10;
  --brand-900: #5c3e0c;

  --ink-950: #0d1014;
  --ink-900: #151a21;
  --ink-800: #1e2530;
  --ink-700: #2a3340;
  --ink-600: #3d4a5c;
  --ink-500: #556274;
  --ink-400: #7a8799;
  --ink-300: #a3adb8;
  --ink-200: #cdd3db;
  --ink-100: #e6eaef;
  --ink-50: #f5f7fa;

  --surface: #ffffff;
  --surface-alt: #f7f8fa;
  --surface-dark: #151a21;
  --line: #e2e6ec;
  --line-strong: #c5ccd6;
  --success: #15803d;
  --danger: #b91c1c;
  --wa: #25d366;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;
  --fs-6xl: 3.5rem;

  --lh-tight: 1.2;
  --lh-snug: 1.35;
  --lh-normal: 1.65;
  --lh-relaxed: 1.8;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(13,16,20,.06);
  --shadow-md: 0 4px 14px rgba(13,16,20,.08);
  --shadow-lg: 0 12px 32px rgba(13,16,20,.12);
  --shadow-header: 0 2px 12px rgba(13,16,20,.08);

  --header-h: 72px;
  --logo-h: 44px;
  --container: 1180px;
  --container-wide: 1320px;
  --ease: cubic-bezier(.4,0,.2,1);
  --dur: .22s;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--ink-800);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-display); line-height: var(--lh-tight); color: var(--ink-950); font-weight: 700; margin: 0; }
p { margin: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.container-wide { width: min(100% - 2rem, var(--container-wide)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-header);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-6); height: var(--header-h);
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img { height: var(--logo-h); width: auto; object-fit: contain; }
.nav-desktop { display: none; align-items: center; gap: .15rem; flex: 1; justify-content: center; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .85rem; font-size: var(--fs-sm); font-weight: 600;
  color: var(--ink-700); border-radius: var(--radius-md);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--ink-950); background: var(--ink-50); }
.nav-link .chev { width: 10px; height: 10px; opacity: .55; transition: transform var(--dur); }
.nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(180deg); }

/* Mega menu with hover bridge */
.mega {
  position: absolute; left: 50%; top: 100%;
  transform: translateX(-50%) translateY(6px);
  width: min(920px, calc(100vw - 2rem));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  /* hover bridge */
  padding-top: calc(var(--space-6) + 12px);
  margin-top: 0;
}
.mega::before {
  content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 18px;
}
.nav-item:hover .mega, .nav-item:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4);
}
.mega-card {
  display: flex; flex-direction: column; gap: .55rem;
  padding: .65rem; border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: border-color var(--dur), background var(--dur), box-shadow var(--dur);
}
.mega-card:hover { border-color: var(--line); background: var(--surface-alt); box-shadow: var(--shadow-sm); }
.mega-card img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius-sm); background: var(--ink-100);
}
.mega-card strong { font-size: var(--fs-sm); color: var(--ink-900); }
.mega-card span { font-size: var(--fs-xs); color: var(--ink-500); line-height: var(--lh-snug); }
.mega-foot {
  margin-top: var(--space-4); padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.mega-foot a { font-size: var(--fs-sm); font-weight: 600; color: var(--brand-700); }
.mega-foot a:hover { color: var(--brand-800); text-decoration: underline; }

.header-cta { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .7rem 1.15rem; border-radius: var(--radius-md);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: .01em;
  transition: background var(--dur), color var(--dur), box-shadow var(--dur), transform .08s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  background: var(--brand-500); color: var(--ink-950);
  box-shadow: 0 2px 8px rgba(232,176,32,.35);
}
.btn-primary:hover { background: var(--brand-400); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-800); }
.btn-outline {
  background: transparent; color: var(--ink-900);
  border: 1.5px solid var(--ink-200);
}
.btn-outline:hover { border-color: var(--ink-500); background: var(--ink-50); }
.btn-ghost { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.28); }
.btn-lg { padding: .9rem 1.45rem; font-size: var(--fs-base); }
.btn-sm { padding: .45rem .8rem; font-size: var(--fs-xs); }

.menu-toggle {
  display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
  border-radius: var(--radius-md); border: 1px solid var(--line);
}
.menu-toggle span {
  display: block; width: 18px; height: 2px; background: var(--ink-800); position: relative;
}
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink-800);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.mobile-nav {
  display: none; border-top: 1px solid var(--line); background: #fff;
  padding: var(--space-4) var(--space-4) var(--space-6);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: .75rem .5rem; font-weight: 600; color: var(--ink-800);
  border-bottom: 1px solid var(--ink-100);
}
.mobile-nav .sub { padding-left: 1rem; font-weight: 500; font-size: var(--fs-sm); color: var(--ink-600); }

/* Hero carousel */
.hero {
  position: relative; min-height: clamp(420px, 72vh, 680px);
  overflow: hidden; background: var(--ink-900); color: #fff;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .8s var(--ease);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: brightness(.92) contrast(1.02);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(13,16,20,.62) 0%, rgba(13,16,20,.38) 48%, rgba(13,16,20,.22) 100%),
    linear-gradient(0deg, rgba(13,16,20,.45) 0%, transparent 42%);
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  min-height: clamp(420px, 72vh, 680px);
  padding: var(--space-16) 0 var(--space-20);
  max-width: 720px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-400); margin-bottom: var(--space-4);
}
.hero h1 {
  color: #fff; font-size: clamp(1.85rem, 4.2vw, 3.15rem);
  margin-bottom: var(--space-5); text-wrap: balance;
}
.hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255,255,255,.88);
  line-height: var(--lh-relaxed); margin-bottom: var(--space-8); max-width: 540px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-dots {
  position: absolute; z-index: 3; left: 50%; bottom: 1.35rem; transform: translateX(-50%);
  display: flex; gap: .45rem;
}
.hero-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.35); border: 0; padding: 0;
}
.hero-dot.is-active { background: var(--brand-400); width: 22px; border-radius: var(--radius-full); }

/* Sections */
.section { padding: var(--space-16) 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--ink-900); color: rgba(255,255,255,.88); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: var(--space-10); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { color: var(--brand-700); }
.section-head h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem); margin-bottom: var(--space-3);
}
.section-head p { color: var(--ink-500); font-size: var(--fs-md); }

/* Value / pillars */
.pillars {
  display: grid; grid-template-columns: 1fr; gap: var(--space-4);
}
.pillar {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.pillar-icon {
  width: 42px; height: 42px; border-radius: var(--radius-md);
  background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center; font-weight: 800; margin-bottom: var(--space-4);
  border: 1px solid var(--brand-100);
}
.pillar h3 { font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.pillar p { color: var(--ink-500); font-size: var(--fs-sm); }

/* Product cards */
.card-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-5);
}
.product-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow var(--dur), transform var(--dur), border-color var(--dur);
  display: flex; flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-2px);
  border-color: var(--brand-200);
}
.product-card .thumb {
  aspect-ratio: 4/3; overflow: hidden; background: var(--ink-100);
}
.product-card .thumb img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease);
}
.product-card:hover .thumb img { transform: scale(1.04); }
.product-card .body { padding: var(--space-5); display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.product-card .tag {
  font-size: var(--fs-xs); font-weight: 700; color: var(--brand-700);
  letter-spacing: .04em; text-transform: uppercase;
}
.product-card h3 { font-size: var(--fs-lg); }
.product-card p { color: var(--ink-500); font-size: var(--fs-sm); flex: 1; }
.product-card .more {
  font-size: var(--fs-sm); font-weight: 700; color: var(--ink-900);
  display: inline-flex; align-items: center; gap: .35rem; margin-top: .35rem;
}
.product-card .more::after { content: "→"; transition: transform var(--dur); }
.product-card:hover .more::after { transform: translateX(3px); }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4);
}
.stat {
  text-align: center; padding: var(--space-6) var(--space-4);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
}
.stat .num {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
  color: var(--brand-400); letter-spacing: -.02em;
}
.stat .label { font-size: var(--fs-sm); color: rgba(255,255,255,.7); margin-top: .35rem; }

/* Process steps */
.steps { display: grid; gap: var(--space-4); }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-4);
  padding: var(--space-5); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink-900); color: var(--brand-400);
  display: grid; place-items: center; font-weight: 800; font-size: var(--fs-sm);
}
.step h3 { font-size: var(--fs-md); margin-bottom: .25rem; }
.step p { font-size: var(--fs-sm); color: var(--ink-500); }

/* Gallery */
.gallery {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3);
}
.gallery figure {
  margin: 0; border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--line); background: var(--ink-100);
}
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery figcaption {
  padding: .55rem .75rem; font-size: var(--fs-xs); color: var(--ink-500);
  background: var(--surface);
}

/* Page hero (inner) */
.page-hero {
  background: linear-gradient(135deg, var(--ink-900) 0%, var(--ink-800) 55%, #2a2418 100%);
  color: #fff; padding: var(--space-16) 0 var(--space-12);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -10%; top: -20%; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(240,192,48,.18), transparent 70%);
  pointer-events: none;
}
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  font-size: var(--fs-xs); color: rgba(255,255,255,.55); margin-bottom: var(--space-4);
}
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--brand-300); }
.page-hero h1 {
  color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: var(--space-3);
}
.page-hero p { max-width: 640px; color: rgba(255,255,255,.8); font-size: var(--fs-md); }

/* Two-col */
.split {
  display: grid; gap: var(--space-8); align-items: center;
}
.split-media {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--ink-100);
}
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-copy h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-bottom: var(--space-4); }
.split-copy p { color: var(--ink-500); margin-bottom: var(--space-4); }
.split-copy ul { margin: var(--space-4) 0; }
.split-copy li {
  position: relative; padding-left: 1.25rem; margin-bottom: .55rem;
  color: var(--ink-700); font-size: var(--fs-sm);
}
.split-copy li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand-500);
}

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.spec-table th, .spec-table td {
  text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line);
}
.spec-table th { width: 38%; color: var(--ink-500); font-weight: 600; background: var(--surface-alt); }
.spec-table td { color: var(--ink-800); }

/* FAQ */
.faq-list { max-width: 780px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--surface); margin-bottom: .65rem; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 1rem 1.15rem; font-weight: 700; color: var(--ink-900);
  list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.25rem; color: var(--brand-600); font-weight: 400;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .answer {
  padding: 0 1.15rem 1.15rem; color: var(--ink-500); font-size: var(--fs-sm);
  border-top: 1px solid var(--ink-100); padding-top: .85rem; margin: 0 1.15rem 1.15rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--ink-900), #2c2414 60%, var(--ink-800));
  color: #fff; padding: var(--space-12) 0; text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: var(--space-3); }
.cta-band p { color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto var(--space-6); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* Contact */
.contact-grid {
  display: grid; gap: var(--space-6);
}
.contact-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--space-6);
}
.contact-card h3 { font-size: var(--fs-lg); margin-bottom: var(--space-3); }
.contact-card p, .contact-card li { color: var(--ink-500); font-size: var(--fs-sm); margin-bottom: .5rem; }
.pending-note {
  background: var(--brand-50); border: 1px solid var(--brand-200);
  border-radius: var(--radius-md); padding: var(--space-4);
  font-size: var(--fs-sm); color: var(--ink-700); margin-top: var(--space-4);
}
.pending-note strong { color: var(--brand-800); }

/* Footer */
.site-footer {
  background: var(--ink-950); color: rgba(255,255,255,.72); padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
  display: grid; gap: var(--space-8); margin-bottom: var(--space-10);
}
.footer-brand img { height: 40px; width: auto; margin-bottom: var(--space-4); filter: brightness(1.05); }
.footer-brand p { font-size: var(--fs-sm); max-width: 320px; line-height: var(--lh-relaxed); }
.footer-col h4 {
  color: #fff; font-size: var(--fs-sm); letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: var(--space-4); font-weight: 700;
}
.footer-col a {
  display: block; font-size: var(--fs-sm); padding: .28rem 0;
  color: rgba(255,255,255,.65); transition: color var(--dur);
}
.footer-col a:hover { color: var(--brand-300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: var(--space-6);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: var(--fs-xs); color: rgba(255,255,255,.45);
}

/* Float CTA */
.float-cta {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
  display: flex; flex-direction: column; gap: .5rem;
}
.float-cta a {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--brand-500); color: var(--ink-950);
  padding: .7rem 1rem; border-radius: var(--radius-full);
  font-size: var(--fs-sm); font-weight: 700;
  box-shadow: var(--shadow-lg);
}
.float-cta a:hover { background: var(--brand-400); }

/* Product detail */
.pd-hero {
  display: grid; gap: var(--space-8); align-items: start;
}
.pd-gallery {
  display: grid; gap: var(--space-3);
}
.pd-main {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  background: var(--ink-100);
}
.pd-main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.pd-thumbs img {
  aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm);
  border: 1px solid var(--line); cursor: pointer;
}
.pd-info h1 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: var(--space-3); }
.pd-info .cat { font-size: var(--fs-xs); font-weight: 700; color: var(--brand-700); text-transform: uppercase; letter-spacing: .05em; margin-bottom: var(--space-2); }
.pd-info .lead { color: var(--ink-500); margin-bottom: var(--space-6); }
.feature-list { display: grid; gap: .75rem; margin: var(--space-6) 0; }
.feature-list li {
  display: grid; grid-template-columns: auto 1fr; gap: .75rem;
  padding: .85rem 1rem; background: var(--surface-alt); border-radius: var(--radius-md);
  font-size: var(--fs-sm);
}
.feature-list .ic {
  width: 22px; height: 22px; border-radius: 50%; background: var(--brand-500);
  color: var(--ink-950); display: grid; place-items: center; font-size: 12px; font-weight: 800;
}

.prose { max-width: 720px; }
.prose h2 { font-size: var(--fs-2xl); margin: var(--space-8) 0 var(--space-4); }
.prose h3 { font-size: var(--fs-xl); margin: var(--space-6) 0 var(--space-3); }
.prose p { color: var(--ink-600); margin-bottom: var(--space-4); }
.prose ul { margin: 0 0 var(--space-4) 1.2rem; list-style: disc; }
.prose li { color: var(--ink-600); margin-bottom: .4rem; }

.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; margin: var(--space-4) 0; }
.chip {
  font-size: var(--fs-xs); font-weight: 600; padding: .3rem .65rem;
  border-radius: var(--radius-full); background: var(--ink-50); color: var(--ink-600);
  border: 1px solid var(--line);
}

/* 404 */
.notfound { text-align: center; padding: var(--space-24) 0; }
.notfound h1 { font-size: var(--fs-5xl); color: var(--brand-500); margin-bottom: var(--space-3); }

/* Misc */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.divider { height: 1px; background: var(--line); margin: var(--space-8) 0; }
.muted { color: var(--ink-500); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ========== Media queries (≥8) ========== */
@media (min-width: 480px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 640px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1.2fr .8fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 768px) {
  .menu-toggle { display: none; }
  .nav-desktop { display: flex; }
  .header-cta .btn { display: inline-flex; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pd-hero { grid-template-columns: 1.05fr .95fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .mega-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  :root { --header-h: 76px; --logo-h: 48px; }
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .hero-content { max-width: 760px; }
  .section { padding: var(--space-20) 0; }
}
@media (min-width: 1200px) {
  .container { width: min(100% - 2.5rem, var(--container)); }
  .mega { width: 960px; }
}
@media (min-width: 1440px) {
  :root { --fs-5xl: 3.25rem; }
  .hero { min-height: 700px; }
  .hero-content { min-height: 700px; }
}
@media (max-width: 767px) {
  .header-cta .btn span.hide-sm { display: none; }
  .mega { display: none !important; }
  .float-cta { right: .75rem; bottom: .75rem; }
  .float-cta a { padding: .65rem .85rem; font-size: var(--fs-xs); }
  .hero-actions .btn { width: 100%; }
  .page-hero { padding: var(--space-12) 0 var(--space-8); }
}
@media (max-width: 479px) {
  .container { width: min(100% - 1.25rem, var(--container)); }
  .product-card .body { padding: var(--space-4); }
  .stat { padding: var(--space-4) var(--space-2); }
}
@media (hover: hover) and (pointer: fine) {
  .nav-item:hover .mega { /* reinforce desktop hover */ }
}
