/* ================================================================
   HiTech Educational Trust — Global Stylesheet
   Strictly follows hitech_design.md tokens
   ================================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Dark surfaces */
  --ht-deep-forest:   #0F2A1E;
  --ht-forest:        #1B4332;
  --ht-emerald:       #2D6A4F;
  --ht-mid-green:     #3B8060;

  /* Light surfaces */
  --ht-ivory:         #F7F5F0;
  --ht-green-tint:    #EFF5EF;
  --ht-white:         #FDFCF8;

  /* Brand accents */
  --ht-gold-dark:     #B8860B;
  --ht-gold:          #D4AF37;

  /* Typography — light bg */
  --ht-heading:       #1B4332;
  --ht-subheading:    #3D4A3D;
  --ht-body:          #5A6B5A;
  --ht-muted:         #7A8A7A;
  --ht-faint:         #A8B8A8;

  /* Typography — dark bg */
  --ht-text-light:    #F5F0E8;
  --ht-text-gold:     #D4AF37;
  --ht-text-sage:     #8FBF9F;
  --ht-text-slate:    #7AAA8A;

  /* Borders */
  --ht-border-light:  #D8E8D8;
  --ht-border-divider:#E0D8C8;
  --ht-border-dark:   rgba(255,255,255,0.10);

  /* Semantic */
  --ht-success:       #2D6A4F;
  --ht-warning:       #B8860B;
  --ht-error:         #8B2A2A;

  /* Radius */
  --ht-radius-sm:     6px;
  --ht-radius-md:     8px;
  --ht-radius-lg:     12px;
  --ht-radius-pill:   20px;

  /* Spacing (8px base) */
  --ht-xs:  4px;
  --ht-sm:  8px;
  --ht-md:  16px;
  --ht-lg:  24px;
  --ht-xl:  40px;
  --ht-2xl: 64px;
  --ht-3xl: 96px;
  --ht-4xl: 128px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ht-body);
  background: var(--ht-ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--ht-gold-dark); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--ht-gold); }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: "Lora", Georgia, serif;
  color: var(--ht-heading);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}
h1 { font-size: clamp(36px, 5vw, 48px); line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.4vw, 34px); }
h3 { font-size: 24px; line-height: 1.3; font-weight: 500; }
h4 { font-size: 20px; line-height: 1.4; font-weight: 400; color: var(--ht-subheading); }

p { text-wrap: pretty; }

.eyebrow {
  font-family: "Lora", Georgia, serif;
  font-weight: 500;
  font-size: 11px;
  color: var(--ht-emerald);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: var(--ht-sm);
  display: inline-block;
}

.label {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: var(--ht-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 28px; }

section { padding: 64px 0; }
@media (max-width: 640px) { section { padding: 48px 0; } }

.section-ivory      { background: var(--ht-ivory); }
.section-green-tint { background: var(--ht-green-tint); border-bottom: 0.5px solid var(--ht-border-light); }
.section-forest     { background: var(--ht-forest); color: var(--ht-text-light); }
.section-white      { background: var(--ht-white); }

.section-header { margin-bottom: 40px; }
.section-header h2 { margin-bottom: 8px; }
.section-header p  { color: var(--ht-body); font-size: 16px; max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 11px 24px;
  border-radius: var(--ht-radius-sm);
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--ht-forest);
  color: var(--ht-text-light);
}
.btn-primary:hover { background: var(--ht-emerald); color: var(--ht-text-light); }

.btn-secondary {
  background: transparent;
  border-color: var(--ht-forest);
  color: var(--ht-forest);
}
.btn-secondary:hover { background: rgba(27,67,50,0.06); color: var(--ht-forest); }

.btn-gold {
  background: var(--ht-gold-dark);
  color: #fff;
}
.btn-gold:hover { background: var(--ht-gold); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--ht-forest);
  padding: 11px 0;
}
.btn-ghost:hover { color: var(--ht-gold-dark); transform: none; }

.btn-sm { padding: 7px 18px; font-size: 13px; }

/* ---------- Tag / pill ---------- */
.tag {
  display: inline-block;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--ht-radius-pill);
  background: rgba(180,120,0,0.10);
  color: #6B4C11;
}
.tag-green     { background: rgba(27,67,50,0.09);  color: var(--ht-forest); }
.tag-emerald   { background: rgba(45,106,79,0.09); color: var(--ht-emerald); }
.tag-neutral   { background: #F0EDE6;             color: var(--ht-body); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ht-forest);
  border-bottom: 2px solid var(--ht-gold-dark);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ht-ivory);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 2px;
  box-shadow: 0 0 0 1px rgba(212,175,55,0.4);
}
.nav-brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.nav-brand-text {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ht-gold);
  letter-spacing: 0.07em;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}
.nav-brand-text small {
  font-family: "Source Sans 3", sans-serif;
  font-size: 9.5px;
  font-weight: 400;
  color: var(--ht-text-sage);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--ht-text-sage);
  letter-spacing: 0.02em;
  transition: color .18s ease;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--ht-text-light); }
.nav-links a.active {
  color: var(--ht-gold);
  font-weight: 500;
}

/* Courses dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav-dropdown-trigger::after {
  content: "";
  width: 5px; height: 5px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.nav-dropdown.open .nav-dropdown-trigger::after { transform: rotate(225deg) translateY(-2px); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 540px;
  background: var(--ht-white);
  border: 0.5px solid var(--ht-border-light);
  border-top: 2px solid var(--ht-gold-dark);
  border-radius: var(--ht-radius-md);
  padding: 20px;
  box-shadow: 0 12px 32px rgba(15,42,30,0.12);
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}
.nav-dropdown.open .nav-dropdown-menu { display: grid; }
.nav-dropdown-menu a {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  font-size: 13px;
  color: var(--ht-body);
  padding: 5px 0;
  letter-spacing: 0;
}
.nav-dropdown-menu a:hover { color: var(--ht-gold-dark); }
.nav-dropdown-section-title {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 500;
  font-size: 10px;
  color: var(--ht-emerald);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 0.5px solid var(--ht-border-light);
}

.nav-cta {
  background: var(--ht-gold-dark);
  color: #fff;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 500;
  font-size: 13px;
  padding: 7px 18px;
  border-radius: var(--ht-radius-sm);
  border: 0;
  text-decoration: none;
  transition: background .18s ease;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--ht-gold); color: #fff; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 36px; height: 36px;
  padding: 0;
  color: var(--ht-text-sage);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile drawer — hidden by default at every breakpoint */
.nav-mobile { display: none; }

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile {
    position: fixed;
    inset: 60px 0 0 0;
    background: var(--ht-forest);
    padding: 24px 28px 80px;
    overflow-y: auto;
    z-index: 99;
  }
  .nav-mobile.open { display: block; }
  .nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
  .nav-mobile a {
    display: block;
    padding: 12px 0;
    border-bottom: 0.5px solid rgba(255,255,255,0.07);
    color: var(--ht-text-sage);
    font-size: 15px;
    font-family: "Source Sans 3", sans-serif;
  }
  .nav-mobile a.active { color: var(--ht-gold); }
  .nav-mobile-section {
    font-family: "Source Sans 3", sans-serif;
    font-weight: 500;
    font-size: 10px;
    color: var(--ht-gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.10em;
    margin-top: 20px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(184,134,11,0.3);
  }
  .nav-mobile .nav-cta {
    display: inline-block;
    margin-top: 20px;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ht-deep-forest);
  color: var(--ht-text-slate);
  padding: 56px 0 24px;
  border-top: 0.5px solid rgba(255,255,255,0.07);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 48px;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

.footer-brand {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--ht-gold);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img { width: 32px; height: 32px; border-radius: 50%; background: var(--ht-ivory); padding: 2px; }
.footer p { color: #4A6A5A; font-size: 13px; line-height: 1.7; }
.footer h4 {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: var(--ht-text-sage);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 16px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer ul a {
  font-family: "Source Sans 3", sans-serif;
  font-size: 12.5px;
  color: #4A6A5A;
  font-weight: 400;
  transition: color .18s ease;
}
.footer ul a:hover { color: var(--ht-text-sage); }
.footer .footer-accent { color: var(--ht-gold-dark); }
.footer-contact-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: #4A6A5A;
  margin-bottom: 8px;
}
.footer-contact-row svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; color: var(--ht-gold-dark); }
.footer-contact-row a { color: #4A6A5A; }
.footer-contact-row a:hover { color: var(--ht-gold); }

.footer-bottom {
  padding-top: 24px;
  border-top: 0.5px solid rgba(255,255,255,0.07);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-size: 12px;
  color: #4A6A5A;
}
.footer-bottom .footer-accent { font-size: 12px; }

/* ---------- Cards ---------- */
.card {
  background: var(--ht-white);
  border: 0.5px solid var(--ht-border-light);
  border-radius: var(--ht-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  border-color: var(--ht-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27,67,50,0.06);
}
.card-accent {
  height: 4px;
  background: var(--ht-gold-dark);
}
.card-accent-green { background: var(--ht-forest); }
.card-accent-emerald { background: var(--ht-emerald); }

.card-body { padding: 20px; }
.card h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--ht-forest);
  margin-bottom: 4px;
  line-height: 1.3;
}
.card-subtitle {
  font-size: 12px;
  color: var(--ht-muted);
  margin-bottom: 12px;
}
.card-desc {
  font-size: 14px;
  color: var(--ht-body);
  line-height: 1.65;
  margin-bottom: 14px;
}
.card-link {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--ht-gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.card-link::after { content: "→"; transition: transform .18s ease; }
.card-link:hover { color: var(--ht-gold); }
.card-link:hover::after { transform: translateX(3px); }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--ht-forest);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 0 24px;
  border-right: 0.5px solid rgba(255,255,255,0.10);
  text-align: left;
}
.stat:last-child { border-right: 0; }
.stat-value {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 36px;
  color: var(--ht-gold);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.stat-label {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: var(--ht-text-slate);
  letter-spacing: 0.04em;
  margin-top: 6px;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .stat { border-right: 0; }
  .stat:nth-child(odd) { border-right: 0.5px solid rgba(255,255,255,0.10); }
}

/* ---------- Hero (editorial magazine) ---------- */
.hero {
  background: var(--ht-ivory);
  border-bottom: 0.5px solid var(--ht-border-divider);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: #6B4C11;
  background: rgba(180,120,0,0.10);
  padding: 5px 14px;
  border-radius: var(--ht-radius-pill);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ht-gold-dark);
}

.hero-headline {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: clamp(40px, 6.2vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ht-forest);
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero-headline .gold { color: var(--ht-gold-dark); font-style: italic; font-weight: 500; }
.hero-headline .underline-mark {
  position: relative;
  display: inline-block;
}
.hero-headline .underline-mark::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 8px;
  background: rgba(212,175,55,0.32);
  z-index: -1;
}

.hero-sub {
  font-family: "Source Sans 3", sans-serif;
  font-size: 18px;
  color: var(--ht-body);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* Audience segmented control */
.audience-tabs {
  display: inline-flex;
  background: var(--ht-white);
  border: 0.5px solid var(--ht-border-light);
  border-radius: var(--ht-radius-pill);
  padding: 4px;
  margin-bottom: 24px;
  gap: 2px;
  max-width: 100%;
  overflow-x: auto;
}
.audience-tabs button {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 500;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: var(--ht-radius-pill);
  border: 0;
  background: transparent;
  color: var(--ht-body);
  transition: background .18s ease, color .18s ease;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.audience-tabs button.active {
  background: var(--ht-forest);
  color: var(--ht-text-light);
}

.hero-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  border-top: 0.5px solid var(--ht-border-divider);
  max-width: 540px;
}
.hero-bullets li {
  font-size: 14px;
  color: var(--ht-body);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.hero-bullets li::before {
  content: "✓";
  color: var(--ht-gold-dark);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Hero photo collage */
.hero-collage {
  position: relative;
  aspect-ratio: 1 / 1.1;
  width: 100%;
}
.hero-img {
  position: absolute;
  border-radius: var(--ht-radius-md);
  overflow: hidden;
  background: var(--ht-green-tint);
  box-shadow: 0 12px 32px rgba(15,42,30,0.10);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-1 {
  top: 0; left: 0;
  width: 62%; height: 58%;
}
.hero-img-2 {
  top: 18%; right: 0;
  width: 48%; height: 46%;
}
.hero-img-3 {
  bottom: 0; left: 14%;
  width: 60%; height: 44%;
}
.hero-badge {
  position: absolute;
  bottom: 8%; right: 0;
  background: var(--ht-forest);
  color: var(--ht-text-light);
  padding: 16px 20px;
  border-radius: var(--ht-radius-md);
  border-left: 3px solid var(--ht-gold-dark);
  box-shadow: 0 12px 32px rgba(15,42,30,0.18);
  z-index: 3;
  max-width: 220px;
}
.hero-badge-num {
  font-family: "Lora", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--ht-gold);
  line-height: 1;
}
.hero-badge-label {
  font-family: "Source Sans 3", sans-serif;
  font-size: 11px;
  color: var(--ht-text-sage);
  margin-top: 4px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .hero-collage { aspect-ratio: 4/3; max-width: 560px; }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--ht-green-tint);
  padding: 32px 0;
  border-top: 0.5px solid var(--ht-border-light);
  border-bottom: 0.5px solid var(--ht-border-light);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 760px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(180,134,11,0.10);
  color: var(--ht-gold-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 18px; height: 18px; }
.trust-text {
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  color: var(--ht-subheading);
  font-weight: 500;
  line-height: 1.4;
}

/* ---------- Why cards grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: var(--ht-white);
  border: 0.5px solid var(--ht-border-light);
  border-radius: var(--ht-radius-md);
  padding: 28px;
  transition: border-color .2s ease, transform .2s ease;
}
.why-card:hover {
  border-color: var(--ht-gold-dark);
  transform: translateY(-2px);
}
.why-card-num {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--ht-gold-dark);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.why-card h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--ht-forest);
  line-height: 1.3;
  margin-bottom: 12px;
}
.why-card p {
  font-size: 14px;
  color: var(--ht-body);
  line-height: 1.65;
}

/* ---------- Program highlights ---------- */
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) { .program-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .program-grid { grid-template-columns: 1fr; } }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--ht-green-tint);
  border-bottom: 0.5px solid var(--ht-border-light);
  padding: 40px 0;
}
.cta-strip .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cta-strip h2 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 26px;
  color: var(--ht-forest);
}
.cta-strip p { color: var(--ht-body); margin-top: 6px; font-size: 14px; max-width: 480px; }
.cta-strip-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: var(--ht-ivory);
  padding: 56px 0 40px;
  border-bottom: 0.5px solid var(--ht-border-divider);
}
.page-header-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .page-header-grid { grid-template-columns: 1fr; gap: 32px; } }

.page-header h1 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.15;
  color: var(--ht-forest);
  margin-bottom: 16px;
}
.page-header p {
  font-size: 17px;
  color: var(--ht-body);
  line-height: 1.7;
  max-width: 560px;
}
.breadcrumb {
  font-family: "Source Sans 3", sans-serif;
  font-size: 12px;
  color: var(--ht-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--ht-muted); }
.breadcrumb a:hover { color: var(--ht-gold-dark); }
.breadcrumb span { margin: 0 8px; color: var(--ht-faint); }

.page-header-img {
  border-radius: var(--ht-radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--ht-green-tint);
  box-shadow: 0 12px 32px rgba(15,42,30,0.08);
  position: relative;
}
.page-header-img img { width: 100%; height: 100%; object-fit: cover; }
.page-header-img-tag {
  position: absolute;
  bottom: 16px; left: 16px;
  background: var(--ht-forest);
  color: var(--ht-text-light);
  font-size: 11px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--ht-radius-pill);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Content prose ---------- */
.prose { max-width: 760px; }
.prose h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--ht-forest);
  margin-top: 40px;
  margin-bottom: 16px;
  line-height: 1.25;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ht-forest);
  margin-top: 28px;
  margin-bottom: 10px;
}
.prose p {
  font-size: 16px;
  color: var(--ht-body);
  line-height: 1.8;
  margin-bottom: 18px;
}
.prose ul, .prose ol {
  margin-bottom: 20px;
  padding-left: 0;
  list-style: none;
}
.prose ul li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  color: var(--ht-body);
  line-height: 1.7;
  margin-bottom: 10px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ht-gold-dark);
}
.prose ol { counter-reset: itm; }
.prose ol li {
  counter-increment: itm;
  padding-left: 36px;
  position: relative;
  font-size: 16px;
  color: var(--ht-body);
  line-height: 1.7;
  margin-bottom: 12px;
}
.prose ol li::before {
  content: counter(itm);
  position: absolute;
  left: 0; top: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(184,134,11,0.12);
  color: var(--ht-gold-dark);
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.prose strong { color: var(--ht-forest); font-weight: 600; }
.prose blockquote {
  border-left: 3px solid var(--ht-gold-dark);
  padding: 8px 0 8px 20px;
  margin: 24px 0;
  font-style: italic;
  font-family: "Lora", Georgia, serif;
  color: var(--ht-subheading);
  font-size: 18px;
  line-height: 1.6;
}

/* Two-column on wide screens for prose layouts */
.prose-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
}
@media (max-width: 900px) { .prose-layout { grid-template-columns: 1fr; gap: 32px; } }
.prose-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  background: var(--ht-white);
  border: 0.5px solid var(--ht-border-light);
  border-top: 3px solid var(--ht-gold-dark);
  border-radius: var(--ht-radius-md);
  padding: 24px;
}
.prose-sidebar h4 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ht-forest);
  margin-bottom: 12px;
}
.prose-sidebar ul { list-style: none; padding: 0; margin-bottom: 16px; }
.prose-sidebar ul li {
  padding: 6px 0;
  border-bottom: 0.5px solid var(--ht-border-light);
  font-size: 13.5px;
  color: var(--ht-body);
}
.prose-sidebar ul li:last-child { border-bottom: 0; }
.prose-sidebar ul li strong { color: var(--ht-forest); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; font-weight: 500; }

/* ---------- Course list (catalogue pages) ---------- */
.course-category {
  background: var(--ht-white);
  border: 0.5px solid var(--ht-border-light);
  border-radius: var(--ht-radius-md);
  padding: 28px;
  margin-bottom: 24px;
}
.course-category h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--ht-forest);
  margin-bottom: 6px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid var(--ht-border-light);
  display: flex;
  align-items: center;
  gap: 12px;
}
.course-category h3 .cat-num {
  display: inline-flex;
  width: 32px; height: 32px;
  background: rgba(184,134,11,0.12);
  color: var(--ht-gold-dark);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}
.course-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 24px;
  margin-top: 16px;
}
@media (max-width: 700px) { .course-list { grid-template-columns: 1fr; } }
.course-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ht-subheading);
  line-height: 1.5;
  border-bottom: 0.5px dashed var(--ht-border-light);
}
.course-list li::before {
  content: "›";
  color: var(--ht-gold-dark);
  font-weight: 700;
  flex-shrink: 0;
}
.course-list li span.duration {
  margin-left: auto;
  font-size: 12px;
  color: var(--ht-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ---------- Catalogue index ---------- */
.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .catalogue-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .catalogue-grid { grid-template-columns: 1fr; } }

.catalogue-card {
  background: var(--ht-white);
  border: 0.5px solid var(--ht-border-light);
  border-radius: var(--ht-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  position: relative;
}
.catalogue-card:hover {
  border-color: var(--ht-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27,67,50,0.06);
  color: inherit;
}
.catalogue-card-accent { height: 4px; }
.catalogue-card-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.catalogue-card-letter {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 11px;
  color: var(--ht-gold-dark);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.catalogue-card h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--ht-forest);
  line-height: 1.3;
  margin-bottom: 8px;
}
.catalogue-card p {
  font-size: 13.5px;
  color: var(--ht-body);
  line-height: 1.6;
  margin-bottom: 14px;
}
.catalogue-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 0.5px solid var(--ht-border-light);
  font-size: 12px;
  color: var(--ht-muted);
}
.catalogue-card-meta strong {
  color: var(--ht-gold-dark);
  font-weight: 600;
  font-size: 12px;
}

/* ---------- Search / filter ---------- */
.catalogue-controls {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  align-items: center;
}
.search-input {
  flex: 1;
  min-width: 240px;
  background: var(--ht-white);
  border: 0.5px solid var(--ht-border-light);
  border-radius: var(--ht-radius-sm);
  padding: 12px 16px 12px 42px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  color: var(--ht-forest);
  outline: none;
  transition: border-color .18s ease;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A8A7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
  background-repeat: no-repeat;
  background-position: 16px center;
}
.search-input:focus { border-color: var(--ht-forest); border-width: 1px; padding: 11.5px 15.5px 11.5px 41.5px; }
.search-input::placeholder { color: var(--ht-faint); }

.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 500;
  font-size: 12px;
  padding: 7px 14px;
  border-radius: var(--ht-radius-pill);
  background: var(--ht-white);
  border: 0.5px solid var(--ht-border-light);
  color: var(--ht-body);
  transition: all .18s ease;
}
.filter-chip:hover { border-color: var(--ht-gold-dark); color: var(--ht-gold-dark); }
.filter-chip.active {
  background: var(--ht-forest);
  border-color: var(--ht-forest);
  color: var(--ht-text-light);
}

.no-results {
  text-align: center;
  padding: 48px 24px;
  color: var(--ht-muted);
  font-size: 14px;
}

/* ---------- Testimonial ---------- */
.testimonial-card {
  background: var(--ht-white);
  border: 0.5px solid var(--ht-border-light);
  border-radius: var(--ht-radius-md);
  border-left: 3px solid var(--ht-gold-dark);
  padding: 24px;
}
.testimonial-card.green { border-left-color: var(--ht-forest); }
.testimonial-card .quote {
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: var(--ht-subheading);
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-attribution { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ht-forest);
  color: var(--ht-gold);
  display: flex; align-items: center; justify-content: center;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 500;
  font-size: 13px;
}
.testimonial-card.green .testimonial-avatar { background: var(--ht-emerald); }
.testimonial-name {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--ht-forest);
}
.testimonial-role {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: var(--ht-muted);
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--ht-white);
  border: 0.5px solid var(--ht-border-light);
  border-radius: var(--ht-radius-md);
  overflow: hidden;
  transition: border-color .18s ease;
}
.faq-item[open] { border-color: var(--ht-gold-dark); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--ht-forest);
  display: flex; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  margin-left: auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(184,134,11,0.10);
  color: var(--ht-gold-dark);
  font-size: 18px;
  font-weight: 400;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .2s ease, background .2s ease;
}
.faq-item[open] summary::after {
  content: "−";
  background: var(--ht-gold-dark);
  color: #fff;
}
.faq-item .faq-answer {
  padding: 0 24px 22px 24px;
  font-size: 15px;
  color: var(--ht-body);
  line-height: 1.7;
}

/* ---------- Form ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: var(--ht-subheading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  padding: 12px 14px;
  background: var(--ht-white);
  border: 0.5px solid var(--ht-border-light);
  border-radius: var(--ht-radius-sm);
  color: var(--ht-forest);
  outline: none;
  transition: border-color .18s ease;
  width: 100%;
}
.form-field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ht-forest);
  border-width: 1px;
  padding: 11.5px 13.5px;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--ht-faint); }
.form-field.error input, .form-field.error select, .form-field.error textarea { border-color: var(--ht-error); }
.form-field-error { font-size: 12px; color: var(--ht-error); display: none; }
.form-field.error .form-field-error { display: block; }

.form-success {
  background: rgba(45,106,79,0.10);
  border: 0.5px solid var(--ht-success);
  border-left: 3px solid var(--ht-success);
  border-radius: var(--ht-radius-md);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: none;
}
.form-success.show { display: block; }
.form-success h4 {
  font-family: "Lora", Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ht-forest);
  margin-bottom: 6px;
}
.form-success p { font-size: 14px; color: var(--ht-body); margin: 0; }

/* ---------- WhatsApp floating button removed — opted-out per request ---------- */

/* ---------- Tweaks panel uses defaults from starter ---------- */

/* ---------- Utility ---------- */
.gold-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--ht-gold-dark) 30%, var(--ht-gold-dark) 70%, transparent);
  border: 0;
  max-width: 80px;
  margin: 8px 0 24px;
}
.text-center { text-align: center; }
.text-center .gold-divider { margin: 8px auto 24px; }
.mt-lg { margin-top: var(--ht-lg); }
.mt-xl { margin-top: var(--ht-xl); }
