/* ============================================================
 * Coach Marketing Site — Premium Public CSS
 * Brand colors are injected at <html> from BrandResolver.
 * Typography: Plus Jakarta Sans (display) + Inter (body) for a
 * modern, corporate-but-warm feel.
 * ============================================================ */

:root {
    --brand-primary: #6366F1;
    --brand-accent:  #8B5CF6;
    --brand-text:    #0F172A;
    --brand-muted:   #475569;
    --brand-soft:    #94A3B8;
    --brand-bg:      #FFFFFF;
    --brand-bg-soft: #F8FAFC;
    --brand-border:  #E2E8F0;
    --brand-grad:    linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    --brand-grad-soft: linear-gradient(135deg, color-mix(in srgb, var(--brand-primary) 8%, #fff) 0%, color-mix(in srgb, var(--brand-accent) 12%, #fff) 100%);

    --cs-radius-sm: 10px;
    --cs-radius:    16px;
    --cs-radius-lg: 24px;
    --cs-radius-xl: 32px;

    --cs-sh-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --cs-sh-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --cs-sh-lg: 0 20px 50px rgba(15, 23, 42, 0.14);
    --cs-sh-brand: 0 14px 36px rgba(99, 102, 241, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.cs-body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--brand-text);
    background: var(--brand-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.011em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-primary); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--brand-accent); }
::selection { background: color-mix(in srgb, var(--brand-primary) 22%, transparent); color: inherit; }

.cs-container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.cs-container--narrow { max-width: 820px; }
.cs-pad { padding: 96px 0; }
.cs-h2 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 42px; font-weight: 800;
    margin: 0 0 14px;
    letter-spacing: -0.025em; line-height: 1.15;
    color: var(--brand-text);
}
.cs-lead { color: var(--brand-muted); font-size: 18px; margin: 0; max-width: 680px; line-height: 1.65; }
.cs-eyebrow {
    display: inline-block;
    color: var(--brand-primary);
    font-size: 11.5px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    margin: 0 0 12px;
    padding: 6px 14px;
    background: color-mix(in srgb, var(--brand-primary) 10%, transparent);
    border-radius: 999px;
}
.cs-section-head { text-align: center; margin: 0 auto 56px; max-width: 760px; }
.cs-section-head .cs-lead { margin: 0 auto; }
.cs-empty {
    text-align: center; padding: 70px 24px;
    color: var(--brand-soft);
    background: var(--brand-bg-soft);
    border-radius: var(--cs-radius);
    font-size: 14px;
}
.cs-prose { color: var(--brand-text); line-height: 1.7; }
.cs-prose p { margin: 0 0 14px; }
.cs-prose strong { color: var(--brand-text); }

/* ── Buttons ─────────────────────────────────────────────────────── */
.cs-btn {
    display: inline-flex; align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 600; font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s, filter 0.2s;
    text-decoration: none;
    font-family: inherit;
    letter-spacing: -0.005em;
    line-height: 1;
}
.cs-btn:hover { text-decoration: none; transform: translateY(-2px); }
.cs-btn--primary {
    background: var(--brand-grad);
    color: #fff;
    box-shadow: var(--cs-sh-brand);
}
.cs-btn--primary:hover { color: #fff; filter: brightness(1.08); box-shadow: 0 18px 44px rgba(99, 102, 241, 0.35); }
.cs-btn--invert { background: #fff; color: var(--brand-primary); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12); }
.cs-btn--invert:hover { color: var(--brand-accent); }
.cs-btn--outline { background: transparent; color: var(--brand-text); border: 2px solid var(--brand-border); }
.cs-btn--outline:hover { border-color: var(--brand-text); }
.cs-btn--sm { padding: 9px 18px; font-size: 13.5px; }
.cs-btn--lg { padding: 16px 34px; font-size: 16px; }

/* ── Top nav ─────────────────────────────────────────────────────── */
.cs-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--brand-border);
}
.cs-nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; gap: 28px; }
.cs-nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.cs-nav__brand img { max-height: 40px; }
.cs-nav__brand span {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 800; font-size: 20px; color: var(--brand-text);
    letter-spacing: -0.02em;
}
.cs-nav__links { display: flex; gap: 32px; align-items: center; }
.cs-nav__links a { color: var(--brand-text); font-weight: 500; font-size: 15px; letter-spacing: -0.005em; position: relative; }
.cs-nav__links a::after {
    content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
    height: 2px; background: var(--brand-grad); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform 0.2s;
}
.cs-nav__links a:hover::after, .cs-nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.cs-nav__links a[aria-current="page"] { color: var(--brand-primary); }
/* ── Font Awesome 6 → 5 shim ──────────────────────────────────────────
   The platform bundles Font Awesome 5 (fontawesome-all.min.css) but the
   coach-site templates author with Font Awesome 6 syntax (fa-solid,
   fa-cart-shopping, fa-circle-check, etc.). Without this shim those
   classes render NOTHING — students saw an invisible cart icon with a
   floating badge. Mapping FA6 family + icon names to their FA5
   equivalents keeps both class styles working until/unless the platform
   adopts FA6 directly. */
.fa-solid, .fa-regular { font-family: 'Font Awesome 5 Free' !important; }
.fa-solid { font-weight: 900; }
.fa-regular { font-weight: 400; }
.fa-brands { font-family: 'Font Awesome 5 Brands' !important; font-weight: 400; }
/* FA6 icon names that don't exist in FA5 — alias to FA5 unicode points. */
.fa-cart-shopping::before        { content: '\f07a'; }   /* FA5: fa-shopping-cart */
.fa-circle-check::before         { content: '\f058'; }   /* FA5: fa-check-circle */
.fa-triangle-exclamation::before { content: '\f071'; }   /* FA5: fa-exclamation-triangle */
.fa-circle-notch::before         { content: '\f1ce'; }   /* same in both */

/* Cart icon in the coach-site header — visible on every page so the
   student always has a clear path to checkout once they've added a course. */
.cs-nav__cart {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: 999px;
    background: transparent;
    color: var(--brand-text);
    font-size: 17px;
    transition: background 0.15s, color 0.15s, transform 0.15s;
    text-decoration: none;
    margin-right: 4px;
}
.cs-nav__cart:hover {
    background: color-mix(in srgb, var(--brand-primary) 10%, transparent);
    color: var(--brand-primary);
    transform: translateY(-1px);
}
.cs-nav__cart-count {
    position: absolute;
    top: -4px; right: -4px;
    min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 999px;
    background: var(--brand-primary, #6366F1);
    color: #fff;
    font-size: 10.5px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.35);
    line-height: 1;
}
.cs-nav__cart-count.is-zero { display: none; }
.cs-nav__cart { background: transparent; border: 0; cursor: pointer; }

/* ── Slide-out cart drawer ─────────────────────────────────────────
   Keeps the student inside the coach-branded experience after
   Add-to-cart. Only the final Checkout button leaves the coach site. */
.cs-cart-overlay {
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0; pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 998;
}
.cs-cart-drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(420px, 92vw);
    background: #fff;
    box-shadow: -16px 0 40px rgba(15, 23, 42, 0.12);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 999;
    display: flex; flex-direction: column;
}
.cs-cart-open .cs-cart-overlay { opacity: 1; pointer-events: auto; }
.cs-cart-open .cs-cart-drawer { transform: translateX(0); }
.cs-cart-open { overflow: hidden; }
.cs-cart-drawer__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid #E5E7EB;
}
.cs-cart-drawer__head h3 { margin: 0; font-size: 18px; font-weight: 700; color: var(--brand-text, #0F172A); }
.cs-cart-drawer__count { color: var(--brand-muted, #6B7280); font-weight: 500; font-size: 14px; margin-left: 4px; }
.cs-cart-drawer__close {
    width: 32px; height: 32px; border: 0;
    border-radius: 8px;
    background: #F3F4F6;
    font-size: 22px; line-height: 1;
    cursor: pointer; color: #6B7280;
}
.cs-cart-drawer__close:hover { background: #E5E7EB; color: #111827; }
.cs-cart-drawer__body {
    flex: 1 1 auto; overflow-y: auto;
    padding: 12px 18px;
}
.cs-cart-drawer__empty {
    text-align: center; padding: 60px 20px;
    color: var(--brand-muted, #6B7280);
}
.cs-cart-drawer__empty i { font-size: 38px; color: #D1D5DB; margin-bottom: 14px; display: block; }
.cs-cart-drawer__empty p { font-size: 16px; font-weight: 600; color: #111827; margin: 0 0 6px; }
.cs-cart-drawer__empty small { font-size: 13px; }
.cs-cart-drawer__item {
    display: flex; gap: 12px;
    padding: 12px 4px;
    border-bottom: 1px solid #F3F4F6;
}
.cs-cart-drawer__item img,
.cs-cart-drawer__placeholder {
    width: 70px; height: 50px;
    object-fit: cover;
    border-radius: 8px;
    background: #F3F4F6;
    flex: 0 0 70px;
    display: flex; align-items: center; justify-content: center;
    color: #9CA3AF;
}
.cs-cart-drawer__meta { flex: 1 1 auto; min-width: 0; }
.cs-cart-drawer__meta h4 {
    margin: 0 0 4px; font-size: 14px; font-weight: 600;
    color: var(--brand-text, #0F172A);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cs-cart-drawer__price { font-size: 14px; font-weight: 700; color: var(--brand-primary, #6366F1); }
.cs-cart-drawer__foot {
    border-top: 1px solid #E5E7EB;
    padding: 18px 22px;
    background: #FAFAFA;
}
.cs-cart-drawer__total {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 14px;
}
.cs-cart-drawer__total span { color: #6B7280; font-size: 14px; }
.cs-cart-drawer__total strong { font-size: 20px; font-weight: 800; color: var(--brand-text, #0F172A); }
.cs-cart-drawer__checkout {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%;
    padding: 13px 20px;
    font-weight: 600; font-size: 15px;
    text-decoration: none;
}
.cs-cart-drawer__view-full {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: var(--brand-muted, #6B7280);
    text-decoration: none;
}
.cs-cart-drawer__view-full:hover { color: var(--brand-primary, #6366F1); }
.cs-nav__toggle { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--brand-text); }
.cs-nav-open .cs-nav__links { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 20px 28px; border-bottom: 1px solid var(--brand-border); gap: 14px; }

/* ── Hero ────────────────────────────────────────────────────────── */
.cs-hero {
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    background: var(--brand-grad-soft);
}
.cs-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 15% 30%, color-mix(in srgb, var(--brand-primary) 14%, transparent) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, color-mix(in srgb, var(--brand-accent) 14%, transparent) 0%, transparent 50%);
    pointer-events: none;
}
/* Image-background hero: white text by default ONLY when explicitly
   flagged with cs-hero--image-bg class. Coach's _text_color in inline
   style overrides this rule via specificity (inline always wins). */
.cs-hero.cs-hero--image-bg { color: #fff; }
.cs-hero.cs-hero--image-bg .cs-hero__headline,
.cs-hero.cs-hero--image-bg .cs-hero__subhead { color: #fff; }
.cs-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; position: relative; z-index: 1; }
.cs-hero--text-image-left .cs-hero__grid { grid-template-columns: 1fr 1.05fr; }
.cs-hero--text-image-left .cs-hero__image { order: -1; }
.cs-hero--text-center .cs-hero__grid { grid-template-columns: 1fr; text-align: center; }
.cs-hero--text-center .cs-hero__text { margin: 0 auto; max-width: 760px; }
.cs-hero__headline {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 62px; line-height: 1.05;
    margin: 0 0 22px;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--brand-text);
}
.cs-hero__subhead { font-size: 20px; color: var(--brand-muted); margin: 0 0 36px; line-height: 1.6; max-width: 540px; }
.cs-hero__image img { border-radius: var(--cs-radius-lg); 
/*box-shadow: var(--cs-sh-lg);*/
}

/* ── About ───────────────────────────────────────────────────────── */
.cs-about__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 70px; align-items: center; }
.cs-about__image img { border-radius: var(--cs-radius-lg); box-shadow: var(--cs-sh-md); }
.cs-creds { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.cs-creds li { color: var(--brand-text); font-weight: 500; display: flex; align-items: center; gap: 12px; }
.cs-creds i {
    width: 26px; height: 26px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--brand-primary) 12%, transparent);
    color: var(--brand-primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* ── Generic grid ────────────────────────────────────────────────── */
.cs-grid { display: grid; gap: 28px; }
.cs-grid--1 { grid-template-columns: 1fr; }
.cs-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cs-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cs-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ── Cards (services, generic) ───────────────────────────────────── */
.cs-card {
    background: #fff;
    border-radius: var(--cs-radius-lg);
    overflow: hidden;
    box-shadow: var(--cs-sh-sm);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s;
    border: 1px solid var(--brand-border);
    display: flex; flex-direction: column;
}
.cs-card:hover { transform: translateY(-6px); box-shadow: var(--cs-sh-lg); border-color: color-mix(in srgb, var(--brand-primary) 25%, var(--brand-border)); }
.cs-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-bg-soft); display: block; }
.cs-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.cs-card:hover .cs-card__media img { transform: scale(1.06); }
.cs-card__body { padding: 26px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.cs-card__title { font-size: 19px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.015em; font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; }
.cs-card__desc { color: var(--brand-muted); font-size: 14.5px; margin: 0 0 20px; line-height: 1.6; flex: 1; }
.cs-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.cs-price {
    font-size: 24px; font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: -0.02em;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* ── Testimonials ────────────────────────────────────────────────── */
.cs-quote {
    background: linear-gradient(180deg, #FFFFFF 0%, var(--brand-bg-soft) 100%);
    padding: 32px;
    border-radius: var(--cs-radius-lg);
    position: relative;
    border: 1px solid var(--brand-border);
    box-shadow: var(--cs-sh-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}
.cs-quote:hover { transform: translateY(-4px); box-shadow: var(--cs-sh-md); }
.cs-quote__icon { position: absolute; top: 26px; right: 28px; font-size: 38px; color: var(--brand-primary); opacity: 0.18; }
.cs-stars { color: #F59E0B; margin-bottom: 14px; display: flex; gap: 2px; }
.cs-quote__text { font-size: 16px; line-height: 1.75; margin: 0 0 22px; color: var(--brand-text); font-style: italic; }
.cs-quote__author { display: flex; align-items: center; gap: 14px; }
.cs-quote__author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: var(--cs-sh-sm); }
.cs-quote__author strong { display: block; font-weight: 700; font-size: 14.5px; }
.cs-quote__author span { font-size: 13px; color: var(--brand-muted); }

/* ── YouTube + video gallery ─────────────────────────────────────── */
.cs-video { display: flex; flex-direction: column; gap: 14px; }
.cs-video__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--cs-radius);
    background: #000;
    box-shadow: var(--cs-sh-md);
    transition: transform 0.25s, box-shadow 0.25s;
    display: block;
    cursor: pointer;
}
.cs-video__iframe { width: 100%; height: 100%; border: 0; display: block; }
.cs-video__loading {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff; background: rgba(15, 23, 42, 0.78); z-index: 2;
}
.cs-video__loading i { font-size: 28px; color: var(--brand-accent, #8B5CF6); }
.cs-video__thumb:hover { transform: translateY(-4px); box-shadow: var(--cs-sh-lg); }
.cs-video__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.cs-video__thumb:hover img { transform: scale(1.06); }
.cs-video__play {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);
    transition: background 0.2s;
}
.cs-video__play::after {
    content: '\f04b';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 22px;
    width: 64px; height: 64px;
    background: var(--brand-grad);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.5);
    transition: transform 0.2s;
}
.cs-video__thumb:hover .cs-video__play::after { transform: scale(1.1); }
.cs-video__play i { display: none; }   /* hidden — using ::after */
.cs-video__player { padding: 0; }
.cs-video__player iframe, .cs-video__player video { width: 100%; height: 100%; border: 0; display: block; }
.cs-video__title { font-size: 16px; font-weight: 700; margin: 0; letter-spacing: -0.015em; }
.cs-video__desc { font-size: 14px; color: var(--brand-muted); margin: 0; line-height: 1.55; }

/* ── Stats ───────────────────────────────────────────────────────── */
.cs-stat {
    text-align: center;
    padding: 40px 22px;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--brand-bg-soft) 100%);
    border-radius: var(--cs-radius-lg);
    border: 1px solid var(--brand-border);
    box-shadow: var(--cs-sh-sm);
    transition: transform 0.2s;
}
.cs-stat:hover { transform: translateY(-4px); }
.cs-stat__icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: var(--brand-grad);
    color: #fff;
    margin: 0 auto 20px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px;
    box-shadow: var(--cs-sh-brand);
}
.cs-stat__num {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 52px; font-weight: 800;
    color: var(--brand-text);
    letter-spacing: -0.035em;
    line-height: 1;
}
.cs-stat__num small { font-size: 30px; color: var(--brand-primary); margin-left: 2px; }
.cs-stat__label { color: var(--brand-muted); font-weight: 500; margin-top: 10px; font-size: 14.5px; }

/* ── FAQ accordion ───────────────────────────────────────────────── */
.cs-accordion { display: grid; gap: 14px; }
.cs-acc__item {
    background: #fff;
    border: 1.5px solid var(--brand-border);
    border-radius: var(--cs-radius);
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.cs-acc__item:hover { border-color: color-mix(in srgb, var(--brand-primary) 30%, var(--brand-border)); }
.cs-acc__item[open] { border-color: var(--brand-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-primary) 12%, transparent); }
.cs-acc__q {
    padding: 22px 28px;
    font-weight: 600; font-size: 15.5px;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
    list-style: none;
    color: var(--brand-text);
    letter-spacing: -0.01em;
}
.cs-acc__q::-webkit-details-marker { display: none; }
.cs-acc__chev {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: var(--brand-bg-soft);
    color: var(--brand-muted);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px;
    transition: transform 0.25s, background 0.2s, color 0.2s;
    flex-shrink: 0;
}
.cs-acc__item[open] .cs-acc__chev { transform: rotate(180deg); background: var(--brand-grad); color: #fff; }
.cs-acc__a { padding: 4px 28px 26px; color: var(--brand-muted); line-height: 1.7; font-size: 15px; }

/* ── Lead form ───────────────────────────────────────────────────── */
.cs-leadform {
    background: linear-gradient(180deg, var(--brand-bg-soft) 0%, #FFFFFF 100%);
}
.cs-form {
    background: #fff;
    padding: 44px;
    border-radius: var(--cs-radius-lg);
    border: 1px solid var(--brand-border);
    box-shadow: var(--cs-sh-md);
}
.cs-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.cs-field { display: flex; flex-direction: column; gap: 7px; }
.cs-field--textarea { grid-column: 1 / -1; }
.cs-label { font-size: 13px; font-weight: 600; color: var(--brand-text); letter-spacing: -0.005em; }
.cs-req { color: #EF4444; }
.cs-field input, .cs-field select, .cs-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--brand-border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    background: #fff;
    color: var(--brand-text);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.cs-field input:focus, .cs-field select:focus, .cs-field textarea:focus {
    outline: 0;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-primary) 18%, transparent);
}
.cs-form__success {
    display: none;
    padding: 16px 22px;
    background: #ECFDF5; color: #065F46;
    border: 1px solid #A7F3D0;
    border-radius: 12px;
    margin: 18px 0 0;
    font-weight: 500;
}
.cs-form__success--show { display: block; }

/* ── CTA banner ──────────────────────────────────────────────────── */
.cs-cta { padding: 80px 0; position: relative; overflow: hidden; }
.cs-cta--brand {
    background: var(--brand-grad);
    color: #fff;
}
.cs-cta--brand::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 10% 30%, rgba(255,255,255,.18) 0%, transparent 50%),
        radial-gradient(circle at 90% 70%, rgba(255,255,255,.10) 0%, transparent 50%);
    pointer-events: none;
}
.cs-cta--dark { background: #0F172A; color: #fff; }
.cs-cta--light { background: var(--brand-bg-soft); color: var(--brand-text); }
.cs-cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; position: relative; z-index: 1; }
.cs-cta__h { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 36px; margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
.cs-cta__sub { margin: 8px 0 0; opacity: 0.92; font-size: 16px; line-height: 1.55; }

/* ── Contact ─────────────────────────────────────────────────────── */
.cs-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.cs-contact__line { display: flex; gap: 16px; align-items: flex-start; margin: 0 0 18px; }
.cs-contact__line i {
    width: 36px; height: 36px;
    border-radius: 11px;
    background: color-mix(in srgb, var(--brand-primary) 10%, transparent);
    color: var(--brand-primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.cs-contact__line a { color: var(--brand-text); }
.cs-contact__line a:hover { color: var(--brand-primary); }
.cs-contact__map iframe { width: 100%; height: 400px; border-radius: var(--cs-radius-lg); box-shadow: var(--cs-sh-md); }

/* ── Footer ──────────────────────────────────────────────────────── */
.cs-footer {
    background: #0F172A;
    color: #94A3B8;
    padding: 70px 0 0;
    margin-top: 40px;
}
.cs-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 50px; padding-bottom: 50px; }
.cs-footer__logo { max-height: 52px; margin-bottom: 16px; }
.cs-footer__name { color: #fff; font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 24px; margin: 0 0 14px; font-weight: 800; letter-spacing: -0.02em; }
.cs-footer__tag { color: #CBD5E1; font-size: 14px; line-height: 1.6; max-width: 320px; }
.cs-footer__col h4 { color: #fff; font-size: 12.5px; text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 18px; font-weight: 700; }
.cs-footer__links { list-style: none; padding: 0; margin: 0; }
.cs-footer__links li { margin-bottom: 12px; }
.cs-footer__links a { color: #CBD5E1; font-size: 14px; transition: color 0.15s; }
.cs-footer__links a:hover { color: #fff; }
.cs-footer__bar { border-top: 1px solid #1E293B; padding: 24px 0; }
.cs-footer__bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.cs-footer__bar-inner span { color: #64748B; font-size: 13px; }

/* ── Recorded courses (with 60s preview player) ───────────────────── */
.cs-rec__grid { gap: 30px; }
.cs-rec__card {
    background: #fff;
    border-radius: var(--cs-radius-lg);
    overflow: hidden;
    box-shadow: var(--cs-sh-sm);
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid var(--brand-border);
    display: flex; flex-direction: column;
}
.cs-rec__card:hover { transform: translateY(-6px); box-shadow: var(--cs-sh-lg); }

.cs-rec__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}
.cs-rec__media video,
.cs-rec__media iframe,
.cs-rec__poster {
    width: 100%; height: 100%; display: block;
    object-fit: cover;
}
.cs-rec__thumb-link img { width: 100%; height: 100%; object-fit: cover; }

.cs-rec__play {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
    color: #fff;
    border: 0; cursor: pointer;
    font-family: inherit; font-weight: 600; font-size: 14px;
    transition: background 0.2s;
}
.cs-rec__play:hover { background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.65) 100%); }
.cs-rec__play i {
    width: 76px; height: 76px; border-radius: 50%;
    background: var(--brand-grad);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 28px;
    box-shadow: 0 14px 36px rgba(99, 102, 241, 0.45);
    transition: transform 0.2s;
}
.cs-rec__play:hover i { transform: scale(1.08); }
.cs-rec__play span {
    background: rgba(0,0,0,0.55);
    padding: 6px 14px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    letter-spacing: -0.005em;
}

.cs-rec__overlay {
    position: absolute; inset: 0;
    background: rgba(15, 23, 42, 0.88);
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(8px);
    color: #fff;
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s;
    z-index: 5;
}
.cs-rec__overlay--show { opacity: 1; pointer-events: auto; }
.cs-rec__overlay-content { text-align: center; padding: 28px; max-width: 90%; }
.cs-rec__overlay-ic {
    width: 60px; height: 60px;
    background: var(--brand-grad);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
    box-shadow: var(--cs-sh-brand);
}
.cs-rec__overlay h3 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 22px; font-weight: 800;
    margin: 0 0 6px;
    letter-spacing: -0.015em;
    color: #fff;
}
.cs-rec__overlay p { font-size: 14px; color: #CBD5E1; margin: 0 0 18px; }

.cs-rec__body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.cs-rec__title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 17px; font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: -0.015em;
    line-height: 1.3;
}
.cs-rec__meta {
    display: flex; gap: 14px; font-size: 13px;
    color: var(--brand-muted);
    margin-bottom: 14px; flex-wrap: wrap;
}
.cs-rec__rating { color: #F59E0B; font-weight: 600; }
.cs-rec__rating i { margin-right: 4px; }
.cs-rec__students i { margin-right: 4px; color: var(--brand-soft); }
.cs-rec__foot {
    margin-top: auto;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--brand-border);
}
.cs-rec__price {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 22px; font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: -0.02em;
}
/* Free-preview chip — sits over the thumbnail so the 60s rule is
   visible BEFORE the user clicks anything. */
.cs-rec__preview-chip {
    position: absolute;
    top: 12px; left: 12px;
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(15, 23, 42, 0.78);
    color: #fff;
    font-size: 11.5px; font-weight: 600;
    padding: 4px 9px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    letter-spacing: 0.01em;
    z-index: 3;
    pointer-events: none;
}
.cs-rec__preview-chip i { font-size: 11px; }
/* Embedded YouTube/Vimeo iframe must fill the media area exactly. */
.cs-rec__iframe { width: 100%; height: 100%; border: 0; display: block; }
/* Spinner shown while the preview iframe is fetching. */
.cs-rec__player-loading,
.cs-rec__player-error {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    color: #fff; font-size: 14px; font-weight: 500;
    background: rgba(15, 23, 42, 0.78);
    text-align: center; padding: 16px;
    z-index: 2;
}
.cs-rec__player-loading i { font-size: 22px; color: var(--brand-accent, #8B5CF6); }
.cs-rec__player-error i   { font-size: 22px; color: #F59E0B; }
.cs-rec__price--muted { color: var(--brand-muted); font-weight: 600; font-size: 14px; }
/* Disabled-state for the cart button during the AJAX flight */
.cs-btn[disabled] { opacity: 0.7; cursor: progress; }
.cs-rec__yt-course {
    font-size: 12.5px;
    color: var(--brand-muted);
    margin: 0 0 14px;
    padding: 8px 12px;
    background: color-mix(in srgb, var(--brand-primary) 6%, transparent);
    border-left: 3px solid var(--brand-primary);
    border-radius: 6px;
    line-height: 1.4;
}
.cs-rec__yt-course i { color: var(--brand-primary); margin-right: 4px; }
.cs-rec__yt-course strong { color: var(--brand-text); }

/* ── Footer social icons ──────────────────────────────────────────── */
.cs-footer__social { display: flex; gap: 10px; margin-top: 20px; }
.cs-footer__social a {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #CBD5E1;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}
.cs-footer__social a:hover { background: var(--brand-grad); color: #fff; transform: translateY(-2px); box-shadow: var(--cs-sh-brand); }

/* ── Floating action buttons (WhatsApp + sticky CTA) ────────────── */
.cs-float-btn {
    position: fixed; bottom: 24px; right: 24px;
    width: 56px; height: 56px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 26px; color: #fff !important;
    z-index: 999;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s, box-shadow 0.2s;
}
.cs-float-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25); }
.cs-float-btn--whatsapp { background: #25D366; }
.cs-float-cta {
    position: fixed; bottom: 24px; right: 96px;     /* sits to left of WhatsApp */
    padding: 13px 22px; border-radius: 999px;
    background: var(--brand-grad);
    color: #fff !important;
    font-weight: 600; font-size: 14px;
    display: inline-flex; align-items: center; gap: 9px;
    z-index: 998;
    box-shadow: var(--cs-sh-brand);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    text-decoration: none;
}
.cs-float-cta:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(99, 102, 241, 0.40); filter: brightness(1.05); color: #fff !important; }
@media (max-width: 640px) {
    .cs-float-cta {
        bottom: 88px;       /* stack above WhatsApp on mobile */
        right: 24px;
    }
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .cs-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .cs-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .cs-hero__grid, .cs-about__grid, .cs-contact__grid, .cs-footer__grid { grid-template-columns: 1fr; gap: 48px; }
    .cs-hero__headline { font-size: 46px; }
    .cs-hero__image { max-width: 500px; margin: 0 auto; }
    .cs-h2 { font-size: 34px; }
    .cs-cta__h { font-size: 28px; }
}
@media (max-width: 640px) {
    .cs-pad { padding: 64px 0; }
    .cs-container { padding: 0 20px; }
    .cs-hero { padding: 64px 0; }
    .cs-hero__headline { font-size: 36px; }
    .cs-hero__subhead { font-size: 17px; }
    .cs-h2 { font-size: 28px; }
    .cs-grid--3, .cs-grid--2 { grid-template-columns: 1fr; }
    .cs-form { padding: 28px 22px; }
    .cs-form__grid { grid-template-columns: 1fr; gap: 16px; }
    .cs-cta { padding: 56px 0; }
    .cs-cta__inner { flex-direction: column; align-items: flex-start; text-align: left; }
    .cs-cta__h { font-size: 26px; }
    .cs-nav__links { display: none; }
    .cs-nav__toggle { display: inline-block; }
    .cs-section-head { margin-bottom: 36px; }
    .cs-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .cs-stat__num { font-size: 42px; }
    .cs-contact__map iframe { height: 280px; }
}
