/* ============================================================
   Hundred Bliss / 陕西佰泰网络科技有限公司
   Design System — Asymmetrical · Diagonal · Overlapping
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --red: #D4380D;
  --red-deep: #A82B0A;
  --red-bright: #F04A1E;
  --gold: #E8A838;
  --gold-light: #F4C96B;
  --gold-pale: #FDF0D5;
  --cream: #FFF8EC;
  --jade: #5BB881;
  --jade-deep: #3D8A60;
  --jade-pale: #E8F5EE;
  --charcoal: #2D2D2D;
  --charcoal-light: #4A4A4A;
  --white: #FAFAFA;
  --font-display: 'Georgia', 'Noto Serif SC', 'Source Han Serif SC', serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', 'Noto Sans SC', 'PingFang SC', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  --max-width: 1200px;
  --gutter: clamp(1rem, 5vw, 4rem);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

/* --- Focus --- */
:focus-visible {
  outline: 3px solid var(--jade);
  outline-offset: 3px;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--charcoal);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 10000;
  border-radius: 0 0 4px 4px;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ============================================================
   NAVIGATION — Off-center asymmetric
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem var(--gutter);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-header.scrolled {
  background: var(--cream);
  box-shadow: 0 2px 20px rgba(45, 45, 45, 0.08);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo — asymmetric: icon off to the left of text */
.logo {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  position: relative;
}
.logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-en {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}
.logo-cn {
  font-size: 0.65rem;
  color: var(--charcoal-light);
  letter-spacing: 0.05em;
}

/* Desktop Nav — right-aligned but last item pops */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--charcoal);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.25s;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.main-nav a:hover,
.main-nav a:focus-visible { color: var(--red); }
.main-nav a:hover::after,
.main-nav a:focus-visible::after { width: 100%; }

/* CTA pill — pops out asymmetrically */
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.4rem !important;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: background 0.25s, transform 0.25s !important;
  transform: translateY(2px);
}
.nav-cta:hover { background: var(--red-deep) !important; transform: translateY(0) !important; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --- Mobile Nav --- */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(75vw, 320px);
    height: 100vh;
    height: 100dvh;
    background: var(--cream);
    padding: 5rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    box-shadow: -4px 0 30px rgba(45,45,45,0.12);
    z-index: 999;
  }
  .main-nav.open { right: 0; }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .main-nav a { font-size: 1.1rem; }
  .nav-cta { transform: none; margin-top: 0.5rem; }

  /* Overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(45,45,45,0.35);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
  }
  .nav-overlay.active { opacity: 1; pointer-events: auto; }
}

/* ============================================================
   HERO — Asymmetric off-center typography
   ============================================================ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: center;
  padding: 6rem var(--gutter) 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 2rem;
  position: relative;
}

/* Floating decorative badges */
.hero-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-badge {
  position: absolute;
  width: clamp(48px, 8vw, 72px);
  height: clamp(48px, 8vw, 72px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatBadge 6s ease-in-out infinite;
}
.hero-badge:nth-child(1) {
  top: 18%;
  right: 8%;
  background: var(--gold-pale);
  animation-delay: 0s;
}
.hero-badge:nth-child(2) {
  top: 55%;
  left: 5%;
  background: var(--jade-pale);
  animation-delay: -2s;
}
.hero-badge:nth-child(3) {
  bottom: 22%;
  right: 18%;
  background: #FDE8E3;
  animation-delay: -4s;
}
.hero-badge:nth-child(4) {
  top: 30%;
  left: 45%;
  width: clamp(32px, 5vw, 48px);
  height: clamp(32px, 5vw, 48px);
  background: var(--cream);
  border: 2px dashed var(--gold);
  animation-delay: -1s;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(3deg); }
  66% { transform: translateY(8px) rotate(-2deg); }
}

.hero-visual {
  position: relative;
  z-index: 1;
}

/* Large decorative character */
.hero-glyph {
  font-family: var(--font-display);
  font-size: clamp(8rem, 18vw, 16rem);
  color: var(--red);
  line-height: 0.85;
  opacity: 0.92;
  user-select: none;
  position: relative;
  left: -0.08em;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-left: clamp(0rem, 3vw, 2rem);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jade-deep);
  background: var(--jade-pale);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--charcoal-light);
  max-width: 34ch;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.8rem;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-deep);
  box-shadow: 0 6px 24px rgba(212, 56, 13, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  box-shadow: inset 0 0 0 2px var(--charcoal);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--charcoal);
  color: var(--white);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: var(--charcoal-light);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  animation: scrollPulse 2s ease-in-out infinite;
  z-index: 1;
}
.hero-scroll span { display: block; width: 1px; height: 28px; background: var(--charcoal-light); }

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 5rem;
  }
  .hero-visual { order: 1; }
  .hero-content { order: 2; padding-left: 0; }
  .hero-glyph { font-size: clamp(5rem, 25vw, 10rem); left: 0; }
  .hero-subtitle { max-width: none; }
  .hero-actions { justify-content: center; }
  .hero-scroll { display: none; }
}

/* ============================================================
   DIAGONAL SECTION SPLITS
   ============================================================ */
.section-diagonal {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) var(--gutter);
  overflow: hidden;
}

.section-diagonal::before {
  content: '';
  position: absolute;
  top: -8%;
  left: 0;
  width: 100%;
  height: 116%;
  background: var(--white);
  clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%);
  z-index: 0;
}

.section-diagonal.alt::before {
  background: var(--cream);
  clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 92%);
}

.section-diagonal > * { position: relative; z-index: 1; }

/* --- Overlapping Content Blocks --- */
.overlap-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: center;
}

.overlap-card {
  background: var(--white);
  border-radius: 16px;
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: 0 8px 40px rgba(45, 45, 45, 0.06);
  position: relative;
}
.overlap-card.primary {
  z-index: 3;
  margin-right: -3rem;
}
.overlap-card.secondary {
  z-index: 2;
  margin-left: -2rem;
  margin-top: 3rem;
  background: var(--cream);
  box-shadow: 0 8px 40px rgba(45, 45, 45, 0.04);
}

.overlap-card .icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.overlap-card .icon-badge.red { background: #FDE8E3; color: var(--red); }
.overlap-card .icon-badge.gold { background: var(--gold-pale); color: var(--gold); }
.overlap-card .icon-badge.jade { background: var(--jade-pale); color: var(--jade-deep); }

.overlap-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}
.overlap-card p {
  color: var(--charcoal-light);
  line-height: 1.75;
}

@media (max-width: 768px) {
  .overlap-group {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .overlap-card.primary { margin-right: 0; }
  .overlap-card.secondary { margin-left: 0; margin-top: 0; }
}

/* ============================================================
   SERVICES — Asymmetric bento grid
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(45,45,45,0.1); }

.service-card.featured {
  grid-row: span 2;
  background: var(--charcoal);
  color: var(--white);
}
.service-card.featured h3 { color: var(--white); }
.service-card.featured p { color: #C0C0C0; }
.service-card.featured .service-icon { background: rgba(255,255,255,0.1); }

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--charcoal);
}
.service-card p {
  color: var(--charcoal-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Decorative corner accent */
.service-card::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: scale(0.5);
}
.service-card:hover::after { opacity: 0.12; transform: scale(1); }
.service-card.featured::after { background: var(--gold); }
.service-card.featured:hover::after { opacity: 0.2; }

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .service-card.featured { grid-row: span 1; }
}

/* ============================================================
   SECTION HEADERS — Off-center
   ============================================================ */
.section-header {
  max-width: var(--max-width);
  margin: 0 auto 3.5rem;
  padding: 0 var(--gutter);
}
.section-header.offset { padding-left: calc(var(--gutter) + clamp(2rem, 8vw, 6rem)); }

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jade-deep);
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--charcoal);
  line-height: 1.15;
}
.section-header h2 em {
  font-style: normal;
  color: var(--red);
  position: relative;
}
.section-header h2 em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* ============================================================
   COUNTERS — Festive number display
   ============================================================ */
.counters-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
}

.counter-item {
  text-align: center;
  position: relative;
}

.counter-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.counter-suffix {
  color: var(--gold);
}

.counter-label {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  margin-top: 0.4rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Decorative dots behind counter */
.counter-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px dashed var(--gold);
  opacity: 0.25;
  z-index: -1;
}

/* ============================================================
   BENEFITS — Staggered zig-zag
   ============================================================ */
.benefits-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.benefit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.benefit-row.reverse { direction: rtl; }
.benefit-row.reverse .benefit-text { direction: ltr; }

.benefit-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  opacity: 0.5;
}
.benefit-text h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.benefit-text p { color: var(--charcoal-light); line-height: 1.7; }

.benefit-visual {
  background: var(--white);
  border-radius: 16px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.benefit-visual svg { width: 60%; height: auto; opacity: 0.7; }

@media (max-width: 768px) {
  .benefit-row,
  .benefit-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    text-align: center;
  }
  .benefit-row.reverse .benefit-text { direction: ltr; }
  .benefit-visual { aspect-ratio: 3/2; }
}

/* ============================================================
   CONTACT — Split form + info
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 8px 40px rgba(45,45,45,0.06);
  position: relative;
}

.contact-form-wrapper h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: var(--charcoal);
}
.contact-form-wrapper > p {
  color: var(--charcoal-light);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--charcoal);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--jade);
  box-shadow: 0 0 0 4px rgba(91, 184, 129, 0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.form-submit:hover { background: var(--red-deep); }
.form-submit:active { transform: scale(0.97); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-feedback {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}
.form-feedback.success {
  display: block;
  background: var(--jade-pale);
  color: var(--jade-deep);
}
.form-feedback.error {
  display: block;
  background: #FDE8E3;
  color: var(--red-deep);
}

/* Contact info aside */
.contact-info-panel {
  background: var(--charcoal);
  color: var(--white);
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 3rem);
  position: sticky;
  top: 6rem;
}

.contact-info-panel h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
}
.contact-info-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.contact-info-item .info-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255,255,255,0.08);
}
.contact-info-item strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #A0A0A0;
}
.contact-info-item span {
  color: var(--white);
  font-size: 0.9rem;
}

.contact-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 2rem;
}
.contact-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
  color: var(--white);
}
.contact-social a:hover { background: var(--red); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-panel { position: static; }
}

/* ============================================================
   FOOTER — Asymmetric multi-column
   ============================================================ */
.site-footer {
  background: var(--charcoal);
  color: #B0B0B0;
  padding: clamp(3rem, 8vw, 5rem) var(--gutter) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 28ch;
}

.footer-col h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: #B0B0B0;
  font-size: 0.9rem;
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.from-left { transform: translateX(-40px); }
.animate-on-scroll.from-left.visible { transform: translateX(0); }

.animate-on-scroll.from-right { transform: translateX(40px); }
.animate-on-scroll.from-right.visible { transform: translateX(0); }

.animate-on-scroll.scale-in { transform: scale(0.9); }
.animate-on-scroll.scale-in.visible { transform: scale(1); }

/* Stagger children */
.stagger-children > * { opacity: 0; transform: translateY(24px); transition: opacity 0.6s, transform 0.6s; }
.stagger-children.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }

/* ============================================================
   PRIVACY & TOS PAGES
   ============================================================ */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 7rem var(--gutter) 5rem;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.legal-page .legal-meta {
  color: var(--charcoal-light);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--charcoal);
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}

.legal-page p,
.legal-page li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--charcoal-light);
  margin-bottom: 1rem;
}

.legal-page ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-page strong {
  color: var(--charcoal);
}

.legal-page a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-page a:hover { color: var(--red-deep); }

.legal-page address {
  font-style: normal;
  background: var(--white);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--gold);
  margin: 1.5rem 0;
  line-height: 1.9;
}

/* ============================================================
   UTILITY
   ============================================================ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

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