/* Luna Bloom Learning Centre — blue / sky / mint theme */
:root {
  --primary: #0a5f8c;
  --primary-dark: #00456d;
  --sky: #4db8e8;
  --sky-soft: #a8dff5;
  --mint: #7dd3c0;
  --mint-deep: #3fb5a0;
  --teal: #2a9d8f;
  --cream: #f5fbff;
  --cream-mint: #f0faf7;
  --text: #1a2b3c;
  --text-muted: #5a6b7c;
  --white: #ffffff;
  --border: #d5e8f2;
  --shadow: 0 8px 24px rgba(10, 95, 140, 0.1);
  --radius: 12px;
  --header-h: 78px;
  --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s, background .2s; }
a:hover { color: var(--sky); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}
ul { padding-left: 1.2rem; }
.container { width: min(1120px, 92%); margin-inline: auto; }

/* Top utility bar */
.topbar {
  background: linear-gradient(90deg, var(--sky) 0%, var(--mint) 100%);
  color: var(--white);
  font-size: 0.85rem;
  padding: 0.45rem 0;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.topbar-contacts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: center; }
.topbar a { color: var(--white); font-weight: 500; }
.topbar a:hover { color: #e8fff8; }
.topbar-icon { opacity: 0.95; margin-right: 0.35rem; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(10, 95, 140, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.6rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary-dark);
  min-width: 0;
}
.logo:hover { color: var(--primary); }
.logo-mark {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-zh { font-size: 1.05rem; font-weight: 700; letter-spacing: 0.02em; }
.logo-en { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }

/* Nav */
.nav-toggle {
  display: none;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
}
.main-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.main-nav .dropdown {
  list-style: none;
  margin: 0;
}
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a,
.main-nav > ul > li > button.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  border-radius: 8px;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > button.nav-btn:hover,
.main-nav > ul > li > a.active,
.main-nav > ul > li.open > button.nav-btn {
  color: var(--primary);
  background: var(--cream);
}
.nav-caret { font-size: 0.65rem; opacity: 0.7; }
.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 0.4rem;
  display: none;
  z-index: 120;
}
.dropdown li a {
  display: block;
  padding: 0.55rem 0.85rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 6px;
}
.dropdown li a:hover { background: var(--cream); color: var(--primary); }
li.open > .dropdown,
.dropdown:focus-within { display: block; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--primary-dark);
}
.hero-slide {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
}
.hero-slide img,
.hero-slide .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-caption {
  position: relative;
  z-index: 2;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 45, 80, 0.75));
  padding: 2.5rem 0 1.75rem;
}
.hero-caption .pill {
  display: inline-block;
  background: rgba(77, 184, 232, 0.92);
  color: var(--white);
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.hero-dots {
  position: absolute;
  bottom: 0.75rem;
  right: 1.5rem;
  z-index: 3;
  display: flex;
  gap: 0.4rem;
}
.hero-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
}
.hero-dots span.active { background: var(--mint); }

/* Page banner (inner) */
.page-banner {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, var(--primary-dark), var(--sky) 60%, var(--mint));
  overflow: hidden;
}
.page-banner.has-photo { min-height: 240px; }
.page-banner .banner-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.2), transparent 50%),
              linear-gradient(transparent 20%, rgba(0, 40, 70, 0.55));
  z-index: 0;
}
.page-banner .container { position: relative; z-index: 1; padding-bottom: 1.5rem; }
.breadcrumb {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.9);
  padding: 0.85rem 0 0.35rem;
}
.breadcrumb a { color: #e8f7ff; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: 0.8; }

/* Sections */
.section { padding: 3rem 0; }
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--primary-dark);
  margin: 0 0 2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.section-lead {
  text-align: center;
  max-width: 720px;
  margin: -1rem auto 2rem;
  color: var(--text-muted);
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  padding: 0 1.1rem 1.4rem;
  position: relative;
  overflow: visible;
  border-top: 6px solid var(--card-accent, var(--sky));
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10, 95, 140, 0.14);
}
.feature-card .card-media {
  height: 72px;
  margin: 0 -1.1rem;
  background: linear-gradient(135deg, var(--card-accent, var(--sky)), var(--primary));
  border-radius: var(--radius) var(--radius) 0 0;
  position: relative;
}
.feature-card .photo-circle {
  width: 96px;
  height: 96px;
  margin: -48px auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 8px 20px rgba(10, 95, 140, 0.22);
  position: relative;
  z-index: 2;
  background: var(--cream);
}
.feature-card .photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-card .icon-circle {
  width: 88px;
  height: 88px;
  margin: 1.25rem auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--card-accent, var(--sky)), var(--primary));
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 6px 16px rgba(10, 95, 140, 0.2);
}
.feature-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  color: var(--primary-dark);
}
.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: left;
}
.feature-card.c1 { --card-accent: #3a8fd4; }
.feature-card.c2 { --card-accent: #4db8e8; }
.feature-card.c3 { --card-accent: #3fb5a0; }
.feature-card.c4 { --card-accent: #0a5f8c; }

/* Process accordion (home) */
.process-block {
  background: var(--cream-mint);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  box-shadow: var(--shadow);
}
.process-visual {
  min-height: 320px;
  background: linear-gradient(160deg, var(--primary) 0%, var(--mint-deep) 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  overflow: hidden;
}
.process-visual img.process-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0, 45, 80, 0.72));
  z-index: 1;
}
.process-visual .overlay-text {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.process-panel { padding: 1.75rem 1.5rem 1.75rem 1.25rem; }
.accordion-item {
  border: 1.5px solid var(--sky-soft);
  border-radius: 10px;
  margin-bottom: 0.65rem;
  background: var(--white);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  text-align: left;
}
.accordion-trigger:hover { background: var(--cream); }
.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mint-deep);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1;
}
.accordion-item.is-open .accordion-icon { background: var(--primary); }
.accordion-panel {
  display: none;
  padding: 0 1rem 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.accordion-item.is-open .accordion-panel { display: block; }
.accordion-panel ul { margin: 0.25rem 0 0; }

/* Vertical tabs (process page) */
.vtabs {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  background: var(--cream-mint);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 380px;
}
.vtab-list { display: flex; flex-direction: column; background: #e4f4f8; }
.vtab-btn {
  border: none;
  background: transparent;
  padding: 1.15rem 1.25rem;
  text-align: left;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--primary-dark);
  cursor: pointer;
  border-left: 4px solid transparent;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.vtab-btn:hover { background: rgba(255,255,255,0.5); }
.vtab-btn.is-active {
  background: var(--white);
  border-left-color: var(--sky);
  color: var(--primary);
}
.vtab-panels { background: var(--white); padding: 1.75rem; }
.vtab-panel { display: none; }
.vtab-panel.is-active { display: block; }
.vtab-panel h3 { margin-top: 0; color: var(--primary-dark); }
.vtab-panel ul { color: var(--text-muted); }

/* Content cards / course grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s;
  border: 1px solid var(--border);
}
.course-card:hover { transform: translateY(-3px); }
.course-card .card-top {
  height: 8px;
  background: var(--card-accent, var(--sky));
}
.course-card .card-photo {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sky-soft), var(--mint));
}
.course-card .card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.course-card:hover .card-photo img { transform: scale(1.05); }
.course-card .card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.course-card h3 { margin: 0 0 0.5rem; font-size: 1.08rem; color: var(--primary-dark); }
.course-card p { margin: 0 0 1rem; font-size: 0.9rem; color: var(--text-muted); flex: 1; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover { background: var(--primary-dark); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--sky);
}
.btn-outline:hover { background: var(--cream); color: var(--primary-dark); }
.btn-mint {
  background: var(--mint-deep);
  color: var(--white);
}
.btn-mint:hover { background: var(--teal); color: var(--white); }
.btn-block { width: 100%; }

/* Two-col cards */
.two-col-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.content-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--sky);
}
.content-card h3 { margin: 0 0 0.5rem; color: var(--primary-dark); font-size: 1.05rem; }
.content-card p { margin: 0 0 0.85rem; color: var(--text-muted); font-size: 0.92rem; }

/* Prose / mission */
.prose {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 820px;
  margin-inline: auto;
}
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.75rem;
  align-items: stretch;
  max-width: 1040px;
  margin-inline: auto;
}
.split-photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
  background: var(--sky-soft);
}
.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}
.split-layout .prose { max-width: none; margin: 0; }
.content-card .card-thumb {
  margin: -1.35rem -1.35rem 1rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--cream);
}
.content-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content-card.has-thumb { padding-top: 0; overflow: hidden; }
.side-photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
  aspect-ratio: 4 / 3;
  background: var(--cream);
}
.side-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide { min-height: 420px; }
@media (max-width: 960px) {
  .split-layout { grid-template-columns: 1fr; }
  .split-photo { min-height: 220px; }
  .split-photo img { min-height: 220px; }
}
.prose h2 { color: var(--primary-dark); margin-top: 0; }
.prose p { color: var(--text-muted); }
.mission-points {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.mission-point {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--cream);
  border-radius: 10px;
}
.mission-point .num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.step-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--primary));
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.step h3 { margin: 0 0 0.4rem; font-size: 0.98rem; color: var(--primary-dark); }
.step p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }

/* Forms */
.form-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.75rem;
  align-items: start;
}
.form-card, .info-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.form-card h2, .info-card h2 {
  margin: 0 0 1.25rem;
  color: var(--primary-dark);
  font-size: 1.25rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--primary-dark);
}
.form-group .req { color: #d64545; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sky);
  background: var(--white);
}
.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}
.req-callout {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid #d64545;
  background: #fff5f5;
  border-radius: 0 8px 8px 0;
}
.req-callout p { margin: 0 0 0.5rem; color: var(--text); font-size: 0.95rem; line-height: 1.6; }
.req-callout p:last-child { margin-bottom: 0; }
.form-group.form-check { margin-top: 1.25rem; margin-bottom: 1.25rem; }
.form-group.form-check .check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
  cursor: pointer;
}
.form-group.form-check input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}
.info-card ul { margin: 0; padding: 0; list-style: none; }
.info-card li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
}
.info-card li:last-child { border-bottom: none; }
.info-card strong { color: var(--primary-dark); display: block; margin-bottom: 0.15rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary) 50%, var(--mint-deep));
  color: var(--white);
  text-align: center;
  padding: 2.5rem 1rem;
  border-radius: 16px;
  margin: 0.5rem 0 0;
}
.cta-band h2 { margin: 0 0 0.5rem; font-size: 1.4rem; }
.cta-band p { margin: 0 0 1.25rem; opacity: 0.92; }
.cta-band .btn { background: var(--white); color: var(--primary-dark); }
.cta-band .btn:hover { background: var(--cream); color: var(--primary); }

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.88);
  padding: 2.75rem 0 0;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.site-footer h3 {
  color: var(--mint);
  font-size: 1rem;
  margin: 0 0 1rem;
  letter-spacing: 0.04em;
}
.footer-contact p {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.footer-contact a { color: var(--white); }
.footer-contact a:hover { color: var(--mint); }
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 1.5rem;
}
.footer-links li { margin-bottom: 0.45rem; break-inside: avoid; }
.footer-links a {
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
}
.footer-links a::before {
  content: "› ";
  color: var(--sky);
  font-weight: 700;
}
.footer-links a:hover { color: var(--mint); }
.footer-about {
  font-size: 0.88rem;
  line-height: 1.7;
}
.footer-about .mini-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.footer-about .mini-logo img { width: 40px; height: 40px; }
.footer-about .mini-logo span { font-weight: 700; color: var(--white); font-size: 0.92rem; }
.copyright {
  background: var(--white);
  color: var(--text-muted);
  text-align: center;
  font-size: 0.8rem;
  padding: 0.85rem 1rem;
}

/* Misc */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.page-heading {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  color: var(--primary-dark);
  margin: 0 0 1.75rem;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .process-block { grid-template-columns: 1fr; }
  .process-visual { min-height: 180px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .form-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .vtabs { grid-template-columns: 1fr; }
  .vtab-list { flex-direction: row; overflow-x: auto; }
  .vtab-btn { white-space: nowrap; border-left: none; border-bottom: 3px solid transparent; }
  .vtab-btn.is-active { border-bottom-color: var(--sky); }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 0.75rem 4%;
  }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 0.75rem;
    display: none;
  }
  li.open > .dropdown { display: block; }
  .two-col-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo-zh { font-size: 0.95rem; }
  .topbar { font-size: 0.78rem; }
}

@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-slide { min-height: 260px; }
}


/* Business-card services + couplet */
.service-list-8 {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.5rem;
  max-width: 52rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
}
.service-list-8 li {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--mint-deep);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-weight: 500;
  box-shadow: var(--shadow);
}
.couplet {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--primary-dark);
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(90deg, rgba(77,184,232,0.15), rgba(125,211,192,0.25));
  border-radius: var(--radius);
}
.footer-couplet {
  text-align: center;
  color: var(--sky-soft);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem;
  font-weight: 500;
}
@media (max-width: 640px) {
  .service-list-8 { grid-template-columns: 1fr; }
  .couplet { letter-spacing: 0.06em; font-size: 1rem; }
}


/* Programme detail blocks */
.programme-detail {
  background: var(--white);
  border-radius: 16px;
  padding: 1.75rem 1.85rem;
  box-shadow: var(--shadow);
  margin: 0 auto 1.75rem;
  max-width: 960px;
  border: 1px solid var(--border);
}
.programme-detail h2 {
  margin: 0 0 0.85rem;
  color: var(--primary-dark);
  font-size: 1.2rem;
}
.programme-detail p { color: var(--text-muted); margin: 0 0 0.85rem; }
.programme-detail p:last-child { margin-bottom: 0; }
.programme-detail ul { color: var(--text-muted); margin: 0.35rem 0 0.85rem; }
.meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
}
.meta-chips span {
  display: inline-block;
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}
.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  margin: 0 auto 1.75rem;
  max-width: 960px;
}
.photo-grid figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sky-soft);
  aspect-ratio: 4 / 3;
}
.photo-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-grid figcaption {
  display: none;
}
.benefit-box {
  background: var(--cream-mint);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  margin-top: 1rem;
}
.benefit-box strong { color: var(--primary-dark); display: block; margin-bottom: 0.35rem; }
.benefit-box p { margin: 0; font-size: 0.92rem; }
.content-card p { line-height: 1.6; }
.home-visual-band {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}
.home-visual-band .visual {
  min-height: 260px;
  overflow: hidden;
}
.home-visual-band .visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}
.home-visual-band .copy { padding: 1.75rem 1.5rem 1.75rem 0.5rem; }
.home-visual-band .copy h3 { margin: 0 0 0.65rem; color: var(--primary-dark); }
.home-visual-band .copy p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 800px) {
  .photo-grid { grid-template-columns: 1fr; }
  .home-visual-band { grid-template-columns: 1fr; }
  .home-visual-band .copy { padding: 1.25rem; }
}
