/* ============================================================
   WOW THEME — CLASSES & SYLLABUS PAGE STYLES
   ============================================================ */

/* ----------------------------------------------------------
   HERO — matches site hero style
---------------------------------------------------------- */
.cs-hero {
    background: var(--color-white);
    overflow: hidden;
    padding-block: var(--space-16);
    position: relative;
    text-align: center;
}

.cs-hero__glitter {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.07;
    mix-blend-mode: screen;
    pointer-events: none;
}

.cs-hero__inner {
    position: relative;
    z-index: 1;
}

.cs-hero__title {
    font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl));
    color: var(--color-navy);
    margin-bottom: var(--space-2);
}

.cs-hero__sub {
    font-size: var(--text-lg);
    color: var(--color-navy-80);
}

/* ----------------------------------------------------------
   QUIZ BLOCK — yellow-pink gradient, white card
---------------------------------------------------------- */
.cs-quiz {
    background: var(--grad-yellow-pink);
    padding-block: var(--space-16);
    position: relative;
    overflow: hidden;
}

.cs-quiz__bokeh {
    position: absolute;
    inset: -40px;
    width: calc(100% + 80px);
    height: calc(100% + 80px);
    object-fit: cover;
    opacity: 0.2;
    mix-blend-mode: screen;
    pointer-events: none;
}

.cs-quiz__card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card-hover);
    padding: var(--space-10) var(--space-12);
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cs-quiz__label {
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: var(--text-sm);
    color: var(--color-navy-60);
    margin-bottom: var(--space-3);
}

.cs-quiz__title {
    font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
    color: var(--color-navy);
    margin-bottom: var(--space-6);
    line-height: 1.1;
}

/* ----------------------------------------------------------
   LEVEL BREAKDOWNS
---------------------------------------------------------- */
.cs-levels {
    background: var(--color-white);
    padding-block: var(--space-20);
}

.cs-levels__title {
    text-align: center;
    margin-bottom: var(--space-10);
}

.cs-levels__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
    align-items: stretch;
}

.cs-level-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cs-level-card__header {
    padding: var(--space-5) var(--space-5) var(--space-3);
    text-align: center;
    border-bottom: 1px solid var(--color-navy-20);
}

.cs-level-card__label {
    font-family: var(--font-primary);
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: var(--text-sm);
    color: var(--color-navy-60);
    margin-bottom: var(--space-1);
}

.cs-level-card__name {
    font-family: var(--font-primary);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    font-size: var(--text-xl);
    color: var(--color-navy);
    line-height: 1.1;
    margin-bottom: var(--space-1);
}

.cs-level-card__time {
    font-size: var(--text-sm);
    color: var(--color-navy-60);
    font-style: italic;
    margin-top: var(--space-1);
}

.cs-level-card__body {
    padding: var(--space-5) var(--space-5);
    font-size: var(--text-base);
    color: var(--color-navy-80);
    line-height: 1.6;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* ----------------------------------------------------------
   SYLLABUS SCHEDULE — expandable by month
---------------------------------------------------------- */
.cs-syllabus {
    background: var(--color-white);
    padding-block: var(--space-20);
    position: relative;
    overflow: hidden;
}

.cs-syllabus__glitter {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.06;
    mix-blend-mode: screen;
    pointer-events: none;
}

.cs-syllabus__inner {
    position: relative;
    z-index: 1;
}

.cs-syllabus__title {
    text-align: center;
    color: var(--color-navy);
    margin-bottom: var(--space-10);
}

.cs-syllabus__months {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: 860px;
    margin-inline: auto;
}

.cs-syllabus__month {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.cs-syllabus__month-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    font-family: var(--font-primary);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: var(--text-base);
    color: var(--color-navy);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background var(--transition-fast);
}

.cs-syllabus__month-trigger:hover {
    background: var(--color-navy-20);
}

.cs-syllabus__month-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
    color: var(--color-navy);
    transition: transform var(--transition-base);
}

.cs-syllabus__month-icon::before,
.cs-syllabus__month-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    top: 50%;
    left: 50%;
}

.cs-syllabus__month-icon::before {
    width: 12px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.cs-syllabus__month-icon::after {
    width: 2px;
    height: 12px;
    transform: translate(-50%, -50%);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.cs-syllabus__month.is-open .cs-syllabus__month-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.cs-syllabus__month-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 350ms ease;
}

.cs-syllabus__table {
    width: 100%;
    border-collapse: collapse;
}

.cs-syllabus__table th {
    background: var(--color-navy);
    color: var(--color-white);
    font-family: var(--font-primary);
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-4);
    text-align: left;
}

.cs-syllabus__table td {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    color: var(--color-navy);
    border-bottom: 1px solid var(--color-navy-20);
}

.cs-syllabus__table tr:last-child td {
    border-bottom: none;
}

.cs-syllabus__table tr:nth-child(even) td {
    background: var(--color-navy-20);
}

.cs-syllabus__table .special {
    font-style: italic;
    color: var(--color-navy-60);
}

/* ----------------------------------------------------------
   SCHEDULE & PRICING
---------------------------------------------------------- */
.cs-schedule {
    background: var(--grad-primary);
    padding-block: var(--space-20);
    position: relative;
    overflow: hidden;
}

.cs-schedule__glitter {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.06;
    mix-blend-mode: screen;
    pointer-events: none;
}

.cs-schedule__title {
    color: var(--color-white);
    text-shadow: 2px 2px 0 rgba(4,42,93,0.3), 0 4px 16px rgba(4,42,93,0.2);
}

.cs-schedule__location-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: var(--space-4) var(--space-5);
    margin-bottom: var(--space-4);
}

.cs-schedule__title {
    text-align: center;
    margin-bottom: var(--space-10);
}

.cs-schedule__location-card p {
    font-size: var(--text-sm);
    color: var(--color-navy-80);
}

.cs-schedule__location-card a {
    color: var(--color-navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cs-schedule__inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-8);
    align-items: start;
    max-width: 960px;
    margin-inline: auto;
}



/* Schedule grid — reuses home schedule styles */
.schedule-grid {
    padding: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

/* Pricing table */
.cs-pricing-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cs-pricing {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.cs-pricing-actions {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: var(--space-4);
}

.cs-pricing__header {
    background: var(--color-navy);
    padding: var(--space-3) var(--space-5);
    text-align: center;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.cs-pricing__header p {
    font-family: var(--font-primary);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: var(--text-sm);
    color: var(--color-white);
}

.cs-pricing__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) var(--space-5);
    border-bottom: 1px solid var(--color-navy-20);
    font-size: var(--text-sm);
    gap: var(--space-4);
}

.cs-pricing__row:last-child {
    border-bottom: none;
}

.cs-pricing__row-label {
    color: var(--color-navy);
    line-height: 1.4;
    font-weight: 700;
    font-size: var(--text-base);
}

.cs-pricing__row-price {
    font-weight: 600;
    font-style: normal;
    font-size: var(--text-base);
    color: var(--color-navy-60);
    flex-shrink: 0;
}

/* ----------------------------------------------------------
   FAQs — blue-lavender gradient
---------------------------------------------------------- */
.cs-faq {
    background: var(--grad-blue-lavender);
    padding-block: var(--space-12);
    position: relative;
    overflow: hidden;
}

.cs-faq__bokeh {
    position: absolute;
    inset: -40px;
    width: calc(100% + 80px);
    height: calc(100% + 80px);
    object-fit: cover;
    opacity: 0.2;
    mix-blend-mode: screen;
    pointer-events: none;
}

.cs-faq__card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 80px rgba(4, 42, 93, 0.15),
                0 8px 24px rgba(4, 42, 93, 0.08);
    padding: var(--space-10);
    max-width: 860px;
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

.cs-faq__card h2 {
    font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
    color: var(--color-navy);
    margin-bottom: var(--space-6);
}

.cs-faq__list {
    display: flex;
    flex-direction: column;
}

.cs-faq__item {
    border-bottom: 1px solid var(--color-navy-20);
}

.cs-faq__item:first-child {
    border-top: 1px solid var(--color-navy-20);
}

.cs-faq__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    font-family: var(--font-primary);
    font-weight: 700;
    font-style: normal;
    text-transform: none;
    letter-spacing: 0;
    font-size: var(--text-lg);
    color: var(--color-navy);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color var(--transition-fast);
}

.cs-faq__trigger:hover {
    color: var(--color-navy-60);
}

.cs-faq__icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    position: relative;
    color: var(--color-navy);
}

.cs-faq__icon::before,
.cs-faq__icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.cs-faq__icon::before {
    width: 14px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.cs-faq__icon::after {
    width: 2px;
    height: 14px;
    transform: translate(-50%, -50%);
}

.cs-faq__item.is-open .cs-faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.cs-faq__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
}

.cs-faq__panel p {
    padding: var(--space-2) 0 var(--space-4);
    color: var(--color-navy-80);
    font-size: var(--text-base);
    line-height: 1.7;
}

.cs-faq__panel a {
    color: var(--color-navy);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 900px) {
    .cs-levels__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cs-schedule__inner {
        grid-template-columns: 1fr;
    }
}

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

    .cs-faq__card,
    .cs-quiz__card {
        padding: var(--space-6);
    }
}

@media (max-width: 900px) {
    /* Schedule section */
    .cs-schedule__title {
        font-size: clamp(var(--text-3xl), 8vw, var(--text-5xl));
        text-align: center;
    }
    .cs-schedule__actions {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-3);
    }
    .cs-schedule__actions .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* Level breakdowns */
    .cs-levels__title { text-align: center; }
    .cs-levels__grid { grid-template-columns: 1fr; }
    .cs-level-card {
        max-width: 480px;
        margin-inline: auto;
        width: 100%;
    }
    .cs-level-card__body { align-items: center; text-align: center; }
    .cs-level-card__start-btn {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    /* FAQs */
    .cs-faq__card h2 { text-align: center; }

    /* Quiz card padding */
    .cs-quiz__card {
        margin-inline: var(--space-4);
        padding: var(--space-6);
    }
}