/* 东橙互动 · 公共样式（依赖 ../theme.css 变量） */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans SC", "PingFang SC", "DM Sans", sans-serif;
  color: #2a211c;
  background: #faf6f2;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(250, 246, 242, 0.88);
  border-bottom: 1px solid rgba(var(--theme-primary-rgb), 0.12);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 72px;
  padding-left: 8px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}
.footer-brand .brand-logo {
  height: 32px;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--theme-gradient-from), var(--theme-gradient-to));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 20px rgba(var(--theme-primary-rgb), 0.35);
  animation: brandPulse 3.2s ease-in-out infinite;
}
.brand span { color: #2a211c; }
.brand em {
  font-style: normal; font-weight: 500; font-size: 0.72rem;
  color: var(--theme-primary); margin-left: 2px;
}
.nav-main {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px;
  font-size: 0.9rem; color: rgba(42, 33, 28, 0.82); font-weight: 500;
}
.nav-main > a, .nav-item > a {
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-main > a:hover, .nav-main > a.is-active,
.nav-item > a:hover, .nav-item > a.is-active {
  color: #2a211c; border-bottom-color: var(--theme-primary);
}
.nav-item { position: relative; }
.nav-sub {
  display: none; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  min-width: 160px; padding: 10px 0; margin-top: 10px;
  background: #fff; border: 1px solid rgba(var(--theme-primary-rgb), 0.18);
  border-radius: 12px; box-shadow: 0 16px 40px rgba(42, 33, 28, 0.12); z-index: 60;
}
.nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub { display: grid; gap: 2px; }
.nav-sub a {
  display: block; padding: 8px 16px; font-size: 0.86rem;
  color: rgba(42, 33, 28, 0.7); border: none !important;
}
.nav-sub a:hover { color: #2a211c; background: rgba(var(--theme-primary-rgb), 0.08); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px; padding: 0; border: 0;
  background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; border-radius: 1px;
  background: #2a211c; transition: transform .2s ease, opacity .2s ease;
}
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.page-hero .hero-links {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 10px;
  margin: 8px 0 12px; font-weight: 600; font-size: 1.02rem; max-width: none;
}
.hero-links a { color: #2a211c; border-bottom: 2px solid transparent; padding-bottom: 2px; }
.hero-links a:hover { color: var(--theme-primary); border-bottom-color: var(--theme-primary); }
.hero-links .dot { opacity: .35; }
.page-hero .hero-note { max-width: 40rem; }
.yx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 8px 0 28px; align-items: stretch; }
.yx-card {
  padding: 28px 24px 24px; background: #fff;
  border: 1px solid rgba(var(--theme-primary-rgb), .14);
  border-left: 3px solid var(--theme-primary);
}
.yx-card-sales { margin-top: 0; }
.yx-head { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.yx-char {
  font-size: clamp(3.6rem, 7vw, 5.4rem); font-weight: 800; line-height: .85;
  color: var(--theme-primary); letter-spacing: -.04em;
}
.yx-tag {
  display: inline-block; margin-bottom: 6px; padding: 4px 10px; border-radius: 999px;
  background: rgba(var(--theme-primary-rgb), .12); color: var(--theme-primary-dark);
  font-size: .82rem; font-weight: 700;
}
.yx-card p { color: rgba(42, 33, 28, .68); font-size: .92rem; }
.case-kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  color: var(--theme-primary); margin: 6px 0 10px;
}
.case-pains { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.logo-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; align-items: center; }
.logo-item {
  display: flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 8px 16px; background: #fff;
  border: 1px solid rgba(42, 33, 28, .1); border-radius: 10px;
}
.logo-item img { max-height: 36px; width: auto; max-width: 128px; object-fit: contain; }
.logo-item-text { font-size: .85rem; color: rgba(42, 33, 28, .72); font-weight: 600; }
.contact-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: stretch; }
.lang {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; border: 1px solid rgba(42, 33, 28, 0.18);
  padding: 6px 12px; border-radius: 999px;
}
.lang a {
  color: rgba(42, 33, 28, 0.55); padding: 0 2px;
  border-bottom: 2px solid transparent;
}
.lang a:hover { color: #2a211c; }
.lang a.is-active {
  color: #2a211c; border-bottom-color: var(--theme-primary);
  font-weight: 600; pointer-events: none;
}
.lang .sep { opacity: 0.35; color: rgba(42, 33, 28, 0.4); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--theme-gradient-from), var(--theme-gradient-to));
  color: #fff; box-shadow: 0 8px 28px rgba(var(--theme-primary-rgb), 0.28);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(var(--theme-primary-rgb), 0.38); }
.btn-ghost {
  background: #fff;
  border: 1.5px solid rgba(42, 33, 28, 0.35);
  color: #2a211c;
  font-weight: 600;
}
.btn-ghost:hover {
  border-color: var(--theme-primary);
  color: var(--theme-primary);
  background: rgba(var(--theme-primary-rgb), 0.06);
}
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }

.page-hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(var(--theme-primary-rgb), 0.14), transparent 60%),
    linear-gradient(180deg, #fff8f3, #faf6f2);
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin: 10px 0 14px; color: #2a211c;
}
.page-hero p { max-width: 40rem; color: rgba(42, 33, 28, 0.78); font-size: 1.05rem; }
.page-hero p.hero-links,
.page-hero .hero-links { max-width: none; }
.sec-label {
  color: var(--theme-primary); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.14em;
}
section.block { padding: 72px 0; color: #2a211c; }
.section-dark { background: #fff; }
.section-warm {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(var(--theme-primary-rgb), 0.08), transparent 70%),
    #f3ece6;
}
.sec-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin: 8px 0 14px; color: #2a211c; }
.sec-desc { max-width: 42rem; color: rgba(42, 33, 28, 0.78); margin-bottom: 28px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-break { flex-basis: 100%; height: 0; margin: 0; padding: 0; border: none; }
.pill {
  padding: 10px 16px; border-radius: 999px;
  border: 1.5px solid rgba(var(--theme-primary-rgb), 0.45);
  background: #fff;
  color: #2a211c; font-size: 0.9rem; font-weight: 600;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.pill:hover {
  transform: translateY(-2px);
  background: var(--theme-primary);
  border-color: var(--theme-primary);
  color: #fff;
}
.pill a { color: inherit; }

.text-orange { color: var(--theme-primary); }

.site-footer {
  background: #2a211c;
  border-top: 1px solid rgba(var(--theme-primary-rgb), 0.18);
  padding: 64px 0 28px; margin-top: 40px;
  color: #f5f0ea;
}
.site-footer .brand span { color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 1.35fr repeat(6, 1fr); gap: 28px 16px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: rgba(255,255,255,0.72); font-size: 1.05rem; font-weight: 600;
  max-width: 18ch; margin-top: 14px; letter-spacing: 0.04em; line-height: 1.7;
}
.footer-brand .text-orange { color: var(--theme-primary); font-weight: 700; }
.footer-col h4 { font-size: 0.85rem; color: #fff; margin-bottom: 14px; }
.footer-col li, .footer-col a { font-size: 0.86rem; color: rgba(255,255,255,0.72); display: block; margin-bottom: 8px; }
.footer-col a:hover { color: var(--theme-primary); }
.footer-contact strong {
  display: block; font-size: 1.15rem; color: var(--theme-primary-light);
  margin-top: 6px; font-family: "DM Sans", sans-serif;
}
.footer-bottom {
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.8rem; color: rgba(255,255,255,0.38);
}

/* 动效 */
@keyframes brandPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(var(--theme-primary-rgb), 0.3); transform: scale(1); }
  50% { box-shadow: 0 8px 28px rgba(var(--theme-primary-rgb), 0.5); transform: scale(1.04); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.float-soft { animation: floatY 5s ease-in-out infinite; }
.hero-enter { animation: fadeUp .85s ease both; }
.hero-enter-d1 { animation: fadeUp .9s ease .12s both; }
.hero-enter-d2 { animation: fadeUp .9s ease .24s both; }
.hero-enter-d3 { animation: fadeUp .9s ease .36s both; }

.photo-card img, .shot img, .panel img, .media-banner img {
  transition: transform 0.55s ease, filter 0.35s ease;
}
.photo-card:hover img, .shot:hover img, .panel:hover img {
  transform: scale(1.05);
  filter: saturate(1.08);
}
.stat, .feature, .card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat:hover, .feature:hover, .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(42, 33, 28, 0.08);
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  body.nav-open { overflow: hidden; }
  .header-inner { flex-wrap: wrap; padding-left: 16px; }
  .nav-main {
    display: none; flex-basis: 100%; flex-direction: column;
    align-items: stretch; gap: 0; padding: 4px 0 16px;
  }
  .site-header.is-open .nav-main { display: flex; }
  .nav-item .nav-sub {
    position: static; transform: none; display: grid;
    margin: 0; min-width: 0; padding: 0 0 8px 12px;
    border: 0; box-shadow: none; background: transparent;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand-logo { height: 36px; }
  .footer-brand .brand-logo { height: 36px; }
  .hero-links { flex-wrap: wrap; }
  .yx-card-sales { margin-top: 0; }
  .contact-split, .yx-grid, .case-pains { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .brand-mark, .float-soft { animation: none; }
  .header-inner { padding-left: 8px; }
  .brand-logo { height: 18px; }
  .footer-brand .brand-logo { height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-mark, .float-soft, .hero-enter, .hero-enter-d1, .hero-enter-d2, .hero-enter-d3 { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .pill, .stat, .feature, .card, .photo-card img, .panel img { transition: none; }
}
