/* Shared inner pages (courses, contact, schedule, legal stubs) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue: #1e3a5f;
  --orange: #ea580c;
  --orange-hover: #c2410c;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-900);
  line-height: 1.65;
  background: var(--white);
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  z-index: 100;
  padding: 0 24px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  overflow: hidden;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.nav-logo img {
  height: 64px;
  width: auto;
  max-width: min(320px, 60vw);
  display: block;
  object-fit: contain;
}
.nav-links { display: flex; gap: 14px; list-style: none; align-items: center; justify-content: flex-end; }
.nav-links a {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--orange); }
.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--orange-hover); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--gray-900); border-radius: 2px; flex-shrink: 0; }
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-inner { height: 80px; }
  .nav-logo img { height: 56px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
}
.hero--inner {
  padding-top: 172px;
  padding-bottom: 48px;
  background: linear-gradient(135deg, var(--blue) 0%, #1a2f4a 100%);
  color: var(--white);
  text-align: center;
}
/* Canonical hero typography (shared by all subpage heroes).
   Keep .hero--inner, .course-hero__content, .gallery-hero, and any
   per-page hero in lockstep with these values. */
.hero--inner .eyebrow {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.hero--inner h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  max-width: 900px;
  margin: 0 auto 16px;
}
.hero--inner .lead {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: rgba(255,255,255,0.86);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Photo hero band (matches about.html hero; path relative to this file in assets/) */
.hero--inner.hero--photo {
  margin-top: 88px;
  padding: clamp(88px, 14vw, 120px) 24px 72px;
  background-color: #0a1628;
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(10, 22, 44, 0.35), rgba(10, 22, 44, 0.70) 75%),
    linear-gradient(180deg, rgba(10, 22, 44, 0.35) 0%, rgba(10, 22, 44, 0.78) 100%),
    url('gallery/hero-facility/hero-04-live-class-wide__IMG_6642-1.JPEG');
  background-size: cover;
  background-position: center 36%;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.hero--inner.hero--photo.contact-hero {
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(10, 22, 44, 0.35), rgba(10, 22, 44, 0.70) 75%),
    linear-gradient(180deg, rgba(10, 22, 44, 0.35) 0%, rgba(10, 22, 44, 0.78) 100%),
    url('gallery/classroom/class-02-achp-troubleshooting__IMG_7018.JPEG');
}
.hero--inner.hero--photo.courses-hero {
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(10, 22, 44, 0.35), rgba(10, 22, 44, 0.70) 75%),
    linear-gradient(180deg, rgba(10, 22, 44, 0.35) 0%, rgba(10, 22, 44, 0.78) 100%),
    url('gallery/classroom/class-01-achp-active-bench__IMG_7015.JPEG');
}
.hero--inner.hero--photo.schedule-hero {
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(10, 22, 44, 0.35), rgba(10, 22, 44, 0.70) 75%),
    linear-gradient(180deg, rgba(10, 22, 44, 0.35) 0%, rgba(10, 22, 44, 0.78) 100%),
    url('gallery/wide/wide-bg-13__IMG_8983.JPEG');
}
.hero--inner.hero--photo.calendar-hero {
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(10, 22, 44, 0.35), rgba(10, 22, 44, 0.70) 75%),
    linear-gradient(180deg, rgba(10, 22, 44, 0.35) 0%, rgba(10, 22, 44, 0.78) 100%),
    url('gallery/classroom/class-04-gs102-classroom-wide__IMG_9697.JPEG');
}
.hero--inner.hero--photo.privacy-hero {
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(10, 22, 44, 0.35), rgba(10, 22, 44, 0.70) 75%),
    linear-gradient(180deg, rgba(10, 22, 44, 0.35) 0%, rgba(10, 22, 44, 0.78) 100%),
    url('gallery/classroom/class-06-rs103-group-instruction__IMG_8983.JPEG');
}
.hero--inner.hero--photo.terms-hero {
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(10, 22, 44, 0.35), rgba(10, 22, 44, 0.70) 75%),
    linear-gradient(180deg, rgba(10, 22, 44, 0.35) 0%, rgba(10, 22, 44, 0.78) 100%),
    url('gallery/classroom/class-05-ref202-instructor-demo__IMG_7123.JPEG');
}
.hero--inner.hero--photo.enroll-success-hero {
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(10, 22, 44, 0.35), rgba(10, 22, 44, 0.70) 75%),
    linear-gradient(180deg, rgba(10, 22, 44, 0.35) 0%, rgba(10, 22, 44, 0.78) 100%),
    url('gallery/classroom/class-03-gs102-furnace-work__IMG_6668.JPEG');
}
.hero--inner.hero--photo.enroll-cancelled-hero {
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(10, 22, 44, 0.35), rgba(10, 22, 44, 0.70) 75%),
    linear-gradient(180deg, rgba(10, 22, 44, 0.35) 0%, rgba(10, 22, 44, 0.78) 100%),
    url('gallery/additions/achp/achp-add-04.jpg');
}
.hero--inner.hero--photo.error-page {
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(10, 22, 44, 0.35), rgba(10, 22, 44, 0.70) 75%),
    linear-gradient(180deg, rgba(10, 22, 44, 0.35) 0%, rgba(10, 22, 44, 0.78) 100%),
    url('gallery/additions/gs102/gs102-add-06.jpg');
}
.hero--inner.hero--photo h1 {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.hero--inner.hero--photo .eyebrow {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.hero--inner.hero--photo .lead {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  margin-bottom: 0;
}
.hero--inner.hero--photo .hero-actions {
  margin-top: 22px;
}

/* Enroll + Schedule (shared across subpage heroes on dark bands) */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  justify-content: center;
  align-items: center;
}
.hero-actions .btn {
  min-width: 140px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  margin-top: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.hero-actions .btn:hover { transform: translateY(-1px); }
.hero-actions .btn-primary {
  background: var(--orange);
  color: var(--white);
  border: none;
}
.hero-actions .btn-primary:hover { background: var(--orange-hover); }
.btn-hero-schedule {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white) !important;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-hero-schedule:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.75);
}

/* Contact: same photo hero; inner wrapper for readability */
.contact-hero-inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.hero--inner.contact-hero .lead {
  max-width: 560px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
}
.content-section--contact {
  padding: 56px 24px 88px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}
.container-contact {
  max-width: 960px;
  margin: 0 auto;
}
.container-contact.prose > h2:first-of-type {
  margin-top: 0;
}
.intro-panel--contact {
  margin-bottom: 8px;
}
.contact-grid--page {
  margin-top: 8px;
  margin-bottom: 36px;
}
.notice--contact {
  margin-top: 36px;
  margin-bottom: 8px;
}
.cta-band--contact {
  margin-top: 40px;
}
.contact-form-wrap {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.contact-form-wrap h2 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 1.1rem;
}
.contact-form-wrap .muted-note {
  margin: 0 0 14px;
  color: var(--gray-500);
  font-size: 0.9rem;
}
.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}
.contact-form-grid .field-full {
  grid-column: 1 / -1;
}
.contact-form-grid label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-700);
  margin: 0 0 5px;
}
.contact-form-grid input,
.contact-form-grid select,
.contact-form-grid textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 11px 12px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--gray-900);
}
.contact-form-grid textarea {
  min-height: 110px;
  resize: vertical;
}
.contact-form-grid input:focus,
.contact-form-grid select:focus,
.contact-form-grid textarea:focus {
  outline: none;
  border-color: rgba(30, 58, 95, 0.42);
  box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.08);
}
.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.contact-form-status {
  min-height: 1.2em;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.ghl-form-embed__mount {
  min-height: 420px;
}
.ghl-form-embed__iframe {
  width: 100%;
  min-height: 420px;
  height: 720px;
  border: none;
  border-radius: 10px;
  background: var(--white);
}
.ghl-form-setup {
  margin: 0;
  padding: 16px 18px;
  border: 1px dashed var(--gray-200);
  border-radius: 10px;
  background: #f8fafc;
  color: var(--gray-700);
  font-size: 0.92rem;
  line-height: 1.55;
}
.ghl-form-setup p {
  margin: 0 0 10px;
}
.ghl-form-setup p:last-child {
  margin-bottom: 0;
}
.ghl-form-setup code {
  font-size: 0.84em;
  background: rgba(30, 58, 95, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}
.ghl-form-setup a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}
.ghl-form-setup a:hover {
  color: var(--orange);
}

.content-section { padding: 48px 24px 72px; }
.container-narrow { max-width: 720px; margin: 0 auto; }
.crumb { font-size: 0.88rem; color: var(--gray-500); margin-bottom: 20px; }
.crumb a { color: var(--orange); font-weight: 600; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.prose h2 {
  font-size: 1.2rem;
  color: var(--blue);
  margin: 28px 0 12px;
  font-weight: 700;
}
.prose h3 {
  font-size: 1.05rem;
  color: var(--blue);
  margin: 22px 0 10px;
  font-weight: 700;
}
.prose p { margin-bottom: 14px; color: var(--gray-700); }
.prose ul { margin: 0 0 14px 1.25em; color: var(--gray-700); }
.prose li { margin-bottom: 8px; }
.prose .muted { color: var(--gray-500); font-size: 0.9rem; }
.prose a { color: var(--blue); font-weight: 600; }
.prose a:hover { color: var(--orange); }
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 8px;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-hover); }
.btn:hover { transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--gray-200);
}
.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-500);
}
footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.5);
  padding: 40px 24px;
  text-align: center;
  font-size: 0.85rem;
}
footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
footer a:hover { color: var(--white); }
.footer-links { display: flex; gap: 18px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }

/* 404.html and other HTTP error pages (use root-relative /assets/ and / links in those files) */
.error-page .http-error-num {
  font-size: clamp(3rem, 12vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.38);
  margin: 0 auto 8px;
  max-width: 900px;
}
.error-page.hero--inner h1 { margin-top: 0; }
.error-page.hero--photo .http-error-num {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

/* Course pages: photo hero + gallery (client-supplied class photos) */
.course-hero {
  position: relative;
  margin-top: 88px;
  min-height: clamp(260px, 42vw, 400px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: #1a2f4a;
}
.course-hero__media {
  position: absolute;
  inset: 0;
  margin: 0;
}
.course-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.course-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(10, 22, 44, 0.35), rgba(10, 22, 44, 0.70) 75%),
    linear-gradient(180deg, rgba(10, 22, 44, 0.35) 0%, rgba(10, 22, 44, 0.78) 100%);
  pointer-events: none;
}
.course-hero__content {
  position: relative;
  z-index: 2;
  padding: 28px 24px 40px;
  max-width: 920px;
  text-align: center;
  color: #fff;
}
.course-hero__content .eyebrow {
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.course-hero__content h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.course-hero__content .lead {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: rgba(255, 255, 255, 0.86);
  margin: 0 auto;
  line-height: 1.55;
  max-width: 640px;
}
.course-hero__content .hero-actions {
  margin-top: 20px;
}
.container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.course-gallery-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 16px;
}
.course-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}
.course-gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--gray-100);
}
.course-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.course-gallery figcaption {
  font-size: 0.75rem;
  padding: 8px 10px;
  color: var(--gray-500);
  background: var(--gray-50);
  line-height: 1.35;
}
.content-section--gallery {
  padding-top: 40px;
  padding-bottom: 24px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.meta-strip,
.info-grid,
.contact-grid,
.courses-index-grid,
.link-row,
.page-actions {
  display: grid;
  gap: 16px;
}
.meta-strip {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 18px 0 28px;
}
.meta-card,
.info-card,
.contact-card,
.cta-band,
.notice,
.legal-note,
.intro-panel {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.meta-card,
.info-card,
.contact-card,
.intro-panel,
.notice,
.legal-note {
  padding: 18px 20px;
}
.meta-card__label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 6px;
  font-weight: 700;
}
.meta-card__value {
  color: var(--blue);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}
.info-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 22px 0;
}
.info-card h3,
.contact-card h3,
.intro-panel h2,
.legal-note h2,
.notice h2 {
  color: var(--blue);
  font-size: 1.02rem;
  margin: 0 0 10px;
}
.info-card p,
.contact-card p,
.intro-panel p,
.legal-note p,
.notice p {
  color: var(--gray-700);
  margin: 0;
}
.info-card ul,
.contact-card ul {
  margin: 10px 0 0 1.15rem;
}
.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 22px 0 30px;
}
.contact-card a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}
.contact-card a:hover { color: var(--orange); }
.eyebrow-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.eyebrow-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}
.eyebrow-list li:last-child { border-bottom: none; }
.eyebrow-list strong {
  display: block;
  color: var(--blue);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.cta-band {
  padding: 22px 24px;
  margin-top: 28px;
  background: linear-gradient(135deg, #f7fafc 0%, #eef4fb 100%);
}
.cta-band h2 {
  color: var(--blue);
  font-size: 1.15rem;
  margin: 0 0 8px;
}
.cta-band p {
  margin: 0;
  color: var(--gray-700);
}
.page-actions,
.link-row {
  grid-template-columns: repeat(auto-fit, minmax(200px, max-content));
  align-items: center;
  margin-top: 16px;
}
.notice {
  background: #fff9ed;
  border-color: #f3d4ae;
}
.notice p,
.notice h2 { color: #7c4a18; }
.legal-note {
  background: var(--gray-50);
  margin: 18px 0 24px;
}
.legal-meta {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 18px;
}
.stack-sm > * + * { margin-top: 14px; }
.course-summary {
  margin-top: 20px;
}
.course-summary .intro-panel {
  margin-bottom: 20px;
}
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin: 20px 0 24px;
}
.snapshot-card {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}
.snapshot-card span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 6px;
  font-weight: 700;
}
.snapshot-card strong {
  color: var(--blue);
  font-size: 1rem;
  line-height: 1.4;
}
.checklist {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.checklist li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--gray-700);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--orange);
}
.hero--inner .page-actions {
  justify-content: center;
}

/* ==========================================================
   Course detail hero enhancements
   (tag pill + course code chip + at-a-glance meta strip)
   ========================================================== */
.course-hero__eyebrows {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.course-tag--hero {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(232, 122, 46, 0.32);
}
.course-code-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.course-hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  list-style: none;
  margin: 22px auto 0;
  padding: 14px 22px;
  max-width: 720px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
}
.course-hero__meta li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 90px;
}
.course-hero__meta li span {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
}
.course-hero__meta li strong {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
}
.course-hero__meta li.is-price strong {
  color: #ffd4b0;
  font-size: 1.08rem;
}
.course-hero__schedule-hint {
  margin: 14px 0 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}
.course-hero__schedule-hint a {
  color: #ffd4b0;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 212, 176, 0.45);
}
.course-hero__schedule-hint a:hover {
  border-bottom-color: #ffd4b0;
}

/* ==========================================================
   Course detail page: "Upcoming sessions" (live from CRM)
   ========================================================== */
.course-upcoming {
  padding: 44px 0 48px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.course-upcoming__heading {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.015em;
  margin: 0 0 4px;
  text-align: center;
}
.course-upcoming__sub {
  text-align: center;
  color: var(--gray-500);
  margin: 0 0 22px;
  font-size: 0.95rem;
}
.course-upcoming__loading {
  text-align: center;
  color: var(--gray-500);
  font-style: italic;
  padding: 18px 12px;
}
.course-upcoming__hint {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.9rem;
  margin: 18px 0 0;
  line-height: 1.55;
}
.course-upcoming__hint a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 58, 95, 0.25);
}
.course-upcoming__hint a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.upcoming-card-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.upcoming-card-stack--flex {
  margin-top: 14px;
}

.upcoming-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.upcoming-card--featured {
  background: linear-gradient(135deg, #fff 0%, #fff7ed 100%);
  border-color: #fdba74;
  box-shadow: 0 14px 28px rgba(232, 122, 46, 0.14);
  padding: 22px 24px;
}
.upcoming-card--in-term {
  background: linear-gradient(135deg, #fff 0%, #eef6ff 100%);
  border-color: rgba(30, 58, 95, 0.28);
}
.upcoming-card--empty,
.upcoming-card--error {
  background: var(--white);
  border-style: dashed;
  border-color: var(--gray-300);
  text-align: left;
}
.upcoming-card__badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 2px;
}
.upcoming-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(232, 122, 46, 0.14);
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.upcoming-card__badge--in-term {
  background: rgba(30, 58, 95, 0.1);
  color: var(--blue);
}
.upcoming-card__badge--flex {
  background: rgba(14, 165, 233, 0.12);
  color: #0e7aa8;
}
.upcoming-card__badge--empty {
  background: rgba(100, 116, 139, 0.14);
  color: #475569;
}
.upcoming-card__badge--error {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}
.upcoming-card__relhint {
  color: var(--gray-500);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.upcoming-card__dates {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.upcoming-card--featured .upcoming-card__dates {
  font-size: clamp(1.35rem, 2.6vw, 1.65rem);
}
.upcoming-card__meta {
  color: var(--gray-700);
  font-size: 0.95rem;
}
.upcoming-card__sep {
  color: var(--gray-300);
  margin: 0 4px;
}
.upcoming-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blue);
}
.upcoming-card__copy {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.55;
}
.upcoming-card__copy a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 58, 95, 0.25);
}
.upcoming-card__copy a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.upcoming-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.upcoming-card__actions .btn {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .upcoming-card { padding: 16px; }
  .upcoming-card--featured { padding: 18px; }
  .upcoming-card__actions .btn { width: 100%; max-width: 320px; }
}

@media (max-width: 600px) {
  .course-gallery img { height: 180px; }
  .meta-card,
  .info-card,
  .contact-card,
  .intro-panel,
  .notice,
  .legal-note,
  .cta-band {
    padding: 16px;
  }
  .page-actions,
  .link-row {
    grid-template-columns: 1fr;
  }
  .course-hero__meta {
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    max-width: 100%;
  }
  .course-hero__meta li {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    min-width: 0;
  }
  .course-hero__meta li span { text-align: left; }
  .course-hero__meta li strong { text-align: right; }
}

/* ===========================================================
   ENROLL FOCUS BLOCK
   The "main event" on a course page - sits right under upcoming
   dates and tells the user the price, the plan, and where to click.
   =========================================================== */
.enroll-focus {
  padding: 48px 0 36px;
}
.enroll-focus .crumb {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0 0 20px;
}
.enroll-focus .crumb a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 58, 95, 0.25);
}
.enroll-focus .crumb a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.enroll-focus__card {
  background: linear-gradient(135deg, #ffffff 0%, #fff7ed 55%, #ffe6c7 100%);
  border: 1px solid #fdba74;
  border-radius: 20px;
  padding: 36px 34px;
  box-shadow: 0 22px 48px rgba(232, 122, 46, 0.18);
}
.enroll-focus__eyebrow {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(232, 122, 46, 0.15);
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.enroll-focus__heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 24px;
}
.enroll-focus__price-row {
  display: grid;
  grid-template-columns: minmax(180px, auto) 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 26px;
}
.enroll-focus__price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.enroll-focus__price-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.enroll-focus__price-value {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
  line-height: 1;
}
.enroll-focus__price-note {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-top: 2px;
}
.enroll-focus__facts {
  list-style: none;
  margin: 0;
  padding: 0 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 2px solid rgba(232, 122, 46, 0.4);
}
.enroll-focus__facts li {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.5;
}
.enroll-focus__facts strong {
  color: var(--blue);
  font-weight: 800;
}
.enroll-focus__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.enroll-focus__actions .btn {
  min-height: 52px;
  padding: 14px 26px;
  font-size: 1.02rem;
  font-weight: 700;
}
.enroll-focus__fineprint {
  color: var(--gray-500);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 20px 0 0;
}
@media (max-width: 640px) {
  .enroll-focus { padding: 36px 0 28px; }
  .enroll-focus__card { padding: 26px 22px; border-radius: 16px; }
  .enroll-focus__price-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .enroll-focus__facts {
    border-left: none;
    border-top: 2px solid rgba(232, 122, 46, 0.4);
    padding-left: 0;
    padding-top: 14px;
  }
  .enroll-focus__actions .btn {
    width: 100%;
    max-width: 360px;
  }
}

/* ===========================================================
   COURSE DETAILS (collapsible dropdowns)
   Keeps the page scannable - supporting info is one tap away
   but never blocks the path to enrollment.
   =========================================================== */
.course-details {
  padding: 40px 0 56px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}
.course-details__heading {
  font-size: clamp(1.35rem, 2.6vw, 1.65rem);
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.015em;
  text-align: center;
  margin: 0 0 6px;
}
.course-details__sub {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.95rem;
  margin: 0 0 24px;
}
.course-details__stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
}
.course-details__stack details {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.course-details__stack details[open] {
  border-color: rgba(30, 58, 95, 0.3);
}
.course-details__stack summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  color: var(--blue);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.35;
  transition: background 0.15s ease;
}
.course-details__stack summary::-webkit-details-marker { display: none; }
.course-details__stack summary::after {
  content: "+";
  color: var(--orange);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 600;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.course-details__stack details[open] summary::after {
  content: "\2212"; /* minus */
}
.course-details__stack summary:hover {
  background: rgba(30, 58, 95, 0.035);
}
.course-details__panel {
  padding: 4px 22px 22px;
}
.course-details__panel p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 12px;
}
.course-details__panel p:last-child { margin-bottom: 0; }
.course-details__panel .checklist {
  margin: 0;
}
.course-details__list {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0 0 12px;
  color: var(--gray-700);
}
.course-details__list li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 6px;
}
.course-details__list li:last-child { margin-bottom: 0; }
.course-details__list strong {
  color: var(--blue);
  font-weight: 700;
}
.course-details__more {
  margin-top: 14px !important;
  font-size: 0.92rem;
  font-weight: 700;
}
.course-details__more a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 122, 46, 0.35);
}
.course-details__more a:hover {
  border-bottom-color: var(--orange);
}

/* Compact 2x2 gallery used inside a details dropdown */
.course-gallery--compact {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.course-gallery--compact img {
  height: 150px;
}
@media (max-width: 768px) {
  .content-section,
  .content-section--contact {
    padding-left: 18px;
    padding-right: 18px;
  }
  .container-wide {
    padding: 0 18px;
  }
}
@media (max-width: 640px) {
  .course-details__stack summary { padding: 16px 18px; font-size: 0.95rem; }
  .course-details__panel { padding: 4px 18px 20px; }
  .course-gallery--compact img { height: 130px; }
  .contact-form-wrap {
    padding: 16px;
  }
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
