/* ============================================================
   NOVEX Industries — Global Stylesheet
   Minimalist premium industrial design system
   Zero external dependencies (fast worldwide access)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f4;
  --bg-deep: #101214;
  --ink: #14161a;
  --ink-soft: #2a2d33;
  --muted: #6a7078;
  --line: #e6e6e2;
  --line-dark: #292c31;
  --accent: #2457f5;
  --accent-soft: #eef2ff;
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-sm: 0 1px 2px rgba(16, 18, 20, .05);
  --shadow-md: 0 12px 32px -12px rgba(16, 18, 20, .16);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -0.015em; line-height: 1.22; }
p { margin: 0; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); }
.section-head--center .eyebrow::before { display: none; }
h2.section-title { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.section-sub { margin-top: 16px; color: var(--muted); font-size: 1.0625rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 8px;
  font-size: .9688rem; font-weight: 600; letter-spacing: .01em;
  transition: all .25s var(--ease); white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -16px rgba(0,0,0,.4); }
.btn--outline-light { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn--outline-light:hover { border-color: #fff; }
.btn--sm { padding: 10px 20px; font-size: .9063rem; }
.btn--lg { padding: 16px 34px; font-size: 1.0313rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .9375rem; color: var(--ink);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(16,18,20,.04); }
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: .01em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-size: .875rem; font-weight: 800; letter-spacing: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 1.0938rem; font-weight: 750; }
.brand-sub { font-size: .625rem; font-weight: 600; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 9px 15px; border-radius: 8px;
  font-size: .9375rem; font-weight: 550; color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.main-nav a.is-active { color: var(--ink); font-weight: 650; background: var(--bg-soft); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  font-size: .8125rem; font-weight: 650;
}
.lang-switch button {
  padding: 7px 12px; color: var(--muted); transition: all .2s;
}
.lang-switch button.is-on { background: var(--ink); color: #fff; }
.lang-switch button:not(.is-on):hover { color: var(--ink); background: var(--bg-soft); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 8px;
  place-items: center; border: 1px solid var(--line);
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
body.menu-open .nav-toggle .icon-menu { display: none; }
body.menu-open .nav-toggle .icon-close { display: block; }

/* Mobile drawer */
@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px 20px 22px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: all .28s var(--ease);
    box-shadow: 0 24px 40px -20px rgba(16,18,20,.15);
  }
  body.menu-open .main-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 14px 16px; font-size: 1.0313rem; }
  .header-actions .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(56px, 8vw, 88px);
  background: var(--bg-soft);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 72px); align-items: center;
}
.hero-eyebrow { color: var(--accent); }
.hero h1 {
  font-size: clamp(2.35rem, 5.2vw, 3.9rem);
  font-weight: 720; letter-spacing: -0.025em; line-height: 1.12;
}
.hero h1 .hl { color: var(--accent); }
.hero-lead {
  margin-top: 22px; max-width: 540px;
  color: var(--muted); font-size: clamp(1.0313rem, 1.6vw, 1.1563rem);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 3.05; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: 0 32px 64px -32px rgba(16,18,20,.35);
}
.hero-badge {
  position: absolute; left: 22px; bottom: 22px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 12px; padding: 12px 18px;
  box-shadow: var(--shadow-md);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.hero-badge .txt { font-size: .8438rem; font-weight: 600; color: var(--ink-soft); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16 / 10; }
  .hero { padding-top: calc(var(--header-h) + 32px); }
}

/* Stats band */
.stats-band { border-top: 1px solid var(--line); background: var(--bg); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(36px, 5vw, 56px) 0;
}
.stat { text-align: left; }
.stat > b {
  display: block; font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 720; letter-spacing: -0.02em; line-height: 1.1;
}
.stat > b .unit { font-size: .55em; font-weight: 650; color: var(--accent); margin-left: 2px; }
.stat > span { display: block; margin-top: 8px; color: var(--muted); font-size: .9063rem; }
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
}

/* ---------- Product cards ---------- */
.grid-products {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); }

.product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: #d8d8d4;
  box-shadow: var(--shadow-md);
}
.product-card .thumb {
  aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft);
}
.product-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.product-card:hover .thumb img { transform: scale(1.045); }
.product-card .body {
  display: flex; flex-direction: column; flex: 1;
  padding: 22px 24px 26px;
}
.product-card .tag {
  font-size: .75rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.product-card h3 { font-size: 1.1875rem; font-weight: 680; }
.product-card p { margin-top: 10px; color: var(--muted); font-size: .9375rem; line-height: 1.65; flex: 1; }
.product-card .link-arrow { margin-top: 18px; }

@media (max-width: 1024px) { .grid-products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .grid-products, .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Feature / industry tiles ---------- */
.grid-industries {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 2vw, 22px);
}
.industry-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 16px 22px; text-align: center;
  transition: all .3s var(--ease);
}
.industry-tile:hover { border-color: var(--ink); transform: translateY(-3px); }
.industry-tile svg { width: 30px; height: 30px; margin: 0 auto 14px; color: var(--accent); }
.industry-tile span { font-size: .9063rem; font-weight: 600; }
@media (max-width: 1024px) { .grid-industries { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .grid-industries { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Split section (image + text) ---------- */
.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.split img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.split-media { position: relative; }
.split-body h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.split-body .lead { margin-top: 18px; color: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Checklist */
.checklist { margin-top: 26px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg {
  width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--accent);
}
.checklist b { font-weight: 650; }
.checklist p { color: var(--muted); font-size: .9375rem; margin-top: 2px; }

/* ---------- Value / advantage cards ---------- */
.grid-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px;
}
.value-card .ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft);
  display: grid; place-items: center; margin-bottom: 20px;
}
.value-card .ico svg { width: 22px; height: 22px; color: var(--accent); }
.value-card h3 { font-size: 1.125rem; }
.value-card p { margin-top: 10px; color: var(--muted); font-size: .9375rem; }
@media (max-width: 900px) { .grid-values { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--bg-deep); color: #fff;
  border-radius: 0; overflow: hidden;
}
.cta-band .inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: clamp(48px, 6vw, 80px) 0;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); max-width: 560px; }
.cta-band p { margin-top: 12px; color: rgba(255,255,255,.62); max-width: 520px; }
.cta-band .actions { display: flex; gap: 14px; flex: none; flex-wrap: wrap; }
@media (max-width: 860px) {
  .cta-band .inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(32px, 5vw, 56px);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .8438rem; color: var(--muted); margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .cur { color: var(--ink); font-weight: 600; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 720; letter-spacing: -0.02em; }
.page-hero .sub { margin-top: 16px; max-width: 640px; color: var(--muted); font-size: 1.0625rem; }

/* Detail page top spacing (no page-hero band) */
.page-top { padding-top: calc(var(--header-h) + clamp(20px, 4vw, 40px)); }

/* ---------- Filter chips ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-size: .9063rem; font-weight: 600; color: var(--muted); background: #fff;
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Product detail ---------- */
.detail-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 64px); align-items: start;
}
.detail-media {
  background: var(--bg-soft); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line);
}
.detail-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.detail-info .tag {
  font-size: .75rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.detail-info h1 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.detail-info .desc { margin-top: 18px; color: var(--muted); }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.detail-highlights { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 26px; display: grid; gap: 14px; }
.detail-highlights li { display: flex; gap: 12px; font-size: .9375rem; align-items: flex-start; }
.detail-highlights svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }

.spec-table-wrap { margin-top: 0; }
.spec-table-wrap h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 28px; }
table.spec-table { width: 100%; border-collapse: collapse; font-size: .9688rem; }
.spec-table th, .spec-table td {
  text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table thead th {
  background: var(--bg-soft); font-weight: 650; font-size: .875rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.spec-table tbody tr:hover td { background: #fafaf8; }
.spec-table td:first-child { width: 42%; font-weight: 600; }

@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .spec-table th, .spec-table td { padding: 13px 14px; font-size: .9063rem; }
}

/* Detail: applications row + result count */
.detail-apps {
  display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap;
  margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line);
}
.detail-apps-label { font-size: .875rem; font-weight: 650; color: var(--muted); }
.chips-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chips-row .chip { cursor: default; }
.result-count { color: var(--muted); font-size: .9063rem; margin: -18px 0 28px; }

/* ---------- About page ---------- */
.timeline { margin-top: clamp(40px, 6vw, 64px); border-left: 2px solid var(--line); padding-left: 32px; display: grid; gap: 36px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ""; position: absolute; left: -39px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent);
}
.timeline-item .year { font-weight: 720; font-size: 1.125rem; color: var(--accent); }
.timeline-item h3 { font-size: 1.0938rem; margin-top: 4px; }
.timeline-item p { color: var(--muted); margin-top: 6px; font-size: .9375rem; }

/* Certifications */
.cert-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cert-badge {
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  padding: 20px 38px; font-weight: 700; font-size: 1.0625rem;
  letter-spacing: .05em; color: var(--ink-soft);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.contact-card .ico {
  width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft);
  display: grid; place-items: center; flex: none;
}
.contact-card .ico svg { width: 20px; height: 20px; color: var(--accent); }
.contact-card h3 { font-size: .9375rem; font-weight: 650; }
.contact-card p, .contact-card a.val { color: var(--muted); font-size: .9375rem; margin-top: 3px; display: block; }
.contact-card a.val:hover { color: var(--accent); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
}
.form-card h2 { font-size: 1.375rem; margin-bottom: 6px; }
.form-card .hint { color: var(--muted); font-size: .9063rem; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .875rem; font-weight: 600; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  font-size: .9688rem; outline: none; transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(36,87,245,.12);
}
.form-note { margin-top: 16px; font-size: .8438rem; color: var(--muted); }
.form-ok {
  margin-top: 16px; padding: 13px 16px; border-radius: 8px;
  background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; font-size: .9375rem;
}
.contact-intro { margin-bottom: 24px; }
.contact-intro h2 { font-size: 1.25rem; }
.contact-intro p { color: var(--muted); font-size: .9375rem; margin-top: 6px; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); color: #fff; }
.footer-top {
  display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.4fr));
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(56px, 7vw, 88px) 0 clamp(40px, 5vw, 56px);
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand-mark { background: #fff; color: var(--bg-deep); }
.footer-brand .brand-sub { color: rgba(255,255,255,.45); }
.footer-brand p { margin-top: 20px; color: rgba(255,255,255,.55); font-size: .9375rem; max-width: 320px; }
.footer-col h4 {
  font-size: .8125rem; font-weight: 650; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: rgba(255,255,255,.78); font-size: .9375rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 24px 0 30px; color: rgba(255,255,255,.42); font-size: .8438rem;
}
.footer-bottom .legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Misc ---------- */
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Smooth placeholder for lazy images */
img[loading="lazy"] { background: var(--bg-soft); }

/* Add top padding to pages without hero for fixed header (contact etc. handled by page-hero) */
main { display: block; }
