/* ============================================================
   Ramp Manufacturing Co. — Design System (Light Industrial)
   Grounded in metal-industry leaders: OnlineMetals, MetalsDepot,
   SendCutSend, Ryerson — white/steel, one strong accent, dense,
   utilitarian, real photography. No gradients, no glows.
   ============================================================ */

:root {
  --bg:          #ffffff;
  --bg-2:        #f3f5f7;   /* light steel section band */
  --bg-3:        #eaeef1;
  --surface:     #ffffff;
  --surface-2:   #f7f9fb;
  --border:      #e0e5e9;
  --border-2:    #ccd3da;
  --text:        #14181d;   /* near-black ink */
  --muted:       #525b65;
  --muted-2:     #7b8691;
  --brand:       #f5b01a;   /* Studz electric amber */
  --brand-600:   #e0a00f;
  --brand-700:   #b87f08;
  --brand-soft:  #fdf3dc;
  --on-brand:    #131c2b;   /* dark ink used on amber fills for AA contrast */
  --steel:       #182236;   /* deep slate for dark sections */
  --steel-2:     #131c2b;
  --steel-line:  #2a374d;
  --ok:          #1a8f4c;

  --radius:      6px;
  --radius-sm:   4px;
  --radius-lg:   10px;
  --maxw:        1240px;
  --shadow:      0 1px 2px rgba(16,24,32,.06), 0 8px 24px -16px rgba(16,24,32,.25);
  --shadow-sm:   0 1px 2px rgba(16,24,32,.06);

  --ff-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-head: "Archivo", var(--ff-body);
  --ff-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; color: var(--muted); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
section { position: relative; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 68px) 0; }
.section--band { background: var(--bg-2); border-block: 1px solid var(--border); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brand);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--brand); display: inline-block; }

.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------------- Buttons ---------------- */
.btn {
  --pad-y: 13px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--pad-y) 22px;
  font-family: var(--ff-head); font-weight: 700; font-size: .95rem;
  letter-spacing: .01em; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-600); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--dark { background: var(--steel); color: #fff; }
.btn--dark:hover { background: var(--steel-2); }
.btn--light { background: #fff; color: var(--text); border-color: var(--border-2); }
.btn--light:hover { border-color: var(--brand); color: var(--brand); }
.btn--lg { --pad-y: 16px; padding-inline: 28px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------------- Utility topbar ---------------- */
.topbar { background: var(--steel-2); color: #cdd5dd; font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 38px; }
.topbar a { color: #cdd5dd; }
.topbar a:hover { color: #fff; }
.topbar .tb-left, .topbar .tb-right { display: flex; align-items: center; gap: 20px; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar .tb-item svg { width: 14px; height: 14px; color: var(--brand); }
.topbar .tb-phone { font-family: var(--ff-mono); font-weight: 600; color: #fff; letter-spacing: .02em; }
@media (max-width: 820px) { .topbar .tb-left .tb-item:not(:first-child), .topbar .tb-right { display: none; } }

/* ---------------- Header ---------------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--ff-head); font-weight: 800; letter-spacing: -.01em; font-size: 1.12rem; color: var(--text); }
.brand .brand-mark { width: 38px; height: 38px; flex: 0 0 auto; }
.brand small { display: block; font-family: var(--ff-body); font-weight: 700; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); margin-top: 1px; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-block; padding: 9px 14px; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; color: var(--muted); transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--text); background: var(--bg-2); }
.nav-links a.active { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border-2); border-radius: var(--radius-sm); color: var(--text); }
.cart-link:hover { border-color: var(--brand); color: var(--brand); }
.cart-link svg { width: 21px; height: 21px; }
.cart-count { position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: #fff; font-family: var(--ff-head); font-weight: 800; font-size: .68rem; display: grid; place-items: center; }
.cart-count:empty, .cart-count[data-count="0"] { display: none; }

.nav-toggle { display: none; background: #fff; border: 1px solid var(--border-2); color: var(--text); width: 44px; height: 44px; border-radius: var(--radius-sm); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------------- Hero (full-bleed photo) ---------------- */
.hero { position: relative; background: var(--steel-2); overflow: hidden; border-bottom: 1px solid var(--steel-line); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center right; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,22,27,.95) 0%, rgba(18,22,27,.82) 36%, rgba(18,22,27,.48) 64%, rgba(18,22,27,.18) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 640px; padding: clamp(60px, 9vw, 118px) 0; }
.hero .eyebrow { color: var(--brand); }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--brand); }
.hero .lead { color: #d3d9df; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .pill { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); color: #d3d9df; }
.hero .pill svg { color: var(--brand); }
@media (max-width: 720px) { .hero-scrim { background: linear-gradient(90deg, rgba(18,22,27,.94) 0%, rgba(18,22,27,.82) 100%); } }

.hero-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.hero-card > h3 { color: #fff; background: var(--steel); font-family: var(--ff-head); margin: 0; padding: 16px 22px; font-size: 1.05rem; letter-spacing: .01em; }
.hero-card .hc-body { padding: 8px 22px 18px; }
.spec-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }
.spec-row:last-child { border-bottom: 0; }
.spec-row .k { color: var(--muted); font-size: .92rem; }
.spec-row .v { color: var(--text); font-weight: 600; font-family: var(--ff-mono); font-size: .9rem; }
.badge-inline { display:inline-flex; align-items:center; gap:6px; font-size:.78rem; font-weight:700; color:var(--brand); background:var(--brand-soft); padding:5px 10px; border-radius:var(--radius-sm); }

/* ---------------- Trust bar ---------------- */
.trust { border-bottom: 1px solid var(--border); background: var(--bg-2); }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; padding: 20px 0; }
.trust-label { color: var(--muted-2); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.trust-logos { display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; justify-content: center; }
.trust-logos span { font-family: var(--ff-head); font-weight: 800; font-size: .95rem; color: var(--muted); letter-spacing: .02em; }

/* ---------------- Section heads ---------------- */
.section-head { max-width: 740px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { color: var(--text); }

/* ---------------- Grid + cards ---------------- */
.grid { display: grid; gap: 18px; }
.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: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.card h3 { color: var(--text); margin-bottom: 8px; }
.card p { margin: 0; font-size: .95rem; }
.card--accent { border-top: 3px solid var(--brand); }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }
.card-icon svg { width: 25px; height: 25px; }

/* ---------------- Feature split ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split .panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.checklist { list-style: none; margin: 20px 0 0; padding: 0; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.checklist li:last-child { border-bottom: 0; }
.checklist .ci { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; margin-top: 1px; }
.checklist .ci svg { width: 14px; height: 14px; }
.checklist strong { color: var(--text); font-family: var(--ff-head); }
.checklist p { margin: 2px 0 0; font-size: .92rem; }

.stat-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--surface); padding: 26px 24px; }
.stat .num { font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--text); line-height: 1; }
.stat .num span { color: var(--brand); }
.stat .lbl { color: var(--muted); font-size: .9rem; margin-top: 7px; }

/* ---------------- Stats band (dark steel) ---------------- */
.stats-band { background: var(--steel); border-block: 1px solid var(--steel-line); color: #fff; }
.stats-band .section-head h2, .stats-band h2, .stats-band h3 { color: #fff; }
.stats-band .lead, .stats-band p { color: #aeb8c2; }
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; text-align: center; }
.stats-row .num { font-family: var(--ff-head); font-weight: 800; font-size: clamp(2rem,4.5vw,3rem); color: #fff; }
.stats-row .num span { color: var(--brand); }
.stats-row .lbl { color: #aeb8c2; font-size: .92rem; }
.stats-band .split .panel { background: var(--steel-2); border-color: var(--steel-line); }
.stats-band .checklist li { border-color: var(--steel-line); }
.stats-band .checklist strong { color: #fff; }
.stats-band .checklist p { color: #aeb8c2; }
.stats-band .stat-panel { background: var(--steel-line); border-color: var(--steel-line); }
.stats-band .stat { background: var(--steel-2); }
.stats-band .stat .num { color: #fff; }
.stats-band .stat .lbl { color: #aeb8c2; }
.stats-band .pill { background: var(--steel-2); border-color: var(--steel-line); color: #cdd5dd; }

/* ---------------- Steps ---------------- */
.steps { counter-reset: step; display: grid; gap: 16px; grid-template-columns: repeat(4,1fr); }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: relative; border-top: 3px solid var(--brand); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--ff-head); font-weight: 800; font-size: 1.5rem; color: var(--brand); display: block; margin-bottom: 10px; }
.step h3 { font-size: 1.06rem; color: var(--text); }
.step p { font-size: .92rem; margin: 0; }

/* ---------------- CTA band ---------------- */
.cta { background: var(--steel); border-radius: var(--radius); padding: clamp(36px, 5vw, 60px); border-left: 4px solid var(--brand); }
.cta .container-inner { max-width: 660px; }
.cta .eyebrow { color: var(--brand); }
.cta h2 { color: #fff; }
.cta .lead { color: #aeb8c2; }
.cta .hero-actions { margin-top: 22px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--steel-2); color: #aeb8c2; border-top: 3px solid var(--brand); padding: 56px 0 26px; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #7c8792; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 38px; }
.footer-brand p { max-width: 34ch; font-size: .92rem; margin-top: 14px; color: #98a3ae; }
.footer-col h4 { font-family: var(--ff-head); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: #7c8792; margin-bottom: 14px; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #aeb8c2; font-size: .93rem; transition: color .15s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--steel-line); color: #7c8792; font-size: .85rem; }
.footer-bottom a { color: #98a3ae; }

/* ---------------- Page hero (subpages) ---------------- */
.page-hero { padding: clamp(48px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); background: var(--bg-2); border-bottom: 1px solid var(--border); }
.page-hero h1 { color: var(--text); }
.breadcrumb { display:flex; gap:8px; align-items:center; color:var(--muted-2); font-size:.88rem; margin-bottom:16px; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: var(--border-2); }

/* ---------------- Product catalog ---------------- */
.cat-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.cat-side { position: sticky; top: 96px; }
.cat-side h4 { font-family: var(--ff-head); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 12px; }
.cat-side ul { list-style: none; margin: 0 0 26px; padding: 0; }
.cat-side li a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: var(--radius-sm); color: var(--muted); font-size: .93rem; font-weight: 500; }
.cat-side li a:hover { background: var(--bg-2); color: var(--text); }
.cat-side li a .n { color: var(--muted-2); font-family: var(--ff-mono); font-size: .82rem; }
.cat-help { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.cat-help h5 { font-family: var(--ff-head); color: var(--text); margin: 0 0 6px; font-size: 1rem; }
.cat-help p { font-size: .86rem; margin: 0 0 12px; }

.cat-group { margin-bottom: 44px; scroll-margin-top: 96px; }
.cat-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--text); }
.cat-group-head h2 { color: var(--text); font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 0; }
.cat-group-head .count { color: var(--muted-2); font-size: .84rem; font-family: var(--ff-mono); }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prod-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.prod-card:hover { border-color: var(--border-2); box-shadow: var(--shadow); }
.prod-img { aspect-ratio: 4 / 3; background: #fff; overflow: hidden; border-bottom: 1px solid var(--border); padding: 14px; }
.prod-img img { width: 100%; height: 100%; object-fit: contain; }   /* contain = never crop */
.prod-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.prod-tag { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.prod-name { font-family: var(--ff-head); font-weight: 700; color: var(--text); font-size: 1rem; line-height: 1.25; margin: 0 0 4px; }
.prod-spec { color: var(--muted); font-size: .85rem; font-family: var(--ff-mono); margin: 0 0 14px; }
.prod-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prod-price { font-family: var(--ff-head); font-weight: 800; color: var(--text); font-size: 1.2rem; }
.prod-price::before { content: "$"; color: var(--muted-2); font-size: .72em; vertical-align: super; margin-right: 1px; }
.prod-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: var(--radius-sm); font-family: var(--ff-head); font-weight: 700; font-size: .82rem; background: var(--brand); color: #fff; border: 0; cursor: pointer; transition: background .15s; }
.prod-btn:hover { background: var(--brand-600); }
.prod-btn svg { width: 14px; height: 14px; }

/* ---------------- Cart drawer ---------------- */
.cart-overlay { position: fixed; inset: 0; background: rgba(16,24,32,.5); opacity: 0; visibility: hidden; transition: opacity .2s; z-index: 90; }
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: #fff; z-index: 100; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; box-shadow: -12px 0 40px -20px rgba(0,0,0,.4); }
.cart-drawer.open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.cart-head h3 { margin: 0; font-size: 1.15rem; }
.cart-close { background: none; border: 0; cursor: pointer; color: var(--muted); width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--radius-sm); }
.cart-close:hover { background: var(--bg-2); color: var(--text); }
.cart-close svg { width: 22px; height: 22px; }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 22px; }
.cart-empty { text-align: center; color: var(--muted-2); padding: 60px 20px; font-size: .95rem; }
.cart-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-item img { width: 60px; height: 60px; object-fit: contain; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.cart-item .ci-name { font-family: var(--ff-head); font-weight: 700; font-size: .9rem; color: var(--text); line-height: 1.2; }
.cart-item .ci-spec { font-family: var(--ff-mono); font-size: .76rem; color: var(--muted-2); margin-top: 2px; }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--border-2); border-radius: var(--radius-sm); margin-top: 8px; }
.cart-qty button { width: 26px; height: 26px; border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 1rem; }
.cart-qty button:hover { color: var(--brand); }
.cart-qty span { min-width: 26px; text-align: center; font-family: var(--ff-mono); font-size: .85rem; }
.ci-right { text-align: right; }
.ci-price { font-family: var(--ff-head); font-weight: 800; }
.ci-remove { background: none; border: 0; color: var(--muted-2); font-size: .76rem; cursor: pointer; margin-top: 6px; }
.ci-remove:hover { color: var(--brand); text-decoration: underline; }
.cart-foot { border-top: 1px solid var(--border); padding: 18px 22px 22px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cart-total .lbl { color: var(--muted); }
.cart-total .amt { font-family: var(--ff-head); font-weight: 800; font-size: 1.5rem; }
.cart-note { font-size: .8rem; color: var(--muted-2); margin: 12px 0 0; text-align: center; }

/* ---------------- Support / Contact / Forms ---------------- */
.contact-grid { display:grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items:start; }
.contact-cards { display:grid; gap:14px; }
.contact-item { display:flex; gap:15px; align-items:flex-start; background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.contact-item .ci { flex:0 0 auto; width:44px; height:44px; border-radius:var(--radius-sm); background: var(--brand-soft); color: var(--brand); display:grid; place-items:center; }
.contact-item .ci svg { width:21px; height:21px; }
.contact-item h3 { font-size:1.02rem; color:var(--text); margin-bottom:3px; }
.contact-item p, .contact-item a { margin:0; font-size:.94rem; color:var(--muted); }
.contact-item a.link { color: var(--brand); font-weight:600; }
.contact-item a.link:hover { text-decoration: underline; }

.form-card { background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field { margin-bottom:16px; }
.field label { display:block; font-size:.85rem; font-weight:600; color:var(--text); margin-bottom:6px; }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea { width:100%; padding:12px 14px; background: #fff; color: var(--text); border:1px solid var(--border-2); border-radius: var(--radius-sm); font-family: inherit; font-size: .96rem; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field textarea { resize: vertical; min-height: 130px; }
.field input[type=file] { padding: 10px; background: var(--bg-2); cursor: pointer; }
.field select { appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%237b8691' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position: right 13px center; padding-right:38px; }
.form-note { font-size:.83rem; color:var(--muted-2); margin-top:6px; }
.form-success { display:none; align-items:center; gap:12px; background: #eafaf1; border:1px solid #b6e6c9; color: #157a41; border-radius: var(--radius-sm); padding:15px 17px; margin-bottom:20px; font-size:.93rem; }
.form-success.show { display:flex; }
.form-success svg { width:20px; height:20px; flex:0 0 auto; color:var(--ok); }

/* ---------------- FAQ ---------------- */
.faq { max-width: 840px; margin-inline: auto; }
.faq-item { border-bottom:1px solid var(--border); }
.faq-q { width:100%; text-align:left; background:none; border:0; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:20px; padding: 20px 0; color:var(--text); font-family:var(--ff-head); font-weight:700; font-size:1.05rem; }
.faq-q .icon { flex:0 0 auto; width:26px; height:26px; border-radius:var(--radius-sm); background:var(--bg-2); border:1px solid var(--border); display:grid; place-items:center; color:var(--brand); transition: transform .2s; }
.faq-q .icon svg { width:16px; height:16px; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 0 20px; margin:0; }

/* ---------------- Misc ---------------- */
.pill { display:inline-flex; align-items:center; gap:8px; background: #fff; border:1px solid var(--border-2); color: var(--muted); font-size:.84rem; font-weight:600; padding:7px 13px; border-radius:var(--radius-sm); }
.pill svg { width:15px; height:15px; color: var(--brand); }
.pill-row { display:flex; flex-wrap:wrap; gap:9px; }
.divider { height:1px; background:var(--border); border:0; margin:0; }

.reveal { opacity:0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity:1; transform:none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1000px) {
  .cat-layout { grid-template-columns: 1fr; gap: 24px; }
  .cat-side { position: static; display: none; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn--ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.menu-open .nav-links { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom:1px solid var(--border); padding: 12px 22px 20px; gap: 2px; box-shadow: var(--shadow); }
  .site-header.menu-open .nav-links a { padding: 12px 14px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-panel { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity:1 !important; transform:none !important; transition:none !important; }
}

/* ============================================================
   Studz Electric — amber-fill contrast + catalog shop UI
   ============================================================ */

/* Dark ink (not white) on amber fills so buttons/badges hit AA. */
.btn--primary { color: var(--on-brand); font-weight: 800; }
.btn--primary:hover { background: var(--brand-600); color: var(--on-brand); }
.prod-btn { color: var(--on-brand); font-weight: 800; }
.prod-btn:hover { background: var(--brand-600); }
.cart-count { color: var(--on-brand); }

/* Catalog controls */
.shop-head { display:flex; flex-wrap:wrap; gap:16px; align-items:flex-end; justify-content:space-between; margin-bottom:22px; }
.shop-tools { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.shop-search { position:relative; flex:1 1 260px; min-width:220px; }
.shop-search input { width:100%; padding:11px 14px 11px 38px; border:1px solid var(--border-2); border-radius:var(--radius); font:inherit; background:#fff; color:var(--text); }
.shop-search input:focus { outline:none; border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-soft); }
.shop-search svg { position:absolute; left:12px; top:50%; transform:translateY(-50%); width:16px; height:16px; color:var(--muted-2); }
.shop-select { padding:11px 14px; border:1px solid var(--border-2); border-radius:var(--radius); font:inherit; background:#fff; color:var(--text); cursor:pointer; }
.shop-select:focus { outline:none; border-color:var(--brand); }
.shop-count { color:var(--muted); font-size:.9rem; font-family:var(--ff-mono); }

/* Category rail */
.cat-rail { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:24px; }
.cat-chip { border:1px solid var(--border-2); background:#fff; color:var(--muted); font-size:.82rem; font-weight:700; padding:8px 13px; border-radius:999px; cursor:pointer; transition:all .12s; font-family:var(--ff-head); }
.cat-chip:hover { border-color:var(--brand); color:var(--text); }
.cat-chip.active { background:var(--steel-2); color:#fff; border-color:var(--steel-2); }
.cat-chip .n { color:var(--muted-2); font-weight:600; margin-left:5px; }
.cat-chip.active .n { color:var(--brand); }

/* Product image tiles are SVG category art — let them fill (cover), not pad */
.prod-card .prod-img.tile { padding:0; background:var(--steel-2); }
.prod-card .prod-img.tile img { object-fit:contain; width:100%; height:100%; }
.prod-brand { font-family:var(--ff-mono); font-size:.72rem; color:var(--muted-2); margin-top:2px; }

/* Pagination */
.pager { display:flex; gap:6px; justify-content:center; align-items:center; margin-top:34px; flex-wrap:wrap; }
.pager button { min-width:40px; height:40px; padding:0 12px; border:1px solid var(--border-2); background:#fff; color:var(--text); border-radius:var(--radius-sm); cursor:pointer; font:inherit; font-weight:700; }
.pager button:hover:not(:disabled) { border-color:var(--brand); }
.pager button.active { background:var(--brand); color:var(--on-brand); border-color:var(--brand); }
.pager button:disabled { opacity:.4; cursor:default; }
.shop-empty { text-align:center; padding:60px 20px; color:var(--muted); }
