:root {
  --navy: #1A3A4A;
  --navy-dark: #0D1B28;
  --cyan: #1F8BA0;
  --cyan-light: #E6F4F7;
  --gold: #C6973C;
  --gold-light: #F5ECD6;
  --gold-bright: #E8C97A;
  --bg: #F4F7F9;
  --bg-warm: #FAF8F5;
  --text: #1E2D3D;
  --text-light: #6B7A8D;
  --text-muted: #95A5B5;
  --white: #FFFFFF;
  --shadow: 0 4px 24px rgba(26,58,74,0.08);
  --shadow-lg: 0 12px 48px rgba(26,58,74,0.12);
  --shadow-gold: 0 8px 32px rgba(198,151,60,0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --max-width: 1140px;
  --nav-height: 72px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-display: 'Noto Serif SC', 'Source Han Serif SC', serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-en: 'Playfair Display', 'Inter', serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

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

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  position: relative;
  padding: 0 20px;
}
.section-label::before,
.section-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.section-label::before { right: 100%; }
.section-label::after { left: 100%; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(26,58,74,0.06);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}
.scrolled .logo { color: var(--navy); }
.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--white);
  transition: color var(--transition);
}
.scrolled .logo-icon { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  position: relative;
}
.scrolled .nav-links a { color: var(--text-light); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--white); }
.scrolled .nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.scrolled .nav-links a.active { color: var(--navy); }

.nav-btn {
  padding: 10px 24px;
  border-radius: 50px;
  background: var(--gold);
  color: var(--white) !important;
  font-weight: 600;
  transition: box-shadow var(--transition), transform var(--transition) !important;
}
.nav-btn::after { display: none !important; }
.nav-btn:hover {
  box-shadow: 0 4px 20px rgba(198,151,60,0.35);
  transform: translateY(-1px);
}
.scrolled .nav-btn { color: var(--white) !important; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.scrolled .mobile-toggle span { background: var(--navy); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}
.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--cyan);
  top: -15%;
  right: -10%;
  animation: glowFloat 8s ease-in-out infinite alternate;
}
.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: var(--gold);
  bottom: -10%;
  left: -5%;
  animation: glowFloat 10s ease-in-out 2s infinite alternate;
}
@keyframes glowFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.1); }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(198,151,60,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198,151,60,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-signature {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.6;
}
.hero-signature svg {
  width: 100%;
  max-width: 700px;
  height: auto;
}
.sig-wing {
  animation: wingFloat 6s ease-in-out infinite alternate;
}
.sig-wing:last-of-type {
  animation-delay: -3s;
}
@keyframes wingFloat {
  0% { transform: translateY(0); opacity: 0.08; }
  100% { transform: translateY(-15px); opacity: 0.15; }
}
.sig-heartbeat {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawBeat 3s ease-out forwards, beatPulse 2s ease-in-out 3s infinite;
}
@keyframes drawBeat {
  to { stroke-dashoffset: 0; }
}
@keyframes beatPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 100px 0 60px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold-bright);
  background: rgba(198,151,60,0.12);
  border: 1px solid rgba(198,151,60,0.2);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 32px;
  letter-spacing: 0.08em;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title-line {
  display: block;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
  font-family: var(--font-en), var(--font-display);
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}
.btn svg { transition: transform var(--transition); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--white);
  box-shadow: 0 4px 24px rgba(198,151,60,0.3);
}
.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(198,151,60,0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--white);
  background: rgba(198,151,60,0.1);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(198,151,60,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* Services */
.services {
  background: var(--bg);
}

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

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s ease-out calc(var(--delay, 0) * 0.15s + 0.2s) forwards;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--cyan), var(--gold));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover .service-card-bg { opacity: 1; }

.service-card-inner {
  padding: 40px 32px;
  position: relative;
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
}
.service-icon svg { width: 100%; height: 100%; }

.service-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap var(--transition);
}
.service-link:hover { gap: 10px; }

/* Team */
.team {
  background: var(--white);
}

.team-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-member {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26,58,74,0.06);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s ease-out calc(var(--delay, 0) * 0.15s + 0.3s) forwards;
}
.team-member:hover {
  border-color: rgba(198,151,60,0.2);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.member-image {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
}
.member-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(198,151,60,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.member-placeholder svg {
  width: 80%;
  height: 80%;
}
.member-exp {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--white);
  background: var(--gold);
  padding: 2px 12px;
  border-radius: 50px;
  white-space: nowrap;
}

.member-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.member-role {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}

.member-bio {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* CTA */
.cta {
  position: relative;
  background: var(--navy-dark);
  overflow: hidden;
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
}
.cta-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(31,139,160,0.08), transparent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulseGlow 6s ease-in-out infinite alternate;
}
@keyframes pulseGlow {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.cta-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  padding: 6px 20px;
  border: 1px solid rgba(198,151,60,0.2);
  border-radius: 50px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 36px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: var(--navy);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  display: inline-block;
  margin-bottom: 12px;
}
.footer-tagline {
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}
.footer-contact ul li svg {
  flex-shrink: 0;
  opacity: 0.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    transform: translateY(-110%);
    opacity: 0;
    transition: all var(--transition);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }
  .nav-links a {
    color: var(--text) !important;
    font-size: 1rem;
  }
  .nav-links a.active { color: var(--navy) !important; }
  .mobile-toggle { display: flex; }

  .services-grid,
  .team-list {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

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

  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-content { padding-top: 80px; }
  .hide-mobile { display: none; }
  .section { padding: 60px 0; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-header { margin-bottom: 40px; }
}
