/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  color: #1a2a3a;
  background: #f5f8fc;
  line-height: 1.6;
}

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #dde8f3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #0a6bc9;
}
.nav-logo .cross-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #0a6bc9, #2196f3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  color: #3a5878;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: #0a6bc9; }
.nav-cta {
  background: linear-gradient(135deg, #0a6bc9, #1e88e5);
  color: #fff !important;
  padding: 8px 22px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.nav-cta:hover { box-shadow: 0 4px 16px rgba(10,107,201,0.3); transform: translateY(-1px); }

/* ============ HERO ============ */
#hero {
  margin-top: 64px;
  background: linear-gradient(135deg, #0d1f3c 0%, #0a6bc9 60%, #1e88e5 100%);
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 40px 6%;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-avatar-wrap {
  flex-shrink: 0;
  position: relative;
}
.hero-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,0.3);
  background: linear-gradient(135deg, #b8d4f0 0%, #d0e8ff 50%, #a8c8e8 100%);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.badge-verified {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #00c853;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,200,83,0.4);
}
.hero-info { color: #fff; }
.hero-dept {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.hero-name {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: 2px;
}
.hero-title {
  font-size: 20px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  font-weight: 400;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.hero-tag {
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 13px;
}
.hero-stats {
  display: flex;
  gap: 36px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.2);
}

/* ============ SECTION BASE ============ */
section { padding: 72px 6%; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #0d1f3c;
  margin-bottom: 8px;
}
.section-subtitle {
  font-size: 15px;
  color: #7a90a8;
  margin-bottom: 40px;
}
.section-divider {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, #0a6bc9, #1e88e5);
  border-radius: 2px;
  margin-bottom: 14px;
}

/* ============ ABOUT ============ */
#about { background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-text p {
  color: #4a6278;
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 16px;
}
.about-edu { margin-top: 20px; }
.edu-title { font-size: 14px; font-weight: 700; color: #0d1f3c; margin-bottom: 14px; }
.edu-list { list-style: none; }
.edu-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #dde8f3;
}
.edu-list li:last-child { border-bottom: none; }
.edu-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0a6bc9;
  margin-top: 7px;
  flex-shrink: 0;
}
.edu-text span { font-size: 13px; color: #7a90a8; display: block; }
.edu-text strong { font-size: 14px; color: #1a2a3a; }
.about-honors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.honor-card {
  background: linear-gradient(135deg, #f0f6ff, #e8f1fc);
  border: 1px solid #cce0f5;
  border-radius: 12px;
  padding: 18px;
}
.honor-icon { font-size: 28px; margin-bottom: 8px; }
.honor-name { font-size: 14px; font-weight: 700; color: #0a6bc9; margin-bottom: 4px; }
.honor-desc { font-size: 12px; color: #7a90a8; line-height: 1.5; }

/* ============ SPECIALTY ============ */
#specialty { background: #f5f8fc; }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.spec-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid #dde8f3;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: default;
}
.spec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10,107,201,0.12);
  border-color: #a8cff0;
}
.spec-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e8f1fc, #d0e8ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}
.spec-name { font-size: 16px; font-weight: 700; color: #0d1f3c; margin-bottom: 8px; }
.spec-desc { font-size: 13px; color: #7a90a8; line-height: 1.7; }
.spec-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.spec-tag {
  background: #f0f6ff;
  color: #0a6bc9;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 500;
}

/* ============ SCHEDULE ============ */
#schedule { background: #fff; }
.schedule-wrap {
  background: linear-gradient(135deg, #0d1f3c 0%, #0a5fa8 100%);
  border-radius: 20px;
  padding: 40px;
  color: #fff;
  margin-bottom: 32px;
}
.schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.schedule-header h3 { font-size: 18px; color: rgba(255,255,255,0.9); }
.schedule-legend {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
}
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.day-col { text-align: center; }
.day-name {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  font-weight: 500;
}
.slot {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 8px 4px;
  margin-bottom: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  cursor: default;
  transition: background 0.2s;
}
.slot.available {
  background: rgba(0,200,83,0.2);
  border-color: rgba(0,200,83,0.4);
  color: #00e676;
  cursor: pointer;
}
.slot.full {
  background: rgba(255,100,100,0.15);
  border-color: rgba(255,100,100,0.3);
  color: rgba(255,140,140,0.7);
}
.slot.am::before { content: '上午'; display: block; font-size: 10px; opacity: 0.7; }
.slot.pm::before { content: '下午'; display: block; font-size: 10px; opacity: 0.7; }
.schedule-note {
  background: #f5f8fc;
  border-left: 4px solid #0a6bc9;
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  font-size: 13px;
  color: #4a6278;
  line-height: 1.7;
}

/* ============ REVIEWS ============ */
#reviews { background: #f5f8fc; }
.review-score-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 32px;
  border: 1px solid #dde8f3;
}
.big-score {
  text-align: center;
  flex-shrink: 0;
}
.big-num {
  font-size: 64px;
  font-weight: 800;
  color: #0a6bc9;
  line-height: 1;
}
.big-stars { font-size: 22px; margin: 4px 0; }
.big-total { font-size: 13px; color: #7a90a8; }
.score-bars { flex: 1; }
.bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
}
.bar-label { width: 56px; color: #4a6278; }
.bar-bg {
  flex: 1;
  height: 8px;
  background: #e8f1fc;
  border-radius: 4px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #0a6bc9, #1e88e5);
  transition: width 1s ease;
}
.bar-pct { width: 36px; color: #7a90a8; text-align: right; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  border: 1px solid #dde8f3;
  transition: box-shadow 0.2s;
}
.review-card:hover { box-shadow: 0 6px 20px rgba(10,107,201,0.08); }
.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.reviewer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.reviewer-name { font-size: 14px; font-weight: 600; color: #1a2a3a; }
.reviewer-date { font-size: 12px; color: #7a90a8; }
.review-stars { color: #ffc107; font-size: 14px; }
.review-tag {
  background: #f0f6ff;
  color: #0a6bc9;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 10px;
  display: inline-block;
}
.review-text { font-size: 13px; color: #4a6278; line-height: 1.7; }

/* ============ CONTACT ============ */
#contact { background: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info-list { list-style: none; margin-bottom: 32px; }
.contact-info-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed #dde8f3;
  align-items: flex-start;
}
.contact-info-list li:last-child { border-bottom: none; }
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e8f1fc, #d0e8ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-detail strong { font-size: 13px; color: #7a90a8; display: block; }
.contact-detail span { font-size: 15px; color: #1a2a3a; font-weight: 500; }
.qrcode-wrap {
  text-align: center;
  padding: 20px;
  background: #f5f8fc;
  border-radius: 12px;
  border: 1px dashed #a8cff0;
}
.qrcode-wrap p { font-size: 13px; color: #7a90a8; margin-top: 8px; }

/* ---- FORM ---- */
.contact-form { background: #f5f8fc; border-radius: 18px; padding: 36px; }
.form-title { font-size: 20px; font-weight: 700; color: #0d1f3c; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 16px; }
.form-group label { font-size: 13px; color: #4a6278; margin-bottom: 6px; font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid #cde0f5;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: #1a2a3a;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0a6bc9;
  box-shadow: 0 0 0 3px rgba(10,107,201,0.1);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #0a6bc9, #1e88e5);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  letter-spacing: 1px;
}
.form-submit:hover {
  box-shadow: 0 6px 20px rgba(10,107,201,0.3);
  transform: translateY(-1px);
}
.form-note { font-size: 12px; color: #7a90a8; text-align: center; margin-top: 12px; }

/* ============ FOOTER ============ */
footer {
  background: #0d1f3c;
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 28px;
  font-size: 13px;
}
footer a { color: rgba(255,255,255,0.7); text-decoration: none; }

/* ============ TEL LINK FIX ============ */
a[href^="tel:"] {
  text-decoration: none;
  cursor: pointer;
}

/* ============ FORM ELEMENT COMPATIBILITY ============ */
.form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a90a8' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group input[type="date"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

@supports (-webkit-touch-callout: none) {
  .form-group input[type="date"],
  .form-group select {
    min-height: 44px;
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; text-align: center; gap: 32px; }
  .hero-stats { justify-content: center; }
  .hero-tags { justify-content: center; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .spec-grid, .reviews-grid { grid-template-columns: 1fr 1fr; }
  .schedule-grid { grid-template-columns: repeat(4, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .spec-grid, .reviews-grid { grid-template-columns: 1fr; }
  .about-honors { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: repeat(3, 1fr); }
  #hero { padding: 40px 5%; }
  .hero-name { font-size: 36px; }
  section { padding: 52px 5%; }
}
