/* ==========================================================================
   main.css — Corporate CAD/BIM Training  |  Version 3.0
   Audience : Architects, Engineers, Interior Designers, Construction Mgrs
   Palette  : Deep charcoal · Slate · Warm white · Gold accent
   Fonts    : DM Sans (display/headings) + Open Sans (UI) + Roboto (content)
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. GOOGLE FONTS — DM Sans replaces Cormorant for a sharp sans-serif look
   DM Sans   : Modern geometric sans — H1, H2, hero, course titles
   Open Sans : Navigation, labels, UI chrome
   Roboto    : Body copy, form fields, column text (14px per spec)
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Open+Sans:wght@300;400;600;700&family=Roboto:wght@300;400;500;700&display=swap');


/* --------------------------------------------------------------------------
   2. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Palette */
  --ink:            #0d1117;
  --ink-soft:       #161d2a;
  --slate:          #1e2d3d;
  --slate-mid:      #2e3f52;
  --slate-light:    #4a5f75;
  --gold:           #c8a55a;
  --gold-bright:    #debb75;
  --gold-pale:      #f5ead4;
  --gold-rule:      rgba(200,165,90,0.30);
  --bg:             #f7f6f3;
  --surface:        #ffffff;
  --surface-tinted: #f1efe9;
  --border:         #e0dbd0;
  --border-dark:    #b5ad9f;
  --text-primary:   #343a40;   /* near-black — high contrast, competition standard */
  --text-secondary: #343a40;   /* unified with primary — eliminates low-contrast grey */
  --text-muted:     #879099;
  --text-gold:      #8c6020;

  /* Typography */
  --font-heading:   'DM Sans', 'Open Sans', sans-serif;
  --font-ui:        'Open Sans', sans-serif;
  --font-content:   'Roboto', sans-serif;

  /* Type scale */
  --size-h1:        2.9rem;
  --size-h2:        1.55rem;
  --size-h3:        1.05rem;
  --size-col:       14px;
  --size-label:     0.68rem;
  --size-nav:       0.76rem;

  /* Spacing */
  --col-gap:        8px;
  --section-v:      60px;
  --card-pad:       24px;
  --header-h:       74px;
  --nav-h:          48px;

  /* Decoration */
  --radius-sm:      3px;
  --radius:         6px;
  --shadow-sm:      0 1px 3px rgba(13,17,23,.07), 0 2px 8px rgba(13,17,23,.05);
  --shadow-md:      0 4px 18px rgba(13,17,23,.11);
  --shadow-lg:      0 12px 44px rgba(13,17,23,.20);
  --shadow-gold:    0 4px 22px rgba(200,165,90,.24);
  --transition:     0.22s cubic-bezier(0.4,0,0.2,1);
}


/* --------------------------------------------------------------------------
   3. RESET + BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; height: auto; display: block; }
ul   { list-style: none; }
a    { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-bright); }
button { cursor: pointer; }


/* --------------------------------------------------------------------------
   4. CONTAINER
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 768px) { .container { padding: 0 16px; } }


/* --------------------------------------------------------------------------
   5. HEADER — Logo left · Phone right
   -------------------------------------------------------------------------- */
/* ════════════════════════════════════════════════════════
   HEADER — two-row layout
   Row 1 (#header-top-bar):  phone | search | contact+cart  — lighter blue
   Row 2 (#header-logo-bar): logo + logotype                — dark navy
   ════════════════════════════════════════════════════════ */

#header {
  width: 100%;
  background: transparent;   /* rows handle their own backgrounds */
  border: none;
}

/* ── Top bar ── */
#header-top-bar {
  width: 100%;
  background: #1a3a6b;           /* lighter navy blue — harmonious with logo bar */
  border-bottom: 1px solid rgba(200,165,90,.20);
  padding: 0;
}

#header-top-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 clamp(12px, 2vw, 28px);
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* LEFT */
#header-top-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* CENTER */
#header-top-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 480px;
  margin: 0 16px;
}

#header-search-bar {
  display: flex;
  align-items: center;
  width: auto;               /* shrink to content */
  max-width: 360px;          /* ~30 chars + search button */
  border: 1px solid rgba(200,165,90,.70);  /* stronger gold border */
  border-radius: 3px;
  background: rgba(255,255,255,.12);
  overflow: hidden;
  flex-shrink: 0;
}

#search-btn {
  flex-shrink: 0;
  width: 36px;
  height: 34px;
  background: rgba(200,165,90,.18);
  border: none;
  border-right: 1px solid rgba(200,165,90,.40);
  cursor: pointer;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
#search-btn:hover { background: rgba(200,165,90,.32); }

#header-search-input {
  width: 30ch;               /* exactly 30 characters wide */
  min-width: 0;
  height: 34px;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;           /* white text on gold */
  font-family: var(--font-ui);
  font-size: 0.78rem;
  padding: 0 10px;
  cursor: pointer;
  box-sizing: content-box;
}
#header-search-input::placeholder {
  color: rgba(255,255,255,.45);
  font-size: 0.75rem;
}

/* RIGHT */
#header-top-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(200,165,90,.45);
  border-radius: 20px;       /* pill shape */
  padding: 0 14px;
  height: 30px;              /* ~1.5× phone number line height */
  background: #ffffff;
  border-color: rgba(255,255,255,0.9);
  color: #000000;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);  /* subtle shadow for definition */
  font-family: 'DM Sans', 'Open Sans', sans-serif;
  font-size: 0.8rem;    /* 12.8px — readable and strong in a pill */
  font-weight: 800;     /* extra-bold — DM Sans 800 has clear visual weight */
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  flex-shrink: 0;
  position: relative;
}
.header-pill-btn:hover {
  background: #e8e8e8;
  border-color: #e8e8e8;
  color: #000000;
  font-family: 'DM Sans', 'Open Sans', sans-serif;
  font-weight: 800;
}

.pill-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: #000000;  /* black icon on white button */
}

.pill-label { white-space: nowrap; }

#btn-contact { min-width: 110px; justify-content: center; }
#btn-cart    { min-width: 72px;  justify-content: center; }

/* ── Logo bar ── */
#header-logo-bar {
  width: 100%;
  background: #0f1f38;
  border-bottom: 1px solid rgba(200,165,90,.25);
  height: var(--header-h);
}

#header-logo-bar .container {
  height: 100%;
  display: flex;
  align-items: center;
}

/* Adjust overall header height variable for nav scroll offset */
:root { --header-total-h: calc(var(--header-h) + 44px); }

#header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
#logo-section { display: flex; align-items: center; gap: 12px; }
#logo-section img { height: 40px; width: auto; }

.logo-block { display: flex; flex-direction: column; }

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  line-height: 1;
}

.logo-tagline {
  font-family: 'DM Sans', 'Open Sans', sans-serif;
  font-size: 0.72rem;       /* 11.5px — up from 10.9px */
  font-weight: 700;          /* bold — clearly readable */
  color: var(--gold);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--gold-rule);
  white-space: nowrap;
}

/* Phone */
#phone-section { display: flex; align-items: center; gap: clamp(4px, 1vw, 10px); min-width: 0; flex-shrink: 1; }

.phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  /* No border, no circle — clean icon */
}
.phone-icon svg { width: 14px; height: 14px; fill: var(--gold); }

.phone-meta { display: flex; flex-direction: column; }
.phone-label {
  font-family: var(--font-ui);
  font-size: 0.78rem;        /* larger for clarity */
  font-weight: 700;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
/* [.phone-number base rule merged into #phone-section .phone-number with clamp] */
.phone-number:hover { color: var(--gold-bright); }

@media (max-width: 768px) {
  /* Tablet: hide label, keep icon + number; clamp handles sizing */
  .phone-label { display: none; }
}

@media (max-width: 540px) {
  .phone-icon, .phone-label { display: none; }
  /* phone-number size handled by clamp() — no override needed */
}


/* --------------------------------------------------------------------------
   6. NAVIGATION BAR
   — Desktop: centered menu items
   — Mobile:  hamburger always flush LEFT, slide-in drawer
   -------------------------------------------------------------------------- */
#navbar {
  width: 100%;
  height: var(--nav-h);
  background: var(--slate);
  border-bottom: 2px solid var(--gold-rule);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 14px rgba(13,17,23,.35);
  /* Subpixel sharpening for the entire nav bar */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#navbar .container {
  display: flex;
  align-items: center;
  height: 100%;
  /* Hamburger sits at left edge; menu centered in remaining space */
  position: relative;
}

/* ── Hamburger — always left ── */
#hamburger-btn {
  display: none;             /* shown only on mobile via media query */
  flex-direction: column;
  justify-content: space-between;
  width: 26px; height: 18px;
  background: none; border: none;
  padding: 0;
  z-index: 1100;
  flex-shrink: 0;
  margin-right: 0;           /* anchored to left edge */
}

#hamburger-btn span {
  display: block;
  width: 100%; height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: var(--transition);
  transform-origin: center;
}

#hamburger-btn.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#hamburger-btn.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#hamburger-btn.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Nav Menu — CENTERED on desktop ── */
#nav-menu {
  display: flex;
  align-items: center;
  height: 100%;
  /* Take full width and use flex justify to center items */
  flex: 1;
  justify-content: center;
  gap: 0;
}

#nav-menu > li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

#nav-menu > li > a {
  display: flex; align-items: center; height: 100%;
  padding: 0 18px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  white-space: nowrap;
  position: relative;
  transition: color var(--transition);
  /* Text sharpening for white-on-dark nav */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

#nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 18px; right: 18px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

#nav-menu > li > a:hover,
#nav-menu > li:hover > a { color: var(--gold); }

#nav-menu > li > a:hover::after,
#nav-menu > li:hover > a::after { transform: scaleX(1); }

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  min-width: 210px;
  background: var(--ink-soft);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
  z-index: 1200;
}

#nav-menu > li:hover > .dropdown { display: block; }

.dropdown li a {
  display: block;
  padding: 10px 18px;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  border-left: 2px solid transparent;
  transition: all var(--transition);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.dropdown li a:hover {
  color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(200,165,90,.07);
  padding-left: 24px;
}

/* ── Responsive Nav ── */
@media (max-width: 1023px) {
  #hamburger-btn { display: flex; }

  #nav-menu {
    position: fixed;
    top: 0; left: -100%;     /* starts OFF-SCREEN to the LEFT */
    width: 290px; height: 100vh;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: calc(var(--header-h) + var(--nav-h) + 16px);
    overflow-y: auto;
    transition: left var(--transition);
    box-shadow: 6px 0 30px rgba(0,0,0,.4);
    border-right: 1px solid var(--gold-rule);
    z-index: 1050;
  }

  #nav-menu.is-open { left: 0; }   /* slides in from left */

  #nav-menu > li { width: 100%; height: auto; flex-direction: column; align-items: flex-start; }
  #nav-menu > li > a { width: 100%; height: auto; padding: 13px 26px; font-size: 0.85rem; border-bottom: 1px solid rgba(200,165,90,.1); }
  #nav-menu > li > a::after { display: none; }

  .dropdown {
    position: static;
    border-top: none;
    border-left: 2px solid var(--gold);
    margin-left: 26px; width: calc(100% - 26px);
    box-shadow: none; display: none;
  }
  .dropdown.is-open { display: block; }

  #nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 1040;
  }
  #nav-overlay.is-open { display: block; }
}


/* --------------------------------------------------------------------------
   7. HERO — DM Sans H1 + H2, dark architectural band
   -------------------------------------------------------------------------- */
#hero-section {
  background: var(--ink-soft);
  background-image:
    linear-gradient(rgba(200,165,90,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,165,90,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  padding: 62px 0 58px;
  border-bottom: 1px solid var(--gold-rule);
  overflow: hidden;
  position: relative;
}

#hero-section::before {
  content: 'AEC';
  position: absolute;
  right: -10px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: 18rem;
  font-weight: 700;
  color: rgba(200,165,90,.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -10px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: var(--size-label);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gold-rule);
}

/* H1 — DM Sans, clean corporate sans-serif */
#hero-section h1 {
  font-family: var(--font-heading);
  font-size: var(--size-h1);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  max-width: 860px;
  margin-bottom: 18px;
  letter-spacing: -0.8px;
  position: relative; z-index: 1;
}

/* H2 — Open Sans, lighter weight */
#hero-section h2 {
  font-family: var(--font-ui);
  font-size: 1.0rem;
  font-weight: 300;
  color: rgba(247,246,243,.58);
  line-height: 1.75;
  max-width: 680px;
  position: relative; z-index: 1;
}

@media (max-width: 768px) {
  #hero-section { padding: 44px 0 40px; }
  #hero-section h1 { font-size: 2rem; }
  #hero-section::before { display: none; }
}


/* --------------------------------------------------------------------------
   8. MAIN CONTENT
   -------------------------------------------------------------------------- */
#main-content { background: var(--bg); }


/* --------------------------------------------------------------------------
   9. FOUR-COLUMN CONVERSION SECTION
   Order (left → right): Lead Magnet · VSL (center) · Contact Form
   -------------------------------------------------------------------------- */
#conversion-section {
  padding: var(--section-v) 0;
  border-bottom: 1px solid var(--border);
}

/* Grid: 1fr (lead magnet) | 2fr (VSL) | 1fr (form) */
.conversion-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: var(--col-gap);
  align-items: start;
}

/* Shared panel card */
.panel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.panel-card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
}

.panel-header {
  padding: 15px var(--card-pad) 13px;
  border-bottom: 1px solid var(--border);
}

.panel-label {
  font-family: var(--font-ui);
  font-size: var(--size-label);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  display: block;
  margin-bottom: 3px;
}

.panel-title {
  font-family: var(--font-heading);
  font-size: 1.0rem;
  font-weight: 600;
  color: var(--text-primary);
}

.panel-body { padding: var(--card-pad); }


/* --------------------------------------------------------------------------
   9a. LEAD MAGNET — left-aligned, left column
   -------------------------------------------------------------------------- */
#lead-magnet-panel {}

.lead-magnet-visual {
  background: linear-gradient(135deg, var(--ink-soft) 0%, var(--slate) 100%);
  background-image:
    linear-gradient(rgba(200,165,90,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,165,90,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  padding: 22px 18px;
  text-align: left;       /* left-aligned per spec */
  min-height: 110px;
  position: relative;
  overflow: hidden;
}

.lead-magnet-visual::after {
  content: '';
  position: absolute;
  bottom: -16px; right: -16px;
  width: 64px; height: 64px;
  border: 1.5px solid var(--gold-rule);
  border-radius: 50%;
}

.guide-badge {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(200,165,90,.14);
  border: 1px solid var(--gold-rule);
  padding: 2px 9px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 9px;
}

.guide-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
}

.guide-subtitle {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  color: rgba(247,246,243,.4);
  margin-top: 6px;
}

.lead-magnet-body { padding: 16px 18px 18px; text-align: left; }

.lead-magnet-desc {
  font-family: var(--font-content);
  font-size: var(--size-col);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 11px;
  text-align: left;
}

.guide-bullets { margin-bottom: 14px; }

.guide-bullets li {
  font-family: var(--font-content);
  font-size: 12px;
  color: var(--text-secondary);
  padding: 3px 0 3px 14px;
  position: relative;
  line-height: 1.5;
  text-align: left;
}

.guide-bullets li::before { content: '›'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

.btn-outline-gold {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-gold);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  background: transparent;
  transition: all var(--transition);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow-gold);
}

.lead-magnet-divider {
  display: flex; align-items: center; gap: 8px;
  margin: 13px 0 11px;
}
.lead-magnet-divider span { flex: 1; height: 1px; background: var(--border); }
.lead-magnet-divider em {
  font-family: var(--font-ui);
  font-size: 0.62rem; font-style: normal; font-weight: 600;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px;
  white-space: nowrap;
}

.webinar-link-block {
  background: var(--surface-tinted);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  display: block;
  transition: background var(--transition), border-color var(--transition);
  text-align: left;
}

.webinar-link-block:hover { background: var(--gold-pale); border-left-color: var(--gold-bright); }

.webinar-tag {
  font-family: var(--font-ui); font-size: 0.68rem; font-weight: 700;
  color: var(--gold); text-transform: uppercase; letter-spacing: 1.5px;
  display: block; margin-bottom: 4px;
}

.webinar-title {
  font-family: var(--font-content); font-size: 12px; font-weight: 500;
  color: var(--text-primary); line-height: 1.4; display: block;
}
.webinar-link-block:hover .webinar-title { color: var(--text-gold); }

.webinar-seats {
  font-family: var(--font-ui); font-size: 0.68rem;
  color: var(--text-muted); margin-top: 4px; display: block;
}


/* --------------------------------------------------------------------------
   9b. VSL PANEL — centered column, with lightbox trigger
   -------------------------------------------------------------------------- */
#vsl-panel {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

#vsl-panel::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
}

/* Clickable thumbnail / preview area */
.vsl-thumb-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;  /* 16:9 */
  background: var(--ink);
  overflow: hidden;
  cursor: pointer;
}

/* Thumbnail image (optional — set src to a video poster) */
.vsl-thumb-wrap img.vsl-poster {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.vsl-thumb-wrap:hover img.vsl-poster { opacity: 0.75; }

/* Placeholder gradient when no poster is set */
.vsl-placeholder-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--ink) 0%, var(--slate) 100%);
  background-image:
    linear-gradient(rgba(200,165,90,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,165,90,.03) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* Centered play button overlay */
.vsl-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 2;
}

.play-ring {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(200,165,90,.5);
  background: rgba(13,17,23,.45);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
  backdrop-filter: blur(4px);
}

.vsl-thumb-wrap:hover .play-ring {
  border-color: var(--gold);
  background: rgba(13,17,23,.65);
  transform: scale(1.08);
}

.play-ring svg { width: 26px; height: 26px; fill: var(--gold); margin-left: 4px; }

.vsl-click-label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(247,246,243,.5);
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color var(--transition);
}
.vsl-thumb-wrap:hover .vsl-click-label { color: rgba(247,246,243,.8); }

/* Caption bar below thumbnail */
.vsl-caption-bar {
  padding: 15px 20px;
  display: flex; align-items: flex-start; gap: 12px;
  border-top: 1px solid var(--border);
}

.vsl-caption-icon {
  width: 32px; height: 32px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.vsl-caption-icon svg { width: 14px; height: 14px; fill: var(--text-gold); }

.vsl-caption-text {
  font-family: var(--font-content);
  font-size: var(--size-col);
  color: var(--text-secondary);
  line-height: 1.6;
}
.vsl-caption-text strong {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}


/* --------------------------------------------------------------------------
   9c. CONTACT FORM — right column, right-aligned
   -------------------------------------------------------------------------- */
#contact-form-panel { text-align: left; }

.form-group { margin-bottom: 12px; }

.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-content);
  font-size: var(--size-col);
  color: var(--text-primary);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,165,90,.13);
}

.form-group textarea { resize: vertical; min-height: 62px; line-height: 1.5; }

.btn-gold {
  display: flex; align-items: center; justify-content: center;
  width: 100%; gap: 7px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  padding: 11px 18px;
  border: none;
  border-radius: var(--radius-sm);
  margin-top: 6px;
  transition: background var(--transition), transform 0.12s ease, box-shadow var(--transition);
}
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.btn-gold:active { transform: translateY(0); }

.form-privacy {
  font-family: var(--font-content); font-size: 0.68rem;
  color: var(--text-muted); text-align: center;
  margin-top: 9px; line-height: 1.4;
}

/* Responsive conversion grid */
@media (max-width: 1100px) {
  .conversion-grid {
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto;
  }
  #lead-magnet-panel  { grid-column: 1; grid-row: 1; }
  #contact-form-panel { grid-column: 1; grid-row: 2; }
  #vsl-panel          { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 768px) {
  .conversion-grid { grid-template-columns: 1fr; }
  #lead-magnet-panel, #contact-form-panel, #vsl-panel { grid-column: 1; grid-row: auto; }
}


/* --------------------------------------------------------------------------
   10. VIDEO LIGHTBOX — full-page overlay with max-width video + close btn
   -------------------------------------------------------------------------- */
#video-lightbox {
  display: none;             /* hidden by default */
  position: fixed;
  inset: 0;
  background: rgba(8,12,16,.92);
  backdrop-filter: blur(6px);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#video-lightbox.is-open {
  display: flex;
}

/* Inner wrapper that holds the video */
.lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 1100px;         /* maximum page-width video */
}

/* 16:9 container */
.lightbox-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}

.lightbox-video-wrap iframe,
.lightbox-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ── Close button ── */
#lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px; height: 36px;
  background: rgba(200,165,90,.15);
  border: 1.5px solid var(--gold-rule);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1;
  transition: background var(--transition), transform var(--transition);
}

#lightbox-close:hover {
  background: var(--gold);
  color: var(--ink);
  transform: rotate(90deg);
}

#lightbox-close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }


/* --------------------------------------------------------------------------
   11. COURSES SECTION — centered, stacked course cards with accordion
   -------------------------------------------------------------------------- */
#courses-section {
  padding: var(--section-v) 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.courses-header {
  text-align: center;
  margin-bottom: 40px;
}

.courses-eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: var(--size-label);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gold-rule);
}

.courses-header h2 {
  font-family: var(--font-heading);
  font-size: 2.0rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.courses-header p {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Course grid — centered, max-width constrained */
.courses-grid {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 1023px) { .courses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .courses-grid { grid-template-columns: 1fr; } }

/* Individual course card */
.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.course-card:hover {
  border-color: var(--gold-rule);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Top accent color bar — gold for all, can be per-category */
.course-card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
}

/* Course card header */
.course-card-header {
  padding: 16px 18px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.course-card-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.1px;
  line-height: 1.3;
  flex: 1;
}

/* Category badge on the card header */
.course-badge {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 2px 7px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-autocad { background: rgba(200,165,90,.12); color: var(--text-gold); border: 1px solid rgba(200,165,90,.3); }
.badge-revit   { background: rgba(46,63,82,.1);    color: var(--slate);      border: 1px solid rgba(46,63,82,.25); }
.badge-max     { background: rgba(100,60,20,.08);  color: #7a4a18;           border: 1px solid rgba(100,60,20,.2); }
.badge-autodesk{ background: rgba(20,50,100,.08);  color: #1a3266;           border: 1px solid rgba(20,50,100,.2); }
.badge-ai      { background: rgba(30,80,60,.08);   color: #1a5040;           border: 1px solid rgba(30,80,60,.2); }

/* ── Expandable accordion row inside each course card ── */
.course-expand-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 12px;
  background: none;
  border: none;
  border-top: 1px solid var(--border);
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
}

.course-expand-trigger:hover { background: var(--surface-tinted); }

/* Cross / plus mark icon */
.expand-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  border: 1.5px solid var(--gold);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: transform var(--transition), background var(--transition), color var(--transition);
  background: transparent;
}

.expand-icon svg {
  width: 10px; height: 10px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform var(--transition);
}

/* When open: rotate + to × */
.course-card.is-open .expand-icon {
  background: var(--gold);
  color: var(--ink);
}

.course-card.is-open .expand-icon svg {
  transform: rotate(45deg);
}

.expand-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: color var(--transition);
}

.course-expand-trigger:hover .expand-label,
.course-card.is-open .expand-label { color: var(--text-gold); }

/* Accordion body — hidden by default */
.course-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1), padding 0.28s ease;
  padding: 0 18px;
}
/* Course body open state */
.course-body.is-open {
  max-height: 600px;          /* large enough for any card content */
  padding: 16px 18px 20px;
}

/* Trigger: open state — rotate icon to X, change label */
.course-expand-trigger[aria-expanded="true"] .expand-icon {
  transform: rotate(45deg);   /* + becomes × */
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.course-expand-trigger[aria-expanded="true"] .expand-label {
  color: var(--gold);
}

.course-expand-trigger[aria-expanded="true"] {
  background: rgba(200,165,90,.06);
}

/* Trigger hover */
.course-expand-trigger:hover {
  background: rgba(200,165,90,.04);
}
.course-expand-trigger:hover .expand-label {
  color: var(--gold);
}


.course-card.is-open .course-body {
  max-height: 600px;
  padding: 14px 18px 18px;
}

.course-body-inner {
  font-family: var(--font-content);
  font-size: var(--size-col);
  color: var(--text-secondary);
  line-height: 1.65;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.course-body-inner h4 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.course-body-inner ul { padding-left: 0; }
.course-body-inner ul li {
  padding: 4px 0 4px 16px;
  position: relative;
  font-size: 13px;
  color: var(--text-secondary);
}

.course-body-inner ul li::before {
  content: '›';
  position: absolute; left: 0;
  color: var(--gold);
  font-weight: 700;
}

.course-body-inner .cta-row {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-course {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.btn-course-primary {
  background: var(--gold);
  color: var(--ink);
  border: none;
}
.btn-course-primary:hover { background: var(--gold-bright); color: var(--ink); }

.btn-course-ghost {
  background: transparent;
  color: var(--text-gold);
  border: 1.5px solid var(--gold);
}
.btn-course-ghost:hover { background: var(--gold); color: var(--ink); }


/* --------------------------------------------------------------------------
   12. CONTENT STACK — 5 rows × 4 editable columns
   -------------------------------------------------------------------------- */
#content-stack {
  max-width: 1340px;
  margin: 0 auto;
  padding: var(--section-v) 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stack-header {
  display: flex; align-items: baseline; gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.stack-header h3 {
  font-family: var(--font-heading);
  font-size: 1.55rem; font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.stack-label {
  font-family: var(--font-ui);
  font-size: var(--size-label);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.content-row {
  display: flex; flex-wrap: wrap;
  gap: var(--col-gap);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px; position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.content-row:hover { border-color: var(--border-dark); box-shadow: var(--shadow-sm); }

.content-row::before {
  content: attr(data-row-label);
  position: absolute; top: -10px; left: 14px;
  background: var(--slate);
  color: rgba(247,246,243,.7);
  font-family: var(--font-ui); font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 2px 8px; border-radius: 2px; opacity: 0;
}

.col {
  flex: 1 1 calc(25% - var(--col-gap) * 3 / 4);
  min-width: 180px;
  font-family: var(--font-content); font-size: var(--size-col);
  color: var(--text-primary); text-align: left;
  line-height: 1.65; padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-tinted);
  border: 1px dashed transparent;
  transition: border-color var(--transition);
}
.col:hover { border-color: var(--border); }

.col h3 {
  font-family: var(--font-heading); font-size: 1rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: 7px; padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.col p, .placeholder-text {
  font-family: var(--font-content); font-size: var(--size-col);
  color: var(--text-muted); text-align: left;
}

@media (max-width: 1023px) { .col { flex: 1 1 calc(50% - var(--col-gap) / 2); } }
@media (max-width: 580px)  { .col { flex: 0 0 100%; } }


/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
#footer {
  background: #0f1f38;   /* matches header — dark navy, unified brand bar */
  background-image:
    linear-gradient(rgba(200,165,90,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,165,90,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  border-top: 1px solid var(--gold-rule);
  padding: 52px 0 0;
}

.footer-cols { display: flex; flex-wrap: wrap; gap: var(--col-gap); padding-bottom: 40px; }

.footer-col { flex: 1 1 calc(25% - var(--col-gap) * 3 / 4); min-width: 200px; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: var(--size-label); font-weight: 700;
  color: var(--gold); text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 14px; padding-bottom: 9px;
  border-bottom: 1px solid var(--gold-rule);
}

.footer-col p, .footer-col ul li {
  font-family: var(--font-content); font-size: var(--size-col);
  color: rgba(247,246,243,.82); line-height: 1.7; margin-bottom: 5px;
}

.footer-col ul li a {
  color: rgba(247,246,243,.82);
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}
.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(200,165,90,.1);
  padding: 16px 0;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center; gap: 8px;
}
.footer-bottom p { font-family: var(--font-ui); font-size: 0.72rem; color: rgba(247,246,243,.75); }
.footer-bottom a {
  color: rgba(247,246,243,.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom a:hover { color: var(--gold); }

@media (max-width: 1023px) { .footer-col { flex: 1 1 calc(50% - var(--col-gap) / 2); } }
@media (max-width: 580px)  { .footer-col { flex: 0 0 100%; } }


/* --------------------------------------------------------------------------
   14. UTILITIES
   -------------------------------------------------------------------------- */
.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-8  { margin-top:     8px; } .mt-16 { margin-top:    16px; } .mt-24 { margin-top:    24px; }
.mb-8  { margin-bottom:  8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }


/* --------------------------------------------------------------------------
   15. PAGE ENTRY ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
#hero-section       { animation: fadeUp 0.55s ease 0.05s both; }
#conversion-section { animation: fadeUp 0.55s ease 0.18s both; }
#courses-section    { animation: fadeUp 0.55s ease 0.28s both; }
#content-stack      { animation: fadeUp 0.55s ease 0.38s both; }


/* --------------------------------------------------------------------------
   16. PRINT
   -------------------------------------------------------------------------- */
@media print {
  #navbar, #hamburger-btn, #nav-overlay, #video-lightbox { display: none !important; }
  #header { background: #fff; }
  .course-body { max-height: none !important; padding: 14px 18px 18px !important; }
}

/* ==========================================================================
   END main.css v3
   ========================================================================== */


/* ==========================================================================
   INNER PAGE STYLES — appended for child pages
   ========================================================================== */

/* ── Page Hero (inner pages — lighter than homepage dark hero) ── */
#page-hero {
  background: var(--ink-soft);
  background-image:
    linear-gradient(rgba(200,165,90,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,165,90,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  padding: 52px 0 48px;
  border-bottom: 1px solid var(--gold-rule);
}

#page-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.18;
  max-width: 800px;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

#page-hero h2 {
  font-family: var(--font-ui);
  font-size: 0.97rem;
  font-weight: 300;
  color: rgba(247,246,243,.58);
  max-width: 660px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  #page-hero h1 { font-size: 1.6rem; }
}

/* ── Breadcrumb ── */
.breadcrumb {
  padding: 10px 0;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-secondary); font-weight: 600; }
.breadcrumb-sep { margin: 0 6px; color: var(--border-dark); }

/* ── Inner page content wrapper ── */
.page-body {
  max-width: 1340px;
  margin: 0 auto;
  padding: var(--section-v) 28px;
}

@media (max-width: 768px) { .page-body { padding: 32px 16px; } }

/* ── Section heading used across inner pages ── */
.section-heading {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.section-heading .eyebrow {
  font-family: var(--font-ui);
  font-size: var(--size-label);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 8px;
}

.section-heading h2 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.section-heading p {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 640px;
  line-height: 1.65;
}

/* ── Prose body text (for info, about sections) ── */
.prose {
  font-family: var(--font-content);
  font-size: var(--size-col);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 800px;
}

.prose h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 22px 0 8px;
}

.prose p { margin-bottom: 14px; }

.prose ul {
  list-style: none;
  margin-bottom: 14px;
}

.prose ul li {
  padding: 4px 0 4px 16px;
  position: relative;
}

.prose ul li::before {
  content: '›';
  position: absolute; left: 0;
  color: var(--gold); font-weight: 700;
}

/* ── Info/stat cards (certifications, locations) ── */
.info-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 22px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
  position: absolute; top: 0; left: 0; right: 0;
}

.info-card:hover {
  border-color: var(--gold-rule);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.info-card-icon {
  width: 38px; height: 38px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}

.info-card-icon svg { width: 18px; height: 18px; fill: var(--text-gold); }

.info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.info-card p {
  font-family: var(--font-content);
  font-size: var(--size-col);
  color: var(--text-secondary);
  line-height: 1.6;
}

.info-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 12px;
  transition: gap var(--transition);
}

.info-card .card-link:hover { gap: 8px; }

/* ── Contact page two-column layout ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ── Courses page — course link list ── */
.course-list-section {
  margin-bottom: 48px;
}

.course-list-section h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.2px;
  margin-bottom: 4px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-rule);
  display: flex;
  align-items: center;
  gap: 10px;
}

.course-list-section h3 .cat-badge {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 2px 8px;
  border-radius: 2px;
  vertical-align: middle;
}

.course-link-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--col-gap);
  margin-top: 14px;
}

.course-link-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.course-link-card::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  position: absolute; top: 0; left: 0; right: 0;
}

.course-link-card:hover {
  border-color: var(--gold-rule);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.course-link-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.course-link-card p {
  font-family: var(--font-content);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.course-link-card .go-link {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.course-link-card:hover .go-link { gap: 7px; }

/* ── Individual course page layout ── */
.course-page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .course-page-layout { grid-template-columns: 1fr; }
}

/* Course description block */
.course-description {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.course-description h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.2px;
}

.course-description p {
  font-family: var(--font-content);
  font-size: var(--size-col);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}

/* Course detail list (duration, level, format) */
.course-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.course-meta-pill {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface-tinted);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.course-meta-pill svg { width: 11px; height: 11px; fill: var(--gold); }

/* Accordion — course contents — same pattern as homepage */
.contents-accordion {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.contents-accordion::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}

.accordion-trigger:hover { background: var(--surface-tinted); }

.accordion-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  border: 1.5px solid var(--gold);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.accordion-icon svg { width: 11px; height: 11px; stroke: currentColor; stroke-width: 2; fill: none; }

.contents-accordion.is-open .accordion-icon {
  background: var(--gold);
  color: var(--ink);
}

.contents-accordion.is-open .accordion-icon svg { transform: rotate(45deg); }

.accordion-label {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.contents-accordion.is-open .accordion-label { color: var(--text-gold); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1);
}

.contents-accordion.is-open .accordion-body { max-height: 1000px; }

.accordion-body-inner {
  padding: 4px 20px 20px;
  border-top: 1px solid var(--border);
}

.accordion-body-inner ul { margin-top: 8px; }

.accordion-body-inner ul li {
  font-family: var(--font-content);
  font-size: var(--size-col);
  color: var(--text-secondary);
  padding: 5px 0 5px 16px;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px solid rgba(0,0,0,.04);
}

.accordion-body-inner ul li:last-child { border-bottom: none; }

.accordion-body-inner ul li::before {
  content: '›';
  position: absolute; left: 0;
  color: var(--gold); font-weight: 700;
}

/* Course sidebar (enroll CTA, schedule, instructor) */
.course-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.sidebar-card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
}

.sidebar-card-body {
  padding: 20px;
}

.sidebar-card-body h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.sidebar-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-content);
  font-size: var(--size-col);
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px dotted var(--border);
}

.sidebar-line:last-of-type { border-bottom: none; }

.sidebar-line strong {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 13px;
}

.price-tag {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin: 12px 0 4px;
  display: block;
}

.price-note {
  font-family: var(--font-content);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: block;
}

/* Locations page map placeholder */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.location-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.location-card:hover {
  border-color: var(--gold-rule);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.location-card-map {
  height: 140px;
  background: linear-gradient(135deg, var(--ink-soft), var(--slate));
  background-image:
    linear-gradient(rgba(200,165,90,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,165,90,.04) 1px, transparent 1px);
  background-size: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-card-map svg { width: 32px; height: 32px; fill: rgba(200,165,90,.5); }

.location-card-body { padding: 18px 18px 16px; }

.location-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.location-card-body p {
  font-family: var(--font-content);
  font-size: var(--size-col);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Group classes schedule table */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-content);
  font-size: var(--size-col);
  margin-top: 20px;
}

.schedule-table th {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  background: var(--ink-soft);
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid var(--gold-rule);
}

.schedule-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}

.schedule-table tr:hover td {
  background: var(--surface-tinted);
}

.schedule-table tr:last-child td { border-bottom: none; }

/* Back link used on course-detail pages */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  transition: color var(--transition);
}

.back-link:hover { color: var(--gold); }
.back-link svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2; fill: none; }


/* ==========================================================================
   TRUST BELT — Continuously scrolling client logo strip
   ========================================================================== */

#trust-belt {
  background-color: var(--ink-soft);
  border-top: 1px solid var(--gold-rule);
  border-bottom: 1px solid var(--gold-rule);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
}

/* Section label above the scroll track */


/* The scrolling track wrapper — clips overflow */


/* Fade masks — left and right edges fade out gracefully */
.trust-belt-track-wrap::before,
.trust-belt-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.trust-belt-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--ink-soft), transparent);
}

.trust-belt-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--ink-soft), transparent);
}

/* The moving strip — duplicated so it loops seamlessly */


/* Pause on hover */
.trust-belt-track:hover {
  animation-play-state: paused;
}


  to   { transform: translateX(-50%); }
}

/* Each logo cell */


/* Vertical divider between logos */
.trust-logo + .trust-logo::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(200,165,90,0.18);
}

/* Logo SVG/text treatment — white/gray on dark background */


.trust-logo-inner:hover {
  color: var(--gold);
}

/* Small decorative mark before each logo name */



/* ==========================================================================
   TESTIMONIALS — 4 per row, 2 rows = 8 total
   ========================================================================== */

#testimonials-section {
  background: var(--bg);
  padding: var(--section-v) 0;
  border-bottom: 1px solid var(--border);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 36px;
}

.testimonials-header .eyebrow {
  font-family: var(--font-ui);
  font-size: var(--size-label);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 10px;
}

.testimonials-header h2 {
  font-family: var(--font-heading);
  font-size: 2.0rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

.testimonials-header p {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}

/* 4-column grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1100px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* Individual testimonial card */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.testimonial-card:hover {
  border-color: var(--gold-rule);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Gold top accent */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
}

/* Opening quote mark — decorative */
.testimonial-card::after {
  content: '\201C';
  position: absolute;
  top: 8px;
  right: 14px;
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(200,165,90,0.08);
  pointer-events: none;
  user-select: none;
}

/* Star rating row */
.testimonial-stars {
  display: flex;
  gap: 3px;
}

.testimonial-stars svg {
  width: 13px;
  height: 13px;
  fill: var(--gold);
}

/* Quote text */
.testimonial-quote {
  font-family: var(--font-content);
  font-size: 0.88rem;  /* 14px — testimonials must be readable */
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

/* Author row */
.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* Avatar — initials circle */
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink-soft), var(--slate));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  border: 1.5px solid var(--gold-rule);
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.testimonial-title-tag {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* Course tag chip */
.testimonial-course-tag {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--surface-tinted);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 20px;
  align-self: flex-start;
  margin-top: -4px;
}


/* ==========================================================================
   LOGO — PRO Trainers IT refined header treatment
   ========================================================================== */

/* "PRO" word in gold to create brand mark */
.logo-text-pro {
  color: var(--gold);
  font-weight: 700;
}

/* Ensure full company name fits on one line with slightly tighter tracking */
.logo-text {
  letter-spacing: 1.2px;
  font-size: 1.3rem;   /* slightly smaller to fit longer name */
  white-space: nowrap;
}

/* Tagline — allow wrapping for longer tagline */
.logo-tagline {
  font-size: 0.58rem;
  letter-spacing: 2px;
  white-space: nowrap;
}

/* Phone label — white, bold, matches phone number width */
/* Override to guarantee width alignment */
#phone-section .phone-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}

/* Phone number — gold, bold, prominent */
#phone-section .phone-number {
  font-size: clamp(0.9rem, 2.0vw, 1.05rem);
  font-weight: 800;
  color: #c8a55a !important;  /* gold — bold and clearly visible */
  letter-spacing: 0.5px;
  line-height: 1.1;
  white-space: nowrap;
}

/* Navigation overrides — guaranteed white bold */
#nav-menu > li > a {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.8px;
}

.dropdown li a {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

/* Hero H2 — bolder subtitle */
#hero-section h2 {
  font-weight: 600;
  color: rgba(247,246,243,.92);
  font-size: 1.05rem;
  line-height: 1.75;
}


/* ==========================================================================
   SEARCH BAR — header trigger button + modal overlay
   ========================================================================== */

/* ── Header right group (search + phone) ── */
.header-right {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 20px);   /* responsive gap — tighter on mobile */
  padding-right: clamp(8px, 2vw, 20px);  /* prevents phone number from hitting edge */
  flex-shrink: 0;
}

/* ── Search trigger button in header ── */
/* #search-trigger replaced by #search-btn in header top bar */

#search-trigger:hover {
  background: rgba(200,165,90,0.22);
  border-color: var(--gold);
  color: var(--gold-bright);
}

#search-trigger svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

#search-trigger span {
  display: inline-block;
}

@media (max-width: 600px) {
  #search-trigger span { display: none; }
  
}

/* ── Search Modal Overlay ── */
#search-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,12,18,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9500;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 20px;
}

#search-modal.is-open {
  display: flex;
}

/* Modal inner card */
.search-modal-inner {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
  width: 100%;
  max-width: 680px;
  overflow: hidden;
  border: 1px solid var(--border);
  animation: searchSlideIn 0.22s cubic-bezier(0.4,0,0.2,1) both;
}

@keyframes searchSlideIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

/* ── Search input row ── */
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.search-icon {
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

#search-input {
  flex: 1;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  background: transparent;
  border: none;
  outline: none;
  caret-color: var(--gold);
  min-width: 0;
}

#search-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

#search-close {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: var(--surface-tinted);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

#search-close:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  transform: rotate(90deg);
}

#search-close svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ── Results area ── */
#search-results-wrap {
  max-height: 480px;
  overflow-y: auto;
  padding: 8px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

#search-results-wrap::-webkit-scrollbar {
  width: 5px;
}

#search-results-wrap::-webkit-scrollbar-track {
  background: transparent;
}

#search-results-wrap::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

/* ── Result group label ── */
.search-result-group-label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 12px 20px 5px;
  pointer-events: none;
  user-select: none;
}

/* ── Individual result item ── */
.search-result-item a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  transition: background var(--transition);
  border-radius: 0;
  outline: none;
}

.search-result-item a:hover,
.search-result-item a:focus {
  background: var(--surface-tinted);
  outline: none;
}

.search-result-item a:focus {
  box-shadow: inset 3px 0 0 var(--gold);
}

.sr-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.sr-excerpt {
  display: block;
  font-family: var(--font-content);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Highlight matched keywords */
.sr-excerpt mark,
.sr-title mark {
  background: rgba(200,165,90,0.25);
  color: var(--text-gold);
  border-radius: 2px;
  padding: 0 2px;
}

/* ── Empty state ── */
#search-empty {
  padding: 20px 20px 14px;
  font-family: var(--font-content);
  font-size: var(--size-col);
  color: var(--text-muted);
  text-align: center;
}

/* ── Search hints ── */
.search-hints {
  padding: 14px 20px 16px;
}

.search-hints p {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.search-hints a {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface-tinted);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
  margin: 2px 3px;
  transition: all var(--transition);
  text-decoration: none;
}

.search-hints a:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* ── Keyboard shortcut hint in header ── */
.search-kbd {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  padding: 1px 5px;
  letter-spacing: 0;
}


/* ==========================================================================
   COURSE SCHEDULE + REGISTRATION — sidebar & schedule blocks
   ========================================================================== */

/* Two-column course detail page with wider main and sticky sidebar */
.course-page-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

@media (max-width: 920px) {
  .course-page-layout { grid-template-columns: 1fr; }
}

/* Schedule block — each upcoming class date */
.schedule-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 0;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.schedule-block:hover {
  border-color: var(--gold-rule);
  box-shadow: var(--shadow-md);
}

.schedule-block::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
}

.schedule-block-header {
  background: var(--ink-soft);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.schedule-number {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.schedule-seats {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(247,246,243,.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.schedule-block-body {
  padding: 18px 20px 20px;
}

.schedule-course-name {
  font-family: var(--font-heading);
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.schedule-dates-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.schedule-date-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.schedule-date-label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.schedule-date-value {
  font-family: var(--font-heading);
  font-size: 1.0rem;
  font-weight: 600;
  color: var(--text-primary);
}

.schedule-time-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.schedule-time-pill {
  font-family: var(--font-content);
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--surface-tinted);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.schedule-time-pill svg {
  width: 11px; height: 11px;
  fill: var(--gold); flex-shrink: 0;
}

/* Register CTA inside each schedule block */
.btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  padding: 12px 22px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), transform 0.12s ease, box-shadow var(--transition);
  width: 100%;
}

.btn-register:hover {
  background: var(--gold-bright);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.btn-register svg { width:14px; height:14px; fill:var(--ink); flex-shrink:0; }

/* Schedule divider */
.schedule-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 28px 0;
}

/* Stack of schedule blocks with generous vertical spacing */
.schedules-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.schedules-stack > * + * {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

/* Enroll now button in course description body */
.btn-enroll-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  margin-top: 18px;
  transition: background var(--transition), transform 0.12s ease, box-shadow var(--transition);
}

.btn-enroll-inline:hover {
  background: var(--gold-bright);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* Cart badge on go-to-cart button */
.cart-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  background: var(--ink);
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 9px;
  padding: 0 5px;
}

/* ==========================================================================
   SHOPPING CART — floating cart icon + cart sidebar
   ========================================================================== */

/* Floating cart button (fixed bottom-right) */
#cart-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 8000;
  display: none; /* shown by JS when cart has items */
}

#cart-float-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 20px;
  border: 2px solid var(--gold-rule);
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

#cart-float-btn:hover {
  border-color: var(--gold);
  background: var(--ink-soft);
  transform: translateY(-2px);
}

#cart-float-btn svg {
  width: 18px; height: 18px;
  stroke: var(--gold); stroke-width: 2;
  fill: none;
}

/* ==========================================================================
   CHECKOUT / PAYMENT PAGE
   ========================================================================== */

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 960px) {
  .checkout-layout { grid-template-columns: 1fr; }
}

/* Order summary panel */
.order-summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.order-summary-card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
}

.order-summary-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-summary-header h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
}

.order-item:last-of-type { border-bottom: none; }

.order-item-info { flex: 1; }

.order-item-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

.order-item-date {
  font-family: var(--font-content);
  font-size: 11px;
  color: var(--text-muted);
}

.order-item-price {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.order-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 4px;
  transition: color var(--transition);
}

.order-item-remove:hover { color: #c0392b; }

.order-totals {
  padding: 14px 22px;
  background: var(--surface-tinted);
  border-top: 1px solid var(--border);
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-family: var(--font-content);
  font-size: var(--size-col);
  color: var(--text-secondary);
}

.order-total-row.grand-total {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid var(--border);
}

/* Payment form */
.payment-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.payment-form-card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
}

.payment-form-body { padding: 28px; }

.payment-section-label {
  font-family: var(--font-ui);
  font-size: var(--size-label);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin: 22px 0 12px;
}

.payment-section-label:first-child { margin-top: 0; }

.cc-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--col-gap); }
.cc-row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--col-gap); }

@media (max-width: 560px) {
  .cc-row, .cc-row-3 { grid-template-columns: 1fr; }
}

/* Card number field with card type icon area */
.cc-number-wrap {
  position: relative;
}

.cc-number-wrap input {
  padding-right: 56px;
}

.cc-card-icons {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 4px;
}

.cc-card-icon {
  width: 30px;
  height: 20px;
  background: var(--surface-tinted);
  border: 1px solid var(--border);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Terms checkbox & text */
.terms-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  padding: 16px;
  background: var(--surface-tinted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.terms-checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold);
}

.terms-checkbox-row label {
  font-family: var(--font-content);
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.55;
  cursor: pointer;
}

.terms-checkbox-row label a { color: var(--gold); }

/* Terms & conditions box on payment page */
.terms-box {
  background: var(--surface-tinted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 0;
}

.terms-box h3 {
  font-family: var(--font-heading);
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.terms-box h4 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 18px 0 6px;
}

.terms-box p, .terms-box li {
  font-family: var(--font-content);
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 6px;
}

.terms-box ul { list-style: disc; padding-left: 18px; }

/* Captcha checkbox */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-tinted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
  cursor: pointer;
  user-select: none;
}

.captcha-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--gold);
  cursor: pointer;
}

.captcha-text {
  font-family: var(--font-content);
  font-size: var(--size-col);
  color: var(--text-secondary);
  font-weight: 500;
}

.captcha-provider-note {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  color: var(--text-muted);
  text-align: right;
  margin-left: auto;
  flex-shrink: 0;
}

/* Secure badge strip */
.secure-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 0 0;
}

.secure-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.secure-badge svg {
  width: 13px; height: 13px;
  fill: var(--text-muted);
}

/* Legal pages prose */
.legal-prose {
  font-family: var(--font-content);
  font-size: var(--size-col);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 860px;
}

.legal-prose h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.2px;
}

.legal-prose h3 {
  font-family: var(--font-heading);
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 22px 0 8px;
}

.legal-prose p { margin-bottom: 14px; }

.legal-prose ul, .legal-prose ol {
  padding-left: 22px;
  margin-bottom: 14px;
}

.legal-prose li { margin-bottom: 6px; }

.legal-prose .highlight-box {
  background: var(--surface-tinted);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 20px 0;
}

.legal-prose .highlight-box p { margin-bottom: 0; }

/* Payment method badges on payment page */
.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.payment-badge {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 3px;
  background: var(--surface-tinted);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}


/* ==========================================================================
   HERO CAROUSEL — Full-width, 33vh height, split left/right per slide
   ========================================================================== */

#hero-carousel {
  width: 100%;
  height: 33.33vh;
  min-height: 280px;
  max-height: 520px;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

/* ── Track holds all slides side-by-side ── */
.carousel-track {
  display: flex;
  height: 100%;
  width: 500%;            /* 5 slides × 100% */
  transition: transform 0.65s cubic-bezier(0.77,0,0.175,1);
  /* Width overridden by inline style for 5 slides */
  will-change: transform;
}

/* ── Individual slide ── */
.carousel-slide {
  width: 20%;             /* 1/5 of track = 1 full viewport */
  height: 100%;
  display: flex;
  flex-shrink: 0;
  overflow: hidden;
}

/* ── Left half: photo ── */
.slide-photo {
  width: 50%;
  height: 100%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.slide-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(0.82) saturate(0.9);
  transition: transform 6s ease, filter 0.65s ease;
}

/* Ken Burns subtle zoom on active slide */
.carousel-slide.is-active .slide-photo img {
  transform: scale(1.06);
  filter: brightness(0.88) saturate(1.0);
}

/* Gradient overlay fading photo into the right content panel */
.slide-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13,17,23,0) 55%,
    rgba(13,17,23,0.92) 100%
  );
  pointer-events: none;
}

/* ── Right half: editable text content ── */
.slide-content {
  width: 50%;
  height: 100%;
  background: var(--ink-soft);
  background-image:
    linear-gradient(rgba(200,165,90,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,165,90,.03) 1px, transparent 1px);
  background-size: 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px 0 36px;
  position: relative;
  overflow: hidden;
}

/* Decorative vertical gold rule on the left edge of content panel */
.slide-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

/* Slide eyebrow label */
.slide-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.3s, transform 0.4s ease 0.3s;
}

/* Slide headline — ~24pt */
.slide-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);  /* ~24pt at standard viewport */
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease 0.42s, transform 0.4s ease 0.42s;
}

/* Slide subtitle — ~18pt */
.slide-subtitle {
  font-family: var(--font-ui);
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);  /* ~18pt */
  font-weight: 600;
  color: rgba(247,246,243,.78);
  line-height: 1.4;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease 0.52s, transform 0.4s ease 0.52s;
}

/* Slide body text — 12–14pt */
.slide-body {
  font-family: var(--font-content);
  font-size: clamp(0.72rem, 1.0vw, 0.875rem);  /* 12–14pt */
  color: rgba(247,246,243,.55);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease 0.60s, transform 0.4s ease 0.60s;
}

/* Learn More button */
.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  align-self: flex-start;
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s ease 0.70s,
    transform 0.4s ease 0.70s,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.slide-btn:hover {
  background: var(--gold-bright);
  color: var(--ink);
  box-shadow: var(--shadow-gold);
}

.slide-btn svg {
  width: 12px; height: 12px;
  fill: var(--ink); flex-shrink: 0;
  stroke: none;
}

/* Animate text in when slide is active */
.carousel-slide.is-active .slide-eyebrow,
.carousel-slide.is-active .slide-headline,
.carousel-slide.is-active .slide-subtitle,
.carousel-slide.is-active .slide-body,
.carousel-slide.is-active .slide-btn {
  opacity: 1;
  transform: translateY(0);
}

/* ── Navigation dots ── */
.carousel-dots {
  position: absolute;
  bottom: 14px;
  right: 22px;
  display: flex;
  gap: 8px;
  z-index: 20;
}

.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(247,246,243,.3);
  border: 1px solid rgba(200,165,90,.3);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
  padding: 0;
}

.carousel-dot.is-active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.3);
}

/* ── Prev / Next arrow buttons ── */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 36px; height: 36px;
  background: rgba(13,17,23,.55);
  border: 1px solid rgba(200,165,90,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.carousel-arrow:hover {
  background: rgba(200,165,90,.2);
  border-color: var(--gold);
}

.carousel-arrow svg {
  width: 16px; height: 16px;
  stroke: var(--gold);
  stroke-width: 2;
  fill: none;
}

.carousel-arrow.prev { left: 14px; }
.carousel-arrow.next { right: 14px; }

/* ── Slide counter ── */
.carousel-counter {
  position: absolute;
  bottom: 14px;
  left: 18px;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(247,246,243,.4);
  letter-spacing: 2px;
  z-index: 20;
}

/* ── Progress bar ── */
.carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gold);
  z-index: 20;
  transition: width 0.1s linear;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  #hero-carousel {
    height: 50vh;
    min-height: 320px;
    max-height: 600px;
  }
  .carousel-track { width: 500%; }  /* 5 slides — always 500% */
  /* slide-content keeps desktop padding on tablet */
}

@media (max-width: 640px) {
  /* Stack photo on top, content below on mobile */
  .carousel-slide { flex-direction: column; }
  .slide-photo    { width: 100%; height: 45%; }
  .slide-photo::after {
    background: linear-gradient(to bottom, transparent 50%, rgba(13,17,23,0.95) 100%);
  }
  .slide-content  { width: 100%; height: 55%; padding: 14px 18px; }
  .slide-content::before { display: none; }
  #hero-carousel {
    height: 60vh;
    min-height: 380px;
    max-height: 680px;
  }
  .carousel-arrow { display: none; }
}


/* ==========================================================================
   INDEX PAGE — REDESIGNED SECTIONS v4
   ========================================================================== */

/* ── 1. HERO AREA — 35vh, split 55% / 45% ── */
#hero-area {
  display: grid;
  grid-template-columns: 65fr 35fr;   /* 65% carousel / 35% right panels */
  gap: 0;
  height: 35vh;
  min-height: 320px;
  max-height: 560px;
  background: var(--ink-soft);
  overflow: hidden;
}

/* Left: carousel stays, fill full height */
#hero-area .hero-left {
  height: 100%;
  overflow: hidden;
}

/* #hero-carousel inside hero-left fills its parent */
#hero-area #hero-carousel {
  height: 100%;
  min-height: unset;
  max-height: unset;
}

/* Right: two stacked rectangles */


.hero-right-top,
/* [removed duplicate .hero-right-bottom base rule] */

/* [removed stray margin-bottom:10px from .hero-right-top — gap handled by parent flex gap] */

/* VSL panel inside top half */
.hero-right-top .mini-vsl {
  width: 100%;
  height: 100%;
  position: relative;
  background: var(--ink);
  cursor: pointer;
}

.mini-vsl .vsl-placeholder-bg {
  position: absolute; inset: 0;
}

.mini-vsl .vsl-play-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px; z-index: 2;
}

.mini-vsl .play-ring {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(200,165,90,.5);
  background: rgba(13,17,23,.45);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  transition: border-color var(--transition), transform var(--transition);
}

.mini-vsl:hover .play-ring { border-color: var(--gold); transform: scale(1.08); }
.mini-vsl .play-ring svg { width:16px; height:16px; fill:var(--gold); margin-left:3px; }
.mini-vsl .vsl-click-label {
  font-family: var(--font-ui); font-size:0.6rem; font-weight:600;
  color:rgba(247,246,243,.4); letter-spacing:2px; text-transform:uppercase;
}

/* Bottom info panel — background image with overlay */
.hero-right-bottom {
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
}

.hero-right-bottom-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,17,23,.75) 0%, rgba(46,63,82,.60) 100%);
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 16px 18px;
}

.hero-right-bottom-title {
  font-family: var(--font-heading);
  font-size: clamp(0.8rem, 1.2vw, 1.05rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 10px;
}

.hero-right-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero-right-bullet-list li {
  font-family: var(--font-ui);
  font-size: clamp(0.6rem, 0.85vw, 0.75rem);
  color: rgba(247,246,243,.8);
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.3;
}

.hero-right-bullet-list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}





/* ── Gap between hero and next section: ≤20px ── */
#hero-area + section,
#hero-area + div { margin-top: 0; }

/* ── 2. WELCOME / INTRO SECTION ── */
#welcome-section {
  background: var(--surface);
  padding: 40px 0 36px;
  border-bottom: 1px solid var(--border);
}

#welcome-section .welcome-inner,
.welcome-inner {
  width: 100% !important;
  max-width: 1340px !important;
  margin: 0 auto;
  text-align: center;
  padding: 0 28px;
  box-sizing: border-box;
}

.welcome-eyebrow {
  font-family: var(--font-ui);
  font-size: var(--size-label);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 12px;
}

.welcome-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2.0rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.4px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.welcome-body {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 780px;
  margin: 0 auto 18px;
}

.welcome-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.welcome-stat {
  text-align: center;
}

.welcome-stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  letter-spacing: -0.5px;
  line-height: 1;
}

.welcome-stat-label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 4px;
  display: block;
}
/* ── Welcome section — 2-column redesign ── */

/* Eyebrow size increase (+2pt: 0.68rem → 0.85rem) */
.welcome-eyebrow--lg {
  font-size: 0.85rem;   /* was 0.68rem (~10.9px); +2pt → ~13.6px ≈ 0.85rem */
  margin-bottom: 20px;
}

/* 2-column grid: 75% left / 25% right */
#welcome-section .welcome-cols {
  display: grid !important;
  grid-template-columns: 55fr 45fr !important;  /* 55% left / 45% right */
  gap: 0 0;
  text-align: left;
  margin-bottom: 32px;
  width: 100%;
  box-sizing: border-box;
}

/* LEFT column */
#welcome-section .welcome-col-main {
  display: flex !important;
  flex-direction: column;
  gap: 10px;              /* reduced from 14px — less space between title and paragraphs */
  padding: 0 20px 0 0;
  box-sizing: border-box;
  width: 100%;
}

/* Main headline: 24px bold Open Sans */
.welcome-headline-main {
  font-family: 'DM Sans', 'Open Sans', sans-serif;  /* DM Sans — same as hero slides */
  font-size: clamp(16px, 2.2vw, 20px) !important;  /* 16px mobile → 20px desktop */
  font-weight: 700 !important;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: normal;
  word-spacing: normal;
  text-transform: none;   /* controlled by inline style per section */
  text-align: left;
  margin: 0 0 6px;
}

/* Body paragraphs: 14pt */
.welcome-body-lg {
  font-family: 'Roboto', sans-serif;
  font-size: 16px !important;   /* 16px exact — no pt unit conversion */
  font-weight: 400 !important;
  color: var(--text-secondary);
  line-height: 1.5;              /* tighter than 1.7 — less vertical spread */
  letter-spacing: normal;
  word-spacing: normal;
  margin: 0;
}

/* RIGHT column: course list */
#welcome-section .welcome-col-courses {
  display: block !important;
  border-left: 2px solid var(--gold-rule);
  padding-left: 20px;
  box-sizing: border-box;
  width: 100%;
}

.welcome-course-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.welcome-course-list li {
  font-family: var(--font-content);
  font-size: 0.92rem;  /* 14.7px — readable on mobile */
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.welcome-course-list li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
  line-height: 1.6;  /* vertically align star with first line of text */
}

.welcome-course-list a {
  color: #003087;                              /* navy blue hyperlink */
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,48,135,0.3);
  transition: color 0.2s, border-color 0.2s;
}

.welcome-course-list a:hover {
  color: #0044cc;                              /* brighter navy on hover */
  border-bottom-color: #0044cc;
  text-decoration: underline;
}

/* Responsive: stack columns on tablet */
@media (max-width: 900px) {
  #welcome-section .welcome-cols {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  #welcome-section .welcome-col-main {
    padding-right: 0 !important;
  }
  #welcome-section .welcome-col-courses {
    border-left: none !important;
    border-top: 1px solid var(--gold-rule);
    padding-left: 0 !important;
    padding-top: 20px;
  }
  .welcome-headline-main {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .welcome-headline-main {
    font-size: clamp(14px, 4vw, 17px);  /* phone: 14–17px */
    letter-spacing: 0.04em;
  }
  .welcome-body-lg {
    font-size: 15px;
  }
  /* Stack welcome columns vertically on phone */
  #welcome-section .welcome-cols {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  #welcome-section .welcome-col-main {
    padding-right: 0 !important;
  }
  #welcome-section .welcome-col-courses {
    border-left: none !important;
    border-top: 1px solid var(--gold-rule);
    padding-left: 0 !important;
    padding-top: 16px;
  }
  #welcome-section .welcome-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}


/* ── 3. WEBINAR & LEAD MAGNET ROW ── */
#engagement-row {
  background: var(--bg);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.engagement-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 14px;
  /* Row height = 1/3 of viewport */
  height: calc(33.33vh - 40px);
  min-height: 220px;
  max-height: 360px;
}

@media (max-width: 900px) {
  .engagement-grid {
    grid-template-columns: 1fr 1fr;
    height: auto; max-height: unset;
  }
  #webinar-card { grid-column: 1 / span 2; order: -1; min-height: 200px; }
}

@media (max-width: 560px) {
  .engagement-grid { grid-template-columns: 1fr; }
  #webinar-card { grid-column: 1; }
}

/* Lead magnet card */
.lead-magnet-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.lead-magnet-card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
}

.lm-card-top {
  background: linear-gradient(135deg, var(--ink-soft), var(--slate));
  padding: 16px 16px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lm-card-badge {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(200,165,90,.14);
  border: 1px solid var(--gold-rule);
  padding: 2px 8px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 8px;
  align-self: flex-start;
}

.lm-card-title {
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 1.0vw, 0.88rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.lm-card-btn {
  display: block;
  width: 100%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 12px;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background var(--transition);
  line-height: 1.4;
  flex-shrink: 0;
}

.lm-card-btn:hover { background: var(--gold-bright); color: var(--ink); }

/* Webinar center card */
#webinar-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--ink);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.webinar-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
  transition: filter var(--transition), transform 5s ease;
}

#webinar-card:hover .webinar-bg-img {
  filter: brightness(0.55);
  transform: scale(1.03);
}

.webinar-content-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 24px 18px;
  height: 100%;
  text-align: center;
  background: linear-gradient(to bottom, rgba(13,17,23,.3) 0%, rgba(13,17,23,.7) 100%);
}

.webinar-tag {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  background: rgba(200,165,90,.15);
  border: 1px solid var(--gold-rule);
  padding: 3px 12px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.webinar-title {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 12px;
  max-width: 340px;
}

.webinar-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform 0.12s ease;
}

.webinar-play-btn:hover { background: var(--gold-bright); color: var(--ink); transform: translateY(-1px); }
.webinar-play-btn svg { width:13px; height:13px; fill:var(--ink); }

/* ── 4. FEATURED COURSES — 3 cards, each 1/3 width, ≤20vh height ── */
#featured-courses {
  background: var(--bg);
  padding: 20px 0 20px;
  border-bottom: 1px solid var(--border);
}

#featured-courses .container {
  padding-left: 28px;
  padding-right: 28px;
}

.featured-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  height: 20vh;
  min-height: 160px;
  max-height: 240px;
}

.featured-course-card {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--gold);
  /* Remove outer radius so cards abut cleanly */
}

.featured-course-card:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
  border-right-width: 1px;
}

.featured-course-card:nth-child(2) {
  border-radius: 0;
  border-left-width: 1px;
  border-right-width: 1px;
}

.featured-course-card:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
  border-left-width: 1px;
}

.featured-course-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 5s ease, filter var(--transition);
  filter: brightness(0.65) saturate(0.9);
}

.featured-course-card:hover img {
  transform: scale(1.04);
  filter: brightness(0.75) saturate(1.0);
}

.featured-course-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13,17,23,.15) 0%, rgba(13,17,23,.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px 14px;
}

.featured-course-name {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;          /* exactly 18pt per spec */
  font-weight: 700;
  color: #ffffff;
  text-transform: capitalize;
  letter-spacing: 0.3px;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

.featured-course-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color var(--transition);
}

.featured-course-cta:hover { color: var(--gold-bright); }
.featured-course-cta svg { width:11px; height:11px; fill:var(--gold); }

@media (max-width: 640px) {
  .featured-courses-grid {
    grid-template-columns: 1fr;
    height: auto;
    max-height: unset;
  }
  .featured-course-card { height: 22vw; min-height: 120px; }
  .featured-course-card,
  .featured-course-card:first-child,
  .featured-course-card:nth-child(2),
  .featured-course-card:last-child {
    border-radius: 0;
    border-width: 2px;
  }
  .featured-course-card:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .featured-course-card:last-child  { border-radius: 0 0 var(--radius) var(--radius); }
}

/* ── 5. TRUST BELT — logos ── */


.trust-logo:hover 

/* gold tint on hover for logo imgs */
.trust-logo:hover 

/* ── 6. TESTIMONIAL FACE PLACEHOLDER ── */
.testimonial-face-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.testimonial-face {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(247,246,243,.12);
  border: 1.5px solid rgba(200,165,90,.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* Max 50% of card horizontal space — constrained by card width */
  max-width: 50%;
}

.testimonial-face svg {
  width: 24px; height: 24px;
  fill: rgba(247,246,243,.3);
}

.testimonial-face-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(247,246,243,.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  margin-top: 3px;
  line-height: 1.2;
  padding: 0 4px;
  display: none; /* hidden inside circle; shown as tooltip via title attr */
}

/* ── 7. EXPERTS BANNER ── */
#experts-banner {
  background: var(--ink);
  min-height: 100px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--gold-rule);
  border-bottom: 1px solid var(--gold-rule);
  padding: 20px 0;
}

.experts-banner-text {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); /* 32-48px per spec, heavy weight */
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 28px;
}

.experts-banner-text em {
  font-style: normal;
  color: var(--gold);
}

/* ── 8. CONTACT FORM SECTION ── */
#home-contact-section {
  background: var(--bg);
  padding: var(--section-v) 0;
  border-bottom: 1px solid var(--border);
}

.home-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 768px) {
  .home-contact-grid { grid-template-columns: 1fr; }
}

.home-contact-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.0vw, 1.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.home-contact-phone-email {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.home-contact-phone-email a {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.home-contact-phone-email span {
  font-family: var(--font-content);
  font-size: var(--size-col);
  color: var(--text-muted);
}

/* ── 9. EXPLORE ROW — two CTAs side by side ── */
#explore-row {
  background: var(--ink-soft);
  border-top: 1px solid var(--gold-rule);
}

.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 120px;
  max-height: 120px;
}

.explore-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  gap: 20px;
}

.explore-cell:first-child {
  border-right: 1px solid rgba(200,165,90,.2);
}

.explore-cell-text {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  font-weight: 600;
  color: rgba(247,246,243,.78);
  line-height: 1.3;
}

.explore-cell-text strong {
  display: block;
  color: #ffffff;
  font-size: clamp(1.0rem, 1.6vw, 1.25rem);
}

.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 10px 20px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}

.btn-explore:hover { background: var(--gold); color: var(--ink); }
.btn-explore svg { width:12px; height:12px; stroke:currentColor; fill:none; stroke-width:2; }

@media (max-width: 640px) {
  .explore-grid { grid-template-columns: 1fr; max-height: unset; }
  .explore-cell { padding: 18px 20px; }
  .explore-cell:first-child { border-right: none; border-bottom: 1px solid rgba(200,165,90,.2); }
}


/* ==========================================================================
   FIXES v5 — Hero gap, VSL title, engagement titles, featured titles, footer seals
   ========================================================================== */


/* The gap is handled by padding on hero-right — 15-20px left padding */


/* hero-left needs no right padding — the hero-right left padding IS the gap */
.hero-left {
  position: relative;
}

/* Thin white bar between hero-left and hero-right (visual divider) */
#hero-area::after {
  content: none; /* removed — gap handled by hero-right padding */
}

/* Fix: hero-right background so the padding appears as white */


/* Fix 2: VSL title strip */
.vsl-title-bar {
  background: var(--ink);
  padding: 6px 12px;
  border-bottom: 1px solid rgba(200,165,90,.2);
  flex-shrink: 0;
}

.vsl-title-text {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Make hero-right-top a flex column to accommodate title bar */
/* [removed redundant .hero-right-top flex block] */

.hero-right-top .mini-vsl {
  flex: 1;
}

/* Fix 3: Section titles */
.section-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-title-bar h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}

.section-title-bar-centered {
  text-align: center;
  margin-bottom: 14px;
}

.section-title-bar-centered h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Engagement row title */
#engagement-row .engagement-section-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: -0.2px;
}

#engagement-row .engagement-eyebrow {
  font-family: var(--font-ui);
  font-size: var(--size-label);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  display: block;
  text-align: center;
  margin-bottom: 6px;
}

/* Featured courses title */
#featured-courses .featured-title-bar {
  margin-bottom: 12px;
}

#featured-courses .featured-title-bar h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}

#featured-courses .featured-title-bar .eyebrow {
  font-family: var(--font-ui);
  font-size: var(--size-label);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 4px;
}

/* Fix: carousel track now needs 5 slides (500% width) */
.carousel-track-5 {
  width: 500% !important;
}

.carousel-track-5 .carousel-slide {
  width: 20% !important;
}

/* Footer trust seals */
.footer-seals-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 18px 0 14px;
  border-top: 1px solid rgba(200,165,90,.12);
  margin-top: 4px;
}

.footer-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  opacity: 0.82;
  transition: opacity var(--transition);
  cursor: default;
}

.footer-seal:hover { opacity: 1; }

/* SVG seals rendered inline — no external image dependency */
.seal-svg {
  width: 120px;   /* 100% larger — was 60px */
  height: 120px;
}
/* Image-based trust badges (TrustAnalytica, PositiveSSL, Sectigo, 100% Guarantee) */
.seal-img {
  height: 90px;           /* uniform badge height */
  width: auto;
  max-width: 180px;       /* wide badges like PositiveSSL stay proportional */
  object-fit: contain;
  object-position: center;
  display: block;
  filter: brightness(1.05);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.seal-img:hover {
  transform: scale(1.06);
  filter: brightness(1.15);
}

.footer-seal:hover {
  opacity: 1;
}

/* Larger seals row to accommodate bigger badges */
.footer-seals-row {
  gap: 32px;
  padding: 28px 0 22px;
}


.seal-label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(247,246,243,.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.3;
}

/* ── Hero right column — definitive rule (65/35 split) ── */
.hero-right {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 5px;                   /* 5px between top VSL and bottom info card */
  padding: 5px 5px 0 5px;    /* 5px gap between carousel left and right panels */
                               /* 0 bottom so bottom card has no bottom padding */
  background: var(--bg);
  box-sizing: border-box;
}

.hero-right-top {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  /* No top padding — top card sits flush */
}

.hero-right-bottom {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius);
  /* No bottom padding — bottom card sits flush */
}

.hero-right-bottom .mini-vsl {
  flex: 1;
  min-height: 0;
}

/* Responsive override for hero-right */

/* Tablet: stack hero area, show carousel full width, right panels as row */
@media (max-width: 900px) {
  /* Stacks hero into single column on tablet (both portrait and landscape) */
  #hero-area {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;    /* remove max-height cap so stacked layout is never clipped */
    overflow: visible;   /* remove overflow:hidden so bottom cards are never cut off */
  }
  #hero-area .hero-left {
    height: 35vh;
    min-height: 260px;
  }
  /* Tablet LANDSCAPE: hero-right as a row — VSL and info card side by side */
  .hero-right {
    height: 200px;
    flex-direction: row;
    padding: 5px;
    gap: 5px;
    box-sizing: border-box;
  }
  .hero-right-top {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
  }
  .hero-right-bottom {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
  }
  .vsl-title-bar {
    display: none;
  }
}

/* Tablet PORTRAIT: switch to column layout so cards stack and are never clipped */
@media (max-width: 900px) and (orientation: portrait) {
  #hero-area {
    overflow: visible;
    max-height: none;
  }
  .hero-right {
    height: auto;         /* let cards determine their own height */
    min-height: 260px;    /* ensure minimum visible height */
    flex-direction: column;
    padding: 5px 5px 0 5px;
    gap: 5px;
  }
  .hero-right-top {
    flex: 1 1 0;
    min-height: 120px;    /* minimum height for VSL card in portrait */
  }
  .hero-right-bottom {
    flex: 1 1 0;
    min-height: 120px;    /* minimum height for info card in portrait */
  }
  /* Restore VSL title bar in portrait column layout */
  .vsl-title-bar {
    display: block;
    padding: 6px 12px;
  }
}

/* Mobile: fully stacked, right panels column */
@media (max-width: 600px) {
  /* Phone: stack VSL on top, info card below with 5px gap.
     Bottom card has NO bottom padding. Top has 5px padding all sides. */
  .hero-right {
    height: 300px;
    flex-direction: column;
    padding: 5px 5px 0 5px;  /* 5px top/left/right, 0 bottom */
    gap: 5px;                  /* 5px gap between VSL and info card */
    box-sizing: border-box;
  }
  .hero-right-top {
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
  }
  .hero-right-bottom {
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
  }
  /* Restore VSL title bar on phone — re-show it (hidden at 900px tablet) */
  .vsl-title-bar {
    display: block;
    padding: 6px 12px;
  }
}

/* ── Company logo image ── */
.logo-img-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 50px;            /* square emblem — fits 74px header with 12px top/bottom margin */
  width: auto;
  max-width: 50px;         /* square badge */
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 4px;      /* slight rounding on corners for polish */
}

@media (max-width: 768px) {
  .logo-img { height: 42px; max-width: 42px; }    /* tablet — square badge */
}
@media (max-width: 540px) {
  .logo-img { height: 34px; max-width: 34px; }   /* phone — square badge */
}

@media (max-width: 400px) {
  #phone-section .phone-number { font-size: 0.75rem; white-space: nowrap; }  /* 12px floor */
  #search-trigger span { display: none; }  /* hide 'Search' label, keep icon */
}

/* ════════════════════════════════════════════════════════
   TRUST BELT — Animated continuous logo scroll
   ════════════════════════════════════════════════════════ */

#trust-belt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 34px 0 30px;
  overflow: hidden;
}

.trust-belt-label {
  text-align: center;
  font-family: var(--font-ui);
  font-size: var(--size-label);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

/* Outer wrapper masks overflow and adds fade edges */
.trust-belt-track-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
  /* Soft fade on left and right edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

/* The scrolling track — duplicate set inside creates seamless loop */
.trust-belt-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;           /* grows to fit all logos */
  animation: beltScroll 200s linear infinite;  /* 20% of original speed */
  will-change: transform;
}

/* Pause on hover */
.trust-belt-track:hover {
  animation-play-state: paused;
}

/* Individual logo slot — uniform height, generous side padding */
.trust-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 36px;
  flex-shrink: 0;
  height: 68px;
}

/* Uniform logo image — all same height, natural width */
.trust-logo-img {
  height: 48px;                 /* +20% — logos clearly readable */
  width: auto;
  max-width: 180px;             /* wider cap for MTA, Aramco, SI Engineering */
  object-fit: contain;
  object-position: center;
  display: block;
  /* Desaturate slightly for visual unity; full colour on hover */
  filter: grayscale(20%) opacity(0.85);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.trust-logo-img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

/* Keyframe — scrolls exactly one full set (50% = one copy) */
@keyframes beltScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 600px) {
  .trust-logo { padding: 0 24px; }
  .trust-logo-img { height: 38px; max-width: 120px; }
  .trust-belt-track { animation-duration: 150s; }  /* 20% of original speed */
}

/* ════════════════════════════════════════════════════════
   HEADER RESPONSIVE
   ════════════════════════════════════════════════════════ */

/* Tablet (≤768px): compact top bar */
@media (max-width: 768px) {
  #header-top-inner { height: 40px; gap: 8px; }
  #header-top-center { margin: 0 8px; }
  #header-search-bar { max-width: 280px; }
  .phone-label { display: none; }
  #btn-contact { min-width: 88px; }
  #btn-cart    { min-width: 60px; }
}

/* Phone portrait (≤600px): everything in one compact row
   Order: phone | search | contact+cart
   Logo bar below, left-aligned */
@media (max-width: 600px) {
  #header-top-bar { }
  #header-top-inner {
    height: 38px;
    gap: 6px;
    padding: 0 10px;
  }
  /* Phone number: reduce 40% — 0.75rem * 0.6 = 0.72rem, floor 0.68rem */
  #phone-section .phone-number {
    font-size: clamp(0.65rem, 2.2vw, 0.75rem) !important;  /* 20% smaller on phone */
    letter-spacing: 0;
  }
  .phone-icon { width: 22px; height: 22px; }
  /* Search bar: compact */
  #header-top-center { margin: 0 4px; max-width: none; flex: 1; }
  #header-search-bar { max-width: none; width: auto; }
  #header-search-input { font-size: 0.7rem; width: 30ch; }
  /* Pills: icon only — hide label */
  .pill-label { display: none; }
  #btn-contact { min-width: 32px; padding: 0 9px; }
  #btn-cart    { min-width: 32px; padding: 0 9px; }
  /* Logo bar: left-aligned */
  #header-logo-bar .container { justify-content: flex-start; }
  #logo-section { justify-content: flex-start; }
}

@media (max-width: 400px) {
  #phone-section .phone-number {
    font-size: 0.68rem !important;  /* 10.9px — absolute minimum */
  }
  #header-search-input::placeholder { font-size: 0.65rem; }
}

/* ════════════════════════════════════════════════════════
   ABOUT / FAQ / POLICIES / MEDIA — shared page styles
   ════════════════════════════════════════════════════════ */

.page-hero-section {
  background: linear-gradient(135deg, #0f1f38 0%, #1a3a6b 100%);
  padding: 56px 0 48px;
  border-bottom: 1px solid rgba(200,165,90,.25);
}

.page-hero-section h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin: 8px 0 12px;
}

.page-hero-sub {
  font-family: var(--font-content);
  font-size: 1rem;
  color: rgba(247,246,243,.72);
  max-width: 640px;
  line-height: 1.6;
  margin: 0;
}

.page-body-section {
  padding: 52px 0 72px;
}

.page-prose h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(200,165,90,.30);
}
.page-prose h2:first-child { margin-top: 0; }

.page-prose p, .page-prose li {
  font-family: var(--font-content);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}

/* About page — stat cards */
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .about-grid { grid-template-columns: 1fr; } }

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}

.about-card-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.about-card h3 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.about-cred-list {
  padding-left: 20px;
}
.about-cred-list li {
  margin-bottom: 10px;
}

.about-cta {
  background: linear-gradient(135deg, #0f1f38 0%, #1a3a6b 100%);
  border-radius: var(--radius);
  padding: 36px 32px;
  margin-top: 48px;
  text-align: center;
}
.about-cta h2 {
  color: #fff !important;
  border-bottom-color: rgba(200,165,90,.3) !important;
  margin-top: 0 !important;
}
.about-cta p { color: rgba(247,246,243,.75) !important; }

/* FAQ */
.faq-group {
  margin-bottom: 40px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-trigger::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-trigger[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0;
}

.faq-body.is-open {
  max-height: 400px;
  padding-bottom: 16px;
}

.faq-cta {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
}

/* Policies */
.policies-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.policies-nav a {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  color: #1e5fa8;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}

.policies-nav a:hover {
  background: #1e5fa8;
  color: #fff;
}

.policy-section {
  margin-bottom: 40px;
  scroll-margin-top: 120px;
}

.policies-footer-note {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem !important;
  color: var(--text-secondary) !important;
}

/* Media */
.media-section {
  margin-bottom: 40px;
}

.media-contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 16px;
}

.media-facts {
  padding-left: 0;
  list-style: none;
}
.media-facts li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.media-facts li:last-child { border-bottom: none; }

.media-logo-display {
  margin-top: 16px;
  padding: 24px;
  background: #0f1f38;
  border-radius: var(--radius);
  display: inline-block;
}

/* Welcome section hook paragraph — italic opener */
.welcome-hook {
  font-style: italic;
  color: #1a3a6b !important;   /* dark navy — stands out as a hook */
  font-weight: 500 !important;
  border-left: 3px solid var(--gold);
  padding-left: 14px !important;
  margin-bottom: 4px;
}
