/* ============================================
   أحمد المحلاوي - Calm Glass (iOS-inspired)
   Visual design only; GEO (Schema, meta, semantics) unchanged.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
    /* Trust & authority */
    --primary: #0a2540;
    --primary-light: #0d3262;
    --primary-dark: #061a2d;
    /* Accent: vibrant system tint */
    --accent: #e0b84a;
    --accent-hover: #d4a82e;
    --accent-soft: rgba(224, 184, 74, 0.2);
    /* Secondary action */
    --secondary: #1a6bb5;
    --secondary-hover: #155a9a;
    /* Neutrals — Vibrant Light Glass */
    --text: #142033;
    --text-muted: #4a5a70;
    --bg: #f0f5fb;
    --bg-card: rgba(255, 255, 255, 0.88);
    --border: rgba(10, 37, 64, 0.1);
    --border-focus: var(--accent);
    /* Glass surfaces */
    --glass-bg: rgba(255, 255, 255, 0.78);
    --glass-bg-strong: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(10, 37, 64, 0.1);
    --glass-border-dark: rgba(10, 37, 64, 0.08);
    --glass-blur: 20px;
    --glass-nav: rgba(255, 255, 255, 0.78);
    --glass-nav-scrolled: rgba(255, 255, 255, 0.94);
    --glass-footer: rgba(255, 255, 255, 0.82);
    /* Semantic */
    --success-bg: #ecfdf5;
    --success-text: #047857;
    /* Typography */
    --font: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-display: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif;
    /* Layout */
    --radius: 18px;
    --radius-sm: 14px;
    --radius-btn: 14px;
    --shadow: 0 4px 24px rgba(10, 37, 64, 0.06);
    --shadow-hover: 0 12px 36px rgba(10, 37, 64, 0.1);
    --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    /* Motion */
    --reveal-distance: 1rem;
    --motion-fast: 0.3s;
    --motion-med: 0.5s;
    --header-sticky-h: 4.25rem;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
    margin: 0;
    padding: 0;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 55% at 100% -5%, rgba(224, 184, 74, 0.16) 0%, transparent 48%),
        radial-gradient(ellipse 70% 50% at 0% 100%, rgba(26, 107, 181, 0.12) 0%, transparent 52%),
        linear-gradient(180deg, #e8f1fb 0%, #f0f5fb 45%, #f7fafc 100%);
    pointer-events: none;
    z-index: 0;
}

h1, h2, h3,
.page-header h1,
.page-header h2,
.hero-home h1,
.aal-hero h1 {
    font-family: var(--font-display);
}

/* Glass utility */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .glass-panel {
        -webkit-backdrop-filter: blur(var(--glass-blur));
        backdrop-filter: blur(var(--glass-blur));
    }
}

/* ---- Header (light glass sticky) ---- */
header {
    background: var(--glass-nav);
    color: var(--primary);
    padding: 0.85rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(10, 37, 64, 0.06);
    border-bottom: 1px solid var(--glass-border-dark);
    transition: padding var(--motion-fast) ease, box-shadow var(--motion-fast) ease, background var(--motion-fast) ease;
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    backdrop-filter: blur(22px) saturate(1.5);
}

header.is-scrolled {
    padding: 0.55rem 5%;
    background: var(--glass-nav-scrolled);
    box-shadow: 0 10px 36px rgba(10, 37, 64, 0.1);
}

header.is-scrolled .logo img {
    height: 44px;
    transition: height var(--motion-fast) ease;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 12%;
    left: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(224, 184, 74, 0.65), transparent);
    opacity: 1;
}

/* ---- Scroll reveal ---- */
[data-reveal] {
    opacity: 0;
    transform: translateY(var(--reveal-distance));
    /* Tall sections (e.g. tools explorer) should not use data-reveal — threshold never fires. */
    transition: opacity var(--motion-med) ease, transform var(--motion-med) ease;
    will-change: opacity, transform;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

[data-reveal="left"] {
    transform: translateX(var(--reveal-distance));
}

[data-reveal="left"].is-visible {
    transform: none;
}

[data-reveal="right"] {
    transform: translateX(calc(var(--reveal-distance) * -1));
}

[data-reveal="right"].is-visible {
    transform: none;
}

[data-reveal="scale"] {
    transform: scale(0.96);
}

[data-reveal="scale"].is-visible {
    transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

.hover-lift {
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: inherit;
    padding: 0.25rem 0.5rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 2px 12px rgba(10, 37, 64, 0.08);
    border: 1px solid rgba(10, 37, 64, 0.06);
}

.logo img {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-btn);
    transition: color var(--transition), background var(--transition), box-shadow var(--transition);
}

nav a:hover {
    color: var(--primary);
    background: rgba(26, 107, 181, 0.1);
}

nav a.active {
    color: var(--primary-dark);
    background: rgba(224, 184, 74, 0.35);
    box-shadow: inset 0 0 0 1.5px rgba(212, 168, 46, 0.7);
}

nav a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* زر القائمة (همبرغر) — يظهر على الشاشات الصغيرة فقط */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: none;
    color: var(--primary);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.nav-toggle:hover {
    background: rgba(26, 107, 181, 0.1);
}
.nav-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform var(--transition), opacity var(--transition);
}
header.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
header.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
header.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* على الموبايل: إظهار الهمبرغر وإخفاء القائمة الأفقية وعرضها منسدلة */
@media (max-width: 640px) {
    .nav-toggle {
        display: flex;
    }

    header {
        flex-wrap: nowrap;
        padding: 0.75rem 1rem;
        background: rgba(255, 255, 255, 0.94);
    }

    .logo img {
        height: 46px;
    }

    nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: rgba(255, 255, 255, 0.97);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        box-shadow: 0 12px 28px rgba(10, 37, 64, 0.12);
        border-bottom: 1px solid rgba(10, 37, 64, 0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    header.nav-open nav {
        max-height: 280px;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
    }

    nav li {
        border-bottom: 1px solid rgba(10, 37, 64, 0.08);
    }

    nav li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        padding: 0.85rem 1.25rem;
        font-size: 1rem;
        min-height: 44px;
        box-sizing: border-box;
    }
}

/* ---- Main content ---- */
main {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

.home-main {
    padding: 0;
}

/* ---- Hero (Home) — Vibrant Light Glass ---- */
.hero-home {
    position: relative;
    padding: clamp(3rem, 7vw, 5.25rem) clamp(1.25rem, 4vw, 3rem) clamp(3.25rem, 7vw, 5rem);
    margin: 0;
    background:
        radial-gradient(ellipse 75% 55% at 95% 0%, rgba(224, 184, 74, 0.28) 0%, transparent 52%),
        radial-gradient(ellipse 65% 50% at 0% 100%, rgba(26, 107, 181, 0.18) 0%, transparent 55%),
        linear-gradient(165deg, #dbeaf8 0%, #eef5fc 42%, #f7fafc 100%);
    border-radius: 0;
    box-shadow: none;
    border: none;
    overflow: hidden;
    color: var(--primary);
}

.hero-home::before {
    content: none;
}

.hero-home::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 12%;
    left: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(224, 184, 74, 0.7), transparent);
    opacity: 1;
}

.hero-home .hero-intro,
.hero-home .hero-cta {
    opacity: 0;
    transform: translateY(0.75rem);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-home.is-ready .hero-intro {
    opacity: 1;
    transform: none;
}

.hero-home.is-ready .hero-cta {
    opacity: 1;
    transform: none;
    transition-delay: 0.12s;
}

.hero-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.hero-text {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.hero-photo-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-photo-wrap::after {
    content: none;
}

.hero-photo {
    width: clamp(200px, 38vw, 280px);
    height: clamp(200px, 38vw, 280px);
    object-fit: cover;
    border-radius: 28%;
    border: 3px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        0 0 0 3px rgba(224, 184, 74, 0.45),
        0 18px 44px rgba(10, 37, 64, 0.16);
}

.hero-num {
    font-variant-numeric: lining-nums tabular-nums;
}

.hero-role {
    font-size: 0.95rem;
    font-weight: 700;
    color: #b8921f;
    margin: 0 0 0.45rem;
    letter-spacing: 0.04em;
}

.hero-home h1 {
    color: var(--primary);
    font-size: clamp(2.25rem, 5.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 0.65rem;
    letter-spacing: -0.02em;
    text-shadow: none;
}

.hero-home .hero-tagline {
    font-size: clamp(1.12rem, 2.3vw, 1.42rem);
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 1.15rem;
    line-height: 1.45;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid rgba(224, 184, 74, 0.45);
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.75;
    max-width: min(52ch, 100%);
    text-wrap: balance;
}

.hero-badge {
    display: inline-block;
    margin-top: 1.35rem;
    padding: 0.55rem 1.15rem;
    background: rgba(224, 184, 74, 0.22);
    color: var(--primary);
    border-radius: var(--radius-btn);
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid rgba(212, 168, 46, 0.45);
}

.hero-cta {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    padding-top: 1.5rem;
    margin-top: 0.35rem;
    border-top: 1px solid rgba(10, 37, 64, 0.1);
    position: relative;
    z-index: 1;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
    max-width: 46rem;
}

.hero-cta-row .button,
.hero-cta-row .hero-cv-btn {
    margin: 0;
}

.hero-cta-row--primary .button {
    flex: 1 1 14rem;
    max-width: 22rem;
    text-align: center;
}

.hero-cta-row--secondary .hero-cv-btn {
    flex: 1 1 11.5rem;
    max-width: 15rem;
}

.hero-cta-row--secondary .hero-cta-linkedin {
    flex: 1 1 7.5rem;
    min-width: min(100%, 7.5rem);
    max-width: 11rem;
}

.hero-home .button.primary-btn {
    background: var(--accent);
    color: var(--primary-dark) !important;
    border: 2px solid var(--accent);
    box-shadow: 0 6px 20px rgba(224, 184, 74, 0.4);
}

.hero-home .button.primary-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(212, 168, 46, 0.45);
}

.hero-home .button:not(.primary-btn):not(.button-outline) {
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary) !important;
    border: 2px solid rgba(10, 37, 64, 0.18);
}

.hero-home .button:not(.primary-btn):not(.button-outline):hover {
    background: #fff;
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.hero-home .button.button-outline {
    background: rgba(255, 255, 255, 0.75);
    color: var(--primary) !important;
    border: 2px solid rgba(10, 37, 64, 0.22);
    box-shadow: 0 2px 12px rgba(10, 37, 64, 0.06);
}

.hero-home .button.button-outline:hover {
    background: #fff;
    border-color: var(--accent);
    color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(10, 37, 64, 0.1);
}

.hero-home .button.button-outline .hero-cv-meta {
    color: var(--text-muted);
    opacity: 1;
}

.hero-cv-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    line-height: 1.2;
}

.hero-cv-title {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
}

.hero-cv-meta {
    display: block;
    font-size: 0.76rem;
    font-weight: 600;
    opacity: 0.92;
}

.hero-cta-row .button:not(.button-outline) {
    border: 2px solid transparent;
    box-sizing: border-box;
}

.hero-cta-linkedin {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-intro {
        flex-direction: row-reverse;
        gap: 3rem;
        margin-bottom: 2rem;
        align-items: center;
        justify-content: center;
    }
    .hero-text {
        text-align: right;
        max-width: min(44rem, 100%);
    }
    .hero-desc {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 900px) {
    .hero-home {
        padding: clamp(3.5rem, 7vw, 5rem) 3rem clamp(4rem, 7vw, 5.25rem);
    }
    .hero-intro {
        gap: 3.25rem;
    }
    .hero-photo {
        width: min(300px, 34vw);
        height: min(300px, 34vw);
    }
}

/* ---- Home sections ---- */
.home-section {
    padding: 4rem 1.5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.home-section-alt {
    background: rgba(255, 255, 255, 0.28);
    max-width: none;
    margin: 0;
    padding: 4rem 1.5rem;
    border-block: 1px solid rgba(10, 37, 64, 0.05);
}

.home-section-alt > .page-header,
.home-section-alt > .expertise-grid,
.home-section-alt > .partners-list,
.home-section-alt > .partners-note {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.home-section .page-header {
    margin-bottom: 2.25rem;
}

.home-section .page-header h2 {
    position: relative;
    display: inline-block;
}

.home-section .page-header h2::after {
    content: '';
    display: block;
    width: 3rem;
    height: 3px;
    margin-top: 0.65rem;
    background: linear-gradient(90deg, var(--accent), rgba(26, 107, 181, 0.35), transparent);
    border-radius: 2px;
}

/* ---- مؤشرات KPI (الرئيسية) ---- */
.inno-kpi-section {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}

.inno-kpi-panel {
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border-top: none;
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
}

.inno-kpi-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    width: 100%;
    margin: 0;
    padding: 0;
    background: rgba(10, 37, 64, 0.06);
}

.inno-kpi-cell {
    margin: 0;
    background: transparent;
    padding: 1.35rem 0.65rem 1.45rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.inno-kpi-num {
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.inno-kpi-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.35;
}

@media (max-width: 720px) {
    .inno-kpi-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---- Page headers (inner pages) ---- */
.page-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

main > .page-header:first-child {
    margin: 0 0 2.5rem;
    padding: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
    background:
        radial-gradient(ellipse 70% 80% at 90% 0%, rgba(224, 184, 74, 0.28) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 0% 100%, rgba(26, 107, 181, 0.14) 0%, transparent 55%),
        linear-gradient(165deg, #dceaf8 0%, #eef5fc 55%, #f7fafc 100%);
    color: var(--primary);
    border-bottom: 1px solid rgba(10, 37, 64, 0.08);
}

main > .page-header:first-child h1 {
    color: var(--primary);
    margin: 0 0 0.5rem;
}

main > .page-header:first-child p {
    color: var(--text-muted);
}

.page-header h1,
.page-header h2 {
    color: var(--primary);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin: 0 0 0.5rem;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 0;
}

/* ---- Headings in content ---- */
h1, h2, h3 {
    color: var(--primary);
    font-weight: 700;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; margin-top: 1.5rem; }
h3 { font-size: 1.2rem; margin-top: 1.25rem; }

/* ---- Service cards ---- */
.page-services .services-showcase {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0 0.5rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    align-items: stretch;
}

@media (min-width: 960px) {
    .page-services .services-showcase .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.service-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(10, 37, 64, 0.1);
    border-radius: var(--radius);
    padding: 2rem 1.5rem 1.75rem;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
}

.page-services .service-card::before {
    display: none;
}

.service-card--course,
.service-card--consult,
.service-card--gini {
    border-top: none;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(201, 162, 39, 0.35);
    background: var(--glass-bg-strong);
}

.service-card-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.service-card-visual {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(10, 37, 64, 0.12);
}

.service-card-visual--course {
    background: linear-gradient(145deg, rgba(201, 162, 39, 0.35) 0%, var(--accent) 55%, #a88918 100%);
}

.service-card-visual--consult {
    background: linear-gradient(145deg, #2a5a8f 0%, var(--secondary) 50%, var(--primary) 100%);
}

.service-card-visual--gini {
    background: linear-gradient(145deg, rgba(201, 162, 39, 0.2) 0%, var(--primary) 45%, var(--primary-light) 100%);
}

.service-card-visual--creativity {
    background: linear-gradient(145deg, #3d6b5c 0%, #2a4f45 45%, var(--primary) 100%);
}

.service-card--creativity {
    border-color: rgba(61, 107, 92, 0.28);
}

.service-card h2 {
    margin: 0;
    font-size: 1.22rem;
    line-height: 1.35;
    text-align: center;
    width: 100%;
}

.service-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    line-height: 1.35;
}

.service-card p,
.service-card-lead {
    flex: 1 1 auto;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
    font-size: 0.98rem;
    line-height: 1.65;
    min-height: 0;
    text-align: right;
}

.page-services .service-card-lead {
    margin-bottom: 1rem;
}

.service-card-foot {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.service-card-foot .button {
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.service-card > a.button:last-child {
    margin-top: auto;
    align-self: center;
}

/* بطاقات الخدمات في الصفحة الرئيسية — تبقى وسطية */
#services .service-card p {
    text-align: center;
}

#services .service-card h3 {
    text-align: center;
}

#services .service-card > a.button:last-child {
    align-self: center;
}

/* شبكة الخدمات في الرئيسية: أعمدة متوازنة ومحتوى في المنتصف مثل منظومة الخبرات */
#services .service-grid {
    justify-content: center;
    justify-items: stretch;
}

@media (min-width: 720px) {
    #services .service-grid {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
        max-width: 760px;
        margin-inline: auto;
    }
}

@media (min-width: 1100px) {
    #services .service-grid {
        grid-template-columns: repeat(2, minmax(280px, 340px));
        max-width: none;
    }
}

/* شبكة الاعتمادات: صفوف متوازنة ومحتوى في المنتصف */
#certs .certs-grid {
    justify-content: center;
    justify-items: stretch;
}

@media (min-width: 720px) {
    #certs .certs-grid {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
        max-width: 900px;
        margin-inline: auto;
    }
}

/* بطاقة GInI — تفاصيل قابلة للطي */
.service-card--gini .service-card-lead {
    flex: 0 0 auto;
}

details.gini-expand {
    margin: 0 0 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    text-align: right;
    overflow: hidden;
    flex: 1 1 auto;
    min-height: 0;
}

details.gini-expand summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    cursor: pointer;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    list-style: none;
    user-select: none;
    margin: 0;
}

details.gini-expand summary::-webkit-details-marker {
    display: none;
}

details.gini-expand summary::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    flex-shrink: 0;
}

details.gini-expand[open] summary::after {
    content: '\2212';
}

.service-card--gini p {
    flex: none;
}

.service-card--gini .service-card-rich {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.35rem 1rem 1.15rem;
    text-align: right;
}

.service-card--gini .gini-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.15rem;
}

.service-card--gini .gini-block--cfsp {
    border-color: rgba(201, 162, 39, 0.4);
    background: linear-gradient(180deg, rgba(201, 162, 39, 0.07) 0%, var(--bg-card) 55%);
}

.service-card--gini h3.gini-block-title {
    margin: 0 0 0.5rem;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.02em;
    line-height: 1.35;
}

.service-card--gini .gini-block-lead {
    flex: none;
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-muted);
    text-align: right;
}

.service-card--gini .gini-block-foot {
    flex: none;
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    line-height: 1.55;
    text-align: right;
}

.service-card--gini .gini-block-foot a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}

.service-card--gini .gini-block-foot a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.service-card--gini .gini-cfsp-name {
    font-weight: 800;
    color: var(--primary);
}

.service-card--gini ul.gini-cert-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: flex-end;
}

.service-card--gini .gini-cert-chips li {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--secondary);
    background: rgba(30, 73, 118, 0.09);
    padding: 0.35rem 0.55rem;
    border-radius: 6px;
    line-height: 1.2;
}

.services-more {
    text-align: center;
    margin: 1.5rem 0 0;
    font-size: 0.95rem;
}

.services-more a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
}

.services-more a:hover {
    color: var(--accent);
}

/* ---- Tools hub (اختيار مجموعات الأدوات) ---- */
.tools-hub {
    max-width: 960px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem 1rem;
}

.tools-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    gap: 1.5rem;
    justify-content: center;
}

.tools-hub-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(10, 37, 64, 0.1);
    border-radius: var(--radius);
    padding: 2rem 1.5rem 1.75rem;
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.tools-hub-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(201, 162, 39, 0.35);
    background: var(--glass-bg-strong);
}

.tools-hub-card-visual {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin-bottom: 1rem;
    background: linear-gradient(145deg, rgba(201, 162, 39, 0.3) 0%, var(--secondary) 50%, var(--primary) 100%);
    box-shadow: 0 4px 14px rgba(10, 37, 64, 0.12);
}

.tools-hub-card-visual--ai {
    background: linear-gradient(145deg, #2a5a8f 0%, var(--secondary) 45%, #1a3a5c 100%);
}

.tools-hub-card h2 {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
    color: var(--primary);
    line-height: 1.35;
}

.tools-hub-card p {
    margin: 0 0 1.25rem;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
    flex: 1 1 auto;
}

.tools-hub-card .button {
    margin-top: auto;
}

.tools-breadcrumb {
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0.5rem auto 0.25rem;
    padding: 0 1.5rem;
}

.tools-breadcrumb a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
}

.tools-breadcrumb a:hover {
    color: var(--accent);
}

/* ---- Buttons ---- */
.button {
    display: inline-block;
    padding: 0.78rem 1.45rem;
    background: var(--secondary);
    color: #fff !important;
    text-decoration: none;
    border-radius: var(--radius-btn);
    font-weight: 700;
    font-family: var(--font);
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform 0.2s ease, box-shadow var(--transition);
    box-shadow: 0 2px 12px rgba(30, 73, 118, 0.18);
}

.button:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(30, 73, 118, 0.22);
}

.primary-btn {
    background: var(--accent);
    color: #1a1a1a !important;
    box-shadow: 0 2px 12px rgba(201, 162, 39, 0.35);
}

.primary-btn:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
}

.button.button-outline {
    background: rgba(255, 255, 255, 0.45);
    color: var(--secondary) !important;
    border: 1.5px solid rgba(30, 73, 118, 0.28);
    box-shadow: none;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.button.button-outline:hover {
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary) !important;
    border-color: rgba(201, 162, 39, 0.55);
    transform: translateY(-2px);
}

.button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ---- CTA box ---- */
.cta-section {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-box {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--glass-bg-strong);
    border-radius: var(--radius);
    margin-top: 3rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box h3 {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
}

.cta-box p {
    color: var(--text-muted);
    margin: 0 0 1rem;
}

.cta-box .button {
    margin-top: 0.5rem;
}

/* ---- Expertise grid (منظومة الخبرات) ---- */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

/* المربع الوحيد في السطر الأخير يكون في المنتصف (عند 3 أعمدة فأكثر) */
@media (min-width: 900px) {
    .expertise-card:last-child:nth-child(3n+1) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 280px;
    }
}

.home-section .expertise-grid {
    margin-bottom: 0;
}

.expertise-card {
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 1.35rem;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition), background var(--transition);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.expertise-card:hover {
    border-color: rgba(201, 162, 39, 0.4);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    background: var(--glass-bg-strong);
}

.expertise-card h3 {
    font-size: 1.05rem;
    margin: 0 0 0.5rem;
}

.expertise-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* ---- Certifications ---- */
.certs-list {
    max-width: 640px;
    margin: 0 auto 3rem;
}

.cert-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--text);
}

.cert-item:last-child {
    border-bottom: none;
}

.cert-item strong {
    color: var(--primary);
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 0 auto;
}

/* المربع الوحيد في السطر الأخير يكون في المنتصف (عند 3 أعمدة فأكثر) */
@media (min-width: 900px) {
    #certs .cert-card:last-child:nth-child(3n+1) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 220px;
    }
}

.cert-card {
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition), background var(--transition);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.cert-card:hover {
    border-color: rgba(201, 162, 39, 0.4);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    background: var(--glass-bg-strong);
}

.cert-code {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

.cert-name {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.4;
}

.cert-desc {
    display: block;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.cert-issuer {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 0.15rem;
}

/* ---- Partners ---- */
.partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1rem;
    margin-bottom: 1rem;
    padding: 1.25rem 1.35rem;
    background: var(--glass-bg-strong);
    border: 1px solid rgba(10, 37, 64, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
}

.partners-list span {
    padding: 0.4rem 0.75rem;
    background: rgba(26, 107, 181, 0.06);
    border: 1px solid rgba(26, 107, 181, 0.1);
    border-radius: var(--radius-btn);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.partners-list span:hover {
    transform: none;
    background: rgba(224, 184, 74, 0.2);
    border-color: rgba(224, 184, 74, 0.45);
    box-shadow: none;
    color: var(--primary-dark);
}

.partners-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 1rem 0 0;
}

/* ---- Training links ---- */
.training-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 560px;
    margin: 0 auto;
}

.training-link {
    display: block;
    padding: 1rem 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition), background var(--transition);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.training-link:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.training-icon {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--accent);
    margin-left: 0.35rem;
}

/* ---- CTA Banner (full-width) ---- */
.cta-banner {
    background:
        radial-gradient(ellipse 70% 80% at 50% 0%, rgba(224, 184, 74, 0.32) 0%, transparent 55%),
        linear-gradient(165deg, #1a6bb5 0%, #0d3262 100%);
    color: #fff;
    margin: 2rem 1.25rem 0;
    padding: 3rem 1.5rem;
    text-align: center;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 16px 40px rgba(10, 37, 64, 0.18);
}

.cta-banner-inner {
    max-width: 560px;
    margin: 0 auto;
}

.cta-banner h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.5rem;
    font-size: 1.05rem;
}

.cta-banner-btn {
    background: var(--accent);
    color: #1a1a1a !important;
}

.cta-banner-btn:hover {
    background: var(--accent-hover);
}

/* ---- Course page ---- */
.course-details {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 0;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* البانر الأزرق للدورة — عنوان واضح ومرئي */
.course-banner {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 2.5rem 2rem;
    margin: 0 0 2rem;
}

.course-banner h1 {
    color: #fff;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    margin: 0 0 0.75rem;
    line-height: 1.35;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.course-banner .subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    font-weight: 500;
    margin: 0;
}

.course-details section {
    padding: 0 2rem;
    margin-bottom: 2rem;
}

.course-details section:last-of-type {
    padding-bottom: 0;
}

.course-details .cta-section {
    justify-content: flex-start;
    margin-top: 2rem;
    padding: 0 2rem 2rem;
}

.course-details section {
    margin-bottom: 2rem;
}

.course-details .cta-section {
    justify-content: flex-start;
    margin-top: 2rem;
}

/* ---- FAQ / Insights ---- */
.faq-container {
    max-width: 720px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(10, 37, 64, 0.12);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 36px rgba(10, 37, 64, 0.1);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
}

.faq-item {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(10, 37, 64, 0.07);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item details {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    transition: background var(--transition);
}

.faq-item details:hover {
    border-color: transparent;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.35);
}

.faq-item details[open] {
    border-color: transparent;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.45);
}

.faq-item summary {
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    padding: 1.1rem 1.25rem;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: background var(--transition);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
    margin-right: auto;
    transition: transform var(--transition);
}

.faq-item details[open] summary::after {
    transform: rotate(-135deg);
}

.faq-item summary:hover {
    background: rgba(255, 255, 255, 0.25);
}

.answer-content {
    padding: 1.25rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border);
    line-height: 1.75;
}

.answer-content p {
    margin: 0 0 1rem;
    color: var(--text);
}

.answer-content p:last-of-type {
    margin-bottom: 0;
}

.answer-content p + ul,
.answer-content p + ol {
    margin-top: 0.25rem;
}

.answer-content ul,
.answer-content ol {
    margin: 0.75rem 0 1rem;
    padding-right: 1.75rem;
    padding-left: 0;
}

.answer-content ul {
    list-style: none;
}

.answer-content ul li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1rem;
    border-right: 3px solid var(--accent-soft);
    margin-bottom: 0.5rem;
    padding-right: 1rem;
}

.answer-content ul li::before {
    content: '';
    position: absolute;
    right: 0.25rem;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.answer-content ol {
    list-style: none;
    counter-reset: faq-num;
}

.answer-content ol li {
    position: relative;
    padding: 0.5rem 0 0.5rem 0.5rem;
    padding-right: 2.5rem;
    margin-bottom: 0.6rem;
    counter-increment: faq-num;
}

.answer-content ol li::before {
    content: counter(faq-num);
    position: absolute;
    right: 0;
    top: 0.35rem;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 50%;
}

.answer-content li:last-child {
    margin-bottom: 0;
}

.answer-content strong {
    color: var(--primary);
    font-weight: 700;
}

.answer-content a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}

.answer-content a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* ---- Contact page ---- */
.contact-container {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-container.contact-only {
    justify-content: center;
}

.contact-only .contact-info {
    max-width: 440px;
    flex: 0 1 auto;
    text-align: center;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
}

.contact-only .contact-photo {
    margin: 0 auto;
    display: block;
}

.contact-only .contact-info ul {
    text-align: center;
}

.contact-only .contact-info li {
    text-align: center;
}

.contact-only .availability-badge {
    text-align: center;
}

.contact-info {
    flex: 1;
    min-width: 280px;
}

.contact-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 28%;
    border: 3px solid rgba(10, 37, 64, 0.15);
    margin-bottom: 1.25rem;
    display: block;
    box-shadow: var(--shadow);
}

.contact-info h2 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 1.5rem;
}

.contact-info .contact-cv-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
    align-items: stretch;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
}

.contact-info .contact-cv-actions .hero-cv-btn {
    width: 100%;
    box-sizing: border-box;
}

.contact-info a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition);
}

.contact-info a:hover {
    color: var(--accent);
}

.availability-badge {
    background: var(--success-bg);
    color: var(--success-text);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-top: 2rem;
    font-weight: 500;
}

.contact-form-section {
    flex: 2;
    min-width: 280px;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.contact-form-section h2 {
    margin: 0 0 1.25rem;
    font-size: 1.25rem;
}

.contact-form-section form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form-section label {
    font-weight: 600;
    color: var(--primary);
}

.contact-form-section input,
.contact-form-section select,
.contact-form-section textarea {
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form-section input:focus,
.contact-form-section select:focus,
.contact-form-section textarea:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.contact-form-section button {
    margin-top: 0.5rem;
    cursor: pointer;
}

/* ---- Footer ---- */
/* ---- Skip link (accessibility) ---- */
.skip-link {
    position: absolute;
    top: -3rem;
    right: 1rem;
    z-index: 100;
    padding: 0.6rem 1rem;
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ---- Site footer (Vibrant Light Glass) ---- */
footer {
    position: relative;
    z-index: 1;
    background: var(--glass-footer);
    color: var(--primary);
    text-align: center;
    padding: 2.5rem 1.5rem 2.25rem;
    margin-top: 4rem;
    font-size: 0.95rem;
    border-top: 1px solid rgba(10, 37, 64, 0.08);
    box-shadow: 0 -8px 32px rgba(10, 37, 64, 0.06);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    backdrop-filter: blur(22px) saturate(1.4);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 12%;
    left: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(224, 184, 74, 0.7), rgba(26, 107, 181, 0.35), transparent);
    opacity: 1;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem 0.85rem;
    margin-bottom: 1.15rem;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-btn);
    transition: color var(--transition), background var(--transition), box-shadow var(--transition);
}

.footer-links a:hover {
    color: var(--primary-dark);
    background: rgba(224, 184, 74, 0.28);
    box-shadow: inset 0 0 0 1px rgba(212, 168, 46, 0.45);
}

.footer-copy {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    opacity: 1;
}

/* ---- Links in body (e.g. course page) ---- */
main a:not(.button) {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition);
}

main a:not(.button):hover {
    color: var(--accent);
}

/* ---- Lists ---- */
ul, ol {
    margin: 0.5rem 0 1rem;
    padding-right: 1.5rem;
}

.service-card ul,
.course-details ul {
    padding-right: 1.25rem;
}

/* ========== الموبايل والشفافيات الصغيرة ========== */
@media (max-width: 600px) {
    main {
        padding: 1.5rem 1rem 3rem;
    }

    .home-main {
        padding: 0 1rem;
    }

    .hero-home {
        padding: 2rem 1rem 2.5rem;
    }

    .hero-photo {
        width: min(220px, 72vw);
        height: min(220px, 72vw);
    }

    .hero-cta {
        gap: 0.65rem;
        padding-top: 1rem;
    }

    .hero-cta-row {
        gap: 0.55rem;
    }

    .hero-cta-row--primary .button,
    .hero-cta-row--secondary .hero-cv-btn,
    .hero-cta-row--secondary .hero-cta-linkedin {
        flex: 1 1 100%;
        max-width: none;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .certs-grid {
        grid-template-columns: 1fr;
    }

    .home-section,
    .home-section-alt {
        padding: 2rem 0;
    }

    .home-section-alt {
        margin: 0 -1rem;
        padding: 2rem 1rem;
    }

    .cta-banner {
        margin: 0 -1rem;
        padding: 2rem 1rem;
    }

    .footer-links {
        gap: 0.5rem 1rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }
}

/* أزرار وأسطح لمس مناسبة للموبايل (≈44px) */
.button,
.primary-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-linkedin {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ---- صفحة الدورة (aal) ---- */
.page-aal {
    background: var(--bg);
    color: var(--text);
}

.page-aal .aal-main {
    padding: 0;
}

.page-aal .aal-hero {
    background:
        radial-gradient(ellipse 75% 55% at 90% 0%, rgba(224, 184, 74, 0.28) 0%, transparent 52%),
        radial-gradient(ellipse 60% 50% at 5% 100%, rgba(26, 107, 181, 0.16) 0%, transparent 55%),
        linear-gradient(165deg, #dbeaf8 0%, #eef5fc 50%, #f7fafc 100%);
    color: var(--primary);
    padding: 2.5rem 1.25rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-aal .aal-hero::before {
    content: none;
}

.page-aal .aal-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 52rem;
    margin: 0 auto;
    padding-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.page-aal .aal-hero.is-ready .aal-hero-inner {
    opacity: 1;
    transform: none;
}

.page-aal .aal-hero-logo {
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: aalFloatLogo 6s ease-in-out infinite;
}

.page-aal .aal-hero-logo img {
    max-width: min(360px, 82vw);
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
}

@keyframes aalFloatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.page-aal .aal-hero h1 {
    font-size: clamp(1.75rem, 4.5vw, 2.65rem);
    margin: 0 0 1rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.25;
}

.page-aal .aal-hero .aal-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: var(--text-muted);
    margin: 0 auto 1.25rem;
    max-width: 42rem;
    line-height: 1.65;
}

.page-aal .aal-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary);
    border-radius: var(--radius-btn);
    padding: 0.5rem 1.1rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    border: 1px solid rgba(224, 184, 74, 0.45);
    box-shadow: var(--shadow);
}

.page-aal .aal-date-badge i {
    color: var(--accent-hover);
}

.page-aal .aal-hero-badges {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.page-aal .aal-hero-badge {
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary);
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-btn);
    font-size: 0.88rem;
    border: 1px solid rgba(10, 37, 64, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.page-aal .aal-hero-badge i {
    color: var(--accent-hover);
}

.page-aal .aal-instructor-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.55rem 1.35rem;
    border-radius: var(--radius);
    border: 1px solid rgba(10, 37, 64, 0.1);
    text-align: right;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.page-aal .aal-instructor-photo {
    width: 48px;
    height: 48px;
    border-radius: 28%;
    object-fit: cover;
    border: 2px solid rgba(224, 184, 74, 0.55);
}

.page-aal .aal-instructor-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.page-aal .urgency-bar {
    background: var(--accent-soft);
    border: 2px dashed var(--accent);
    color: #7c2d12;
    padding: 0.9rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 1.25rem auto 0;
    max-width: 56rem;
    border-radius: var(--radius-sm);
    position: relative;
    z-index: 1;
}

.page-aal .aal-hero-action {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #fff9eb 0%, #fff4d6 100%);
    padding: 0 1.25rem 1.75rem;
    border-top: 1px solid rgba(201, 162, 39, 0.3);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
}

.page-aal .aal-hero-action .urgency-bar--hero {
    margin-top: 0;
    margin-bottom: 1.25rem;
    border-radius: 0;
    max-width: none;
    background: transparent;
    border: none;
    border-bottom: 1px dashed rgba(201, 162, 39, 0.55);
    color: var(--primary);
    padding: 1rem 0 1rem;
    box-shadow: none;
}

.page-aal .aal-hero-register-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    width: min(100%, 26rem);
    margin: 0 auto;
    padding: 1rem 1.35rem;
    text-decoration: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #f0d56a 0%, #c9a227 45%, #a88418 100%);
    color: #0a2540 !important;
    font-family: var(--font);
    box-shadow:
        0 8px 28px rgba(201, 162, 39, 0.55),
        0 2px 0 rgba(255, 255, 255, 0.35) inset,
        0 -2px 0 rgba(0, 0, 0, 0.08) inset;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    animation: aalHeroCtaGlow 2.8s ease-in-out infinite;
}

.page-aal .aal-hero-register-btn:hover {
    transform: translateY(-3px) scale(1.02);
    filter: brightness(1.05);
    box-shadow:
        0 14px 36px rgba(201, 162, 39, 0.65),
        0 2px 0 rgba(255, 255, 255, 0.4) inset;
}

.page-aal .aal-hero-register-btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.page-aal .aal-hero-register-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 37, 64, 0.12);
    border-radius: 50%;
    font-size: 1.1rem;
}

.page-aal .aal-hero-register-text {
    flex: 1;
    text-align: center;
    min-width: 0;
}

.page-aal .aal-hero-register-main {
    display: block;
    font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    font-weight: 800;
    line-height: 1.3;
}

.page-aal .aal-hero-register-sub {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.85;
    margin-top: 0.15rem;
    line-height: 1.35;
}

.page-aal .aal-hero-register-arrow {
    flex-shrink: 0;
    font-size: 1rem;
    opacity: 0.75;
    transition: transform 0.2s ease;
}

.page-aal .aal-hero-register-btn:hover .aal-hero-register-arrow {
    transform: translateX(-4px);
}

@keyframes aalHeroCtaGlow {
    0%, 100% {
        box-shadow:
            0 8px 28px rgba(201, 162, 39, 0.5),
            0 2px 0 rgba(255, 255, 255, 0.35) inset;
    }
    50% {
        box-shadow:
            0 12px 36px rgba(201, 162, 39, 0.7),
            0 2px 0 rgba(255, 255, 255, 0.4) inset;
    }
}

.page-aal .urgency-bar--hero {
    margin-top: 1.25rem;
    margin-bottom: 0;
    border-radius: 0;
    max-width: none;
    background: #fff9eb;
    border-color: var(--accent);
    color: var(--primary);
    padding: 1rem 1.25rem;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}

.page-aal .urgency-bar .urgency-alert {
    color: #b45309;
    font-weight: 800;
}

.page-aal .urgency-bar--hero .urgency-alert {
    color: #92400e;
}

.page-aal .urgency-bar .urgency-term {
    color: var(--primary);
    font-weight: 800;
    background: rgba(201, 162, 39, 0.35);
    padding: 0.1em 0.4em;
    border-radius: 4px;
}

.page-aal .urgency-bar--hero .urgency-term {
    color: #0a2540;
    background: rgba(201, 162, 39, 0.45);
}

.page-aal .urgency-bar .urgency-price {
    color: #b91c1c;
    font-weight: 800;
}

.page-aal .urgency-bar--hero .urgency-price {
    color: #991b1b;
}

.page-aal .urgency-bar i {
    color: var(--accent-hover);
    margin-left: 0.35rem;
}

.page-aal .urgency-bar--hero i {
    color: #c9a227;
}

.page-aal .aal-container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 3rem;
}

.page-aal .aal-jump-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    margin-bottom: 2rem;
    padding: 0.75rem 1rem;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
}

.page-aal .aal-jump-nav a {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
}

.page-aal .aal-jump-nav a:hover {
    color: var(--accent-hover);
}

.page-aal .program-def {
    text-align: center;
    max-width: 50rem;
    margin: 0 auto 3rem;
}

.page-aal .program-def h2 {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    color: var(--primary);
    margin: 0 0 1rem;
}

.page-aal .pain-section {
    padding: 2rem 1.5rem 2.5rem;
    background: var(--glass-bg-strong);
    border-radius: var(--radius);
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
}

.page-aal .pain-section > h2 {
    text-align: center;
    color: var(--primary);
    margin: 0 0 1.25rem;
    font-size: 1.5rem;
}

.page-aal .pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.page-aal .pain-card {
    padding: 1.5rem;
    border-radius: var(--radius-sm);
}

.page-aal .pain-card.pain {
    background: #fef2f2;
    border-right: 4px solid #dc2626;
}

.page-aal .pain-card.gain {
    background: var(--success-bg);
    border-right: 4px solid var(--success-text);
}

.page-aal .pain-card h3 {
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
}

.page-aal .pain-card.pain h3 {
    color: #991b1b;
}

.page-aal .pain-card.gain h3 {
    color: var(--success-text);
}

.page-aal .pain-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-aal .pain-card li {
    margin-bottom: 0.65rem;
}

.page-aal .delivery-method {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.page-aal .method-item {
    text-align: center;
    max-width: 13rem;
}

.page-aal .method-item i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    background: var(--bg-card);
    padding: 1rem;
    border-radius: 50%;
    box-shadow: var(--shadow);
    width: 3.5rem;
    height: 3.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.page-aal .method-item h4 {
    margin: 0.5rem 0 0.25rem;
    color: var(--primary);
}

.page-aal .method-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.page-aal .tracks-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.page-aal .track-card {
    background: var(--glass-bg-strong);
    border-radius: var(--radius);
    padding: 1.75rem;
    flex: 1 1 18rem;
    max-width: 32rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--glass-border);
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
}

.page-aal .track-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 12%;
    left: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 0;
}

.page-aal .track-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.page-aal .track-card.bundle {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(201, 162, 39, 0.1) 100%);
    order: -1;
}

.page-aal .track-card.bundle::before {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-hover), var(--accent), transparent);
}

@media (min-width: 992px) {
    .page-aal .track-card.bundle {
        order: 1;
    }
}

.page-aal .track-card .badge {
    position: absolute;
    top: -0.75rem;
    right: 1.25rem;
    background: var(--accent);
    color: #1a1a1a;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 2px 10px rgba(201, 162, 39, 0.35);
}

.page-aal .track-title {
    margin: 0 0 0.75rem;
    color: var(--primary);
    line-height: 1.35;
}

.page-aal .track-title .track-phase {
    display: block;
    font-size: 0.88rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.page-aal .track-title .track-name {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
}

.page-aal .track-title--bundle .track-bundle-tagline {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary);
    margin-top: 0.2rem;
}

.page-aal .track-subtitle {
    color: var(--text-muted);
    margin: 0 0 1rem;
    font-size: 0.95rem;
}

.page-aal .track-meta {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.page-aal .track-meta i {
    color: var(--secondary);
}

.page-aal .feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.page-aal .feature-list li {
    margin-bottom: 0.65rem;
    padding-right: 1.5rem;
    position: relative;
}

.page-aal .feature-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--success-text);
    font-weight: 700;
}

.page-aal .outcomes-box {
    background: rgba(30, 73, 118, 0.06);
    padding: 1rem 1.15rem;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    border: 1px solid var(--border);
}

.page-aal .outcomes-box h4 {
    margin: 0 0 0.5rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.page-aal .outcomes-box p {
    margin: 0;
    text-align: justify;
    color: var(--text-muted);
}

.page-aal .outcomes-box .outcomes-lead {
    margin: 0 0 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.page-aal .outcomes-box--secondary {
    margin-top: 0.75rem;
}

.page-aal .feature-list--compact {
    margin: 0.5rem 0 0;
}

.page-aal .outcomes-box .feature-list--compact li:last-child {
    margin-bottom: 0;
}

.page-aal .track-audience {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.page-aal .track-audience h4 {
    margin: 0 0 0.4rem;
    color: var(--secondary);
    font-size: 0.95rem;
}

.page-aal .track-audience p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.page-aal .track-result {
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    background: rgba(201, 162, 39, 0.12);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(201, 162, 39, 0.35);
}

.page-aal .track-result h4 {
    margin: 0 0 0.5rem;
    color: var(--primary);
    font-size: 1rem;
}

.page-aal .track-result p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.65;
}

.page-aal .track-card .button {
    width: 100%;
    margin-top: 1.25rem;
    box-sizing: border-box;
}

.page-aal .faq-section {
    margin-top: 3rem;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.page-aal .faq-section > h2 {
    text-align: center;
    margin: 0 0 2rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.page-aal .faq-list {
    max-width: 50rem;
    margin: 0 auto;
}

.page-aal .faq-item {
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 0;
}

.page-aal .faq-item:last-child {
    border-bottom: none;
}

.page-aal .faq-question {
    font-weight: 700;
    cursor: pointer;
    display: block;
    font-size: 1.05rem;
    color: var(--primary);
    width: 100%;
    padding: 0.25rem 0;
    font-family: var(--font);
    text-align: right;
    list-style: none;
}

.page-aal .faq-question::-webkit-details-marker {
    display: none;
}

.page-aal .faq-question::after {
    content: "+";
    float: left;
    font-weight: 800;
    color: var(--secondary);
}

.page-aal .faq-item[open] .faq-question::after {
    content: "−";
}

.page-aal .faq-answer {
    max-height: none;
    overflow: visible;
    margin-top: 0.75rem;
    color: var(--text-muted);
}

.page-aal .faq-answer p {
    margin: 0;
    line-height: 1.7;
}

.page-aal .footer-whatsapp {
    text-align: center;
    margin: 3rem auto 0;
    max-width: 44rem;
    background: var(--success-bg);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(4, 120, 87, 0.15);
    box-shadow: var(--shadow);
}

.page-aal .footer-whatsapp p {
    margin: 0 0 0.85rem;
    color: var(--success-text);
    font-weight: 600;
}

.page-aal .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font);
    text-decoration: none;
    background: #22c55e;
    color: #fff;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35);
    transition: background var(--transition), transform 0.15s ease;
    min-height: 44px;
}

.page-aal .btn-whatsapp:hover {
    background: #16a34a;
    transform: translateY(-1px);
}

.page-aal .whatsapp-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
}

.page-aal .aal-sticky-cta {
    display: none;
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 90;
    box-shadow: 0 8px 28px rgba(10, 37, 64, 0.25);
    white-space: nowrap;
    max-width: calc(100% - 2rem);
}

@media (max-width: 640px) {
    .page-aal .aal-hero {
        padding-top: 2rem;
    }

    .page-aal .aal-hero-logo img {
        max-width: 220px;
    }

    .page-aal .aal-sticky-cta {
        display: inline-flex;
    }

    .page-aal .site-footer {
        padding-bottom: 4.5rem;
    }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-home .hero-intro,
    .hero-home .hero-cta,
    .page-aal .aal-hero-inner {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .hover-lift:hover,
    .service-card:hover,
    .expertise-card:hover,
    .cert-card:hover,
    .partners-list span:hover,
    .button:hover {
        transform: none;
    }
}

/* ============================================
   Design Thinking tools page (.page-dt)
   ============================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page-dt main {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.25rem 3.5rem;
    position: relative;
    z-index: 1;
}

.page-dt .page-header {
    text-align: center;
    padding: 2.5rem 0 1.25rem;
}

.page-dt .dt-jump-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    margin-bottom: 2rem;
    padding: 0.75rem 1rem;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
}

.page-dt .dt-jump-nav a {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
}

.page-dt .dt-jump-nav a:hover {
    color: var(--accent-hover);
}

.page-dt .dt-section-head {
    text-align: center;
    margin-bottom: 2rem;
}

.page-dt .dt-section-head h2 {
    color: var(--primary);
    margin: 0 0 0.5rem;
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
}

.page-dt .dt-section-head p,
.page-dt .dt-explorer-head p {
    color: var(--text-muted);
    margin: 0;
    max-width: 40rem;
    margin-inline: auto;
}

.page-dt .dt-pillars {
    margin-bottom: 3rem;
}

.page-dt .dt-pillars-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: center;
}

@media (min-width: 900px) {
    .page-dt .dt-pillars-layout {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

.page-dt .dt-chart-wrap {
    padding: 1.25rem;
    height: auto;
    min-height: 320px;
    max-height: none;
    display: flex;
    flex-direction: column;
}

.page-dt .dt-chart-wrap canvas {
    flex: 1 1 auto;
    min-height: 240px;
    max-height: 300px;
}

.page-dt .dt-chart-summary {
    margin: 0.75rem 0 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-muted);
    text-align: center;
}

.page-dt .dt-pillar-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.page-dt .dt-pillar-card {
    display: block;
    width: 100%;
    text-align: right;
    font: inherit;
    cursor: pointer;
    padding: 1rem 1.15rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    background: var(--glass-bg);
    border-right-width: 4px;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.page-dt .dt-pillar-card:hover {
    background: var(--glass-bg-strong);
    box-shadow: var(--shadow);
}

.page-dt .dt-pillar-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.page-dt .dt-pillar-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    color: var(--primary);
}

.page-dt .dt-pillar-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.page-dt .dt-pillar-card--observation { border-right-color: #4a5a70; }
.page-dt .dt-pillar-card--observation h3 { color: #4a5a70; }
.page-dt .dt-pillar-card--questioning { border-right-color: var(--accent); }
.page-dt .dt-pillar-card--questioning h3 { color: #a88918; }
.page-dt .dt-pillar-card--experimenting { border-right-color: var(--secondary); }
.page-dt .dt-pillar-card--experimenting h3 { color: var(--secondary); }
.page-dt .dt-pillar-card--study { border-right-color: var(--primary); }
.page-dt .dt-pillar-card--study h3 { color: var(--primary); }

.page-dt .dt-explorer-head {
    margin-bottom: 1.25rem;
}

.page-dt .dt-explorer-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-bottom: 0.5rem;
}

.page-dt .dt-explorer-title-row h2 {
    margin: 0;
    color: var(--primary);
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
}

.page-dt .dt-explorer-head p {
    margin-inline: 0;
}

.page-dt .dt-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    padding: 0.25rem 0.85rem;
    background: rgba(10, 37, 64, 0.08);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--primary);
    transition: transform var(--motion-fast) ease;
}

.page-dt .dt-count-badge.dt-count-pulse {
    transform: scale(1.08);
}

.page-dt .dt-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.page-dt .dt-filters input[type="search"],
.page-dt .dt-filters select {
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    background: var(--glass-bg-strong);
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    padding: 0.55rem 0.85rem;
    min-height: 2.6rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.page-dt .dt-filters input[type="search"] {
    flex: 1 1 14rem;
    min-width: 12rem;
    font-weight: 500;
}

.page-dt .dt-filters select {
    flex: 0 1 auto;
    cursor: pointer;
}

.page-dt .dt-filters input:focus-visible,
.page-dt .dt-filters select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
    border-color: var(--accent);
}

.page-dt .dt-reset-btn {
    flex: 0 0 auto;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

.page-dt .dt-tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 560px) {
    .page-dt .dt-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .page-dt .dt-tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1100px) {
    .page-dt .dt-tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.page-dt .dt-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 1rem;
    margin: 0;
}

.page-dt .dt-tool-card {
    display: flex;
    flex-direction: column;
    padding: 1.15rem;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), opacity var(--transition);
    border: 1px solid var(--glass-border);
    min-height: 100%;
}

.page-dt .dt-tool-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.page-dt .dt-tool-card--fit {
    border-color: rgba(10, 37, 64, 0.35);
    box-shadow: 0 0 0 1px rgba(10, 37, 64, 0.12), var(--shadow);
}

.page-dt .dt-tool-card--soft {
    opacity: 0.78;
}

.page-dt .dt-tool-card-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.page-dt .dt-cat-chip {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.page-dt .dt-cat-chip--observation {
    background: rgba(74, 90, 112, 0.12);
    color: #4a5a70;
}

.page-dt .dt-cat-chip--questioning {
    background: var(--accent-soft);
    color: #8a7010;
}

.page-dt .dt-cat-chip--experimenting {
    background: rgba(26, 107, 181, 0.12);
    color: var(--secondary);
}

.page-dt .dt-cat-chip--study {
    background: rgba(10, 37, 64, 0.1);
    color: var(--primary);
}

.page-dt .dt-fit-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 8px;
    font-size: 0.68rem;
    font-weight: 800;
    background: var(--primary);
    color: #fff;
}

.page-dt .dt-tool-name {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    color: var(--primary);
    line-height: 1.35;
}

.page-dt .dt-tool-desc {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-dt .dt-tool-snippet {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-dt .dt-snippet-label {
    font-weight: 700;
    color: var(--primary);
}

.page-dt .dt-tool-stages {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
}

.page-dt .dt-stage-chip {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    font-size: 0.68rem;
    color: var(--text-muted);
    background: rgba(10, 37, 64, 0.04);
    border: 1px solid var(--border);
    border-radius: 6px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Modal */
.page-dt .dt-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(6, 26, 45, 0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity var(--motion-med) ease;
    overflow-y: auto;
}

.page-dt .dt-modal[hidden] {
    display: none;
}

.page-dt .dt-modal.is-open {
    opacity: 1;
}

.page-dt .dt-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 42rem;
    background: var(--glass-bg-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    transform: scale(0.96);
    opacity: 0;
    transition: transform var(--motion-med) ease, opacity var(--motion-med) ease;
    margin: auto;
}

.page-dt .dt-modal.is-open .dt-modal-dialog {
    transform: scale(1);
    opacity: 1;
}

.page-dt .dt-modal-close {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border: none;
    border-radius: 999px;
    background: rgba(10, 37, 64, 0.08);
    color: var(--text-muted);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.page-dt .dt-modal-close:hover {
    background: rgba(10, 37, 64, 0.14);
    color: var(--primary);
}

.page-dt .dt-modal-close:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.page-dt .dt-modal-scroll {
    padding: 1.75rem 1.5rem 1.5rem;
    max-height: 85vh;
    overflow-y: auto;
}

.page-dt .dt-modal-id {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
    padding-left: 2.5rem;
}

.page-dt .dt-modal-icon {
    flex-shrink: 0;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-dt .dt-modal-icon--observation {
    background: rgba(74, 90, 112, 0.12);
    color: #4a5a70;
}

.page-dt .dt-modal-icon--questioning {
    background: var(--accent-soft);
    color: #a88918;
}

.page-dt .dt-modal-icon--experimenting {
    background: rgba(26, 107, 181, 0.12);
    color: var(--secondary);
}

.page-dt .dt-modal-icon--study {
    background: rgba(10, 37, 64, 0.1);
    color: var(--primary);
}

.page-dt .dt-modal-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    color: var(--primary);
    line-height: 1.3;
}

.page-dt .dt-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
    align-items: center;
}

.page-dt .dt-modal-meta--sub {
    font-size: 0.8rem;
}

.page-dt .dt-modal-block {
    margin-bottom: 1.5rem;
}

.page-dt .dt-modal-h {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    color: var(--primary);
}

.page-dt .dt-bar {
    display: inline-block;
    width: 4px;
    height: 1.15rem;
    border-radius: 4px;
}

.page-dt .dt-bar--primary { background: var(--primary); }
.page-dt .dt-bar--accent { background: var(--accent); }

.page-dt .dt-modal-def {
    margin: 0;
    padding: 1rem;
    background: rgba(10, 37, 64, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    line-height: 1.7;
}

.page-dt .dt-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.page-dt .dt-step {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.35rem 0;
    color: var(--text);
    line-height: 1.6;
}

.page-dt .dt-step-num {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.15rem;
}

.page-dt .dt-modal-example {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: rgba(224, 184, 74, 0.08);
    border: 1px solid rgba(224, 184, 74, 0.25);
    border-radius: var(--radius-sm);
}

.page-dt .dt-modal-example p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.page-dt .dt-context-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.page-dt .dt-modal-tip {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(145deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: var(--radius-sm);
    color: #fff;
    box-shadow: var(--shadow);
}

.page-dt .dt-modal-tip h3 {
    margin: 0 0 0.5rem;
    color: var(--accent);
    font-size: 1.05rem;
}

.page-dt .dt-modal-tip p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.7;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.page-dt .dt-modal-video {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.page-dt .dt-video-placeholder {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(10, 37, 64, 0.05);
    color: var(--text-muted);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: not-allowed;
    opacity: 0.85;
}

.page-dt .dt-faq {
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.page-dt .dt-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 48rem;
    margin: 0 auto;
}

.page-dt .dt-faq-item {
    padding: 0;
    overflow: hidden;
}

.page-dt .dt-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1rem 1.15rem;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.02rem;
}

.page-dt .dt-faq-item summary::-webkit-details-marker {
    display: none;
}

.page-dt .dt-faq-item summary::after {
    content: "+";
    float: left;
    font-weight: 800;
    color: var(--accent);
}

.page-dt .dt-faq-item[open] summary::after {
    content: "−";
}

.page-dt .dt-faq-item p {
    margin: 0;
    padding: 0 1.15rem 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.page-dt .dt-noscript-note {
    max-width: 72rem;
    margin: 0 auto 2rem;
    padding: 1rem 1.25rem;
    text-align: center;
    color: var(--text-muted);
}

.page-dt .dt-tool-crawl {
    margin-top: 0.75rem;
    border-top: 1px solid var(--border);
    padding-top: 0.5rem;
}

.page-dt .dt-tool-crawl summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--secondary);
}

.page-dt .dt-tool-crawl-def,
.page-dt .dt-tool-crawl-example,
.page-dt .dt-tool-crawl-tip {
    margin: 0.5rem 0 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.page-dt .dt-tool-crawl-steps {
    margin: 0.5rem 0 0;
    padding-right: 1.25rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-muted);
}

/* Legal pages */
.legal-page {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1.25rem 3.5rem;
}

.legal-page .page-header {
    text-align: center;
    padding: 2.5rem 0 1.25rem;
}

.legal-page .legal-content {
    padding: 1.5rem 1.35rem;
    line-height: 1.75;
    color: var(--text);
}

.legal-page .legal-content h2 {
    color: var(--primary);
    font-size: 1.15rem;
    margin: 1.5rem 0 0.65rem;
}

.legal-page .legal-content p,
.legal-page .legal-content li {
    color: var(--text-muted);
}

.legal-page .legal-content ul {
    margin: 0.5rem 0 0;
    padding-right: 1.25rem;
}

@media (max-width: 600px) {
    .page-dt main {
        padding: 0 1rem 3rem;
    }

    .page-dt .dt-modal-scroll {
        padding: 1.35rem 1.1rem 1.1rem;
    }

    .page-dt .dt-modal-id {
        flex-direction: column;
        padding-left: 2.25rem;
    }

    .page-dt .dt-chart-wrap canvas {
        min-height: 200px;
        max-height: 260px;
    }
}

/* ---- Articles section ---- */
.page-articles main,
.article-main {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1.25rem 3.5rem;
}

.page-articles .page-header {
    text-align: center;
    padding: 2.5rem 0 1.5rem;
}

.articles-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-card {
    padding: 1.25rem 1.35rem;
}

.article-card-title {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
    color: var(--primary);
}

.article-card-title a {
    color: inherit;
    text-decoration: none;
}

.article-card-title a:hover {
    color: var(--secondary);
}

.article-card-meta {
    margin: 0 0 0.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.article-card-excerpt {
    margin: 0 0 0.75rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.article-card-more {
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
}

.articles-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem 1rem;
}

.article-post {
    padding: 1.5rem 0 2rem;
}

.article-back {
    margin: 1.5rem 0 1rem;
}

.article-back a {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: none;
}

.article-title {
    margin: 0 0 0.5rem;
    color: var(--primary);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    line-height: 1.35;
}

.article-meta {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.article-excerpt {
    margin: 0 0 1.5rem;
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.7;
    border-right: 3px solid var(--accent);
    padding-right: 1rem;
}

.article-body {
    line-height: 1.8;
    color: var(--text);
}

.article-body h2,
.article-body h3 {
    color: var(--primary);
    margin: 1.75rem 0 0.65rem;
}

.article-body p {
    margin: 0 0 1rem;
    color: var(--text-muted);
}

.article-body ul {
    margin: 0 0 1rem;
    padding-right: 1.35rem;
    color: var(--text-muted);
}

.article-body li {
    margin-bottom: 0.35rem;
}

.article-medium,
.article-cite {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.92rem;
    color: var(--text-muted);
}

.page-articles .articles-grid {
    max-width: 40rem;
    margin: 0 auto;
}
