:root {
  --c-bg: #F5F0E8;
  --c-surface: #FFFDF8;
  --c-ink: #1A1816;
  --c-body: #2E2A27;
  --c-muted: #7C6B58;
  --c-accent: #5A6B4E;
  --c-accent-strong: #7B8A5A;
  --c-warm: #B05E3C;
  --c-line: #C7B8A6;
  --c-deep: #10233F;
  --c-deep-2: #1B3456;
  --c-energy: #FF6A2B;
  --c-highlight: #D9F24B;
  --c-text-dark: #F5F0E8;
  --c-header-bg: rgba(46, 42, 39, 0.86);
  --c-header-solid: #2E2A27;
  --header-h: 72px;
  --container: 1200px;
  --radius: 24px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --font-head: "Arial Black", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", Arial, Helvetica, sans-serif;
}

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

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

body {
  min-height: 100vh;
  padding-top: var(--header-h);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: var(--c-body);
  background: var(--c-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}

p {
  margin-bottom: 1em;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

ul, ol {
  padding-left: 1.5em;
}

a {
  color: var(--c-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s, text-decoration-color 0.2s;
}

a:hover {
  color: var(--c-warm);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--c-energy);
  outline-offset: 2px;
  border-radius: 4px;
}

#main-content {
  display: block;
  min-height: 50vh;
  scroll-margin-top: var(--header-h);
}

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

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: var(--c-header-bg);
  color: var(--c-text-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: var(--c-header-solid);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
  border-bottom-color: var(--c-warm);
}

.site-header__inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 10;
  transform: translateY(-150%);
  transition: transform 0.18s ease;
  background: var(--c-warm);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
}

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

.site-header__brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.brand {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}

.brand:hover {
  color: var(--c-highlight);
  text-decoration: none;
}

.brand__dot {
  color: var(--c-energy);
}

.site-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.site-nav__link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
}

.site-nav__link[aria-current="page"] {
  background: var(--c-warm);
  color: #fff;
  box-shadow: 0 6px 16px rgba(176, 94, 60, 0.35);
}

.site-nav__num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 900;
  opacity: 0.65;
}

.site-nav__link[aria-current="page"] .site-nav__num {
  opacity: 1;
}

.site-header__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  white-space: nowrap;
}

.site-header__phone {
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.site-header__trust {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 12px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle:active {
  transform: translateY(1px);
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  border-radius: 2px;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: inherit;
  transition: transform 0.2s, top 0.2s;
}

.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__label {
  font-weight: 600;
}

.site-header__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  z-index: 2;
}

.site-header__progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c-warm), var(--c-energy), var(--c-highlight));
  border-radius: 0 2px 2px 0;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--c-deep);
  color: rgba(245, 240, 232, 0.75);
  font-size: 0.95rem;
  margin-top: 80px;
  padding: 60px 0 28px;
}

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(217, 242, 75, 0.15);
}

.site-footer__brand .brand {
  font-size: 1.8rem;
  color: #fff;
}

.brand--footer {
  color: #fff;
}

.site-footer__brand p {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 32ch;
}

.site-footer__title {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-highlight);
  margin-bottom: 16px;
}

.site-footer__nav ul,
.site-footer__pages ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.site-footer__nav a,
.site-footer__pages a {
  color: rgba(245, 240, 232, 0.8);
  text-decoration: none;
}

.site-footer__nav a:hover,
.site-footer__pages a:hover {
  color: var(--c-highlight);
  text-decoration: underline;
}

.site-footer__contact p {
  margin-bottom: 8px;
  line-height: 1.6;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  color: rgba(245, 240, 232, 0.55);
  font-size: 0.85rem;
}

.site-footer__legal span {
  display: inline-block;
}

/* ===== Page Primitives ===== */
.page-head {
  padding: 56px 0 24px;
}

.page-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--c-ink);
}

.page-head__lead {
  font-size: 1.125rem;
  color: var(--c-muted);
  max-width: 60ch;
  margin-top: 12px;
  line-height: 1.8;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--c-muted);
  margin: 20px 0 4px;
}

.breadcrumbs a {
  color: var(--c-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--c-warm);
  text-decoration: underline;
}

.breadcrumbs__sep {
  color: var(--c-line);
}

.section-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 48px 0 20px;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--c-ink);
}

.section-title__num {
  font-size: 2.5rem;
  color: var(--c-warm);
  line-height: 1;
}

/* ===== Components ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--c-warm);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s, color 0.2s;
}

.btn:hover {
  background: #9A4E32;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(176, 94, 60, 0.35);
}

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

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

.btn--ghost:hover {
  background: var(--c-accent);
  color: #fff;
  box-shadow: none;
}

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(26, 24, 22, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--c-accent);
  box-shadow: 0 12px 28px rgba(90, 107, 78, 0.14);
}

.card--accent {
  border-top: 6px solid var(--c-warm);
}

.card--accent:hover {
  border-top-color: var(--c-energy);
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--c-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.tag--energy {
  background: var(--c-energy);
}

.tag--highlight {
  background: var(--c-highlight);
  color: var(--c-ink);
}

.notice {
  border-left: 4px solid var(--c-warm);
  background: rgba(176, 94, 60, 0.1);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}

.notice p:last-child {
  margin-bottom: 0;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

.img-placeholder {
  background: linear-gradient(135deg, var(--c-line) 0%, var(--c-surface) 100%);
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(26, 24, 22, 0.4);
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  text-transform: uppercase;
  overflow: hidden;
}

.img-placeholder--tall {
  aspect-ratio: 4 / 5;
}

.list {
  list-style: none;
  padding-left: 0;
}

.list li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 0.5em;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--c-warm);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--c-warm);
  text-decoration: none;
}

.link-more::after {
  content: "→";
  transition: transform 0.2s;
}

.link-more:hover::after {
  transform: translateX(4px);
}

/* ===== Rail Layout ===== */
.rail-shell {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.rail-nav {
  padding-top: 28px;
}

.rail-nav__list {
  list-style: none;
  padding-left: 0;
  border-left: 2px solid var(--c-line);
}

.rail-nav__item {
  margin: 0;
}

.rail-nav__link {
  display: block;
  padding: 8px 0 8px 20px;
  color: var(--c-body);
  font-weight: 600;
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -2px;
}

.rail-nav__link:hover {
  color: var(--c-warm);
}

.rail-nav__link[aria-current="page"] {
  border-left-color: var(--c-warm);
  color: var(--c-warm);
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  :root {
    --header-h: 68px;
  }

  .site-nav__num {
    display: none;
  }

  .site-nav__link {
    padding: 8px 14px;
    font-size: 0.9rem;
  }

  .site-header__meta {
    display: none;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  :root {
    --header-h: 64px;
  }

  .site-header__inner {
    padding: 0 16px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--c-header-solid);
    padding: 16px;
    border-bottom: 1px solid var(--c-line);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
  }

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

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-nav__link {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .site-nav__num {
    display: inline;
  }

  .site-header__progress {
    height: 3px;
  }

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

  .rail-shell {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rail-nav {
    display: none;
  }

  .site-footer {
    padding: 40px 0 24px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer__legal {
    justify-content: center;
    text-align: center;
  }

  .page-head {
    padding-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
