/* ============================================
   TrellisHR — Global Stylesheet
   ============================================ */

:root {
  /* Greens */
  --g950: #081F12;
  --g900: #0F3D22;
  --g800: #1B5E35;
  --g700: #246B3E;
  --g500: #2E8A52;
  --g200: #A8D5B8;
  --g100: #D8EDE1;
  --g50:  #F2FAF5;

  /* Gold */
  --gold:       #C9A227;
  --gold-light: #E8C96A;
  --gold-pale:  #FDF6E3;

  /* Neutrals */
  --cream: #FDFAF4;
  --dark:  #1A1A18;
  --mid:   #4A4A46;
  --muted: #8A8A84;
  --line:  rgba(26, 26, 24, 0.1);
  --line-light: rgba(255, 255, 255, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.7;
  color: var(--mid);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 80px 0; }

@media (max-width: 767px) { section { padding: 56px 0; } }

/* Typography */
.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(44px, 7vw, 72px);
  line-height: 1.04;
  color: var(--dark);
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.1;
  color: var(--dark);
}

h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(20px, 2.8vw, 26px);
  line-height: 1.2;
  color: var(--dark);
}

.body-lg { font: 500 17px/1.75 'DM Sans'; color: var(--mid); }
.body-sm { font: 500 14px/1.7 'DM Sans'; color: var(--mid); }
.label { font: 500 12px/1 'DM Sans'; color: var(--muted); }

/* Buttons */
.btn-primary {
  background: var(--g800);
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  font: 500 14px 'DM Sans';
  border: none;
  cursor: pointer;
  transition: all .25s;
  display: inline-block;
}
.btn-primary:hover { background: var(--g900); transform: translateY(-2px); box-shadow: 0 6px 30px rgba(27,94,53,.3); }

.btn-gold {
  background: var(--gold);
  color: var(--g950);
  padding: 14px 32px;
  border-radius: 8px;
  font: 500 14px 'DM Sans';
  border: none;
  cursor: pointer;
  transition: all .25s;
  display: inline-block;
}
.btn-gold:hover { opacity: .88; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(201,162,39,.3); }

.btn-ghost {
  background: transparent;
  color: white;
  padding: 13px 28px;
  border-radius: 8px;
  font: 500 14px 'DM Sans';
  border: 0.5px solid rgba(255,255,255,.28);
  cursor: pointer;
  transition: all .25s;
  display: inline-block;
}
.btn-ghost:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--g800);
  padding: 13px 28px;
  border-radius: 8px;
  font: 500 14px 'DM Sans';
  border: 1px solid var(--g800);
  cursor: pointer;
  transition: all .25s;
  display: inline-block;
}
.btn-outline:hover { background: var(--g50); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.08); }

.btn-dark {
  background: var(--g900);
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  font: 500 14px 'DM Sans';
  border: none;
  cursor: pointer;
  transition: all .25s;
  display: inline-block;
}
.btn-dark:hover { background: var(--g950); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,.12); }

/* ============================================
   NAVIGATION
   ============================================ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 0;
  transition: all .3s;
  background: linear-gradient(135deg, var(--g50) 0%, #ffffff 100%);
  box-shadow:
    0 4px 24px rgba(0,0,0,.07),
    0 1px 3px rgba(0,0,0,.03);
  border-bottom: none;
}

nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 15% 50%, rgba(201,162,39,.1) 0%, transparent 60%);
  pointer-events: none;
}

nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 8%;
  right: 8%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,.4), transparent);
  pointer-events: none;
}

nav.at-top {
  background: linear-gradient(135deg, rgba(242,250,245,.92) 0%, rgba(255,255,255,.95) 100%);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
  border-bottom: none;
}

nav.scrolled {
  background: linear-gradient(135deg, var(--g50) 0%, #ffffff 100%);
  box-shadow:
    0 6px 32px rgba(0,0,0,.1),
    0 1px 4px rgba(0,0,0,.05);
  border-bottom: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  isolation: isolate;
}

.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}

.nav-logo .wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 800;
  color: var(--g800);
  letter-spacing: -.01em;
}

.nav-logo .wordmark em {
  font-style: normal;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font: 700 16px 'DM Sans';
  color: var(--dark);
  transition: color .2s;
  letter-spacing: .01em;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .25s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }

.nav-links .btn-primary {
  font-size: 13px;
  padding: 10px 24px;
  font-weight: 600;
  color: white;
}

.nav-tagline {
  display: block;
  font: 700 12px 'DM Sans';
  color: var(--gold);
  letter-spacing: .05em;
  line-height: 1.2;
  margin-top: -1px;
  white-space: nowrap;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 160;
}
.nav-hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--g800);
  border-radius: 2px;
  transition: all .3s;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--g900);
  padding: 80px 32px 40px;
  transition: right .3s ease;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-drawer.open { right: 0; }

.nav-drawer a {
  font: 500 16px 'DM Sans';
  color: white;
  padding: 14px 0;
  border-bottom: 0.5px solid rgba(255,255,255,.1);
}

.nav-drawer .btn-primary {
  background: var(--gold);
  color: var(--g950);
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 8px;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.nav-overlay.active { opacity: 1; pointer-events: auto; }

.nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 767px) {
  nav { padding: 12px 0; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo img { height: 38px; }
  .nav-logo .wordmark { font-size: 24px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { margin-top: 32px; }

  .stats-grid { grid-template-columns: 1fr !important; }
  .stats-grid > div { border-right: none !important; padding: 16px 0 !important; }
  .stats-grid > div + div { border-top: 0.5px solid var(--g200); }
  .two-col-grid { grid-template-columns: 1fr !important; }
  .three-col-grid { grid-template-columns: 1fr !important; }
  
  .hero-h1 { white-space: normal !important; font-size: clamp(32px, 10vw, 44px) !important; }

  .service-block { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .service-block:nth-child(even) { direction: ltr; }
  .service-number { font-size: 60px; text-align: left; transform: none; }
}

@media (max-width: 767px) {
  .split-cta { flex-direction: column; }
  .split-cta > div { padding: 48px 24px; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .module-grid-4 { grid-template-columns: repeat(2,1fr) !important; gap: 10px !important; }
  .module-grid-3 { grid-template-columns: 1fr !important; }
  .course-layout { grid-template-columns: 1fr !important; gap: 24px !important; }
  .course-layout .sticky-text { position: static !important; text-align: center; }
  .course-teaser-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .course-module-grid { grid-template-columns: repeat(3,1fr) !important; gap: 8px !important; }
  .page-header { padding: 120px 0 48px; }
  .page-header h1 { font-size: clamp(32px, 10vw, 44px); }
}

@media (max-width: 480px) {
  .course-module-grid { grid-template-columns: repeat(2,1fr) !important; }
}

@media (max-width: 767px) {
  footer { padding: 40px 0 24px; }
  section { padding: 48px 0; }
  .container { padding: 0 20px; }
  .about-text { font-size: 15px !important; }
  .about-flex { flex-direction: column; align-items: center !important; }
  .about-flex > div:first-child { width: 100px !important; height: 100px !important; }
  .about-flex > div:first-child img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: center 20%; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons a { width: 100%; text-align: center; }
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--g900);
  color: rgba(255,255,255,.8);
  padding: 56px 0 40px;
  border-top: 2px solid var(--gold);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 70% 15%, rgba(46,138,82,.15) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(201,162,39,.08) 0%, transparent 40%);
  pointer-events: none;
}

footer::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  box-shadow: inset 0 0 80px rgba(46,138,82,.06);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 0.5px solid rgba(255,255,255,.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-logo-img img {
  height: 36px;
  width: auto;
  display: block;
}

.footer-logo .wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 700;
  color: white;
  letter-spacing: -.01em;
}

.footer-logo .wordmark em { font-style: normal; color: var(--gold); }

.footer-tagline {
  font-size: 18px;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-copy {
  font-size: 14px;
  color: rgba(255,255,255,.35);
}

.footer-col h4 {
  font: 600 13px 'DM Sans';
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }

.footer-col ul a {
  font-size: 16px;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}

.footer-col ul a:hover { color: var(--gold); }

.footer-contact {
  flex-direction: column;
  gap: 12px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  line-height: 0;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 0;
  transition: color .2s;
  font-size: 15px;
  color: rgba(255,255,255,.6);
}

.footer-contact a:hover { color: var(--gold); }

.footer-contact .mat-icon {
  font-size: 24px;
  width: 24px;
  height: 24px;
  color: var(--gold);
  line-height: 1;
}

.footer-contact svg {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

.footer-contact-label {
  white-space: nowrap;
}

/* ============================================
   SECTION HERO (shared dark bg)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, #0f3d22 0%, #1a4a2e 50%, #2a5a3e 100%);
  padding: 150px 0 72px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 75% 20%, rgba(201,162,39,.25) 0%, transparent 45%),
    radial-gradient(ellipse at 25% 80%, rgba(46,138,82,.15) 0%, transparent 45%);
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(201,162,39,.08) 0%, transparent 40%);
  pointer-events: none;
}

.page-header-deco-ring {
  position: absolute;
  width: 450px;
  height: 450px;
  border: 1px solid rgba(201,162,39,.1);
  border-radius: 50%;
  right: -120px;
  top: -180px;
  pointer-events: none;
  z-index: 0;
}

.page-header-deco-ring-2 {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(201,162,39,.06);
  border-radius: 50%;
  left: -80px;
  bottom: -100px;
  pointer-events: none;
  z-index: 0;
}

.page-header .container { position: relative; z-index: 1; }

.page-header .eyebrow { margin-bottom: 16px; display: block; }

.page-header h1 { color: white; margin-bottom: 20px; }

.page-header p {
  color: rgba(255,255,255,.6);
  font-size: 17px;
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================
   HERO SECTION (home page)
   ============================================ */
.hero-section {
  padding: 170px 0 70px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 15%, rgba(201,162,39,.45) 0%, transparent 45%),
    radial-gradient(ellipse at 20% 30%, rgba(201,162,39,.2) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(201,162,39,.06) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 95%, rgba(46,138,82,.2) 0%, transparent 40%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26,26,24,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-accent {
  position: absolute;
  font: 700 300px/1 'Cormorant Garamond', serif;
  color: var(--gold);
  opacity: .08;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}

.hero-h1 {
  text-shadow: 0 4px 60px rgba(201,162,39,.25);
}

.hero-tagline {
  font: 400 22px/1.5 'DM Sans';
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-deco-ring {
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(201,162,39,.12);
  border-radius: 50%;
  right: -80px;
  bottom: -100px;
  pointer-events: none;
  z-index: 0;
}

.hero-deco-ring-2 {
  position: absolute;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(201,162,39,.08);
  border-radius: 50%;
  left: -60px;
  top: -80px;
  pointer-events: none;
  z-index: 0;
}

.hero-bottom-divider {
  position: absolute;
  bottom: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,.3), transparent);
  pointer-events: none;
}



/* ============================================
   SERVICE CARDS (services page)
   ============================================ */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 48px 0;
}

.service-block:nth-child(even) { direction: rtl; }
.service-block:nth-child(even) > * { direction: ltr; }

.service-label {
  background: var(--g50);
  color: var(--g700);
  font: 600 10px 'DM Sans';
  letter-spacing: .12em;
  padding: 5px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}

.service-block h2 { margin-bottom: 16px; }

.service-block .body-lg { margin-bottom: 24px; }

.includes-heading {
  font: 600 13px 'DM Sans';
  color: var(--muted);
  margin-bottom: 12px;
}

.service-block ul { margin-bottom: 24px; }

.service-block ul li {
  display: flex;
  align-items: flex-start;
  gap: 0;
  font-size: 15px;
  color: var(--mid);
  margin-bottom: 8px;
}

.service-block ul li::before {
  content: '—';
  color: var(--gold);
  margin-right: 10px;
  flex-shrink: 0;
}

.service-link {
  font: 500 13px 'DM Sans';
  color: var(--g700);
  border-bottom: 1px solid var(--g200);
  padding-bottom: 2px;
  transition: border-color .2s;
  display: inline-block;
}
.service-link:hover { border-color: var(--g700); }

.service-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(120px, 16vw, 180px);
  font-weight: 600;
  color: var(--gold);
  opacity: .25;
  text-align: center;
  transform: rotate(-5deg);
  line-height: 1;
}

@media (max-width: 767px) {
  .service-block { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .service-block:nth-child(even) { direction: ltr; }
  .service-number { font-size: 60px; text-align: left; transform: none; }
}

/* ============================================
   COURSE CARDS
   ============================================ */
.module-card {
  background: rgba(255,255,255,.05);
  border: 0.5px solid rgba(255,255,255,.09);
  border-radius: 10px;
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100px;
  transition: all .3s;
  box-shadow: 0 0 0 rgba(201,162,39,0);
}

.module-card:hover {
  border-color: rgba(201,162,39,.35);
  box-shadow: 0 0 35px rgba(201,162,39,.12), inset 0 0 20px rgba(201,162,39,.04);
  transform: translateY(-2px);
}

.module-card .module-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 1;
}

.module-card .module-name {
  font: 500 14px 'DM Sans';
  color: rgba(255,255,255,.8);
  flex: 1;
  display: flex;
  align-items: center;
}

.module-card .module-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: rgba(255,255,255,.18);
}

/* ============================================
   CREDENTIAL PILLS
   ============================================ */
.credentials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.credential-pill {
  background: var(--g50);
  border: 0.5px solid var(--g100);
  border-radius: 24px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 14px 'DM Sans';
  color: var(--mid);
}

.credential-pill .mat-icon {
  font-size: 18px;
  width: 18px;
  height: 18px;
  color: var(--g700);
}

/* ============================================
   SPLIT CTA SECTION
   ============================================ */
.split-cta {
  display: flex;
  min-height: 400px;
}

.split-cta > div { flex: 1; padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; }
.split-cta .split-left { background: var(--g900); }
.split-cta .split-right { background: var(--cream); }

.split-cta .split-left h2 { color: white; margin-bottom: 16px; }
.split-cta .split-left p { color: rgba(255,255,255,.55); font-size: 15px; margin-bottom: 28px; }
.split-cta .split-left .btn-gold { align-self: flex-start; }

.split-cta .split-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 12px 12px 0;
}

@media (max-width: 767px) {
  .split-cta { flex-direction: column; }
  .split-cta > div { padding: 48px 24px; }
  .split-cta .split-right img { border-radius: 12px; height: 280px; object-position: center top; }
}

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }

/* ============================================
   CARD SHADOWS & EFFECTS
   ============================================ */
.card-shadow {
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  transition: all .3s;
}

.card-shadow:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
  transform: translateY(-3px);
}

.card-gold {
  box-shadow: 0 4px 24px rgba(201,162,39,.08);
  transition: all .3s;
}

.card-gold:hover {
  box-shadow: 0 12px 40px rgba(201,162,39,.18);
  transform: translateY(-3px);
}

.stats-gold-top {
  border-top: 3px solid var(--gold) !important;
}

/* ============================================
   SECTION GLOW OVERLAYS
   ============================================ */
.section-glow-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 15%, rgba(201,162,39,.3) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(201,162,39,.15) 0%, transparent 50%);
  pointer-events: none;
}

.section-glow-green::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(46,138,82,.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(201,162,39,.12) 0%, transparent 50%);
  pointer-events: none;
}

.section-glow {
  position: relative;
  overflow: hidden;
}

/* ============================================
   GLOW & SPOTLIGHT UTILITIES
   ============================================ */
.glow-gold {
  box-shadow: 0 0 40px rgba(201,162,39,.12);
}

.glow-green {
  box-shadow: 0 0 40px rgba(46,138,82,.1);
}

.spotlight-gold {
  position: relative;
  overflow: hidden;
}

.spotlight-gold::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,162,39,.08) 0%, transparent 60%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.spotlight-green {
  position: relative;
  overflow: hidden;
}

.spotlight-green::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46,138,82,.08) 0%, transparent 60%);
  bottom: -200px;
  left: -150px;
  pointer-events: none;
}

/* ============================================
   TEXT COLORS
   ============================================ */
.text-gold { color: var(--gold); }
.text-green { color: var(--g700); }
.text-white { color: white; }

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */
.deco-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  opacity: .15;
  pointer-events: none;
}

.deco-dot-lg {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  opacity: .1;
  pointer-events: none;
}

.section-divider {
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,.2), transparent);
  margin: 0;
}

/* ============================================
   WARM SECTION BACKGROUNDS
   ============================================ */
.bg-warm {
  background: linear-gradient(135deg, var(--cream) 0%, var(--g50) 100%);
}

.bg-warm-gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, #fdf6e3 100%);
}

.bg-warm-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 30%, rgba(201,162,39,.08) 0%, transparent 50%);
  pointer-events: none;
}

/* ============================================
   HERO MEDIA QUERIES
   ============================================ */
@media (max-width: 767px) {
  .hero-section { padding: 130px 0 50px; }
  .hero-deco-ring { display: none; }
  .hero-deco-ring-2 { display: none; }
  .hero-bottom-divider { display: none; }
  .hero-tagline { font-size: 16px; }
  .page-header-deco-ring { display: none; }
  .page-header-deco-ring-2 { display: none; }
}

/* ============================================
   SERVICES DROPDOWN
   ============================================ */
.nav-dropdown {
  position: relative;
  padding-bottom: 8px;
  margin-bottom: -8px;
}

.nav-dropdown > a {
  font: 700 16px 'DM Sans';
  color: var(--dark);
  transition: color .2s;
  letter-spacing: .01em;
  position: relative;
  padding-bottom: 4px;
  cursor: pointer;
}

.nav-dropdown > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .25s;
}

.nav-dropdown > a:hover,
.nav-dropdown > a.active-parent { color: var(--gold); }
.nav-dropdown > a:hover::after,
.nav-dropdown > a.active-parent::after { width: 100%; }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  z-index: 200;
  background: white;
  border-radius: 12px;
  padding: 14px 0 10px;
  min-width: 260px;
  box-shadow: 0 12px 40px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
  border: 0.5px solid var(--line);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: white;
  border-left: 0.5px solid var(--line);
  border-top: 0.5px solid var(--line);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  font: 500 14px 'DM Sans';
  color: var(--mid);
  padding: 10px 20px;
  transition: all .2s;
  white-space: nowrap;
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu a:hover {
  background: var(--g50);
  color: var(--gold);
}

.nav-dropdown-menu a:last-child {
  border-bottom: none;
}

/* Mobile drawer sub-links */
.nav-dropdown-mobile {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-dropdown-mobile a {
  font: 400 14px 'DM Sans';
  color: rgba(255,255,255,.6);
  padding: 8px 0 8px 16px;
  border-bottom: none;
}

.nav-dropdown-mobile > a:first-child {
  font: 500 16px 'DM Sans';
  color: white;
  padding: 14px 20px;
  border-bottom: 0.5px solid rgba(255,255,255,.1);
}

.nav-dropdown-mobile > a:first-child:hover {
  color: var(--gold);
  padding-left: 24px;
}

/* ============================================
   GREEN GLOW EFFECTS
   ============================================ */
.section-glow-green-strong::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(46,138,82,.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(201,162,39,.08) 0%, transparent 40%);
  pointer-events: none;
}

.section-glow-green-soft::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(46,138,82,.08) 0%, transparent 50%);
  pointer-events: none;
}

.section-glow-gold-strong::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(201,162,39,.25) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(201,162,39,.12) 0%, transparent 40%);
  pointer-events: none;
}

/* Hero accent mobile sizing */
@media (max-width: 767px) {
  .hero-accent { display: none; }
}

/* Mobile nav: hide decorative after */
@media (max-width: 767px) {
  nav::after { display: none; }
}

/* Mobile: soften glow overlays */
@media (max-width: 767px) {
  .section-glow-green-strong::before { opacity: .5; }
  .section-glow-gold-strong::before { opacity: .5; }
}

/* Mobile: about text left-aligned */
@media (max-width: 767px) {
  .about-flex > div:last-child { text-align: left !important; }
}

/* Mobile: footer optimized */
@media (max-width: 767px) {
  footer { padding: 40px 24px 24px; }
  footer .container { padding: 0; }
  .footer-inner { gap: 24px; padding-bottom: 20px; }
  .footer-logo .wordmark { font-size: 22px; }
  .footer-tagline { font-size: 14px; margin-bottom: 12px; }
  .footer-copy { font-size: 11px; }
  .footer-col h4 { font-size: 11px; margin-bottom: 14px; }
  .footer-col ul { gap: 8px; }
  .footer-col ul a { font-size: 13px; }
  .footer-contact { flex-direction: row !important; gap: 12px !important; align-items: center; }
  .footer-contact-label { display: none; }
  .footer-contact .mat-icon { font-size: 22px; width: 22px; height: 22px; }
  .footer-contact svg { width: 22px; height: 22px; }
  .footer-logo-img img { height: 28px; }
  .footer-logo-img { width: 36px; height: 36px; }
}

/* Mobile: course subline */
@media (max-width: 767px) {
  .course-subline { font-size: 14px !important; }
}

/* Mobile: CTA card padding */
@media (max-width: 767px) {
  .cta-card { padding: 40px 20px !important; }
}

/* Mobile: nav drawer improvements */
@media (max-width: 767px) {
  .nav-drawer {
    background: linear-gradient(135deg, var(--g900) 0%, #0a2e1a 100%);
    padding-top: 72px;
  }

  .nav-drawer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    pointer-events: none;
  }

  .nav-drawer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(201,162,39,.06) 0%, transparent 50%);
    pointer-events: none;
  }

  .nav-drawer a {
    position: relative;
    z-index: 1;
    transition: all .2s;
    padding: 14px 20px;
    border-bottom: 0.5px solid rgba(255,255,255,.06);
  }

  .nav-drawer a:hover {
    color: var(--gold);
    padding-left: 24px;
  }

  .nav-drawer a.active {
    color: var(--gold);
    border-left: 2px solid var(--gold);
    padding-left: 18px;
  }

  .nav-drawer .btn-primary {
    margin-top: 20px;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--gold) 0%, #dbb039 100%);
    box-shadow: 0 4px 20px rgba(201,162,39,.25);
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: .02em;
  }

  .nav-close {
    z-index: 2;
    font-size: 24px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.7);
    top: 16px;
    right: 16px;
    transition: all .2s;
  }

  .nav-close:hover {
    background: rgba(255,255,255,.12);
    color: white;
  }
}