/* ═══════════════════════════════════════════════════════
   EnglishWithCliff — Course & Lesson Styles
   ═══════════════════════════════════════════════════════ */

/* ═══ COURSE LANDING PAGE ═══ */
.course-hero {
  background: linear-gradient(155deg,#0C0A08 0%,#18120C 30%,#1A1410 60%,#14100A 100%);
  position: relative; overflow: hidden; padding: 0 0 80px;
}
.course-hero::before {
  content: ''; position: absolute; top: -20%; right: -10%; width: 70%; height: 140%;
  background: radial-gradient(ellipse at 60% 40%,rgba(232,101,43,.07),transparent 60%);
  pointer-events: none;
}
.course-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; padding: 40px 0 0;
}
.course-hero-title {
  font-size: clamp(28px,4vw,44px); font-weight: 900; color: #fff;
  line-height: 1.1; letter-spacing: -.04em; margin-bottom: 16px;
}
.course-hero-title .accent {
  background: linear-gradient(135deg,var(--orange),#F59E0B);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.course-hero-desc {
  font-size: 15px; color: rgba(255,255,255,.45); line-height: 1.8; margin-bottom: 24px; max-width: 480px;
}
.course-hero-meta {
  display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 28px;
}
.course-meta-item {
  display: flex; align-items: center; gap: 8px; font-size: 13px;
  color: rgba(255,255,255,.5); font-weight: 500;
}
.course-meta-item svg { width: 16px; height: 16px; stroke: var(--orange); fill: none; stroke-width: 2; }
.course-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Course visual side */
.course-hero-visual {
  position: relative; display: flex; justify-content: center; align-items: center; min-height: 360px;
}
.course-preview-card {
  width: 320px; background: rgba(24,20,16,.92); border-radius: 20px;
  padding: 28px; border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 30px 80px rgba(0,0,0,.5); position: relative; z-index: 2;
}
.course-preview-progress { margin-bottom: 20px; }
.course-preview-progress-label {
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,.4); margin-bottom: 8px;
}
.course-preview-bar {
  height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden;
}
.course-preview-bar-fill { height: 100%; border-radius: 99px; background: var(--orange); width: 0; transition: width 1.5s var(--ease); }

.course-preview-unit {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  border-radius: 12px; margin-bottom: 6px; transition: all .2s;
}
.course-preview-unit:hover { background: rgba(255,255,255,.04); }
.course-preview-unit-num {
  width: 32px; height: 32px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; flex-shrink: 0;
}
.course-preview-unit-num--active { background: var(--orange); color: #fff; }
.course-preview-unit-num--locked { background: rgba(255,255,255,.06); color: rgba(255,255,255,.25); }
.course-preview-unit-text { font-size: 13px; font-weight: 600; color: #fff; }
.course-preview-unit-sub { font-size: 10px; color: rgba(255,255,255,.3); margin-top: 1px; }
.course-preview-unit--locked .course-preview-unit-text { color: rgba(255,255,255,.3); }

/* Float card on course hero */
.course-float-badge {
  position: absolute; top: 20px; right: -20px;
  background: rgba(24,20,16,.92); border-radius: 14px; padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.06); box-shadow: 0 12px 40px rgba(0,0,0,.4);
  color: #fff; z-index: 3; animation: bob 6s ease-in-out infinite;
}
.course-float-badge2 {
  position: absolute; bottom: 20px; left: -20px;
  background: rgba(24,20,16,.92); border-radius: 14px; padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.06); box-shadow: 0 12px 40px rgba(0,0,0,.4);
  color: #fff; z-index: 3; animation: bob 6.5s ease-in-out infinite 1.5s;
}
@keyframes bob { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }

/* ═══ CURRICULUM / UNITS SECTION ═══ */
.curriculum { padding: 80px 0; background: #fff; }
.unit-card {
  background: var(--cream); border-radius: var(--radius-lg); border: 1px solid var(--border);
  margin-bottom: 20px; overflow: hidden; transition: all .4s var(--ease);
}
.unit-card:hover { box-shadow: 0 8px 32px rgba(180,160,130,.08); }
.unit-card-header {
  padding: 24px 28px; display: flex; align-items: center; gap: 16px; cursor: pointer;
  transition: all .2s;
}
.unit-card-header:hover { background: rgba(232,101,43,.02); }
.unit-num {
  width: 44px; height: 44px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900; flex-shrink: 0;
}
.unit-num--1 { background: var(--orange-light); color: var(--orange); }
.unit-num--2 { background: #E8F1FE; color: var(--blue); }
.unit-num--3 { background: #E8F8EF; color: var(--green); }
.unit-num--4 { background: #F0EEFF; color: var(--purple); }
.unit-title { font-size: 17px; font-weight: 800; color: var(--navy); }
.unit-title-es { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-top: 2px; }
.unit-meta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.unit-lesson-count { font-size: 11px; font-weight: 600; color: var(--text-muted); }
.unit-chevron {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.04); transition: all .3s var(--ease);
}
.unit-card.open .unit-chevron { transform: rotate(180deg); background: var(--orange-light); }
.unit-chevron svg { width: 12px; height: 12px; }

.unit-card-body {
  max-height: 0; overflow: hidden; transition: max-height .4s var(--ease);
}
.unit-card.open .unit-card-body { max-height: 600px; }
.unit-lessons { padding: 0 28px 24px; display: grid; gap: 8px; }

.lesson-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border-radius: 14px; border: 1px solid var(--border); background: #fff;
  transition: all .3s var(--ease); text-decoration: none;
}
.lesson-row:hover { border-color: var(--orange); transform: translateX(4px); box-shadow: 0 4px 16px rgba(232,101,43,.08); }

.lesson-row-num {
  width: 32px; height: 32px; border-radius: 10px; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: var(--navy); flex-shrink: 0;
}
.lesson-row-info { flex: 1; }
.lesson-row-title { font-size: 14px; font-weight: 700; color: var(--navy); }
.lesson-row-desc { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.lesson-row-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.lesson-row-tag {
  padding: 2px 8px; border-radius: 6px; font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}
.lesson-row-arrow {
  width: 28px; height: 28px; border-radius: 8px; background: var(--orange-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all .2s;
}
.lesson-row:hover .lesson-row-arrow { background: var(--orange); }
.lesson-row-arrow svg { width: 12px; height: 12px; stroke: var(--orange); fill: none; stroke-width: 2.5; }
.lesson-row:hover .lesson-row-arrow svg { stroke: #fff; }

/* Checkpoint row */
.lesson-row--checkpoint {
  background: linear-gradient(135deg,var(--navy),var(--navy-light));
  border-color: rgba(255,255,255,.06);
}
.lesson-row--checkpoint .lesson-row-num { background: rgba(255,255,255,.1); color: #fff; }
.lesson-row--checkpoint .lesson-row-title { color: #fff; }
.lesson-row--checkpoint .lesson-row-desc { color: rgba(255,255,255,.4); }
.lesson-row--checkpoint .lesson-row-arrow { background: rgba(232,101,43,.15); }
.lesson-row--checkpoint .lesson-row-arrow svg { stroke: var(--orange); }
.lesson-row--checkpoint:hover { border-color: var(--orange); }
.lesson-row--checkpoint:hover .lesson-row-arrow { background: var(--orange); }
.lesson-row--checkpoint:hover .lesson-row-arrow svg { stroke: #fff; }

/* ═══ LESSON PAGE ═══ */
.lesson-hero {
  background: linear-gradient(155deg,#0C0A08 0%,#18120C 50%,#1A1410 100%);
  padding: 0 0 48px; position: relative; overflow: hidden;
}
.lesson-hero::before {
  content: ''; position: absolute; top: -30%; right: -15%; width: 60%; height: 160%;
  background: radial-gradient(ellipse at 60% 40%,rgba(232,101,43,.06),transparent 60%);
  pointer-events: none;
}

/* Lesson progress bar (sticky top) */
.lesson-progress-bar {
  position: fixed; top: var(--nav-h); left: 0; right: 0; height: 4px;
  background: var(--border); z-index: 90;
}
.lesson-progress-fill {
  height: 100%; background: linear-gradient(90deg,var(--orange),var(--gold));
  border-radius: 0 2px 2px 0; transition: width .4s var(--ease); width: 0;
}

.lesson-header { padding-top: 100px; position: relative; z-index: 2; }
.lesson-header-meta {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap;
}
.lesson-header-tag {
  padding: 5px 14px; border-radius: 99px; font-size: 11px; font-weight: 700;
  background: rgba(232,101,43,.1); border: 1px solid rgba(232,101,43,.15); color: var(--orange);
}
.lesson-header-num { font-size: 12px; color: rgba(255,255,255,.35); font-weight: 500; }
.lesson-title {
  font-size: clamp(26px,3.5vw,38px); font-weight: 900; color: #fff;
  letter-spacing: -.04em; line-height: 1.1; margin-bottom: 8px;
}
.lesson-title-es {
  font-size: 16px; color: rgba(255,255,255,.3); font-weight: 500; font-style: italic; margin-bottom: 16px;
}
.lesson-objectives {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px;
}
.lesson-objective {
  display: flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 10px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
  font-size: 12px; color: rgba(255,255,255,.5); font-weight: 500;
}
.lesson-objective svg { width: 14px; height: 14px; stroke: var(--green); fill: none; stroke-width: 2; }

/* ═══ LESSON CONTENT SECTIONS ═══ */
.lesson-content { padding: 60px 0; }
.lesson-content .container { max-width: 800px; }

.lesson-section {
  margin-bottom: 60px; animation: fadeUp .6s var(--ease) both;
}
.lesson-section-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--orange); margin-bottom: 16px;
}
.lesson-section-label svg { width: 14px; height: 14px; }
.lesson-section-title {
  font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 10px;
}
.lesson-section-body {
  font-size: 15px; color: var(--text); line-height: 1.8;
}
.lesson-section-body p { margin-bottom: 14px; }
.lesson-section-body .es-text {
  color: var(--text-muted); font-style: italic; font-size: 13px;
}

/* ═══ VOCAB CARDS ═══ */
.vocab-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px; margin: 20px 0;
}
.vocab-card {
  background: #fff; border-radius: var(--radius); padding: 20px;
  border: 2px solid var(--border); cursor: pointer;
  transition: all .3s var(--ease); position: relative; overflow: hidden;
}
.vocab-card:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(232,101,43,.08); }
.vocab-card.flipped { border-color: var(--green); background: #F0FFF6; }
.vocab-en { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.vocab-phonetic { font-size: 12px; color: var(--text-muted); font-family: monospace; margin-bottom: 8px; }
.vocab-es {
  font-size: 14px; color: var(--orange); font-weight: 600;
  padding-top: 8px; border-top: 1px solid var(--border);
}
.vocab-card .vocab-hidden { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease), opacity .3s; opacity: 0; }
.vocab-card.flipped .vocab-hidden { max-height: 100px; opacity: 1; }
.vocab-audio-btn {
  position: absolute; top: 12px; right: 12px; width: 28px; height: 28px;
  border-radius: 8px; background: var(--cream); display: flex; align-items: center;
  justify-content: center; border: none; cursor: pointer; transition: all .2s;
}
.vocab-audio-btn:hover { background: var(--orange-light); }
.vocab-audio-btn svg { width: 14px; height: 14px; stroke: var(--orange); fill: none; stroke-width: 2; }
.vocab-tap-hint {
  font-size: 10px; color: var(--text-faint); text-align: center; margin-top: 4px;
}

/* ═══ DIALOGUE BOX ═══ */
.dialogue-box {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border);
  overflow: hidden; margin: 20px 0;
}
.dialogue-header {
  padding: 16px 24px; background: var(--cream); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.dialogue-header-icon { font-size: 18px; }
.dialogue-header-title { font-size: 13px; font-weight: 700; color: var(--navy); }
.dialogue-header-sub { font-size: 11px; color: var(--text-muted); }
.dialogue-lines { padding: 20px 24px; }

.dialogue-line {
  display: flex; gap: 12px; margin-bottom: 16px; opacity: 0;
  animation: fadeUp .4s var(--ease) both;
}
.dialogue-line:nth-child(1) { animation-delay: .1s; }
.dialogue-line:nth-child(2) { animation-delay: .3s; }
.dialogue-line:nth-child(3) { animation-delay: .5s; }
.dialogue-line:nth-child(4) { animation-delay: .7s; }
.dialogue-line:nth-child(5) { animation-delay: .9s; }
.dialogue-line:nth-child(6) { animation-delay: 1.1s; }

.dialogue-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.dialogue-bubble {
  background: var(--cream); border-radius: 14px 14px 14px 4px;
  padding: 12px 16px; flex: 1; max-width: 420px;
}
.dialogue-line--right { flex-direction: row-reverse; }
.dialogue-line--right .dialogue-bubble {
  border-radius: 14px 14px 4px 14px; background: var(--orange-light);
}
.dialogue-en { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.dialogue-es { font-size: 12px; color: var(--text-muted); font-style: italic; }

/* ═══ GRAMMAR BOX ═══ */
.grammar-box {
  background: linear-gradient(135deg,var(--navy),var(--navy-light));
  border-radius: var(--radius-lg); padding: 32px; margin: 20px 0; color: #fff;
}
.grammar-box-title { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.grammar-table {
  width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 12px;
}
.grammar-table th {
  padding: 10px 16px; text-align: left; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.04);
}
.grammar-table td {
  padding: 12px 16px; font-size: 14px; border-top: 1px solid rgba(255,255,255,.06);
}
.grammar-table .grammar-en { font-weight: 700; color: var(--orange); }
.grammar-table .grammar-es { color: rgba(255,255,255,.4); font-size: 12px; }

.grammar-example {
  margin-top: 16px; padding: 16px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
}
.grammar-example-label { font-size: 10px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.grammar-example-text { font-size: 15px; font-weight: 600; color: #fff; }
.grammar-example-es { font-size: 12px; color: rgba(255,255,255,.35); margin-top: 4px; }

/* ═══ EXERCISES ═══ */
.exercise-box {
  background: #fff; border-radius: var(--radius-lg); border: 2px solid var(--border);
  padding: 32px; margin: 20px 0; transition: all .3s var(--ease);
}
.exercise-box.completed { border-color: var(--green); }
.exercise-box.incorrect { border-color: var(--rose); }

.exercise-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.exercise-type-badge {
  padding: 4px 12px; border-radius: 8px; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}
.exercise-type-badge--mcq { background: #E8F1FE; color: var(--blue); }
.exercise-type-badge--fill { background: var(--orange-light); color: var(--orange); }
.exercise-type-badge--match { background: #F0EEFF; color: var(--purple); }
.exercise-type-badge--order { background: #E8F8EF; color: var(--green); }
.exercise-num { font-size: 12px; color: var(--text-muted); }

.exercise-prompt {
  font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 6px; line-height: 1.4;
}
.exercise-prompt-es { font-size: 13px; color: var(--text-muted); font-style: italic; margin-bottom: 20px; }

/* Multiple Choice */
.mcq-options { display: grid; gap: 10px; }
.mcq-option {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  border-radius: 14px; border: 2px solid var(--border); cursor: pointer;
  transition: all .2s var(--ease); background: #fff;
}
.mcq-option:hover { border-color: var(--orange); background: var(--orange-light); }
.mcq-option.selected { border-color: var(--blue); background: #E8F1FE; }
.mcq-option.correct { border-color: var(--green); background: #E8F8EF; }
.mcq-option.incorrect { border-color: var(--rose); background: #FEE8F0; }
.mcq-option.correct-answer { border-color: var(--green); background: #E8F8EF; }

.mcq-letter {
  width: 32px; height: 32px; border-radius: 10px; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: var(--navy); flex-shrink: 0;
  transition: all .2s;
}
.mcq-option.selected .mcq-letter { background: var(--blue); color: #fff; }
.mcq-option.correct .mcq-letter { background: var(--green); color: #fff; }
.mcq-option.incorrect .mcq-letter { background: var(--rose); color: #fff; }

.mcq-text { font-size: 14px; font-weight: 600; color: var(--navy); }
.mcq-option.correct .mcq-text::after { content: ' \2713'; color: var(--green); font-weight: 800; }
.mcq-option.incorrect .mcq-text::after { content: ' \2717'; color: var(--rose); font-weight: 800; }

/* Fill in the blank */
.fill-sentence {
  font-size: 18px; font-weight: 600; color: var(--navy); line-height: 2; margin-bottom: 16px;
}
.fill-blank {
  display: inline-block; min-width: 120px; padding: 4px 16px;
  border-bottom: 3px solid var(--orange); font-size: 18px; font-weight: 700;
  color: var(--orange); text-align: center; background: var(--orange-light);
  border-radius: 6px 6px 0 0; outline: none; font-family: var(--font);
}
.fill-blank:focus { border-color: var(--blue); background: #E8F1FE; color: var(--blue); }
.fill-blank.correct { border-color: var(--green); background: #E8F8EF; color: var(--green); }
.fill-blank.incorrect { border-color: var(--rose); background: #FEE8F0; color: var(--rose); }

/* Word ordering */
.word-bank {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 16px;
  background: var(--cream); border-radius: 14px; border: 1px solid var(--border);
  min-height: 56px; margin-bottom: 12px;
}
.word-chip {
  padding: 8px 16px; border-radius: 10px; background: #fff;
  border: 2px solid var(--border); font-size: 14px; font-weight: 600;
  color: var(--navy); cursor: pointer; transition: all .2s var(--ease);
  user-select: none;
}
.word-chip:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(232,101,43,.1); }
.word-chip.placed { opacity: .3; pointer-events: none; }

.word-answer-zone {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 16px;
  background: #fff; border-radius: 14px; border: 2px dashed var(--border);
  min-height: 56px;
}
.word-answer-zone .word-chip { border-color: var(--blue); background: #E8F1FE; }
.word-answer-zone .word-chip:hover { border-color: var(--rose); }

/* Check button */
.exercise-check-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 12px; background: var(--orange);
  color: #fff; font-size: 14px; font-weight: 700; border: none;
  cursor: pointer; font-family: var(--font); transition: all .3s var(--ease);
  margin-top: 16px; box-shadow: 0 4px 16px rgba(232,101,43,.2);
}
.exercise-check-btn:hover { background: var(--orange-h); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,101,43,.3); }
.exercise-check-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Feedback */
.exercise-feedback {
  margin-top: 16px; padding: 16px 20px; border-radius: 14px;
  display: none; animation: fadeUp .3s var(--ease);
}
.exercise-feedback.show { display: flex; align-items: flex-start; gap: 12px; }
.exercise-feedback--correct { background: #E8F8EF; border: 1px solid rgba(46,175,106,.2); }
.exercise-feedback--incorrect { background: #FEE8F0; border: 1px solid rgba(232,54,109,.2); }
.exercise-feedback-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.exercise-feedback-text { font-size: 13px; line-height: 1.6; }
.exercise-feedback--correct .exercise-feedback-text { color: #1A7A4A; }
.exercise-feedback--incorrect .exercise-feedback-text { color: #A02050; }
.exercise-feedback-text strong { font-weight: 700; }

/* ═══ CULTURAL TIP ═══ */
.culture-tip {
  background: linear-gradient(135deg,#FEF8E8,#FFF8E6);
  border-radius: var(--radius-lg); padding: 28px; margin: 20px 0;
  border: 1px solid rgba(232,168,32,.15);
}
.culture-tip-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.culture-tip-icon { font-size: 22px; }
.culture-tip-title { font-size: 15px; font-weight: 800; color: var(--navy); }
.culture-tip-body { font-size: 14px; color: var(--text); line-height: 1.7; }
.culture-tip-body .es-text { color: var(--text-muted); font-style: italic; font-size: 12px; display: block; margin-top: 8px; }

/* ═══ LESSON NAVIGATION ═══ */
.lesson-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 40px 0; border-top: 1px solid var(--border); margin-top: 40px; gap: 16px;
}
.lesson-nav-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 12px; font-size: 14px; font-weight: 700;
  color: var(--navy); background: #fff; border: 2px solid var(--border);
  transition: all .3s var(--ease); font-family: var(--font); cursor: pointer;
}
.lesson-nav-btn:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.lesson-nav-btn--next { background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: 0 4px 16px rgba(232,101,43,.2); }
.lesson-nav-btn--next:hover { background: var(--orange-h); border-color: var(--orange-h); color: #fff; box-shadow: 0 8px 24px rgba(232,101,43,.3); }
.lesson-nav-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; }

/* ═══ KEY TAKEAWAYS ═══ */
.takeaways {
  background: var(--cream); border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid var(--border); margin: 20px 0;
}
.takeaways-title { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.takeaways-list { display: grid; gap: 8px; }
.takeaway-item {
  display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); line-height: 1.6;
}
.takeaway-item svg { width: 18px; height: 18px; stroke: var(--green); fill: none; stroke-width: 2.5; flex-shrink: 0; margin-top: 2px; }

/* ═══ COURSE RESPONSIVE ═══ */
@media(max-width:1024px) {
  .course-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .course-hero-desc { margin: 0 auto 24px; }
  .course-hero-meta { justify-content: center; }
  .course-hero-btns { justify-content: center; }
  .course-hero-visual { min-height: 280px; }
  .course-float-badge, .course-float-badge2 { display: none; }
}
@media(max-width:768px) {
  .vocab-grid { grid-template-columns: 1fr; }
  .unit-card-header { padding: 18px 20px; }
  .unit-lessons { padding: 0 20px 18px; }
  .lesson-row { padding: 12px 14px; }
  .exercise-box { padding: 24px; }
  .grammar-box { padding: 24px; }
  .lesson-nav { flex-direction: column; }
  .lesson-nav-btn { width: 100%; justify-content: center; }
}

/* ═══ REDUCED MOTION ═══ */
@media(prefers-reduced-motion: reduce) {
  .dialogue-line { animation: none; opacity: 1; }
  .course-float-badge, .course-float-badge2 { animation: none; }
}
