/* ================================================
   深圳鑫小汇网络科技有限公司 — 企业官网
   Design: Warm parchment editorial aesthetic
   Prefix: xxh-
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=LXGW+WenKai:wght@300;400;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --xxh-primary: #F54001;
  --xxh-primary-hover: #D93800;
  --xxh-bg: #ECE4D9;
  --xxh-card: #F4F0EA;
  --xxh-elevated: #FFFBF5;
  --xxh-text: #4F483E;
  --xxh-muted: #8A7D6B;
  --xxh-white: #fff;
  --xxh-shadow: 0 2px 16px rgba(79,72,62,.08);
  --xxh-shadow-lg: 0 8px 32px rgba(79,72,62,.12);
  --xxh-radius: 30px;
  --xxh-font-display: 'LXGW WenKai', serif;
  --xxh-font-body: 'Noto Sans SC', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--xxh-font-body);
  color: var(--xxh-text);
  background: var(--xxh-bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

footer { margin-top: auto; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* --- Header --- */
.xxh-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(236,228,217,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(79,72,62,.06);
  transition: box-shadow .3s;
}
.xxh-header.scrolled { box-shadow: var(--xxh-shadow); }

.xxh-header__wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.xxh-header__logo {
  font-family: var(--xxh-font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--xxh-primary);
  letter-spacing: .02em;
}

.xxh-header__links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.xxh-header__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--xxh-muted);
  transition: color .2s;
}
.xxh-header__links a:hover,
.xxh-header__links a.active { color: var(--xxh-primary); }

.xxh-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.xxh-burger span {
  width: 22px;
  height: 2px;
  background: var(--xxh-text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Mobile nav */
.xxh-mobile-nav {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--xxh-elevated);
  padding: 16px 24px 24px;
  box-shadow: var(--xxh-shadow-lg);
  z-index: 99;
}
.xxh-mobile-nav.open { display: block; }
.xxh-mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--xxh-text);
  border-bottom: 1px solid rgba(79,72,62,.06);
}
.xxh-mobile-nav a:last-child { border-bottom: none; }

/* --- Hero --- */
.xxh-hero {
  padding: 160px 24px 100px;
  text-align: center;
  background: var(--xxh-bg);
  position: relative;
  overflow: hidden;
}
.xxh-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--xxh-card));
}
.xxh-hero__tagline {
  font-family: var(--xxh-font-display);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--xxh-text);
  margin-bottom: 20px;
}
.xxh-hero__tagline em {
  font-style: normal;
  color: var(--xxh-primary);
}
.xxh-hero__sub {
  font-size: 18px;
  color: var(--xxh-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.xxh-hero__cta {
  display: inline-block;
  background: var(--xxh-primary);
  color: var(--xxh-white);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 40px;
  border-radius: var(--xxh-radius);
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 20px rgba(245,64,1,.2);
}
.xxh-hero__cta:hover {
  background: var(--xxh-primary-hover);
  transform: translateY(-1px);
}

/* --- Sections --- */
.xxh-section {
  padding: 80px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.xxh-section--alt {
  background: var(--xxh-card);
  max-width: 100%;
}
.xxh-section--alt .xxh-section__inner {
  max-width: 1120px;
  margin: 0 auto;
}
.xxh-section__label {
  font-family: var(--xxh-font-display);
  font-size: 14px;
  font-weight: 400;
  color: var(--xxh-primary);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.xxh-section__title {
  font-family: var(--xxh-font-display);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}
.xxh-section__desc {
  font-size: 16px;
  color: var(--xxh-muted);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 48px;
}

/* About split */
.xxh-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.xxh-about__img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--xxh-shadow-lg);
}
.xxh-about__img img { width: 100%; height: auto; }
.xxh-about__body p {
  margin-bottom: 16px;
  color: var(--xxh-muted);
  line-height: 1.9;
}

/* Business cards */
.xxh-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.xxh-card {
  background: var(--xxh-elevated);
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: var(--xxh-shadow);
  transition: transform .2s, box-shadow .2s;
}
.xxh-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--xxh-shadow-lg);
}
.xxh-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(245,64,1,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 26px;
}
.xxh-card__heading {
  font-family: var(--xxh-font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.xxh-card__text {
  font-size: 15px;
  color: var(--xxh-muted);
  line-height: 1.8;
}

/* Core values */
.xxh-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.xxh-value {
  padding: 32px 16px;
}
.xxh-value__num {
  font-family: var(--xxh-font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--xxh-primary);
  line-height: 1;
  margin-bottom: 12px;
}
.xxh-value__word {
  font-family: var(--xxh-font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.xxh-value__note {
  font-size: 14px;
  color: var(--xxh-muted);
  line-height: 1.7;
}

/* Contact */
.xxh-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.xxh-contact__info h3 {
  font-family: var(--xxh-font-display);
  font-size: 20px;
  margin-bottom: 20px;
}
.xxh-contact__row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--xxh-muted);
}
.xxh-contact__row strong {
  color: var(--xxh-text);
  min-width: 64px;
}
.xxh-contact__map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--xxh-shadow);
}
.xxh-contact__map img { width: 100%; height: auto; }
.xxh-city-card {
  background: var(--xxh-bg-alt);
  padding: 48px 24px;
  text-align: center;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 16px;
}
.xxh-city-card__label {
  font-size: 12px;
  color: var(--xxh-muted);
  letter-spacing: 1px;
}
.xxh-city-card__city {
  font-size: 46px;
  font-weight: 700;
  color: var(--xxh-text);
}
.xxh-city-card__en {
  font-size: 13px;
  color: var(--xxh-muted);
  letter-spacing: 2px;
}

/* --- Footer --- */
.xxh-footer {
  background: var(--xxh-text);
  color: rgba(255,255,255,.6);
  padding: 48px 24px;
  text-align: center;
  font-size: 14px;
}
.xxh-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
}
.xxh-footer__links {
  margin-bottom: 16px;
}
.xxh-footer__links a {
  color: rgba(255,255,255,.75);
  margin: 0 12px;
  transition: color .2s;
}
.xxh-footer__links a:hover { color: #fff; }
.xxh-footer__copy {
  margin-top: 8px;
  color: rgba(255,255,255,.4);
}

/* --- Legal pages --- */
.xxh-legal {
  padding: 120px 24px 80px;
  max-width: 780px;
  margin: 0 auto;
}
.xxh-legal h1 {
  font-family: var(--xxh-font-display);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}
.xxh-legal .xxh-legal__updated {
  font-size: 14px;
  color: var(--xxh-muted);
  margin-bottom: 40px;
}
.xxh-legal h2 {
  font-family: var(--xxh-font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(79,72,62,.1);
}
.xxh-legal p, .xxh-legal ul {
  font-size: 15px;
  color: var(--xxh-muted);
  line-height: 1.9;
  margin-bottom: 12px;
}
.xxh-legal ul {
  padding-left: 20px;
}
.xxh-legal li { margin-bottom: 6px; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .xxh-header__links { display: none; }
  .xxh-burger { display: flex; }

  .xxh-about { grid-template-columns: 1fr; }
  .xxh-about__img { order: -1; }

  .xxh-cards { grid-template-columns: 1fr; }
  .xxh-values { grid-template-columns: 1fr; gap: 16px; }

  .xxh-contact { grid-template-columns: 1fr; }

  .xxh-hero { padding: 130px 20px 72px; }
  .xxh-section { padding: 56px 20px; }
}
