/* 博商管理官网 — 商务红金高级风格 */
:root {
  --red-deep: #1a0a0a;
  --red-mid: #2a1010;
  --red-light: #3d1818;
  --brand-red: #b71c1c;
  --brand-red-hover: #8e1515;
  --gold: #d4af37;
  --gold-light: #e6c875;
  --white: #ffffff;
  --gray-50: #faf8f6;
  --gray-100: #f5f0ec;
  --gray-200: #e8e0da;
  --gray-300: #d0c4bc;
  --gray-600: #6b5e56;
  --gray-800: #3a2e2a;
  --text-dark: #2a1f1b;
  --text-body: #4a3f39;
  --text-muted: #7a6b62;
  --max-width: 1200px;
  --section-pad: 88px 24px;
  --section-pad-mobile: 52px 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-body);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-red); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand-red-hover); }
ul, ol { list-style: none; }

/* ===== Navigation ===== */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(26, 10, 10, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding: 0 24px;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-brand {
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
}
.nav-brand span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
}

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle svg { fill: var(--white); width: 28px; height: 28px; }

@media (max-width: 768px) {
  .nav-links { 
    display: none; flex-direction: column; 
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--red-deep); padding: 16px 24px; gap: 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ===== Carousel ===== */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: var(--red-deep);
}
.carousel-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,10,10,0.85) 0%, rgba(26,10,10,0.4) 50%, rgba(26,10,10,0.6) 100%);
}
.carousel-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 24px 64px;
  background: linear-gradient(transparent, rgba(26,10,10,0.95));
  z-index: 2;
}
.carousel-caption-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.carousel-caption h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.carousel-caption p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-top: 8px;
  max-width: 560px;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(212,175,55,0.4);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 3;
}
.carousel-arrow:hover {
  background: rgba(212,175,55,0.2);
  border-color: var(--gold);
}
.carousel-arrow.prev { left: 24px; }
.carousel-arrow.next { right: 24px; }
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .hero-carousel { height: 360px; }
  .carousel-caption { padding: 32px 16px 52px; }
  .carousel-caption h2 { font-size: 24px; }
  .carousel-caption p { font-size: 14px; }
  .carousel-arrow { width: 40px; height: 40px; }
  .carousel-arrow.prev { left: 12px; }
  .carousel-arrow.next { right: 12px; }
}

/* ===== Hero ===== */
.hero {
  background: var(--red-deep);
  color: var(--white);
  padding: 100px 24px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: 
    radial-gradient(circle at 25% 20%, rgba(183,28,28,0.35) 0%, transparent 45%),
    radial-gradient(circle at 75% 80%, rgba(212,175,55,0.08) 0%, transparent 45%);
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.4), transparent);
}
.hero-inner { max-width: 800px; margin: 0 auto; position: relative; }
.hero h1 {
  font-size: 44px; font-weight: 700; line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub {
  font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.78);
  margin-bottom: 40px;
}
.hero-cta {
  display: inline-block;
  background: var(--brand-red);
  color: var(--white);
  font-size: 16px; font-weight: 600;
  padding: 15px 40px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(183,28,28,0.35);
}
.hero-cta:hover { background: var(--brand-red-hover); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(183,28,28,0.45); color: var(--white); }

@media (max-width: 768px) {
  .hero { padding: 72px 16px 60px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 15px; }
}

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--red-mid);
  display: flex; justify-content: center; gap: 56px;
  padding: 36px 24px;
  border-bottom: 1px solid rgba(212,175,55,0.15);
  border-top: 1px solid rgba(212,175,55,0.15);
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 38px; font-weight: 700; color: var(--gold);
  line-height: 1.2;
}
.stat-label {
  font-size: 14px; color: rgba(255,255,255,0.7);
  margin-top: 6px;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .stats-bar { flex-wrap: wrap; gap: 28px; padding: 28px 16px; }
  .stat-num { font-size: 30px; }
}

/* ===== Sections ===== */
.section {
  padding: var(--section-pad);
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-alt { background: var(--gray-50); }
.section-dark { background: var(--red-deep); color: var(--white); }
.section-red { background: linear-gradient(135deg, var(--brand-red) 0%, #8e1515 100%); color: var(--white); }

.section-title {
  font-size: 34px; font-weight: 700; color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.25;
}
.section-title-light { color: var(--white); }
.section-desc {
  font-size: 16px; color: var(--text-muted);
  max-width: 640px; margin-bottom: 52px;
}
.section-desc-light { color: rgba(255,255,255,0.75); }

/* ===== Service Cards ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 36px 28px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-red), var(--gold));
  border-radius: 8px 8px 0 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.service-card:hover {
  border-color: rgba(183,28,28,0.25);
  box-shadow: 0 8px 32px rgba(26,10,10,0.08);
  transform: translateY(-3px);
}
.service-card:hover::before { opacity: 1; }
.service-card-icon {
  font-size: 28px; color: var(--brand-red);
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 19px; font-weight: 600; color: var(--text-dark);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Highlight Row (not cards) ===== */
.highlight-row {
  display: flex; gap: 56px; align-items: center;
  margin-bottom: 48px;
}
.highlight-row.reverse { flex-direction: row-reverse; }
.highlight-text { flex: 1; }
.highlight-text h3 {
  font-size: 26px; font-weight: 600; color: var(--text-dark);
  margin-bottom: 14px;
}
.highlight-text p { font-size: 15px; line-height: 1.8; color: var(--text-body); }
.highlight-fact {
  flex: 1; 
  background: linear-gradient(135deg, var(--red-mid) 0%, var(--red-light) 100%);
  color: var(--white);
  padding: 28px;
  border-radius: 8px;
  border-left: 3px solid var(--gold);
}
.highlight-fact strong { color: var(--gold); }
.highlight-fact p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.85); }

@media (max-width: 768px) {
  .highlight-row, .highlight-row.reverse { flex-direction: column; gap: 24px; }
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--brand-red);
}
.timeline-item {
  position: relative;
  padding-bottom: 32px;
}
.timeline-item::before {
  content: ''; position: absolute; left: -36px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--brand-red); border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--brand-red);
}
.timeline-item h4 {
  font-size: 16px; font-weight: 600; color: var(--brand-red);
  margin-bottom: 4px;
}
.timeline-item p {
  font-size: 14px; color: var(--text-muted); line-height: 1.6;
}

/* ===== Honor Grid ===== */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.honor-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--brand-red);
  padding: 22px 18px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
  border-radius: 0 6px 6px 0;
}
.honor-item strong { color: var(--text-dark); }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 22px 0;
}
.faq-q {
  font-size: 16px; font-weight: 600; color: var(--text-dark);
  cursor: pointer;
  display: flex; align-items: center; gap: 10px;
}
.faq-q::before {
  content: 'Q'; background: var(--brand-red); color: var(--white);
  font-size: 12px; font-weight: 700;
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.faq-a {
  font-size: 14px; color: var(--text-muted); line-height: 1.7;
  margin-top: 12px; padding-left: 36px;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--red-deep) 0%, var(--red-mid) 100%);
  text-align: center;
  padding: 72px 24px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(183,28,28,0.25) 0%, transparent 60%);
}
.cta-banner h2 {
  font-size: 30px; color: var(--white); font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}
.cta-banner p {
  font-size: 16px; color: rgba(255,255,255,0.75);
  margin-bottom: 34px;
  position: relative;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--red-deep);
  font-size: 16px; font-weight: 700;
  padding: 15px 44px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
  position: relative;
}
.cta-btn:hover { background: var(--gold-light); color: var(--red-deep); transform: translateY(-2px); }

/* ===== Quote Block ===== */
.quote-block {
  background: var(--gray-50);
  border-left: 4px solid var(--brand-red);
  padding: 26px 34px;
  margin: 32px 0;
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
  border-radius: 0 6px 6px 0;
}
.quote-block cite {
  display: block; margin-top: 12px;
  font-size: 14px; color: var(--text-muted);
  font-style: normal;
}

/* ===== Founder Card ===== */
.founder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.founder-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 30px 26px;
  transition: box-shadow 0.2s;
}
.founder-card:hover { box-shadow: 0 8px 28px rgba(26,10,10,0.07); }
.founder-card h3 {
  font-size: 20px; font-weight: 600; color: var(--text-dark);
  margin-bottom: 8px;
}
.founder-card h3 span { color: var(--brand-red); }
.founder-card .role {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 16px;
}
.founder-card p {
  font-size: 14px; color: var(--text-body); line-height: 1.7;
}

/* ===== Course Table ===== */
.course-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.course-table th {
  background: var(--red-deep);
  color: var(--white);
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--gold);
}
.course-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--text-body);
}
.course-table tr:hover td { background: var(--gray-50); }
.course-table .tag {
  display: inline-block;
  background: rgba(183,28,28,0.08);
  color: var(--brand-red);
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--red-deep);
  text-align: center;
  padding: 36px 24px;
  border-top: 1px solid rgba(212,175,55,0.25);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-brand {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}
.footer-brand a { color: var(--gold); }
.footer-brand a:hover { color: var(--gold-light); }
.footer-links {
  margin-top: 18px;
  display: flex; justify-content: center; gap: 26px;
}
.footer-links a { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 48px; }
.hidden { display: none; }

/* ===== Page-specific: Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info-item {
  margin-bottom: 26px;
}
.contact-info-item h4 {
  font-size: 14px; color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-info-item p {
  font-size: 18px; color: var(--text-dark); font-weight: 500;
}
.contact-form {
  background: var(--gray-50);
  padding: 34px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
}
.contact-form label {
  font-size: 14px; color: var(--text-muted);
  margin-bottom: 6px; display: block;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 18px;
  background: var(--white);
  font-family: inherit;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-red);
}
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form button {
  background: var(--brand-red);
  color: var(--white);
  font-size: 15px; font-weight: 600;
  padding: 13px 36px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.contact-form button:hover { background: var(--brand-red-hover); box-shadow: 0 4px 16px rgba(183,28,28,0.25); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .honor-grid { grid-template-columns: 1fr; }
  .course-table { font-size: 13px; }
  .course-table th, .course-table td { padding: 10px 12px; }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: fadeInUp 0.6s ease-out both;
}
