/* ============================================
   竞博JBO·中国官网 — 全站共享样式
   /assets/site.css
   ============================================ */

/* ---------- 1. Tokens & Reset ---------- */
:root {
  --color-primary: #1B5E8A;
  --color-primary-soft: #DCEAF2;
  --color-primary-light: #2E8BB0;
  --color-bg: #F7F3EB;
  --color-surface: #FFFFFF;
  --color-text: #2A1F18;
  --color-text-muted: #5C4534;
  --color-muted: #8A9BA8;
  --color-accent: #E85C0A;
  --color-accent-soft: #FFB46B;
  --color-gold: #C9972C;
  --color-error: #B33A3A;
  --color-border: rgba(138, 155, 168, 0.55);
  --color-border-soft: rgba(138, 155, 168, 0.28);

  --font-heading: "Source Han Sans SC", "Noto Sans CJK SC", "思源黑体", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Source Han Serif SC", "Noto Serif CJK SC", "思源宋体", "Songti SC", "STSong", "SimSun", serif;

  --fs-h1: 2.5rem;
  --fs-h2: 2rem;
  --fs-h3: 1.5rem;
  --fs-body: 1rem;
  --fs-caption: 0.875rem;

  --lh-heading: 1.2;
  --lh-body: 1.7;

  --container: 1200px;
  --container-pad: clamp(16px, 4vw, 40px);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-soft: 0 12px 32px rgba(42, 31, 24, 0.08);
  --shadow-float: 0 18px 44px rgba(42, 31, 24, 0.14);
  --shadow-primary: 0 8px 22px rgba(27, 94, 138, 0.26);
}

*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse at 88% 2%, rgba(201, 151, 44, 0.09), transparent 52%),
    radial-gradient(ellipse at 4% 30%, rgba(27, 94, 138, 0.06), transparent 46%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  display: block;
}

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

ul, ol {
  list-style: none;
}

a {
  color: var(--color-primary-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: var(--lh-heading);
  color: var(--color-text);
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

p {
  margin-bottom: 0.9em;
}

strong, b {
  font-weight: 700;
  color: var(--color-text);
}

::selection {
  background: rgba(232, 92, 10, 0.22);
  color: var(--color-text);
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 2. Utilities ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  transform: translateY(-120%);
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 0 0 var(--radius-sm) 0;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  color: #fff;
}

#main-content {
  scroll-margin-top: 96px;
}

#main-content:focus {
  outline: none;
}

[data-scroll-spy] {
  scroll-margin-top: 150px;
}

@media (max-width: 959px) {
  [data-scroll-spy] {
    scroll-margin-top: 120px;
  }
}

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: #134B6D;
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.btn--accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-gold) 130%);
  color: #fff;
}

.btn--accent:hover {
  color: #fff;
  box-shadow: 0 10px 26px rgba(232, 92, 10, 0.32);
  transform: translateY(-2px);
}

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

.btn--ghost:hover {
  border-color: var(--color-primary);
  background: rgba(27, 94, 138, 0.05);
  color: var(--color-primary);
}

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 600;
  background: var(--color-bg);
  box-shadow: 0 1px 0 rgba(27, 94, 138, 0.12);
}

.header-scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 5;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-soft) 55%, var(--color-gold));
  border-radius: 0 3px 3px 0;
  pointer-events: none;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}

@media (min-width: 960px) {
  .header-inner {
    flex-wrap: nowrap;
  }

  .brand {
    margin-right: auto;
  }

  .header-tools {
    display: none;
  }

  .search {
    flex: 0 1 340px;
  }
}

/* ---------- 5. Brand ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--color-primary);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #124467 0%, var(--color-primary) 42%, var(--color-primary-light) 78%, var(--color-accent-soft) 140%);
  box-shadow: 0 4px 14px rgba(27, 94, 138, 0.28);
  transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
  transform: translateY(-2px) scale(1.02);
}

.brand-svg {
  width: 30px;
  height: 30px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--color-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- 6. Search ---------- */
.search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  color: var(--color-text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.search-input::placeholder {
  color: var(--color-muted);
  opacity: 0.85;
}

.search-input:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(46, 139, 176, 0.18);
  background: #fff;
}

.search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 80;
  padding: 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  max-height: min(320px, 60vh);
  overflow-y: auto;
}

.search-suggest-item {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-caption);
  color: var(--color-text);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.search-suggest-item:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.search-suggest-empty {
  display: block;
  padding: 12px 14px;
  font-size: var(--fs-caption);
  color: var(--color-muted);
}

/* ---------- 7. Header Tools & Nav Toggle ---------- */
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.nav-toggle-bar {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-toggle-text {
  font-size: 0.875rem;
  font-weight: 700;
}

/* ---------- 8. Command Bar Nav ---------- */
.site-nav {
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 10px),
    linear-gradient(135deg, #124467 0%, var(--color-primary) 48%, var(--color-primary-light) 100%);
}

.nav-container {
  display: flex;
  align-items: stretch;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.nav-item {
  display: flex;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 20px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(247, 243, 235, 0.85);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: var(--color-accent-soft);
}

.nav-link.is-spied {
  color: #fff;
  background: rgba(255, 180, 107, 0.14);
  border-bottom-color: var(--color-accent-soft);
}

.nav-link[aria-current="page"] {
  color: #fff;
  background: rgba(232, 92, 10, 0.28);
  border-bottom-color: var(--color-accent);
}

.nav-index {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-accent-soft);
}

.nav-label {
  display: inline-block;
}

@media (max-width: 959px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .brand {
    order: 1;
    margin-right: auto;
  }

  .header-tools {
    order: 2;
  }

  .search {
    order: 3;
    flex: 1 0 100%;
    margin-left: 0;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    z-index: 50;
    background: var(--color-primary);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 26px 44px rgba(42, 31, 24, 0.24);
  }

  .site-nav[data-open] {
    display: block;
  }

  .nav-container {
    width: 100%;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    padding: 8px 0;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(247, 243, 235, 0.1);
    border-radius: 0;
  }

  .nav-item:last-child .nav-link {
    border-bottom-color: transparent;
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-link.is-spied {
    background: rgba(255, 180, 107, 0.16);
  }

  .nav-link[aria-current="page"] {
    background: rgba(232, 92, 10, 0.3);
  }
}

/* ---------- 9. Breadcrumb ---------- */
.breadcrumb {
  margin-bottom: 28px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 6px;
  color: var(--color-muted);
}

.breadcrumb-link {
  color: var(--color-muted);
  text-decoration: none;
}

.breadcrumb-link:hover {
  color: var(--color-primary);
}

.breadcrumb-current {
  color: var(--color-text);
  font-weight: 600;
}

/* ---------- 10. Content & Sections ---------- */
.content {
  padding-block: clamp(36px, 6vw, 76px);
}

.prose {
  max-width: 72ch;
}

.prose p {
  margin-bottom: 1.1em;
  text-align: justify;
  text-justify: inter-ideograph;
  line-height: 1.85;
}

.prose h2 {
  margin-top: 2.4rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--color-border-soft);
}

.prose h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.7rem;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section {
  padding-block: 28px;
  border-top: 1px solid var(--color-border-soft);
}

.section--panel {
  padding: clamp(24px, 4vw, 44px);
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.section-kicker::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
}

.section-title {
  margin-bottom: 16px;
  font-size: var(--fs-h2);
  font-weight: 900;
  color: var(--color-text);
}

.section-lead {
  max-width: 62ch;
  margin-bottom: 32px;
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

.stack-panels {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

/* ---------- 11. Grids ---------- */
.grid {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2x1 {
  grid-template-columns: 2fr 1fr;
}

.grid--1x2 {
  grid-template-columns: 1fr 2fr;
}

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

  .grid--2x1,
  .grid--1x2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

/* ---------- 12. Panels ---------- */
.panel {
  padding: clamp(22px, 3vw, 32px);
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 0 rgba(42, 31, 24, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panel--float {
  border-color: transparent;
  box-shadow: var(--shadow-float);
}

.panel--float:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(42, 31, 24, 0.16);
}

.panel--tinted {
  background: var(--color-primary-soft);
  border-color: transparent;
}

/* ---------- 13. Image Frames ---------- */
.img-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary-soft) 0%, rgba(220, 234, 242, 0.55) 100%);
  border: 1px solid var(--color-border-soft);
}

.img-frame--16-9 {
  aspect-ratio: 16 / 9;
}

.img-frame--4-3 {
  aspect-ratio: 4 / 3;
}

.img-frame--hero {
  aspect-ratio: 7 / 6;
}

.img-frame > img,
.img-frame > picture > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 14. Hero Split ---------- */
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(48px, 9vh, 110px);
}

.hero-copy h1 {
  font-size: var(--fs-h1);
  font-weight: 900;
  margin-bottom: 20px;
}

.hero-copy p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

.hero-visual {
  position: relative;
  min-height: 360px;
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 300px;
  }
}

.terrain-bg {
  background:
    radial-gradient(ellipse at 72% 26%, rgba(232, 92, 10, 0.12), transparent 54%),
    repeating-radial-gradient(ellipse at 70% 38%, transparent 0 16px, rgba(27, 94, 138, 0.07) 16px 17px),
    linear-gradient(160deg, rgba(220, 234, 242, 0.5), rgba(247, 243, 235, 0.8) 60%);
}

/* ---------- 15. Native Collapsible ---------- */
details {
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  overflow: hidden;
}

details + details {
  margin-top: 12px;
}

summary {
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text);
  list-style: none;
  transition: background-color 0.2s ease;
}

summary::-webkit-details-marker {
  display: none;
}

summary:hover {
  background: var(--color-primary-soft);
}

summary::before {
  content: "+";
  display: inline-block;
  width: 20px;
  margin-right: 10px;
  color: var(--color-accent);
  font-weight: 700;
  transition: transform 0.25s ease;
}

details[open] summary::before {
  transform: rotate(45deg);
}

details > *:not(summary) {
  padding-inline: 22px;
  padding-bottom: 18px;
}

/* ---------- 16. Footer ---------- */
.site-footer {
  margin-top: clamp(48px, 8vw, 96px);
  background:
    repeating-linear-gradient(115deg, rgba(247, 243, 235, 0.018) 0 1px, transparent 1px 12px),
    linear-gradient(165deg, #1F1710 0%, var(--color-text) 55%, #4A3422 100%);
  color: rgba(247, 243, 235, 0.82);
  border-top: 3px solid var(--color-accent);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 1.2fr;
  gap: clamp(24px, 4vw, 56px);
  padding-block: 60px 48px;
}

.footer-col {
  min-width: 0;
}

.footer-col--contact {
  position: relative;
}

@media (min-width: 1000px) {
  .footer-col--contact {
    padding-left: 30px;
    border-left: 1px solid rgba(247, 243, 235, 0.14);
  }
}

.brand--footer {
  color: var(--color-bg);
  text-decoration: none;
}

.brand--footer:hover {
  color: var(--color-accent-soft);
}

.brand--footer .brand-mark {
  background: linear-gradient(135deg, #124467 0%, #1F608E 70%, #2E8BB0 100%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.brand--footer .brand-name {
  color: var(--color-bg);
}

.brand--footer .brand-tagline {
  color: rgba(247, 243, 235, 0.55);
}

.footer-blurb {
  margin-top: 18px;
  max-width: 34em;
  font-size: var(--fs-caption);
  line-height: 1.9;
  color: rgba(247, 243, 235, 0.7);
}

.footer-heading {
  margin-bottom: 20px;
  padding-bottom: 10px;
  color: var(--color-bg);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(247, 243, 235, 0.16);
  position: relative;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-gold) 100%);
}

.footer-nav-list a,
.footer-help-list a {
  display: inline-block;
  padding-block: 3px;
  color: rgba(247, 243, 235, 0.76);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav-list a:hover,
.footer-help-list a:hover {
  color: var(--color-accent-soft);
  transform: translateX(4px);
}

.footer-contact-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(247, 243, 235, 0.78);
}

.footer-contact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-accent-soft);
  opacity: 0.85;
}

.footer-legal {
  background: rgba(0, 0, 0, 0.22);
  border-top: 1px solid rgba(247, 243, 235, 0.09);
}

.footer-legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 32px;
  padding-block: 18px;
}

.footer-trust {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(247, 243, 235, 0.56);
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(247, 243, 235, 0.62);
  white-space: nowrap;
}

/* ---------- 17. Back to Top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
}

.back-to-top:hover {
  background: var(--color-accent);
  color: #fff;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- 18. Responsive ---------- */
@media (max-width: 1000px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-col--contact {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .brand-svg {
    width: 24px;
    height: 24px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-tagline {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .nav-toggle {
    padding: 8px 12px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

/* ---------- 19. Reduced Motion & Smooth Scroll ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
