/* ==========================================================================
   台中專業英文家教 - 朱安中老師 | 頂級升學與實力培育
   Design System & Responsive Stylesheet
   Core Web Vitals Optimized: Zero layout shifts, high contrast, smooth transitions
   ========================================================================== */

:root {
  --primary: #1e3a8a;          /* Deep Navy Blue */
  --primary-light: #2563eb;    /* Royal Blue */
  --primary-dark: #0f172a;     /* Dark Slate */
  --accent: #d97706;           /* Gold / Amber */
  --accent-light: #fef3c7;     /* Light Gold Background */
  --success: #059669;          /* Emerald Green */
  --surface: #ffffff;          /* Pure White */
  --bg: #f8fafc;               /* Slate 50 */
  --bg-alt: #f1f5f9;           /* Slate 100 */
  --border: #e2e8f0;           /* Slate 200 */
  --text-main: #0f172a;        /* High Contrast Charcoal */
  --text-muted: #475569;       /* Slate 600 */
  --text-light: #64748b;       /* Slate 500 */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --container-max: 1200px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Hiragino Sans GB", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  color: var(--text-main);
  background-color: var(--bg);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

button, input, select, textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Skip link for Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--primary-dark);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* Navigation Bar */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--primary-light);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-light);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta-btn {
  background: var(--primary);
  color: #fff !important;
  padding: 0.55rem 1.25rem !important;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  box-shadow: var(--shadow-sm);
}

.nav-cta-btn:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-cta-btn::after {
  display: none !important;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5rem;
  background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 50%, #fefce8 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.hero-badge-icon {
  color: var(--accent);
}

.hero-heading {
  font-size: 2.65rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-heading span.highlight {
  color: var(--primary-light);
  position: relative;
  display: inline-block;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #172554 0%, var(--primary) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg);
  border-color: #cbd5e1;
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Hero Media Box */
.hero-media-box {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-profile-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #e2e8f0;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-badge {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #fed7aa;
}

.badge-gold-icon {
  background: #fef3c7;
  color: #b45309;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.badge-text-top {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
}

.badge-text-main {
  font-size: 1.1rem;
  font-weight: 800;
  color: #92400e;
}

/* Section Common Layout */
.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.section-alt {
  background-color: var(--surface);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #eff6ff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Feature & Methodology Cards */
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.method-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.method-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: #bfdbfe;
}

.method-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.method-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.method-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.method-highlight {
  background: #f8fafc;
  border-left: 3px solid var(--primary-light);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-main);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 500;
}

/* Proof & Certificate Showcase Section */
.proof-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cert-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition);
}

.cert-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

.cert-card img {
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
  border: 1px solid #cbd5e1;
}

.cert-zoom-hint {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.proof-content h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.proof-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.proof-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.proof-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}

.proof-checklist li span.icon {
  color: var(--success);
  font-weight: 800;
}

/* Success Stories & Case Studies */
.case-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  background: #f1f5f9;
  color: var(--text-main);
}

.tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.case-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--bg-alt);
  padding-bottom: 1rem;
}

.student-meta h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.student-meta p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.15rem;
}

.case-badge {
  background: #eff6ff;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid #bfdbfe;
}

.case-score-progression {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  text-align: center;
}

.score-point {
  display: flex;
  flex-direction: column;
}

.score-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
}

.score-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-muted);
}

.score-arrow {
  font-size: 1.25rem;
  color: var(--success);
  font-weight: 800;
}

.score-value.improved {
  color: var(--success);
}

.case-quote {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  position: relative;
}

.case-image-thumb {
  margin-top: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  max-height: 180px;
  position: relative;
}

.case-image-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.case-image-thumb:hover img {
  transform: scale(1.05);
}

.case-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.case-image-thumb:hover .case-image-overlay {
  opacity: 1;
}

/* Interactive Diagnostic Tool (Content Effort & NavBoost) */
.diagnostic-container {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  box-shadow: var(--shadow-xl);
  margin: 1rem 0;
}

.diagnostic-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.diagnostic-intro h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.diagnostic-intro p {
  color: #cbd5e1;
  font-size: 1rem;
}

.quiz-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.quiz-question-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #f8fafc;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quiz-option-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quiz-option-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #60a5fa;
}

.quiz-option-btn.selected {
  background: #2563eb;
  border-color: #93c5fd;
  box-shadow: 0 0 0 2px rgba(147, 197, 253, 0.5);
}

.quiz-option-icon {
  font-size: 1.25rem;
}

.quiz-result-box {
  display: none;
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-top: 1.5rem;
  animation: fadeIn 0.4s ease;
}

.quiz-result-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.quiz-result-tag {
  background: #eff6ff;
  color: var(--primary);
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
}

.quiz-result-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.quiz-result-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.quiz-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Course Programs Grid */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.course-card.featured {
  border: 2px solid var(--primary-light);
  box-shadow: var(--shadow-md);
}

.course-badge-featured {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary-light);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.course-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.course-target {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.course-syllabus {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.course-syllabus li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.course-syllabus li span.check {
  color: var(--success);
  font-weight: bold;
}

/* FAQ Accordion Section */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.75rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  gap: 1rem;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  color: var(--primary-light);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  padding-bottom: 1.5rem;
}

/* Contact / Consultation Booking Section */
.contact-section {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  padding: 5.5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.contact-info-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.channel-icon.line {
  background: #06c755;
  color: #fff;
}

.channel-icon.phone {
  background: #2563eb;
  color: #fff;
}

.channel-icon.email {
  background: #475569;
  color: #fff;
}

.channel-detail h5 {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
}

.channel-detail a, .channel-detail p {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Consultation Form */
.booking-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.booking-form h4 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.booking-form p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-main);
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

/* Sticky Mobile Quick Contact Bar */
.sticky-contact-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
  z-index: 999;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
}

.sticky-contact-bar .btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}

.sticky-contact-bar .btn-line {
  background: #06c755;
  color: #fff;
  font-weight: 700;
}

/* Lightbox Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.25s ease;
}

.modal-container {
  max-width: 900px;
  max-height: 90vh;
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.modal-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: #000;
}

.modal-caption {
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 600;
  background: #ffffff;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* Site Footer */
.site-footer {
  background: var(--primary-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand h4 {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.footer-brand p {
  line-height: 1.7;
  max-width: 400px;
}

.footer-nav h5 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav a {
  color: #94a3b8;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

/* Keyframe Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-badge-wrap {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-metrics {
    justify-content: center;
  }
  .hero-media-box {
    order: -1;
  }
  .hero-profile-card {
    max-width: 320px;
  }
  .methodology-grid {
    grid-template-columns: 1fr;
  }
  .proof-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 4.5rem;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 1rem;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .hero-heading {
    font-size: 2.15rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .quiz-options-grid {
    grid-template-columns: 1fr;
  }
  .sticky-contact-bar {
    display: block;
  }
  body {
    padding-bottom: 4.5rem; /* Room for sticky bar */
  }
}
