/* Vopsim Orice: graphite spray-booth bands + light "spec sheet" bands.
   The brand gradient is used as paint (strokes, bars, buttons), never as wallpaper. */
:root {
  --magenta: #E838C1;
  --mov: #8B36C9;
  --violet: #4633B1;
  --cyan: #22D3EE;
  --grad: linear-gradient(135deg, #E838C1 0%, #8B36C9 45%, #4633B1 100%);
  --grad-electric: linear-gradient(135deg, #4633B1 0%, #22D3EE 100%);
  --on-paint: #FFFFFF;

  --bg: #F4F2F8;
  --surface: #FFFFFF;
  --fg: #111111;
  --muted: #5B5668;
  --line: #DDD8E8;
  --accent-text: #8B2FA8;
  --danger: #C0263E;
  --danger-bg: #FCE9EC;
  --ok: #1D7A4E;
  --booth: #111111;
  --booth-fg: #FFFFFF;
  --booth-muted: #B9B3C9;
  --booth-line: #2A2733;

  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 4.5vw, 3rem);
  --step-4: clamp(2.6rem, 7.5vw, 5.6rem);
  --radius: 6px;
  --wrap: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0A0F; --surface: #17151E; --fg: #F4F2F8; --muted: #A9A3B8;
    --line: #2C2936; --accent-text: #F07AD6; --danger: #FF7A8F; --danger-bg: #3A1820; --ok: #5BD69B;
    --booth: #000000; --booth-line: #24212C;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B0A0F; --surface: #17151E; --fg: #F4F2F8; --muted: #A9A3B8;
  --line: #2C2936; --accent-text: #F07AD6; --danger: #FF7A8F; --danger-bg: #3A1820; --ok: #5BD69B;
  --booth: #000000; --booth-line: #24212C;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font); font-size: var(--step-0); line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 30; background: var(--booth);
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; font-weight: 900; text-transform: uppercase; line-height: 1.05; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}
.label { font-size: var(--step--1); font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--booth) 94%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--booth-line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.7rem; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 50px; width: auto; display: block; }
@media (max-width: 420px) { .brand img { height: 36px; } }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a.link { color: var(--booth-muted); text-decoration: none; font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.nav a.link:hover, .nav a.link[aria-current="page"] { color: var(--booth-fg); }
.nav a.link[aria-current="page"] { box-shadow: 0 2px 0 var(--magenta); }
@media (max-width: 980px) { .nav a.link.opt { display: none; } }
@media (max-width: 640px) { .nav a.link { display: none; } .nav { gap: 0.5rem; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font); font-weight: 800; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.9rem 1.3rem; border-radius: var(--radius); border: 0; cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-paint { background: var(--grad); color: var(--on-paint); box-shadow: 0 6px 24px -8px rgba(232, 56, 193, 0.6); }
.btn-ghost { background: transparent; color: var(--booth-fg); box-shadow: inset 0 0 0 2px var(--booth-line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--booth-muted); }
.btn-line { background: var(--surface); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--muted); }
.btn-sm { padding: 0.6rem 0.95rem; font-size: 0.8rem; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* Page heads (inner pages) */
.page-head { background: var(--booth); color: var(--booth-fg); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--grad); }
.page-head .wrap { padding-block: clamp(2.5rem, 6vw, 4rem); display: grid; gap: 1rem; }
.page-head .label { color: var(--booth-muted); }
.page-head h1 { font-size: var(--step-3); max-width: 20ch; }
.page-head p { color: var(--booth-muted); max-width: 60ch; font-size: 1.05rem; }
.page-head p strong { color: var(--booth-fg); }

section.band { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-head { display: grid; gap: 0.9rem; margin-bottom: 2.2rem; max-width: 46rem; }
.section-head .label { color: var(--accent-text); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  font-family: var(--font); font-weight: 700; font-size: 0.85rem; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--fg);
  padding: 0.55rem 0.9rem; border-radius: 999px;
}
.chip small { color: var(--muted); font-weight: 600; margin-left: 0.25rem; }
.chip[aria-pressed="true"] { background: var(--grad); color: var(--on-paint); border-color: transparent; }
.chip[aria-pressed="true"] small { color: var(--on-paint); opacity: 0.85; }

.badge {
  display: inline-flex; align-items: center; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.25rem 0.5rem; border-radius: 4px; background: var(--bg); color: var(--accent-text); border: 1px solid var(--line);
}
.badge-paint { background: var(--grad); color: var(--on-paint); border-color: transparent; }

/* Forms */
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field label, .field .lbl { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
input, select, textarea { font-family: var(--font); }
.input, .field input, .field select, .field textarea {
  font-size: 1rem; padding: 0.7rem 0.8rem; width: 100%;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--fg);
}
.field textarea { min-height: 5rem; resize: vertical; }

/* Colour catalogue links */
.cat-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.cat-links .label { color: var(--muted); }
.cat-links a { color: var(--accent-text); font-weight: 700; font-size: 0.9rem; text-decoration: none; border-bottom: 2px solid currentColor; }
.cat-links a:hover { color: var(--fg); }

/* Footer */
footer.site-footer { background: var(--booth); color: var(--booth-muted); border-top: 1px solid var(--booth-line); }
footer.site-footer .wrap { padding-block: 2.5rem calc(2.5rem + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: flex-start; }
footer.site-footer p { font-size: 0.9rem; }
footer.site-footer .cols { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; }
footer.site-footer .cols div { display: grid; gap: 0.3rem; font-size: 0.9rem; align-content: start; }
footer.site-footer .cols b { color: var(--booth-fg); font-weight: 700; }
footer.site-footer a { color: var(--booth-muted); }
footer.site-footer a:hover { color: var(--booth-fg); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; z-index: 25; width: 58px; height: 58px; border-radius: 50%;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  background: var(--grad); color: var(--on-paint); display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(139, 54, 201, 0.7);
}
.wa-float svg { width: 28px; height: 28px; }

/* Social links */
.social { display: flex; gap: 0.6rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--booth-line); color: var(--booth-fg); }
.social a:hover { background: var(--grad); box-shadow: none; }
.social svg { width: 20px; height: 20px; }
.social.on-light a { box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); }
.social.on-light a:hover { color: var(--on-paint); }
footer.site-footer .cols .social { display: flex; margin: 0.2rem 0; }
