/*
 * Public site v2 (2026-11-07) — full redesign of the public pages
 * (home, OurStory, team), per owner's request "تغيير جذري للشكل".
 *
 * Self-contained: no purchased-template CSS/JS, no preloader. (The old
 * template's preloader was a full-screen #04021b navy layer — that was the
 * "navy flash" seen on every refresh.)
 */

:root {
    /* DGA Unified Design System ("كود المنصات") — Primary SA / semantic palettes */
    --g-950: #092A1E;
    --g-900: #104631;
    --g-800: #14573A;
    --g-700: #166A45;
    --g-600: #1B8354;
    --g-500: #54C08A;
    --g-300: #88D8AD;
    --g-200: #B8EACB;
    --g-100: #DFF6E7;
    --g-50: #F3FCF6;
    --sand: #F9FAFB;
    --sand-2: #F3F4F6;
    --accent: #FDB022;      /* Warning 400 — highlights on dark, never as text on light */
    --accent-soft: #FFFAEB; /* Warning 50 */
    --accent-ink: #B54708;  /* Warning 700 — text/icons on Warning 50/100 (4.8:1+) */
    --teal: #166A45;
    --ink: #161616;
    --ink-2: #4D5761;
    --ink-3: #6C737F;       /* 4.6:1 on white / Primary 50 — muted text minimum */
    --line: #E5E7EB;
    --white: #fff;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 1px 2px rgba(9, 42, 30, .05), 0 18px 40px -22px rgba(9, 42, 30, .35);
    --container: 1200px;
    --font: "IBM Plex Sans Arabic", "IBM Plex Sans", "Segoe UI", Tahoma, sans-serif;
    --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section[id] { scroll-margin-top: calc(var(--header-h) + 10px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 52px; padding: 0 26px; border-radius: 14px;
    font: inherit; font-size: 15.5px; font-weight: 700;
    border: 1.5px solid transparent; cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
    white-space: nowrap;
}
.btn i { font-size: 14px; }
.btn--primary { background: var(--g-700); color: #fff; box-shadow: 0 10px 24px -14px rgba(22, 106, 69, .8); }
.btn--primary:hover { background: var(--g-800); transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--g-950); box-shadow: 0 10px 24px -14px rgba(253, 176, 34, .9); }
.btn--accent:hover { background: #FEC84B; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--g-900); }
.btn--light:hover { background: var(--g-100); transform: translateY(-2px); }
.btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--ghost { color: var(--g-800); border-color: var(--line); background: #fff; }
.btn--ghost:hover { border-color: var(--g-600); color: var(--g-700); }
.btn--sm { height: 44px; padding: 0 18px; font-size: 14.5px; border-radius: 12px; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    height: var(--header-h);
    display: flex; align-items: center;
    transition: background .25s ease, box-shadow .25s ease, height .25s ease;
}
.site-header .container { display: flex; align-items: center; gap: 36px; }
.site-header__logo { display: block; flex: 0 0 auto; }
.site-header__logo img { height: 46px; width: auto; }
.site-header__logo .logo-color { display: none; }
.site-nav { flex: 1; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a,
.site-nav > ul > li > button {
    display: inline-flex; align-items: center; gap: 7px;
    height: 44px; padding: 0 14px; border-radius: 10px;
    background: none; border: 0; cursor: pointer;
    font: inherit; font-size: 15.5px; font-weight: 500; color: rgba(255, 255, 255, .92);
    transition: background .15s, color .15s;
}
.site-nav > ul > li > a:hover,
.site-nav > ul > li > button:hover,
.site-nav > ul > li:focus-within > button { background: rgba(255, 255, 255, .1); color: #fff; }
.site-nav > ul > li > a.is-current { color: #fff; }
.site-nav > ul > li > a.is-current::after {
    content: ""; position: absolute; bottom: 4px; right: 14px; left: 14px; height: 2px; border-radius: 2px; background: var(--accent);
}
.site-nav .caret { font-size: 11px; transition: transform .2s; }
.site-nav .dd {
    position: absolute; top: calc(100% + 8px); right: 0; min-width: 250px;
    background: #fff; border-radius: 16px; padding: 8px;
    box-shadow: 0 24px 50px -20px rgba(14, 42, 31, .45), 0 0 0 1px rgba(14, 42, 31, .06);
    list-style: none; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.site-nav .dd::before { content: ""; position: absolute; top: -10px; right: 0; left: 0; height: 10px; }
.site-nav li:hover > .dd,
.site-nav li:focus-within > .dd { opacity: 1; visibility: visible; transform: none; }
.site-nav li:hover .caret { transform: rotate(180deg); }
.site-nav .dd a {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: 10px;
    color: var(--ink); font-size: 15px;
}
.site-nav .dd a i {
    width: 34px; height: 34px; border-radius: 10px; flex: 0 0 34px;
    display: grid; place-items: center; background: var(--g-100); color: var(--g-700); font-size: 14px;
}
.site-nav .dd a:hover { background: var(--g-50); color: var(--g-800); }

.site-header__actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.site-header__login { color: #fff; font-weight: 600; font-size: 15px; padding: 0 12px; height: 44px; display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; }
.site-header__login:hover { background: rgba(255, 255, 255, .1); }
.site-header__burger {
    display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; cursor: pointer;
    background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px;
}

/* scrolled / light variant */
.site-header.is-solid,
body.site--light-header .site-header {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(14, 42, 31, .35);
}
.site-header.is-solid { height: 72px; }
.site-header.is-solid .logo-white, body.site--light-header .site-header .logo-white { display: none; }
.site-header.is-solid .logo-color, body.site--light-header .site-header .logo-color { display: block; }
.site-header.is-solid .site-nav > ul > li > a,
.site-header.is-solid .site-nav > ul > li > button,
body.site--light-header .site-nav > ul > li > a,
body.site--light-header .site-nav > ul > li > button { color: var(--ink-2); }
.site-header.is-solid .site-nav > ul > li > a:hover,
.site-header.is-solid .site-nav > ul > li > button:hover,
body.site--light-header .site-nav > ul > li > a:hover,
body.site--light-header .site-nav > ul > li > button:hover { background: var(--g-50); color: var(--g-800); }
.site-header.is-solid .site-nav > ul > li > a.is-current,
body.site--light-header .site-nav > ul > li > a.is-current { color: var(--g-800); }
.site-header.is-solid .site-header__login,
body.site--light-header .site-header__login { color: var(--g-800); }
.site-header.is-solid .site-header__login:hover { background: var(--g-50); }
.site-header.is-solid .site-header__burger { background: var(--g-100); color: var(--g-800); }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer__bg { position: absolute; inset: 0; background: rgba(9, 28, 20, .55); opacity: 0; transition: opacity .25s; }
.drawer__panel {
    position: absolute; top: 0; bottom: 0; right: 0; width: min(88vw, 360px);
    background: #fff; transform: translateX(100%); transition: transform .3s ease;
    display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.is-open { visibility: visible; }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head img { height: 40px; width: auto; }
.drawer__close { width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--g-50); color: var(--g-800); font-size: 18px; cursor: pointer; }
.drawer nav { padding: 10px 12px; flex: 1; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary, .drawer .drawer__link {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 10px; font-weight: 600; font-size: 16px; cursor: pointer; list-style: none; color: var(--ink);
}
.drawer .drawer__link { border-bottom: 1px solid var(--line); }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary i { font-size: 12px; transition: transform .2s; color: var(--ink-3); }
.drawer details[open] summary i { transform: rotate(180deg); }
.drawer details a { display: block; padding: 10px 22px 10px 10px; color: var(--ink-2); font-size: 15px; }
.drawer details a:last-child { padding-bottom: 16px; }
.drawer__foot { padding: 18px 20px 24px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.drawer__foot .btn { width: 100%; }
.drawer__contact { font-size: 14px; color: var(--ink-3); text-align: center; margin-top: 6px; }
body.no-scroll { overflow: hidden; }

/* ---------- Pattern helper (green line-art, light surfaces) ---------- */
.pattern {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23166A45' stroke-opacity='.09' stroke-width='1.2'%3E%3Cpath d='M36 6l8.8 21.2L66 36l-21.2 8.8L36 66l-8.8-21.2L6 36l21.2-8.8z'/%3E%3Ccircle cx='36' cy='36' r='9'/%3E%3C/g%3E%3C/svg%3E");
}
/* the same pattern in white for the few dark surfaces (footer, CTA, benefits) */
.sec--dark .pattern, .footer .pattern, .cta-band .pattern {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.2'%3E%3Cpath d='M36 6l8.8 21.2L66 36l-21.2 8.8L36 66l-8.8-21.2L6 36l21.2-8.8z'/%3E%3Ccircle cx='36' cy='36' r='9'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Hero (light: Primary 50 -> 100, dark text) ---------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(820px 460px at 88% 0%, rgba(136, 216, 173, .45), transparent 62%),
        radial-gradient(640px 420px at 0% 100%, rgba(254, 223, 137, .35), transparent 60%),
        linear-gradient(165deg, var(--g-50) 0%, var(--g-100) 100%);
    color: var(--ink);
    padding: calc(var(--header-h) + 56px) 0 120px;
}
.hero .pattern-layer { position: absolute; inset: 0; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 14px 7px 8px; border-radius: 999px;
    background: #fff; border: 1px solid var(--g-200);
    font-size: 14px; color: var(--g-800); margin-bottom: 24px;
}
.hero__badge b { background: var(--g-700); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 999px; font-weight: 700; }
.hero h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.25; letter-spacing: -.5px; color: var(--g-950); position: relative; z-index: 0; }
.hero h1 em { font-style: normal; color: var(--g-700); position: relative; white-space: nowrap; }
.hero h1 em::after {
    content: ""; position: absolute; right: 0; left: 0; bottom: 4px; height: 10px; border-radius: 6px;
    background: rgba(253, 176, 34, .5); z-index: -1;
}
.hero__lead { font-size: 18px; color: var(--ink-2); margin-top: 22px; max-width: 560px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero .btn--ghost-light { color: var(--g-800); border-color: var(--g-700); background: transparent; }
.hero .btn--ghost-light:hover { background: #fff; border-color: var(--g-800); }
.hero__trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 38px; font-size: 14px; color: var(--ink-2); }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust i { color: var(--g-600); }

/* hero visual: the Trusted Charity Mark itself, framed by three floating status cards */
.hero__visual { position: relative; min-height: 500px; }
.mark-card {
    position: absolute; top: 50%; right: 24px; transform: translateY(-50%);
    width: min(420px, calc(100% - 24px)); aspect-ratio: 1 / 0.86;
    display: grid; place-items: center; padding: 44px 48px;
    background: #fff; border-radius: 36px; border: 1px solid var(--g-200);
    box-shadow: 0 40px 80px -40px rgba(9, 42, 30, .45), 0 0 0 14px rgba(255, 255, 255, .55);
}
.mark-card img { width: 100%; height: auto; }
.hero__visual::before, .hero__visual::after {
    content: ""; position: absolute; border-radius: 50%; z-index: 0; pointer-events: none;
}
.hero__visual::before { width: 420px; height: 420px; right: -30px; top: 40px; background: radial-gradient(closest-side, rgba(184, 234, 203, .75), transparent); }
.hero__visual::after { width: 220px; height: 220px; left: 30px; bottom: 10px; background: radial-gradient(closest-side, rgba(254, 223, 137, .6), transparent); }
.mark-card, .float-card { z-index: 1; }

.float-card {
    position: absolute; background: #fff; color: var(--ink); border-radius: 20px;
    border: 1px solid var(--g-100);
    box-shadow: 0 24px 50px -22px rgba(9, 42, 30, .4);
    padding: 12px 18px 12px 14px; display: flex; align-items: center; gap: 14px;
    animation: floaty 6s ease-in-out infinite;
}
.float-card small { display: block; color: var(--ink-3); font-size: 12.5px; line-height: 1.4; }
.float-card strong { display: block; font-size: 15px; line-height: 1.4; color: var(--g-950); }
.float-card .ic {
    width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 20px; flex: 0 0 48px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 10px 18px -10px currentColor;
}
.float-card--cert { top: 20px; left: 4px; }
.float-card--cert .ic { background: linear-gradient(145deg, var(--g-600), var(--g-800)); color: #fff; }
.float-card--eval { bottom: 64px; left: -8px; animation-delay: -1.5s; }
.float-card--eval .ic { background: linear-gradient(145deg, #FEC84B, #FDB022); color: var(--g-950); }
.float-card--progress { top: 70px; right: -6px; animation-delay: -3s; }
.ring { --p: 78; width: 56px; height: 56px; border-radius: 50%; flex: 0 0 56px;
    background: conic-gradient(var(--g-600) calc(var(--p) * 1%), var(--g-100) 0); display: grid; place-items: center; }
.ring span { width: 43px; height: 43px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--g-800); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero__wave { position: absolute; bottom: -1px; right: 0; left: 0; height: 70px; color: #fff; }
.hero__wave svg { width: 100%; height: 100%; display: block; }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -70px; }
.stats__card {
    background: #fff; border-radius: 24px; box-shadow: var(--shadow); border: 1px solid var(--line);
    display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px;
}
.stat { padding: 22px 24px; display: flex; gap: 16px; align-items: center; }
.stat + .stat { border-right: 1px solid var(--line); }
.stat .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 20px; background: var(--g-100); color: var(--g-700); flex: 0 0 52px; }
.stat:nth-child(2) .ic { background: #FFFAEB; color: var(--accent-ink); }
.stat:nth-child(3) .ic { background: #DFF6E7; color: var(--teal); }
.stat:nth-child(4) .ic { background: var(--sand-2); color: #B54708; }
.stat b { display: block; font-size: 30px; line-height: 1.1; color: var(--g-900); font-weight: 700; }
.stat span { font-size: 14px; color: var(--ink-3); }

/* ---------- Section scaffolding ---------- */
.sec { padding: 110px 0; }
.sec--sand { background: var(--sand); }
.sec--mint { background: var(--g-50); }
.sec--dark { background: linear-gradient(160deg, var(--g-800), var(--g-700)); color: #fff; position: relative; overflow: hidden; }
.sec-head { max-width: 680px; margin-bottom: 54px; }
.sec-head--center { text-align: center; margin-inline: auto; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--g-700); font-weight: 700; font-size: 14px; letter-spacing: .2px; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--accent); }
.sec--dark .eyebrow { color: var(--g-200); }
.sec-head h2 { font-size: clamp(28px, 3.2vw, 42px); color: var(--g-950); }
.sec--dark .sec-head h2 { color: #fff; }
.sec-head p { margin-top: 16px; font-size: 17px; color: var(--ink-2); }
.sec--dark .sec-head p { color: rgba(255, 255, 255, .78); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.about__media { position: relative; }
.about__frame {
    background: #fff; border-radius: 28px; padding: 48px 40px; box-shadow: var(--shadow); border: 1px solid var(--line);
    position: relative; z-index: 1;
}
.about__frame img { width: 100%; height: auto; }
.about__media::before {
    content: ""; position: absolute; inset: 28px -22px -22px 28px; border-radius: 28px;
    background: var(--g-100); z-index: 0;
}
.about__tag {
    position: absolute; z-index: 2; bottom: -18px; right: 30px;
    background: var(--g-900); color: #fff; border-radius: 14px; padding: 12px 18px; font-size: 14px;
    display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow);
}
.about__tag i { color: var(--g-500); }
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checklist li i {
    width: 26px; height: 26px; flex: 0 0 26px; border-radius: 8px; margin-top: 2px;
    display: grid; place-items: center; background: var(--g-100); color: var(--g-700); font-size: 12px;
}
.about .btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before {
    content: ""; position: absolute; top: 42px; right: 12%; left: 12%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--g-200) 0 10px, transparent 10px 18px);
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step__num {
    width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 26px; position: relative;
    display: grid; place-items: center; font-size: 28px; color: var(--g-700);
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.step__num::after {
    counter-increment: s; content: counter(s);
    position: absolute; top: -10px; left: -10px; width: 30px; height: 30px; border-radius: 10px;
    background: var(--g-700); color: #fff; font-size: 14px; font-weight: 700; display: grid; place-items: center;
}
.step h3 { font-size: 19px; margin-bottom: 8px; color: var(--g-950); }
.step p { font-size: 15px; color: var(--ink-2); }

/* ---------- Feature cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fcard {
    background: #fff; border-radius: var(--radius); padding: 34px 30px; border: 1px solid var(--line);
    transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden;
}
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.fcard__ic {
    width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 22px;
    background: var(--g-100); color: var(--g-700); font-size: 24px;
}
.fcard:nth-child(2) .fcard__ic { background: #FFFAEB; color: var(--accent-ink); }
.fcard:nth-child(3) .fcard__ic { background: #DFF6E7; color: var(--teal); }
.fcard h3 { font-size: 20px; margin-bottom: 10px; color: var(--g-950); }
.fcard p { color: var(--ink-2); font-size: 15.5px; }
.fcard__n { position: absolute; top: 18px; left: 22px; font-size: 54px; font-weight: 700; color: var(--g-50); line-height: 1; }

/* ---------- Benefits list (dark) ---------- */
.benefits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.benefit {
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px;
    padding: 26px 22px; backdrop-filter: blur(2px);
}
.benefit b { display: block; font-size: 30px; color: var(--g-500); line-height: 1; margin-bottom: 14px; }
.benefit p { color: rgba(255, 255, 255, .86); font-size: 15px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service {
    display: flex; gap: 22px; align-items: flex-start;
    background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line);
    transition: box-shadow .2s, transform .2s;
}
.service:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service img { width: 70px; height: 70px; flex: 0 0 70px; padding: 12px; border-radius: 20px; background: var(--g-50); }
.service h3 { font-size: 19px; margin-bottom: 8px; color: var(--g-950); }
.service p { color: var(--ink-2); font-size: 15px; }

/* ---------- Levels ---------- */
.levels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.level {
    border-radius: 26px; padding: 40px 36px; position: relative; overflow: hidden;
    background: #fff; border: 1px solid var(--line);
}
.level--1 { background: linear-gradient(150deg, #F3FCF6 0%, #fff 70%); }
.level--2 { background: linear-gradient(150deg, #FFFAEB 0%, #fff 70%); }
.level__num { font-size: 120px; font-weight: 700; line-height: .8; position: absolute; left: 28px; top: 30px; opacity: .12; color: var(--g-900); }
.level__tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--g-800); border: 1px solid var(--line); margin-bottom: 18px; }
.level h3 { font-size: 26px; color: var(--g-950); margin-bottom: 10px; }
.level p { color: var(--ink-2); max-width: 430px; }
.level ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.level li { display: flex; gap: 10px; align-items: center; color: var(--ink-2); font-size: 15px; }
.level li i { color: var(--g-700); font-size: 13px; }

/* ---------- Domains ---------- */
.domains { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.domain {
    display: flex; align-items: center; gap: 14px; padding: 16px 18px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    font-weight: 600; color: var(--g-950); transition: border-color .15s, background .15s;
}
.domain:hover { border-color: var(--g-600); background: var(--g-50); }
.domain i { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px; display: grid; place-items: center; background: var(--g-100); color: var(--g-700); font-size: 17px; }
.domain small { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-3); }

/* ---------- Partners ---------- */
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.partner {
    background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px;
    display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
    transition: box-shadow .2s, transform .2s;
    flex: 0 0 calc((100% - 54px) / 4); min-width: 0;
}
.partner:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.partner__logo { width: 100%; height: 130px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line, #E4EAE6); border-radius: 12px; padding: 12px; overflow: hidden; }
.partner__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.partner__logo--dark { background: var(--g-900); border-color: var(--g-900); }
.partner__logo--mono { background: var(--g-100); }
.partner__logo--mono span { font-size: 44px; font-weight: 700; color: var(--g-800, #1F5C43); line-height: 1; }
.partner b { font-size: 15px; line-height: 1.55; color: var(--g-950); }
.partner a { font-size: 13px; color: var(--g-700); display: inline-flex; gap: 6px; align-items: center; }
.partner a:hover { color: var(--g-700); }

/* ---------- CTA band ---------- */
.cta-band {
    border-radius: 30px; padding: 56px; position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--g-900), var(--g-700)); color: #fff;
    display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center;
}
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); }
.cta-band p { color: rgba(255, 255, 255, .82); margin-top: 12px; font-size: 17px; }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band::after {
    content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
    left: -120px; bottom: -200px; background: rgba(253, 176, 34, .22); filter: blur(10px);
}

/* ---------- Page hero (inner pages) — light ---------- */
.page-hero {
    position: relative; overflow: hidden; color: var(--ink);
    padding: calc(var(--header-h) + 56px) 0 80px;
    background:
        radial-gradient(800px 400px at 90% 0%, rgba(136, 216, 173, .45), transparent 60%),
        linear-gradient(165deg, var(--g-50), var(--g-100));
    border-bottom: 1px solid var(--g-200);
}
.page-hero .pattern-layer { position: absolute; inset: 0; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%); }
.page-hero .container { position: relative; }
.crumbs { font-size: 14px; color: var(--ink-2); margin-bottom: 18px; display: flex; gap: 8px; align-items: center; }
.crumbs a { color: var(--g-700); font-weight: 600; }
.crumbs i { font-size: 10px; }
.page-hero h1 { font-size: clamp(32px, 4vw, 50px); color: var(--g-950); }
.page-hero p { color: var(--ink-2); font-size: 18px; max-width: 660px; margin-top: 16px; }
.page-hero__chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.page-hero__chips a {
    display: inline-flex; gap: 8px; align-items: center; padding: 9px 16px; border-radius: 999px; font-size: 14.5px;
    background: #fff; border: 1px solid var(--g-200); color: var(--g-800); font-weight: 500;
}
.page-hero__chips a:hover { background: var(--g-700); border-color: var(--g-700); color: #fff; }

/* ---------- Team ---------- */
.team-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.team-head h2 { font-size: 32px; color: var(--g-950); }
.team-head p { color: var(--ink-2); margin-top: 6px; }
.count-pill { background: var(--g-100); color: var(--g-800); padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.team-search { position: relative; width: min(100%, 340px); }
.team-search input {
    width: 100%; height: 48px; border-radius: 14px; border: 1.5px solid var(--line); padding: 0 44px 0 14px;
    font: inherit; font-size: 15px; background: #fff;
}
.team-search input:focus { outline: none; border-color: var(--g-600); box-shadow: 0 0 0 4px rgba(63, 174, 120, .15); }
.team-search i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; }
.person {
    background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
    transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.person__img { aspect-ratio: 1 / 1; background: var(--g-50); overflow: hidden; }
.person__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.person:hover .person__img img { transform: scale(1.04); }
.person__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.person__name { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.person__city { font-size: 13.5px; color: var(--ink-3); display: flex; gap: 6px; align-items: center; }
.person__city i { color: var(--g-700); font-size: 12px; }
.person__links { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.person__links a { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--g-50); color: var(--g-800); font-size: 14px; }
.person__links a:hover { background: var(--g-800); color: #fff; }
.people-empty { display: none; text-align: center; color: var(--ink-3); padding: 30px; }

/* ---------- Footer ---------- */
.footer { background: var(--g-950); color: rgba(255, 255, 255, .78); padding: 80px 0 0; position: relative; overflow: hidden; }
.footer .pattern-layer { position: absolute; inset: 0; opacity: .6; pointer-events: none; }
.footer .container { position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; }
.footer__logo img { width: 230px; }
.footer__about { margin-top: 18px; font-size: 15px; max-width: 360px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.footer a:hover { color: #fff; }
.footer ul i { color: var(--g-500); width: 20px; margin-left: 8px; }
.footer__bottom {
    margin-top: 60px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: rgba(255, 255, 255, .55);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .site-nav, .site-header__login, .site-header__actions .btn { display: none; }
    .site-header__burger { display: grid; place-items: center; }
    .site-header .container { justify-content: space-between; }
    .hero__grid { grid-template-columns: 1fr; gap: 50px; }
    .hero__visual { min-height: 460px; max-width: 520px; margin: 0 auto; width: 100%; }
    .benefits { grid-template-columns: repeat(3, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .stats__card { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-right: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
    .sec { padding: 80px 0; }
    .about { grid-template-columns: 1fr; gap: 50px; }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .steps::before { display: none; }
    .cards-3 { grid-template-columns: 1fr; }
    .services, .levels { grid-template-columns: 1fr; }
    .partner { flex-basis: calc((100% - 18px) / 2); }
    .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
}
@media (max-width: 640px) {
    :root { --header-h: 70px; }
    .container { padding: 0 16px; }
    .site-header__logo img { height: 38px; }
    .hero { padding: calc(var(--header-h) + 40px) 0 100px; }
    .hero__lead { font-size: 16.5px; }
    .hero__cta .btn { flex: 1 1 100%; }
    .hero__visual { min-height: 380px; }
    .mark-card { right: 50%; top: 52%; transform: translate(50%, -50%); padding: 28px; width: min(340px, calc(100% - 16px)); }
    .hero__visual::before { width: 300px; height: 300px; right: 20px; }
    .float-card--progress { top: 0; right: 0; }
    .float-card--cert { top: auto; bottom: 0; left: 0; }
    .float-card--eval { display: none; }
    .float-card { padding: 10px 12px; gap: 10px; }
    .float-card strong { font-size: 13.5px; }
    .float-card .ic { width: 36px; height: 36px; flex-basis: 36px; font-size: 15px; }
    .ring { width: 46px; height: 46px; flex-basis: 46px; } .ring span { width: 36px; height: 36px; font-size: 12px; }
    .stats__card { grid-template-columns: 1fr 1fr; padding: 4px; }
    .stat { padding: 16px 14px; flex-direction: column; align-items: flex-start; gap: 10px; }
    .stat b { font-size: 24px; }
    .stat .ic { width: 42px; height: 42px; flex-basis: 42px; font-size: 16px; }
    .sec { padding: 64px 0; }
    .sec-head { margin-bottom: 36px; }
    .benefits { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr; }
    .service { flex-direction: column; gap: 14px; padding: 22px; }
    .level { padding: 30px 24px; }
    .partners { gap: 12px; }
    .partner { flex-basis: calc((100% - 12px) / 2); padding: 14px; }
    .partner__logo { height: 96px; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .people { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .person__body { padding: 12px; }
    .person__name { font-size: 14.5px; }
    .about__frame { padding: 30px 22px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Accessibility: visible focus (3:1+ against both light and dark surfaces) ---------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 3px solid var(--g-700);
    outline-offset: 3px;
    border-radius: 6px;
}
.hero__badge, .footer :where(a, button):focus-visible, .sec--dark :where(a, button):focus-visible, .cta-band :where(a, button):focus-visible { outline-color: #FEC84B; }
.site-header:not(.is-solid) :where(a, button):focus-visible { outline-color: var(--g-700); }

/* ---------- 2026-11-14: calmer closing band + light footer ---------- */
.cta-band {
    border-radius: 20px; padding: 28px 32px; gap: 20px;
    background: var(--g-50); color: var(--ink); border: 1px solid #DFF6E7;
    grid-template-columns: 1fr auto;
}
.cta-band::after { display: none; }
.cta-band .pattern { display: none; }
.cta-band h2 { font-size: clamp(19px, 2vw, 23px); color: var(--ink); font-weight: 700; }
.cta-band p { color: var(--ink-2); margin-top: 6px; font-size: 15px; }
.cta-band :where(a, button):focus-visible { outline-color: var(--g-700); }

.footer { background: #F7F9F8; color: var(--ink-2); padding: 56px 0 0; border-top: 1px solid #E7EAE8; }
.footer .pattern-layer { display: none; }
.footer__logo img { width: 190px; }
.footer__about { font-size: 14.5px; color: var(--ink-2); }
.footer h4 { color: var(--ink); font-size: 15.5px; margin-bottom: 14px; }
.footer ul { font-size: 14.5px; gap: 10px; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--g-700); }
.footer ul i { color: var(--g-700); }
.footer__bottom { margin-top: 40px; padding: 18px 0; border-top: 1px solid #E7EAE8; color: #5B636E; font-size: 13px; }
.footer :where(a, button):focus-visible { outline-color: var(--g-700); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 24px 20px; } }
.sec:has(> .container > .cta-band) { padding-top: 24px; padding-bottom: 56px; }

/* 2026-11-14: footer — light mint with the same star line pattern and strength as the top banner */
.footer {
    background-color: #EEF8F2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23166A45' stroke-opacity='.09' stroke-width='1.2'%3E%3Cpath d='M36 6l8.8 21.2L66 36l-21.2 8.8L36 66l-8.8-21.2L6 36l21.2-8.8z'/%3E%3Ccircle cx='36' cy='36' r='9'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 72px 72px;
    background-position: center top;
    border-top: 1px solid #DFF6E7;
}
.footer__bottom { border-top-color: #D3EBDC; }

/* ---------- Steps v2 (2026-11-14, owner: "خليها بشكل أحلى") ----------
   Numbered dots on a line that darkens from step 1 to 4, a card per step,
   and the last step (the certificate) in solid green as the goal. */
.steps { gap: 20px; }
.steps::before {
    top: 21px; right: 12.5%; left: 12.5%; height: 3px; border-radius: 3px;
    background: linear-gradient(270deg, var(--g-200), var(--g-600));
}
.step { text-align: right; padding: 0; display: flex; flex-direction: column; }
.step__dot {
    position: relative; z-index: 1; width: 44px; height: 44px; margin: 0 auto 22px; border-radius: 50%;
    display: grid; place-items: center; font-size: 15px; font-weight: 800; color: var(--g-700);
    background: #fff; border: 3px solid var(--g-200); box-shadow: 0 0 0 6px var(--sand);
}
.step:nth-child(2) .step__dot { border-color: var(--g-300); }
.step:nth-child(3) .step__dot { border-color: var(--g-500); }
.step--goal .step__dot { background: var(--g-700); border-color: var(--g-700); color: #fff; }
.step__card {
    flex: 1; position: relative; overflow: hidden; padding: 26px 24px 28px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.step__card:hover { transform: translateY(-4px); border-color: var(--g-200); box-shadow: 0 1px 2px rgba(9, 42, 30, .05), 0 24px 44px -22px rgba(9, 42, 30, .42); }
.step__card::after {
    content: attr(data-n); position: absolute; top: 12px; left: 18px; line-height: 1;
    font-size: 60px; font-weight: 800; color: var(--g-100); pointer-events: none;
}
.step__ic {
    position: relative; z-index: 1; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 16px;
    display: grid; place-items: center; font-size: 22px; color: var(--g-700); background: var(--g-50);
    border: 1px solid var(--g-100);
}
.step .step__card h3 { position: relative; z-index: 1; font-size: 18px; margin-bottom: 8px; color: var(--g-950); }
.step .step__card p { position: relative; z-index: 1; margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.step--goal .step__card { background: linear-gradient(160deg, var(--g-800), var(--g-700)); border-color: transparent; }
.step--goal .step__card::after { color: rgba(255, 255, 255, .09); }
.step--goal .step__ic { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .16); color: var(--accent); }
.step.step--goal .step__card h3 { color: #fff; }
.step.step--goal .step__card p { color: rgba(255, 255, 255, .85); }
@media (max-width: 900px) {
    .steps { row-gap: 28px; }
}
@media (max-width: 640px) {
    /* vertical timeline: dot on the start (right) side, card beside it */
    .steps { row-gap: 16px; }
    .steps::before {
        display: block; top: 22px; bottom: 22px; right: 20px; left: auto; width: 3px; height: auto;
        background: linear-gradient(180deg, var(--g-200), var(--g-600));
    }
    .step { flex-direction: row; align-items: flex-start; gap: 14px; }
    .step__dot { flex: 0 0 44px; margin: 0; }
    .step__card { padding: 20px 20px 22px; }
    .step__card::after { font-size: 46px; }
    .step__ic { width: 46px; height: 46px; font-size: 19px; margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) { .step__card, .step__card:hover { transition: none; transform: none; } }

/* ---------- Levels switcher (2026-11-14) ----------
   Two tabs (level 1 selected by default) and the domains of the selected level. */
.lvl__tabs {
    display: flex; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 34px; padding: 6px;
    background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.lvl__tab {
    flex: 1 1 0; min-width: 210px; padding: 12px 26px; border: 0; border-radius: 13px; cursor: pointer;
    background: transparent; color: var(--g-950); font: inherit; text-align: center;
    transition: background .2s ease, color .2s ease;
}
.lvl__tab b { display: block; font-size: 17px; font-weight: 700; }
.lvl__tab small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-3); }
.lvl__tab:hover { background: var(--g-50); }
.lvl__tab.is-on { background: var(--g-700); color: #fff; }
.lvl__tab.is-on small { color: rgba(255, 255, 255, .82); }
.lvl__tab:focus-visible { outline: 3px solid var(--g-300); outline-offset: 2px; }
.lvl__panel { animation: lvlIn .35s ease; }
@keyframes lvlIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.anchor { display: block; position: relative; top: calc(-1 * var(--header-h) - 20px); }
@media (max-width: 640px) {
    .lvl__tabs { width: 100%; }
    .lvl__tab { min-width: 0; padding: 10px 8px; }
    .lvl__tab b { font-size: 15.5px; }
    .lvl__tab small { font-size: 12px; }
}

/* ---------- Partners marquee (2026-11-14) ----------
   One row that scrolls on its own; pauses on hover / keyboard focus.
   The track holds the list twice, so moving it by half its width loops seamlessly. */
.marquee {
    overflow: hidden; padding: 8px 0 14px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee var(--dur, 60s) linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee .partner { flex: 0 0 230px; margin-inline-end: 18px; }
.marquee .partner:hover { transform: none; }
/* RTL: the row starts at the right and overflows to the left, so it moves right */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (max-width: 640px) {
    .marquee .partner { flex-basis: 180px; margin-inline-end: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .marquee__track { animation: none; }
    .marquee .partner[aria-hidden="true"] { display: none; }
    .lvl__panel { animation: none; }
}

/* ---------- 2026-11-14 round 3 ---------- */
/* hero: the mark alone on a soft halo (owner picked option "ب"), larger badge */
.hero__badge { font-size: 16.5px; padding: 9px 18px 9px 9px; gap: 12px; }
.hero__badge b { font-size: 14px; padding: 5px 13px; }
.hero__mark { position: relative; display: grid; place-items: center; min-height: 440px; }
.hero__mark::before {
    content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
    background: radial-gradient(closest-side, #fff 0%, rgba(255, 255, 255, .85) 45%, rgba(223, 246, 231, 0) 100%);
}
.hero__mark::after { content: ""; position: absolute; width: 350px; height: 350px; border-radius: 50%; border: 1.5px dashed var(--g-200); }
.hero__mark img { position: relative; z-index: 1; width: 340px; max-width: 80%; height: auto; }
@media (max-width: 1100px) { .hero__mark { min-height: 360px; } }
@media (max-width: 640px) {
    .hero__badge { font-size: 14.5px; }
    .hero__mark { min-height: 280px; }
    .hero__mark::before { width: 300px; height: 300px; }
    .hero__mark::after { width: 240px; height: 240px; }
    .hero__mark img { width: 230px; }
}

/* features: no big numbers */
.fcard__n { display: none; }

/* levels: each tab is a mark card — white for level 1, sand for level 2 */
.lvl__tabs { background: none; border: 0; box-shadow: none; padding: 0; gap: 26px; margin-bottom: 40px; }
.lvl__tab {
    flex: 0 0 250px; min-width: 0; padding: 24px 22px 20px; border-radius: 24px; text-align: center;
    background: #fff; border: 2px solid var(--g-100); color: var(--g-950);
    box-shadow: 0 24px 48px -30px rgba(9, 42, 30, .45);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, opacity .25s ease;
    opacity: .78;
}
.lvl__tab--2 { background: #FFFAEB; border-color: #FEF0C7; }
.lvl__tab img { display: block; width: 100%; height: auto; margin-bottom: 16px; }
.lvl__tab b {
    display: inline-block; font-size: 15px; padding: 6px 16px; border-radius: 999px;
    background: var(--g-700); color: #fff;
}
.lvl__tab--2 b { background: #FDB022; color: var(--g-950); }
.lvl__tab small { display: block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.lvl__tab:hover { background: #fff; opacity: 1; transform: translateY(-3px); }
.lvl__tab--2:hover { background: #FFFAEB; }
.lvl__tab.is-on { opacity: 1; transform: translateY(-4px); border-color: var(--g-600); box-shadow: 0 30px 56px -28px rgba(9, 42, 30, .55); background: #fff; color: var(--g-950); }
.lvl__tab--2.is-on { background: #FFFAEB; border-color: #F79009; }
.lvl__tab.is-on small { color: var(--ink-2); }
@media (max-width: 640px) {
    .lvl__tabs { gap: 12px; width: 100%; }
    .lvl__tab { flex: 1 1 0; padding: 16px 12px 14px; border-radius: 18px; }
    .lvl__tab img { margin-bottom: 12px; }
    .lvl__tab b { font-size: 13px; padding: 5px 11px; }
    .lvl__tab small { font-size: 12px; margin-top: 9px; }
}

/* less empty space between the levels section and the partners section */
#levels.sec { padding-bottom: 72px; }
#levels + #partners.sec { padding-top: 72px; }

/* OurStory benefits on a light background (2026-11-14) */
.sec--mint .benefit { background: #fff; border-color: var(--line); backdrop-filter: none; box-shadow: 0 18px 40px -30px rgba(9, 42, 30, .35); }
.sec--mint .benefit b { color: var(--g-600); font-size: 24px; }
.sec--mint .benefit p { color: var(--ink-2); }
