/* ==========================================================================
   Chongyi Automobile Co., Limited — Global design system
   Aesthetic: premium automotive — precise grids, generous whitespace,
   graphite surfaces, a single ember accent, restrained but lively motion.
   This file is the ONLY stylesheet in the project. No inline styles anywhere.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* --- Colour: core neutrals --- */
  --c-ink: #0b0d10;
  --c-ink-soft: #141821;
  --c-ink-raised: #1c212b;
  --c-graphite: #2a303a;
  --c-steel: #6e7986;
  --c-steel-soft: #98a2ae;
  --c-line: #e2e6eb;
  --c-line-strong: #cdd4dc;
  --c-mist: #edf0f3;
  --c-paper: #f5f7f9;
  --c-white: #ffffff;

  /* --- Colour: brand --- */
  --c-accent: #e2552b;
  --c-accent-soft: #ff7a4d;
  --c-accent-deep: #b93a17;
  --c-amber: #f0a93b;
  --c-cool: #2f6c99;
  --c-success: #2e9e6b;
  --c-danger: #c0392b;
  --c-focus: #4c8dff;

  /* --- Colour: semantic surfaces --- */
  --bg-page: var(--c-white);
  --bg-soft: var(--c-paper);
  --bg-mist: var(--c-mist);
  --bg-dark: var(--c-ink);
  --bg-dark-soft: var(--c-ink-soft);
  --text-strong: var(--c-ink);
  --text-body: #3d4653;
  --text-muted: var(--c-steel);
  --text-invert: #ffffff;
  --text-invert-soft: rgba(255, 255, 255, 0.68);

  /* --- Typography --- */
  --ff-display: "Avenir Next", "Segoe UI Semibold", "Helvetica Neue", Arial, sans-serif;
  --ff-body: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --ff-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --fs-display: clamp(2.5rem, 1.35rem + 4.6vw, 5.25rem);
  --fs-h1: clamp(2.1rem, 1.3rem + 3.2vw, 3.75rem);
  --fs-h2: clamp(1.75rem, 1.2rem + 2.2vw, 2.9rem);
  --fs-h3: clamp(1.25rem, 1.05rem + 0.8vw, 1.65rem);
  --fs-h4: 1.075rem;
  --fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.28rem);
  --fs-body: 1rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-eyebrow: 0.75rem;

  --lh-tight: 1.06;
  --lh-snug: 1.22;
  --lh-base: 1.68;

  --ls-display: -0.035em;
  --ls-tight: -0.02em;
  --ls-wide: 0.18em;
  --ls-mono: 0.04em;

  /* --- Space scale --- */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.5rem;
  --sp-8: 3rem;
  --sp-9: 4rem;
  --sp-10: 5rem;
  --sp-11: 6.5rem;
  --sp-12: 8rem;

  /* --- Radius --- */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* --- Elevation --- */
  --sh-xs: 0 1px 2px rgba(11, 13, 16, 0.06);
  --sh-sm: 0 2px 8px rgba(11, 13, 16, 0.06);
  --sh-md: 0 10px 30px rgba(11, 13, 16, 0.08);
  --sh-lg: 0 24px 60px rgba(11, 13, 16, 0.12);
  --sh-glow: 0 18px 40px rgba(226, 85, 43, 0.28);
  --sh-dark: 0 20px 50px rgba(0, 0, 0, 0.42);

  /* --- Motion --- */
  --t-fast: 180ms;
  --t-med: 340ms;
  --t-slow: 620ms;
  --t-slower: 980ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0.05, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.46, 0.64, 1);

  /* --- Layering --- */
  --z-base: 1;
  --z-decor: 2;
  --z-content: 5;
  --z-header: 100;
  --z-drawer: 110;
  --z-to-top: 90;
  --z-toast: 120;

  /* --- Layout --- */
  --container: 1240px;
  --container-narrow: 880px;
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 3rem);
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  background: var(--bg-page);
  color: var(--text-body);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img { height: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; background: none; border: 0; }

ul, ol { list-style: none; }

table { border-collapse: collapse; width: 100%; }

hr {
  border: 0;
  border-top: 1px solid var(--c-line);
  margin: var(--sp-6) 0;
}

::selection {
  background: var(--c-accent);
  color: var(--c-white);
}

:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  color: var(--text-strong);
  font-weight: 700;
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
}

h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: var(--ls-display); }
h2 { font-size: var(--fs-h2); letter-spacing: var(--ls-display); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { max-width: 72ch; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-4);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: var(--r-pill);
}

.section--dark .eyebrow { color: var(--c-accent-soft); }

.mono {
  font-family: var(--ff-mono);
  letter-spacing: var(--ls-mono);
}

.text-accent { color: var(--c-accent); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* --------------------------------------------------------------------------
   4. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: var(--container-narrow); }

.section {
  position: relative;
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem);
}

.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.section--soft { background: var(--bg-soft); }
.section--mist { background: var(--bg-mist); }
.section--dark {
  background: var(--bg-dark);
  color: var(--text-invert-soft);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--c-white); }
.section--dark .lead { color: var(--text-invert-soft); }

.section--accent {
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-deep) 100%);
  color: rgba(255, 255, 255, 0.88);
}
.section--accent h1,
.section--accent h2,
.section--accent h3 { color: var(--c-white); }
.section--accent .lead { color: rgba(255, 255, 255, 0.85); }
.section--accent .eyebrow { color: rgba(255, 255, 255, 0.9); }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2rem, 1rem + 3vw, 3.75rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow::before { display: none; }
.section-head--center .lead { margin-inline: auto; }

.section-head__title { margin-bottom: var(--sp-4); }
.section-head__sub { color: var(--text-muted); }
.section--dark .section-head__sub { color: var(--text-invert-soft); }

.grid {
  display: grid;
  gap: var(--sp-5);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); }

.stack > * + * { margin-top: var(--sp-4); }
.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

.divider {
  height: 1px;
  background: var(--c-line);
  border: 0;
  margin-block: var(--sp-6);
}
.section--dark .divider { background: rgba(255, 255, 255, 0.14); }

/* --------------------------------------------------------------------------
   5. HEADER  [reuse-C]
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(11, 13, 16, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--t-med) var(--ease), border-color var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease);
}

.site-header.is-scrolled {
  background: rgba(11, 13, 16, 0.94);
  box-shadow: var(--sh-md);
}

.site-header__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--c-white);
}

.brand__mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: linear-gradient(140deg, var(--c-accent) 0%, var(--c-accent-deep) 100%);
  box-shadow: var(--sh-glow);
  color: var(--c-white);
  transition: transform var(--t-med) var(--ease-spring);
}

.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }

.brand__mark svg { width: 22px; height: 22px; }

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }

.brand__name {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand__sub {
  font-size: 0.68rem;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav__link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.74);
  padding-block: 6px;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: var(--r-pill);
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}

.nav__link:hover { color: var(--c-white); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--c-white); }
.nav__link.is-active::after { transform: scaleX(1); }

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--c-white);
  place-items: center;
  transition: background var(--t-fast) var(--ease), transform var(--t-med) var(--ease);
}

.nav-toggle:hover { background: rgba(255, 255, 255, 0.08); }
.nav-toggle.is-open { transform: rotate(90deg); }
.nav-toggle svg { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   6. FOOTER  [reuse-D]
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--c-ink);
  color: var(--text-invert-soft);
  padding-top: clamp(3rem, 2rem + 3vw, 5rem);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  padding-bottom: var(--sp-8);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  max-width: 340px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--c-white);
}

.footer__logo .brand__mark { box-shadow: none; }

.footer__desc { font-size: var(--fs-sm); line-height: 1.65; }

.footer__col h4 {
  font-size: 0.78rem;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: var(--sp-4);
}

.footer__col li + li { margin-top: var(--sp-3); }

.footer__col a,
.footer__col span {
  font-size: var(--fs-sm);
  color: var(--text-invert-soft);
}

.footer__col a:hover { color: var(--c-accent-soft); }

.footer__contact li {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  font-size: var(--fs-sm);
  line-height: 1.55;
}

.footer__contact svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--c-accent);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
}

.footer__legal a { color: var(--text-invert-soft); }
.footer__legal a:hover { color: var(--c-accent-soft); }

.footer__mascot {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

/* --------------------------------------------------------------------------
   7. COMPONENTS — buttons, badges, tags, cards, forms, tables
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: 0.85rem 1.6rem;
  border-radius: var(--r-pill);
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform var(--t-med) var(--ease-spring), box-shadow var(--t-med) var(--ease),
    background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.btn svg { width: 18px; height: 18px; }

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-deep) 100%);
  color: var(--c-white);
  box-shadow: var(--sh-glow);
}

.btn--primary:hover { box-shadow: 0 22px 50px rgba(226, 85, 43, 0.36); }

.btn--dark {
  background: var(--c-ink);
  color: var(--c-white);
}

.btn--dark:hover { background: var(--c-graphite); }

.btn--ghost {
  border-color: var(--c-line-strong);
  color: var(--text-strong);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--c-ink);
  background: var(--c-ink);
  color: var(--c-white);
}

.btn--on-dark {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--c-white);
}

.btn--on-dark:hover {
  background: var(--c-white);
  color: var(--c-ink);
  border-color: var(--c-white);
}

.btn--lg { padding: 1.05rem 2.1rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--pill-white {
  background: var(--c-white);
  color: var(--c-ink);
  box-shadow: var(--sh-md);
}

.btn--pill-white:hover { box-shadow: var(--sh-lg); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.34rem 0.85rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--c-mist);
  color: var(--c-graphite);
}

.badge svg { width: 14px; height: 14px; }
.badge--accent { background: rgba(226, 85, 43, 0.1); color: var(--c-accent-deep); }
.badge--dark { background: rgba(255, 255, 255, 0.1); color: var(--c-white); }
.badge--outline { background: transparent; border: 1px solid var(--c-line-strong); color: var(--c-steel); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.28rem 0.7rem;
  border-radius: var(--r-xs);
  font-size: var(--fs-xs);
  font-weight: 600;
  background: var(--c-ink);
  color: var(--c-white);
}

.card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease);
}

.card--hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}

.card--flat { box-shadow: none; }
.card--dark {
  background: var(--c-ink-soft);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-invert-soft);
}
.card--dark h3, .card--dark h4 { color: var(--c-white); }

.card__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: var(--sp-5);
  background: linear-gradient(140deg, rgba(226, 85, 43, 0.14) 0%, rgba(226, 85, 43, 0.04) 100%);
  color: var(--c-accent);
}

.card__icon svg { width: 26px; height: 26px; }

.card h3 { margin-bottom: var(--sp-3); }
.card p { font-size: var(--fs-sm); color: var(--text-muted); }
.section--dark .card p { color: var(--text-invert-soft); }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-accent);
}

.card__link svg { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease); }
.card__link:hover svg { transform: translateX(4px); }

.stat { text-align: center; }

.stat__num {
  font-family: var(--ff-display);
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: var(--ls-display);
  color: var(--c-white);
  line-height: 1;
}

.stat__num em {
  font-style: normal;
  color: var(--c-accent);
}

.stat__label {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--text-invert-soft);
  letter-spacing: 0.02em;
}

.stat--light .stat__num { color: var(--c-ink); }
.stat--light .stat__label { color: var(--text-muted); }

.step {
  position: relative;
  padding-left: 68px;
}

.step__index {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--c-white);
  background: var(--c-ink);
  box-shadow: 0 0 0 6px rgba(226, 85, 43, 0.12);
}

.section--dark .step__index { background: var(--c-accent); box-shadow: 0 0 0 6px rgba(255, 122, 77, 0.14); }

.step h3 { margin-bottom: var(--sp-2); font-size: 1.15rem; }
.step p { font-size: var(--fs-sm); color: var(--text-muted); }
.section--dark .step p { color: var(--text-invert-soft); }

/* --- Forms --- */
.form { display: grid; gap: var(--sp-5); }

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-5);
}

.field { display: grid; gap: var(--sp-2); }

.field__label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-graphite);
}

.field__label .req { color: var(--c-accent); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-md);
  background: var(--c-white);
  font-size: var(--fs-sm);
  color: var(--text-strong);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.field textarea { min-height: 150px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(226, 85, 43, 0.12);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--c-danger);
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1);
}

.field__error {
  display: none;
  font-size: var(--fs-xs);
  color: var(--c-danger);
  font-weight: 600;
}

.field.has-error .field__error { display: block; }

.checkbox {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.checkbox input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--c-accent);
}

.checkbox a { color: var(--c-accent); font-weight: 600; }
.checkbox a:hover { text-decoration: underline; }

.form__status {
  display: none;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  background: rgba(46, 158, 107, 0.1);
  color: var(--c-success);
  border: 1px solid rgba(46, 158, 107, 0.25);
}

.form__status.is-visible { display: block; }
.form__status.is-error {
  background: rgba(192, 57, 43, 0.08);
  color: var(--c-danger);
  border-color: rgba(192, 57, 43, 0.22);
}

/* --- Tables --- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-white);
}

.data-table { min-width: 560px; font-size: var(--fs-sm); }

.data-table th,
.data-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--c-line);
}

.data-table thead th {
  background: var(--c-ink);
  color: var(--c-white);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom: 0;
}

.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--bg-soft); }
.data-table td strong { color: var(--text-strong); }
.data-table a { color: var(--c-accent); word-break: break-word; }
.data-table a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   8. ANIMATIONS  [reuse-G]
   -------------------------------------------------------------------------- */
.reveal {
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  will-change: opacity, transform;
}

/* Scroll reveal only engages once JS has taken control (html.reveal-ready),
   so the page stays fully readable if JavaScript is unavailable. */
.reveal-ready .reveal { opacity: 0; }

.reveal-ready .reveal.fade-up { animation: none; transform: translateY(34px); }
.reveal-ready .reveal.fade-in { animation: none; transform: none; }
.reveal-ready .reveal.slide-left { animation: none; transform: translateX(-44px); }
.reveal-ready .reveal.slide-right { animation: none; transform: translateX(44px); }
.reveal-ready .reveal.zoom-in { animation: none; transform: scale(0.94); }

.reveal-ready .reveal.in {
  opacity: 1;
  transform: none;
  animation: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: none; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-44px); }
  to { opacity: 1; transform: none; }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(44px); }
  to { opacity: 1; transform: none; }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: none; }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes bobble {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(5deg) translateY(-8px); }
}

@keyframes pulseRing {
  0% { transform: scale(0.92); opacity: 0.7; }
  70% { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.6) translateY(16px); }
  70% { transform: scale(1.08) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Standalone (non-reveal) animation utilities */
.fade-in { animation: fadeIn var(--t-slow) var(--ease) both; }
.fade-up { animation: fadeUp var(--t-slow) var(--ease) both; }
.slide-left { animation: slideInLeft var(--t-slow) var(--ease) both; }
.slide-right { animation: slideInRight var(--t-slow) var(--ease) both; }
.zoom-in { animation: zoomIn var(--t-slow) var(--ease-spring) both; }
.pop-in { animation: popIn var(--t-med) var(--ease-spring) both; }
.float { animation: floaty 4.6s ease-in-out infinite; }
.bounce { animation: bobble 3.4s ease-in-out infinite; }
.pulse { animation: pulseRing 2.4s ease-out infinite; }
.wiggle { animation: wiggle 2.6s ease-in-out infinite; }
.spin-slow { animation: spinSlow 18s linear infinite; }

/* Stagger: JS assigns --i to children of .stagger */
.stagger > * {
  transition-delay: calc(var(--i, 0) * 90ms);
}

.stagger.in > *:not(.reveal) {
  animation: fadeUp var(--t-slow) var(--ease) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}

/* --------------------------------------------------------------------------
   9. PAGE BLOCKS
   -------------------------------------------------------------------------- */

/* --- Hero --- */
.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 860px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + var(--sp-9));
  padding-bottom: var(--sp-9);
  background: var(--c-ink);
  color: var(--text-invert-soft);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 82% 12%, rgba(226, 85, 43, 0.24) 0%, rgba(226, 85, 43, 0) 58%),
    radial-gradient(90% 70% at 8% 92%, rgba(47, 108, 153, 0.22) 0%, rgba(47, 108, 153, 0) 60%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0) 100%);
}

.hero__inner {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
  width: 100%;
}

.hero__content { position: relative; z-index: var(--z-content); }

.hero__title {
  color: var(--c-white);
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  margin-bottom: var(--sp-5);
}

.hero__title em {
  font-style: normal;
  color: var(--c-accent);
}

.hero__lead {
  font-size: var(--fs-lead);
  color: var(--text-invert-soft);
  max-width: 56ch;
  margin-bottom: var(--sp-6);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-7);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__meta-item { font-size: var(--fs-sm); color: var(--text-invert-soft); }
.hero__meta-item strong { display: block; color: var(--c-white); font-size: 1.05rem; }

.hero__stage {
  position: relative;
}

.hero__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 13, 16, 0) 45%, rgba(11, 13, 16, 0.72) 100%);
}

.hero__media-tag {
  position: absolute;
  z-index: var(--z-content);
  left: var(--sp-5);
  bottom: var(--sp-5);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(11, 13, 16, 0.62);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-white);
}

.hero__media-tag svg { width: 15px; height: 15px; color: var(--c-accent); }

.hero__floaters {
  position: absolute;
  inset: -7% -4% -8% 2%;
  pointer-events: none;
  z-index: var(--z-decor);
}

.floater {
  position: absolute;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.35));
}

.floater--1 { top: 0; right: 0; width: 84px; }
.floater--2 { bottom: -11%; left: -3%; width: 96px; }
.floater--3 { bottom: 16%; right: 4%; width: 62px; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: var(--sp-5);
  transform: translateX(-50%);
  z-index: var(--z-content);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.68rem;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero__scroll span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
}

/* --- Inner page hero --- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 5.5rem));
  padding-bottom: clamp(3rem, 2rem + 4vw, 5rem);
  background: var(--c-ink);
  color: var(--text-invert-soft);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 120% at 85% 0%, rgba(226, 85, 43, 0.22) 0%, rgba(226, 85, 43, 0) 60%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: var(--z-content);
  max-width: 820px;
}

.page-hero h1 { color: var(--c-white); margin-bottom: var(--sp-4); }
.page-hero .lead { color: var(--text-invert-soft); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--sp-4);
}

.breadcrumb a:hover { color: var(--c-accent-soft); }
.breadcrumb svg { width: 13px; height: 13px; opacity: 0.6; }

/* --- Services grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--sp-5);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--c-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-med) var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleY(1); }

.service-card__index {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-mono);
  color: var(--c-steel-soft);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: var(--c-ink);
  color: var(--c-white);
}

.service-card__icon svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 1.1rem; }
.service-card p { font-size: var(--fs-sm); color: var(--text-muted); }

.section--dark .service-card {
  background: var(--c-ink-soft);
  border-color: rgba(255, 255, 255, 0.08);
}
.section--dark .service-card:hover { border-color: rgba(255, 255, 255, 0.2); }
.section--dark .service-card__icon { background: var(--c-accent); }
.section--dark .service-card p { color: var(--text-invert-soft); }

/* --- Scope statement --- */
.scope-block {
  padding: clamp(1.75rem, 1rem + 2.5vw, 3rem);
  border-radius: var(--r-lg);
  border-left: 4px solid var(--c-accent);
  background: var(--bg-soft);
}

.scope-block p {
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.2rem);
  color: var(--text-strong);
  line-height: 1.75;
}

.scope-block .eyebrow { margin-bottom: var(--sp-3); }

/* --- App highlight --- */
.app-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

.app-highlight--flip .app-highlight__media { order: -1; }

.app-badges { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.7rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--c-ink);
  color: var(--c-white);
  transition: transform var(--t-med) var(--ease-spring), box-shadow var(--t-med) var(--ease);
}

.store-badge:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }

.store-badge svg { width: 26px; height: 26px; }

.store-badge__text { display: flex; flex-direction: column; line-height: 1.2; }
.store-badge__text small {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.store-badge__text strong { font-size: 0.95rem; font-weight: 600; }

.phone-mock {
  position: relative;
  margin-inline: auto;
  width: min(300px, 100%);
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(160deg, #23282f, #0b0d10);
  box-shadow: var(--sh-dark);
}

.phone-mock::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 7px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.22);
}

.phone-mock__screen {
  border-radius: 32px;
  overflow: hidden;
  background: var(--c-ink-soft);
}

.phone-mock__screen img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }

.phone-mock__glow {
  position: absolute;
  inset: 12% -18% -6% -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 85, 43, 0.3) 0%, rgba(226, 85, 43, 0) 68%);
  filter: blur(28px);
  z-index: -1;
}

.feature-list { display: grid; gap: var(--sp-4); margin-top: var(--sp-6); }

.feature {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}

.feature__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: rgba(226, 85, 43, 0.12);
  color: var(--c-accent);
}

.feature__icon svg { width: 20px; height: 20px; }
.feature strong { display: block; color: var(--text-strong); margin-bottom: 2px; }
.feature span { font-size: var(--fs-sm); color: var(--text-muted); }
.section--dark .feature strong { color: var(--c-white); }
.section--dark .feature span { color: var(--text-invert-soft); }

.app-screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-5);
}

.app-screen {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-md);
  background: var(--c-white);
}

.app-screen img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.app-screen figcaption {
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* --- Stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
}

.stat-panel {
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--c-ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Timeline --- */
.timeline {
  position: relative;
  display: grid;
  gap: var(--sp-6);
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-accent), rgba(226, 85, 43, 0.05));
}

.tl-item { position: relative; }

.tl-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-white);
  border: 3px solid var(--c-accent);
  box-shadow: 0 0 0 5px rgba(226, 85, 43, 0.12);
}

.tl-item__year {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-mono);
  color: var(--c-accent);
  font-weight: 700;
}

.tl-item h3 { margin: var(--sp-2) 0 var(--sp-2); font-size: 1.15rem; }
.tl-item p { font-size: var(--fs-sm); color: var(--text-muted); }
.section--dark .tl-item p { color: var(--text-invert-soft); }
.section--dark .tl-item::before { background: var(--c-ink); }

/* --- News --- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-7);
}

.filter-chip {
  padding: 0.55rem 1.2rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-line-strong);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--t-fast) var(--ease);
}

.filter-chip:hover { border-color: var(--c-ink); color: var(--c-ink); }

.filter-chip.is-active {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: var(--c-white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: var(--sp-6);
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease),
    opacity var(--t-med) var(--ease);
}

.news-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); }

.news-card.is-hidden { display: none; }

.news-card__media { position: relative; overflow: hidden; }

.news-card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}

.news-card:hover .news-card__media img { transform: scale(1.06); }

.news-card__cat {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  padding: 0.32rem 0.8rem;
  border-radius: var(--r-pill);
  background: rgba(11, 13, 16, 0.72);
  backdrop-filter: blur(6px);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-white);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-5) var(--sp-6);
  flex: 1;
}

.news-card__date {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-steel);
}

.news-card h3 { font-size: 1.08rem; }
.news-card p { font-size: var(--fs-sm); color: var(--text-muted); flex: 1; }

.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-accent);
  margin-top: var(--sp-2);
}

.news-card__more svg { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease); }
.news-card:hover .news-card__more svg { transform: translateX(4px); }

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-8);
}

.pagination button {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-line-strong);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  display: grid;
  place-items: center;
  transition: all var(--t-fast) var(--ease);
}

.pagination button:hover { border-color: var(--c-ink); color: var(--c-ink); }
.pagination button.is-active {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: var(--c-white);
}

.pagination button:disabled { opacity: 0.35; cursor: not-allowed; }

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}

.contact-card {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-5);
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  background: var(--c-white);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

.contact-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }

.contact-card__icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: var(--c-ink);
  color: var(--c-white);
}

.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h4 { margin-bottom: 4px; font-size: 0.95rem; }
.contact-card p, .contact-card a { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.6; }
.contact-card a:hover { color: var(--c-accent); }

.map-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-md);
  background: var(--c-mist);
}

.map-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.map-frame__caption {
  position: absolute;
  left: var(--sp-5);
  bottom: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  background: rgba(11, 13, 16, 0.86);
  color: var(--c-white);
  font-size: var(--fs-sm);
  max-width: 340px;
}

.map-frame__caption strong { display: block; margin-bottom: 4px; }
.map-frame__caption span { color: var(--text-invert-soft); font-size: var(--fs-xs); }

/* --- CTA band --- */
.cta-band {
  position: relative;
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  border-radius: var(--r-xl);
  background: linear-gradient(120deg, var(--c-ink) 0%, var(--c-ink-soft) 55%, #232a35 100%);
  color: var(--text-invert-soft);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  align-items: center;
  justify-content: space-between;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 85, 43, 0.35) 0%, rgba(226, 85, 43, 0) 68%);
}

.cta-band h2 { color: var(--c-white); margin-bottom: var(--sp-3); position: relative; z-index: var(--z-content); }
.cta-band p { color: var(--text-invert-soft); position: relative; z-index: var(--z-content); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); position: relative; z-index: var(--z-content); }

/* --- Culture values --- */
.value-card {
  position: relative;
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

.value-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }

.value-card__num {
  position: absolute;
  right: var(--sp-4);
  top: var(--sp-3);
  font-family: var(--ff-display);
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--c-mist);
  line-height: 1;
  transition: color var(--t-med) var(--ease);
}

.value-card:hover .value-card__num { color: rgba(226, 85, 43, 0.22); }
.value-card h3 { margin-bottom: var(--sp-3); }
.value-card p { font-size: var(--fs-sm); color: var(--text-muted); }

.mascot-band {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  align-items: center;
  justify-content: center;
  padding: var(--sp-7);
  border-radius: var(--r-xl);
  background: var(--bg-soft);
  border: 1px dashed var(--c-line-strong);
}

/* --------------------------------------------------------------------------
   10. LEGAL DOCUMENT  [reuse-I]
   -------------------------------------------------------------------------- */
.legal {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}

.legal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  background: var(--bg-soft);
  border: 1px solid var(--c-line);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--sp-7);
}

.legal h2 {
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-line);
  font-size: 1.5rem;
}

.legal h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }

.legal h3 {
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
  font-size: 1.1rem;
}

.legal p { margin-bottom: var(--sp-4); }

.legal ul,
.legal ol {
  margin: 0 0 var(--sp-5);
  padding-left: 1.35rem;
  display: grid;
  gap: var(--sp-2);
}

.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li::marker { color: var(--c-accent); font-weight: 700; }

.legal a { color: var(--c-accent); font-weight: 600; }
.legal a:hover { text-decoration: underline; }

.legal .table-wrap { margin: var(--sp-5) 0 var(--sp-6); }
.legal .data-table { min-width: 680px; }

.legal__note {
  padding: var(--sp-5);
  border-radius: var(--r-md);
  background: rgba(226, 85, 43, 0.06);
  border-left: 3px solid var(--c-accent);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-5);
}

.legal__note strong { color: var(--text-strong); }

/* --------------------------------------------------------------------------
   11. MASCOTS + utility
   -------------------------------------------------------------------------- */
.mascot {
  width: 100%;
  height: auto;
  color: var(--c-accent);
  transition: transform var(--t-med) var(--ease-spring);
}

.mascot--sm { width: 44px; }
.mascot--md { width: 72px; }
.mascot--lg { width: 120px; }

a:hover .mascot,
.card:hover .mascot,
.service-card:hover .mascot,
.news-card:hover .mascot { transform: scale(1.1) rotate(-6deg); }

.mascot-fallback {
  display: inline-grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 0.7em;
  border-radius: 50%;
  background: rgba(226, 85, 43, 0.12);
}

.icon { width: 24px; height: 24px; flex: 0 0 auto; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 34px; height: 34px; }

#sprite-host { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Graceful degradation: if the sprite cannot be fetched, drop the empty
   icon shells instead of leaving blank dark squares on the page. */
.sprite-missing .brand__mark,
.sprite-missing .service-card__icon,
.sprite-missing .card__icon,
.sprite-missing .feature__icon,
.sprite-missing .contact-card__icon,
.sprite-missing .step__index {
  display: none;
}

.to-top {
  position: fixed;
  right: clamp(1rem, 0.5rem + 1.5vw, 2rem);
  bottom: clamp(1rem, 0.5rem + 1.5vw, 2rem);
  z-index: var(--z-to-top);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c-ink);
  color: var(--c-white);
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease),
    visibility var(--t-med) var(--ease), background var(--t-fast) var(--ease);
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-accent); }
.to-top svg { width: 20px; height: 20px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: var(--z-toast);
  padding: 0.8rem 1.4rem;
  background: var(--c-accent);
  color: var(--c-white);
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 700;
}

.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   12. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --header-h: 68px; }

  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__stage { order: -1; max-width: 640px; }
  .hero { min-height: auto; }
  .app-highlight, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .app-highlight--flip .app-highlight__media { order: 0; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .nav-toggle { display: grid; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: var(--z-drawer);
    background: rgba(11, 13, 16, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--sp-5) var(--gutter) var(--sp-7);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease),
      visibility var(--t-med) var(--ease);
  }

  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }

  .nav__link {
    display: block;
    padding-block: var(--sp-4);
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--c-accent-soft); }

  .header__actions .btn { display: none; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .grid--auto { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .news-grid { grid-template-columns: minmax(0, 1fr); }
  .app-screens { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__meta { gap: var(--sp-5); }
  .floater--1 { width: 64px; }
  .floater--2, .floater--3 { display: none; }
  .hero__scroll { display: none; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .scope-block { border-left-width: 3px; }
}

@media (max-width: 480px) {
  :root {
    --gutter: 1.25rem;
    --fs-display: clamp(1.85rem, 1.05rem + 4.2vw, 2.6rem);
    --fs-h1: clamp(1.7rem, 1.05rem + 3.4vw, 2.35rem);
    --fs-h2: clamp(1.5rem, 1.1rem + 2vw, 2rem);
  }

  .stats { grid-template-columns: minmax(0, 1fr); }
  .brand__sub { display: none; }
  .hero__actions .btn { width: 100%; }
  .app-badges { flex-direction: column; align-items: stretch; }
  .store-badge { justify-content: center; }
  .pagination { flex-wrap: wrap; }
  .hero__meta { gap: var(--sp-4); }
}

/* --------------------------------------------------------------------------
   13. UTILITIES — small layout helpers so no HTML ever needs an inline style
   -------------------------------------------------------------------------- */
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mb-0 { margin-bottom: 0; }
.mb-5 { margin-bottom: var(--sp-5); }
.max-640 { max-width: 640px; }
.link-accent { color: var(--c-accent); font-weight: 600; }
.link-accent:hover { text-decoration: underline; }
.max-820 { max-width: 820px; }
.grid--center { align-items: center; }
.gap-lg { gap: var(--sp-8); }
.feature-list--tight { margin-top: 0; }

.section-head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--sp-6);
  flex-wrap: wrap;
  max-width: none;
}

.section-head--split .section-head__title { margin-bottom: var(--sp-2); }

.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   14. REDUCED MOTION GUARD
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1 !important; transform: none !important; }
  .floater, .mascot { animation: none !important; }
  .btn:hover, .card:hover, .service-card:hover, .news-card:hover,
  .value-card:hover, .contact-card:hover { transform: none !important; }
}
