/* ==========================================================================
   THƯ VIỆN NLS ỨNG DỤNG – PHONG CÁCH NHẬN DIỆN THƯƠNG HIỆU CHUẨN V5
   Bảng màu: Xanh lục bảo (#083D2A), Vàng ánh kim (#D7A646), Nâu đồng (#8C612E), Kem sáng (#FFF6DF), Trắng (#FFFFFF)
   ========================================================================== */

:root {
  --forest: #083d2a;
  --forest2: #145339;
  --forest-light: #edf5eb;
  --gold: #d7a646;
  --gold2: #f3dd9b;
  --gold-dark: #a87824;
  --cream: #fffaf0;
  --paper: #fbf7ec;
  --ink: #183c30;
  --ink-soft: #3f5549;
  --muted: #5e7166;
  --border: #dce3d6;
  --bronze: #8c612e;
  --bronze-light: #fff5e8;
  --shadow: 0 8px 24px rgba(8, 61, 42, 0.08);
  --shadow-lg: 0 16px 36px rgba(8, 61, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f4f6ee;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

button, input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* KHÓA KÍCH THƯỚC PHÒNG VỆ CHO TẤT CẢ SVG */
svg {
  box-sizing: border-box;
  max-width: 100%;
  fill: none;
}

/* KHUNG CHỨA TỐI ƯU CHO DESKTOP RỘNG RÃI (1180px) */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* ==========================================================================
   TOPBAR / HEADER & MENU ĐIỀU HƯỚNG MỚI
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 252, 0.98);
  border-bottom: 1px solid #e2e8dc;
  backdrop-filter: blur(14px);
}

.top-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  height: 48px;
  width: 48px;
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(8, 61, 42, 0.16);
  object-fit: cover;
}

.brand-text strong {
  display: block;
  font-size: 16px;
  color: var(--forest);
  letter-spacing: 0.3px;
  font-weight: 800;
  line-height: 1.25;
}

.brand-text small {
  display: block;
  font-size: 11px;
  color: var(--gold-dark);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.3;
}

.main-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-item-link {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 9px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav-item-link:hover {
  color: var(--forest);
  background: #edf5eb;
}

.nav-item-link.nav-help {
  border: 1.5px solid #bdd2bf;
  background: #ffffff;
  color: var(--forest) !important;
  margin-left: 4px;
}

.nav-item-link.nav-help:hover {
  background: var(--cream);
  border-color: var(--gold);
}

/* ==========================================================================
   HERO BANNER CHÀO MỪNG
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 85% 15%, rgba(215, 166, 70, 0.22), transparent 28%),
              radial-gradient(circle at 10% 90%, rgba(215, 166, 70, 0.12), transparent 30%),
              linear-gradient(118deg, #063625, #0e4c34 55%, #082d20);
  color: white;
  min-height: 240px;
}

.hero:after {
  content: '';
  position: absolute;
  inset: auto -8% -110px auto;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px solid rgba(235, 189, 77, 0.22);
  box-shadow: 0 0 0 35px rgba(215, 166, 70, 0.035),
              0 0 0 75px rgba(215, 166, 70, 0.025),
              0 0 0 115px rgba(215, 166, 70, 0.015);
  pointer-events: none;
}

.hero:before {
  content: '✦';
  position: absolute;
  right: 22%;
  top: 26px;
  font-size: 26px;
  color: #f2c970;
  opacity: 0.55;
}

.hero-inner {
  padding: 38px 28px 44px;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.hero-copy { max-width: 800px; }
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.8px;
  font-weight: 800;
  color: #f3d88c;
  display: block;
  text-transform: uppercase;
}

.hero h1 {
  font-family: 'Roboto Condensed', 'Be Vietnam Pro', sans-serif;
  font-weight: 900;
  letter-spacing: 0.3px;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.18;
  margin: 12px 0 12px;
  color: #fffef2;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

.hero h1 em {
  font-style: normal;
  color: #f5d588;
}

.hero p {
  font-size: 15px;
  max-width: 720px;
  color: #e6eee2;
  line-height: 1.75;
  margin: 0;
}

.hero-seal {
  flex: 0 0 160px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(234, 197, 103, 0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.03), 0 0 32px rgba(230, 183, 74, 0.12);
  position: relative;
}

.hero-seal:before {
  content: '';
  position: absolute;
  inset: 11px;
  border: 1px dashed rgba(243, 210, 135, 0.3);
  border-radius: 50%;
}

.hero-seal span {
  font-size: 64px;
  line-height: 1;
  color: #efc66d;
  font-family: Georgia, serif;
}

.hero-seal small {
  position: absolute;
  bottom: 27px;
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #f2d99c;
  font-weight: 700;
}

/* ==========================================================================
   MAIN CONTENT & TIÊU ĐỀ KHU VỰC
   ========================================================================== */
.main {
  padding-top: 36px;
  padding-bottom: 60px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.section-no {
  width: 40px;
  height: 40px;
  border: 1.5px solid #d4ae5a;
  color: #7b551a;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 900;
  background: #fff8e8;
  flex-shrink: 0;
}

.section-title {
  font-size: 26px;
  line-height: 1.3;
  font-family: 'Roboto Condensed', 'Be Vietnam Pro', sans-serif;
  font-weight: 900;
  color: var(--forest);
  margin: 0;
  letter-spacing: 0.2px;
}

.section-sub {
  color: var(--muted);
  margin: 4px 0 0;
  font-size: 14px;
}

/* ==========================================================================
   2 THẺ HÀNH TRÌNH CHÍNH
   ========================================================================== */
.journeys {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.journey {
  border: 1.5px solid #d5dfd2;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.journey-top {
  position: relative;
  padding: 24px 26px 20px;
  min-height: 160px;
}

.journey.green .journey-top { background: linear-gradient(108deg, #edf6ea, #dff0e6); }
.journey.brown .journey-top { background: linear-gradient(108deg, #fff6e8, #f5e8d6); }

.journey-num {
  display: inline-block;
  color: #ffffff;
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 11px;
  letter-spacing: 0.5px;
  font-weight: 800;
  background: #154b37;
}

.journey.brown .journey-num { background: #8e6237; }

.journey-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1.5px solid rgba(163, 127, 44, 0.28);
  background: #fffcf3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(161, 125, 55, 0.12);
}

.journey-icon svg {
  width: 28px !important;
  height: 28px !important;
  stroke: #a87824 !important;
  fill: none !important;
  stroke-width: 1.8 !important;
}

.journey h3 {
  font-family: 'Roboto Condensed', 'Be Vietnam Pro', sans-serif;
  font-size: 27px;
  font-weight: 900;
  color: #0b4632;
  line-height: 1.25;
  margin: 14px 65px 6px 0;
}

.journey.brown h3 { color: #875627; }

.journey-summary {
  color: #556658;
  font-size: 14px;
  margin: 0;
  font-weight: 500;
}

.journey-body {
  padding: 22px 26px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}

.forwho {
  font-size: 14px;
  color: #3b5346;
  line-height: 1.6;
  min-height: 48px;
}

.forwho strong { color: var(--forest); }

.tagrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.smalltag {
  border-radius: 50px;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 12px;
  background: #eff6ec;
  color: #245e44;
  border: 1px solid #d7e7d2;
}

.journey.brown .smalltag {
  color: #7d5423;
  background: #fff5e8;
  border-color: #ebd7bd;
}

.primarybtn {
  width: 100%;
  border: none;
  border-radius: 12px;
  background: linear-gradient(105deg, #0e4b34, #1b6345);
  color: #ffffff;
  min-height: 48px;
  font-size: 14px;
  letter-spacing: 0.4px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(14, 75, 52, 0.2);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
}

.journey.brown .primarybtn {
  background: linear-gradient(105deg, #7e5327, #a47137);
  box-shadow: 0 4px 12px rgba(126, 83, 39, 0.2);
}

.primarybtn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* ==========================================================================
   KHỐI MỚI TRÊN TRANG CHỦ: CHƯƠNG TRÌNH SẮP DIỄN RA
   ========================================================================== */
.upcoming-section {
  margin-top: 40px;
}

.events-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 18px;
}

.event-card-home {
  background: #ffffff;
  border: 1.5px solid #dbe4d5;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.event-card-home:hover {
  transform: translateY(-3px);
  border-color: #a9caa7;
  box-shadow: var(--shadow-lg);
}

.event-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.event-status-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-live {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #f87171;
}

.badge-upcoming {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.badge-ended {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #d1d5db;
}

.event-fee-badge {
  font-size: 11px;
  font-weight: 700;
  color: #1b5e20;
  background: #e8f5e9;
  padding: 3px 8px;
  border-radius: 6px;
}

.event-title-home {
  font-size: 17px;
  font-weight: 800;
  color: var(--forest);
  margin: 0 0 10px;
  line-height: 1.35;
}

.event-meta-home {
  font-size: 13.5px;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.event-desc-home {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}

.btn-event-detail {
  width: 100%;
  min-height: 44px;
  background: #edf6eb;
  border: 1.5px solid #bad6ba;
  color: var(--forest);
  font-size: 13.5px;
  font-weight: 800;
  border-radius: 10px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-event-detail:hover {
  background: var(--forest);
  color: #ffffff;
  border-color: var(--forest);
}

.btn-view-all-schedule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--forest);
  background: #ffffff;
  border: 2px solid var(--forest);
  border-radius: 12px;
  padding: 12px 26px;
  min-height: 48px;
  transition: all 0.2s ease;
}

.btn-view-all-schedule:hover {
  background: var(--forest);
  color: #ffffff;
}

/* ==========================================================================
   QUIET GRID: THÔNG BÁO TỪ CỘNG ĐỒNG & TÌM NHANH VIDEO/TÀI LIỆU
   ========================================================================== */
.quiet-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  margin-top: 36px;
}

.quiet-block {
  background: #ffffff;
  border: 1.5px solid #e1e7db;
  border-radius: 16px;
  padding: 24px 26px;
  min-width: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.mini-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 900;
  color: var(--forest);
  margin: 0 0 14px;
  letter-spacing: 0.2px;
}

.goldico { color: var(--gold-dark); }

.ann-empty {
  font-size: 14px;
  color: #63756a;
  background: #f8faf4;
  border-radius: 11px;
  padding: 18px 20px;
  line-height: 1.65;
  border: 1px dashed #d5ded0;
}

.ann-item {
  border-left: 4px solid var(--gold);
  background: #fefdf9;
  padding: 14px 16px;
  border-radius: 9px;
  margin-bottom: 12px;
  border-top: 1px solid #f2edd8;
  border-right: 1px solid #f2edd8;
  border-bottom: 1px solid #f2edd8;
}

.ann-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.ann-item-title {
  font-weight: 800;
  color: var(--forest);
  font-size: 15px;
}

.ann-date {
  font-size: 12px;
  color: #7b8a7c;
}

.ann-item-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.ann-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--forest);
  font-weight: 800;
  font-size: 13px;
}

.ann-link:hover { text-decoration: underline; }

.search-wrap { position: relative; }
.search-wrap input {
  border: 1.5px solid #cbded0;
  background: #fbfdf9;
  width: 100%;
  height: 48px;
  border-radius: 12px;
  padding: 0 16px 0 42px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: var(--ink);
}

.search-wrap input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(215, 166, 70, 0.18);
}

.search-wrap svg {
  position: absolute;
  width: 18px !important;
  height: 18px !important;
  top: 15px;
  left: 15px;
  stroke: #738b79 !important;
}

.search-hint {
  color: #718174;
  font-size: 13px;
  margin: 10px 0 0;
}

.search-none {
  color: #78867a;
  font-size: 13px;
  padding: 12px 0;
}

.results {
  margin-top: 16px;
  display: none;
  max-height: 340px;
  overflow-y: auto;
}

.resultline {
  border-top: 1px solid #ebefe5;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
}

.resultline-info { flex: 1; min-width: 0; }
.resultline-title {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--forest);
}

.resultline-cat {
  display: block;
  font-size: 12px;
  color: #778679;
  margin-top: 2px;
}

.btn-res-action {
  color: #0e4b34;
  font-weight: 800;
  white-space: nowrap;
  background: #edf5eb;
  border: 1px solid #c2dec9;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-res-action:hover {
  background: var(--forest);
  color: #ffffff;
}

/* ==========================================================================
   TIỆN ÍCH & HỖ TRỢ
   ========================================================================== */
.utilities {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1.5px solid #dec995;
  background: linear-gradient(100deg, #fff9e8, #fffdf6);
  border-radius: 16px;
  padding: 20px 26px;
  box-shadow: 0 2px 10px rgba(222, 201, 149, 0.15);
}

.utilities strong {
  font-size: 16px;
  color: #553e1a;
  letter-spacing: 0.2px;
}

.utilities p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #6d6753;
}

.outline-btn {
  border: 1.5px solid #8e682e;
  padding: 11px 18px;
  color: #715222;
  border-radius: 11px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: all 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.outline-btn:hover { background: #f7eed7; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #082d20;
  color: #dbe7d5;
  text-align: center;
  padding: 28px 20px;
  border-top: 3px solid #d7a646;
}

.footer strong { font-size: 13px; letter-spacing: 1px; }
.footer small {
  display: block;
  font-size: 12px;
  opacity: 0.8;
  margin-top: 8px;
}

/* ==========================================================================
   GIAO DIỆN HÀNH TRÌNH HỌC TẬP (DETAIL VIEW)
   ========================================================================== */
.crumb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-crumb-back {
  background: #ffffff;
  border: 1.5px solid #bdd0c0;
  border-radius: 10px;
  color: var(--forest);
  font-weight: 800;
  font-size: 13px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  min-height: 38px;
}

.btn-crumb-back:hover {
  background: var(--forest-light);
  border-color: var(--forest);
}

.crumb-title-badge {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.path-intro {
  background: linear-gradient(112deg, #073826, #12543b);
  color: #ffffff;
  border-radius: 20px;
  padding: 32px 34px;
  margin-bottom: 30px;
  border: 1.5px solid #7c936b;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.path-intro.brown {
  background: linear-gradient(112deg, #6b4d24, #94642f);
  border-color: #ba9766;
}

.path-badge {
  display: inline-block;
  background: rgba(243, 216, 140, 0.22);
  border: 1px solid rgba(243, 216, 140, 0.5);
  color: #f7e4af;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
}

.path-intro h2 {
  font-family: 'Roboto Condensed', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1.2;
  margin: 10px 0 4px;
  color: #fffaf0;
  font-weight: 900;
  letter-spacing: 0.3px;
}

.path-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: #f5d588;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.path-desc {
  font-size: 15px;
  color: #e5ede0;
  margin: 0;
  max-width: 860px;
  line-height: 1.7;
}

.account-callout {
  background: #fffcf2;
  border: 1.5px solid #ebd395;
  border-left: 5px solid var(--gold);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.callout-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1.2;
}

.callout-text strong {
  display: block;
  font-size: 14px;
  color: #553e16;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.callout-text p {
  margin: 0;
  font-size: 14px;
  color: #69552b;
  line-height: 1.6;
}

.phase { margin-top: 32px; }
.phase-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.phase-badge {
  background: #fdf3d8;
  border: 1px solid #dfc384;
  color: #795318;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.phase-label {
  font-size: 19px;
  font-weight: 900;
  margin: 0;
  color: var(--forest);
  letter-spacing: 0.3px;
  font-family: 'Roboto Condensed', sans-serif;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  border-radius: 16px;
  background: #ffffff;
  border: 1.5px solid #dce4d5;
  padding: 22px 24px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.step-card:hover {
  border-color: #b7ceba;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.step-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.step-no {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fdedcb, #e5c378);
  border: 1.5px solid #d4ae5a;
  display: grid;
  place-items: center;
  color: #694a11;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 2px 6px rgba(212, 174, 90, 0.25);
}

.step-header-text { flex: 1; min-width: 0; }
.step-kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #926f2f;
  text-transform: uppercase;
}

.step-title {
  font-size: 18px;
  margin: 2px 0 0;
  color: var(--forest);
  font-weight: 800;
  line-height: 1.35;
}

.step-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.step-desc {
  font-size: 15px;
  color: #495a4f;
  line-height: 1.6;
  margin: 0 0 12px;
}

.step-why {
  background: #f7f9f3;
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  color: #4c5d51;
  line-height: 1.5;
  margin-bottom: 14px;
}

.step-why strong { color: #6a4f1a; }

.video-preview-box {
  position: relative;
  width: 100%;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
  cursor: pointer;
  background: #111;
  border: 1px solid #d4e0cf;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.video-preview-box:hover .video-thumb { transform: scale(1.04); }

.play-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
}

.play-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(215, 166, 70, 0.95);
  color: #083d2a;
  display: grid;
  place-items: center;
  font-size: 14px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.step-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-action {
  width: 100%;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-align: center;
  box-sizing: border-box;
}

.btn-emerald {
  background: linear-gradient(105deg, #0e4b34, #1b6345);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(14, 75, 52, 0.18);
}

.btn-emerald:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-video-accent {
  background: #fff8e8;
  border: 1.5px solid #d7a646;
  color: #7b5516;
  box-shadow: 0 2px 6px rgba(215, 166, 70, 0.15);
}

.btn-video-accent:hover {
  background: #f7ecce;
  border-color: #b5832a;
}

.btn-copper {
  background: linear-gradient(105deg, #7e5327, #a47137);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(126, 83, 39, 0.18);
}

.btn-copper:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.step-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #f3f5ee;
  border: 1px solid #d8dfd3;
  color: #69786b;
  font-weight: 700;
  font-size: 13px;
  min-height: 44px;
  justify-content: center;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b5bfb1;
}

.step-card.step-draft {
  background: #fafbfa;
  border-style: dashed;
}

.journey-extra-banner {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1.5px solid #d9b87b;
  background: linear-gradient(105deg, #fffaf0, #f7ebda);
  border-radius: 16px;
  padding: 22px 28px;
  box-shadow: 0 4px 14px rgba(140, 97, 46, 0.12);
}

.journey-extra-banner h4 {
  font-size: 17px;
  font-weight: 900;
  color: #6b4a1f;
  margin: 0 0 4px;
}

.journey-extra-banner p {
  margin: 0;
  font-size: 14px;
  color: #725d3e;
}

.journey-footer-nav {
  margin-top: 36px;
  text-align: center;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  border: 2px solid var(--forest);
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 26px;
  color: var(--forest);
  transition: all 0.2s ease;
  min-height: 48px;
}

.btn-back-home:hover {
  background: var(--forest);
  color: #ffffff;
}

/* ==========================================================================
   PHÂN HỆ MỚI: TRANG LỊCH HOẠT ĐỘNG (#schedule-view)
   ========================================================================== */
.schedule-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.schedule-tabs-row {
  display: flex;
  background: #ffffff;
  border: 1.5px solid #d4dfd2;
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}

.tab-btn {
  border: none;
  background: transparent;
  padding: 9px 20px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: var(--forest);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(8, 61, 42, 0.25);
}

.schedule-filters-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.filter-pill {
  border: 1px solid #d4dfd2;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: all 0.15s ease;
}

.filter-pill:hover {
  border-color: var(--gold);
  color: var(--forest);
}

/* BANNER TỔNG HỢP TUẦN / THÁNG */
.schedule-banner-container {
  margin-bottom: 30px;
}

.schedule-banner-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid #d4dfd2;
  background: #ffffff;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.schedule-banner-img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  display: block;
  background: #f7f9f5;
}

.banner-expand-pill {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(8, 61, 42, 0.88);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.banner-caption {
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}

.banner-placeholder-card {
  border: 2px dashed #d5ded0;
  background: #f9fbf7;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
}

.banner-placeholder-card .icon { font-size: 36px; display: block; margin-bottom: 8px; }
.banner-placeholder-card h4 { margin: 0 0 6px; font-size: 18px; color: var(--forest); }
.banner-placeholder-card p { margin: 0; font-size: 14px; color: var(--muted); }

/* DANH SÁCH LỊCH HOẠT ĐỘNG */
.schedule-events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.schedule-event-card {
  background: #ffffff;
  border: 1.5px solid #dce4d5;
  border-radius: 18px;
  padding: 24px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.schedule-event-card:hover {
  transform: translateY(-3px);
  border-color: #a4cca2;
  box-shadow: var(--shadow-lg);
}

.schedule-event-card.card-ended {
  opacity: 0.85;
  background: #fafbfa;
}

.schedule-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.schedule-event-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--forest);
  margin: 0 0 12px;
  line-height: 1.35;
}

.schedule-event-desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 18px;
  flex: 1;
}

.schedule-card-actions {
  margin-top: auto;
}

/* ==========================================================================
   PHÂN HỆ MỚI: CHI TIẾT CHƯƠNG TRÌNH (#program-view)
   ========================================================================== */
.program-detail-card {
  background: #ffffff;
  border: 1.5px solid #dce4d5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  padding: 34px 38px;
}

.program-banner-wrap {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 26px;
  border: 1px solid #d4dfd2;
}

.program-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.program-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.program-tag-topic {
  background: #fdf3d8;
  color: #775114;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e2cb92;
}

.program-detail-title {
  font-family: 'Roboto Condensed', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(26px, 3.2vw, 36px);
  color: var(--forest);
  font-weight: 900;
  margin: 0 0 12px;
  line-height: 1.25;
}

.program-detail-lead {
  font-size: 16px;
  color: #43584c;
  line-height: 1.7;
  margin: 0 0 24px;
}

.program-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: #f7f9f4;
  border: 1px solid #dce4d5;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 28px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-label {
  font-size: 12px;
  font-weight: 700;
  color: #6a7c6f;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--forest);
}

.program-content-section {
  border-top: 1px solid #e7ede2;
  padding-top: 22px;
  margin-bottom: 22px;
}

.program-section-heading {
  font-size: 18px;
  font-weight: 900;
  color: var(--forest);
  margin: 0 0 12px;
  letter-spacing: 0.2px;
}

.program-content-body {
  font-size: 15px;
  line-height: 1.75;
  color: #3d5145;
}

.program-action-box {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e7ede2;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ==========================================================================
   PHÂN HỆ MỚI: KHO QUÀ TẶNG & EBOOK (#gifts-view)
   ========================================================================== */
.gifts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.gift-card {
  background: #ffffff;
  border: 1.5px solid #dce4d5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gift-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #a4cca2;
}

.gift-cover-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f7f9f5;
  border-bottom: 1px solid #e2e8dc;
}

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

.gift-cover-placeholder {
  width: 100%;
  height: 160px;
  background: linear-gradient(120deg, #edf5e9, #fff9e8);
  display: grid;
  place-items: center;
  font-size: 48px;
  border-bottom: 1px solid #e2e8dc;
}

.gift-card-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gift-type-badge {
  font-size: 11px;
  font-weight: 800;
  color: #7b5516;
  background: #fdf3d8;
  border: 1px solid #dfc384;
  padding: 3px 10px;
  border-radius: 6px;
  width: fit-content;
  margin-bottom: 10px;
}

.gift-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--forest);
  margin: 0 0 10px;
  line-height: 1.35;
}

.gift-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

.gift-actions {
  margin-top: auto;
}

/* ==========================================================================
   LIGHTBOX MODAL (XEM PHÓNG TO BANNER LỊCH)
   ========================================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1500;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(8px);
}

.lightbox-modal.active { display: flex; }

.lightbox-box {
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.lightbox-close-btn {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.lightbox-caption-text {
  color: #f7e4af;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
}

/* ==========================================================================
   MODAL POPUPS (VIDEO & HỖ TRỢ)
   ========================================================================== */
.video-modal, .support-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 28, 19, 0.88);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(5px);
}

.video-modal.active, .support-modal.active { display: flex; }

.modal-content {
  background: #111;
  border-radius: 16px;
  width: 100%;
  max-width: 840px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(215, 166, 70, 0.4);
}

.modal-header {
  padding: 14px 20px;
  background: #142820;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  border-bottom: 1px solid rgba(215, 166, 70, 0.25);
}

.modal-title {
  font-size: 15px;
  font-weight: 700;
  color: #f7e2a9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 14px;
}

.btn-close-modal {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 6px;
  font-size: 18px;
  font-weight: 700;
}

.video-frame-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: #000000;
}

.video-frame-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.support-modal-box {
  background: #ffffff;
  border-radius: 18px;
  max-width: 520px;
  width: 100%;
  padding: 26px 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
}

.support-modal-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--forest);
  margin: 0 0 8px;
}

.support-modal-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.support-btn-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.support-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-radius: 11px;
  background: #fbfdf9;
  border: 1.5px solid #d4dfd2;
  font-size: 14px;
  font-weight: 700;
  color: var(--forest);
  transition: all 0.2s ease;
  min-height: 48px;
}

.support-link-btn:hover {
  background: #edf6ec;
  border-color: var(--forest);
}

.support-link-btn.accent {
  background: #fff9ed;
  border-color: #dfcaa2;
  color: #7b5825;
}

#home-view, #detail-view, #schedule-view, #program-view, #gifts-view { display: block; }
.hidden { display: none !important; }

/* ==========================================================================
   RESPONSIVE DESIGN CHO MOBILE & TABLET
   ========================================================================== */
@media (max-width: 860px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .top-inner { height: auto; padding: 12px 0; flex-direction: column; align-items: flex-start; gap: 10px; }
  .brand-logo { height: 40px; width: 40px; }
  .brand-text strong { font-size: 14px; }
  .brand-text small { font-size: 10px; }
  .main-nav { width: 100%; overflow-x: auto; padding-bottom: 4px; gap: 6px; -webkit-overflow-scrolling: touch; }
  .nav-item-link { font-size: 12.5px; padding: 6px 11px; }
  .hero-inner { padding: 28px 18px 32px; }
  .hero-seal { display: none; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 14px; }
  .main { padding-top: 24px; }
  .section-title { font-size: 22px; }
  .journeys { grid-template-columns: 1fr; gap: 16px; }
  .journey-top { min-height: 0; padding: 20px 20px; }
  .journey h3 { font-size: 24px; }
  .journey-body { padding: 18px 20px; }
  .forwho { min-height: 0; }
  .events-home-grid { grid-template-columns: 1fr; gap: 16px; }
  .schedule-events-grid { grid-template-columns: 1fr; gap: 16px; }
  .program-specs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .program-detail-card { padding: 24px 20px; }
  .gifts-grid { grid-template-columns: 1fr; gap: 16px; }
  .quiet-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .utilities { flex-direction: column; align-items: flex-start; }
  .step-list { grid-template-columns: 1fr; gap: 16px; }
  .path-intro { padding: 24px 20px; }
  .path-intro h2 { font-size: 26px; }
  .journey-extra-banner { flex-direction: column; align-items: flex-start; }
  .btn-action { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .journey, .step-card, .btn-action, .event-card-home, .schedule-event-card { transition: none; }
}
