/* =============================================================================
   THEME — "Industrial Editorial"
   Palette unchanged: restrained red #c8353b + warm cream + ink.
   Fonts: Space Grotesk (display) + Inter (text).
   ============================================================================= */
:root {
  --brand: #c8353b;
  --brand-dark: #9a2429;
  --brand-darker: #701a1f;
  --brand-tint: #f4dedf;

  --ink: #17110f;
  --ink-2: #3d3432;
  --muted: #796b69;
  --line: #ddd3ca;
  --line-2: #ebe3d8;

  --bg: #faf5ec;
  --bg-alt: #f3ecde;
  --bg-dark: #1a1413;
  --card: #ffffff;

  --err: #8d1f23;
  --ok: #2f7d4b;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-text);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1rem; }
a { color: var(--brand-dark); text-decoration: none; transition: color 0.15s var(--ease); }
a:hover { color: var(--brand); }
pre { font-family: inherit; white-space: pre-wrap; word-wrap: break-word; margin: 0; }
.muted { color: var(--muted); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* Reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------- HEADER -------------------------------- */
.site-header {
  background: rgba(250, 245, 236, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 40;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
  font-family: var(--font-display);
}
.brand:hover { color: var(--brand); }
.brand__logo { width: 32px; height: 32px; object-fit: contain; }
.brand__name { letter-spacing: -0.01em; }
.site-nav { display: flex; gap: 26px; flex: 1; margin-left: 10px; }
.site-nav a {
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 4px 0;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--brand);
  transition: width 0.2s var(--ease);
}
.site-nav a:hover::after, .site-nav a.is-active::after { width: 100%; }
.site-nav a.is-active { color: var(--ink); }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.inline-form { display: inline; margin: 0; }

/* --------------------------------- BUTTONS ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 0;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  font-family: var(--font-text);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease), border-color 0.16s var(--ease);
  background: transparent;
  color: var(--ink);
}
.btn--primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn--primary:hover { background: var(--brand-darker); border-color: var(--brand-darker); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bg); }
.btn--ghost { color: var(--ink-2); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--link { background: transparent; border: 0; color: var(--muted); padding: 6px 10px; font-size: 0.88rem; }
.btn--link:hover { color: var(--brand); }
.btn--lg { padding: 14px 26px; font-size: 1rem; }
.btn--block { width: 100%; }

/* --------------------------------- SECTIONS ------------------------------ */
.section { padding: 104px 0; }
.section--alt { background: var(--bg-alt); }
.section__header { max-width: 760px; margin: 0 0 60px; }
.section__index {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--brand);
  text-transform: uppercase;
  margin: 0 0 18px;
}
.section__header h2 { margin-bottom: 0.4em; }
.section__body { color: var(--ink-2); font-size: 1.06rem; margin: 0; }
.section__note {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  max-width: 760px;
}

/* ----------------------------------- HERO -------------------------------- */
.hero {
  position: relative;
  padding: 96px 0 104px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(23, 17, 15, 0.06) 1px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  color: var(--brand);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.hero__kicker .dot { width: 8px; height: 8px; background: var(--brand); display: inline-block; }
.hero__title { color: var(--ink); margin-bottom: 24px; }
.hero__lede { font-size: 1.1rem; color: var(--ink-2); max-width: 56ch; margin-bottom: 26px; }
.hero__points { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 11px; }
.hero__points li { color: var(--ink-2); font-size: 0.98rem; padding-left: 18px; position: relative; }
.hero__points li::before {
  content: ""; position: absolute; left: 0; top: 0.7em;
  width: 8px; height: 2px; background: var(--brand);
}
.hero__points strong { color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__spec {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.hero__spec > div { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.hero__spec > div:last-child { border-right: 0; }
.hero__spec dt {
  font-family: var(--font-display);
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.hero__spec dd { margin: 0; font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.hero__art {
  aspect-ratio: 1 / 1;
  max-width: 440px;
  margin-left: auto;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-alt);
}
.hero__art img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --------------------------------- PROBLEM ------------------------------- */
.def-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.def-grid > div {
  padding: 30px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card);
  transition: background 0.2s var(--ease);
}
.def-grid > div:hover { background: #fffdf8; }
.def-grid dt { font-family: var(--font-display); font-size: 1.12rem; color: var(--ink); margin: 0 0 8px; font-weight: 600; }
.def-grid dd { margin: 0; color: var(--ink-2); font-size: 0.97rem; }

.pull-quote {
  margin: 52px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  max-width: 760px;
  line-height: 1.3;
}

/* --------------------------------- SOLUTION ------------------------------ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.col h3 { padding-bottom: 14px; border-bottom: 2px solid var(--brand); margin-bottom: 8px; color: var(--ink); display: inline-block; }
.def-list { margin: 0; display: grid; }
.def-list > div { padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.def-list > div:last-child { border-bottom: 0; }
.def-list dt { font-family: var(--font-display); font-weight: 600; color: var(--ink); margin: 0 0 5px; font-size: 1rem; }
.def-list dd { margin: 0; color: var(--ink-2); font-size: 0.95rem; }

/* -------------------------- STATEMENT BAND (dark) ------------------------ */
.band { background: var(--bg-dark); color: #efe6dd; padding: 72px 0; }
.band__inner { display: grid; gap: 40px; }
.band__lead {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  max-width: 18ch;
}
.band__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.band__stats > div {
  padding: 26px 24px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  margin-right: 24px;
}
.band__stats > div:last-child { border-right: 0; }
.band__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 8px;
}
.band__label { font-size: 0.86rem; color: #b9aca6; letter-spacing: 0.02em; }

/* -------------------------------- VERTICALS ------------------------------ */
.vlead {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  padding: 40px;
  margin-bottom: 44px;
}
.vlead__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand);
  border: 1px solid var(--brand);
  padding: 4px 10px;
  margin-bottom: 16px;
}
.vlead__head h3 { font-size: 1.6rem; margin-bottom: 12px; }
.vlead__head p { color: var(--ink-2); margin: 0; }
.vlead__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; align-self: center; }
.vlead__list li {
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: 0.96rem;
  position: relative;
}
.vlead__list li::before {
  content: ""; position: absolute; left: 0; top: 1.25em;
  width: 9px; height: 2px; background: var(--brand);
}
.vlead__list li:last-child { border-bottom: 0; }
.vlead__etc { color: var(--muted) !important; font-style: italic; }
.vlead__etc::before { display: none; }

.vsub {
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.vgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.vcard {
  padding: 28px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card);
  position: relative;
  transition: background 0.2s var(--ease);
}
.vcard::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: var(--brand); transition: width 0.25s var(--ease); z-index: 1;
}
.vcard:hover { background: #fffdf8; }
.vcard:hover::after { width: 100%; }
.vcard__icon { width: 30px; height: 30px; color: var(--brand); margin-bottom: 14px; display: block; }
.vcard h4 { color: var(--ink); margin-bottom: 6px; }
.vcard p { color: var(--ink-2); margin: 0; font-size: 0.92rem; }

/* --------------------------------- REGIONS ------------------------------- */
.region { margin-bottom: 56px; }
.region:last-child { margin-bottom: 0; }
.region__title {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.45rem;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.region__title::before { content: ""; width: 10px; height: 10px; background: var(--brand); }
.region__cases { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.case-card h4 { color: var(--ink); margin-bottom: 14px; font-size: 1.12rem; }
.case-card__meta { margin: 0 0 5px; font-size: 0.88rem; color: var(--ink-2); }
.case-card__meta span {
  display: inline-block; width: 76px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.7rem; font-weight: 600;
  font-family: var(--font-display);
}
.case-card p { color: var(--ink-2); font-size: 0.95rem; margin-bottom: 6px; }
.case-card p:last-of-type { margin-top: 14px; }

.testimonial {
  margin: 44px 0 0;
  padding: 32px 36px;
  background: var(--card);
  border-left: 3px solid var(--brand);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.4;
  max-width: 860px;
}
.testimonial cite {
  display: block; margin-top: 14px; font-style: normal;
  font-family: var(--font-text); font-size: 0.8rem; font-weight: 600;
  color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase;
}

/* -------------------------------- PROCESS (timeline) --------------------- */
.timeline {
  list-style: none; margin: 0; padding: 0;
  counter-reset: tl;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}
.timeline::before {
  content: ""; position: absolute; top: 7px; left: 0; right: 0;
  height: 1px; background: var(--line);
}
.timeline__step { counter-increment: tl; padding: 0 22px 0 0; position: relative; }
.timeline__node {
  width: 15px; height: 15px; background: var(--bg); border: 2px solid var(--brand);
  border-radius: 50%; display: block; margin-bottom: 22px; position: relative; z-index: 1;
}
.timeline__step::after {
  content: counter(tl, decimal-leading-zero);
  position: absolute; top: -2px; left: 24px;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; color: var(--brand);
}
.timeline__step h3 { font-size: 1.02rem; margin-bottom: 8px; color: var(--ink); }
.timeline__step p { font-size: 0.91rem; color: var(--ink-2); margin: 0; }

/* ---------------------------------- STEPS -------------------------------- */
.steps {
  list-style: none; padding: 0; margin: 0;
  counter-reset: st;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.steps li {
  counter-increment: st;
  padding: 30px 28px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--card);
}
.steps li::before {
  content: counter(st, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-size: 0.82rem;
  color: var(--brand); font-weight: 600; margin-bottom: 14px;
}
.steps li h3 { color: var(--ink); font-size: 1.1rem; margin-bottom: 8px; }
.steps li p { color: var(--ink-2); font-size: 0.94rem; margin: 0; }
.steps-cta { margin-top: 44px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.steps-cta p { margin: 0; }

/* --------------------------------- CONTACT ------------------------------- */
.contact { border-top: 1px solid var(--line); max-width: 760px; }
.contact__row {
  display: flex; align-items: baseline; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.contact__label {
  font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); width: 80px; flex-shrink: 0;
}
.contact__value { font-size: 1.2rem; font-weight: 600; color: var(--ink); font-family: var(--font-display); }
a.contact__value:hover { color: var(--brand); }
.contact-cta {
  margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.contact-cta p { margin: 0; color: var(--ink-2); max-width: 56ch; }

/* --------------------------------- FOOTER -------------------------------- */
.site-footer { background: var(--bg-dark); color: #c9bcb8; padding: 64px 0 28px; }
.site-footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.brand--footer .brand__name { color: #fff; }
.site-footer__tagline { max-width: 38ch; color: #9c8f8b; font-size: 0.94rem; margin-top: 14px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col h4 {
  font-family: var(--font-display); color: #fff; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 6px;
}
.site-footer__col a, .site-footer__col span { color: #c9bcb8; font-size: 0.92rem; }
.site-footer__col a:hover { color: #ffb8bc; }
.site-footer__legal {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 22px; font-size: 0.84rem; color: #8a7d7a; flex-wrap: wrap;
}
.site-footer__legal p { margin: 0; }
.site-footer__legal .muted { color: #ffb8bc; }

/* =============================================================================
   AUTH
   ============================================================================= */
.auth-section { padding: 88px 0; background: var(--bg-alt); min-height: 70vh; }
.auth-container { display: flex; justify-content: center; }
.auth-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand); padding: 44px 38px; max-width: 460px; width: 100%; }
.auth-card h1 { font-size: 1.7rem; margin-bottom: 8px; color: var(--ink); }
.auth-card__footer { margin-top: 22px; text-align: center; color: var(--muted); }

/* =============================================================================
   FORMS
   ============================================================================= */
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form__field { display: flex; flex-direction: column; gap: 7px; font-size: 0.92rem; color: var(--ink-2); }
.form__field > span { font-weight: 600; color: var(--ink); font-family: var(--font-display); font-size: 0.86rem; letter-spacing: 0.01em; }
.form__field input[type="text"],
.form__field input[type="email"],
.form__field input[type="password"],
.form__field input[type="number"],
.form__field textarea,
.form__field select {
  font-family: inherit; font-size: 0.96rem; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.form__field input:focus, .form__field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(200,53,59,0.12);
}
.form__field textarea { resize: vertical; min-height: 120px; }
.form__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Custom file input + dropzone */
.file-input {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  border: 1px dashed var(--line); padding: 10px 12px; transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.file-input.is-dragover { border-color: var(--brand); background: var(--brand-tint); }
.file-input__btn {
  display: inline-flex; align-items: center; padding: 8px 15px;
  border: 1px solid var(--ink); color: var(--ink); background: #fff; cursor: pointer;
  font-weight: 600; font-size: 0.88rem; transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.file-input__btn:hover { background: var(--ink); color: #fff; }
.file-input__status { color: var(--muted); font-size: 0.86rem; word-break: break-word; }
.file-input__status.has-files { color: var(--ink); font-weight: 500; }

.alert { padding: 12px 16px; margin-bottom: 4px; font-size: 0.93rem; border: 1px solid transparent; }
.alert--error { background: #fbeaea; color: var(--err); border-color: #f1caca; }
.alert--ok { background: #e8f5ec; color: var(--ok); border-color: #c5e3cd; }

/* =============================================================================
   DASHBOARD
   ============================================================================= */
.dashboard { padding: 48px 0 88px; min-height: 75vh; }
.dashboard__grid { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.dashboard__sidebar { background: #fff; border: 1px solid var(--line); padding: 24px; position: sticky; top: 90px; }
.user-card { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.user-card h2 { font-size: 1rem; margin: 0; color: var(--ink); }
.user-card p { margin: 0; font-size: 0.84rem; }
.user-card__avatar {
  width: 42px; height: 42px; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; font-family: var(--font-display); flex-shrink: 0;
}
.side-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 20px; }
.side-nav a { padding: 9px 11px; color: var(--ink-2); font-size: 0.92rem; border-left: 2px solid transparent; }
.side-nav a:hover { background: var(--bg-alt); color: var(--ink); border-left-color: var(--brand); }
.sidebar-info { background: var(--bg-alt); padding: 16px; border: 1px solid var(--line-2); }
.sidebar-info h3 { font-size: 0.92rem; margin: 0 0 8px; color: var(--ink); }
.sidebar-info ol { margin: 0; padding-left: 18px; font-size: 0.86rem; color: var(--ink-2); }
.sidebar-info li { margin-bottom: 5px; }

.dashboard__main { display: flex; flex-direction: column; gap: 24px; }
.chat-panel { background: #fff; border: 1px solid var(--line); padding: 30px; }
.chat-panel__header { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.chat-panel__header h1 { font-size: 1.3rem; margin: 0; color: var(--ink); }
.chat-empty { padding: 44px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); }
.chat-thread { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.chat-msg { padding: 17px 19px; max-width: 84%; border: 1px solid var(--line); background: #fff; }
.chat-msg--client { align-self: flex-end; background: var(--brand); color: #fff; border-color: var(--brand); }
.chat-msg--client .chat-msg__meta, .chat-msg--client .chat-msg__body, .chat-msg--client .chat-msg__subject { color: #fff; }
.chat-msg--client .chat-msg__meta { color: rgba(255,255,255,0.78); }
.chat-msg--system { background: var(--bg-alt); }
.chat-msg--admin { border-left: 3px solid var(--brand); }
.chat-msg__meta { display: flex; justify-content: space-between; gap: 14px; font-size: 0.76rem; color: var(--muted); margin-bottom: 7px; }
.chat-msg__subject { font-weight: 700; color: var(--ink); margin-bottom: 7px; font-size: 0.98rem; font-family: var(--font-display); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chat-msg__body { font-size: 0.94rem; line-height: 1.55; color: var(--ink-2); font-family: inherit; }
.chat-msg__attachments { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(0,0,0,0.08); font-size: 0.86rem; }
.chat-msg--client .chat-msg__attachments { border-top-color: rgba(255,255,255,0.28); }
.chat-msg--client .chat-msg__attachments a { color: #fff; text-decoration: underline; }
.chat-msg__attachments ul { margin: 6px 0 0; padding-left: 18px; }

.status-pill {
  display: inline-block; font-family: var(--font-text);
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border: 1px solid currentColor;
}
.status-pill--accepted { color: var(--ok); }
.status-pill--review { color: var(--brand-dark); }
.status-pill--done { color: var(--muted); }
.chat-msg--client .status-pill { color: #fff; border-color: rgba(255,255,255,0.6); }

.inquiry-form-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand); padding: 30px; }
.inquiry-form-card h2 { font-size: 1.2rem; color: var(--ink); margin-bottom: 6px; }

/* =============================================================================
   ADMIN
   ============================================================================= */
.admin-section { padding: 48px 0 100px; min-height: 75vh; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 0; margin: 22px 0 30px; border-bottom: 1px solid var(--line); }
.admin-tabs a { padding: 11px 17px; color: var(--ink-2); font-size: 0.92rem; border-bottom: 2px solid transparent; margin-bottom: -1px; font-family: var(--font-display); }
.admin-tabs a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.admin-card { background: #fff; border: 1px solid var(--line); padding: 30px; margin-bottom: 22px; }
.admin-card h2 { color: var(--ink); font-size: 1.2rem; }
.partner-row { border: 1px solid var(--line); padding: 18px 20px 12px; margin-bottom: 16px; background: var(--bg); }
.partner-row legend { font-weight: 600; color: var(--ink); padding: 0 6px; font-family: var(--font-display); }
.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table th, .table td { padding: 11px 13px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--bg-alt); color: var(--ink); font-weight: 600; font-family: var(--font-display); }

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 960px) {
  .section { padding: 76px 0; }
  .hero { padding: 68px 0 76px; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__art { max-width: 380px; margin: 0; order: -1; }
  .two-col { grid-template-columns: 1fr; gap: 44px; }
  .def-grid { grid-template-columns: 1fr; }
  .vlead { grid-template-columns: 1fr; gap: 28px; padding: 30px; }
  .vgrid { grid-template-columns: 1fr 1fr; }
  .band__stats { grid-template-columns: 1fr 1fr; gap: 0; }
  .band__stats > div { border-bottom: 1px solid rgba(255,255,255,0.16); padding-bottom: 22px; padding-top: 22px; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { display: none; }
  .timeline__step { padding: 18px 0 18px 28px; border-left: 1px solid var(--line); }
  .timeline__node { position: absolute; left: -8px; top: 20px; margin: 0; }
  .timeline__step::after { left: 28px; top: 18px; }
  .timeline__step h3 { margin-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .region__cases { grid-template-columns: 1fr; }
  .contact-cta { flex-direction: column; align-items: flex-start; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .dashboard__grid { grid-template-columns: 1fr; }
  .dashboard__sidebar { position: static; }
  .site-nav { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .vgrid { grid-template-columns: 1fr; }
  .hero__spec { grid-template-columns: 1fr; gap: 14px; }
  .hero__spec > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 14px; margin: 0; }
  .hero__spec > div:last-child { border-bottom: 0; }
  .band__stats { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__legal { flex-direction: column; gap: 4px; }
  .site-header__actions .btn { padding: 8px 12px; font-size: 0.84rem; }
  .chat-msg { max-width: 100%; }
}
