/* =====================================================
   YoCo Pilates — Global Stylesheet
   Brand: #6C8F7C (sage green) / #F8F6F3 (cream bg) / #F5EFE6 (accent)
   Fonts: Playfair Display / Inter / Noto Sans SC
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

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

:root {
  --primary:    #6C8F7C;
  --primary-dk: #547664;
  --accent:     #F5EFE6;
  --bg:         #F8F6F3;
  --text:       #2F2F2F;
  --text-light: #6B6B6B;
  --white:      #FFFFFF;
  --border:     #E2DDD7;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(0,0,0,0.08);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Playfair Display', 'Noto Sans SC', serif; line-height: 1.3; }

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

/* =====================================================
   NAV
   ===================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,246,243,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 68px;
}
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-light);
  transition: color var(--transition); letter-spacing: 0.02em;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-cta {
  background: var(--primary); color: var(--white) !important;
  padding: 9px 22px; border-radius: 50px;
  font-size: 13px !important; font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--primary-dk) !important; }

.lang-toggle { display: flex; border: 1.5px solid var(--border); border-radius: 50px; overflow: hidden; }
.lang-btn {
  padding: 5px 12px; font-size: 12px; font-weight: 600;
  cursor: pointer; border: none; background: transparent;
  color: var(--text-light); transition: all var(--transition);
}
.lang-btn.active { background: var(--primary); color: var(--white); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 20px 24px; gap: 16px; align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .lang-toggle { display: none; }
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-block; padding: 13px 32px; border-radius: 50px;
  font-weight: 600; font-size: 14px; cursor: pointer;
  transition: all var(--transition); border: none; letter-spacing: 0.03em;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover {
  background: var(--primary-dk); transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(108,143,124,0.35);
}
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--accent); }

/* =====================================================
   SECTIONS
   ===================================================== */
section { padding: 80px 0; }
.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 12px;
}
.section-title { font-size: clamp(28px, 4vw, 40px); color: var(--text); margin-bottom: 16px; }
.section-sub { font-size: 16px; color: var(--text-light); max-width: 560px; line-height: 1.7; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative; min-height: 88vh; display: flex;
  align-items: center; overflow: hidden;
  background: linear-gradient(135deg, #2a3d35 0%, #3d5a4a 40%, #4a6d59 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('pilates_hero_picture.png');
  background-size: cover; background-position: center 30%; opacity: 0.28;
}
.hero-content { position: relative; z-index: 2; padding: 100px 0 80px; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(108,143,124,0.3); border: 1px solid rgba(108,143,124,0.5);
  color: #a8d4bc; font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 50px; margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px); color: var(--white);
  margin-bottom: 24px; max-width: 680px; line-height: 1.15;
}
.hero h1 em { font-style: italic; color: #a8d4bc; }
.hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.75);
  max-width: 480px; margin-bottom: 40px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 56px; flex-wrap: wrap;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.12);
}
.stat-item { color: rgba(255,255,255,0.8); }
.stat-num { font-size: 28px; font-weight: 700; color: var(--white); font-family: 'Playfair Display', serif; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 2px; }

/* =====================================================
   HIGHLIGHTS
   ===================================================== */
.highlights { background: var(--white); padding: 72px 0; }
.highlights-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px; margin-top: 48px;
}
.highlight-card {
  text-align: center; padding: 28px 20px;
  border-radius: var(--radius); border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.highlight-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.highlight-icon {
  width: 52px; height: 52px; background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 22px;
}
.highlight-card h3 { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.highlight-card p { font-size: 13px; color: var(--text-light); }

/* =====================================================
   ABOUT
   ===================================================== */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image {
  border-radius: 20px; overflow: hidden; aspect-ratio: 4/5;
  background: var(--accent);
}
.about-image-placeholder {
  width: 100%; height: 100%; min-height: 380px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(160deg, #e8f0ec 0%, #d4e4da 100%);
  color: var(--primary); gap: 12px; font-size: 14px; font-weight: 500;
}
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.tag {
  background: var(--accent); color: var(--primary-dk);
  font-size: 13px; font-weight: 500; padding: 5px 14px;
  border-radius: 50px; border: 1px solid #e0d8ce;
}
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }

/* =====================================================
   COACHES
   ===================================================== */
.coaches { background: var(--white); }
.coaches-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px; margin-top: 48px;
}
.coach-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.coach-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.coach-photo {
  aspect-ratio: 3/4; overflow: hidden;
  background: linear-gradient(160deg, #dce8e2 0%, #c8dbd3 100%);
}
.coach-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.coach-photo-placeholder {
  width: 100%; height: 100%; min-height: 320px;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; color: var(--primary);
  background: linear-gradient(160deg, #dce8e2 0%, #c8dbd3 100%);
}
.coach-photo-placeholder .ph-icon { font-size: 52px; opacity: 0.35; }
.coach-photo-placeholder span { font-size: 13px; color: var(--text-light); }
.coach-info { padding: 24px; }
.coach-name { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.coach-role {
  font-size: 12px; color: var(--primary); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 14px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
/* coach-role 用 !important 强制块级 */
.coach-role .en { display: none; }
.coach-role .cn { display: none; }
body.lang-en .coach-role .en { display: block !important; }
body.lang-cn .coach-role .cn { display: block !important; }
.coach-bio { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.coach-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.coach-tag { background: var(--accent); color: var(--primary-dk); font-size: 12px; padding: 3px 10px; border-radius: 50px; }

/* =====================================================
   PAYMENT BANNER
   ===================================================== */
.payment-banner { background: linear-gradient(135deg, #3d5a4a 0%, #2a3d35 100%); padding: 56px 0; }
.payment-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.payment-text h2 { color: var(--white); font-size: 26px; margin-bottom: 8px; }
.payment-text p { color: rgba(255,255,255,0.7); font-size: 15px; }
.payment-methods { display: flex; gap: 12px; flex-wrap: wrap; }
.payment-pill {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  color: var(--white); font-size: 14px; font-weight: 500;
  padding: 10px 20px; border-radius: 50px; display: flex; align-items: center; gap: 6px;
}

/* =====================================================
   SCHEDULE PAGE
   ===================================================== */
.page-hero {
  background: linear-gradient(135deg, #2a3d35 0%, #4a6d59 100%);
  padding: 72px 0 56px; text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 16px; }

.week-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; overflow-x: auto; padding-bottom: 4px; }
.week-tab {
  padding: 8px 20px; border-radius: 50px;
  border: 2px solid var(--border); background: var(--white);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all var(--transition); color: var(--text-light); white-space: nowrap;
}
.week-tab.active, .week-tab:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

.day-block { display: none; }
.day-block.active { display: block; }

.day-header {
  font-size: 18px; font-weight: 700; color: var(--text);
  padding: 20px 0 12px; border-bottom: 2px solid var(--primary);
  margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.day-dot { width: 10px; height: 10px; background: var(--primary); border-radius: 50%; }

.classes-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }

.class-row {
  display: grid; grid-template-columns: 130px 1fr auto;
  gap: 20px; align-items: center;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 24px;
  transition: box-shadow var(--transition);
}
.class-row:hover { box-shadow: var(--shadow); }
.class-time { font-size: 16px; font-weight: 700; color: var(--primary); }
.class-time small { display: block; font-size: 12px; color: var(--text-light); font-weight: 400; }
.class-name-text { font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.class-meta { font-size: 13px; color: var(--text-light); display: flex; gap: 16px; flex-wrap: wrap; }
.class-meta span { display: flex; align-items: center; gap: 4px; }
.capacity-badge {
  background: var(--accent); color: var(--primary-dk);
  font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 50px; white-space: nowrap;
}

@media (max-width: 600px) {
  .class-row { grid-template-columns: 1fr; gap: 8px; }
  .capacity-badge { align-self: flex-start; }
}

/* Class type cards */
.class-types-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin-top: 32px;
}
.class-type-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  border-top: 3px solid var(--primary);
}
.class-type-card h3 { font-size: 18px; margin-bottom: 6px; }
.class-type-card .level {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--primary); margin-bottom: 10px;
}
.class-type-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* =====================================================
   BOOKING PAGE
   ===================================================== */
.booking-layout {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 48px; align-items: start;
}
@media (max-width: 900px) {
  .booking-layout { grid-template-columns: 1fr; }
  .booking-sidebar { order: -1; }
}

.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 40px;
}
.form-card h2 { font-size: 24px; margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text); margin-bottom: 7px; letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: 14px; color: var(--text);
  background: var(--bg); transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none; -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,143,124,0.15);
}
.form-group select {
  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='%236B6B6B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; padding: 15px; font-size: 15px; margin-top: 8px; }
.form-note { font-size: 13px; color: var(--text-light); margin-top: 12px; text-align: center; }

@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
}

.booking-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
}
.sidebar-card h3 { font-size: 16px; margin-bottom: 16px; }
.rules-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.rules-list li {
  display: flex; gap: 10px; font-size: 14px;
  color: var(--text-light); line-height: 1.5; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.rules-list li:last-child { border-bottom: none; padding-bottom: 0; }
.rule-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

.payment-sidebar-card {
  background: linear-gradient(135deg, #3d5a4a, #2a3d35);
  border: none; border-radius: 16px; padding: 28px;
}
.payment-sidebar-card h3 { color: var(--white); margin-bottom: 12px; font-size: 16px; }
.payment-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.payment-pill-sm {
  background: rgba(255,255,255,0.15); color: var(--white);
  font-size: 13px; padding: 6px 14px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
}
.payment-sidebar-card p { font-size: 13px; color: rgba(255,255,255,0.65); }

/* Modal */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 999;
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: var(--white); border-radius: 20px; padding: 48px 40px;
  max-width: 440px; width: 100%; text-align: center;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.93) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-icon {
  width: 64px; height: 64px; background: #e8f4ee; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 28px;
}
.modal-box h2 { font-size: 24px; margin-bottom: 12px; }
.modal-box p { font-size: 15px; color: var(--text-light); margin-bottom: 24px; }

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.info-card h3 {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--primary); margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
}
.info-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--text);
}
.info-item:last-child { border-bottom: none; padding-bottom: 0; }
.info-item-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.info-item-text strong { display: block; font-weight: 600; margin-bottom: 2px; }
.info-item-text span { color: var(--text-light); font-size: 13px; }

.social-links { display: flex; flex-direction: column; gap: 10px; }
.social-link {
  display: flex; align-items: center; gap: 10px; font-size: 14px;
  color: var(--text); padding: 12px 14px;
  border-radius: 10px; border: 1px solid var(--border);
  transition: all var(--transition);
}
.social-link:hover { border-color: var(--primary); color: var(--primary); background: var(--accent); }

.map-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.map-embed { width: 100%; height: 340px; border: none; display: block; }
.map-footer { padding: 14px 20px; font-size: 13px; color: var(--text-light); }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: #1e2d26; color: rgba(255,255,255,0.65); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand img { height: 40px; margin-bottom: 14px; opacity: 0.95; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4); margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.35);
}

/* =====================================================
   UTILITY / ANIMATION
   ===================================================== */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; } .mb-8 { margin-bottom: 8px; }
.bg-white { background: var(--white); }

/* Lang */
.cn { display: none; }
body.lang-cn .cn { display: inline; }
body.lang-cn .en { display: none; }
body.lang-en .en { display: inline; }

/* =====================================================
   TOAST NOTIFICATIONS
   ===================================================== */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: #2a3d35; color: #fff;
  padding: 13px 28px; border-radius: 50px;
  font-size: 14px; font-weight: 500;
  opacity: 0; transition: all 0.3s ease;
  z-index: 9999; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-error   { background: #c0392b; }
.toast-warning { background: #7d6608; }

/* =====================================================
   SCROLL FADE
   ===================================================== */
/* Scroll fade — 直接可见，不依赖 JS 触发 */
.fade-up { opacity: 1; transform: translateY(0); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =====================================================
   HERO — MOBILE
   ===================================================== */
@media (max-width: 768px) {
  .hero-content {
    padding: 80px 0 60px;
  }
  .hero h1 {
    font-size: clamp(28px, 8vw, 42px);
  }
  .hero-sub {
    font-size: 15px;
    max-width: 100%;
  }
  .hero-stats {
    gap: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 40px;
    padding-top: 28px;
    text-align: center;
  }
  .stat-item {
    padding: 12px 8px;
  }
  .stat-num {
    font-size: 24px;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-actions .btn {
    padding: 11px 22px;
    font-size: 13px;
  }
}

/* =====================================================
   GLOBAL MOBILE — max-width: 768px
   ===================================================== */
@media (max-width: 768px) {

  /* 全局 section 间距缩小 */
  section { padding: 52px 0; }
  .container { padding: 0 16px; }

  /* Section 标题 */
  .section-title { font-size: clamp(22px, 6vw, 32px); }
  .section-sub { font-size: 14px; }

  /* Highlights — 2列 */
  .highlights { padding: 48px 0; }
  .highlights-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
  }
  .highlight-card { padding: 18px 12px; }
  .highlight-icon { width: 40px; height: 40px; font-size: 18px; margin-bottom: 10px; }
  .highlight-card h3 { font-size: 13px; }
  .highlight-card p { font-size: 12px; }

  /* About — 图片隐藏，只显示文字 */
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-image { display: none; }

  /* Coaches — 单列 */
  .coaches-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }

  /* Payment banner */
  .payment-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .payment-text h2 { font-size: 20px; }
  .payment-text p { font-size: 13px; }
  .payment-methods { gap: 8px; }
  .payment-pill { font-size: 13px; padding: 8px 14px; }

  /* Footer */
  .footer { padding: 40px 0 24px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  /* Page hero (schedule/contact) */
  .page-hero { padding: 48px 0 36px; }
  .page-hero h1 { font-size: clamp(24px, 6vw, 36px); }
  .page-hero p { font-size: 14px; }

  /* Schedule week tabs — 横向滚动 */
  .week-nav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; gap: 6px; }
  .week-tab { padding: 7px 14px; font-size: 12px; flex-shrink: 0; }

  /* Class row — 单列堆叠 */
  .class-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 16px; }
  .class-time { font-size: 14px; }
  .class-name-text { font-size: 14px; }
  .class-meta { font-size: 12px; gap: 10px; }

  /* Contact layout */
  .contact-layout { grid-template-columns: 1fr; gap: 24px; }
  .map-embed { height: 220px; }

  /* Booking form */
  .form-card { padding: 24px 16px; }
  .form-row { grid-template-columns: 1fr; }

  /* Modal */
  .modal-box { padding: 32px 24px; }
}

/* =====================================================
   NAV — MOBILE LANG TOGGLE FIX
   ===================================================== */
.nav-right {
  display: none;
  align-items: center;
  gap: 10px;
}
.lang-toggle-mobile { display: flex; }

@media (max-width: 768px) {
  .nav-right { display: flex; }
  /* 原来在 nav-links 里的 lang-toggle 在手机端隐藏（避免重复） */
  .nav-links .lang-toggle { display: none; }
  /* lang-toggle 在桌面端 nav-links 里正常显示 */
}
@media (min-width: 769px) {
  .lang-toggle-mobile { display: none; }
  .nav-right { display: none; }
}

/* hero-eyebrow 手机端不换行 */
@media (max-width: 768px) {
  .hero-eyebrow {
    font-size: 10px;
    padding: 5px 12px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
}

/* =====================================================
   GLOBAL MOBILE — EXTRA FIXES
   ===================================================== */

/* section class 替代 inline padding */
.section-bg-light { padding: 60px 0; background: var(--bg); }
.section-bg-white { padding: 56px 0; background: var(--white); }
@media (max-width: 768px) {
  .section-bg-light { padding: 40px 0; }
  .section-bg-white { padding: 36px 0; }
}

/* dashboard 主内容 grid */
.dash-main-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 768px) {
  .dash-main-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Quick Actions bar */
.quick-actions-inner {
  display: flex; gap: 12px; padding: 16px 24px; flex-wrap: wrap; align-items: center;
}
.quick-contact-info {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-light);
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .quick-actions-inner { padding: 12px 16px; gap: 10px; }
  .quick-contact-info { font-size: 12px; }
}

/* week-nav 隐藏横向滚动条 */
.week-nav::-webkit-scrollbar { display: none; }
.week-nav { -ms-overflow-style: none; scrollbar-width: none; }

/* Toast — 手机端允许换行 */
@media (max-width: 768px) {
  .toast {
    white-space: normal;
    max-width: 90vw;
    text-align: center;
    font-size: 13px;
    padding: 12px 20px;
  }
}

/* contact.html FAQ 手机端字体缩小 */
@media (max-width: 768px) {
  .faq-q { font-size: 14px !important; padding: 14px 0 !important; }
}
