/* ==========================================================================
   Softpaw Toys — custom plush toy manufacturing
   Design system + components
   ========================================================================== */

:root {
  /* palette */
  --ink: #101c2c;
  --navy: #16304f;
  --navy-700: #1d3d63;
  --ink-soft: #4d5c6e;
  --ink-mute: #7b8797;
  --accent: #c4703c;
  --accent-dark: #a75a2b;
  --accent-soft: #f6e6d8;
  --cream: #fbf7f1;
  --cream-2: #f4ece1;
  --line: #e7ded1;
  --line-strong: #d6cab8;
  --white: #ffffff;
  --green: #2f7d5d;

  /* type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --fs-eyebrow: 0.6875rem;
  --fs-body: 1rem;
  --fs-lead: 1.125rem;
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.75rem);
  --fs-h1: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);

  /* layout */
  --wrap: 1200px;
  --gap: 24px;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(16, 28, 44, 0.06);
  --shadow: 0 12px 32px -12px rgba(16, 28, 44, 0.22);
  --shadow-lg: 0 30px 70px -30px rgba(16, 28, 44, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid rgba(196, 112, 60, 0.55);
  outline-offset: 3px;
  border-radius: 2px;
}

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

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

.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--tight { padding: clamp(44px, 5vw, 72px) 0; }
.section--cream { background: var(--cream); }
.section--ink { background: var(--navy); color: rgba(255, 255, 255, 0.78); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .lead { color: rgba(255, 255, 255, 0.72); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: currentColor;
}
.section--ink .eyebrow { color: #e9b58b; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head .lead { margin-top: 16px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--ink-soft);
}

.text-accent { color: var(--accent); }
.small { font-size: 0.875rem; }
.mute { color: var(--ink-mute); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(196, 112, 60, 0.9);
}
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-700); transform: translateY(-1px); }
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--ink); background: var(--white); }
.btn--light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}
.btn--light:hover { background: rgba(255, 255, 255, 0.18); }
.btn--block { width: 100%; }
.btn--lg { min-height: 54px; padding: 0 30px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
}
.link-arrow svg { width: 15px; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--accent); }

/* ---------- top bar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8125rem;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
}
.topbar-list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item svg { width: 13px; height: 13px; opacity: 0.75; }
.topbar-item a:hover { color: #fff; }
.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
}
.topbar-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #6fce9b;
  box-shadow: 0 0 0 3px rgba(111, 206, 155, 0.18);
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}
.header.is-stuck { box-shadow: 0 10px 30px -22px rgba(16, 28, 44, 0.6); }
.header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--navy);
  display: grid;
  place-items: center;
  color: #f3d7bf;
}
.logo-mark svg { width: 23px; height: 23px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.logo-tag {
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-weight: 550;
  color: var(--ink);
  border-radius: 4px;
}
.nav-link:hover { color: var(--accent); }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--accent);
}
.nav-link--shop {
  background: var(--navy);
  color: #fff;
}
.nav-link--shop:hover { background: var(--accent-dark); color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* mobile drawer */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 12px 0 20px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 24px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a.mobile-nav-shop {
  color: var(--accent-dark);
  background: var(--cream);
  font-weight: 700;
}
.mobile-nav .btn { margin: 16px 24px 0; }
.mobile-nav .btn--block { width: calc(100% - 48px); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -8%, #f8e9da 0%, rgba(248, 233, 218, 0) 62%),
    linear-gradient(180deg, var(--cream) 0%, #fff 96%);
  border-bottom: 1px solid var(--line);
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  min-width: 0;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(48px, 6vw, 84px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 6px;
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.hero-badge b {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: var(--fs-h1);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  max-width: 54ch;
  margin-top: 22px;
  font-size: var(--fs-lead);
  line-height: 1.72;
  color: var(--ink-soft);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}
.hero-points svg { width: 15px; height: 15px; color: var(--green); }

.hero-visual { position: relative; }
.hero-art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f3e7d9;
  box-shadow: var(--shadow-lg);
}
.hero-art img { width: 100%; height: auto; }

.hero-card {
  position: absolute;
  left: -18px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.hero-card-icon svg { width: 20px; height: 20px; }
.hero-card b { display: block; color: var(--ink); font-size: 0.9375rem; }
.hero-card span { font-size: 0.75rem; color: var(--ink-mute); }

/* ---------- stats ---------- */
.stats {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 30px 24px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b {
  display: block;
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.stat b span { color: var(--accent); }
.stat small {
  display: block;
  margin-top: 10px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-mute);
}

/* ---------- category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.cat-media {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--cream-2);
  overflow: hidden;
}
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.cat-card:hover .cat-media img { transform: scale(1.04); }
.cat-num {
  position: absolute;
  top: 14px; left: 14px;
  padding: 3px 9px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 3px;
}
.cat-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.cat-body h3 { font-size: 1.125rem; }
.cat-body p { margin: 10px 0 16px; font-size: 0.9375rem; line-height: 1.65; }
.cat-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
}
.cat-specs li {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 3px 8px;
}
.cat-body .link-arrow { margin-top: auto; }

/* ---------- commercial terms tabs ---------- */
.terms { background: var(--navy); color: rgba(255, 255, 255, 0.76); }
.terms .section-head h2 { color: #fff; }
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 32px;
}
.tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 12px 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tab:hover { color: #fff; }
.tab[aria-selected="true"] {
  color: #fff;
  border-bottom-color: #e9b58b;
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade 0.35s var(--ease); }

.terms-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.terms-list { display: grid; gap: 2px; }
.terms-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.terms-row dt {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e9b58b;
}
.terms-row dd { margin: 0; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.82); }
.terms-row dd b { color: #fff; }

.terms-aside {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}
.terms-aside h3 { font-size: 1.125rem; margin-bottom: 10px; }
.terms-aside p { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.72); }
.terms-aside .btn { margin-top: 18px; }

/* ---------- process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 0 20px 0 0;
}
.step::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 38px;
  right: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
.step:last-child::before { display: none; }
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line-strong);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-dark);
}
.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: 0.875rem; line-height: 1.6; margin: 0; }
.step small {
  display: block;
  margin-top: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
}

/* ---------- split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: var(--shadow);
}
.split-media img { width: 100%; height: auto; }
.split h2 { font-size: var(--fs-h2); }
.split .lead { margin-top: 16px; }

.check-list { display: grid; gap: 14px; margin: 28px 0 0; }
.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.check-list svg {
  width: 20px; height: 20px;
  color: var(--green);
  margin-top: 2px;
}
.check-list b { color: var(--ink); }

/* ---------- feature cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.feature {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.feature:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--accent-dark);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1rem; margin-bottom: 8px; }
.feature p { margin: 0; font-size: 0.875rem; line-height: 1.6; }

/* ---------- cert strip ---------- */
.certs {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.certs .wrap {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-block: 26px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.certs-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  max-width: 150px;
  line-height: 1.5;
}
.cert-list { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; }
.cert {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--cream);
}

/* ---------- testimonials ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.quote {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.quote-stars { display: flex; gap: 3px; color: #d99b4a; margin-bottom: 16px; }
.quote-stars svg { width: 14px; height: 14px; }
.quote p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-soft);
  flex: 1;
}
.quote footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.8125rem;
}
.quote footer b { display: block; color: var(--ink); font-size: 0.875rem; }
.quote footer span { font-size: 0.75rem; color: var(--ink-mute); }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 650;
  color: var(--ink);
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: transform 0.25s var(--ease), background 0.2s;
}
.faq-icon svg { width: 11px; height: 11px; }
.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.faq-a {
  display: none;
  padding: 0 40px 20px 0;
  font-size: 0.9375rem;
  line-height: 1.7;
}
.faq-a.is-open { display: block; animation: fade 0.25s var(--ease); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: clamp(44px, 5vw, 64px) 0;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% auto;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 112, 60, 0.42) 0%, transparent 70%);
}
.cta-band .wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem);
  max-width: 22ch;
}
.cta-band p { margin: 10px 0 0; color: rgba(255, 255, 255, 0.74); }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- forms ---------- */
.form-card {
  padding: clamp(24px, 3vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}
.field label .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field textarea { min-height: 118px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%234d5c6e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 112, 60, 0.14);
}
.field input::placeholder,
.field textarea::placeholder { color: #a8b1bc; }
.field-error {
  font-size: 0.75rem;
  color: #b23a2f;
  min-height: 0;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #cf5a4d; }

.file-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--cream);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.file-drop:hover { border-color: var(--accent); background: #fff; }
.file-drop svg { width: 22px; height: 22px; color: var(--accent-dark); flex-shrink: 0; }
.file-drop-text { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.45; }
.file-drop-text b { display: block; color: var(--ink); font-size: 0.875rem; }
.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.form-note { font-size: 0.75rem; color: var(--ink-mute); max-width: 34ch; }
.form-status {
  display: none;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  line-height: 1.55;
}
.form-status.is-visible { display: flex; }
.form-status--ok { background: #eaf5ef; border: 1px solid #bcdccb; color: #21604a; }
.form-status--err { background: #fbeeec; border: 1px solid #f0cbc5; color: #96382d; }
.form-status svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.spinner {
  width: 15px; height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn[data-loading="true"] { pointer-events: none; opacity: 0.85; }

/* contact page layout */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.contact-info { display: grid; gap: 2px; }
.info-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.info-row:first-child { padding-top: 0; }
.info-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--accent-dark);
}
.info-icon svg { width: 20px; height: 20px; }
.info-row b { display: block; color: var(--ink); font-size: 0.9375rem; margin-bottom: 3px; }
.info-row p, .info-row a { margin: 0; font-size: 0.9375rem; line-height: 1.6; }
.info-row a:hover { color: var(--accent); }

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  padding-top: clamp(48px, 6vw, 72px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer .logo-name { color: #fff; }
.footer .logo-tag { color: rgba(255, 255, 255, 0.42); }
.footer .logo-mark { background: rgba(255, 255, 255, 0.08); }
.footer-about { margin-top: 18px; max-width: 34ch; line-height: 1.7; }
.footer h4 {
  color: #fff;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-links { display: grid; gap: 11px; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact div { display: grid; grid-template-columns: 16px 1fr; gap: 10px; }
.footer-contact svg { width: 15px; height: 15px; margin-top: 3px; opacity: 0.6; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a:hover { color: #fff; }

/* ---------- quote modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  padding: 24px;
  overflow-y: auto;
}
.modal.is-open { display: grid; place-items: center; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 28, 44, 0.55);
  backdrop-filter: blur(3px);
  animation: fade 0.2s var(--ease);
}
.modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: rise 0.28s var(--ease);
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px 0;
}
.modal-head h3 { font-size: 1.375rem; }
.modal-head p { margin: 6px 0 0; font-size: 0.875rem; }
.modal-close {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink-soft);
}
.modal-close:hover { background: var(--cream); color: var(--ink); }
.modal-close svg { width: 15px; height: 15px; }
.modal-body { padding: 22px 28px 28px; }

/* floating quote button */
.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 650;
  box-shadow: 0 14px 30px -12px rgba(167, 90, 43, 0.8);
  transition: transform 0.25s var(--ease), background 0.2s var(--ease),
    opacity 0.25s var(--ease);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  visibility: hidden;
}
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.fab:hover { background: var(--accent-dark); transform: translateY(-2px); }
.fab svg { width: 17px; height: 17px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  padding: clamp(44px, 5vw, 72px) 0 clamp(40px, 4vw, 56px);
}
.page-hero h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); max-width: 20ch; }
.page-hero .lead { margin-top: 16px; max-width: 60ch; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.8125rem;
  color: var(--ink-mute);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 11px; height: 11px; }

/* ---------- product detail rows ---------- */
.prod-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(32px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}
.prod-row:last-child { border-bottom: 0; }
.prod-row:nth-child(even) .prod-media { order: 2; }
.prod-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-2);
  border: 1px solid var(--line);
}
.prod-media img { width: 100%; height: auto; }
.prod-row h2 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); margin-bottom: 14px; }
.prod-row > div > p:not(.prod-kicker) { margin-bottom: 18px; }
.prod-row .prod-kicker {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.spec-table {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1px;
  margin: 22px 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-table dt,
.spec-table dd {
  margin: 0;
  padding: 11px 14px;
  background: #fff;
  font-size: 0.875rem;
}
.spec-table dt { color: var(--ink-mute); white-space: nowrap; }
.spec-table dd { color: var(--ink); font-weight: 550; }

/* ---------- misc ---------- */
/* Only hide for animation when JS is confirmed available,
   so content stays visible for crawlers and no-JS visitors. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(0.99); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .step::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .nav, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .header .wrap { justify-content: space-between; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-card { left: auto; right: 12px; bottom: -14px; }
  .hero-badge { margin-bottom: 18px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px 18px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .terms-grid, .split, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .terms-row { grid-template-columns: 1fr; gap: 4px; }
  .prod-row { grid-template-columns: 1fr; }
  .prod-row:nth-child(even) .prod-media { order: 0; }
  .topbar .wrap { justify-content: center; }
  .topbar-list { justify-content: center; }
  .topbar-right { display: none; }
}

@media (max-width: 640px) {
  .cat-grid, .feature-grid, .process-grid, .form-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .wrap { padding-inline: 18px; }
  .topbar .wrap { min-height: 36px; }
  .topbar-list { gap: 6px 14px; font-size: 0.6875rem; }
  .topbar-list li:nth-child(3) { display: none; }
  .hero h1 { font-size: clamp(1.875rem, 7.4vw, 2.5rem); }
  .hero-sub { font-size: 1rem; }
  .page-hero h1 { font-size: clamp(1.75rem, 6.4vw, 2.25rem); }
  .hero-points { gap: 10px 18px; }
  .hero-card { position: static; margin-top: 14px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .certs .wrap { gap: 18px; }
  .form-card { padding: 20px; }
  .modal { padding: 10px; }
  .modal-head, .modal-body { padding-left: 20px; padding-right: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .fab { bottom: 16px; right: 16px; height: 46px; padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .topbar, .fab, .cta-band, .footer { display: none; }
}
