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

:root {
  --primary: #1a3a5c;
  --accent: #c8963e;
  --accent-light: #e8c573;
  --bg: #ffffff;
  --bg-light: #f7f8fa;
  --bg-dark: #0f1f30;
  --text: #2d3748;
  --text-light: #718096;
  --text-white: #e2e8f0;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ========== Header ========== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}

.nav-wrapper {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 24px; font-weight: 700; color: var(--primary);
}

.logo-icon {
  font-size: 28px; color: var(--accent);
}

.nav { display: flex; gap: 36px; }

.nav-link {
  font-size: 15px; font-weight: 500; color: var(--text);
  position: relative; padding: 4px 0;
  transition: color var(--transition);
}

.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active { color: var(--primary); }

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Mobile Toggle */
.mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}

.mobile-toggle span {
  display: block; width: 26px; height: 2px;
  background: var(--primary); border-radius: 2px;
  transition: all var(--transition);
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ========== Hero ========== */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1a3a5c 0%, #0f1f30 50%, #1a2f1a 100%);
  overflow: hidden;
}

.hero::before {
  content: ''; position: absolute; inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(200,150,62,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(44,95,138,0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(200,150,62,0.1) 0%, transparent 50%);
}

.hero-overlay {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E") repeat;
  opacity: 0.5;
}

.hero-content {
  position: relative; text-align: center; color: #fff; z-index: 1;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800; letter-spacing: 4px;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--accent-light); max-width: 640px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-btns {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 36px; border-radius: 8px;
  font-size: 16px; font-weight: 600;
  transition: all var(--transition); cursor: pointer; border: none;
}

.btn-primary {
  background: var(--accent); color: #fff;
}

.btn-primary:hover {
  background: var(--accent-light); color: var(--primary);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,150,62,0.4);
}

.btn-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: #fff; background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll span {
  display: block; width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,0.4); border-radius: 12px;
  position: relative;
}

.hero-scroll span::after {
  content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--accent-light); border-radius: 2px;
  animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 8px; opacity: 1; }
  50% { top: 20px; opacity: 0.3; }
}

/* ========== Section Common ========== */
.section { padding: 100px 0; }

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

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; color: var(--primary);
  margin-bottom: 12px; position: relative; display: inline-block;
}

.section-title::after {
  content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  width: 48px; height: 3px; background: var(--accent); border-radius: 2px;
}

.section-desc {
  font-size: 17px; color: var(--text-light);
  margin-top: 16px;
}

/* ========== Business Cards ========== */
.business { background: var(--bg-light); }

.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.business-card {
  background: #fff; border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
}

.business-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0; transition: opacity var(--transition);
}

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

.business-card:hover::before { opacity: 1; }

.card-icon {
  width: 56px; height: 56px; color: var(--accent);
  margin-bottom: 20px;
}

.card-icon svg { width: 100%; height: 100%; }

.business-card h3 {
  font-size: 22px; font-weight: 700; color: var(--primary);
  margin-bottom: 12px;
}

.business-card p {
  font-size: 15px; color: var(--text-light);
  margin-bottom: 16px; line-height: 1.8;
}

.business-card ul {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.business-card li {
  font-size: 14px; color: var(--text);
  padding: 6px 0; padding-left: 20px;
  position: relative;
}

.business-card li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

/* ========== Stats ========== */
.stats {
  background: var(--primary);
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px; text-align: center;
}

.stat-item { color: #fff; }

.stat-number {
  font-size: 48px; font-weight: 800;
  color: var(--accent-light);
}

.stat-plus { font-size: 24px; font-weight: 600; color: var(--accent-light); }

.stat-item p { font-size: 16px; margin-top: 8px; opacity: 0.85; }

/* ========== About ========== */
.about-content {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 60px; align-items: center;
}

.about-text p {
  font-size: 16px; color: var(--text);
  margin-bottom: 16px; line-height: 1.9;
  text-indent: 2em;
}

.about-values {
  display: grid; gap: 16px; margin-top: 28px;
}

.value-item {
  display: flex; gap: 16px; align-items: baseline;
  padding: 14px 20px; background: var(--bg-light);
  border-radius: 8px; border-left: 4px solid var(--accent);
}

.value-item strong {
  font-size: 15px; color: var(--primary);
  white-space: nowrap; min-width: 64px;
}

.value-item span { font-size: 15px; color: var(--text-light); }

.about-image {
  display: flex; justify-content: center;
}

.about-img-placeholder {
  width: 100%; max-width: 360px; aspect-ratio: 1;
  background: var(--bg-light); border-radius: var(--radius);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
  border: 2px dashed var(--border);
  color: var(--text-light);
}

.about-img-placeholder svg {
  width: 120px; height: 120px;
}

.about-img-placeholder span {
  font-size: 14px;
}

/* ========== Contact ========== */
.contact { background: var(--bg-light); }

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

.contact-info { display: grid; gap: 24px; }

.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.contact-item:hover { transform: translateX(4px); }

.contact-icon { font-size: 24px; }

.contact-item strong {
  display: block; font-size: 15px; color: var(--primary);
  margin-bottom: 4px;
}

.contact-item p { font-size: 15px; color: var(--text-light); }

/* Contact Form */
.contact-form {
  background: #fff; padding: 36px;
  border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; gap: 16px;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 15px; font-family: inherit;
  transition: border-color var(--transition);
  background: var(--bg);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,150,62,0.15);
}

.contact-form textarea { resize: vertical; }

/* ========== Footer ========== */
.footer {
  background: var(--bg-dark); color: var(--text-white);
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo-icon {
  font-size: 24px; color: var(--accent-light);
}

.footer-brand strong {
  display: block; font-size: 20px; margin: 8px 0 6px;
}

.footer-brand p { font-size: 14px; opacity: 0.6; }

.footer-links h4 {
  font-size: 16px; margin-bottom: 16px; color: #fff;
}

.footer-links a {
  display: block; font-size: 14px; padding: 4px 0;
  opacity: 0.6; transition: opacity var(--transition);
}

.footer-links a:hover { opacity: 1; color: var(--accent-light); }

.footer-bottom {
  margin-top: 48px; padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center; font-size: 14px; opacity: 0.5;
}

/* ========== Animations ========== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: all 0.6s ease;
}

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

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .nav { 
    position: fixed; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    padding: 0; max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    box-shadow: var(--shadow);
  }

  .nav.open { max-height: 320px; padding: 12px 0; }

  .nav-link { padding: 14px 24px; }

  .mobile-toggle { display: flex; }

  .about-content,
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }

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

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

  .hero-title { font-size: 32px; letter-spacing: 2px; }

  .section { padding: 64px 0; }

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

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 240px; }
}