/* ==========================================================================
   Epsilon Data Consult — brand layer
   Loaded AFTER the Corpox template CSS. It (1) maps the template's light-mode
   variables onto the Epsilon palette and (2) styles the new "eps-*" components.

   Palette (mandated):
     white  #FFFFFF   page background
     alt    #F5F7FA   only home sections 3, 5 and 7
     navy   #0B1F3A   headings + footer
     body   #1F2937   body copy
     teal   #14B8A6   accent (buttons, icons, price, highlights)

   Accessibility note: #14B8A6 on white is only ~2.5:1, so teal is used for FILLS
   and icons, with navy text on top (≈6.5:1). Where teal must be small text on a
   white/off-white surface we use --eps-teal-text (#0F766E, ≈5.5:1).
   ========================================================================== */

:root {
    --eps-white: #ffffff;
    --eps-alt: #f5f7fa;
    --eps-navy: #0b1f3a;
    --eps-navy-2: #12305a;
    --eps-body: #1f2937;
    --eps-muted: #556274;
    --eps-teal: #14b8a6;
    --eps-teal-text: #0f766e;
    --eps-teal-soft: #e6f7f5;
    --eps-border: #e3e8ef;
    --eps-radius: 16px;
    --eps-radius-sm: 10px;
    --eps-shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
    --eps-shadow-lg: 0 24px 60px rgba(11, 31, 58, 0.16);
    --eps-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---- Map template light-mode variables onto the palette -------------------- */
body.active-light-mode,
body.eps-body {
    background: var(--eps-white);
    color: var(--eps-body);
    font-family: var(--eps-font);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    --color-primary: #14b8a6;
    --color-primary-alt: #0f766e;
    --color-secondary: #0b1f3a;
    --color-heading: #0b1f3a;
    --color-body: #1f2937;
    --color-card: #ffffff;
    --color-white: #0b1f3a;
    --color-border: #e3e8ef;
}
body.eps-body h1, body.eps-body h2, body.eps-body h3, body.eps-body h4, body.eps-body h5, body.eps-body h6 {
    color: var(--eps-navy);
    font-family: var(--eps-font);
    letter-spacing: -0.01em;
}
body.eps-body p { color: var(--eps-body); }
body.eps-body a { color: var(--eps-teal-text); }
body.eps-body a:hover { color: var(--eps-navy); }
body.eps-body :focus-visible { outline: 3px solid var(--eps-navy); outline-offset: 3px; border-radius: 4px; }
.eps-skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--eps-navy); color: #fff !important; padding: 10px 16px; border-radius: 8px; }
.eps-skip-link:focus { left: 8px; }
main:focus { outline: none; }

/* ---- Announcement bar ------------------------------------------------------ */
.eps-topbar { background: var(--eps-navy); color: #fff; font-size: 14px; }
.eps-topbar p { margin: 0; padding: 9px 0; text-align: center; color: #fff !important; display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: center; align-items: center; }
.eps-topbar strong { font-weight: 700; }
.eps-topbar a, body.eps-body .eps-topbar a { color: var(--eps-teal); font-weight: 700; text-decoration: none; margin-left: 6px; }
.eps-topbar a:hover, body.eps-body .eps-topbar a:hover { color: #fff; text-decoration: underline; }
.eps-topbar i { color: var(--eps-teal); }
@media (max-width: 575px) { .eps-topbar__detail, .eps-topbar__sep { display: none; } }

/* ---- Header ---------------------------------------------------------------- */
body.eps-body .eps-header { background: #fff; border-bottom: 1px solid var(--eps-border); font-size: 16px; }
body.eps-body .eps-header .logo a { height: 76px; line-height: 1; }
body.eps-body .tmp-header.sticky { background: rgba(255, 255, 255, 0.94) !important; box-shadow: 0 6px 24px rgba(11, 31, 58, 0.08); height: 76px; }
body.eps-body .mainmenu-nav .mainmenu > li > a { color: var(--eps-navy); font-weight: 600; font-size: 15.5px; }
body.eps-body .mainmenu-nav .mainmenu > li:hover > a,
body.eps-body .mainmenu-nav .mainmenu > li.active > a { color: var(--eps-teal-text); }
body.eps-body .mainmenu-nav .mainmenu li .submenu { background: #fff; border: 1px solid var(--eps-border); box-shadow: var(--eps-shadow-lg); border-radius: 12px; }
body.eps-body .mainmenu-nav .mainmenu li .submenu li a { color: var(--eps-body); font-weight: 500; }
body.eps-body .mainmenu-nav .mainmenu li .submenu li a:hover { color: var(--eps-teal-text); background: var(--eps-teal-soft); }
.eps-header-cta { display: flex; align-items: center; gap: 22px; }
.eps-link-quiet { color: var(--eps-navy) !important; font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 2px solid var(--eps-teal); padding-bottom: 1px; }
.eps-link-quiet:hover { color: var(--eps-teal-text) !important; }
body.eps-body .hamberger-button { background: var(--eps-navy); color: #fff; }
body.eps-body .hamberger-button i { font-size: 22px; }

/* Mobile drawer */
body.eps-body .popup-mobile-menu .inner { background: #fff; }
body.eps-body .popup-mobile-menu .mainmenu li a { color: var(--eps-navy); font-weight: 600; }
body.eps-body .popup-mobile-menu .close-button { background: var(--eps-navy); color: #fff; border: 0; border-radius: 50%; width: 40px; height: 40px; }
.eps-mobile-menu__cta { padding: 18px 20px 28px; }

/* ---- Logo ------------------------------------------------------------------ */
.eps-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.eps-logo img { max-height: 44px; width: auto; }
.eps-logo__mark { width: 42px; height: 42px; border-radius: 11px; background: var(--eps-navy); color: var(--eps-teal); display: grid; place-items: center; font-size: 30px; font-weight: 800; line-height: 1; padding-bottom: 3px; font-family: Georgia, 'Times New Roman', serif; }
.eps-logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.eps-logo__name { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--eps-navy); }
.eps-logo__sub { font-weight: 600; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--eps-teal-text); }
body.eps-body .eps-logo:hover .eps-logo__name { color: var(--eps-navy); }
.eps-logo--white .eps-logo__mark { background: var(--eps-teal); color: var(--eps-navy); }
.eps-logo--white .eps-logo__name { color: #fff; }
.eps-logo--white .eps-logo__sub { color: var(--eps-teal); }

/* ---- Buttons --------------------------------------------------------------- */
.eps-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 10px; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none !important; border: 2px solid transparent; cursor: pointer; transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease; font-family: var(--eps-font); text-align: center; }
.eps-btn i { font-size: 18px; transition: transform .18s ease; }
.eps-btn:hover i { transform: translateX(3px); }
body.eps-body .eps-btn--primary { background: var(--eps-teal); color: var(--eps-navy); box-shadow: 0 8px 20px rgba(20, 184, 166, 0.28); }
body.eps-body .eps-btn--primary:hover { background: var(--eps-navy); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11, 31, 58, 0.25); }
body.eps-body .eps-btn--outline { background: transparent; color: var(--eps-navy); border-color: var(--eps-navy); }
body.eps-body .eps-btn--outline:hover { background: var(--eps-navy); color: #fff; transform: translateY(-2px); }
body.eps-body .eps-btn--light { background: #fff; color: var(--eps-navy); }
body.eps-body .eps-btn--light:hover { background: var(--eps-teal); color: var(--eps-navy); }
body.eps-body .eps-btn--dark { background: var(--eps-navy); color: #fff; }
body.eps-body .eps-btn--dark:hover { background: var(--eps-teal); color: var(--eps-navy); }
body.eps-body .eps-btn--ghost { background: transparent; color: var(--eps-teal-text); padding-left: 6px; padding-right: 6px; }
body.eps-body .eps-btn--ghost:hover { color: var(--eps-navy); }
.eps-btn--sm { padding: 10px 20px; font-size: 15px; }
.eps-btn--lg { padding: 17px 34px; font-size: 17.5px; }
.eps-btn--block { display: flex; width: 100%; }
.eps-btn[disabled], .eps-btn.is-loading { opacity: .65; pointer-events: none; }
.eps-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; align-items: center; }
.eps-actions--center { justify-content: center; margin-top: 44px; }
@media (max-width: 575px) { .eps-actions .eps-btn { width: 100%; } }
.eps-link { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; }
.eps-link:hover { text-decoration: underline; }

/* ---- Sections -------------------------------------------------------------- */
.eps-section { padding: 88px 0; background: var(--eps-white); }
.eps-section--alt { background: var(--eps-alt); }
@media (max-width: 767px) { .eps-section { padding: 60px 0; } }
.eps-eyebrow { color: var(--eps-teal-text); font-weight: 800; font-size: 13.5px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 12px; }
.eps-section-heading { margin-bottom: 44px; }
.eps-section-heading--center { text-align: center; max-width: 780px; margin-left: auto; margin-right: auto; }
.eps-section-heading--left { margin-bottom: 26px; }
.eps-section-heading__title { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; font-weight: 800; margin: 0; }
.eps-section-heading__sub { margin: 16px 0 0; font-size: 18px; color: var(--eps-muted) !important; }
.eps-section-heading--light .eps-section-heading__title, .eps-section-heading--light .eps-eyebrow { color: #fff; }
.eps-prose p { margin: 0 0 1.1em; font-size: 18px; }
.eps-prose h2 { font-size: 26px; margin: 1.8em 0 .5em; font-weight: 800; }
.eps-prose h3 { font-size: 20px; margin: 1.4em 0 .4em; font-weight: 700; }
.eps-prose ul, .eps-prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.eps-prose li { margin-bottom: .45em; }
.eps-fineprint { font-size: 14px; color: var(--eps-muted) !important; margin-top: 22px; text-align: center; }
.eps-section-heading--left + .eps-checklist + .eps-fineprint { text-align: left; }

/* ---- Hero ------------------------------------------------------------------ */
.eps-hero { padding: 64px 0 88px; background: #fff; position: relative; overflow: hidden; }
.eps-hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 620px; height: 620px; background: radial-gradient(closest-side, rgba(20, 184, 166, 0.13), rgba(20, 184, 166, 0)); pointer-events: none; }
.eps-hero .container { position: relative; }
.eps-hero__date { display: inline-flex; align-items: center; gap: 10px; background: var(--eps-navy); color: #fff !important; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; margin: 0 0 22px; }
.eps-hero__date strong { color: var(--eps-teal); font-weight: 800; }
.eps-hero__date i { color: var(--eps-teal); font-size: 18px; }
.eps-hero__title { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.08; font-weight: 800; margin: 0 0 22px; letter-spacing: -0.03em; }
.eps-hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--eps-body); max-width: 560px; margin: 0; }
.eps-meta-row { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px 0; font-weight: 700; font-size: 14.5px; color: var(--eps-navy); }
.eps-meta-row li { display: inline-flex; align-items: center; }
.eps-meta-row li + li::before { content: '•'; color: var(--eps-teal); margin: 0 12px; font-size: 16px; }
@media (max-width: 991px) { .eps-hero { padding: 40px 0 60px; } }

.eps-hero-art { position: relative; max-width: 560px; margin: 0 auto; }
.eps-hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(11, 31, 58, 0.14)); }
.eps-hero-art__chip { position: absolute; background: #fff; border: 1px solid var(--eps-border); box-shadow: var(--eps-shadow); border-radius: 14px; padding: 10px 16px; font-weight: 700; font-size: 14px; color: var(--eps-navy); display: flex; gap: 8px; align-items: center; }
.eps-hero-art__chip--live { top: 4%; right: 2%; }
.eps-hero-art__chip--tools { bottom: 2%; left: 4%; gap: 6px; }
.eps-hero-art__chip--tools span { background: var(--eps-teal-soft); color: var(--eps-teal-text); padding: 3px 10px; border-radius: 999px; font-size: 13px; }
.eps-live-dot { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); animation: epsPulse 1.8s infinite; }
@keyframes epsPulse { 70% { box-shadow: 0 0 0 9px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }
@media (prefers-reduced-motion: reduce) { .eps-live-dot { animation: none; } .eps-btn, .eps-btn i { transition: none; } }

/* ---- Trust / approach ------------------------------------------------------ */
.eps-approach { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.eps-approach li { background: #fff; border: 1px solid var(--eps-border); border-radius: var(--eps-radius); padding: 22px; box-shadow: var(--eps-shadow); display: flex; flex-direction: column; gap: 10px; }
.eps-approach li > span { width: 36px; height: 36px; border-radius: 10px; background: var(--eps-teal); color: var(--eps-navy); font-weight: 800; display: grid; place-items: center; }
.eps-approach h3 { font-size: 18px; margin: 0; font-weight: 800; }
.eps-approach p { margin: 0; font-size: 15px; color: var(--eps-muted); }
@media (max-width: 575px) { .eps-approach { grid-template-columns: 1fr; } }
.eps-stat-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.eps-stat-grid li { background: var(--eps-alt); border-radius: var(--eps-radius); padding: 26px; }
.eps-stat-grid strong { display: block; font-size: 36px; font-weight: 800; color: var(--eps-navy); line-height: 1.1; }
.eps-stat-grid span { color: var(--eps-muted); font-size: 15px; }

/* ---- Curriculum ------------------------------------------------------------ */
.eps-week { position: relative; background: #fff; border: 1px solid var(--eps-border); border-radius: var(--eps-radius); padding: 26px 24px 24px; height: 100%; box-shadow: var(--eps-shadow); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.eps-week:hover { transform: translateY(-4px); box-shadow: var(--eps-shadow-lg); }
.eps-week::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--eps-teal); }
.eps-week__num { position: absolute; right: 16px; top: 4px; font-size: 64px; font-weight: 800; color: var(--eps-navy); opacity: .06; line-height: 1; }
.eps-week__label { color: var(--eps-teal-text); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; margin: 0 0 6px; }
.eps-week__title { font-size: 20px; font-weight: 800; line-height: 1.25; margin: 0 0 10px; }
.eps-week__summary { font-size: 15px; color: var(--eps-muted); margin: 0; }
.eps-week--detailed .eps-week__summary { margin-bottom: 14px; }

/* ---- Checklists, chips, outcomes ------------------------------------------ */
.eps-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.eps-checklist li { position: relative; padding-left: 34px; font-size: 17px; }
.eps-checklist li::before { content: '\e92b'; font-family: 'feather'; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--eps-teal); color: var(--eps-navy); font-size: 14px; display: grid; place-items: center; }
.eps-checklist--compact { gap: 6px; }
.eps-checklist--compact li { font-size: 14.5px; padding-left: 28px; }
.eps-checklist--compact li::before { width: 18px; height: 18px; font-size: 11px; top: 3px; }
@media (min-width: 768px) { .eps-checklist--cols { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.eps-chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.eps-chips li { background: var(--eps-teal-soft); color: var(--eps-teal-text); font-weight: 700; font-size: 14px; padding: 5px 14px; border-radius: 999px; }
.eps-outcomes { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.eps-outcomes li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--eps-border); border-radius: 14px; padding: 18px 20px; font-weight: 600; color: var(--eps-navy); }
.eps-outcomes i { color: var(--eps-teal); font-size: 22px; flex: none; margin-top: 1px; }
@media (max-width: 991px) { .eps-outcomes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .eps-outcomes { grid-template-columns: 1fr; } }

/* ---- Cards ----------------------------------------------------------------- */
.eps-card { background: #fff; border: 1px solid var(--eps-border); border-radius: var(--eps-radius); padding: 30px 28px; height: 100%; box-shadow: var(--eps-shadow); transition: transform .2s ease, box-shadow .2s ease; }
.eps-card:hover { transform: translateY(-4px); box-shadow: var(--eps-shadow-lg); }
.eps-card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--eps-teal-soft); color: var(--eps-teal-text); display: grid; place-items: center; font-size: 24px; margin-bottom: 18px; }
.eps-card__title { font-size: 20px; font-weight: 800; margin: 0 0 8px; }
.eps-card p { margin: 0; color: var(--eps-muted); font-size: 16px; }
.eps-card--link { text-decoration: none; display: block; color: inherit; }

/* ---- Instructor ------------------------------------------------------------ */
.eps-instructor { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; background: #fff; border: 1px solid var(--eps-border); border-radius: 24px; padding: 32px; box-shadow: var(--eps-shadow); }
.eps-instructor__photo img { width: 100%; height: auto; border-radius: 18px; aspect-ratio: 5 / 6; object-fit: cover; display: block; }
.eps-instructor__initials { aspect-ratio: 5 / 6; border-radius: 18px; background: linear-gradient(145deg, var(--eps-navy), var(--eps-navy-2)); color: var(--eps-teal); display: grid; place-items: center; font-size: 84px; font-weight: 800; letter-spacing: -0.03em; }
.eps-instructor__name { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 0; }
.eps-instructor__role { color: var(--eps-teal-text) !important; font-weight: 700; margin: 4px 0 16px; }
.eps-instructor__bio { font-size: 17.5px; }
.eps-instructor__facts { display: grid; gap: 14px; margin: 20px 0 0; }
.eps-instructor__facts dt { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--eps-navy); }
.eps-instructor__facts dd { margin: 2px 0 0; color: var(--eps-body); }
@media (max-width: 860px) { .eps-instructor { grid-template-columns: 1fr; padding: 22px; gap: 24px; } .eps-instructor__photo { max-width: 300px; } }

/* ---- Cohort card (navy, prominent) ---------------------------------------- */
.eps-cohort-card { background: var(--eps-navy); color: #fff; border-radius: 24px; padding: 34px 32px; box-shadow: var(--eps-shadow-lg); position: relative; overflow: hidden; }
.eps-cohort-card::after { content: ''; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 184, 166, .35), transparent); }
.eps-cohort-card > * { position: relative; z-index: 1; }
.eps-badge { display: inline-block; background: var(--eps-navy); color: #fff; font-weight: 800; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.eps-badge--teal { background: var(--eps-teal); color: var(--eps-navy); }
.eps-cohort-card__title { color: #fff !important; font-size: 26px; font-weight: 800; margin: 0 0 20px; line-height: 1.2; }
.eps-cohort-card__facts { margin: 0 0 22px; display: grid; }
.eps-cohort-card__facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.eps-cohort-card__facts dt { font-weight: 500; color: rgba(255, 255, 255, .72); }
.eps-cohort-card__facts dd { margin: 0; font-weight: 700; text-align: right; color: #fff; }
.eps-cohort-card__facts .is-highlight dd { color: var(--eps-teal); font-size: 20px; }
.eps-cohort-card__price { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 4px 0 22px; }
.eps-cohort-card__price-label { color: rgba(255, 255, 255, .72); font-weight: 500; }
.eps-cohort-card__price-value { color: var(--eps-teal); font-size: 36px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.eps-cohort-card__price-value--text { font-size: 19px; letter-spacing: 0; text-align: right; }
.eps-cohort-card__note { margin: 14px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .72) !important; text-align: center; }
.eps-cohort-card :focus-visible { outline-color: #fff; }
body.eps-body .eps-cohort-card .eps-btn--primary:hover { background: #fff; color: var(--eps-navy); }

/* ---- Coaching band --------------------------------------------------------- */
.eps-coaching { background: linear-gradient(135deg, var(--eps-teal-soft), #f4fbfa); border: 1px solid #c9ece7; border-radius: 28px; padding: 48px 44px; }
@media (max-width: 575px) { .eps-coaching { padding: 28px 22px; } }

/* ---- Testimonials ---------------------------------------------------------- */
.eps-testimonial { background: #fff; border: 1px solid var(--eps-border); border-radius: var(--eps-radius); padding: 28px; box-shadow: var(--eps-shadow); margin: 0; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.eps-testimonial blockquote { margin: 0; }
.eps-testimonial blockquote p { font-size: 17px; margin: 0; }
.eps-testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.eps-testimonial figcaption img { border-radius: 50%; object-fit: cover; }
.eps-testimonial__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--eps-navy); color: var(--eps-teal); font-weight: 800; display: grid; place-items: center; }
.eps-testimonial strong { display: block; color: var(--eps-navy); }
.eps-testimonial small { color: var(--eps-muted); }

/* ---- FAQ accordion --------------------------------------------------------- */
.eps-accordion .accordion-item { border: 1px solid var(--eps-border); border-radius: 14px !important; margin-bottom: 12px; overflow: hidden; background: #fff; }
.eps-accordion .accordion-button { font-weight: 700; font-size: 17.5px; color: var(--eps-navy); background: #fff; padding: 20px 24px; box-shadow: none; font-family: var(--eps-font); }
.eps-accordion .accordion-button:not(.collapsed) { background: var(--eps-teal-soft); color: var(--eps-navy); }
.eps-accordion .accordion-button:focus-visible { outline: 3px solid var(--eps-navy); outline-offset: -3px; }
.eps-accordion .accordion-body { padding: 4px 24px 22px; font-size: 16.5px; }
.eps-accordion .accordion-header { margin: 0; }

/* ---- Final CTA ------------------------------------------------------------- */
.eps-final-cta { padding-top: 40px; }
.eps-final-cta__inner { text-align: center; max-width: 820px; margin: 0 auto; border-top: 1px solid var(--eps-border); padding-top: 72px; }
.eps-final-cta__title { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; line-height: 1.12; margin: 0 0 20px; letter-spacing: -0.025em; }
.eps-final-cta__body { font-size: 19px; color: var(--eps-body); margin: 0 auto; max-width: 680px; }

/* ---- Inner page header ----------------------------------------------------- */
.eps-page-header { background: var(--eps-navy); color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden; }
.eps-page-header::after { content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 184, 166, .28), transparent); }
.eps-page-header .container { position: relative; z-index: 1; }
/* Admin-uploaded banner: the image sits under a navy layer so the white heading and teal links stay readable. */
.eps-page-header--image {
    background-color: var(--eps-navy);
    background-image: linear-gradient(rgba(11, 31, 58, var(--eps-banner-overlay, .84)), rgba(11, 31, 58, var(--eps-banner-overlay, .84))), var(--eps-banner-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.eps-page-header--image::after { display: none; }
body.eps-body .eps-page-header h1 { color: #fff; font-size: clamp(32px, 5vw, 50px); font-weight: 800; line-height: 1.12; margin: 0 0 16px; }
body.eps-body .eps-page-header p { color: rgba(255, 255, 255, .85); font-size: 19px; max-width: 720px; margin: 0; }
.eps-page-header .eps-eyebrow { color: var(--eps-teal); }
.eps-breadcrumb { font-size: 14px; margin-bottom: 16px; color: rgba(255, 255, 255, .7); }
body.eps-body .eps-breadcrumb a { color: var(--eps-teal); }

/* ---- Footer ---------------------------------------------------------------- */
.eps-footer { background: var(--eps-navy); color: #fff; }
.eps-footer__top { padding: 72px 0 48px; }
.eps-footer__about { color: rgba(255, 255, 255, .78) !important; margin: 18px 0 0; max-width: 320px; }
.eps-footer__title { font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff !important; margin: 0 0 18px; }
.eps-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
body.eps-body .eps-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
body.eps-body .eps-footer a:hover { color: var(--eps-teal); text-decoration: underline; }
body.eps-body .eps-footer :focus-visible { outline-color: #fff; }
.eps-footer__social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 22px 0 0; }
body.eps-body .eps-footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); display: grid; place-items: center; }
body.eps-body .eps-footer__social a:hover { background: var(--eps-teal); color: var(--eps-navy); border-color: var(--eps-teal); text-decoration: none; }
.eps-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding: 22px 0; }
.eps-footer__bottom p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .7) !important; }

/* ---- Forms ----------------------------------------------------------------- */
.eps-form-card { background: #fff; border: 1px solid var(--eps-border); border-radius: 24px; padding: 40px; box-shadow: var(--eps-shadow); }
@media (max-width: 575px) { .eps-form-card { padding: 22px 18px; border-radius: 18px; } }
.eps-field { margin-bottom: 22px; }
.eps-field > label, .eps-fieldset > legend { display: block; font-weight: 700; color: var(--eps-navy); margin-bottom: 6px; font-size: 16px; float: none; width: auto; padding: 0; }
.eps-field .eps-hint { font-size: 14px; color: var(--eps-muted); margin: 0 0 8px; }
.eps-req { color: #b91c1c; margin-left: 2px; }
.eps-input, .eps-select, .eps-textarea {
    width: 100%; background: #fff; color: var(--eps-body); border: 1.5px solid #c8d1dc; border-radius: 10px; padding: 13px 15px; font-size: 16px; /* 16px prevents iOS zoom */
    font-family: var(--eps-font); line-height: 1.4; transition: border-color .15s, box-shadow .15s; min-height: 50px;
}
.eps-textarea { min-height: 120px; resize: vertical; }
.eps-input:focus, .eps-select:focus, .eps-textarea:focus { border-color: var(--eps-navy); box-shadow: 0 0 0 3px rgba(20, 184, 166, .35); outline: none; }
.eps-input.is-invalid, .eps-select.is-invalid, .eps-textarea.is-invalid { border-color: #b91c1c; background: #fef7f7; }
.eps-error { color: #b91c1c !important; font-size: 14.5px; font-weight: 600; margin: 6px 0 0; display: flex; gap: 6px; align-items: flex-start; }
.eps-fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.eps-options { display: grid; gap: 10px; }
.eps-options--grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.eps-option { position: relative; }
.eps-option input { position: absolute; opacity: 0; width: 100%; height: 100%; left: 0; top: 0; margin: 0; cursor: pointer; }
.eps-option span { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1.5px solid #c8d1dc; border-radius: 10px; background: #fff; font-weight: 600; color: var(--eps-navy); min-height: 50px; transition: border-color .15s, background .15s; }
.eps-option span::before { content: ''; width: 20px; height: 20px; border: 2px solid #94a3b8; border-radius: 6px; flex: none; background: #fff; transition: all .15s; }
.eps-option--radio span::before { border-radius: 50%; }
.eps-option input:checked + span { border-color: var(--eps-navy); background: var(--eps-teal-soft); }
.eps-option input:checked + span::before { background: var(--eps-teal); border-color: var(--eps-navy); box-shadow: inset 0 0 0 3px #fff; }
.eps-option input:focus-visible + span { outline: 3px solid var(--eps-navy); outline-offset: 2px; }
.eps-consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.eps-consent input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--eps-navy); flex: none; }
.eps-consent label { font-weight: 500; }
.eps-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.eps-form-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.eps-form-actions .eps-btn { min-width: 150px; }
@media (max-width: 575px) { .eps-form-actions { flex-direction: column-reverse; align-items: stretch; } }

/* ---- Alerts ---------------------------------------------------------------- */
.eps-alert { border-radius: 12px; padding: 16px 20px; margin-bottom: 22px; border: 1px solid; display: flex; gap: 12px; align-items: flex-start; }
.eps-alert--error { background: #fef2f2; border-color: #fecaca; color: #7f1d1d; }
.eps-alert--error p, .eps-alert--error li { color: #7f1d1d !important; }
.eps-alert--success { background: var(--eps-teal-soft); border-color: #a7e3dc; color: #064e46; }
.eps-alert--info { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }
.eps-alert ul { margin: 6px 0 0; padding-left: 18px; }
.eps-alert p { margin: 0; }

/* ---- Application wizard ---------------------------------------------------- */
.eps-steps { list-style: none; padding: 0; margin: 0 0 34px; display: flex; gap: 6px; counter-reset: step; }
.eps-steps li { flex: 1; min-width: 0; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--eps-muted); position: relative; padding-top: 34px; }
.eps-steps li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; background: #e5eaf0; color: var(--eps-navy); display: grid; place-items: center; font-size: 13px; z-index: 1; }
.eps-steps li::after { content: ''; position: absolute; top: 13px; left: calc(50% + 18px); right: calc(-50% + 18px); height: 2px; background: #e5eaf0; }
.eps-steps li:last-child::after { display: none; }
.eps-steps li.is-done::before { background: var(--eps-teal); content: '\e92b'; font-family: 'feather'; }
.eps-steps li.is-done::after { background: var(--eps-teal); }
.eps-steps li.is-current { color: var(--eps-navy); }
.eps-steps li.is-current::before { background: var(--eps-navy); color: #fff; }
@media (max-width: 640px) { .eps-steps li span { display: none; } .eps-steps li.is-current span { display: block; position: absolute; top: 34px; left: 50%; transform: translateX(-50%); white-space: nowrap; } .eps-steps { margin-bottom: 52px; } }
.eps-step-title { font-size: 26px; font-weight: 800; margin: 0 0 6px; }
.eps-step-sub { color: var(--eps-muted) !important; margin: 0 0 26px; }
.eps-review { display: grid; gap: 22px; }
.eps-review section { border: 1px solid var(--eps-border); border-radius: 14px; padding: 18px 20px; }
.eps-review h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; display: flex; justify-content: space-between; }
.eps-review dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 8px; }
.eps-review dt { font-size: 13px; color: var(--eps-muted); font-weight: 600; }
.eps-review dd { margin: 0; font-weight: 600; white-space: pre-line; overflow-wrap: anywhere; }
.eps-review button.eps-edit { background: none; border: 0; color: var(--eps-teal-text); font-weight: 700; text-transform: none; letter-spacing: 0; cursor: pointer; padding: 0; font-size: 14px; }

/* ---- Confirmation ---------------------------------------------------------- */
.eps-confirm { max-width: 720px; margin: 0 auto; text-align: center; }
.eps-confirm__icon { width: 84px; height: 84px; border-radius: 50%; background: var(--eps-teal); color: var(--eps-navy); font-size: 40px; display: grid; place-items: center; margin: 0 auto 24px; }
.eps-confirm__ref { display: inline-block; margin: 20px 0; background: var(--eps-alt); border: 1px dashed #b7c3d1; border-radius: 12px; padding: 14px 26px; }
.eps-confirm__ref small { display: block; color: var(--eps-muted); font-weight: 600; }
.eps-confirm__ref strong { font-size: 24px; letter-spacing: .04em; color: var(--eps-navy); }
.eps-detail-list { text-align: left; background: #fff; border: 1px solid var(--eps-border); border-radius: 16px; padding: 8px 24px; margin: 26px 0; }
.eps-detail-list div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--eps-border); }
.eps-detail-list div:last-child { border: 0; }
.eps-detail-list dt { color: var(--eps-muted); font-weight: 600; }
.eps-detail-list dd { margin: 0; font-weight: 700; text-align: right; color: var(--eps-navy); }

/* ---- Booking (date + slots) ------------------------------------------------ */
.eps-type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 575px) { .eps-type-grid { grid-template-columns: 1fr; } }
.eps-type { position: relative; }
.eps-type input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.eps-type > span { display: block; border: 1.5px solid #c8d1dc; border-radius: 14px; padding: 16px 18px; background: #fff; height: 100%; transition: border-color .15s, background .15s; }
.eps-type strong { display: block; color: var(--eps-navy); }
.eps-type small { color: var(--eps-muted); }
.eps-type input:checked + span { border-color: var(--eps-navy); background: var(--eps-teal-soft); box-shadow: 0 0 0 1px var(--eps-navy); }
.eps-type input:focus-visible + span { outline: 3px solid var(--eps-navy); outline-offset: 2px; }
.eps-dates { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.eps-date { flex: none; scroll-snap-align: start; min-width: 74px; border: 1.5px solid #c8d1dc; background: #fff; border-radius: 14px; padding: 10px 8px; text-align: center; cursor: pointer; font-family: var(--eps-font); color: var(--eps-navy); }
.eps-date small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--eps-muted); font-weight: 700; }
.eps-date strong { display: block; font-size: 22px; line-height: 1.2; }
.eps-date em { font-style: normal; font-size: 12px; color: var(--eps-muted); }
.eps-date:hover { border-color: var(--eps-navy); }
.eps-date[aria-pressed='true'] { background: var(--eps-navy); border-color: var(--eps-navy); color: #fff; }
.eps-date[aria-pressed='true'] small, .eps-date[aria-pressed='true'] em { color: rgba(255, 255, 255, .75); }
.eps-date[disabled] { opacity: .4; cursor: not-allowed; background: var(--eps-alt); }
.eps-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.eps-slot { border: 1.5px solid #c8d1dc; background: #fff; border-radius: 10px; padding: 12px 8px; font-weight: 700; color: var(--eps-navy); cursor: pointer; font-family: var(--eps-font); font-size: 15.5px; min-height: 48px; }
.eps-slot:hover { border-color: var(--eps-navy); background: var(--eps-teal-soft); }
.eps-slot[aria-pressed='true'] { background: var(--eps-teal); border-color: var(--eps-navy); color: var(--eps-navy); box-shadow: 0 0 0 2px var(--eps-navy); }
.eps-empty { background: var(--eps-alt); border-radius: 12px; padding: 18px 20px; color: var(--eps-muted); }

/* ---- Contact blocks -------------------------------------------------------- */
.eps-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.eps-contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.eps-contact-list .eps-card__icon { margin: 0; flex: none; width: 46px; height: 46px; font-size: 20px; }
.eps-contact-list strong { display: block; color: var(--eps-navy); }

/* ---- Error pages ----------------------------------------------------------- */
.eps-error-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 60px 16px; }
.eps-error-page__code { font-size: clamp(80px, 16vw, 150px); font-weight: 800; color: var(--eps-navy); line-height: 1; letter-spacing: -0.04em; }
.eps-error-page__code span { color: var(--eps-teal); }

/* ---- Utility --------------------------------------------------------------- */
.eps-narrow { max-width: 860px; margin: 0 auto; }
.eps-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[wire\:loading] { display: none; }

/* ==========================================================================
   Refinements after visual review
   ========================================================================== */

/* Logo: keep the two wordmark lines apart (the template sets a fixed 80px line-height on .logo a) */
.eps-logo__text { gap: 4px; }
.eps-logo__name, .eps-logo__sub { display: block; }
.eps-logo__name { line-height: 1.05; }
.eps-logo__sub { line-height: 1.2; }
.eps-logo__mark { font-size: 34px; }

/* Hero meta row: the template resets li weights, so be explicit */
body.eps-body .eps-meta-row li { font-weight: 700; color: var(--eps-navy); }

/* Accordion chevron (template CSS drops Bootstrap's background-image icon) */
.eps-accordion .accordion-button::after { content: '\e92e'; font-family: 'feather'; background-image: none; width: auto; height: auto; font-size: 20px; color: var(--eps-navy); transform: none; transition: transform .2s ease; margin-left: auto; }
.eps-accordion .accordion-button:not(.collapsed)::after { transform: rotate(180deg); background-image: none; }

/* Instructor: compact placeholder photo */
.eps-instructor { grid-template-columns: 300px 1fr; }
.eps-instructor__initials { aspect-ratio: 1 / 1; font-size: 72px; }
.eps-instructor--placeholder { align-items: center; }

/* Coaching band aside */
.eps-coaching__aside { background: #fff; border: 1px solid #c9ece7; border-radius: 20px; padding: 26px 26px 20px; box-shadow: var(--eps-shadow); }
.eps-coaching__aside h3 { font-size: 18px; font-weight: 800; margin: 0 0 14px; }
.eps-coaching__aside ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: c; }
.eps-coaching__aside li { display: flex; gap: 14px; align-items: flex-start; }
.eps-coaching__aside li::before { counter-increment: c; content: counter(c); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--eps-navy); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.eps-coaching__aside li strong { display: block; color: var(--eps-navy); }
.eps-coaching__aside li span { font-size: 15px; color: var(--eps-muted); }

/* ---- Mobile header fixes ---------------------------------------------------- */
body.eps-body .hamberger-button { width: 42px; height: 42px; flex: none; }
.eps-header .header-right { flex-wrap: nowrap; justify-content: flex-end; gap: 12px; }
.eps-header .eps-btn { white-space: nowrap; }
.eps-header .eps-header-cta { margin-left: 0; }
@media (max-width: 991px) {
    .eps-header .eps-header-cta { margin-left: 0; }
    .eps-header .mobile-menu-bar { margin-left: 0; }
    body.eps-body .eps-header .logo a { height: 68px; }
}
@media (max-width: 400px) {
    .eps-logo__sub { letter-spacing: .1em; font-size: 10.5px; }
    .eps-logo__mark { width: 38px; height: 38px; font-size: 30px; }
    .eps-logo__name { font-size: 18px; }
}

/* Page header: eyebrow must stay small (the generic header <p> rule is larger) */
body.eps-body .eps-page-header p.eps-eyebrow { font-size: 13.5px; color: var(--eps-teal); margin: 0 0 12px; font-weight: 800; }
.eps-breadcrumb span[aria-hidden] { margin: 0 6px; }

/* Meta row: dot before every item so a wrapped line never starts with a stray bullet */
.eps-meta-row { gap: 6px 22px; }
.eps-meta-row li::before, .eps-meta-row li + li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--eps-teal); margin: 0 9px 0 0; display: inline-block; }

/* Consent checkboxes: undo the template's global "hide checkbox + draw on label" rule so they are real, visible controls */
.eps-consent input[type=checkbox] { opacity: 1; position: static; width: 22px; height: 22px; margin-top: 4px; accent-color: var(--eps-navy); flex: none; cursor: pointer; }
.eps-consent input[type=checkbox] ~ label { padding-left: 0; font-size: 16px; line-height: 1.5; color: var(--eps-body); cursor: pointer; }
.eps-consent input[type=checkbox] ~ label::before, .eps-consent input[type=checkbox] ~ label::after { content: none; display: none; }

/* Links inside running text must not rely on colour alone (WCAG 1.4.1) */
.eps-breadcrumb a, .eps-fineprint a, .eps-prose a, .eps-step-sub a, .eps-hint a, .eps-empty a, .eps-error a, .eps-alert a, .eps-confirm p a { text-decoration: underline; text-underline-offset: 3px; }
.eps-breadcrumb a:hover, .eps-fineprint a:hover { text-decoration-thickness: 2px; }

/* ---- Pop-up announcement (native dialog) ---------------------------------- */
.eps-announcement { border: 0; padding: 0; background: transparent; max-width: min(520px, calc(100vw - 32px)); width: 100%; overflow: visible; margin: auto; }
.eps-announcement::backdrop { background: rgba(11, 31, 58, .62); backdrop-filter: blur(2px); }
.eps-announcement[open] { animation: epsPop .28s ease-out; }
@keyframes epsPop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .eps-announcement[open] { animation: none; } }
.eps-announcement__panel { position: relative; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--eps-shadow-lg); max-height: calc(100vh - 32px); overflow-y: auto; }
.eps-announcement__img { display: block; width: 100%; max-height: 240px; object-fit: cover; }
.eps-announcement__body { padding: 28px 28px 26px; }
body.eps-body .eps-announcement__title { font-size: clamp(22px, 4vw, 28px); font-weight: 800; line-height: 1.2; margin: 0 40px 12px 0; }
.eps-announcement__text { font-size: 17px; margin: 0 0 20px; }
.eps-announcement__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.eps-announcement__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--eps-navy); font-size: 20px; display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(11,31,58,.18); }
.eps-announcement__close:hover { background: var(--eps-navy); color: #fff; }
@media (max-width: 575px) { .eps-announcement__actions .eps-btn { width: 100%; } .eps-announcement__body { padding: 22px 20px; } }

/* ---- Captcha ------------------------------------------------------------- */
.eps-captcha { background: var(--eps-alt); border: 1px solid var(--eps-border); border-radius: 12px; padding: 16px 18px; }
.eps-captcha > div > label, .eps-captcha legend { font-weight: 700; color: var(--eps-navy); font-size: 16px; margin-bottom: 8px; display: block; float: none; }
.eps-captcha__refresh { background: none; border: 0; padding: 0; margin-left: 6px; color: var(--eps-teal-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; font-family: inherit; }
.eps-captcha__refresh:hover { color: var(--eps-navy); }
.eps-captcha__ok { margin: 0; font-weight: 700; color: #0f5d56; display: flex; gap: 8px; align-items: center; }
.eps-captcha__ok i { color: var(--eps-teal-text); font-size: 20px; }

/* ---- Payment step ---------------------------------------------------------- */
.eps-payment-instructions { background: var(--eps-alt); border: 1px solid var(--eps-border); border-left: 4px solid var(--eps-teal); border-radius: 12px; padding: 16px 18px; font-size: 16px; overflow-wrap: anywhere; }
.eps-payment-instructions:focus-visible { outline: 3px solid var(--eps-navy); }
.eps-steps li.is-current:last-child::after { display: none; }
