/* ==========================================================================
   Rachna Industries - stylesheet
   Industrial palette: steel greys + molten orange accent. Light & dark themes.
   ========================================================================== */
:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #eef1f4;
  --text: #0f1720;
  --muted: #5a6572;
  --border: #e1e5ea;
  --accent: #f0590a;
  --accent-2: #ff8a3d;
  --accent-ink: #ffffff;
  --accent-soft: rgba(240, 89, 10, .1);
  --steel: #111a23;
  --steel-2: #1a2632;
  --success: #128a4a;
  --danger: #d0342c;
  --art-bg: #e7ebef;
  --art-metal: #6d7c8b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 32, .06), 0 1px 3px rgba(15, 23, 32, .05);
  --shadow: 0 10px 30px -12px rgba(15, 23, 32, .18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 32, .3);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Space Grotesk", var(--font);
  --header-h: 72px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1016; --surface: #111922; --surface-2: #17212b; --text: #e7ecf1; --muted: #95a1ad;
    --border: #222e3b; --accent-soft: rgba(255, 122, 40, .14); --art-bg: #17212b; --art-metal: #8796a6;
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1016; --surface: #111922; --surface-2: #17212b; --text: #e7ecf1; --muted: #95a1ad;
  --border: #222e3b; --accent-soft: rgba(255, 122, 40, .14); --art-bg: #17212b; --art-metal: #8796a6;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p a, .muted a, .lead a, .faq a, .empty-state a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.narrow { max-width: 760px; }
.narrow-sm { max-width: 440px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.nowrap { white-space: nowrap; }
.pre { white-space: pre-wrap; }
.text-accent { color: var(--accent); background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow .icon { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */
.btn { --b-bg: var(--surface); --b-fg: var(--text); --b-bd: var(--border);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg); border: 1.5px solid var(--b-bd); font-weight: 600; font-size: .95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn--primary { --b-bg: var(--accent); --b-fg: var(--accent-ink); --b-bd: var(--accent); box-shadow: 0 8px 20px -8px rgba(240, 89, 10, .6); }
.btn--primary:hover { --b-bg: #ff6716; box-shadow: 0 12px 26px -8px rgba(240, 89, 10, .7); }
.btn--ghost { --b-bg: transparent; }
.btn--ghost:hover { --b-bd: var(--text); }
.btn--light { --b-bg: #fff; --b-fg: #111a23; --b-bd: #fff; }
.btn--ghost-light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { --b-bd: #fff; }
.btn--danger { --b-bg: transparent; --b-fg: var(--danger); --b-bd: color-mix(in srgb, var(--danger) 40%, transparent); }
.btn--sm { padding: 8px 14px; font-size: .875rem; }
.btn--lg { padding: 14px 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); font-size: .9rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--accent); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; transition: border-color .2s, color .2s; text-decoration: none; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn--danger:hover { border-color: var(--danger); color: var(--danger); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.inline { display: inline; }

/* ---------- Pills & badges ---------- */
.pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.pill--glass { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .78); color: #111a23; border-color: transparent; backdrop-filter: blur(8px); }
.pill--warn { background: #fff3e6; color: #a34700; border-color: #ffd7b3; }
.badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #fff; color: var(--accent); font-size: .72rem; font-weight: 700; display: inline-grid; place-items: center; }
.badge.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--steel); color: #c3ccd5; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__links { display: flex; gap: 20px; }
.topbar .icon { width: 14px; height: 14px; }
.topbar .lang-switch { padding: 1px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: #fff; font-weight: 600; }
.topbar .lang-switch:hover { border-color: var(--accent-2); color: var(--accent-2); }
.page-hi { font-family: "Inter", "Noto Sans Devanagari", "Mangal", system-ui, sans-serif; }
.page-hi h1, .page-hi h2, .page-hi h3 { line-height: 1.3; letter-spacing: 0; }

.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 40px; height: 40px; }
.brand__bg { fill: var(--accent); }
.brand__mesh { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linejoin: round; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--font-head); font-size: 1.3rem; letter-spacing: -.02em; }
.brand__text small { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: .94rem; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a.is-active { color: var(--text); background: var(--surface-2); }
.nav__admin { color: var(--accent) !important; }
.nav__staff { display: none !important; } /* desktop: staff login lives in the footer */
.header-actions { display: flex; align-items: center; gap: 8px; }
.quote-btn { position: relative; }
:root[data-theme="dark"] .only-light, :root:not([data-theme="dark"]) .only-dark { display: none; }
.nav-toggle { display: none; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 2px; padding: 12px 16px 20px;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-height: calc(100vh - 110px); overflow-y: auto; }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 12px 14px; font-size: 1rem; }
  .nav__staff { display: flex !important; align-items: center; gap: 8px; margin-top: 6px; padding-top: 14px !important;
    border-top: 1px solid var(--border); border-radius: 0 !important; font-size: .9rem !important; }
  .nav__staff .icon { width: 16px; height: 16px; color: var(--accent); }
}
@media (max-width: 560px) {
  .hide-sm { display: none !important; }
  .topbar .hide-sm { display: inline-flex !important; } /* keep email visible in the top bar on phones */
  .brand__text small { display: none; }
  .topbar { font-size: .74rem; }
  .topbar__inner { flex-direction: column; justify-content: center; gap: 2px; padding-top: 6px; padding-bottom: 6px; }
  .topbar__links { gap: 14px; flex-wrap: wrap; justify-content: center; }
}

/* ---------- Flash & toasts ---------- */
.flash-stack { display: grid; gap: 10px; padding-top: 16px; }
.flash { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid; font-weight: 500; animation: slideDown .35s ease; }
.flash span { flex: 1; }
.flash--success { background: color-mix(in srgb, var(--success) 10%, var(--surface)); border-color: color-mix(in srgb, var(--success) 35%, transparent); color: var(--success); }
.flash--error { background: color-mix(in srgb, var(--danger) 10%, var(--surface)); border-color: color-mix(in srgb, var(--danger) 35%, transparent); color: var(--danger); }
.flash .icon { margin-top: 3px; }
.flash__close { background: none; border: 0; cursor: pointer; color: inherit; opacity: .7; padding: 2px; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } }

.toast-stack { position: fixed; right: 16px; bottom: 88px; z-index: 90; display: grid; gap: 10px; width: min(360px, calc(100vw - 32px)); }
.toast { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--steel); color: #fff; box-shadow: var(--shadow-lg); animation: toastIn .3s ease; font-size: .92rem; }
.toast .icon { color: var(--accent-2); width: 20px; height: 20px; }
.toast a { color: var(--accent-2); font-weight: 600; margin-left: auto; white-space: nowrap; }
.toast.is-leaving { animation: toastOut .25s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 999px;
  background: #1fae5b; color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 14px 30px -10px rgba(31, 174, 91, .7); transition: transform .2s; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float .icon { width: 22px; height: 22px; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 15px; } }
.page-quote .wa-float { display: none; } /* quote page already sends via WhatsApp; avoid covering the form */

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 8vw, 96px); }
.section--muted { background: var(--surface-2); }
.section--dark { background: var(--steel); color: #e7ecf1; --muted: #9aa6b2; --surface: #17222d; --border: #263443; --text: #e7ecf1; position: relative; overflow: hidden; }
.section--dark::before { content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: linear-gradient(45deg, #fff 1px, transparent 1px), linear-gradient(-45deg, #fff 1px, transparent 1px); background-size: 40px 40px; }
.section--dark > .container { position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head h2 { margin: 0; max-width: 22ch; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center h2 { max-width: 26ch; }
.section-head--center .lead { margin: 12px auto 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero::after { content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 65%); pointer-events: none; }
.hero__mesh { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--art-metal); opacity: .22; animation: meshDrift 40s linear infinite; }
@keyframes meshDrift { to { transform: translate3d(-60px, 0, 0); } }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .92rem; font-weight: 500; }
.hero__trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust .icon { color: var(--success); }
.hero__visual { position: relative; aspect-ratio: 1 / .92; }
.hero-card { position: absolute; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: var(--surface); }
.hero-card--main { inset: 6% 12% 10% 0; }
.hero-card--small { width: 40%; aspect-ratio: 4 / 3; }
.hero-card--a { right: 0; top: 0; animation: floatY 7s ease-in-out infinite; }
.hero-card--b { right: 4%; bottom: 0; animation: floatY 8s ease-in-out infinite reverse; }
.hero-card__label { position: absolute; left: 18px; bottom: 18px; padding: 12px 16px; border-radius: 14px; background: rgba(17, 26, 35, .82); color: #fff; backdrop-filter: blur(10px); }
.hero-card__label small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); font-weight: 700; }
.hero-card__label strong { font-family: var(--font-head); font-size: 1.15rem; }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.float-chip .icon { color: var(--accent); }
.float-chip--1 { left: -4%; top: 2%; animation: floatY 6s ease-in-out infinite; }
.float-chip--2 { left: 30%; bottom: 2%; animation: floatY 9s ease-in-out infinite; }
@keyframes floatY { 50% { transform: translateY(-10px); } }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .float-chip--1 { left: 0; }
}
@media (max-width: 480px) { .float-chip { font-size: .72rem; padding: 8px 10px; } .float-chip--2 { left: 8%; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--accent); color: #fff; overflow: hidden; padding: 14px 0; transform: rotate(-1deg); margin: 0 -10px; }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 38s linear infinite; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; align-items: center; white-space: nowrap; }
.marquee__track i { width: 10px; height: 10px; transform: rotate(45deg); border: 2px solid #fff; display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats-section { padding-bottom: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--surface); padding: 28px 24px; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--text); }
.stat span { color: var(--muted); font-size: .92rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.product-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.product-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.product-card__media .art { transition: transform .6s ease; }
.product-card:hover .product-card__media .art { transform: scale(1.06); }
.product-card__stock { left: auto !important; right: 14px; top: 14px; position: absolute; }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.product-card h3 { margin-bottom: 6px; }
.product-card h3 a { text-decoration: none; }
.product-card h3 a:hover { color: var(--accent); }
.product-card p { color: var(--muted); font-size: .93rem; margin-bottom: 14px; }
.size-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; }
.size-tags li { font-size: .75rem; font-weight: 600; padding: 3px 9px; border-radius: 6px; background: var(--surface-2); color: var(--muted); }
.product-card__actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.product-card__actions .btn { flex: 1; }

/* ---------- Product art ---------- */
.art { width: 100%; height: 100%; }
.art-bg { fill: var(--art-bg); }
.art-glow { fill: var(--accent); opacity: .16; }
.art-wire { stroke: var(--art-metal); stroke-width: 2.2; stroke-linecap: round; }
.art-heavy { stroke-width: 5; }
.art-barb { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; fill: none; }
.art-solid { fill: var(--art-metal); }
.art-dot { fill: var(--accent); }
.art-post { fill: var(--art-metal); opacity: .55; }
.art--dark .art-wire { stroke: #2c333b; }
[data-theme="dark"] .art--dark .art-wire { stroke: #5c6773; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .art--dark .art-wire { stroke: #5c6773; } }

/* ---------- Features / steps / industries ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 28px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); transition: background .2s, transform .2s; }
.feature:hover { background: rgba(255, 255, 255, .07); transform: translateY(-3px); }
.feature .icon { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--accent); color: #fff; margin-bottom: 18px; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 14px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__num { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 16px; background: var(--surface); border: 2px solid var(--accent); color: var(--accent); font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; box-shadow: 0 0 0 8px var(--bg); }
.step p { color: var(--muted); font-size: .93rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } .steps::before { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.industry { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); font-weight: 600; transition: border-color .2s, transform .2s; }
.industry:hover { border-color: var(--accent); transform: translateY(-2px); }
.industry .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
@media (max-width: 820px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .industry-grid { grid-template-columns: 1fr; } }

/* ---------- Calc teaser / CTA / FAQ ---------- */
.calc-teaser { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.calc-teaser__art { min-height: 300px; }
.calc-teaser__copy { padding: clamp(28px, 5vw, 56px); align-self: center; }
.calc-teaser__copy p { color: var(--muted); margin-bottom: 24px; }
@media (max-width: 800px) { .calc-teaser { grid-template-columns: 1fr; } .calc-teaser__art { min-height: 200px; } }

.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding: clamp(32px, 5vw, 56px); border-radius: 28px; color: #fff;
  background: radial-gradient(circle at 85% 20%, rgba(255, 138, 61, .55), transparent 45%), linear-gradient(135deg, #c94205, var(--accent)); box-shadow: 0 30px 60px -24px rgba(240, 89, 10, .55); }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin: 0; opacity: .9; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 24px; } }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 20px; transition: border-color .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- Page hero & breadcrumb ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at 90% 0%, var(--accent-soft), transparent 40%), var(--surface); }
.page-hero::after { content: ""; position: absolute; right: -40px; top: 0; bottom: 0; width: 45%; opacity: .25; pointer-events: none;
  background-image: linear-gradient(45deg, var(--art-metal) 1px, transparent 1px), linear-gradient(-45deg, var(--art-metal) 1px, transparent 1px); background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.page-hero .lead { margin: 0; }
.page-hero--compact { padding-bottom: 28px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 14px; }
.search-box { position: relative; flex: 1 1 260px; display: flex; align-items: center; }
.search-box .icon { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.search-box input { width: 100%; padding: 12px 16px 12px 42px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); }
.search-box input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); cursor: pointer; font-weight: 600; font-size: .88rem; color: var(--muted); transition: all .2s; }
.chip:hover { color: var(--text); border-color: var(--text); }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.select-wrap select, .admin-filters select { padding: 11px 36px 11px 16px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); cursor: pointer; }
.filter-count { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.empty-state { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty-state > .icon { width: 48px; height: 48px; margin: 0 auto 14px; padding: 12px; border-radius: 16px; background: var(--surface-2); color: var(--accent); }
.empty-state h3 { color: var(--text); }
.empty-state--small { padding: 32px 12px; }

/* ---------- Forms ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-sm); }
.card__title { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 18px; }
.card__title .icon { color: var(--accent); }
.card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; border: 0; padding: 0; }
.field label, .field legend, fieldset legend { font-size: .86rem; font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.field input, .field select, .field textarea, .add-row select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .add-row select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .field-row, .field-row--3 { grid-template-columns: 1fr; gap: 0; } }
.field__error { color: var(--danger); font-size: .82rem; font-weight: 500; min-height: 0; }
.field__error:empty { display: none; }
.has-error input, .has-error textarea, .has-error select { border-color: var(--danger); }
.checks { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.check { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
code { font-size: .85em; padding: 1px 5px; border-radius: 4px; background: var(--surface-2); }

/* ---------- Product detail ---------- */
.pd { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: start; margin-bottom: 56px; }
.pd__media { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3.3; border: 1px solid var(--border); box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 20px); }
.pd__info h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 12px 0 10px; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; }
.stock i { width: 8px; height: 8px; border-radius: 50%; }
.stock--in { color: var(--success); } .stock--in i { background: var(--success); box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 20%, transparent); }
.stock--req { color: #b45309; } .stock--req i { background: #f59e0b; }
.pd__form { margin: 26px 0; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.size-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.size-picker label { cursor: pointer; }
.size-picker input { position: absolute; opacity: 0; pointer-events: none; }
.size-picker span { display: inline-block; padding: 9px 16px; border-radius: 10px; border: 1.5px solid var(--border); font-weight: 600; font-size: .9rem; transition: all .15s; }
.size-picker input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.size-picker input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.pd__row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.stepper { display: flex; align-items: stretch; border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg); }
.stepper button { width: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.stepper button:hover { color: var(--accent); background: var(--accent-soft); }
.stepper input { border: 0 !important; border-radius: 0 !important; text-align: center; background: transparent !important; box-shadow: none !important; -moz-appearance: textfield; min-width: 0; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pd__actions .btn { flex: 1 1 200px; }
.wa-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; font-size: .9rem; color: #1a9a50; text-decoration: none; }
.wa-link:hover { text-decoration: underline; }
.pd__perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); font-size: .92rem; }
.pd__perks li { display: flex; align-items: center; gap: 10px; }
.pd__perks .icon { color: var(--accent); }
@media (max-width: 860px) { .pd { grid-template-columns: 1fr; } .pd__media { position: relative; top: 0; } }

.tabs { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.tabs__list { display: flex; border-bottom: 1px solid var(--border); overflow-x: auto; }
.tabs__list button { padding: 16px 22px; border: 0; background: none; cursor: pointer; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs__list button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.tabs__panel { padding: clamp(20px, 3vw, 32px); }
.tabs__panel > p { max-width: 70ch; font-size: 1.05rem; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 500; }
.spec-table tr:nth-child(odd) { background: var(--surface-2); }
.use-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.use-grid li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); font-weight: 500; }
.use-grid .icon { color: var(--success); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split__media { border-radius: 24px; overflow: hidden; aspect-ratio: 1 / 1; border: 1px solid var(--border); box-shadow: var(--shadow); }
.split__copy p { color: var(--muted); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split__media { aspect-ratio: 16 / 10; } }
.founders { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.founder { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.founder small { display: block; color: var(--muted); font-size: .8rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 700; font-family: var(--font-head); }
.vm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vm { padding: 32px 28px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); }
.vm .icon { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--accent); color: #fff; margin-bottom: 18px; }
.vm p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .vm-grid { grid-template-columns: 1fr; } }
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.process li { padding: 24px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; }
.process span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-family: var(--font-head); margin-bottom: 14px; }
.process p { color: var(--muted); font-size: .9rem; margin: 0; }
@media (max-width: 960px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .process { grid-template-columns: 1fr; } }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.calc__form .card__title:not(:first-child) { margin-top: 10px; }
.calc__result { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc__result { position: static; } }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); margin-bottom: 18px; flex-wrap: wrap; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 8px 16px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .88rem; color: var(--muted); transition: all .2s; }
.seg input:checked + span { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 3px solid var(--accent); }
.assumptions { margin-top: 4px; border-top: 1px dashed var(--border); padding-top: 14px; }
.assumptions summary { cursor: pointer; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.card--accent { background: linear-gradient(160deg, var(--steel-2), var(--steel)); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.result .eyebrow { color: var(--accent-2); }
.result__big { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.result__big strong { font-family: var(--font-head); font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; }
.result__big span { color: #a9b4bf; }
.result__list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 2px; }
.result__list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); transition: opacity .2s; }
.result__list li.is-off { opacity: .35; }
.result__list span { display: inline-flex; align-items: center; gap: 8px; color: #c8d1da; }
.result__list span .icon { color: var(--accent-2); }
.result__list strong { font-family: var(--font-head); font-size: 1.2rem; text-align: right; }
.result__list small { grid-column: 1 / -1; color: #8f9ba7; font-size: .8rem; }
.result__note { color: #8f9ba7; font-size: .8rem; margin: 14px 0 0; text-align: center; }
/* 3D design: quote card, success screen, design page, admin */
.btn--wa { --b-bg: #1fae5b; --b-fg: #fff; --b-bd: #1fae5b; }
.btn--wa:hover { --b-bg: #18994f; }
.pill--accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; gap: 6px; }
.pill--accent .icon { width: 14px; height: 14px; }
.design-card { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; margin-top: 18px; border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.design-card__img { border-radius: 12px; overflow: hidden; background: var(--art-bg); aspect-ratio: 1200 / 630; }
.design-card__img img { width: 100%; height: 100%; object-fit: cover; }
.design-card h3 { margin: 10px 0 6px; }
.design-card .btn-row { margin: 10px 0 0; align-items: center; }
@media (max-width: 560px) { .design-card { grid-template-columns: 1fr; } }
.success-design { margin-top: 24px; padding-top: 24px; border-top: 1px dashed var(--border); }
.success-design img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 16px; animation: pop .6s ease; }
.success-design h3 { display: flex; align-items: center; justify-content: center; gap: 8px; }
.design-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; }
.design-cta p { color: #c8d1da; }
.design-cta .btn-row { margin: 18px 0 12px; }
@media (max-width: 860px) { .design-grid { grid-template-columns: 1fr; } }
.admin-design { position: relative; display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); margin-bottom: 4px; text-decoration: none; min-height: 48px; background: var(--surface-2); }
.admin-design img { width: 100%; display: block; }
.admin-design span { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; background: rgba(17,26,35,.85); color: #fff; font-weight: 600; font-size: .85rem; }
.track-result .btn--primary { margin: 6px 0 4px; }
.admin-side { display: grid; gap: 18px; align-content: start; }
.history { list-style: none; padding: 0; margin: 0; position: relative; }
.history li { position: relative; padding: 0 0 18px 22px; }
.history li::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: -8px; width: 2px; background: var(--border); }
.history li:last-child { padding-bottom: 0; }
.history li:last-child::before { display: none; }
.history li::after { content: ""; position: absolute; left: 0; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.history li.is-latest::after { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.history__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.history__note { margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); white-space: pre-wrap; font-size: .92rem; }

.calc__top { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.field__hint { color: var(--muted); font-size: .78rem; line-height: 1.4; }

/* 3D fence viewer - full width */
.fence3d-section { padding: 0; }
.fence3d { position: relative; width: 100%; height: clamp(420px, 66vh, 720px); overflow: hidden; background: linear-gradient(#dbe7f0, #eef3f7); border-bottom: 1px solid var(--border); }
[data-theme="dark"] .fence3d { background: linear-gradient(#0d151c, #111922); }
.fence3d__canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; touch-action: none; cursor: grab; }
.fence3d__canvas:active { cursor: grabbing; }
.fence3d--max { position: fixed; inset: 0; height: 100%; z-index: 300; border: 0; }
.no-scroll { overflow: hidden; }
.fence3d__tools { position: absolute; top: 14px; right: 14px; display: flex; gap: 6px; z-index: 2; }
.fence3d__btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(17,26,35,.78); color: #fff; font-size: .82rem; font-weight: 600; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s; }
.fence3d__btn:hover { background: rgba(17,26,35,.92); }
.fence3d__btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
.fence3d__btn .icon { width: 16px; height: 16px; }
.fence3d__stats { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; z-index: 2; max-width: calc(100% - 28px); pointer-events: none; }
.fence3d__stats div { padding: 10px 14px; border-radius: 14px; background: rgba(17,26,35,.8); color: #fff; backdrop-filter: blur(8px); line-height: 1.15; }
.fence3d__stats strong { display: block; font-family: var(--font-head); font-size: 1.35rem; }
.fence3d__stats small { color: #b5c0ca; font-size: .74rem; }
.fence3d__hint { position: absolute; top: 18px; left: 16px; margin: 0; z-index: 2; font-size: .78rem; font-weight: 600; color: var(--muted); pointer-events: none; max-width: 46%; }
.fence3d__loading { position: absolute; inset: 0; display: grid; place-items: center; z-index: 3; color: var(--muted); font-weight: 600; gap: 10px; grid-auto-flow: column; justify-content: center; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--accent); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fence3d__fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 70px 16px 110px; text-align: center; }
.fence3d__fallback .calc__diagram { width: min(560px, 100%); }
.is-fallback .fence3d__tools, .is-fallback .fence3d__hint { display: none; }
@media (max-width: 640px) {
  .fence3d { height: 440px; }
  .fence3d__btn span { display: none; }
  .fence3d__btn { padding: 10px; }
  .fence3d__tools { top: 10px; right: 10px; }
  .fence3d__hint { top: auto; bottom: 120px; left: 0; right: 0; max-width: none; text-align: center; font-size: .72rem; }
  .fence3d__stats { left: 10px; right: 10px; bottom: 10px; gap: 6px; display: grid; grid-template-columns: repeat(4, 1fr); max-width: none; }
  .fence3d__stats div { padding: 8px 6px; text-align: center; }
  .fence3d__stats strong { font-size: 1.05rem; }
  .fence3d__stats small { font-size: .66rem; }
}

.calc__diagram { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; }
.dg-plot { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 4; transition: all .3s ease; }
.dg-post { fill: var(--text); }
.dg-label { font-size: 11px; fill: var(--muted); font-family: var(--font); font-weight: 600; }

/* ---------- Quote ---------- */
.quote { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; }
.quote__form { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; } .quote__form { position: static; } }
.qi { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--border); animation: slideDown .3s ease; }
.qi:first-child { border-top: 0; }
.qi__thumb { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--art-bg); display: grid; place-items: center; color: var(--accent); }
.qi__thumb .icon { width: 28px; height: 28px; }
.qi__name { font-weight: 600; text-decoration: none; display: block; margin-bottom: 8px; }
.qi__name:hover { color: var(--accent); }
.qi__note { display: block; font-size: .8rem; color: var(--muted); margin: -4px 0 8px; }
.qi__controls { display: flex; flex-wrap: wrap; gap: 8px; }
.qi__controls select, .qi__controls input { padding: 8px 10px; border-radius: 10px; border: 1.5px solid var(--border); background: var(--bg); font-size: .88rem; }
.qi__controls input { width: 96px; }
.qi__controls select:focus, .qi__controls input:focus { outline: none; border-color: var(--accent); }
@media (max-width: 520px) { .qi { grid-template-columns: 52px 1fr auto; } .qi__thumb { width: 52px; height: 52px; } }
.add-row { display: flex; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--border); }
.add-row select { flex: 1; padding: 10px 14px; }
.success-card { grid-column: 1 / -1; text-align: center; padding: clamp(32px, 6vw, 64px); max-width: 640px; margin: 0 auto; width: 100%; }
.success-card__icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: color-mix(in srgb, var(--success) 15%, transparent); color: var(--success); display: grid; place-items: center; animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
.success-card__icon .icon { width: 36px; height: 36px; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.ref-box { display: inline-flex; align-items: center; gap: 10px; padding: 10px 10px 10px 22px; border-radius: 14px; background: var(--surface-2); border: 1.5px dashed var(--accent); margin-bottom: 16px; }
.ref-box strong { font-family: var(--font-head); font-size: 1.6rem; letter-spacing: .04em; }
.email-note { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--success) 12%, transparent); color: var(--success); font-weight: 500; }
.email-note[hidden] { display: none; }
.success-card__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.contact__cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-decoration: none; transition: border-color .2s, transform .2s; }
a.contact-card:hover { border-color: var(--accent); transform: translateX(4px); }
.contact-card > .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.contact-card small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.contact-card strong { display: block; word-break: break-word; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Track ---------- */
.track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; margin-bottom: 24px; }
.track-form .field { margin: 0; }
@media (max-width: 640px) { .track-form { grid-template-columns: 1fr; } }
.track-result__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.track-result__head h2 { margin: 0; }
.timeline { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.timeline li { position: relative; text-align: center; font-size: .8rem; font-weight: 600; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; top: 9px; left: -50%; right: 50%; height: 3px; background: var(--border); }
.timeline li:first-child::before { display: none; }
.timeline i { position: relative; z-index: 1; display: block; width: 20px; height: 20px; margin: 0 auto 8px; border-radius: 50%; background: var(--surface); border: 3px solid var(--border); }
.timeline li.is-done::before, .timeline li.is-current::before { background: var(--accent); }
.timeline li.is-done i { background: var(--accent); border-color: var(--accent); }
.timeline li.is-current i { border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); animation: pulse 2s infinite; }
.timeline li.is-current { color: var(--text); }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px transparent; } }
@media (max-width: 560px) {
  .timeline { grid-template-columns: 1fr; gap: 14px; }
  .timeline li { display: flex; align-items: center; gap: 12px; text-align: left; }
  .timeline li::before { display: none; }
  .timeline i { margin: 0; }
}
.mini-items { list-style: none; padding: 0; margin: 0; }
.mini-items li { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); flex-wrap: wrap; }
.mini-items li span:last-child { margin-left: auto; font-weight: 600; }

.status { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.status--new { background: #fff1e6; color: #b84a00; }
.status--contacted { background: #e8f1ff; color: #1d5fc4; }
.status--quoted { background: #f1eaff; color: #6b3fc4; }
.status--confirmed { background: #e6f7ee; color: #12804a; }
.status--dispatched { background: #e3f6f8; color: #0d7480; }
.status--closed { background: var(--surface-2); color: var(--muted); }
[data-theme="dark"] .status:not(.status--closed) { filter: brightness(.9) saturate(1.2); background: color-mix(in srgb, currentColor 16%, transparent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .status:not(.status--closed) { background: color-mix(in srgb, currentColor 16%, transparent); } }

/* ---------- 404 ---------- */
.notfound__art { width: min(420px, 100%); aspect-ratio: 4 / 3; margin: 0 auto 28px; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); }

/* ---------- Admin ---------- */
.admin { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.admin__nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 4px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.admin__nav a, .admin__nav button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 500; background: none; border: 0; cursor: pointer; width: 100%; text-align: left; font-size: .94rem; }
.admin__nav a:hover, .admin__nav button:hover { background: var(--surface-2); color: var(--text); }
.admin__nav a.is-active { background: var(--accent-soft); color: var(--accent); }
.admin__main { min-width: 0; }
@media (max-width: 860px) {
  .admin { grid-template-columns: 1fr; }
  .admin__nav { position: static; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .admin__nav .eyebrow { grid-column: 1 / -1; margin: 0; }
}
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 22px; }
.admin-head h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.kpi small { color: var(--muted); font-weight: 600; font-size: .8rem; }
.kpi strong { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1.1; margin-top: 4px; }
.kpi--accent { background: linear-gradient(135deg, #c94205, var(--accent)); color: #fff; border-color: transparent; }
.kpi--accent small { color: rgba(255, 255, 255, .85); }
@media (max-width: 760px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.admin-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.admin-split--wide { grid-template-columns: 1.4fr 1fr; align-items: start; }
@media (max-width: 960px) { .admin-split, .admin-split--wide { grid-template-columns: 1fr; } }
.pipeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pipeline__item { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); text-decoration: none; }
.pipeline__item:hover, .pipeline__item.is-active { border-color: var(--accent); }
.pipeline__item strong { font-family: var(--font-head); font-size: 1.2rem; }
@media (max-width: 520px) { .pipeline { grid-template-columns: repeat(2, 1fr); } }
.bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1.2fr) 1fr auto; align-items: center; gap: 12px; font-size: .9rem; }
.bars li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars__track { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bars__track i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.admin-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.admin-filters .search-box { flex: 1 1 240px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.data-table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 12px 14px; background: var(--surface-2); white-space: nowrap; }
.data-table td { padding: 14px; border-top: 1px solid var(--border); vertical-align: middle; }
.data-table tbody tr { transition: background .15s; }
.data-table tbody tr[data-href] { cursor: pointer; }
.data-table tbody tr:hover { background: var(--surface-2); }
.data-table a { text-decoration: none; }
.data-table--compact td, .data-table--compact th { padding: 9px 10px; }
.card .data-table--compact { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 16px; }
.truncate { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thumb { width: 64px; height: 48px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 16px; margin: 0; }
.dl dt { color: var(--muted); font-size: .88rem; }
.dl dd { margin: 0; font-weight: 500; word-break: break-word; }
.card h3 { margin-top: 22px; font-size: 1rem; }
.login-card { text-align: center; }
.login-card .field { text-align: left; }
.login-card__icon { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.login-card__icon .icon { width: 28px; height: 28px; }
.login-card h1 { font-size: 1.8rem; }
.art-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
.art-picker label { cursor: pointer; text-align: center; }
.art-picker input { position: absolute; opacity: 0; }
.art-picker .thumb { width: 100%; height: 70px; border-width: 2px; transition: border-color .15s; }
.art-picker input:checked + .thumb { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.art-picker input:focus-visible + .thumb { outline: 3px solid var(--accent); }
.art-picker small { color: var(--muted); font-size: .75rem; }

/* ---------- Delivery areas ---------- */
.city-list { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.city-list li { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .86rem; font-weight: 500; }
.city-list a { color: var(--accent); text-decoration: none; font-weight: 600; }
.city-list--compact li { padding: 4px 10px; font-size: .8rem; }
.areas-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; margin-bottom: 32px; }
@media (max-width: 860px) { .areas-intro { grid-template-columns: 1fr; } }
.areas-products { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.areas-products a { text-decoration: none; }
.areas-products a:hover strong { color: var(--accent); }
.areas-steps { list-style: none; padding: 0; margin: 4px 0 20px; display: grid; gap: 12px; color: #d5dde4; }
.areas-steps li { display: flex; gap: 10px; align-items: flex-start; }
.areas-steps .icon { color: var(--accent-2); margin-top: 3px; }
.area-region { padding: 26px 0; border-top: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + 16px); }
.area-region__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.area-region h2 { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; margin: 0 0 6px; }
.area-region h2 .icon { color: var(--accent); }
.area-region p { margin: 0; max-width: 75ch; }
.areas-note { margin-top: 18px; }
.areas-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.areas-band h2 { max-width: 24ch; }
.areas-band .btn { margin-top: 22px; }
.areas-band__regions { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: center; }
.areas-band__regions a { display: block; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); text-decoration: none; transition: transform .2s, background .2s; height: 100%; }
.areas-band__regions a:hover { transform: translateY(-2px); background: var(--accent-soft); }
.areas-band__regions strong { display: block; }
.areas-band__regions span { color: var(--muted); font-size: .8rem; }
@media (max-width: 900px) { .areas-band { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .areas-band__regions { grid-template-columns: 1fr; } }
.aka { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 16px 0 0; }
.aka__tag { padding: 3px 9px; border-radius: 6px; background: var(--surface-2); font-size: .8rem; color: var(--muted); }
.pd-delivery { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 24px; margin-bottom: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.pd-delivery > div { flex: 1 1 420px; }
.pd-delivery h2 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.pd-delivery h2 .icon { color: var(--accent); }
.footer-areas { padding-bottom: 24px; font-size: .84rem; line-height: 1.8; color: #8a96a2; }
.footer-areas strong { color: #c3ccd5; margin-right: 6px; }
.footer-areas a { color: #aab5c0; }

/* ---------- Location / map ---------- */
.location { padding: clamp(40px, 6vw, 72px) 0 0; }
.location__head { margin-bottom: 22px; }
.location__head h2 { margin: 0; }
.location__map { position: relative; height: clamp(420px, 60vh, 560px); background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.95); }
[data-theme="dark"] .location__map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95); }
.location__card { position: absolute; left: clamp(16px, 4vw, 48px); top: 24px; width: min(380px, calc(100% - 32px)); padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); z-index: 1; }
.location__card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.location__addr { color: var(--muted); margin-bottom: 10px; }
.rating { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; margin-bottom: 8px; }
.rating strong { font-size: 1.05rem; }
.rating__stars { display: inline-flex; color: #f5a623; }
.rating__stars .icon { width: 16px; height: 16px; fill: currentColor; }
.location__hours { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.location__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.location__review { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: .85rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.location__review .icon { width: 15px; height: 15px; }
.location__quote { position: absolute; right: clamp(16px, 4vw, 48px); top: 50%; transform: translateY(-50%); width: min(440px, 40%); margin: 0; padding: 28px 30px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); font-family: var(--font-head); font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 600; line-height: 1.5; z-index: 1; }
@media (max-width: 900px) {
  .location__map { height: auto; display: flex; flex-direction: column; }
  .location__map iframe { position: relative; height: 340px; order: 2; }
  .location__card { position: relative; left: auto; top: auto; width: auto; margin: 16px; order: 1; box-shadow: var(--shadow); }
  .location__quote { position: relative; right: auto; top: auto; transform: none; width: auto; margin: 0 16px 16px; order: 3; box-shadow: none; font-size: 1.1rem; }
}

/* ---------- Promo cards (dealer / catalogue / review) ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.promo { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform .2s, border-color .2s; }
.promo:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.promo__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.promo__icon .icon { width: 22px; height: 22px; }
.promo h3 { margin-bottom: 4px; }
.promo p { font-size: .92rem; }
@media (max-width: 960px) { .promo-grid { grid-template-columns: 1fr; } }
.share-link { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0 0; padding: 0; background: none; border: 0; font-weight: 600; font-size: .9rem; color: var(--muted); cursor: pointer; }
.share-link:hover { color: var(--accent); }
.pd__form .wa-link { margin-right: 18px; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.testimonial { margin: 0; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.testimonial__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.testimonial__body { padding: 20px; display: grid; gap: 10px; }
.testimonial blockquote { margin: 0; font-size: 1rem; line-height: 1.6; }
.review-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); text-decoration: none; }
.review-link .icon { width: 16px; height: 16px; }

/* ---------- Dealer form ---------- */
.dealer { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.dealer__perks { display: grid; gap: 14px; }
@media (max-width: 900px) { .dealer { grid-template-columns: 1fr; } }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 16px; margin-top: 8px; }
.check-grid .check { font-size: .92rem; }

/* ---------- Tarbandi guide ---------- */
.guide { max-width: 860px; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: color-mix(in srgb, #f5a623 14%, var(--surface)); border: 1px solid color-mix(in srgb, #f5a623 40%, var(--border)); margin-bottom: 26px; }
.notice .icon { color: #c27c00; margin-top: 3px; flex: none; }
.notice p { margin: 0; }
.guide__body h2 { font-size: 1.45rem; margin-top: 34px; }
.guide__body p { font-size: 1.04rem; line-height: 1.8; }
.guide__list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.guide__list li { display: flex; gap: 10px; align-items: flex-start; }
.guide__list .icon { color: var(--success); margin-top: 4px; flex: none; }
.guide__steps { padding-left: 22px; display: grid; gap: 10px; line-height: 1.7; }
.guide__products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 14px 0 28px; }
.guide__product { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; }
.guide__product:hover { border-color: var(--accent); }
.guide__product span { color: var(--muted); font-size: .84rem; }
.guide__cta { margin: 30px 0; }
.guide__cta h2 { margin-top: 0; }
.guide__cta p { color: #c8d1da; }
.tarbandi-band { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px 24px; border-radius: var(--radius); background: color-mix(in srgb, var(--success) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--success) 35%, var(--border)); text-decoration: none; }
.tarbandi-band > span:nth-child(2) { flex: 1 1 300px; display: grid; gap: 2px; }
.tarbandi-band .promo__icon { background: color-mix(in srgb, var(--success) 18%, transparent); color: var(--success); }

/* ---------- Mobile quick-action bar ---------- */
.action-bar { display: none; }
@media (max-width: 640px) {
  .action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.25); padding-bottom: env(safe-area-inset-bottom); }
  .action-bar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 8px; font-size: .72rem; font-weight: 600; color: var(--muted); text-decoration: none; }
  .action-bar a .icon { width: 21px; height: 21px; color: var(--text); }
  .action-bar a:nth-child(2) .icon { color: #1fae5b; }
  .action-bar__cart .icon { color: var(--accent) !important; }
  .action-bar .badge { position: absolute; top: 4px; left: calc(50% + 6px); background: var(--accent); color: #fff; }
  body:not(.page-admin) { padding-bottom: 64px; }
  .wa-float { display: none; }
  .toast-stack { bottom: 80px; }
}

/* ---------- Catalogue (screen + print) ---------- */
.catalogue__toolbar { margin-bottom: 22px; }
.catalogue__toolbar .btn-row { margin: 10px 0 6px; }
.catalogue__head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 24px; border-radius: var(--radius); background: var(--steel); color: #fff; margin-bottom: 22px; }
.catalogue__brand { display: flex; gap: 14px; align-items: center; }
.catalogue__brand h1 { font-size: 1.8rem; margin: 0; }
.catalogue__brand p { margin: 0; color: #b5c0ca; }
.catalogue__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .88rem; color: #d5dde4; }
.catalogue__contact li { display: flex; gap: 8px; align-items: flex-start; }
.catalogue__contact .icon { color: var(--accent-2); margin-top: 3px; }
.catalogue__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .catalogue__grid { grid-template-columns: 1fr; } }
.cat-item { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); break-inside: avoid; }
.cat-item__art { border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.cat-item h2 { font-size: 1.15rem; margin-bottom: 2px; }
.cat-item p { font-size: .88rem; margin-bottom: 8px; }
.spec-table--compact th, .spec-table--compact td { padding: 6px 8px; font-size: .82rem; }
.catalogue__foot { margin-top: 22px; padding: 18px; border-radius: var(--radius); border: 1px dashed var(--border); }
.catalogue__foot p { margin: 0 0 4px; }
@media print {
  @page { size: A4; margin: 12mm; }
  .topbar, .site-header, .site-footer, .action-bar, .wa-float, .toast-stack, .no-print, .flash-stack, .skip-link { display: none !important; }
  body { background: #fff !important; color: #000; padding: 0 !important; }
  .section, .section--tight { padding: 0 !important; }
  .catalogue__head { background: #111a23 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cat-item { border-color: #ccc; box-shadow: none; }
  .art, .brand__bg, .art-glow, .art-dot { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--steel); color: #aab5c0; padding-top: 64px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin: 16px 0 20px; max-width: 34ch; font-size: .93rem; }
.brand--footer .brand__text strong { color: #fff; }
.brand--footer .brand__text small { color: #8794a1; }
.footer-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: flex-start; gap: 10px; word-break: break-word; }
.footer-contact .icon { margin-top: 3px; color: var(--accent-2); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 22px 16px 90px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; color: #7c8894; }
@media (min-width: 640px) { .footer-bottom { padding: 22px 24px 28px; } }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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