/* ==========================================================
   傑飛特科技 課程網站 共用樣式
   ========================================================== */
/* cache-bust: 2026-11-11 */
:root {
  --navy: #1f4e8c;
  --navy-dark: #173d70;
  --blue: #2f6db5;
  --blue-bg: #eef4fc;
  --pink: #d6506d;
  --pink-dark: #c03f5c;
  --pink-bg: #fdeef1;
  --green: #2f8a55;
  --green-dark: #24744a;
  --green-bg: #eaf6ee;
  --orange: #f08a24;
  --orange-bg: #fff4e8;
  --red: #d63a3a;
  --red-bg: #fff3f3;
  --text: #2b2f36;
  --muted: #5f6672;
  --line: #e3e8f0;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(31, 78, 140, .08);
  --header-h: 68px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }

.material-symbols-rounded {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
  line-height: 1;
}
.icon-fill { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }

/* ---------- 主題色 ---------- */
.theme-blue  { --c: var(--navy);  --c-dark: var(--navy-dark);  --bg: var(--blue-bg); }
.theme-pink  { --c: var(--pink);  --c-dark: var(--pink-dark);  --bg: var(--pink-bg); }
.theme-green { --c: var(--green); --c-dark: var(--green-dark); --bg: var(--green-bg); }
.theme-orange{ --c: var(--orange);--c-dark: #d97414;          --bg: var(--orange-bg); }

/* ---------- Header ---------- */
.site-header {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 var(--line);
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand-logo { display: block; height: 34px; width: auto; }
@media (max-width: 1199.98px) { .site-header .brand-logo { height: 28px; } }
@media (max-width: 375px) { .site-header .brand-logo { height: 24px; } }
.site-header .nav-link {
  color: var(--text);
  font-size: .92rem;
  font-weight: 500;
  padding: .5rem .9rem !important;
  position: relative;
}
.site-header .nav-link:hover,
.site-header .nav-link.show { color: var(--navy); }
/* LINE 洽詢按鈕（沿用 jfetek.com 文章頁樣式） */
.btn-line {
  background: #06c755;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  border: 0;
  border-radius: 6px;
  padding: .55rem 1.1rem;
  white-space: nowrap;
}
.btn-line:hover, .btn-line:focus { background: #05a948; color: #fff; }
.site-footer .btn-line { white-space: normal; }
/* 右上角「前往課程報名」按鈕 */
.btn-signup { background: #173d70; color: #fff; }
.btn-signup:hover, .btn-signup:focus { background: var(--navy); color: #fff; }
/* 下拉選單 */
.site-header .dropdown-menu {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(31, 78, 140, .15);
  padding: .5rem;
  min-width: 260px;
}
.site-header .dropdown-header { font-size: .75rem; color: var(--muted); padding: .35rem .75rem; }
.site-header .dropdown-item {
  border-radius: 8px;
  padding: .55rem .75rem;
  font-size: .9rem;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.site-header .dropdown-item .material-symbols-rounded { font-size: 1rem; color: var(--muted); }
.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus { background: var(--blue-bg); color: var(--navy); }
.site-header .dropdown-item.active { background: var(--blue-bg); color: var(--navy); font-weight: 700; }
/* 桌面且支援滑鼠時，hover 即展開；觸控裝置維持點擊 */
@media (min-width: 992px) and (hover: hover) {
  .site-header .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
  .site-header .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: -12px;
    height: 12px;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header .nav-link { padding: .5rem .6rem !important; font-size: .88rem; }}
.navbar-toggler { border: 0; padding: .25rem; }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) {
  .site-header .navbar-collapse { padding: .5rem 0 1rem; }
  .site-header .nav-link { padding: .65rem .25rem !important; border-bottom: 1px solid var(--line); }
  .site-header .dropdown-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; }
  .site-header .dropdown-menu { box-shadow: none; background: #f6f8fb; margin: .25rem 0 .5rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, #fbf6ef 0%, #f6efe6 45%, #efe7dc 100%);
  padding: 2.5rem 0 2rem;
}
/* 首頁：整張照片當背景，文字壓在左側留白處 */
/* --hero-ratio：圖片寬高比，桌面版高度依此隨螢幕寬度縮放，減少裁切 */
.hero-photo { --hero-ratio: 3; --hero-pos: right center; display: flex; flex-direction: column; padding: 0; background: #f7f3ee; }
.hero-photo .container { padding-top: 2rem; padding-bottom: 1.5rem; }
.hero-photo-img { order: 2; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 72% center; }
@media (min-width: 992px) {
  .hero-photo { min-height: clamp(440px, calc(100vw / var(--hero-ratio)), 720px); justify-content: center; }
  .hero-photo .container { position: relative; z-index: 1; padding-top: 3rem; padding-bottom: 3rem; }
  .hero-photo-img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: var(--hero-pos); }
}
.hero-script {
  font-family: "LXGW WenKai TC", cursive;
  color: var(--muted);
  font-size: 1.15rem;
  letter-spacing: .08em;
  margin-bottom: .5rem;
}
.hero-title {
  font-family: "Noto Serif TC", serif;
  font-weight: 900;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.25;
  color: #1d2430;
  margin-bottom: .75rem;
}
.hero-title.sm { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.hero-lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: #3b414b; margin-bottom: 1.25rem; }
.hero-lead strong { font-size: 1.15em; font-weight: 700; }
.hero-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}
.hero-features { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-bottom: 1.25rem; }
.hero-feature { display: flex; align-items: center; gap: .55rem; font-size: .85rem; color: #3b414b; line-height: 1.45; }
.hero-feature .ico {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  display: grid; place-items: center;
  color: var(--orange);
}
.hero-price { font-size: 1rem; color: #3b414b; margin: -.5rem 0 1.25rem; }
.hero-price strong { font-size: 1.5em; font-weight: 900; color: var(--orange); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-pill {
  border-radius: 999px;
  padding: .7rem 1.8rem;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-width: 180px;
}
.btn-main { background: var(--c, var(--navy)); color: #fff; border: 2px solid var(--c, var(--navy)); }
.btn-main:hover { background: var(--c-dark, var(--navy-dark)); border-color: var(--c-dark, var(--navy-dark)); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.hero-note { margin: .6rem 0 0; font-size: .82rem; color: var(--muted); }

/* ---------- 課程資訊列 ---------- */
.info-bar {
  position: relative;
  z-index: 2;
  margin-top: -1.25rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.info-bar .col { padding: 1rem 1.1rem; }
.info-item { display: flex; gap: .7rem; align-items: flex-start; }
.info-item .ico { color: var(--navy); font-size: 2rem; }
.info-item .label { font-size: .82rem; font-weight: 700; color: var(--navy); }
.info-item .value { font-size: 1.1rem; font-weight: 700; color: var(--text); line-height: 1.4; }
.info-item .value.price { color: var(--c, var(--navy)); font-size: 1.25rem; }
.info-item .note { font-size: .78rem; color: var(--muted); }
@media (min-width: 992px) {
  .info-bar .col + .col { border-left: 1px solid var(--line); }
}
@media (max-width: 991.98px) {
  .info-bar .col { border-bottom: 1px solid var(--line); }
}
@media (max-width: 575.98px) {
  .info-bar .col { padding: .8rem .75rem; }
  .info-item { gap: .5rem; }
  .info-item .ico { font-size: 1.6rem; }
  .info-item .value { font-size: 1rem; }
  .info-item .value.price { font-size: 1.05rem; white-space: nowrap; }
}

/* ---------- 區塊標題 ---------- */
.section { padding: 2.25rem 0; }
.section-sm { padding: 1.25rem 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; margin-bottom: 1.25rem; }
.section-title {
  display: flex; align-items: center; gap: .5rem;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 900;
  color: var(--navy);
  margin: 0;
  letter-spacing: .04em;
}
.section-title.bar { border-left: 5px solid var(--navy); padding-left: .75rem; }
.section-title .material-symbols-rounded { font-size: 2rem; }
.section-desc { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- 首頁三大主題課程卡 ---------- */
.course-card {
  height: 100%;
  background: var(--bg);
  border-radius: var(--radius);
  padding: .75rem;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.course-card .thumb { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; }
.course-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.num-badge {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid #fff;
  font-size: .95rem;
}
.course-card .num-badge { position: absolute; top: 6px; left: 6px; }
.course-card h3 { font-size: 1.12rem; font-weight: 900; color: var(--c); margin: .9rem 0 .25rem; }
.course-card .sub { font-size: .9rem; color: var(--muted); margin-bottom: .6rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.check-list li { display: flex; gap: .45rem; font-size: .9rem; margin-bottom: .35rem; }
.check-list .material-symbols-rounded { color: var(--c); font-size: 1.2rem; margin-top: .15rem; }
.course-meta { display: flex; gap: .5rem; margin-top: auto; margin-bottom: .75rem; }
.course-meta > div {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  padding: .5rem .6rem;
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; line-height: 1.3;
}
.course-meta .material-symbols-rounded { color: var(--c); font-size: 1.6rem; }
.course-meta strong { font-size: 1rem; }
.course-meta .price { color: var(--c); font-size: 1.1rem; }
.btn-course {
  background: var(--c);
  color: #fff;
  border-radius: 999px;
  padding: .55rem 1rem;
  font-weight: 700;
  width: 100%;
  display: inline-flex; justify-content: center; align-items: center; gap: .3rem;
}
.btn-course:hover { background: var(--c-dark); color: #fff; }

/* ---------- 婦女補助 ---------- */
.subsidy-banner {
  background: linear-gradient(90deg, #ffe9d2, #fff4e8);
  border-radius: var(--radius);
  padding: .9rem 1.25rem;
  display: flex; align-items: center; gap: .75rem;
}
.subsidy-banner .material-symbols-rounded { color: var(--orange); font-size: 2.6rem; }
.subsidy-banner h2 { color: var(--pink-dark); font-weight: 900; font-size: clamp(1.1rem, 2.6vw, 1.6rem); margin: 0; letter-spacing: .04em; }
.alert-box {
  margin-top: .9rem;
  border: 1.5px solid #f1b7b7;
  background: var(--red-bg);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex; gap: 1rem; align-items: center;
}
.alert-box .alert-head { display: flex; align-items: center; gap: .5rem; color: var(--red); font-weight: 900; font-size: 1.15rem; white-space: nowrap; }
.alert-box .alert-head .material-symbols-rounded { font-size: 2.2rem; }
.alert-box p { margin: 0; font-size: .92rem; }
.text-hl { color: var(--red); font-weight: 500; }
@media (max-width: 767.98px) {
  .alert-box { flex-direction: column; align-items: flex-start; }
}

/* ---------- 梯次資訊 ---------- */
.schedule-box {
  background: var(--blue-bg);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.schedule-title { display: flex; align-items: center; gap: .6rem; font-size: 1.6rem; font-weight: 900; color: var(--navy); margin: 0; }
.schedule-title small { font-size: 1rem; }
.schedule-title .material-symbols-rounded { font-size: 2.6rem; }
.sch-item { display: flex; gap: .55rem; align-items: flex-start; font-size: .92rem; line-height: 1.5; }
.sch-item .material-symbols-rounded { color: var(--navy); font-size: 1.6rem; }
.sch-item .label { font-weight: 700; font-size: .82rem; }
.sch-item small { color: var(--muted); }
.table-course { margin: 0; font-size: .9rem; }
.table-course thead th { background: var(--blue-bg); color: var(--text); font-weight: 700; border-bottom: 0; }
.table-course td, .table-course th { padding: .7rem .75rem; vertical-align: middle; }
.table-course td { white-space: nowrap; }
.table-course td:first-child { white-space: normal; min-width: 11em; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.table-note { display: flex; align-items: center; gap: .4rem; font-size: .9rem; margin: 0 0 .6rem; }
.table-note .material-symbols-rounded { color: var(--orange); font-size: 1.3rem; }
.table-note strong { color: var(--orange); }
.course-code { display: inline-block; min-width: 2.2em; margin-right: .5rem; padding: .05rem .4rem; border-radius: 6px; font-size: .78rem; font-weight: 700; text-align: center; color: #fff; vertical-align: .1em; }
.course-code.code-a { background: var(--navy); }
.course-code.code-b { background: var(--orange); }
.badge-status { background: #dff3e6; color: var(--green); font-weight: 500; padding: .35rem .7rem; border-radius: 6px; font-size: .82rem; display: inline-block; text-decoration: none; transition: background-color .15s, color .15s; }
a.badge-status:hover, a.badge-status:focus { background: var(--green); color: #fff; }

/* 手機版：表格轉卡片 */
@media (max-width: 767.98px) {
  .table-course thead { display: none; }
  .table-course tr { display: block; border-bottom: 1px solid var(--line); padding: .5rem 0; }
  .table-course td { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 1rem; border: 0; white-space: normal; }
  .table-course td::before { content: attr(data-label); font-weight: 700; color: var(--muted); flex: none; }
  .table-course td:first-child { font-weight: 700; color: var(--navy); }
  .table-course td:first-child::before { display: none; }
}

/* ---------- 報名流程 ---------- */
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; }
.flow-step {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  background: var(--orange-bg);
  border-radius: var(--radius);
  padding: 1rem .7rem 1.1rem;
}
.flow-step .num-badge { --c: var(--orange); position: absolute; top: .55rem; left: .55rem; width: 26px; height: 26px; font-size: .8rem; }
.flow-step > .material-symbols-rounded { font-size: 2.2rem; color: #444; margin: .2rem 0 .35rem; font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 48; }
.flow-step h3 { font-size: .95rem; font-weight: 700; margin: 0 0 .3rem; color: var(--text); line-height: 1.4; }
.flow-step p { font-size: .82rem; line-height: 1.55; color: var(--muted); margin: 0; }
.flow-step .flow-btn { margin-top: .55rem; padding: .3rem .8rem; font-size: .8rem; }
.flow-step + .flow-step::before {
  content: "chevron_right";
  font-family: "Material Symbols Rounded";
  position: absolute; left: -1.35rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem; color: var(--muted);
}
@media (max-width: 1199.98px) {
  .flow-steps { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .flow-step + .flow-step::before { display: none; }
}
@media (max-width: 575.98px) { .flow-steps { grid-template-columns: repeat(2, 1fr); gap: .75rem; } }

/* ---------- 注意事項 / 退費 ---------- */
.notice-card, .refund-card {
  height: 100%;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.notice-card { background: var(--blue-bg); }
.refund-card { background: var(--orange-bg); }
.card-title { display: flex; align-items: center; gap: .5rem; font-size: 1.3rem; font-weight: 900; margin-bottom: .9rem; }
.notice-card .card-title { color: var(--navy); }
.refund-card .card-title { color: var(--pink-dark); }
.card-title .material-symbols-rounded { font-size: 2rem; }
.refund-card .card-title .material-symbols-rounded { color: var(--orange); }
.notice-card ul { padding-left: 1.2rem; margin: 0; font-size: .92rem; }
.notice-card li { margin-bottom: .3rem; }
.refund-table { width: 100%; font-size: .9rem; background: #fff; border-radius: 10px; overflow: hidden; }
.refund-table td { padding: .55rem 1rem; border-bottom: 1px solid #f3e4d4; vertical-align: middle; }
.refund-table tr:last-child td { border-bottom: 0; }
.refund-table td:last-child { width: 50%; }
.refund-table .pct { color: var(--red); font-weight: 700; }

/* ---------- 課程內頁：適合對象 ---------- */
.persona-card {
  height: 100%;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex; gap: .9rem; align-items: center;
}
.persona-card .avatar {
  flex: none;
  width: 72px; height: 88px;
  border-radius: 12px;
  object-fit: cover;
}
.persona-card .avatar-ico {
  flex: none;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  color: var(--c);
  display: grid; place-items: center;
}
.persona-card .avatar-ico .material-symbols-rounded { font-size: 2rem; }
.persona-card h3 { font-size: 1.05rem; font-weight: 900; color: var(--c); margin-bottom: .3rem; line-height: 1.4; }
.persona-card p { font-size: .85rem; color: var(--muted); margin: 0; }

/* 電商版：照片在上方 */
.persona-photo {
  height: 100%;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
}
.persona-photo .photo { position: relative; aspect-ratio: 16 / 9; }
.persona-photo .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.persona-photo .photo .avatar-ico {
  position: absolute; left: .9rem; bottom: -1.4rem;
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--c);
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.persona-photo .body { padding: 1.8rem 1.1rem 1.1rem; }
.persona-photo h3 { font-size: 1.05rem; font-weight: 900; color: var(--c); line-height: 1.4; }
.persona-photo p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- 職務能力 ---------- */
.ability-card {
  height: 100%;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.ability-card .head { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .75rem; }
.ability-card .num-badge { flex: none; width: 44px; height: 44px; font-size: 1.1rem; background: #fff; color: var(--c); border: 2px solid var(--c); }
.ability-card .big-ico { color: var(--c); font-size: 2.6rem; }
.ability-card h3 { font-size: 1.05rem; font-weight: 900; color: var(--c); line-height: 1.5; margin: 0; }
.ability-card .sub { font-size: .8rem; color: var(--muted); margin: .2rem 0 0; }
.ability-card p { font-size: .88rem; color: var(--muted); margin: 0; }
.ability-card.center { text-align: center; }
.ability-card.center .head { flex-direction: column; align-items: center; }

/* 電商版能力卡內示意圖 */
.ability-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }

/* ---------- 三堂課 ---------- */
.lesson-card {
  height: 100%;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.1rem;
  display: flex; flex-direction: column;
}
.lesson-card .lesson-head { display: flex; gap: .6rem; align-items: center; margin-bottom: .9rem; }
.lesson-card .lesson-head h3 { font-size: 1rem; font-weight: 900; color: var(--c); margin: 0; line-height: 1.5; }
.lesson-row { display: flex; gap: .75rem; background: #fff; border-radius: 10px; padding: .75rem; margin-bottom: .6rem; align-items: flex-start; }
.lesson-row:last-child { margin-bottom: 0; }
.tag { flex: none; background: var(--c); color: #fff; font-size: .8rem; font-weight: 700; border-radius: 6px; padding: .2rem .55rem; }
.lesson-row ul { margin: 0; padding-left: 1.1rem; font-size: .87rem; }
.lesson-row.grow { flex: 1; }
.lesson-label { display: flex; align-items: center; gap: .3rem; font-weight: 700; font-size: .9rem; color: var(--c); margin-bottom: .3rem; }
.lesson-points { columns: 2; column-gap: 1rem; padding-left: 1.1rem; margin: 0; font-size: .86rem; }
.lesson-result { display: flex; gap: .6rem; align-items: center; background: rgba(255,255,255,.7); border-radius: 10px; padding: .7rem .8rem; margin-top: auto; font-size: .86rem; }
.lesson-result .material-symbols-rounded { font-size: 2rem; color: var(--c); }
.lesson-result strong { display: block; color: var(--c); }

/* Canva 版：色塊表頭 + 箭頭 */
.lesson-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: .75rem; align-items: stretch; }
.lesson-flow .arrow { display: grid; place-items: center; color: var(--navy); }
.lesson-flow .arrow .material-symbols-rounded { font-size: 2rem; }
.lesson-col { background: #fff; border: 1.5px solid var(--bg); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.lesson-col .top { background: var(--c); color: #fff; font-weight: 700; padding: .6rem 1rem; text-align: center; font-size: .95rem; }
.lesson-col .inner { padding: 1rem; display: flex; flex-direction: column; flex: 1; background: linear-gradient(#fff, var(--bg)); }
.lesson-col ul { padding-left: 1.1rem; font-size: .88rem; }
@media (max-width: 991.98px) {
  .lesson-flow { grid-template-columns: 1fr; }
  .lesson-flow .arrow { transform: rotate(90deg); }
  .lesson-points { columns: 1; }
}

/* ---------- 作品 ---------- */
.works-grid { display: grid; grid-template-columns: repeat(var(--cols, 7), minmax(0, 1fr)); gap: .75rem; }
.work-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; height: 100%; transition: box-shadow .2s; }
.work-card:hover { box-shadow: var(--shadow); }
.work-card .img { aspect-ratio: 104 / 65; overflow: hidden; background: #f5f7fb; }
.work-card .img img { width: 100%; height: 100%; object-fit: cover; }
.work-card .body { padding: .55rem .65rem .7rem; }
.work-card h3 { font-size: .9rem; font-weight: 700; color: var(--navy); margin: 0 0 .15rem; }
.work-card p { font-size: .78rem; color: var(--muted); margin: 0; line-height: 1.5; }
.work-card.simple .body { text-align: center; padding: .5rem; }
.work-card.simple h3 { color: var(--text); font-weight: 500; font-size: .85rem; }
@media (max-width: 1199.98px) { .works-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767.98px)  { .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 作品區後報名 CTA ---------- */
.cta-banner {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between;
}
.cta-banner__text { font-size: clamp(1.02rem, 2vw, 1.25rem); font-weight: 900; color: var(--c-dark, var(--navy-dark)); margin: 0; flex: 1 1 320px; }
.cta-banner__btn { flex: none; }
@media (max-width: 575.98px) {
  .cta-banner { flex-direction: column; align-items: stretch; text-align: center; padding: 1.1rem 1.1rem; }
  .cta-banner__btn { width: 100%; }
}

/* ---------- 費用包含 ---------- */
.include-card {
  height: 100%;
  background: var(--bg, #f6f8fb);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex; gap: .75rem; align-items: center;
  border: 1px solid var(--line);
}
.include-card .material-symbols-rounded { font-size: 2.2rem; color: var(--text); flex: none; }
.include-card h3 { font-size: .95rem; font-weight: 700; color: var(--navy); margin: 0 0 .15rem; }
.include-card p { font-size: .8rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- A＋B 雙課程方案 ---------- */
.bundle-cta {
  background: linear-gradient(135deg, var(--blue-bg), var(--orange-bg));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.bundle-eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  color: #fff; background: var(--navy);
  border-radius: 999px; padding: .2rem .8rem;
  margin-bottom: .5rem;
}
.bundle-intro h2 { font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 900; color: var(--text); margin: 0 0 .35rem; }
.bundle-intro h2 strong { color: var(--orange); white-space: nowrap; }
.bundle-intro p { margin: 0; color: var(--muted); }
.bundle-flow { display: flex; align-items: stretch; gap: .75rem; }
.bundle-step {
  flex: 1; min-width: 0;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: .9rem 1rem;
  display: flex; align-items: center; gap: .75rem;
}
.bundle-step strong { display: block; font-size: 1rem; color: var(--text); }
.bundle-step small { display: block; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.bundle-step.step-total { position: relative; }
.bundle-step .bundle-price { font-size: 1.15rem; font-weight: 900; color: var(--orange); }
.bundle-ribbon {
  position: absolute; top: -.95rem; right: .75rem;
  background: var(--pink); color: #fff;
  font-size: .78rem; font-weight: 700; line-height: 1.3; text-align: center;
  border-radius: 8px; padding: .25rem .6rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}
.bundle-ribbon small { display: block; font-size: .7rem; font-weight: 500; color: #fff; }
.bundle-tag {
  flex: none;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 900; color: #fff;
}
.bundle-step.step-a { border-color: var(--navy); }
.bundle-step.step-a .bundle-tag { background: var(--navy); }
.bundle-step.step-b { border-color: var(--orange); }
.bundle-step.step-b .bundle-tag { background: var(--orange); }
.bundle-step.step-total .bundle-tag { background: var(--green); }
.bundle-step.step-total .bundle-tag .material-symbols-rounded { font-size: 1.4rem; }
.bundle-op { align-self: center; flex: none; font-size: 1.8rem; font-weight: 900; color: var(--muted); }
.bundle-example { margin: 0; font-size: .88rem; color: var(--text); }
.bundle-example .material-symbols-rounded { color: var(--orange); margin-right: .25rem; }
.bundle-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 767.98px) {
  .bundle-cta { padding: 1.25rem; }
  .bundle-flow { flex-direction: column; }
  .bundle-op { line-height: 1; }
  .bundle-step.step-total { margin-top: .75rem; }
  .bundle-actions .btn-pill { flex: 1; }
}

/* ---------- AI 工作台開關 ----------
   目前：顯示 AI 工作台，隱藏「免費 AI 工具」版本。
   要改回免費工具版：把下面的 .ai-wb-off 改成 .ai-wb-on，
   再執行 python scripts/update-asset-hash.py。 */
.ai-wb-off { display: none !important; }

/* ---------- 課後陪跑計畫 ---------- */
.perks-section { padding: 2.5rem 0; }
.perks-box {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--c, var(--navy)) 0%, var(--c-dark, var(--navy-dark)) 100%);
  border-radius: calc(var(--radius) + 6px);
  padding: 2rem 1.75rem 1.5rem;
  color: #fff;
  box-shadow: 0 14px 36px color-mix(in srgb, var(--c, var(--navy)) 28%, transparent);
}
.perks-box::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(255, 255, 255, .08); pointer-events: none;
}
.perks-box > * { position: relative; }
.perks-head { margin-bottom: 1.5rem; }
.perks-eyebrow {
  display: inline-flex; align-items: center; gap: .3rem;
  background: #fff; color: var(--c, var(--navy));
  font-size: .85rem; font-weight: 700; border-radius: 999px; padding: .25rem .85rem; margin-bottom: .75rem;
}
.perks-eyebrow .material-symbols-rounded { font-size: 1.15rem; }
.perks-head h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 900; color: #fff; margin: 0 0 .4rem; letter-spacing: .02em; }
.perks-head p { margin: 0; color: rgba(255, 255, 255, .88); font-size: .95rem; }
.perks-tier {
  display: flex; align-items: center; gap: .4rem;
  font-size: 1.05rem; font-weight: 900; color: #fff; margin: 1.75rem 0 .85rem;
}
.perks-tier::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .3); margin-left: .5rem; }
.perks-tier .material-symbols-rounded { font-size: 1.4rem; }
.perks-head + .perks-tier { margin-top: 0; }
.perk-card {
  height: 100%;
  background: #fff; color: var(--text);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1rem;
  display: flex; flex-direction: column; gap: .45rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}
.perk-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.perk-ico {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: var(--bg, var(--blue-bg)); color: var(--c, var(--navy));
}
.perk-ico .material-symbols-rounded { font-size: 1.8rem; }
.perk-no {
  font-size: .75rem; font-weight: 700; letter-spacing: .05em;
  color: var(--c, var(--navy)); background: var(--bg, var(--blue-bg));
  border-radius: 999px; padding: .1rem .65rem;
}
.perk-card h4 { font-size: 1.05rem; font-weight: 900; color: var(--text); margin: .2rem 0 0; }
.perk-card p { font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.6; }
.perk-card .perk-note { font-size: .78rem; }
.perk-period {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .78rem; font-weight: 700; color: var(--c, var(--navy));
  border: 1px solid color-mix(in srgb, var(--c, var(--navy)) 35%, transparent);
  border-radius: 999px; padding: .15rem .6rem;
}
.perk-period .material-symbols-rounded { font-size: 1rem; }
.perks-foot { margin: 1.25rem 0 0; font-size: .85rem; color: rgba(255, 255, 255, .85); }
.perks-foot a { color: #fff; font-weight: 700; text-decoration: underline; }
@media (max-width: 575.98px) {
  .perks-box { padding: 1.5rem 1.1rem 1.25rem; }
}

/* ---------- Footer ---------- */
.site-footer { background: #f3f6fa; padding: 1.5rem 0; margin-top: 2rem; font-size: .85rem; color: var(--muted); }
.site-footer .brand-logo { height: 30px; }
.footer-col { line-height: 1.6; }
.site-footer a:not(.btn):not(.brand) { color: var(--navy); text-decoration: none; }
.site-footer a:not(.btn):not(.brand):hover { text-decoration: underline; }
.footer-site { display: inline-flex; align-items: center; gap: .25rem; margin-top: .35rem; font-weight: 700; }
.footer-site .material-symbols-rounded { font-size: 1.05rem; }
@media (min-width: 768px) {
  .site-footer .footer-col + .footer-col { border-left: 1px solid var(--line); padding-left: 1.5rem; }
}

/* ---------- 回到頂端 ---------- */
.back-top {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 1030;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; border: 0;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--navy-dark); }

/* ==========================================================
   B 類進階課程頁（workflow / creative / growth）
   ========================================================== */
.theme-b01 { --c: #1d5bd8; --c-dark: #1647ad; --c-2: #3b82f6; --bg: #eef4ff; --cta: #1d5bd8; --cta-2: #3b82f6; }
.theme-b02 { --c: #5b3fd8; --c-dark: #4529b8; --c-2: #3b6ff0; --bg: #f2efff; --cta: #5b3fd8; --cta-2: #3b6ff0; }
.theme-b03 { --c: #2f5bea; --c-dark: #2246c4; --c-2: #6b8cff; --bg: #eef3ff; --cta: #f0365f; --cta-2: #ff5a7a; }

.adv-hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 3rem;
  background: linear-gradient(115deg, #fff 0%, var(--bg) 55%, #fff 100%);
}
.adv-badge {
  display: inline-block;
  background: var(--c);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  border-radius: 999px;
  padding: .3rem .95rem;
  margin-bottom: .9rem;
}
.adv-title {
  font-weight: 900;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.25;
  color: #14213d;
  margin-bottom: .75rem;
  letter-spacing: .02em;
}
.adv-title .hl { color: var(--c); }
.adv-sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 700; color: #1f2937; margin-bottom: .5rem; }
.adv-lead { color: #3b414b; margin-bottom: 1.25rem; }
.adv-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.adv-chip {
  display: flex; align-items: center; gap: .5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .5rem .85rem;
  font-size: .85rem; line-height: 1.35;
  box-shadow: 0 2px 8px rgba(20, 33, 61, .04);
}
.adv-chip .material-symbols-rounded { color: var(--c); font-size: 1.6rem; }
.adv-chip strong { display: block; font-size: .95rem; }
/* 三頁頁首圖統一比例，讓頁首高度一致；個別頁面可用 --hero-pos 調整取景 */
.adv-hero-img { display: block; width: 100%; aspect-ratio: 8 / 7; object-fit: cover; object-position: var(--hero-pos, center); border-radius: 20px; box-shadow: var(--shadow); }
.btn-adv {
  background: linear-gradient(90deg, var(--cta), var(--cta-2));
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: .8rem 2rem;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--cta) 30%, transparent);
  transition: transform .2s, box-shadow .2s;
}
.btn-adv:hover, .btn-adv:focus { color: #fff; transform: translateY(-2px); }

/* 置中區塊標題 */
.adv-head { text-align: center; margin-bottom: 1.75rem; }
.adv-head h2 { font-weight: 900; font-size: clamp(1.4rem, 2.6vw, 1.85rem); color: #14213d; margin-bottom: .4rem; }
.adv-head h2 .hl { color: var(--c); }
.adv-head p { color: var(--muted); margin: 0; font-size: .95rem; }
.adv-section { padding: 3rem 0; }
.adv-section.tint { background: linear-gradient(180deg, var(--bg), #fff); }

/* 適合對象：沿用 persona-photo，B 類統一白底卡片 */
.adv-persona .persona-photo { background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 16px rgba(20, 33, 61, .05); }
.adv-persona .persona-photo h3 { color: #14213d; }
.adv-persona .persona-photo .avatar-ico { background: var(--c); color: #fff; }

/* 核心技能卡 */
.skill-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(20, 33, 61, .05);
}
.skill-card .ico {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--c);
  display: grid; place-items: center;
  margin-bottom: 1rem;
}
.skill-card .ico .material-symbols-rounded { font-size: 2rem; }
.skill-card h3 { font-size: 1.12rem; font-weight: 900; color: #14213d; margin-bottom: .4rem; }
.skill-card p { font-size: .9rem; color: var(--muted); margin: 0; }
.skill-card ul { padding-left: 1.1rem; font-size: .9rem; color: #3b414b; margin-bottom: 1rem; }
.skill-card .skill-img { width: 100%; border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; }
.skill-card.inline-head .head { display: flex; align-items: center; gap: .6rem; margin-bottom: .75rem; }
.skill-card.inline-head .head .material-symbols-rounded { color: var(--c); font-size: 1.8rem; }
.skill-card.inline-head h3 { margin: 0; color: var(--c); }

/* 課綱：列表式（B01） */
.outline-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  height: 100%;
}
.outline-row .num { font-size: 1.6rem; font-weight: 900; color: var(--c); }
.outline-row h3 { font-size: 1.05rem; font-weight: 900; color: var(--c); margin-bottom: .25rem; }
.outline-row ul { margin: 0; padding-left: 1.1rem; font-size: .88rem; color: #3b414b; }
.outline-row .side { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.outline-row .side .material-symbols-rounded { color: var(--c); font-size: 2rem; }
.hours { display: inline-block; background: var(--bg); color: var(--c); font-weight: 700; font-size: .8rem; border-radius: 6px; padding: .15rem .55rem; white-space: nowrap; }
.outline-img { width: 100%; height: 100%; min-height: 110px; object-fit: cover; border-radius: var(--radius); }
/* 圖片高度跟隨左側課綱列，不撐高整列 */
.outline-media { position: relative; }
.outline-media .outline-img { position: absolute; top: 0; left: calc(var(--bs-gutter-x) * .5); width: calc(100% - var(--bs-gutter-x)); height: 100%; min-height: 0; }

/* 課綱：五欄卡片（B02 / B03） */
.outline-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.o-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  display: flex; flex-direction: column;
  box-shadow: 0 4px 16px rgba(20, 33, 61, .05);
}
.o-card .top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.o-card .no { background: var(--c); color: #fff; font-weight: 700; font-size: .85rem; border-radius: 6px; padding: .1rem .5rem; }
.o-card h3 { font-size: 1rem; font-weight: 900; color: #14213d; margin-bottom: .5rem; line-height: 1.45; }
.o-card ul { padding-left: 1.1rem; font-size: .85rem; color: #3b414b; margin-bottom: .75rem; }
.o-card img { margin-top: auto; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.o-card .o-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--bg); color: var(--c); display: grid; place-items: center; margin: 0 auto .6rem; }
.o-card .o-ico .material-symbols-rounded { font-size: 1.8rem; }
.o-card.center h3 { text-align: center; }
.o-card .checks { list-style: none; padding: 0; }
.o-card .checks li { display: flex; gap: .35rem; margin-bottom: .3rem; }
.o-card .checks li::before { content: "check_circle"; font-family: "Material Symbols Rounded"; color: var(--c-2); font-size: 1rem; line-height: 1.5; }
@media (min-width: 1200px) {
  .outline-cols.arrows .o-card + .o-card::before {
    content: "chevron_right";
    font-family: "Material Symbols Rounded";
    position: absolute; left: -1.05rem; top: 50%;
    transform: translateY(-50%);
    color: var(--c-2); font-size: 1.3rem;
  }
}
@media (max-width: 1199.98px) { .outline-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px)  { .outline-cols { grid-template-columns: 1fr; } }

/* 作品成果 */
.result-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(20, 33, 61, .05);
}
.result-card .img { position: relative; aspect-ratio: 16 / 10; background: var(--bg); }
.result-card .img img { width: 100%; height: 100%; object-fit: cover; }
.result-card .img.contain img { object-fit: contain; }
.result-card .tag { position: absolute; left: .75rem; bottom: .75rem; background: var(--c); color: #fff; font-size: .78rem; font-weight: 700; border-radius: 999px; padding: .15rem .65rem; }
.result-card .body { padding: 1rem 1.15rem 1.2rem; }
.result-card h3 { font-size: 1.05rem; font-weight: 900; color: var(--c); margin-bottom: .3rem; }
.result-card p { font-size: .88rem; color: var(--muted); margin: 0; }

/* 上課資訊（B 類） */
.info-bar.static { margin-top: 0; }
.info-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 4px 16px rgba(20, 33, 61, .05);
}
.info-panel h2 { font-size: 1.35rem; font-weight: 900; color: #14213d; margin-bottom: 1.25rem; }
.info-panel .item { display: flex; gap: .75rem; font-size: .88rem; color: var(--muted); line-height: 1.55; }
.info-panel .item .material-symbols-rounded { color: var(--c); font-size: 1.8rem; }
.info-panel .item strong { display: block; color: #14213d; font-size: .95rem; }
.price-card {
  height: 100%;
  border-radius: var(--radius);
  padding: 1.5rem;
  background: linear-gradient(160deg, #fff, var(--bg));
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .6rem;
}
.price-card h3 { font-size: 1.15rem; font-weight: 900; color: var(--c); margin: 0; line-height: 1.45; }
.price-card .price { font-size: 2rem; font-weight: 900; color: var(--cta); line-height: 1.2; }
.price-card .price small { font-size: 1rem; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 .5rem; font-size: .9rem; }
.price-card li { display: flex; align-items: center; gap: .4rem; margin-bottom: .3rem; }
.price-card li .material-symbols-rounded { color: var(--c); font-size: 1.2rem; }
.price-card .btn-adv { margin-top: auto; }

.adv-hero-photo { background: #f3f7ff; }

/* 結尾報名橫幅 */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(110deg, var(--c-dark), var(--c) 55%, var(--c-2));
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 2.25rem;
}
.cta-band > :not(.cta-bg) { position: relative; z-index: 1; }
.cta-band .script {
  font-family: "LXGW WenKai TC", cursive;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.6;
  margin: 0;
  transform: rotate(-5deg);
}
.cta-band .body { text-align: center; }
.cta-band h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 900; margin-bottom: .35rem; }
.cta-band p { margin-bottom: 1rem; opacity: .9; }
.cta-band .btn-light-pill { background: #fff; color: var(--c); border-radius: 999px; padding: .75rem 2.5rem; font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; }
.cta-band .btn-light-pill:hover { color: var(--c-dark); }

.cta-band .cta-bg { position: absolute; top: 0; height: 100%; object-fit: cover; }

/* 整張照片當背景，文字壓在左側留白處（B01） */
.cta-band.photo-full { background: #4f74f0; min-height: 300px; }
.cta-band.photo-full .cta-bg { inset: 0; width: 100%; object-position: right 30%; }
.cta-band.photo-full .script, .cta-band.photo-full .body { text-shadow: 0 1px 8px rgba(20, 50, 140, .25); }
/* 背景圖左側為淺色時：文字集中在左半部、改深色字（B02） */
.cta-band.on-light { grid-template-columns: minmax(0, 46%) 1fr; color: #2a1b6b; row-gap: .75rem; }
.cta-band.on-light > .script, .cta-band.on-light > .body { grid-column: 1; text-shadow: none; }
.cta-band.on-light .body { text-align: left; }
.cta-band.on-light p { color: #4b4370; opacity: 1; }
.cta-band.line-cta-photo { color: #0f3d24; background: #e3f6ea; }
.cta-band.line-cta-photo p { color: #35554a; }
.cta-band.line-cta-photo .cta-pills.inline { justify-content: flex-start; }
.cta-band.line-cta-photo .cta-pills .material-symbols-rounded { color: var(--c); }
.cta-band.on-light.text-right { grid-template-columns: 1fr minmax(0, 46%); row-gap: 1.25rem; }
.cta-band.on-light.text-right .script { transform: rotate(-4deg); margin-bottom: .25rem; }
.cta-band.on-light.text-right > .script, .cta-band.on-light.text-right > .body { grid-column: 2; }
.cta-band.on-light.text-right::after { background: linear-gradient(270deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .35) 45%, transparent 60%); }
.cta-band.on-light::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .35) 45%, transparent 60%);
}
.cta-pills { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.cta-pills li {
  display: flex; align-items: center; gap: .4rem;
  background: rgba(255, 255, 255, .92);
  color: #14213d;
  font-size: .85rem; font-weight: 700;
  border-radius: 999px;
  padding: .35rem .9rem .35rem .45rem;
  white-space: nowrap;
}
.cta-pills .material-symbols-rounded { color: var(--c); font-size: 1.3rem; }
.cta-pills.inline { flex-direction: row; flex-wrap: wrap; justify-content: center; margin-top: 1rem; text-shadow: none; }
.cta-pills.inline li { font-size: .8rem; }

/* 特色清單（B03） */
.cta-feats { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; margin-top: 1.25rem; font-size: .82rem; color: var(--muted); }
.cta-feats > div { display: flex; align-items: center; gap: .55rem; line-height: 1.4; }
.cta-feats strong { display: block; color: #14213d; font-size: .9rem; }
.cta-feats .ico {
  width: 46px; height: 46px; flex: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(20, 33, 61, .08);
  display: grid; place-items: center;
  color: var(--c);
}

@media (max-width: 991.98px) {
  .cta-band { grid-template-columns: 1fr; text-align: center; padding: 1.75rem 1.25rem; min-height: 0; }
  .cta-band .script { transform: none; }
  .cta-band .cta-bg { width: 100% !important; opacity: .25; -webkit-mask-image: none !important; mask-image: none !important; }
  .cta-band.on-light, .cta-band.on-light.text-right { grid-template-columns: 1fr; }
  .cta-band.on-light > .script, .cta-band.on-light > .body { grid-column: auto; }
  .cta-band.on-light .body { text-align: center; }
  .cta-band.line-cta-photo .cta-pills.inline { justify-content: center; }
  .cta-feats { justify-content: center; text-align: left; }
}

/* ---------- 補助方案說明 ---------- */
.guide-intro { display: flex; gap: .75rem; align-items: flex-start; background: var(--blue-bg); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1rem; }
.guide-intro > .material-symbols-rounded { color: var(--navy); font-size: 2rem; flex: none; }
.guide-intro p { margin: 0; font-size: .95rem; line-height: 1.8; }
.guide-intro strong { color: var(--navy); }
.reward-card { display: flex; gap: .9rem; align-items: center; height: 100%; background: var(--orange-bg); border: 1.5px solid #f8d2a8; border-radius: var(--radius); padding: 1rem 1.25rem; }
.reward-card > .material-symbols-rounded { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 2rem; }
.reward-card .reward-label { font-size: .9rem; font-weight: 700; color: var(--text); }
.reward-card .reward-value { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 900; color: var(--pink-dark); line-height: 1.3; }
.reward-card p { margin: .2rem 0 0; font-size: .85rem; color: var(--muted); }
.reward-card.alt { background: var(--green-bg); border-color: #bfe3cc; }
.reward-card.alt > .material-symbols-rounded { background: var(--green); }
.reward-card.alt .reward-value { color: var(--green-dark); }
.reward-disclaimer { display: flex; gap: .6rem; align-items: center; background: var(--orange-bg); border: 1.5px solid #f8d2a8; border-radius: var(--radius); padding: .75rem 1.1rem; margin: 0 0 1rem; font-size: .9rem; font-weight: 700; color: #b35c0b; line-height: 1.6; }
.reward-disclaimer .material-symbols-rounded { flex: none; color: var(--orange); font-size: 1.6rem; }
.subsidy-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 0 0 1.5rem; }
.side-stack { display: flex; flex-direction: column; gap: 1rem; height: 100%; }
.guide-flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: .75rem; align-items: stretch; }
.guide-flow .arrow { display: grid; place-items: center; color: var(--navy); }
.guide-flow .arrow .material-symbols-rounded { font-size: 2rem; }
.guide-steps { counter-reset: gstep; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .92rem; }
.guide-steps li { counter-increment: gstep; display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .55rem; }
.guide-steps li::before {
  content: counter(gstep);
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--c); color: #fff; font-size: .8rem; font-weight: 700;
  display: grid; place-items: center; margin-top: .1rem;
}
.guide-steps strong { color: var(--c-dark); }
.guide-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; height: 100%; }
.guide-box h3 { display: flex; align-items: center; gap: .4rem; font-size: 1.05rem; font-weight: 900; color: var(--navy); margin-bottom: .75rem; }
.guide-box h3 .material-symbols-rounded { font-size: 1.6rem; }
.guide-docs > div { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-bottom: .6rem; }
.guide-docs .label { font-size: .8rem; font-weight: 700; color: #fff; background: var(--navy); border-radius: 6px; padding: .15rem .55rem; margin-right: .2rem; }
.guide-docs .doc { font-size: .85rem; background: var(--blue-bg); color: var(--text); border-radius: 999px; padding: .2rem .7rem; }
.guide-links { list-style: none; padding: 0; margin: 0 0 .5rem; font-size: .9rem; }
.guide-links li { margin-bottom: .4rem; }
.guide-links a { display: inline-flex; align-items: center; gap: .25rem; font-weight: 500; }
.guide-links .material-symbols-rounded { font-size: 1rem; }
.guide-note { font-size: .8rem; color: var(--muted); margin: 0; }
@media (max-width: 991.98px) {
  .guide-flow { grid-template-columns: 1fr; }
  .guide-flow .arrow { transform: rotate(90deg); }
}

/* ---------- 手機版固定底部報名列 ---------- */
.mobile-cta-bar { display: none; }
@media (max-width: 991.98px) {
  .mobile-cta-bar {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035;
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(31, 78, 140, .14);
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom, 0px));
  }
  .mobile-cta-bar__actions { display: flex; gap: .6rem; }
  .mobile-cta-bar__btn {
    flex: 1;
    min-height: 48px;
    border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: .5rem .5rem;
    font-size: .92rem;
    white-space: nowrap;
  }
  .mobile-cta-bar__note { margin: .4rem 0 0; text-align: center; font-size: .74rem; color: var(--muted); }
  body { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
  .back-top { bottom: calc(106px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 340px) {
  .mobile-cta-bar__btn { font-size: .82rem; padding: .5rem .3rem; }
}

/* ---------- 進場動畫 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 常見問題／最後 CTA ---------- */
.faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; align-items: start; }
@media (max-width: 991.98px) { .faq-list { grid-template-columns: 1fr; } }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "expand_more"; font-family: "Material Symbols Rounded"; font-size: 1.4rem; flex: none; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p { margin: .6rem 0 0; font-size: .92rem; line-height: 1.7; }
.final-cta {
  display: flex; align-items: center; gap: 1.25rem;
  background: var(--blue-bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
}
.final-cta-ico { flex: none; font-size: 2.8rem; color: var(--navy); }
.final-cta-text { flex: 1; min-width: 0; }
.final-cta-text h2 { font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-weight: 900; color: var(--navy); margin: 0 0 .25rem; }
.final-cta-text p { margin: 0; font-size: .9rem; color: var(--muted); }
.final-cta-actions { flex: none; display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 991.98px) {
  .final-cta { flex-direction: column; text-align: center; }
  .final-cta-actions { justify-content: center; }
}

/* ---------- 申請輔導 ---------- */
.assist-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.assist-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.assist-ico { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 1.8rem; }
.assist-title { flex: 1; min-width: 0; }
.assist-title h3 { font-size: 1.1rem; font-weight: 900; color: var(--navy); margin: 0 0 .2rem; }
.assist-title p { margin: 0; font-size: .82rem; color: var(--muted); }
.assist-head .btn { flex: none; }
.assist-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; }
.assist-items li {
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  text-align: center; font-size: .88rem; line-height: 1.5;
  background: var(--green-bg); border-radius: var(--radius); padding: .9rem .7rem;
}
.assist-items .material-symbols-rounded { font-size: 1.9rem; color: var(--green); }
@media (max-width: 991.98px) {
  .assist-items { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767.98px) {
  .assist-head { flex-wrap: wrap; }
  .assist-head .btn { width: 100%; }
  .assist-items { grid-template-columns: 1fr; }
  .assist-items li { flex-direction: row; text-align: left; padding: .65rem .9rem; }
}

/* ==========================================================
   LINE 課程頁（line-cs / line-ai）
   ========================================================== */
.theme-line { --c: #06a54a; --c-dark: #04863b; --c-2: #22c55e; --bg: #e8f8ee; --cta: #06c755; --cta-2: #22c55e; }
.hero-line { background: linear-gradient(105deg, #f3fbf6 0%, #e9f7ef 55%, #ddf2e6 100%); padding: 2.5rem 0; }
@media (min-width: 992px) { .hero-line { padding: 3.5rem 0; } }
.hero-line-photo { background: #f1f8f6; }

/* LINE 對話畫面示意 */
.chat-mock { max-width: 340px; margin: 0 auto; background: #fff; border: 8px solid #1f2937; border-radius: 30px; overflow: hidden; box-shadow: 0 18px 40px rgba(20, 33, 61, .18); }
.chat-mock .cm-head { display: flex; align-items: center; gap: .5rem; background: #06c755; color: #fff; padding: .7rem 1rem; font-weight: 700; font-size: .95rem; }
.chat-mock .cm-head .material-symbols-rounded { font-size: 1.35rem; }
.chat-mock .cm-head small { margin-left: auto; font-weight: 500; font-size: .72rem; background: rgba(255, 255, 255, .22); border-radius: 999px; padding: .1rem .55rem; }
.chat-mock .cm-body { display: flex; flex-direction: column; gap: .5rem; background: #e9eef4; padding: 1rem .8rem 1.1rem; min-height: 290px; }
.chat-mock .cm-msg { max-width: 82%; padding: .5rem .75rem; border-radius: 16px; font-size: .84rem; line-height: 1.55; color: #1f2937; }
.chat-mock .cm-msg.in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.chat-mock .cm-msg.out { align-self: flex-end; background: #06c755; color: #fff; border-top-right-radius: 4px; }
.chat-mock .cm-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: .2rem; margin: -.2rem 0 .15rem .25rem; font-size: .7rem; color: #4b5563; }
.chat-mock .cm-tag .material-symbols-rounded { font-size: .95rem; color: #06a54a; }
.chat-mock .cm-menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e5e7eb; border-top: 1px solid #e5e7eb; }
.chat-mock .cm-menu div { background: #fff; text-align: center; padding: .55rem .25rem; font-size: .74rem; font-weight: 500; color: #334155; }
.chat-mock .cm-menu .material-symbols-rounded { display: block; font-size: 1.35rem; color: #06a54a; }
@media (max-width: 991.98px) { .chat-mock { max-width: 300px; } }

/* 沒有照片時的圖示示意區 */
.icon-visual { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; background: linear-gradient(135deg, var(--bg, #e8f8ee), #fff); color: var(--c, #06a54a); text-align: center; }
.icon-visual .material-symbols-rounded { font-size: 3rem; }
.icon-visual small { font-size: .78rem; font-weight: 700; color: #475569; }
.icon-visual.ability-visual { height: auto; aspect-ratio: 2 / 1; border-radius: 10px; }
.result-card .img .icon-visual .material-symbols-rounded { font-size: 3.6rem; }

/* ===== 線上影音＋教室實作 課綱分段 ===== */
.outline-phase { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; font-size: 1.1rem; font-weight: 900; color: #14213d; margin-bottom: 1rem; }
.phase-tag { background: var(--c); color: #fff; font-size: .85rem; font-weight: 700; border-radius: 999px; padding: .2rem .8rem; }
.phase-tag.onsite { background: var(--cta, var(--c-dark)); }
.outline-note { display: flex; align-items: center; gap: .4rem; font-size: .9rem; color: #3b414b; background: var(--bg); border-radius: 10px; padding: .6rem .9rem; margin-bottom: 1rem; }
.outline-note .material-symbols-rounded { color: var(--c); font-size: 1.2rem; }
.outline-cols.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.outline-cols.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1199.98px) { .outline-cols.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .outline-cols.cols-4, .outline-cols.cols-3 { grid-template-columns: 1fr; } }

/* ===== 主辦與課程規劃單位（信任標記） ===== */
.soc-mark { flex: none; display: inline-block; line-height: 0; }
.soc-mark img { height: 40px; width: auto; }
.soc-mark.lg img { height: 50px; }
.soc-link { display: inline-flex; align-items: center; gap: .3rem; vertical-align: top; }
.soc-mark.sm img { height: 18px; }
.trust-badge {
  display: inline-flex; align-items: center; gap: .65rem;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .45rem .95rem .45rem .6rem;
  color: var(--text); text-decoration: none; line-height: 1.35;
  box-shadow: 0 2px 8px rgba(20, 33, 61, .06);
}
.trust-badge:hover { border-color: var(--navy); color: var(--text); }
.trust-badge small { display: block; font-size: .75rem; color: var(--muted); }
.trust-badge strong { display: block; font-size: .92rem; font-weight: 700; color: var(--navy); }
.partner-strip { padding: 1.25rem 0; background: #fff; }
.partner-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.5rem; }
.partner-item { display: flex; align-items: center; gap: .75rem; color: var(--text); text-decoration: none; line-height: 1.35; }
.partner-item small { display: block; font-size: .75rem; color: var(--muted); }
.partner-item strong { display: block; font-size: 1rem; font-weight: 700; color: var(--navy); }
a.partner-item:hover strong { text-decoration: underline; }
.partner-logo { height: 44px; width: auto; }
.partner-sep { color: var(--muted); font-size: 1.4rem; }
@media (max-width: 575.98px) {
  .partner-row { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .partner-sep { display: none; }
}
