/* =========================================================================
   Intalliq — main stylesheet
   1. Fonts  2. Tokens  3. Base  4. Layout  5. Components  6. Header/Footer
   7. Hero  8. Sections & cards  9. Pages  10. Motion  11. Responsive
   All spacing uses logical properties (inline-start/end) so RTL & LTR share one file.
   ========================================================================= */

/* 1. Fonts (self-hosted, SIL Open Font License) ------------------------- */
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+2010-2011, U+204F, U+2E41; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2"); font-weight: 500 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+2010-2011, U+204F, U+2E41; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2"); font-weight: 700 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+2010-2011, U+204F, U+2E41; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* 2. Design tokens ------------------------------------------------------ */
:root {
    /* brand */
    --teal-50: #EEF8F6;
    --teal-100: #D5EEE9;
    --teal-200: #A9DCD2;
    --teal-400: #4FB8A5;
    --teal-500: #309C8A;   /* logo teal: icons, large shapes */
    --teal-700: #20695D;   /* primary: buttons, links */
    --teal-800: #195248;
    --teal-900: #0F3A33;
    --orange-100: #FDEBD6;
    --orange-400: #F5B266;
    --orange-500: #F09C3C; /* logo orange: accent (dark text only) */
    --orange-800: #854B0A;
    --navy-800: #102A30;
    --navy-900: #0A1D22;
    --navy-950: #061317;

    /* semantic */
    --primary: var(--teal-700);
    --primary-hover: var(--teal-800);
    --brand: var(--teal-500);
    --accent: var(--orange-500);
    --on-accent: #14232B;
    --accent-text: var(--orange-800);
    --text: #14232B;
    --text-muted: #52626B;
    --bg: #F6F9F8;
    --surface: #FFFFFF;
    --surface-2: #EFF4F3;
    --border: #DCE5E3;
    --success: #1F7A4D;
    --danger: #B42318;

    /* type */
    --font-ar: "IBM Plex Sans Arabic", "Inter", system-ui, "Segoe UI", Tahoma, sans-serif;
    --font-en: "Inter", "IBM Plex Sans Arabic", system-ui, "Segoe UI", Roboto, sans-serif;
    --fs-xs: .8125rem;
    --fs-sm: .9375rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
    --fs-2xl: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
    --fs-3xl: clamp(2rem, 1.4rem + 2.8vw, 3.6rem);

    /* shape & depth */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-xs: 0 1px 2px rgba(16, 42, 48, .06);
    --shadow-sm: 0 2px 6px rgba(16, 42, 48, .06), 0 1px 2px rgba(16, 42, 48, .04);
    --shadow: 0 10px 30px -10px rgba(16, 42, 48, .18), 0 4px 10px -4px rgba(16, 42, 48, .08);
    --shadow-lg: 0 30px 60px -20px rgba(16, 42, 48, .30), 0 10px 24px -10px rgba(16, 42, 48, .12);
    --shadow-glow: 0 18px 40px -12px rgba(32, 105, 93, .45);
    --ring: 0 0 0 3px rgba(48, 156, 138, .35);

    /* layout */
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --section-y: clamp(64px, 8vw, 112px);
    --header-h: 80px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* 3. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font-ar);
    font-size: var(--fs-base);
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
html[lang="en"] body { font-family: var(--font-en); line-height: 1.65; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.3; font-weight: 700; color: var(--text); }
html[lang="en"] :is(h1, h2, h3) { letter-spacing: -.02em; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--teal-200); color: var(--navy-900); }
main:focus { outline: none; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
[dir="ltr"] .flip-ltr { transform: scaleX(-1); }

.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; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 1000; background: var(--primary); color: #fff; padding: 10px 18px; border-radius: var(--radius); transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.mt-xl { margin-top: 32px; }

/* 4. Layout ------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--muted { background: linear-gradient(180deg, var(--surface-2), var(--bg)); }
.section--dark { background: radial-gradient(120% 120% at 100% 0%, var(--teal-900) 0%, var(--navy-900) 55%, var(--navy-950) 100%); color: #D7E6E3; overflow: hidden; isolation: isolate; }
.section--dark :is(h2, h3) { color: #fff; }
.section__decor { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.section--overlap { padding-top: 0; margin-top: -72px; z-index: 3; }

.card-grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* 5. Components --------------------------------------------------------- */
/* Buttons */
.btn {
    --btn-bg: var(--primary); --btn-fg: #fff; --btn-border: transparent;
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 46px; padding: .7em 1.4em; border: 1.5px solid var(--btn-border); border-radius: 999px;
    background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: var(--fs-sm); line-height: 1.2;
    white-space: nowrap; overflow: hidden; isolation: isolate;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover .icon.flip-rtl { transform: translateX(3px); }
[dir="rtl"] .btn:hover .icon.flip-rtl { transform: scaleX(-1) translateX(3px); }
.btn--primary { background: linear-gradient(135deg, var(--teal-500) -40%, var(--teal-700) 55%, var(--teal-800)); box-shadow: var(--shadow-glow); }
.btn--primary:hover { box-shadow: 0 22px 44px -12px rgba(32,105,93,.55); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--on-accent); background: linear-gradient(135deg, var(--orange-400), var(--orange-500)); box-shadow: 0 16px 36px -14px rgba(240,156,60,.7); }
.btn--glass { --btn-bg: rgba(255,255,255,.1); --btn-fg: #fff; --btn-border: rgba(255,255,255,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255,255,255,.2); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--primary); --btn-border: var(--border); }
.btn--outline:hover { --btn-border: var(--primary); background: var(--teal-50); }
.btn--sm { min-height: 40px; padding: .55em 1.15em; }
.btn--lg { min-height: 54px; padding: .85em 1.8em; font-size: var(--fs-base); }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--primary); }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(4px); }
.link-arrow--sm { font-size: var(--fs-sm); }

.tag { display: inline-flex; align-items: center; gap: .35em; padding: .2em .75em; border-radius: 999px; background: var(--teal-50); color: var(--primary); font-size: var(--fs-xs); font-weight: 600; line-height: 1.6; }
.tag--soft { background: var(--surface-2); color: var(--text-muted); }

.eyebrow { display: inline-flex; align-items: center; gap: .6em; margin-bottom: 14px; color: var(--primary); font-size: var(--fs-sm); font-weight: 700; letter-spacing: .02em; }
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: var(--fs-xs); }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--teal-500)); }
.eyebrow--light { color: var(--teal-200); }
.section-title { font-size: var(--fs-2xl); font-weight: 800; }
.section-text { color: var(--text-muted); font-size: var(--fs-lg); max-width: 62ch; }
.section--dark .section-text { color: #A9C1BE; }
.lead { font-size: var(--fs-lg); color: var(--text); }

.section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { text-align: center; }
.section-head--center .section-text { margin-inline: auto; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--teal-500), var(--accent)); }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--split .section-text { margin-bottom: 0; }
.section-head--light .eyebrow { color: var(--teal-200); }
.section-head--light .section-title { color: #fff; }

/* Decorative blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.blob--1 { width: 420px; height: 420px; background: var(--teal-500); inset-inline-end: -120px; top: -140px; animation: float 16s ease-in-out infinite; }
.blob--2 { width: 340px; height: 340px; background: var(--orange-500); inset-inline-start: -120px; bottom: -160px; opacity: .3; animation: float 20s ease-in-out infinite reverse; }
.blob--3 { width: 260px; height: 260px; background: var(--teal-400); inset-inline-start: 40%; top: 30%; opacity: .25; animation: float 24s ease-in-out infinite; }

/* Covers (designed placeholders for missing images) */
.cover { position: relative; display: grid; place-items: center; overflow: hidden; isolation: isolate; color: #fff; background: linear-gradient(135deg, var(--teal-500), var(--teal-800)); }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover__pattern { position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.22) 0 2px, transparent 3px), radial-gradient(circle at 80% 70%, rgba(255,255,255,.12) 0 60px, transparent 61px), radial-gradient(circle at 10% 110%, rgba(255,255,255,.1) 0 90px, transparent 91px);
    background-size: 22px 22px, 100% 100%, 100% 100%; }
.cover__pattern::after { content: ""; position: absolute; width: 160px; height: 160px; inset-inline-end: -30px; top: -40px; border: 18px solid rgba(255,255,255,.14); border-radius: 50%; border-inline-start-color: transparent; transform: rotate(-20deg); }
.cover__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); transition: transform .5s var(--ease-out); }
.cover__icon .icon { width: 34px; height: 34px; }
.cover--management, .cover--teal { background: linear-gradient(135deg, #3FB09C, var(--teal-700) 60%, var(--teal-900)); }
.cover--hr { background: linear-gradient(135deg, #5AA6C9, #1F5F7A 60%, #123C4E); }
.cover--finance, .cover--navy { background: linear-gradient(135deg, #2D6A72, var(--navy-800) 60%, var(--navy-950)); }
.cover--skills, .cover--orange { background: linear-gradient(135deg, #F7BB73, #E58A26 55%, #B5641A); }
.cover--tech { background: linear-gradient(135deg, #6C8CE0, #34508F 60%, #1C2F5C); }

.avatar { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(135deg, var(--teal-400), var(--teal-800)); color: #fff; font-weight: 700; font-size: 2.2rem; letter-spacing: .02em; }
.avatar--sm { width: 56px; height: 56px; font-size: 1.1rem; flex: none; }

/* Alerts */
.alert { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 24px; border: 1px solid; }
.alert .icon { width: 24px; height: 24px; margin-top: 2px; }
.alert p { margin: 2px 0 0; font-size: var(--fs-sm); }
.alert--success { background: #ECF7F1; border-color: #BFE3CF; color: var(--success); }
.alert--success strong { color: #145235; }
.alert--danger { background: #FDF0EF; border-color: #F4C7C3; color: var(--danger); }
.alert--danger strong { color: #7A1A12; }

.empty-state { text-align: center; padding: 56px 24px; border: 2px dashed var(--border); border-radius: var(--radius-lg); color: var(--text-muted); }
.empty-state__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--teal-50); color: var(--primary); margin-bottom: 12px; }
.empty-state__icon .icon { width: 28px; height: 28px; }

/* 6. Header & footer ---------------------------------------------------- */
.topbar { background: var(--navy-900); color: #B8CCC9; font-size: var(--fs-xs); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__contact { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.topbar__contact :is(a, span) { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.topbar__contact a:hover { color: #fff; }
.topbar__contact .icon { width: 15px; height: 15px; color: var(--teal-400); }
.topbar__social { display: flex; gap: 4px; }
.topbar__social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #B8CCC9; transition: background .2s, color .2s; }
.topbar__social a:hover { background: rgba(255,255,255,.08); color: #fff; }
.topbar__social .icon { width: 16px; height: 16px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s; }
.site-header.is-scrolled { background: rgba(255,255,255,.94); border-bottom-color: var(--border); box-shadow: 0 8px 30px -18px rgba(16,42,48,.35); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); flex: none; }
.brand:hover { color: var(--text); }
.brand img { width: 48px; height: 48px; object-fit: contain; transition: transform .5s var(--ease-out); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 1.4rem; font-weight: 800; color: var(--teal-700); }
.brand__text small { font-size: .78rem; color: var(--text-muted); font-weight: 500; }
html[lang="en"] .brand__text strong { letter-spacing: -.02em; }

.main-nav { margin-inline-start: auto; }
.main-nav__link { position: relative; display: block; padding: 10px 14px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; }
.main-nav__link::after { content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal-500), var(--accent)); transform: scaleX(0); transition: transform .3s var(--ease); }
.main-nav__link:hover { color: var(--primary); background: var(--teal-50); }
.main-nav__link:hover::after, .main-nav__link.is-active::after { transform: scaleX(1); }
.main-nav__link.is-active { color: var(--primary); }
.main-nav__mobile-cta { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--border); color: var(--text); font-weight: 600; font-size: var(--fs-sm); transition: border-color .2s, background .2s, color .2s; }
.lang-switch:hover { border-color: var(--teal-500); background: var(--teal-50); color: var(--primary); }
.lang-switch .icon { width: 18px; height: 18px; color: var(--teal-500); }
.lang-switch span[lang="ar"], .lang-switch[lang="ar"] span { font-family: var(--font-ar); }

.nav-toggle { display: none; position: relative; width: 46px; height: 46px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface); }
.nav-toggle__bar { position: absolute; inset-inline-start: 12px; width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.nav-toggle__bar:nth-child(1) { top: 15px; }
.nav-toggle__bar:nth-child(2) { top: 21px; }
.nav-toggle__bar:nth-child(3) { top: 27px; }
.nav-open .nav-toggle__bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.site-footer { position: relative; overflow: hidden; background: var(--navy-950); color: #9DB4B1; padding-top: clamp(56px, 7vw, 88px); isolation: isolate; }
.site-footer__glow { position: absolute; z-index: -1; width: 600px; height: 600px; inset-inline-end: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(48,156,138,.35), transparent 65%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 48px; }
.footer-col p { font-size: var(--fs-sm); margin-top: 18px; max-width: 36ch; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text small { color: #9DB4B1; }
.brand__chip { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.brand__chip img { width: 42px; height: 42px; }
.footer-title { color: #fff; font-size: var(--fs-base); margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-title::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 32px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--teal-500)); }
.footer-links li + li { margin-top: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 6px; color: #9DB4B1; font-size: var(--fs-sm); transition: color .2s, transform .2s; }
.footer-links a .icon { width: 14px; height: 14px; color: var(--teal-400); }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
[dir="rtl"] .footer-links a:hover { transform: translateX(-4px); }
.footer-contact li { display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); }
.footer-contact li + li { margin-top: 14px; }
.footer-contact a { color: #C8D9D6; }
.footer-contact a:hover { color: #fff; }
.footer-contact__icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; background: rgba(48,156,138,.14); color: var(--teal-400); }
.footer-contact__icon .icon { width: 18px; height: 18px; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: #C8D9D6; transition: background .25s, color .25s, transform .25s; }
.social a:hover { background: var(--teal-500); color: #fff; transform: translateY(-3px); }
.social .icon { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: var(--fs-xs); }
.footer-bottom p { margin: 0; }
.back-to-top { color: #C8D9D6; }
.back-to-top:hover { color: #fff; }

.whatsapp-fab { position: fixed; z-index: 90; inset-inline-end: 22px; bottom: 22px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7); transition: transform .3s var(--ease); }
.whatsapp-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.4s var(--ease) infinite; }
.whatsapp-fab:hover { color: #fff; transform: scale(1.08); }
.whatsapp-fab .icon { width: 28px; height: 28px; }

/* 7. Hero slider -------------------------------------------------------- */
.hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: radial-gradient(120% 140% at 85% 10%, #1F6E62 0%, var(--teal-900) 40%, var(--navy-950) 100%); padding-bottom: 72px; }
[dir="rtl"] .hero { background: radial-gradient(120% 140% at 15% 10%, #1F6E62 0%, var(--teal-900) 40%, var(--navy-950) 100%); }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__grid { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.hero__track { display: grid; }
.hero-slide { grid-area: 1 / 1; position: relative; visibility: hidden; opacity: 0; transition: opacity .9s var(--ease), visibility 0s .9s; }
.hero-slide.is-active { visibility: visible; opacity: 1; transition: opacity .9s var(--ease), visibility 0s 0s; z-index: 1; }
.hero-slide__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transform: scale(1.08); transition: transform 7s linear; }
.hero-slide.is-active .hero-slide__photo { transform: scale(1); }
.hero-slide--photo::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(6,19,23,.92) 0%, rgba(6,19,23,.6) 55%, rgba(6,19,23,.25) 100%); }
[dir="rtl"] .hero-slide--photo::before { background: linear-gradient(-90deg, rgba(6,19,23,.92) 0%, rgba(6,19,23,.6) 55%, rgba(6,19,23,.25) 100%); }
.hero-slide__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; min-height: clamp(560px, 78vh, 720px); padding-block: 72px 56px; }
.hero-slide__copy > * { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.hero-slide.is-active .hero-slide__copy > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-slide__copy > :nth-child(2) { transition-delay: .12s; }
.hero-slide.is-active .hero-slide__copy > :nth-child(3) { transition-delay: .24s; }
.hero-slide.is-active .hero-slide__copy > :nth-child(4) { transition-delay: .36s; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px); font-size: var(--fs-sm); font-weight: 600; color: #D9F0EC; margin-bottom: 22px; }
[dir="rtl"] .hero-eyebrow { padding: 7px 12px 7px 16px; }
.pulse-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.pulse-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent); animation: ping 2s var(--ease) infinite; }
.hero-title { font-size: var(--fs-3xl); font-weight: 800; line-height: 1.2; color: #fff; margin-bottom: 20px; text-wrap: balance; }
.hero-title em { font-style: normal; background: linear-gradient(90deg, var(--orange-400), var(--orange-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text { font-size: var(--fs-lg); color: #B9D0CC; max-width: 52ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions--center { justify-content: center; }

.hero__controls { position: absolute; inset-inline: 0; bottom: 104px; z-index: 5; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.hero__controls > * { pointer-events: auto; }
.hero__dots { display: flex; gap: 10px; }
.hero__dot { width: 44px; height: 24px; padding: 0; border: 0; background: none; display: grid; align-items: center; }
.hero__dot span { position: relative; display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.25); overflow: hidden; }
.hero__dot span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .hero__dot span::after { transform-origin: right; }
.hero__dot.is-active span::after { animation: dot-fill var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .hero__dot.is-active span::after { animation: none; transform: scaleX(1); }
.hero__arrows { display: flex; gap: 10px; }
.hero__arrow { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; backdrop-filter: blur(8px); transition: background .25s, border-color .25s, transform .25s; }
.hero__arrow:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); transform: scale(1.06); }
.hero__arrow .icon { width: 20px; height: 20px; }
.hero__arrow .icon-play { display: none; }
.hero.is-paused .hero__arrow .icon-play { display: block; }
.hero.is-paused .hero__arrow .icon-pause { display: none; }

/* Hero illustration */
.hero-visual { position: relative; width: min(100%, 500px); aspect-ratio: 1 / .92; margin-inline: auto; }
.hero-visual__orb { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(79,184,165,.55), rgba(32,105,93,.15) 55%, transparent 70%); filter: blur(4px); }
.hero-visual__ring { position: absolute; inset: 2%; width: 96%; height: 96%; color: rgba(240,156,60,.65); animation: spin 40s linear infinite; }
.glass-card { position: absolute; background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.22); border-radius: 22px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.25); color: #fff; }
.glass-card small { display: block; font-size: .78rem; color: #CFE6E2; margin-bottom: 4px; }
.glass-card--main { inset-inline: 14%; top: 20%; padding: 26px; display: grid; gap: 22px; }
.glass-card--float { display: flex; align-items: center; gap: 12px; padding: 14px 18px; animation: bob 6s ease-in-out infinite; }
.glass-card--a { inset-inline-end: 0; top: 6%; }
.glass-card--b { inset-inline-start: 0; bottom: 8%; animation-delay: -3s; }
.glass-card__row { display: flex; align-items: center; gap: 14px; }
.glass-title { font-size: 1.05rem; }
.glass-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: linear-gradient(135deg, var(--teal-400), var(--teal-700)); box-shadow: 0 8px 18px -6px rgba(48,156,138,.8); }
.glass-icon .icon { width: 22px; height: 22px; }
.glass-icon--accent { background: linear-gradient(135deg, var(--orange-400), var(--orange-500)); color: var(--on-accent); box-shadow: 0 8px 18px -6px rgba(240,156,60,.8); }
.glass-lines { display: grid; gap: 8px; flex: 1; }
.glass-lines span { display: block; height: 9px; border-radius: 9px; background: rgba(255,255,255,.35); }
.glass-lines span + span { background: rgba(255,255,255,.18); }
.glass-lines--center { justify-items: center; }
.glass-progress__label { display: flex; justify-content: space-between; font-size: .85rem; color: #CFE6E2; margin-bottom: 8px; }
.glass-progress__label strong { color: #fff; }
.glass-progress__bar { height: 10px; border-radius: 10px; background: rgba(255,255,255,.15); overflow: hidden; }
.glass-progress__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal-400), var(--orange-500)); transform-origin: left; animation: grow 1.6s var(--ease-out) both .4s; }
[dir="rtl"] .glass-progress__bar span { transform-origin: right; }
.glass-avatars { display: flex; }
.glass-avatars span { width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(16,42,48,.6); background: linear-gradient(135deg, var(--teal-200), var(--teal-500)); }
.glass-avatars span + span { margin-inline-start: -10px; }
.glass-avatars span:nth-child(2) { background: linear-gradient(135deg, var(--orange-100), var(--orange-500)); }
.glass-avatars span:nth-child(3) { background: linear-gradient(135deg, #C9D6FF, #6C8CE0); }
.glass-avatars__more { display: grid; place-items: center; font-size: .72rem; font-weight: 700; background: rgba(255,255,255,.2) !important; }
.glass-avatars--sm span { width: 26px; height: 26px; }
.glass-chart { display: flex; align-items: flex-end; gap: 12px; height: 150px; padding-top: 10px; border-bottom: 1px solid rgba(255,255,255,.2); }
.glass-chart span { flex: 1; height: var(--h); border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--teal-400), rgba(48,156,138,.25)); transform-origin: bottom; animation: rise 1.2s var(--ease-out) both; animation-delay: var(--d); }
.glass-chart span:last-child { background: linear-gradient(180deg, var(--orange-400), rgba(240,156,60,.3)); }
.glass-kpi { font-size: 1.35rem; color: var(--orange-400); }
.glass-card--steps { display: block; min-width: 210px; }
.glass-card--steps ol { display: grid; gap: 8px; font-size: .85rem; }
.glass-card--steps li { display: flex; align-items: center; gap: 8px; }
.glass-card--steps li .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--teal-500); }
.glass-card--steps li > span { width: 18px; height: 18px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.5); }
.glass-card--cert { padding: 18px; }
.cert { position: relative; display: grid; justify-items: center; gap: 12px; padding: 26px 22px 20px; border-radius: 14px; background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(238,248,246,.92)); color: var(--text); text-align: center; }
.cert::before { content: ""; position: absolute; inset: 8px; border: 1.5px solid rgba(48,156,138,.35); border-radius: 10px; pointer-events: none; }
.cert small { color: var(--primary); font-weight: 700; font-size: .9rem; }
.cert .glass-lines span { background: #D3E3E0; }
.cert .glass-lines span + span { background: #E6EFED; }
.cert__seal { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(135deg, var(--orange-400), var(--orange-500)); color: var(--on-accent); box-shadow: 0 10px 20px -8px rgba(240,156,60,.9); }
.cert__seal .icon { width: 30px; height: 30px; }
.cert__foot { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 6px; }
.cert__foot span:not(.cert__qr) { width: 70px; height: 2px; background: #C8D9D6; }
.cert__qr { width: 34px; height: 34px; border-radius: 4px; background: conic-gradient(var(--text) 25%, transparent 0 50%, var(--text) 0 75%, transparent 0) 0 0 / 8px 8px; opacity: .8; }

/* 8. Sections & cards ---------------------------------------------------- */
/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: radial-gradient(120% 160% at 90% 0%, #1F6E62 0%, var(--teal-900) 45%, var(--navy-950) 100%); padding-block: clamp(48px, 7vw, 88px) clamp(56px, 8vw, 104px); }
[dir="rtl"] .page-hero { background: radial-gradient(120% 160% at 10% 0%, #1F6E62 0%, var(--teal-900) 45%, var(--navy-950) 100%); }
.page-hero + .section { padding-top: clamp(40px, 5vw, 72px); }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg .blob--1 { opacity: .4; }
.page-hero__bg .blob--2 { opacity: .2; }
.page-hero__ring { position: absolute; width: 340px; height: 340px; inset-inline-end: 6%; top: 50%; translate: 0 -50%; color: rgba(255,255,255,.07); animation: spin 60s linear infinite; }
.page-hero::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 48px; background: var(--bg); clip-path: ellipse(60% 100% at 50% 100%); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-sm); color: #9FC2BC; margin-bottom: 22px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.breadcrumb a { color: #CFE6E2; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-hero__head { display: flex; align-items: center; gap: 22px; }
.page-hero__icon { display: grid; place-items: center; width: 72px; height: 72px; flex: none; border-radius: 22px; background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.2); color: var(--orange-400); box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); }
.page-hero__icon .icon { width: 34px; height: 34px; }
.page-hero__title { font-size: var(--fs-3xl); color: #fff; margin: 0; text-wrap: balance; }
.page-hero__text { color: #B9D0CC; font-size: var(--fs-lg); margin: 10px 0 0; max-width: 60ch; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); color: var(--text); overflow: hidden; isolation: isolate; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s; }
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, var(--teal-700), var(--navy-900)); opacity: 0; transition: opacity .4s var(--ease); }
.service-card::after { content: ""; position: absolute; width: 140px; height: 140px; inset-inline-end: -50px; top: -50px; border-radius: 50%; border: 16px solid var(--teal-50); transition: border-color .4s; z-index: -1; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: #fff; border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { border-color: rgba(255,255,255,.07); }
.service-card h3 { font-size: var(--fs-lg); margin: 22px 0 8px; transition: color .3s; }
.service-card p { color: var(--text-muted); font-size: var(--fs-sm); flex: 1; transition: color .3s; }
.service-card:hover h3 { color: #fff; }
.service-card:hover p { color: #B9D0CC; }
.service-card__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); color: #fff; box-shadow: var(--shadow-glow); transition: transform .4s var(--ease-out), background .4s; }
.service-card__icon .icon { width: 28px; height: 28px; }
.service-card:hover .service-card__icon { transform: rotate(-8deg) scale(1.06); background: linear-gradient(135deg, var(--orange-400), var(--orange-500)); color: var(--on-accent); }
.service-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: var(--fs-sm); color: var(--primary); transition: color .3s; }
.service-card:hover .service-card__more { color: var(--orange-400); }

/* Course card */
.course-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-card:hover .cover__icon { transform: scale(1.1) rotate(-6deg); }
.course-card__media { aspect-ratio: 16 / 9; }
.course-card__mode { position: absolute; top: 14px; inset-inline-start: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--text); font-size: var(--fs-xs); font-weight: 700; box-shadow: var(--shadow-sm); }
.course-card__body { flex: 1; padding: 22px 22px 8px; }
.course-card__title { font-size: var(--fs-lg); margin: 12px 0 8px; }
.course-card__title a { color: var(--text); background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease), color .2s; }
[dir="rtl"] .course-card__title a { background-position: 100% 100%; }
.course-card__title a:hover { color: var(--primary); background-size: 100% 2px; }
.course-card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.course-card__summary { color: var(--text-muted); font-size: var(--fs-sm); }
.course-card__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--fs-xs); color: var(--text-muted); }
.course-card__meta li { display: inline-flex; align-items: center; gap: 6px; }
.course-card__meta .icon { width: 16px; height: 16px; color: var(--teal-500); }
.course-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 22px 0; padding: 16px 0 20px; border-top: 1px dashed var(--border); }
.course-card__price { font-size: var(--fs-sm); color: var(--accent-text); font-weight: 600; }
.course-card__price strong { font-size: var(--fs-lg); }
.course-card .link-arrow { position: relative; z-index: 1; }

/* Feature tiles (dark section) */
.why { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.why__actions { margin-top: 28px; }
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-tile { padding: 26px; border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px); transition: transform .4s var(--ease-out), border-color .3s, background .3s; }
.feature-tile:nth-child(even) { translate: 0 28px; }
.feature-tile:hover { transform: translateY(-6px); border-color: rgba(79,184,165,.5); background: linear-gradient(145deg, rgba(79,184,165,.16), rgba(255,255,255,.03)); }
.feature-tile h3 { font-size: var(--fs-lg); margin: 18px 0 6px; }
.feature-tile p { color: #A9C1BE; font-size: var(--fs-sm); margin: 0; }
.feature-tile__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(240,156,60,.14); color: var(--orange-400); border: 1px solid rgba(240,156,60,.25); }
.feature-tile__icon .icon { width: 26px; height: 26px; }

/* Trainer card */
.trainer-card { position: relative; text-align: center; padding: 32px 24px 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); overflow: hidden; isolation: isolate; }
.trainer-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 96px; z-index: -1; background: linear-gradient(135deg, var(--teal-50), var(--orange-100)); }
.trainer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.trainer-card__photo { position: relative; width: 132px; height: 132px; margin: 0 auto 18px; padding: 6px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); }
.trainer-card__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.trainer-card__ring { position: absolute; inset: -6px; border-radius: 50%; border: 2px dashed var(--teal-200); transition: transform 1.2s var(--ease-out), border-color .3s; }
.trainer-card:hover .trainer-card__ring { transform: rotate(120deg); border-color: var(--accent); }
.trainer-card__name { font-size: var(--fs-lg); margin-bottom: 4px; }
.trainer-card__role { color: var(--primary); font-size: var(--fs-sm); font-weight: 600; margin: 0; }
.trainer-card__bio { color: var(--text-muted); font-size: var(--fs-sm); margin: 14px 0; }
.trainer-card__creds { display: grid; gap: 6px; margin: 0 0 14px; text-align: start; }
.trainer-card__creds li { display: flex; align-items: flex-start; gap: 8px; font-size: var(--fs-xs); font-weight: 600; }
.trainer-card__creds .icon { width: 16px; height: 16px; color: var(--accent-text); margin-top: 3px; }
.trainer-card__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.trainer-card__social { position: absolute; top: 14px; inset-inline-end: 14px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-sm); }

/* News card */
.news-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card:hover .cover__icon { transform: scale(1.1) rotate(6deg); }
.news-card__media { aspect-ratio: 16 / 9; }
.news-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: 12px; }
.news-card__meta time { display: inline-flex; align-items: center; gap: 6px; }
.news-card__meta .icon { width: 15px; height: 15px; color: var(--teal-500); }
.news-card__title { font-size: var(--fs-lg); margin-bottom: 8px; }
.news-card__title a { color: var(--text); }
.news-card__title a:hover { color: var(--primary); }
.news-card__excerpt { color: var(--text-muted); font-size: var(--fs-sm); flex: 1; }

/* Partners marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 20px; width: max-content; animation: marquee 40s linear infinite; }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.partner-logo { display: grid; place-items: center; width: 200px; height: 96px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-xs); }
.partner-logo img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.partner-logo:hover img { filter: none; opacity: 1; }
.partner-logo__ph { display: inline-flex; align-items: center; gap: 8px; color: #93A3A8; font-weight: 600; font-size: var(--fs-sm); }

/* CTA band */
.cta-band { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-xl); overflow: hidden; isolation: isolate; color: #fff; background: linear-gradient(120deg, var(--teal-700) 0%, var(--teal-900) 55%, var(--navy-900) 100%); box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; inset-inline-start: -120px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(240,156,60,.45), transparent 65%); }
.cta-band__decor { position: absolute; z-index: -1; width: 260px; inset-inline-end: -40px; top: -60px; color: rgba(255,255,255,.08); animation: spin 50s linear infinite; }
.cta-band h2 { color: #fff; font-size: var(--fs-2xl); margin-bottom: 8px; }
.cta-band p { color: #C3D9D5; margin: 0; font-size: var(--fs-lg); max-width: 56ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 9. Pages ------------------------------------------------------------- */
/* About */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.story__media { position: relative; }
.story__frame { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1.05; border-radius: var(--radius-xl); background: radial-gradient(circle at 30% 20%, #fff, var(--teal-50) 60%, var(--teal-100)); border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; }
.story__frame::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 28px solid rgba(48,156,138,.08); }
.story__frame img { position: relative; width: 58%; filter: drop-shadow(0 18px 30px rgba(16,42,48,.18)); }
.story__badge { position: absolute; bottom: 24px; inset-inline-end: -18px; display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lg); animation: bob 6s ease-in-out infinite; }
.story__badge strong { display: block; line-height: 1.2; }
.story__badge small { color: var(--text-muted); }
.story__badge-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--orange-400), var(--orange-500)); color: var(--on-accent); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.vm-card { padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); border-top: 4px solid var(--teal-500); }
.vm-card--accent { border-top-color: var(--accent); }
.vm-card h3 { font-size: var(--fs-lg); margin: 12px 0 6px; }
.vm-card p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }
.vm-card__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50); color: var(--primary); }
.vm-card--accent .vm-card__icon { background: var(--orange-100); color: var(--accent-text); }

.value-card { position: relative; padding: 30px 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); text-align: center; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-card h3 { font-size: var(--fs-lg); margin: 18px 0 6px; }
.value-card p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }
.value-card__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-50), var(--teal-100)); color: var(--primary); box-shadow: inset 0 0 0 6px #fff, 0 0 0 1px var(--teal-100); transition: background .4s, color .4s; }
.value-card:hover .value-card__icon { background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); color: #fff; }
.value-card__icon .icon { width: 28px; height: 28px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 52px; inset-inline-start: calc(100% + 2px); width: 20px; height: 2px; background: repeating-linear-gradient(90deg, var(--teal-200) 0 4px, transparent 4px 8px); }
.step__num { display: inline-block; font-size: 2.6rem; font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--teal-500), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; font-family: var(--font-en); }
.step h3 { font-size: var(--fs-lg); margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }

/* Courses toolbar */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; padding: 14px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); font-weight: 600; font-size: var(--fs-sm); color: var(--text); transition: all .25s var(--ease); }
.chip .icon { width: 17px; height: 17px; color: var(--teal-500); }
.chip:hover { border-color: var(--teal-500); color: var(--primary); }
.chip.is-active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: var(--shadow-glow); }
.chip.is-active .icon { color: #fff; }
.chip__count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--surface-2); color: var(--text-muted); font-size: .75rem; }
.chip.is-active .chip__count { background: rgba(255,255,255,.2); color: #fff; }
.search-field { position: relative; display: flex; align-items: center; flex: 0 1 300px; }
.search-field .icon { position: absolute; inset-inline-start: 14px; color: var(--text-muted); width: 18px; height: 18px; }
.search-field input { width: 100%; min-height: 46px; padding-inline: 44px 16px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--bg); transition: border-color .2s, box-shadow .2s, background .2s; }
.search-field input:focus { outline: none; border-color: var(--teal-500); box-shadow: var(--ring); background: var(--surface); }
.course-card.is-hidden { display: none; }

/* Detail pages (course / article) */
.detail { display: grid; grid-template-columns: 1fr 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.detail__side { position: sticky; top: calc(var(--header-h) + 24px); }
.prose h2 { font-size: var(--fs-xl); margin-top: 1.8em; position: relative; padding-inline-start: 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h2::before { content: ""; position: absolute; inset-inline-start: 0; top: .25em; bottom: .25em; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--teal-500), var(--accent)); }
.prose p { color: #33444C; }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.check-list__icon { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--teal-500); color: #fff; margin-top: 1px; }
.check-list__icon .icon { width: 15px; height: 15px; }
.mini-trainer { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding: 18px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--teal-50), var(--surface)); border: 1px solid var(--border); }
.mini-trainer small { display: block; color: var(--text-muted); font-size: var(--fs-xs); }
.mini-trainer strong { display: block; }
.mini-trainer span:not(.avatar) { color: var(--primary); font-size: var(--fs-sm); }
.info-card { padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); display: grid; gap: 14px; }
.info-card__title { font-size: var(--fs-lg); margin: 0; }
.info-list { margin: 0; }
.info-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--border); font-size: var(--fs-sm); }
.info-list dt { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); }
.info-list dt .icon { width: 18px; height: 18px; color: var(--teal-500); }
.info-list dd { margin: 0; font-weight: 600; text-align: end; }
.info-list dd .icon { color: var(--success); }
.info-card__price { padding: 16px; border-radius: var(--radius); background: linear-gradient(135deg, var(--orange-100), #FFF7EC); text-align: center; }
.info-card__price small { display: block; color: var(--accent-text); font-size: var(--fs-xs); }
.info-card__price strong { font-size: var(--fs-xl); color: var(--accent-text); }
.article-cover { aspect-ratio: 16 / 7; border-radius: var(--radius-lg); margin-bottom: 22px; box-shadow: var(--shadow); }
.share { display: flex; align-items: center; gap: 10px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); font-weight: 600; }
.share a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); transition: all .25s; }
.share a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.side-news li + li { border-top: 1px solid var(--border); }
.side-news a { display: flex; gap: 12px; padding: 12px 0; color: var(--text); }
.side-news a:hover strong { color: var(--primary); }
.side-news strong { display: block; font-size: var(--fs-sm); line-height: 1.5; }
.side-news time { font-size: var(--fs-xs); color: var(--text-muted); }
.side-news__dot { width: 10px; height: 10px; flex: none; margin-top: 7px; border-radius: 50%; }

/* News page feature */
.news-feature { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: var(--radius-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.news-feature__media { min-height: 340px; }
.news-feature__media .cover__icon { width: 96px; height: 96px; }
.news-feature__body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.news-feature h2 { font-size: var(--fs-2xl); }
.news-feature h2 a { color: var(--text); }
.news-feature h2 a:hover { color: var(--primary); }
.news-feature p { color: var(--text-muted); font-size: var(--fs-lg); }
.news-feature .btn { align-self: flex-start; }

/* Consulting */
.consult-card { position: relative; padding: 32px 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s; }
.consult-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--teal-500), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
[dir="rtl"] .consult-card::before { transform-origin: right; }
.consult-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.consult-card:hover::before { transform: scaleX(1); }
.consult-card__num { position: absolute; top: 18px; inset-inline-end: 22px; font-size: 3.2rem; font-weight: 800; line-height: 1; color: var(--surface-2); font-family: var(--font-en); transition: color .3s; }
.consult-card:hover .consult-card__num { color: var(--teal-50); }
.consult-card__icon { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); color: #fff; box-shadow: var(--shadow-glow); }
.consult-card__icon .icon { width: 28px; height: 28px; }
.consult-card h3 { font-size: var(--fs-lg); margin: 22px 0 8px; }
.consult-card p { color: var(--text-muted); font-size: var(--fs-sm); }
.consult-card ul { display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--border); }
.consult-card li { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 500; }
.consult-card li .icon { width: 16px; height: 16px; color: var(--teal-500); }

.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.timeline::before { content: ""; position: absolute; top: 34px; inset-inline: 10%; height: 2px; background: linear-gradient(90deg, rgba(79,184,165,.1), rgba(79,184,165,.6), rgba(240,156,60,.6), rgba(240,156,60,.1)); }
.timeline__item { position: relative; text-align: center; }
.timeline__icon { position: relative; display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 50%; background: var(--navy-900); border: 2px solid rgba(79,184,165,.5); color: var(--teal-400); box-shadow: 0 0 0 8px rgba(79,184,165,.08); transition: transform .4s var(--ease-out), border-color .3s, color .3s; }
.timeline__item:hover .timeline__icon { transform: scale(1.08); border-color: var(--accent); color: var(--orange-400); }
.timeline__icon .icon { width: 28px; height: 28px; }
.timeline__num { position: absolute; top: -4px; inset-inline-end: calc(50% - 46px); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: .78rem; font-weight: 800; font-family: var(--font-en); }
.timeline h3 { font-size: var(--fs-base); margin-bottom: 6px; }
.timeline p { color: #A9C1BE; font-size: var(--fs-sm); margin: 0; }

/* Partners page */
.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.partner-tile { display: grid; place-items: center; aspect-ratio: 2 / 1; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s; }
.partner-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-200); }
.partner-tile img { max-height: 72px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.partner-tile:hover img { filter: none; opacity: 1; }
.partner-tile__ph { display: grid; justify-items: center; gap: 8px; color: #93A3A8; font-size: var(--fs-sm); font-weight: 600; }
.partner-tile__ph .icon { width: 30px; height: 30px; color: var(--teal-200); }

/* Contact */
.contact { display: grid; grid-template-columns: 400px 1fr; gap: clamp(24px, 4vw, 40px); align-items: start; }
.contact-panel { position: relative; overflow: hidden; isolation: isolate; padding: 32px; border-radius: var(--radius-xl); color: #D7E6E3; background: linear-gradient(160deg, var(--teal-700), var(--teal-900) 50%, var(--navy-950)); box-shadow: var(--shadow-lg); }
.contact-panel::before { content: ""; position: absolute; z-index: -1; width: 300px; height: 300px; inset-inline-end: -120px; top: -120px; border-radius: 50%; border: 40px solid rgba(255,255,255,.05); }
.contact-panel h2 { color: #fff; font-size: var(--fs-xl); margin-bottom: 24px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list li + li { margin-top: 22px; }
.contact-list small { display: block; color: #9FC2BC; font-size: var(--fs-xs); }
.contact-list a, .contact-list span { color: #fff; font-weight: 600; }
.contact-list a:hover { color: var(--orange-400); }
.contact-list .link-arrow { display: inline-flex; margin-top: 6px; color: var(--orange-400); font-weight: 600; }
.contact-list__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); color: var(--orange-400); }
.contact-list__icon .icon { width: 22px; height: 22px; }
.contact-panel__quick { margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.contact-panel__quick h3 { color: #fff; font-size: var(--fs-base); margin-bottom: 4px; }
.contact-panel__quick p { font-size: var(--fs-sm); color: #A9C1BE; }
.contact-panel__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.form-card > h2 { font-size: var(--fs-xl); margin-bottom: 24px; }
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; margin-bottom: 8px; font-weight: 600; font-size: var(--fs-sm); }
.req { color: var(--danger); }
.optional { color: var(--text-muted); font-weight: 400; font-size: var(--fs-xs); }
.field :is(input, select, textarea) { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--radius); border: 1.5px solid var(--border); background: var(--bg); transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 150px; line-height: 1.7; }
.field :is(input, select, textarea):hover { border-color: #C3D2CF; }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--teal-500); box-shadow: var(--ring); background: var(--surface); }
.field input[readonly] { background: var(--teal-50); color: var(--primary); font-weight: 600; }
.field input[dir="ltr"] { text-align: start; }
[dir="rtl"] .field input[dir="ltr"] { text-align: end; }
.field.has-error :is(input, select, textarea) { border-color: var(--danger); background: #FFF8F7; }
.field__error { margin: 6px 0 0; color: var(--danger); font-size: var(--fs-xs); font-weight: 600; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-inline-end: 44px; cursor: pointer; }
.select::after { content: ""; position: absolute; inset-inline-end: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.form__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form__note { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--text-muted); font-size: var(--fs-xs); }
.form__note .icon { color: var(--teal-500); width: 18px; height: 18px; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .icon { animation: spin 1s linear infinite; }

/* 404 */
.not-found__inner { text-align: center; max-width: 640px; }
.not-found__code { font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; line-height: 1; font-family: var(--font-en); background: linear-gradient(135deg, var(--teal-500), var(--teal-800) 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.not-found .section-text { margin-inline: auto; margin-bottom: 32px; }

/* 9b. Navigation dropdowns ------------------------------------------------ */
.topbar__end { display: flex; align-items: center; gap: 14px; }
.topbar__learn { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; background: rgba(240,156,60,.14); color: var(--orange-400); font-weight: 600; }
.topbar__learn:hover { background: rgba(240,156,60,.25); color: #fff; }
.topbar__learn .icon { width: 14px; height: 14px; }

.main-nav__list { display: flex; align-items: center; gap: 2px; }
.main-nav__item { position: relative; display: flex; align-items: center; }
.has-sub > .main-nav__link { padding-inline-end: 4px; }
.sub-toggle { display: grid; place-items: center; width: 26px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--text-muted); transition: color .2s, transform .3s var(--ease); }
.sub-toggle .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.has-sub:hover .sub-toggle, .has-sub.is-open .sub-toggle { color: var(--primary); }
.has-sub:hover .sub-toggle .icon, .has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }

.subnav { position: absolute; top: 100%; inset-inline-start: -12px; z-index: 50; min-width: 320px; padding: 10px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
.subnav::before { content: ""; position: absolute; inset-inline: 0; top: -14px; height: 14px; } /* hover bridge */
.has-sub:hover > .subnav, .has-sub:focus-within > .subnav, .has-sub.is-open > .subnav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s; }
.has-sub.is-closed > .subnav { opacity: 0 !important; visibility: hidden !important; }
.subnav--mega { display: grid; grid-template-columns: 1fr 230px; gap: 10px; width: 640px; inset-inline-start: 50%; translate: -50% 0; }
[dir="rtl"] .subnav--mega { translate: 50% 0; }
.subnav__list { display: grid; gap: 2px; }
.subnav__link { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--text); transition: background .2s; }
.subnav__link:hover, .subnav__link.is-active { background: var(--teal-50); color: var(--text); }
.subnav__icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--teal-50); color: var(--primary); transition: background .2s, color .2s; }
.subnav__link:hover .subnav__icon { background: var(--primary); color: #fff; }
.subnav__icon .icon { width: 19px; height: 19px; }
.subnav__text { display: flex; flex-direction: column; line-height: 1.4; }
.subnav__text strong { font-size: var(--fs-sm); }
.subnav__text small { color: var(--text-muted); font-size: .78rem; }
.subnav__text .ext { color: var(--teal-500); font-size: .8em; }
.subnav__promo { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 14px; overflow: hidden; isolation: isolate; color: #D7E6E3; background: linear-gradient(160deg, var(--teal-700), var(--navy-900)); }
.subnav__promo::after { content: ""; position: absolute; z-index: -1; width: 160px; height: 160px; inset-inline-end: -60px; bottom: -60px; border-radius: 50%; border: 22px solid rgba(240,156,60,.25); }
.subnav__promo strong { color: #fff; font-size: var(--fs-base); line-height: 1.4; }
.subnav__promo small { font-size: .8rem; color: #B9D0CC; flex: 1; }
.subnav__promo .link-arrow { color: var(--orange-400); margin-top: 6px; }
.subnav__promo:hover { color: #D7E6E3; }
.subnav__promo-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--orange-400), var(--orange-500)); color: var(--on-accent); margin-bottom: 6px; }

/* Live / mode badges */
.live-dot { position: relative; display: inline-block; width: 8px; height: 8px; flex: none; border-radius: 50%; background: #E5484D; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #E5484D; animation: ping 1.8s var(--ease) infinite; }
.course-card__mode { display: inline-flex; align-items: center; gap: 6px; }
.course-card__mode .icon { width: 14px; height: 14px; color: var(--teal-500); }
.course-card__std { position: absolute; bottom: 12px; inset-inline-end: 14px; padding: 3px 10px; border-radius: 8px; background: rgba(6,19,23,.55); color: #fff; font: 700 .72rem/1.4 var(--font-en); letter-spacing: .02em; backdrop-filter: blur(6px); }
.cover--quality { background: linear-gradient(135deg, #3FB09C, #1F5F7A 55%, var(--navy-900)); }

.toolbar__end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; flex: 1 1 auto; justify-content: flex-end; }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); }
.segmented__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: none; font-size: var(--fs-xs); font-weight: 600; color: var(--text-muted); transition: background .2s, color .2s, box-shadow .2s; }
.segmented__btn .icon { width: 15px; height: 15px; }
.segmented__btn:hover { color: var(--text); }
.segmented__btn.is-active { background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }
.course-card.is-hidden { display: none; }

/* Standard cards */
.std-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); color: var(--text); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.std-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--text); }
.std-card__head { display: flex; align-items: flex-end; justify-content: space-between; height: 128px; padding: 18px; place-items: initial; }
.std-card__code { font: 800 1.25rem/1.2 var(--font-en); color: #fff; letter-spacing: -.01em; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.std-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); transition: transform .4s var(--ease-out); }
.std-card:hover .std-card__icon { transform: rotate(-8deg) scale(1.08); }
.std-card__icon .icon { width: 24px; height: 24px; }
.std-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 20px; }
.std-card__body strong { font-size: var(--fs-lg); }
.std-card__body > span:not(.link-arrow) { color: var(--text-muted); font-size: var(--fs-sm); flex: 1; }

/* Readiness band */
.readiness-band { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 28px 36px; border-radius: var(--radius-xl); background: linear-gradient(120deg, #FFF7EC, var(--surface) 45%, var(--teal-50)); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; }
.readiness-band h2 { font-size: var(--fs-xl); margin-bottom: 4px; }
.readiness-band p { color: var(--text-muted); margin: 0; }
.readiness-band__gauge { position: relative; width: 96px; height: 96px; color: var(--teal-500); }
.readiness-band__gauge svg { width: 100%; height: 100%; }
.readiness-band__gauge > span { position: absolute; inset: 0; display: grid; place-items: center; color: var(--primary); }
.readiness-band__gauge > span .icon { width: 34px; height: 34px; }
.gauge-arc { animation: gauge 2.4s var(--ease-out) both; }
@keyframes gauge { from { stroke-dashoffset: 314; } }

/* Accreditation hub */
.narrow { max-width: 900px; }
.center { text-align: center; }
.audience-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-bottom: clamp(40px, 5vw, 64px); }
.audience-strip__label { font-weight: 700; color: var(--text-muted); margin-inline-end: 6px; }
.audience-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--border); color: var(--text); font-weight: 600; font-size: var(--fs-sm); box-shadow: var(--shadow-xs); transition: all .25s var(--ease); }
.audience-pill .icon { width: 18px; height: 18px; color: var(--teal-500); }
.audience-pill:hover { border-color: var(--teal-500); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.journey { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 28px; counter-reset: j; }
.journey__item { position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px; border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); transition: border-color .3s, transform .4s var(--ease-out); }
.journey__item:hover { border-color: rgba(79,184,165,.5); transform: translateY(-3px); }
.journey__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.journey__item h3 { font-size: var(--fs-base); margin-bottom: 4px; }
.journey__item p { color: #A9C1BE; font-size: var(--fs-sm); margin: 0; }
.journey__num { position: absolute; top: -10px; inset-inline-start: -10px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 800 .8rem/1 var(--font-en); box-shadow: 0 6px 14px -4px rgba(240,156,60,.7); }
.journey__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: rgba(79,184,165,.14); color: var(--teal-400); border: 1px solid rgba(79,184,165,.3); }
.journey__icon .icon { width: 24px; height: 24px; }
.journey--light { margin-top: 8px; }
.journey--light .journey__item { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-xs); }
.journey--light .journey__item p { color: var(--text-muted); }
.journey--light .journey__icon { background: var(--teal-50); color: var(--primary); border-color: var(--teal-100); }
.note-light { display: flex; align-items: center; gap: 12px; max-width: 760px; margin: 36px auto 0; padding: 14px 20px; border-radius: var(--radius); background: rgba(240,156,60,.1); border: 1px solid rgba(240,156,60,.3); color: #F5D9B6; font-size: var(--fs-sm); }
.note-light .icon { color: var(--orange-400); width: 22px; height: 22px; }

.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.scope-card { position: relative; padding: 32px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; isolation: isolate; }
.scope-card::after { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; inset-inline-end: -80px; top: -80px; border-radius: 50%; border: 30px solid var(--teal-50); }
.scope-card:nth-child(2)::after { border-color: var(--orange-100); }
.scope-card h3 { font-size: var(--fs-xl); margin: 18px 0 8px; }
.scope-card p { color: var(--text-muted); margin: 0; }
.scope-card__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); color: #fff; box-shadow: var(--shadow-glow); }
.scope-card:nth-child(2) .scope-card__icon { background: linear-gradient(135deg, var(--orange-400), var(--orange-500)); color: var(--on-accent); box-shadow: 0 16px 36px -14px rgba(240,156,60,.7); }
.scope-card__icon .icon { width: 28px; height: 28px; }

.faq { display: grid; gap: 12px; }
.faq__item { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-xs); transition: box-shadow .3s, border-color .3s; }
.faq__item[open] { border-color: var(--teal-200); box-shadow: var(--shadow-sm); }
.faq__item summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--teal-50); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--primary); translate: -50% -50%; transition: transform .3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__item p { padding: 0 22px 20px; margin: 0; color: var(--text-muted); }

/* Standard page */
.clause-list { display: grid; gap: 10px; counter-reset: c; }
.clause-list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.clause-list__num { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); color: #fff; font: 700 .9rem/1 var(--font-en); }
.std-link { display: flex; align-items: center; gap: 12px; padding: 14px 18px; margin-bottom: 8px; border-radius: var(--radius); background: var(--teal-50); border: 1px solid var(--teal-100); color: var(--text); }
.std-link > .icon:first-child { color: var(--primary); }
.std-link span { flex: 1; font-size: var(--fs-sm); }
.std-link:hover { border-color: var(--teal-500); color: var(--text); }
.std-side { text-align: center; }
.std-side__code { display: block; font: 800 1.6rem/1.2 var(--font-en); background: linear-gradient(135deg, var(--teal-500), var(--teal-800)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.std-side p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }
.info-card__hint { margin: -4px 0 0; color: var(--text-muted); font-size: var(--fs-xs); text-align: center; }

/* Registration */
.register { display: grid; grid-template-columns: 1fr 380px; gap: clamp(24px, 4vw, 40px); align-items: start; }
.register__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.form-step { margin: 0; padding: 0 0 8px; border: 0; display: grid; gap: 18px; }
.form-step + .form-step { padding-top: 24px; border-top: 1px dashed var(--border); }
.form-step legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 18px; font-size: var(--fs-lg); font-weight: 700; }
.form-step__num { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 10px; background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); color: #fff; font: 700 .95rem/1 var(--font-en); box-shadow: var(--shadow-glow); }
.field__label { display: block; margin-bottom: 8px; font-weight: 600; font-size: var(--fs-sm); }
.field__hint { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 8px 0 0; color: var(--text-muted); font-size: var(--fs-xs); }
.field__hint .icon { width: 15px; height: 15px; color: var(--teal-500); }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); border: 1.5px solid var(--border); background: var(--bg); font-weight: 600; transition: all .2s var(--ease); }
.choice__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface); color: var(--primary); box-shadow: var(--shadow-xs); }
.choice__icon .icon { width: 20px; height: 20px; }
.choice:hover .choice__box { border-color: var(--teal-200); }
.choice input:checked + .choice__box { border-color: var(--teal-500); background: var(--teal-50); box-shadow: var(--ring); }
.choice input:checked + .choice__box .choice__icon { background: var(--primary); color: #fff; }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--teal-500); outline-offset: 2px; }
.has-error .choice__box { border-color: var(--danger); }
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 20px; border-radius: var(--radius-lg); border: 2px dashed var(--teal-200); background: var(--teal-50); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--teal-500); background: #E2F3EF; }
.dropzone.has-file { border-style: solid; border-color: var(--teal-500); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); margin-bottom: 4px; }
.dropzone__icon .icon { width: 24px; height: 24px; transform: rotate(-45deg); }
[dir="rtl"] .dropzone__icon .icon { transform: rotate(-45deg) scaleX(-1); }
.dropzone strong { font-size: var(--fs-sm); word-break: break-all; }
.dropzone small { color: var(--text-muted); font-size: var(--fs-xs); }
.has-error .dropzone { border-color: var(--danger); background: #FFF8F7; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: var(--fs-sm); }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; flex: none; accent-color: var(--primary); }
.success-card { text-align: center; }
.success-card__icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #ECF7F1; color: var(--success); margin-bottom: 16px; box-shadow: 0 0 0 10px rgba(31,122,77,.06); }
.success-card__icon .icon { width: 42px; height: 42px; }
.success-card p { color: var(--text-muted); max-width: 52ch; margin-inline: auto; }
.ref-code { display: inline-block; margin: 6px 0 26px; padding: 12px 22px; border-radius: var(--radius); background: var(--surface-2); border: 1px dashed var(--teal-500); font: 700 1.3rem/1 var(--font-en); letter-spacing: .06em; color: var(--primary); }
.pay-list { display: grid; gap: 16px; margin-bottom: 18px; }
.pay-list li { display: flex; gap: 14px; align-items: flex-start; }
.pay-list strong { color: #fff; display: block; line-height: 1.4; margin-top: 4px; }
.pay-list__details { margin: 6px 0 0; color: #C8D9D6; font-size: var(--fs-sm); direction: ltr; text-align: start; }
.pay-note { padding: 12px 14px; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font-size: var(--fs-sm); color: #C8D9D6; }
.mini-steps { display: grid; gap: 12px; counter-reset: m; }
.mini-steps li { display: flex; align-items: flex-start; gap: 12px; font-size: var(--fs-sm); }
.mini-steps span { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--teal-50); color: var(--primary); font: 700 .8rem/1 var(--font-en); }

/* Online learning */
.mode-card { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); color: var(--text); overflow: hidden; isolation: isolate; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.mode-card::after { content: ""; position: absolute; z-index: -1; width: 200px; height: 200px; inset-inline-end: -70px; top: -70px; border-radius: 50%; background: radial-gradient(circle, var(--teal-50), transparent 70%); }
.mode-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--text); }
.mode-card h3 { font-size: var(--fs-xl); margin: 20px 0 8px; }
.mode-card p { color: var(--text-muted); flex: 1; }
.mode-card__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); color: #fff; box-shadow: var(--shadow-glow); }
.mode-card__icon .icon { width: 30px; height: 30px; }
.mode-card--self .mode-card__icon { background: linear-gradient(135deg, var(--orange-400), var(--orange-500)); color: var(--on-accent); box-shadow: 0 16px 36px -14px rgba(240,156,60,.7); }
.mode-card--blended .mode-card__icon { background: linear-gradient(135deg, #6C8CE0, #34508F); }
.timeline--4 { grid-template-columns: repeat(4, 1fr); }
.platform-band, .online-band { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--surface), var(--teal-50)); border: 1px solid var(--border); box-shadow: var(--shadow); }
.platform-band__box { padding: 24px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.platform-band__box h3 { font-size: var(--fs-lg); }
.online-band__modes { display: grid; gap: 12px; }
.mini-mode { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-xs); transition: transform .3s var(--ease-out); }
.mini-mode:hover { transform: translateX(-4px); }
[dir="ltr"] .mini-mode:hover { transform: translateX(4px); }
.mini-mode strong { display: block; }
.mini-mode small { color: var(--text-muted); font-size: var(--fs-xs); line-height: 1.5; display: block; }
.mini-mode__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); color: #fff; }
.mini-mode--self .mini-mode__icon { background: linear-gradient(135deg, var(--orange-400), var(--orange-500)); color: var(--on-accent); }
.mini-mode--blended .mini-mode__icon { background: linear-gradient(135deg, #6C8CE0, #34508F); }
.mini-mode__icon .icon { width: 22px; height: 22px; }

/* Readiness test */
.rd-step { margin-bottom: 36px; }
.rd-title { display: flex; align-items: center; gap: 12px; font-size: var(--fs-xl); margin-bottom: 20px; }
.std-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.std-pick { position: relative; cursor: pointer; }
.std-pick input { position: absolute; opacity: 0; pointer-events: none; }
.std-pick__box { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 14px; border-radius: var(--radius-lg); border: 1.5px solid var(--border); background: var(--surface); text-align: center; box-shadow: var(--shadow-xs); transition: all .25s var(--ease); }
.std-pick__box strong { font-family: var(--font-en); }
.std-pick__box small { color: var(--text-muted); font-size: var(--fs-xs); line-height: 1.5; }
.std-pick__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; margin-bottom: 4px; }
.std-pick__icon .icon { width: 26px; height: 26px; }
.std-pick:hover .std-pick__box { border-color: var(--teal-200); transform: translateY(-3px); }
.std-pick input:checked + .std-pick__box { border-color: var(--teal-500); background: var(--teal-50); box-shadow: var(--ring); }
.std-pick input:focus-visible + .std-pick__box { outline: 3px solid var(--teal-500); outline-offset: 2px; }
.rd-quiz__head { position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 18px; border-radius: var(--radius-lg); background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.rd-quiz__head .rd-title { margin: 0; font-size: var(--fs-lg); }
.rd-progress { display: flex; align-items: center; gap: 12px; flex: 1 1 220px; max-width: 360px; }
.rd-progress small { color: var(--text-muted); white-space: nowrap; font-size: var(--fs-xs); }
.rd-progress__bar { flex: 1; height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.rd-progress__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--teal-500), var(--accent)); transition: width .4s var(--ease); }
.rd-questions { display: grid; gap: 12px; counter-reset: q; }
.rd-q { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-xs); transition: border-color .2s; }
.rd-q.is-answered { border-color: var(--teal-200); }
.rd-q.is-missing { border-color: var(--danger); }
.rd-q__text { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); font-weight: 500; }
.rd-q__num { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--surface-2); color: var(--text-muted); font: 700 .78rem/1 var(--font-en); }
.rd-q__area { display: block; color: var(--teal-700); font-size: .72rem; font-weight: 700; margin-bottom: 2px; }
.rd-opts { display: flex; gap: 6px; }
.rd-opt { position: relative; }
.rd-opt input { position: absolute; opacity: 0; pointer-events: none; }
.rd-opt span { display: inline-grid; place-items: center; min-width: 64px; min-height: 38px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--border); font-size: var(--fs-xs); font-weight: 700; cursor: pointer; transition: all .2s; }
.rd-opt:hover span { border-color: var(--teal-200); }
.rd-opt input:focus-visible + span { outline: 3px solid var(--teal-500); outline-offset: 2px; }
.rd-opt--yes input:checked + span { background: var(--success); border-color: var(--success); color: #fff; }
.rd-opt--partly input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.rd-opt--no input:checked + span { background: #5B6770; border-color: #5B6770; color: #fff; }
.rd-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.rd-result__top { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 28px; border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--surface), var(--teal-50)); border: 1px solid var(--border); box-shadow: var(--shadow); margin-bottom: 20px; }
.rd-result__top h2 { font-size: var(--fs-2xl); margin-bottom: 6px; }
.rd-result__top p { color: var(--text-muted); margin: 0; }
.rd-gauge { position: relative; width: 150px; height: 150px; color: var(--teal-500); }
.rd-gauge svg { width: 100%; height: 100%; }
.rd-gauge circle[data-rd-arc] { transition: stroke-dashoffset 1.4s var(--ease-out); }
.rd-gauge strong { position: absolute; inset: 0; display: grid; place-items: center; font: 800 2rem/1 var(--font-en); color: var(--text); }
.rd-result__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 18px; }
.area-bars { display: grid; gap: 14px; }
.area-bars li { display: grid; gap: 6px; font-size: var(--fs-sm); }
.area-bars__label { display: flex; justify-content: space-between; }
.area-bars__label b { font-family: var(--font-en); }
.area-bars__track { height: 10px; border-radius: 10px; background: var(--surface-2); overflow: hidden; }
.area-bars__track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal-500), var(--teal-400)); transition: width 1s var(--ease-out); }
.area-bars__track span.is-low { background: linear-gradient(90deg, #D9822B, var(--accent)); }
.gap-list { display: grid; gap: 10px; }
.gap-list li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); }
.gap-list .icon { width: 18px; height: 18px; color: var(--accent-text); margin-top: 3px; }
.gap-list li.is-partly .icon { color: var(--orange-500); }

/* Hero visuals: accreditation & online */
.glass-checklist { display: grid; gap: 12px; }
.glass-checklist li { display: flex; align-items: center; gap: 12px; }
.glass-check { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; border: 2px dashed rgba(255,255,255,.45); }
.glass-check.is-done { border: 0; background: var(--teal-500); }
.glass-check .icon { width: 14px; height: 14px; }
.glass-meter { flex: 1; height: 9px; border-radius: 9px; background: rgba(255,255,255,.14); overflow: hidden; }
.glass-meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal-400), var(--orange-400)); transform-origin: left; animation: grow 1.4s var(--ease-out) both; animation-delay: var(--d); }
[dir="rtl"] .glass-meter span { transform-origin: right; }
.glass-card--video { padding: 14px; gap: 10px; }
.glass-video { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 14px; background: radial-gradient(circle at 30% 30%, rgba(79,184,165,.5), rgba(15,58,51,.85)); overflow: hidden; }
.glass-video__live { position: absolute; top: 10px; inset-inline-start: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 6px; background: rgba(0,0,0,.45); font: 700 .7rem/1.4 var(--font-en); letter-spacing: .08em; }
.glass-video__play { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--teal-700); box-shadow: 0 0 0 10px rgba(255,255,255,.15); }
.glass-video__play .icon { width: 24px; height: 24px; margin-inline-start: 3px; fill: currentColor; }
.glass-video__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.glass-video__grid span { aspect-ratio: 4 / 3; border-radius: 10px; background: linear-gradient(135deg, rgba(255,255,255,.25), rgba(255,255,255,.06)); }
.glass-video__grid span:nth-child(2) { background: linear-gradient(135deg, rgba(240,156,60,.55), rgba(240,156,60,.15)); }
.glass-video__grid span:nth-child(4) { background: linear-gradient(135deg, rgba(108,140,224,.55), rgba(108,140,224,.15)); }

/* 10. Motion ------------------------------------------------------------ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
.feature-tile[data-reveal].is-visible:nth-child(even) { transform: none; }

@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -20px) scale(1.05); } 66% { transform: translate(-20px, 20px) scale(.97); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes rise { from { transform: scaleY(0); } }
@keyframes dot-fill { to { transform: scaleX(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
    .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* 11. Responsive -------------------------------------------------------- */
@media (max-width: 1180px) {
    .main-nav__link { padding: 10px 10px; }
    .main-nav__link::after { inset-inline: 10px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
    .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
    .timeline::before { display: none; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step::after { display: none; }
}

@media (max-width: 1280px) and (min-width: 1061px) {
    .main-nav__link { padding: 10px 8px; font-size: .875rem; }
    .has-sub > .main-nav__link { padding-inline-end: 2px; }
    .site-header__inner { gap: 16px; }
    .brand__text small { display: none; }
}

@media (max-width: 1060px) {
    :root { --header-h: 70px; }
    .main-nav__item { flex-wrap: wrap; }
    .main-nav__item > .main-nav__link { flex: 1; }
    .sub-toggle { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); }
    .subnav, .subnav--mega { position: static; display: none; width: 100%; min-width: 0; translate: none; margin: 4px 0 10px; padding: 6px; box-shadow: none; background: var(--bg); opacity: 1; visibility: visible; transform: none; transition: none; }
    .has-sub:hover > .subnav, .has-sub:focus-within > .subnav { display: none; }
    .has-sub.is-open > .subnav { display: grid; }
    .has-sub:hover .sub-toggle .icon { transform: none; }
    .has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }
    .subnav--mega { grid-template-columns: 1fr; }
    [dir] .subnav, [dir] .subnav--mega { translate: none; inset: auto; }
    .subnav::before { display: none; }
    .register { grid-template-columns: 1fr; }
    .register__side { position: static; }
    .std-picker { grid-template-columns: repeat(2, 1fr); }
    .platform-band, .online-band { grid-template-columns: 1fr; }
    .timeline--4 { grid-template-columns: repeat(2, 1fr); }
    .readiness-band { grid-template-columns: auto 1fr; }
    .readiness-band .btn { grid-column: 1 / -1; justify-self: start; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-col--brand { grid-column: 1 / -1; }
    .hide-md { display: none !important; }
    .nav-toggle { display: block; }
    .main-nav { position: fixed; inset: 0; top: 0; z-index: 99; margin: 0; display: flex; flex-direction: column; padding: calc(var(--header-h) + 56px) var(--gutter) 32px; background: rgba(255,255,255,.98); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s; overflow-y: auto; }
    .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s; }
    .main-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
    .main-nav__link { padding: 14px 16px; font-size: var(--fs-lg); border-radius: 14px; }
    .main-nav__link::after { display: none; }
    .main-nav__link.is-active { background: var(--teal-50); }
    .main-nav__mobile-cta { display: block; margin-top: 24px; }
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
    .brand, .site-header__actions { position: relative; z-index: 101; }
    .nav-open { overflow: hidden; }

    .hero-slide__inner { grid-template-columns: 1fr; text-align: center; gap: 24px; padding-block: 56px 120px; min-height: 0; }
    .hero-text { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-slide__visual { order: -1; }
    .hero-visual { width: min(80%, 380px); }
    .hero__controls { bottom: 96px; }
    .why, .story { grid-template-columns: 1fr; }
    .story__media { max-width: 460px; margin-inline: auto; width: 100%; }
    .detail, .contact { grid-template-columns: 1fr; }
    .detail__side { position: static; }
    .news-feature { grid-template-columns: 1fr; }
    .news-feature__media { min-height: 240px; }
    .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .cta-band { grid-template-columns: 1fr; text-align: center; }
    .cta-band p { margin-inline: auto; }
    .cta-band__actions { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .hide-sm { display: none !important; }
    .topbar__learn span { display: none; }
    .journey, .scope-grid, .rd-result__grid { grid-template-columns: 1fr; }
    .rd-q { grid-template-columns: 1fr; }
    .rd-opts { justify-content: flex-end; }
    .rd-opt { flex: 1; }
    .rd-opt span { width: 100%; }
    .rd-result__top { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .readiness-band { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 24px; }
    .readiness-band .btn { justify-self: stretch; }
    .toolbar__end { justify-content: stretch; width: 100%; min-width: 0; }
    .segmented { width: 100%; min-width: 0; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
    .segmented__btn { flex: none; }
    .timeline--4 { grid-template-columns: 1fr; }
    .topbar__contact li:nth-child(2) { display: none; }
    .brand img { width: 42px; height: 42px; }
    .brand__text strong { font-size: 1.2rem; }
    .brand__text small { font-size: .7rem; }
    .lang-switch { padding: 0 12px; }
    .lang-switch .icon { display: none; }
    .hero-visual { width: min(92%, 340px); }
    .glass-card--main { inset-inline: 10%; padding: 18px; gap: 16px; }
    .glass-card--float { padding: 10px 12px; }
    .glass-card--steps { min-width: 0; }
    .glass-chart { height: 100px; }
    .card-grid--3, .card-grid--4, .services-grid, .why__grid, .vm-grid, .steps, .form__row { grid-template-columns: 1fr; }
    .feature-tile:nth-child(even) { translate: none; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline { grid-template-columns: 1fr 1fr; }
    .section--overlap { margin-top: -56px; }
    .toolbar { padding: 12px; }
    .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -12px; padding-inline: 12px; scrollbar-width: none; width: calc(100% + 24px); }
    .chips::-webkit-scrollbar { display: none; }
    .chip { flex: none; }
    .search-field { flex: 1 1 100%; }
    .page-hero__head { flex-direction: column; align-items: flex-start; gap: 16px; }
    .page-hero__icon { width: 58px; height: 58px; border-radius: 18px; }
    .page-hero__ring { width: 220px; height: 220px; inset-inline-end: -60px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-col--brand { grid-column: auto; }
    .story__badge { inset-inline-end: 8px; }
    .form__footer .btn { width: 100%; }
    .whatsapp-fab { width: 52px; height: 52px; inset-inline-end: 16px; bottom: 16px; }
}

@media (max-width: 420px) {
    .timeline { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .glass-card--float { display: none; }
    .glass-card--main { inset-inline: 6%; top: 14%; }
}

@media print {
    .topbar, .site-header, .site-footer, .whatsapp-fab, .hero__controls { display: none !important; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* Labels used as components inside .field */
.field label.dropzone { display: flex; margin-bottom: 0; font-weight: 400; }
.field label.check { display: flex; margin-bottom: 0; font-weight: 400; }
.field label.choice { display: block; margin-bottom: 0; }
