/* =========================================================
   講師頁專用樣式 — 好家來 Homoney｜家來聊點錢
   ========================================================= */

/* ===== Eyebrow / 高亮 / pill ===== */
.eyebrow {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #5a5247;
  margin-bottom: 16px;
}
.eyebrow--gold { color: #c9a449; }

.hl-gold { color: #c9a449; }

.pill {
  display: inline-block;
  padding: 6px 14px;
  background: #f9f5ec;
  border: 1px solid #d5cab2;
  border-radius: 999px;
  color: #5a5247;
  font-size: 13px;
  margin: 4px 6px 4px 0;
}

/* ===== INSTRUCTOR HERO ===== */
.ins-hero {
  padding: 100px 0 80px;
  background: linear-gradient(180deg, #fdfbf5 0%, #f6f1e7 100%);
  position: relative;
  overflow: hidden;
}

.ins-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

@media (min-width: 1024px) {
  .ins-hero { padding: 130px 0 100px; }
  .ins-hero__inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 70px;
  }
}

.ins-hero__title {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 900;
  line-height: 1.25;
  color: #304e38;
  margin: 0 0 24px;
}

.ins-hero__lead {
  font-size: 17px;
  color: #5a5247;
  line-height: 1.9;
  margin: 0 0 28px;
}
.ins-hero__lead strong { color: #304e38; }

.ins-hero__pills {
  margin: 0 0 32px;
}

.ins-hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* — Portrait — */
.ins-portrait {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

.ins-portrait img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  box-shadow:
    0 25px 60px -20px rgba(48, 78, 56, 0.35),
    0 0 0 1px rgba(201, 164, 73, 0.2);
}

.ins-portrait__badge {
  position: absolute;
  bottom: -22px;
  right: -22px;
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, #c9a449 0%, #b8923d 100%);
  color: #fdfbf5;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(201, 164, 73, 0.4);
  border: 3px solid #fdfbf5;
}
.ins-portrait__badge-num {
  font-family: "Noto Serif TC", serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}
.ins-portrait__badge-label {
  font-family: "Cormorant Garamond", serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-align: center;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .ins-portrait { max-width: 320px; }
  .ins-portrait__badge {
    width: 88px; height: 88px;
    bottom: -15px; right: -8px;
  }
  .ins-portrait__badge-num { font-size: 26px; }
  .ins-portrait__badge-label { font-size: 9px; }
}

/* ===== Section base ===== */
.section--cream { background: #fdfbf5; }
.section--green {
  background: #304e38;
  color: #fdfbf5;
}
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head--light * { color: #fdfbf5; }
.section__title {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: #304e38;
  margin: 0 0 14px;
  line-height: 1.4;
}
.section__title--light { color: #fdfbf5; }
.section__lead {
  font-size: 16px;
  color: #5a5247;
  margin: 0;
  line-height: 1.7;
}
.section__lead--light { color: #d5cab2; }

/* ===== WHY ME — 4 cards ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) {
  .why-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

.why-card {
  background: #ffffff;
  border: 1px solid #d5cab2;
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -10px rgba(48, 78, 56, 0.15);
}

.why-card__num {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 500;
  color: #c9a449;
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.why-card__title {
  font-family: "Noto Serif TC", serif;
  font-size: 22px;
  font-weight: 700;
  color: #304e38;
  margin: 0 0 14px;
}
.why-card p {
  color: #5a5247;
  font-size: 15px;
  line-height: 1.85;
  margin: 0;
}
.why-card strong { color: #304e38; }

/* ===== STORY TIMELINE ===== */
.story-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 24px;
}
.story-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, #c9a449 0%, #d5cab2 100%);
}
@media (min-width: 768px) {
  .story-timeline { padding-left: 90px; }
  .story-timeline::before { left: 80px; }
}

.story-step {
  position: relative;
  padding: 0 0 44px;
}
.story-step:last-child { padding-bottom: 0; }

.story-step__year {
  position: absolute;
  left: -24px;
  top: 0;
  display: none;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 500;
  color: #c9a449;
  letter-spacing: 1.5px;
}
@media (min-width: 768px) {
  .story-step__year {
    display: block;
    left: -80px;
    top: 4px;
    width: 56px;
    text-align: right;
  }
}

.story-step__dot {
  position: absolute;
  left: -23px;
  top: 8px;
  width: 14px;
  height: 14px;
  background: #c9a449;
  border-radius: 50%;
  border: 3px solid #fdfbf5;
  box-shadow: 0 0 0 2px #c9a449;
}
@media (min-width: 768px) {
  .story-step__dot { left: -1px; }
}

.story-step__body { padding-left: 28px; }
@media (max-width: 767px) {
  .story-step__body { padding-left: 22px; }
}
.story-step__body h3 {
  font-family: "Noto Serif TC", serif;
  font-size: 20px;
  font-weight: 700;
  color: #304e38;
  margin: 0 0 12px;
  line-height: 1.5;
}
.story-step__body p {
  color: #5a5247;
  font-size: 15.5px;
  line-height: 1.95;
  margin: 0;
}
.story-step__body strong { color: #304e38; }

/* mobile-only：年份顯示在標題前面 */
@media (max-width: 767px) {
  .story-step__body::before {
    content: attr(data-year);
  }
}
@media (max-width: 767px) {
  .story-step h3::before {
    content: "";
  }
}

/* ===== NOT-DO (3 cards on green bg) ===== */
.not-do-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 768px) {
  .not-do-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.not-do-card {
  background: rgba(253, 251, 245, 0.05);
  border: 1px solid rgba(201, 164, 73, 0.4);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
}
.not-do-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  background: rgba(201, 164, 73, 0.15);
  color: #c9a449;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}
.not-do-card h3 {
  font-family: "Noto Serif TC", serif;
  font-size: 20px;
  font-weight: 700;
  color: #fdfbf5;
  margin: 0 0 14px;
}
.not-do-card p {
  color: #d5cab2;
  font-size: 14.5px;
  line-height: 1.85;
  margin: 0;
}
.not-do-card strong { color: #c9a449; }

.philosophy-cta {
  text-align: center;
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid rgba(201, 164, 73, 0.3);
}
.philosophy-cta__text {
  color: #d5cab2;
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 10px;
}
.philosophy-cta__text--gold strong {
  color: #c9a449;
  font-family: "Noto Serif TC", serif;
  font-size: 19px;
}

/* ===== MEDIA cards ===== */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 768px) {
  .media-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

.media-card {
  background: #ffffff;
  border: 1px solid #d5cab2;
  border-radius: 12px;
  padding: 26px 18px;
  text-align: center;
}
.media-card__icon {
  font-size: 32px;
  display: block;
  margin-bottom: 10px;
}
.media-card h4 {
  color: #304e38;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}
.media-card p {
  color: #847a6c;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.media-card--placeholder {
  background: #fdfbf5;
  border-style: dashed;
}

/* ===== TESTI cards ===== */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .testi-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
}

.testi-card {
  background: #f9f5ec;
  border-radius: 14px;
  padding: 32px 28px 24px;
  position: relative;
  border: 1px solid #e6dfc8;
}
.testi-card__quote {
  font-family: "Cormorant Garamond", serif;
  font-size: 60px;
  line-height: 1;
  color: #c9a449;
  position: absolute;
  top: 12px;
  left: 22px;
  opacity: 0.5;
}
.testi-card__body {
  color: #2a2620;
  font-size: 15px;
  line-height: 1.9;
  margin: 24px 0 22px;
  position: relative;
  z-index: 1;
}
.testi-card__body strong { color: #304e38; font-weight: 700; }
.testi-card__author {
  border-top: 1px solid #d5cab2;
  padding-top: 14px;
  font-size: 13.5px;
  color: #5a5247;
}
.testi-card__author strong { color: #304e38; }

.testi-disclaimer {
  margin-top: 36px;
  text-align: center;
  font-size: 12.5px;
  color: #847a6c;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Bottom CTA ===== */
.ins-cta {
  text-align: center;
  padding: 20px 0;
}
.ins-cta__title {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 700;
  color: #fdfbf5;
  margin: 14px 0 22px;
  line-height: 1.5;
}
.ins-cta__lead {
  color: #d5cab2;
  font-size: 17px;
  line-height: 1.9;
  margin: 0 0 32px;
}
.ins-cta__lead strong { color: #fdfbf5; }
.ins-cta__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.ins-cta__note {
  color: #d5cab2;
  font-size: 13.5px;
  line-height: 1.9;
  margin: 0;
}

.btn--ghost-light {
  background: transparent;
  color: #fdfbf5;
  border: 1.5px solid #d5cab2;
}
.btn--ghost-light:hover {
  background: rgba(253, 251, 245, 0.08);
  border-color: #c9a449;
}

/* ===== STICKY CTA（手機） ===== */
.sticky-cta {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #c9a449 0%, #b8923d 100%);
  color: #fdfbf5;
  padding: 12px 20px;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(201, 164, 73, 0.45);
  z-index: 1000;
  font-size: 13.5px;
  line-height: 1.3;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sticky-cta:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 14px 36px rgba(201, 164, 73, 0.55);
}
.sticky-cta__label { font-size: 11.5px; opacity: 0.9; letter-spacing: 0.5px; }
.sticky-cta__price { font-size: 15px; font-weight: 700; margin-top: 1px; }

@media (min-width: 768px) {
  .sticky-cta {
    bottom: 24px;
    right: 24px;
    left: auto;
    transform: none;
    padding: 14px 24px;
  }
  .sticky-cta:hover {
    transform: translateY(-2px);
  }
}

/* nav active */
.nav .is-active {
  color: #304e38;
  font-weight: 700;
  border-bottom: 2px solid #c9a449;
}
