/* ============================================================
   你好，熊猫翻译社 | Привет Панда — Official Website
   Color palette:
   --ink:        #1a1a1a     (熊猫黑 / 主文字)
   --paper:      #faf8f5     (米白底 / 暖纸色)
   --heart:      #e63946     (红心 / 品牌强调)
   --heart-dk:   #c92a38     (深红心 / hover)
   --gold:       #b08d57     (暖金 / 副强调)
   --mist:       #f0ebe4     (浅米色 / 分隔背景)
   --slate:      #6b6560     (暖灰 / 次级文字)
   --line:       #e5ddd2     (分割线)
   ============================================================ */

:root {
  --ink: #1a1a1a;
  --ink-2: #2d2a26;
  --paper: #faf8f5;
  --paper-2: #f5f1ea;
  --heart: #e63946;
  --heart-dk: #c92a38;
  --heart-lt: #fde8ea;
  --gold: #b08d57;
  --mist: #f0ebe4;
  --slate: #6b6560;
  --slate-lt: #9b948e;
  --line: #e5ddd2;
  --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 26, 26, 0.08);
  --shadow-lg: 0 16px 48px rgba(26, 26, 26, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --serif: "Noto Serif SC", "Noto Serif", Georgia, serif;
  --sans: "Noto Sans SC", "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-brand-zh {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}

.nav-brand-en {
  font-size: 11px;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.02em;
}

.nav-brand-ru {
  font-size: 10px;
  color: var(--slate-lt);
  font-style: italic;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  order: 2;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
}

.nav-links a:hover {
  color: var(--heart);
}

.nav-links a.nav-cta {
  background: var(--heart);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-links a.nav-cta:hover {
  background: var(--heart-dk);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--mist);
  border-radius: 999px;
  margin-right: 8px;
  margin-left: 12px;
  order: 1;
}
.lang-btn {
  width: 36px; height: 32px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  color: var(--slate); background: transparent;
  cursor: pointer; transition: all 0.25s ease;
  display: flex; align-items: center; justify-content: center;
  border: none;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active {
  background: var(--heart); color: #fff;
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}
/* Single-language display (keep language switcher buttons always visible) */
body.lang-zh [data-lang]:not([data-lang="zh"]):not(.lang-btn) { display: none !important; }
body.lang-en [data-lang]:not([data-lang="en"]):not(.lang-btn) { display: none !important; }
body.lang-ru [data-lang]:not([data-lang="ru"]):not(.lang-btn) { display: none !important; }
/* Nav brand single-lang */
body.lang-zh .nav-brand-en,
body.lang-zh .nav-brand-ru { display: none; }
body.lang-en .nav-brand-zh,
body.lang-en .nav-brand-ru { display: none; }
body.lang-ru .nav-brand-zh,
body.lang-ru .nav-brand-en { display: none; }
/* Hero title single-lang */
body.lang-zh .hero-title-en,
body.lang-zh .hero-title-ru { display: none; }
body.lang-en .hero-title-zh,
body.lang-en .hero-title-ru { display: none; }
body.lang-ru .hero-title-zh,
body.lang-ru .hero-title-en { display: none; }
/* Tagline single-lang */
body.lang-zh .hero-tagline-en,
body.lang-zh .hero-tagline-ru { display: none; }
body.lang-en .hero-tagline,
body.lang-en .hero-tagline-ru { display: none; }
body.lang-ru .hero-tagline,
body.lang-ru .hero-tagline-en { display: none; }
/* About lead paragraphs */
body.lang-zh .about-lead-en,
body.lang-zh .about-lead-ru { display: none; }
body.lang-en .about-lead,
body.lang-en .about-lead-ru { display: none; }
body.lang-ru .about-lead,
body.lang-ru .about-lead-en { display: none; }
/* Global desc paragraphs */
body.lang-zh .global-desc-en,
body.lang-zh .global-desc-ru { display: none; }
body.lang-en .global-desc,
body.lang-en .global-desc-ru { display: none; }
body.lang-ru .global-desc,
body.lang-ru .global-desc-en { display: none; }
/* Footer bottom single-lang */
body.lang-zh .footer-bottom p[data-lang="en"],
body.lang-zh .footer-bottom p[data-lang="ru"] { display: none; }
body.lang-en .footer-bottom p[data-lang="zh"],
body.lang-en .footer-bottom p[data-lang="ru"] { display: none; }
body.lang-ru .footer-bottom p[data-lang="zh"],
body.lang-ru .footer-bottom p[data-lang="en"] { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  order: 3;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============ MULTI-LANG TEXT ============ */
.en-text {
  font-size: 0.88em;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 2px;
  letter-spacing: 0.01em;
}

.en-text-sm {
  font-size: 11px;
  font-weight: 500;
  color: var(--slate-lt);
}

.ru-text-sm {
  font-size: 11px;
  font-style: italic;
  color: var(--slate-lt);
}

.section-sub-en {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

.footer-brand-en {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  margin-bottom: 2px;
}

.footer-bottom .en-text-sm,
.footer-bottom .ru-text-sm {
  line-height: 1.7;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 32px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: saturate(0.8);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(230, 57, 70, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(176, 141, 87, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
}

.hero-logo-wrap {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}

.hero-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-title-zh {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.hero-accent {
  color: var(--heart);
  position: relative;
}

.hero-title-en {
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.hero-title-ru {
  font-family: var(--serif);
  font-size: clamp(16px, 2.2vw, 22px);
  font-style: italic;
  color: var(--slate-lt);
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-divider::before,
.hero-divider::after {
  content: "";
  width: 60px;
  height: 1px;
  background: var(--line);
}

.heart {
  color: var(--heart);
  font-size: 14px;
  animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.hero-tagline-en {
  font-size: clamp(15px, 2vw, 19px);
  color: var(--slate);
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.hero-tagline-ru {
  font-size: clamp(13px, 1.5vw, 16px);
  color: var(--slate-lt);
  font-style: italic;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  display: block;
}

.plus {
  color: var(--heart);
  font-size: 0.6em;
  vertical-align: super;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--slate);
  margin-top: 8px;
  display: block;
}

.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: var(--line);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  flex-direction: column;
  line-height: 1.2;
}

.btn-sub {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: var(--heart);
  color: #fff;
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.25);
}

.btn-primary:hover {
  background: var(--heart-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.heart-sm {
  color: inherit;
  font-size: 0.85em;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.1em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--slate), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.5); }
}

/* ============ SECTION COMMON ============ */
.section {
  padding: 120px 0;
}

.section-head {
  margin-bottom: 64px;
  max-width: 560px;
}

.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--heart);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 6px 14px;
  background: var(--heart-lt);
  border-radius: 999px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 15px;
  color: var(--slate);
  font-style: italic;
}

.ru-text {
  font-style: italic;
  color: var(--slate);
  font-size: 0.9em;
}

/* ============ ABOUT ============ */
.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-right {
  position: relative;
}

.about-interpretation {
  position: relative;
}

.about-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.about-lead-en {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 8px;
}

.about-lead-ru {
  font-size: 14px;
  font-style: italic;
  color: var(--slate-lt);
  line-height: 1.75;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-point {
  display: flex;
  gap: 20px;
}

.about-point-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--heart-lt);
  color: var(--heart);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-point-icon svg {
  width: 22px;
  height: 22px;
}

.about-point h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--ink);
}

.about-point p {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.45;
}

.about-image {
  position: relative;
}

.about-image-stack {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
}

.about-image-item {
  position: relative;
  flex: 1;
  min-width: 0;
}

/* 同声传译（第2项）在左，办公大楼（第1项）在右 */
.about-image-item:nth-child(1) { order: 2; }
.about-image-item:nth-child(2) { order: 1; }

.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image-caption {
  position: absolute;
  bottom: -20px;
  left: 24px;
  background: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ink-2);
  box-shadow: var(--shadow-md);
}

/* ============ GLOBAL HIGHLIGHT ============ */
.global-highlight {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-top: 32px;
  box-shadow: var(--shadow-sm);
}

.global-highlight-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--heart-lt);
  color: var(--heart);
  display: flex;
  align-items: center;
  justify-content: center;
}

.global-highlight-icon svg {
  width: 24px;
  height: 24px;
}

.global-highlight h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.global-highlight p:last-child {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.65;
  margin-top: 8px;
}

/* ============ TEAM ============ */
.team {
  background: var(--mist);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.team-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--line);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--heart-lt);
}

.team-avatar {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.team-avatar-initials {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.team-avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed var(--heart);
  opacity: 0;
  animation: spin 8s linear infinite;
  transition: opacity 0.3s ease;
}

.team-card:hover .team-avatar-ring {
  opacity: 0.6;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.team-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
}

.team-title {
  font-size: 12px;
  color: var(--heart);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.6;
}

.team-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.team-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.team-photo-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============ SERVICES ============ */
.services {
  background: var(--paper);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--heart);
  transition: height 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--heart-lt);
  color: var(--heart);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0;
  color: var(--ink);
  line-height: 1.3;
}

.service-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.service-title {
  flex: 1;
  min-width: 0;
}

.service-ru {
  font-size: 13px;
  font-style: italic;
  color: var(--slate);
  margin-bottom: 16px;
}

.service-list {
  list-style: none;
}

.service-list li {
  font-size: 14px;
  color: var(--slate);
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--heart);
  opacity: 0.5;
}

.advantages {
  background: linear-gradient(135deg, var(--ink) 0%, #2d2a26 100%);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.advantages::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.2) 0%, transparent 70%);
}

.advantages-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.advantage-item {
  text-align: center;
}

.advantage-num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 900;
  color: var(--heart);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.9;
}

.advantage-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.advantage-item .ru-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin-bottom: 12px;
}

.advantage-item p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

/* ============ PROJECTS ============ */
.projects {
  background: var(--mist);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--line);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.project-featured .project-image {
  height: 320px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--heart);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.project-body {
  padding: 24px;
}

.project-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.project-body h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
  line-height: 1.4;
}

.project-featured .project-body h3 {
  font-size: 24px;
}

.project-body .ru-text {
  font-size: 13px;
  margin-bottom: 12px;
}

.project-body p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.65;
}


.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.project-gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}

.project-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* ============ FIELDS ============ */
.fields {
  background: var(--paper);
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}

.field-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.field-item:hover {
  border-color: var(--heart);
  color: var(--heart);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.1);
}

.field-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.field-icon svg {
  width: 26px;
  height: 26px;
}

/* ============ GLOBAL ============ */
.global {
  background: linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
}

.global-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.global-desc {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-2);
  margin-bottom: 12px;
}

.global-desc-en {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 8px;
}

.global-desc-ru {
  font-size: 14px;
  font-style: italic;
  color: var(--slate-lt);
  line-height: 1.75;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.global-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.globe {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

.globe-ring-2 {
  inset: 40px;
  border-color: var(--heart-lt);
  border-style: dashed;
  animation: rotate 30s linear infinite reverse;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.globe-core {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.heart-lg {
  color: var(--heart);
  font-size: 44px;
  animation: heartbeat 2s ease-in-out infinite;
}

.globe-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--heart);
  box-shadow: 0 0 12px rgba(230, 57, 70, 0.6);
  z-index: 3;
}

.globe-dot.d1 { top: 20%; left: 25%; }
.globe-dot.d2 { top: 35%; right: 20%; }
.globe-dot.d3 { top: 60%; left: 15%; }
.globe-dot.d4 { top: 70%; right: 30%; }
.globe-dot.d5 { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.globe-dot.d6 { top: 25%; right: 45%; }

.globe-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 420px;
}

.globe-labels span {
  font-size: 12px;
  color: var(--slate);
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-style: italic;
}

/* ============ CONTACT ============ */
.contact {
  background: var(--paper);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-desc {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-2);
  margin-bottom: 40px;
  margin-top: 24px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.contact-item:hover {
  border-color: var(--heart-lt);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--heart-lt);
  color: var(--heart);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-label {
  font-size: 12px;
  color: var(--slate);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}

.contact-app {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.contact-app:last-child {
  margin-bottom: 0;
}

.app-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.app-icon.wa {
  border-radius: 4px;
}

.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--ink);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  transition: all 0.25s ease;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--heart);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-logo h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.footer-logo .ru-text {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.footer-col h5 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.25s ease;
  cursor: pointer;
}

.footer-col li a {
  color: inherit;
  display: block;
}

.footer-col li:hover,
.footer-col li:hover a {
  color: var(--heart);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 2;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .section { padding: 80px 0; }

  .about-grid,
  .global-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

  .advantages {
    padding: 48px 32px;
  }

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

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

  .project-featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 20px 32px;
    background: rgba(250, 248, 245, 0.98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    gap: 16px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav.nav-open .nav-links {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat-divider {
    display: none;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-featured {
    grid-column: span 1;
  }

  .fields-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .globe {
    width: 260px;
    height: 260px;
  }

  .globe-core {
    width: 90px;
    height: 90px;
  }

  .heart-lg {
    font-size: 32px;
  }

  .contact-form-card {
    padding: 28px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }
}



/* ============ INVITATION SECTION (独立合作邀请区块) ============ */
.invitation-section {
  padding: 80px 0;
  background: #fbf7f9;
  border-top: 1px solid var(--line);
}
.invitation-section .invitation-card {
  margin-top: 0;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 768px) {
  .invitation-section {
    padding: 56px 0;
  }
}

/* ============ INVITATION CARD (合作邀请) ============ */
.invitation-card {
  margin-top: 64px;
  background: linear-gradient(135deg, #ffffff 0%, #fdf4f6 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.invitation-head {
  text-align: center;
  margin-bottom: 28px;
}

.invitation-head h3 {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.4;
}

.invitation-sub {
  color: var(--heart);
  font-weight: 600;
  letter-spacing: 3px;
  font-size: 14px;
  text-transform: uppercase;
}

.invitation-intro {
  max-width: 860px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--ink-2);
  line-height: 1.9;
  font-size: 15px;
}

.invitation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.invitation-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.3s ease;
}

.invitation-block:hover {
  border-color: var(--heart-lt);
  box-shadow: var(--shadow-md);
}

.invitation-block h4 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.invitation-block h4 .iv-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--heart-lt);
  color: var(--heart);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.invitation-block h4 .iv-icon svg {
  width: 17px;
  height: 17px;
}

.invitation-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.invitation-block ul li {
  display: flex;
  gap: 12px;
  line-height: 1.7;
  color: var(--ink-2);
  font-size: 14.5px;
}

.invitation-block ul li .iv-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--heart);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .invitation-card {
    padding: 28px 20px;
    margin-top: 48px;
  }
  .invitation-grid {
    grid-template-columns: 1fr;
  }
  .invitation-head h3 {
    font-size: 22px;
  }
}


/* ============ TRANSLATION CASES (笔译案例画廊) ============ */
.cases-block {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}

.cases-desc {
  max-width: 720px;
  margin: 16px auto 0;
  text-align: center;
  color: var(--ink-2);
  line-height: 1.8;
  font-size: 15px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.case-item {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.06));
  transition: all 0.3s ease;
  cursor: zoom-in;
}

.case-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.case-item:hover {
  border-color: var(--heart-lt);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.case-item:hover img {
  transform: scale(1.05);
}

.case-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 16px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
  pointer-events: none;
}

@media (max-width: 1024px) {
  .cases-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .case-item img { height: 160px; }
  .cases-block { margin-top: 48px; padding-top: 48px; }
}

/* ============ LIGHTBOX (图片放大预览) ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.lightbox-close:hover { background: rgba(255,255,255,0.3); }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.3); }

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  background: rgba(0,0,0,0.5);
  padding: 6px 14px;
  border-radius: 20px;
}
/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
