:root {
    --cl-navy: #2E3160;
    --cl-navy-dark: #1F2147;
    --cl-navy-soft: #3B3F73;
    --cl-gold: #B07F35;
    --cl-gold-text: #8A6428;
    --cl-gold-light: #E2B96A;
    --cl-gold-soft: #F5ECDB;
    --cl-cream: #FBFAF6;
    --cl-sand: #F4F2EC;
    --cl-line: #E6E2D6;
    --cl-text: #2E3160;
    --cl-muted: #4A4C6E;
    --cl-on-navy: #DCDDEB;
    --cl-bad: #A33A2B;
    --cl-font: "Montserrat", system-ui, sans-serif;
    --cl-font-ar: "Cairo", "Montserrat", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cl-cream); color: var(--cl-text); font-family: var(--cl-font); line-height: 1.6; }
html[lang="ar"] body { font-family: var(--cl-font-ar); }
img, video, iframe { max-width: 100%; }
a { color: var(--cl-navy); }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.2; }
[hidden] { display: none !important; }
.cl-pre { white-space: pre-line; }
.cl-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.cl-center { text-align: center; }
.cl-skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--cl-navy); color: #FFFFFF; font-weight: 700; }
.cl-skip:focus { top: 12px; }
a:focus-visible, button:focus-visible, .cl-input:focus-visible { outline: 3px solid var(--cl-gold-light); outline-offset: 3px; }

.cl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; }
.cl-btn-gold { background: var(--cl-gold-light); border-color: var(--cl-gold-light); color: var(--cl-navy-dark); }
.cl-btn-gold:hover { background: #D4A55A; border-color: #D4A55A; color: var(--cl-navy-dark); }
.cl-btn-navy { background: var(--cl-navy); color: #FFFFFF; }
.cl-btn-navy:hover { background: var(--cl-navy-dark); color: #FFFFFF; }
.cl-btn-outline-light { border-color: #FFFFFF; color: #FFFFFF; }
.cl-btn-outline-light:hover { background: #FFFFFF; color: var(--cl-navy); }
.cl-btn-block { width: 100%; }
.cl-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cl-actions-center { justify-content: center; margin-top: 24px; }

.cl-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--cl-line); }
.cl-header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.cl-logo { display: inline-flex; }
.cl-logo img { height: 52px; width: auto; display: block; }
.cl-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.cl-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--cl-navy); }
.cl-nav a:hover { background: var(--cl-sand); }
.cl-nav .cl-nav-lang { border: 1px solid var(--cl-line); font-weight: 700; }
.cl-nav .cl-btn { margin-inline-start: 6px; padding: 10px 22px; }
.cl-nav .cl-btn:hover { background: #D4A55A; }
.cl-menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--cl-line); background: #FFFFFF; color: var(--cl-navy); font: inherit; font-weight: 700; cursor: pointer; }
.cl-menu-btn i { width: 18px; height: 2px; background: currentColor; position: relative; }
.cl-menu-btn i::before, .cl-menu-btn i::after { content: ""; position: absolute; inset-inline: 0; height: 2px; background: currentColor; }
.cl-menu-btn i::before { top: -6px; }
.cl-menu-btn i::after { top: 6px; }

.cl-hero { background: var(--cl-navy); color: #FFFFFF; }
.cl-hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.cl-hero-text { flex: 1 1 440px; display: flex; flex-direction: column; gap: 22px; }
.cl-hero h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -1px; color: #FFFFFF; }
html[lang="ar"] .cl-hero h1 { letter-spacing: 0; }
.cl-hero-lead { margin: 0; font-size: 19px; color: var(--cl-on-navy); max-width: 560px; }
.cl-eyebrow, .cl-eyebrow-dark { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
html[lang="ar"] .cl-eyebrow, html[lang="ar"] .cl-eyebrow-dark { letter-spacing: 0; font-size: 15px; }
.cl-eyebrow { color: var(--cl-gold-light); }
.cl-eyebrow-dark { color: var(--cl-gold-text); }
.cl-hero-art { flex: 1 1 380px; min-height: 340px; border-radius: 28px; background: var(--cl-navy-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cl-hero-art img { width: 100%; height: 100%; max-height: 440px; object-fit: cover; }
.cl-hero-art .cl-hero-mark { width: 55%; height: auto; object-fit: contain; }

.cl-section { padding: 80px 0; }
.cl-section-white { background: #FFFFFF; border-top: 1px solid var(--cl-line); border-bottom: 1px solid var(--cl-line); }
.cl-section-sand { background: var(--cl-sand); }
.cl-section-navy { background: var(--cl-navy); color: #FFFFFF; }
.cl-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.cl-section-head h2, .cl-about h2, .cl-contact h2, .cl-center h1 { margin-top: 8px; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.5px; }
html[lang="ar"] .cl-section-head h2 { letter-spacing: 0; }
.cl-section-navy h2 { color: #FFFFFF; }
.cl-pills { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: #EFEBE0; border-radius: 24px; }
.cl-pills button { min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--cl-navy); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.cl-pills button[aria-pressed="true"] { background: var(--cl-navy); color: #FFFFFF; }
.cl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-size: 13px; font-weight: 700; color: var(--cl-gold-text); }
.cl-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--cl-gold-soft); color: #6E4F1F; font-size: 13px; font-weight: 700; }
.cl-tag-navy { background: var(--cl-navy); color: #FFFFFF; }
.cl-tag-gold { margin: 0; align-self: flex-start; }

.cl-feature { display: flex; flex-wrap: wrap; gap: 28px; padding: 20px; border-radius: 24px; background: #FFFFFF; border: 1px solid var(--cl-line); }
.cl-feature > .cl-media, .cl-feature > .cl-media-thumbs { flex: 1 1 520px; }
.cl-feature > .cl-media + .cl-media-thumbs { order: 2; flex-basis: 100%; }
.cl-feature-text { flex: 1 1 300px; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 8px; }
.cl-feature-text h3 { font-size: 28px; }
.cl-feature-text p { margin: 0; font-size: 17px; color: var(--cl-muted); }
.cl-feature-text .cl-meta { color: var(--cl-muted); }
.cl-media { position: relative; border-radius: 16px; overflow: hidden; background: var(--cl-navy); aspect-ratio: 16 / 10; }
.cl-media .cl-media-main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.cl-media video.cl-media-main { object-fit: contain; background: #000000; }
.cl-media-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-media-thumbs button { width: 72px; height: 54px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--cl-sand); cursor: pointer; }
.cl-media-thumbs button[aria-pressed="true"] { border-color: var(--cl-navy); }
.cl-media-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-yt { position: absolute; inset: 0; display: block; }
.cl-play { position: absolute; top: 50%; left: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 8px 24px rgba(28, 30, 64, .3); }
.cl-play::after { content: ""; position: absolute; top: 50%; left: 50%; margin: -14px 0 0 -8px; border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent var(--cl-navy); }
.cl-play-sm { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cl-play-sm::after { margin: -8px 0 0 -4px; border-width: 8px 0 8px 13px; }

.cl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 20px; }
.cl-card { display: flex; flex-direction: column; padding: 0; border: 1px solid var(--cl-line); border-radius: 18px; overflow: hidden; background: #FFFFFF; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.cl-card[aria-pressed="true"] { border-color: var(--cl-navy); box-shadow: 0 0 0 1px var(--cl-navy); }
.cl-card-thumb { position: relative; display: block; height: 150px; }
.cl-card-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cl-card-text { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.cl-card-text strong { font-size: 16px; line-height: 1.35; }
.t0 { background: #2E3160; } .t1 { background: #B07F35; } .t2 { background: #4F5490; } .t3 { background: #8A6428; }

.cl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.cl-program { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 20px; background: var(--cl-cream); border: 1px solid var(--cl-line); }
.cl-program-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--cl-navy); color: var(--cl-gold-light); display: flex; align-items: center; justify-content: center; }
.cl-program h3 { font-size: 20px; }
.cl-program p { margin: 0; color: var(--cl-muted); }
.cl-program .cl-program-ages { color: var(--cl-gold-text); font-weight: 700; font-size: 14px; }

.cl-sessions { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.cl-session { display: flex; gap: 16px; padding: 14px; border-radius: 20px; background: #FFFFFF; border: 1px solid var(--cl-line); }
.cl-session-img { position: relative; flex-shrink: 0; width: 110px; min-height: 120px; border-radius: 14px; overflow: hidden; }
.cl-session-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cl-session-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 4px 0; }
.cl-session-text h3 { font-size: 18px; }
.cl-session-teacher { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--cl-muted); }
.cl-session-teacher svg { color: var(--cl-gold-text); flex-shrink: 0; }
.cl-session-when { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; }

.cl-teacher { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #FFFFFF; border: 1px solid var(--cl-line); }
.cl-teacher-photo { position: relative; height: 260px; display: flex; align-items: center; justify-content: center; color: #FFFFFF; font-size: 56px; font-weight: 800; }
.cl-teacher-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cl-teacher-text { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.cl-teacher-text h3 { font-size: 20px; }
.cl-teacher-text p { margin: 0; color: var(--cl-muted); font-size: 15px; }

.cl-about { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.cl-about-img { flex: 1 1 420px; max-height: 420px; border-radius: 24px; object-fit: cover; }
.cl-about-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 14px; }
.cl-about-text p { margin: 0; font-size: 17px; color: var(--cl-muted); }

.cl-contact { display: flex; flex-wrap: wrap; gap: 48px; }
.cl-contact-info { flex: 1 1 380px; display: flex; flex-direction: column; gap: 22px; }
.cl-details { display: flex; flex-direction: column; gap: 14px; margin: 0; font-size: 17px; }
.cl-details dt { font-weight: 800; color: #FFFFFF; }
.cl-details dd { margin: 2px 0 0; color: var(--cl-on-navy); }
.cl-details a { color: var(--cl-gold-light); font-weight: 600; }
.cl-form-card { flex: 1 1 420px; padding: 32px; border-radius: 24px; background: #FFFFFF; color: var(--cl-text); }
.cl-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; font-size: 14px; font-weight: 700; }
.cl-field em { font-style: normal; color: var(--cl-bad); }
.cl-input { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid #C9C5B8; background: #FFFFFF; color: var(--cl-text); font: inherit; font-weight: 500; }
textarea.cl-input { resize: vertical; }
.cl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cl-notice { margin-bottom: 16px; padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.cl-notice-ok { background: #E3E5F3; color: var(--cl-navy); }
.cl-notice-bad { background: #FBE9E6; color: var(--cl-bad); }

.cl-footer { background: var(--cl-navy-dark); color: var(--cl-on-navy); }
.cl-footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 32px; padding-bottom: 32px; }
.cl-footer-row img { height: 50px; width: auto; }
.cl-footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.cl-footer-links a { color: var(--cl-on-navy); font-size: 14px; }
.cl-footer-copy { margin: 0; font-size: 14px; }

.cl-wa { position: fixed; inset-inline-end: 24px; bottom: 24px; z-index: 50; display: flex; align-items: center; gap: 10px; padding: 14px 22px 14px 16px; border-radius: 999px; background: var(--cl-navy); color: #FFFFFF; font-size: 16px; font-weight: 800; text-decoration: none; box-shadow: 0 8px 24px rgba(28, 30, 64, .32); }
html[dir="rtl"] .cl-wa { padding: 14px 16px 14px 22px; }
.cl-wa:hover { background: var(--cl-navy-dark); color: #FFFFFF; }

.cl-section .cl-center p { color: var(--cl-muted); font-size: 17px; }

@media (max-width: 860px) {
    .cl-menu-btn { display: inline-flex; }
    .cl-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding-bottom: 8px; }
    .cl-nav.is-open { display: flex; }
    .cl-nav a { justify-content: flex-start; }
    .cl-nav .cl-btn { margin: 6px 0 0; justify-content: center; }
}

@media (max-width: 640px) {
    .cl-container { padding: 0 16px; }
    .cl-logo img { height: 42px; }
    .cl-hero-row { padding-top: 48px; padding-bottom: 48px; gap: 32px; }
    .cl-hero-art { min-height: 220px; }
    .cl-section { padding: 56px 0; }
    .cl-feature { padding: 12px; }
    .cl-sessions { grid-template-columns: 1fr; }
    .cl-session-img { width: 88px; }
    .cl-form-card { padding: 22px; }
    .cl-wa span { display: none; }
    .cl-wa, html[dir="rtl"] .cl-wa { padding: 14px; inset-inline-end: 16px; bottom: 16px; }
}
