/* Design System for ABC IT Lab */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700&display=swap');

:root {
    /* Colors */
    --color-body: #080d14;
    --color-surface: #0d1522;
    --color-surface-alt: #111b2c;
    --color-panel: #0f172a;
    --color-card-dark: #0b1120;
    --color-card-light: #121b2c;
    --color-muted: #9db3d5;
    --color-text: #e8eef7;
    --color-text-soft: #c7d3e8;
    --color-heading: #f3f6fb;
    --color-primary: #E6C27A;
    --color-primary-strong: #f0d8a0;
    --color-accent: #4FD1C5;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-strong: rgba(255, 255, 255, 0.15);
    --color-overlay: rgba(255, 255, 255, 0.04);

    /* Typography */
    --font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    --font-size-base: 16px;
    --font-size-h1: clamp(2.1rem, 3vw + 1rem, 3rem);
    --font-size-h2: clamp(1.6rem, 2vw + 1rem, 2.3rem);
    --font-size-h3: clamp(1.2rem, 1vw + 1rem, 1.5rem);
    --font-size-body: 1rem;
    --font-size-small: 0.9rem;
    --line-height-base: 1.7;
    --line-height-heading: 1.3;

    /* Spacing */
    --space-0: 0.25rem;
    --space-1: 0.5rem;
    --space-2: 0.75rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;
    --space-7: 4rem;

    /* Radii & Shadows */
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --shadow-soft: 0 15px 40px rgba(0, 0, 0, 0.35);
    --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.4);
    --shadow-border: inset 0 1px 0 rgba(255, 255, 255, 0.04);

    /* Icon system */
    --color-icon-gold: #E6C27A;
    --color-icon-teal: #4FD1C5;
    --icon-size: clamp(32px, 4vw, 40px);
    --icon-ring: clamp(44px, 5vw, 52px);
    --icon-ring-small: clamp(44px, 4.5vw, 48px);
    --icon-glow-gold: 0 12px 32px rgba(230, 194, 122, 0.22);
    --icon-glow-teal: 0 12px 32px rgba(79, 209, 197, 0.22);
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--color-body);
    color: var(--color-text);
    line-height: var(--line-height-base);
    min-height: 100vh;
    min-height: 100svh;
    direction: rtl;
    overflow-x: hidden;
}

html, body {
    margin: 0;
    padding: 0;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--color-primary-strong);
}

img, svg {
    max-width: 100%;
    display: block;
}

.svg-sprite {
    position: absolute;
    inset: 0;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
}

ul {
    list-style: none;
    padding: 0;
}

p {
    color: var(--color-text-soft);
    margin-bottom: var(--space-3);
}

h1, h2, h3, h4 {
    color: var(--color-heading);
    line-height: var(--line-height-heading);
    margin-bottom: var(--space-3);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
small { font-size: var(--font-size-small); }

body.theme-dark .light-section { color: var(--color-text); }

/* Layout */
.container {
    width: min(1180px, 94vw);
    margin: 0 auto;
    padding: 0 var(--space-2);
}

section {
    padding: var(--space-7) 0;
    position: relative;
}

main > section:first-of-type {
    margin-top: 0;
    padding-top: 0;
}

.dark-section {
    background: var(--color-surface);
}

.light-section {
    background: var(--color-surface-alt);
}

.section-head {
    text-align: center;
    margin-bottom: var(--space-6);
}

.section-title {
    margin-bottom: var(--space-2);
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto;
}

/* Navbar */
.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: linear-gradient(135deg, rgba(8, 13, 20, 0.94), rgba(10, 16, 26, 0.9));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    padding-top: max(0px, env(safe-area-inset-top));
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 0 var(--space-2);
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    flex-direction: row-reverse;
}

.brand-title {
    font-size: 1.08rem;
    margin: 0;
    letter-spacing: 0.08em;
    font-weight: 800;
    position: relative;
    display: inline-flex;
    align-items: center;
    line-height: 1.25;
    color: transparent;
}

.brand-title.brand-title-premium {
    background-image:
        linear-gradient(120deg, #2dd6c5 0%, #0f8f8c 25%, #4cddcf 55%, #d3c187 75%, #4cddcf 95%),
        linear-gradient(120deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.72) 50%, rgba(255, 255, 255, 0) 65%),
        radial-gradient(circle at 18% 42%, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 26%),
        radial-gradient(circle at 78% 68%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 24%);
    background-size: 280% 100%, 200% 100%, 140% 140%, 160% 160%;
    background-position: 0% 50%, -120% 50%, 12% 38%, 82% 70%;
    background-clip: text;
    -webkit-background-clip: text;
    animation: brandGradientFlow 14s ease-in-out infinite;
    text-shadow: 0 2px 8px rgba(4, 12, 18, 0.35);
}

.brand-monogram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background-image: linear-gradient(135deg, #d9e2ec 0%, #8fd3d8 35%, #e0e6f1 65%, #40d7d1 90%);
    background-size: 200% 200%;
    color: #0c1a24;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28), 0 0 18px rgba(64, 215, 209, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.16);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    animation: monogramSheen 12s ease-in-out infinite;
}

.brand-monogram::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.38) 45%, rgba(255, 255, 255, 0) 68%);
    mix-blend-mode: screen;
    opacity: 0.65;
    animation: monogramHighlight 9s ease-in-out infinite;
    pointer-events: none;
}

@keyframes brandGradientFlow {
    0% {
        background-position: 0% 50%, -120% 50%, 12% 38%, 82% 70%;
    }
    50% {
        background-position: 100% 50%, 60% 50%, 18% 46%, 72% 62%;
    }
    100% {
        background-position: 0% 50%, 180% 50%, 12% 38%, 82% 70%;
    }
}

@keyframes monogramSheen {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes monogramHighlight {
    0% { background-position: -120% 50%; opacity: 0.6; }
    55% { background-position: 120% 50%; opacity: 0.9; }
    100% { background-position: 180% 50%; opacity: 0.6; }
}

@media (max-width: 640px) {
    .brand {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        text-align: center;
    }

    .nav-brand {
        flex: 1;
        justify-content: center;
    }

    .brand-monogram {
        font-size: 1.18rem;
        padding: 3px 10px;
        letter-spacing: 0.14em;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22), 0 0 12px rgba(64, 215, 209, 0.16);
    }

    .brand-title {
        line-height: 1.2;
    }
}

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.08));
    border: 1px solid var(--color-border);
    padding: var(--space-1);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-toggle:hover { transform: translateY(-1px); border-color: var(--color-border-strong); background: rgba(255, 255, 255, 0.1); }

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-heading);
    border-radius: 3px;
    transition: transform 0.28s ease, opacity 0.28s ease, background 0.28s ease;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    padding: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.32s ease, visibility 0.32s ease;
    z-index: 140;
}

.nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-open,
body.is-open { overflow: hidden; }

.nav-panel {
    width: min(420px, 92vw);
    background: #0b1220;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6);
    border-radius: 18px 0 0 18px;
    padding: calc(var(--space-5) + env(safe-area-inset-top)) var(--space-4) var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.36s ease, opacity 0.32s ease;
    position: relative;
    min-height: 100vh;
}

.nav-overlay.is-open .nav-panel {
    transform: translateX(0);
    opacity: 1;
}

.nav-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding-inline-end: var(--space-1);
}

.nav-panel-title {
    margin: 0;
    color: #eaf0ff;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.nav-close {
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-close:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-border-strong);
    transform: translateY(-1px);
}

.nav-close span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--color-heading);
    border-radius: 3px;
}

.nav-close span:first-child { transform: rotate(45deg); }
.nav-close span:last-child { transform: rotate(-45deg); }

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin: var(--space-1) 0;
}

.nav-menu a {
    display: block;
    color: #eaf0ff;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.2px;
    background: rgba(255, 255, 255, 0.04);
    position: relative;
    min-height: 48px;
    display: flex;
    align-items: center;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    inset-inline-end: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: transparent;
    border-radius: 0 4px 4px 0;
    transition: background 0.2s ease;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
    color: #f1f5ff;
}

.nav-menu a.active {
    color: #f8e6c6;
    background: rgba(200, 160, 80, 0.14);
    border: 1px solid rgba(200, 160, 80, 0.22);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.nav-menu a.active::after {
    background: linear-gradient(180deg, #d9b36c, #c8a050);
}

.nav-panel-cta {
    margin-top: var(--space-1);
}

.nav-cta-link {
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    text-align: center;
}

.btn-full { width: 100%; }
.btn-small { padding: var(--space-1) var(--space-3); font-size: 0.95rem; }

.btn-primary {
    background: linear-gradient(120deg, var(--color-primary), var(--color-primary-strong));
    color: #0b0b0b;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(217, 179, 108, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border-strong);
}

.btn-secondary:hover {
    background: var(--color-overlay);
    transform: translateY(-1px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text);
    border: 1px solid var(--color-border-strong);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn-link {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid transparent;
    padding-inline: var(--space-3);
}

.btn-link:hover {
    color: var(--color-primary-strong);
    text-decoration: underline;
    transform: translateY(-1px);
}

/* Hero */
.hero {
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, rgba(217, 179, 108, 0.12), transparent 35%),
                radial-gradient(circle at 80% 10%, rgba(87, 214, 255, 0.1), transparent 35%),
                var(--color-body);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    border: 1px solid var(--color-border);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.hero-title {
    margin-bottom: var(--space-3);
    font-size: clamp(2.5rem, 2.1rem + 1.9vw, 3.7rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-highlight {
    background: linear-gradient(120deg, #f5d394, #6de0ff);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-highlight::after {
    content: "";
    position: absolute;
    inset: auto 0 -8px;
    height: 6px;
    background: linear-gradient(90deg, rgba(245, 211, 148, 0.6), rgba(109, 224, 255, 0.4));
    border-radius: 999px;
    filter: blur(4px);
}

.hero-subtitle { max-width: 740px; }

.hero-proof {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-3);
    margin-top: var(--space-3);
}

.hero-proof-card {
    background: rgba(12, 17, 28, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    box-shadow: 0 18px 40px rgba(4, 6, 12, 0.45);
}

.proof-title {
    margin: 0 0 var(--space-1);
    font-weight: 700;
    color: var(--color-heading);
}

.proof-detail {
    margin: 0;
    color: var(--color-text-soft);
}

.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }

.hero-cta .btn-link { border-radius: 999px; }

.hero-trust {
    margin-top: var(--space-3);
    display: grid;
    gap: var(--space-2);
    color: var(--color-text-soft);
    font-size: 0.95rem;
}

.hero-trust-items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.hero-trust-items span {
    padding: var(--space-1) var(--space-3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--color-border);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.metric-card {
    background: var(--color-panel);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    box-shadow: var(--shadow-soft);
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-heading);
}

.metric-label { margin: 0; }

.hero-pills { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.hero-pills .pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border-radius: 999px;
    background: var(--color-overlay);
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.hero-pills svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }

/* Execution flow diagram */
/* Adjust --flow-accent, --flow-gold, and --flow-gap to tweak colors or spacing later. */
.hero-flow {
    background: rgba(8, 12, 20, 0.75);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    display: grid;
    gap: var(--space-2);
    margin-top: var(--space-3);
}

.hero-flow-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-soft);
    letter-spacing: 0.02em;
}

.methodology {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: var(--space-3);
    align-items: center;
    justify-items: center;
    text-align: center;
}

.method-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    color: var(--color-muted);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
}

.method-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: filter 0.3s ease, color 0.3s ease;
}

.method-item:hover,
.method-item:focus-within {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.method-item:hover .method-icon,
.method-item:focus-within .method-icon {
    filter: drop-shadow(0 0 10px rgba(79, 209, 197, 0.25));
}

.execution-flow {
    --flow-accent: rgba(79, 209, 197, 0.9);
    --flow-gold: rgba(230, 194, 122, 0.95);
    --flow-line: rgba(255, 255, 255, 0.24);
    --flow-gap: 100;
    width: 100%;
    height: auto;
}

.execution-flow .flow-line line {
    stroke: var(--flow-line);
    stroke-width: 1;
    stroke-linecap: round;
}

.execution-flow .node {
    fill: rgba(79, 209, 197, 0.8);
    filter: drop-shadow(0 0 10px rgba(79, 209, 197, 0.35));
    transition: filter 0.4s ease, fill 0.4s ease;
    animation: flowGlow 6s ease-in-out forwards;
    transform-origin: center;
    transform-box: fill-box;
}

.execution-flow .label {
    fill: var(--color-text);
    font-size: 0.95rem;
    font-weight: 600;
    transition: fill 0.4s ease;
    animation: flowLabel 6s ease-in-out forwards;
}

.execution-flow .stage-final .node {
    fill: rgba(230, 194, 122, 0.85);
    filter: drop-shadow(0 0 10px rgba(230, 194, 122, 0.35));
}

.execution-flow .stage-final .label { fill: var(--color-primary); }

.execution-flow .stage {
    cursor: pointer;
    transition: opacity 0.35s ease;
}

.execution-flow:hover .stage { opacity: 0.45; }
.execution-flow:hover .stage:hover { opacity: 1; }

.execution-flow .stage:hover .node {
    fill: var(--flow-accent);
    filter: drop-shadow(0 0 12px rgba(79, 209, 197, 0.6));
    animation-play-state: paused;
}

.execution-flow .stage:hover .label {
    fill: var(--color-heading);
    animation-play-state: paused;
}

.execution-flow .stage-final:hover .node {
    fill: var(--flow-gold);
    filter: drop-shadow(0 0 12px rgba(230, 194, 122, 0.6));
}

.execution-flow .stage:nth-child(1) .node,
.execution-flow .stage:nth-child(1) .label { animation-delay: 0.2s; }
.execution-flow .stage:nth-child(2) .node,
.execution-flow .stage:nth-child(2) .label { animation-delay: 1.2s; }
.execution-flow .stage:nth-child(3) .node,
.execution-flow .stage:nth-child(3) .label { animation-delay: 2.2s; }
.execution-flow .stage:nth-child(4) .node,
.execution-flow .stage:nth-child(4) .label { animation-delay: 3.2s; }
.execution-flow .stage:nth-child(5) .node,
.execution-flow .stage:nth-child(5) .label { animation-delay: 4.2s; }

.hero-flow--mobile { display: none; }

.hero-flow--desktop .execution-flow--vertical {
    max-width: 240px;
    margin-inline: auto;
}

.execution-flow--horizontal .label { font-size: 0.85rem; }

.hero-panel {
    display: grid;
    gap: var(--space-4);
}

@keyframes flowGlow {
    0% { opacity: 0.35; transform: scale(1); }
    35% { opacity: 1; transform: scale(1.15); }
    100% { opacity: 0.7; transform: scale(1); }
}

@keyframes flowLabel {
    0% { opacity: 0.4; }
    40% { opacity: 1; }
    100% { opacity: 0.75; }
}

.hero-panel .panel-card {
    background: var(--color-card-dark);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    border: 1px solid var(--color-border-strong);
    box-shadow: var(--shadow-card);
}

.panel-ribbon {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: rgba(217, 179, 108, 0.12);
    color: var(--color-primary);
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid var(--color-border-strong);
    margin-bottom: var(--space-3);
}

.panel-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.panel-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.panel-list li {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--color-border);
}

.panel-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    color: var(--color-primary);
    font-weight: 700;
}

/* Academy */
.academy { position: relative; overflow: hidden; }

.academy::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 10%, rgba(79, 209, 197, 0.08), transparent 26%),
        radial-gradient(circle at 80% 0%, rgba(230, 194, 122, 0.06), transparent 24%);
    pointer-events: none;
}

.academy .container { position: relative; z-index: 1; }

.academy-grid {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: 1fr;
}

.academy-category {
    background: linear-gradient(135deg, rgba(10, 17, 30, 0.72), rgba(12, 19, 32, 0.92));
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    box-shadow: var(--shadow-card);
}

.category-header {
    display: flex;
    gap: var(--space-3);
    align-items: center;
    margin-bottom: var(--space-3);
}

.category-header h3 { margin: 0 0 var(--space-1); }
.category-subtitle { color: var(--color-text-soft); margin: 0; }

.academy-cards {
    display: grid;
    gap: var(--space-3);
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.academy-card {
    background: var(--color-card-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    height: 100%;
}

.academy-card h4 { margin: 0; color: var(--color-heading); }
.academy-description { margin: 0; color: var(--color-text); line-height: 1.6; }

.academy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    color: var(--color-text-soft);
    font-size: 0.95rem;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.meta-item svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }

.academy-closing { margin: 0; color: var(--color-muted); font-size: 0.95rem; }

.academy-cta {
    margin-top: var(--space-4);
    display: flex;
    justify-content: center;
}

/* ABC IT Lab Academy */
:root { --academy-icon-size: 28px; }

.academy-hero { position: relative; overflow: hidden; }

.academy-hero-grid { align-items: stretch; }

.academy-title {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    text-shadow: 0 0 24px rgba(230, 194, 122, 0.35), 0 0 48px rgba(79, 209, 197, 0.15);
}

.academy-title::after {
    content: "";
    width: 42px;
    height: 3px;
    background: linear-gradient(90deg, rgba(230, 194, 122, 0.9), rgba(79, 209, 197, 0.5));
    border-radius: 999px;
}

.academy-categories .academy-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.category-icon svg,
.icon-pill svg {
    width: var(--academy-icon-size);
    height: var(--academy-icon-size);
    stroke: currentColor;
    fill: none;
}

.icon-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(230, 194, 122, 0.12);
    border: 1px solid var(--color-border-strong);
    color: var(--color-primary);
}

.lessons-section {
    background: linear-gradient(180deg, rgba(10, 17, 30, 0.96), rgba(8, 12, 22, 0.92));
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.lessons-head {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.lessons-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.lesson-search {
    width: 100%;
    padding: var(--space-3);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text);
}

.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.filter-pill {
    padding: var(--space-2) var(--space-3);
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 700;
}

.filter-pill.is-active {
    background: rgba(230, 194, 122, 0.14);
    border-color: rgba(230, 194, 122, 0.5);
    color: var(--color-primary);
    box-shadow: 0 0 24px rgba(230, 194, 122, 0.2);
}

.lesson-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-3);
}

.lesson-card {
    background: var(--color-card-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    box-shadow: var(--shadow-card);
}

.lesson-card-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }

.lesson-category { display: inline-flex; align-items: center; gap: var(--space-2); }
.category-label { font-weight: 700; color: var(--color-heading); }

.lesson-meta { display: flex; gap: var(--space-2); align-items: center; color: var(--color-text-soft); flex-wrap: wrap; }
.lesson-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.lesson-title { margin: 0; color: var(--color-heading); }
.lesson-excerpt { margin: 0; color: var(--color-text); line-height: 1.7; }

.lesson-link {
    color: var(--color-primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
}

.empty-state { margin-top: var(--space-3); color: var(--color-text-soft); text-align: center; }
.hidden { display: none; }

.cta-banner {
    border-top: 1px solid var(--color-border-strong);
    background: linear-gradient(90deg, rgba(230, 194, 122, 0.12), rgba(79, 209, 197, 0.08));
}

.cta-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.lesson-detail-meta { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-2); }
.meta-pill { background: rgba(255, 255, 255, 0.08); border: 1px solid var(--color-border); }
.lesson-body .btn { width: auto; }
.lesson-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-4); }

/* Icon styles */
.icon-circle,
.service-detail-icon,
.pricing-icon,
.vm-icon,
.value-icon,
.map-icon,
.contact-icon,
.chip-icon {
    width: var(--icon-ring);
    height: var(--icon-ring);
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: radial-gradient(circle at 35% 30%, rgba(230, 194, 122, 0.16), rgba(230, 194, 122, 0.04) 58%),
        var(--color-card-light);
    border: 1px solid rgba(230, 194, 122, 0.36);
    color: var(--color-icon-gold);
    box-shadow: var(--icon-glow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.04);
    flex-shrink: 0;
}

.icon-circle.small,
.contact-icon.small,
.chip-icon.small { width: var(--icon-ring-small); height: var(--icon-ring-small); }
.icon-circle svg,
.service-detail-icon svg,
.pricing-icon svg,
.vm-icon svg,
.value-icon svg,
.map-icon svg,
.contact-icon svg,
.chip-icon svg { width: var(--icon-size); height: var(--icon-size); stroke: currentColor; fill: none; stroke-width: 1.6; }

.icon { width: var(--icon-size); height: var(--icon-size); fill: currentColor; stroke: currentColor; }

.premium-icon {
    color: var(--color-icon-teal);
    background: radial-gradient(circle at 35% 30%, rgba(79, 209, 197, 0.18), rgba(79, 209, 197, 0.06) 58%),
        var(--color-card-light);
    border-color: rgba(79, 209, 197, 0.42);
    box-shadow: var(--icon-glow-teal), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.map-icon { margin: 0 auto var(--space-2); }

.service-card .icon-circle,
.process-card .icon-circle,
.deliverable-card .icon-circle,
.value-card .icon-circle,
.pricing-card .icon-circle,
.vm-card .icon-circle,
.service-detail .icon-circle {
    margin-bottom: var(--space-2);
}

/* Cards */
.dark-card,
.service-card,
.process-card,
.pricing-card,
.deliverable-card,
.portfolio-card,
.contact-form-wrapper,
.contact-info,
.map-placeholder,
.value-card,
.feature,
.panel-card {
    background: var(--color-card-dark);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    color: var(--color-text);
    box-shadow: var(--shadow-card);
}

.dark-card h3,
.dark-card p,
.dark-card li,
.pricing-card h3,
.pricing-card p,
.pricing-card li,
.deliverable-card h3,
.deliverable-card li { color: var(--color-text); }

.dark-card ul li,
.pricing-card ul li,
.deliverable-card ul li {
    line-height: 1.6;
    margin-bottom: var(--space-2);
}

.service-card,
.process-card,
.feature,
.value-card,
.portfolio-card {
    background: var(--color-card-light);
}

.portfolio-card.case-study { border: 1px solid var(--color-border); }

.card-top {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.card-top h3 { margin: 0; }

/* Grids */
.services-grid,
.process-grid,
.deliverables-grid,
.pricing-grid,
.portfolio-grid,
.hero-metrics,
.contact-grid {
    display: grid;
    gap: var(--space-3);
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.process-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.featured { border-color: var(--color-primary); box-shadow: 0 15px 40px rgba(217, 179, 108, 0.28); }

.case-footer,
.case-meta,
.case-points,
.portfolio-meta,
.hero-cta,
.footer-content,
.contact-item,
.social-icons { display: flex; }

.case-points { flex-direction: column; gap: var(--space-2); margin: var(--space-3) 0; }
.case-footer { align-items: center; justify-content: space-between; gap: var(--space-2); }

.pricing-card .plan-name { color: var(--color-primary); font-weight: 700; margin-bottom: var(--space-2); }
.plan-title { margin-bottom: var(--space-3); }

/* Contact */
.contact-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.form-group { display: flex; flex-direction: column; gap: var(--space-1); }

label { color: var(--color-heading); font-weight: 700; }

input, select, textarea {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-2);
    color: var(--color-text);
    font-family: var(--font-family);
}

input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--color-primary);
    border-color: var(--color-primary);
}

.form-message {
    margin-top: var(--space-2);
    padding: var(--space-2);
    border-radius: var(--radius-md);
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(0, 170, 90, 0.1);
    color: #7de2a6;
    border: 1px solid rgba(0, 170, 90, 0.4);
}

.contact-item { gap: var(--space-3); align-items: flex-start; padding: var(--space-3) 0; border-bottom: 1px solid var(--color-border); }
.contact-item:last-child { border-bottom: none; }

.contact-icon:not(.premium-icon) {
    background: radial-gradient(circle at 35% 30%, rgba(230, 194, 122, 0.12), rgba(230, 194, 122, 0.04) 58%),
        var(--color-card-light);
    border: 1px solid rgba(230, 194, 122, 0.36);
    box-shadow: var(--icon-glow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.social-icons { gap: var(--space-2); }
.social-icon {
    width: var(--icon-ring-small);
    height: var(--icon-ring-small);
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 35% 30%, rgba(230, 194, 122, 0.12), rgba(230, 194, 122, 0.04) 58%),
        var(--color-card-light);
    border-radius: 50%;
    border: 1px solid rgba(230, 194, 122, 0.36);
    color: var(--color-icon-gold);
    box-shadow: var(--icon-glow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.social-icon:hover { color: var(--color-primary); border-color: rgba(230, 194, 122, 0.48); }

.map-placeholder {
    display: grid;
    place-items: center;
    min-height: 240px;
    text-align: center;
    color: var(--color-text);
}

.map-icon { width: var(--icon-ring); height: var(--icon-ring); }

/* Footer */
.footer {
    position: relative;
    background: linear-gradient(180deg, #070b12 0%, #04070d 100%);
    padding: var(--space-7) 0 var(--space-5);
    border-top: 1px solid var(--color-border-strong);
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% -10%, rgba(87, 214, 255, 0.08), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0.9;
    pointer-events: none;
}

.footer-shell {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    align-items: center;
}

.footer-brand h3 { margin-bottom: var(--space-2); }

.footer-tagline {
    color: var(--color-text-soft);
    margin-bottom: var(--space-2);
    max-width: 38ch;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    min-height: calc(var(--icon-ring-small) + var(--space-1));
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--color-border-strong);
    color: var(--color-text);
    font-weight: 600;
}

.contact-chip:hover { border-color: var(--color-primary); color: var(--color-text); }

.contact-chip .contact-icon {
    width: var(--icon-ring-small);
    height: var(--icon-ring-small);
    display: grid;
    place-items: center;
}

.footer-cta {
    display: grid;
    gap: var(--space-2);
    align-content: start;
}

.footer-microcopy {
    color: var(--color-heading);
    margin: 0;
    font-weight: 700;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.footer-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--color-border-strong), transparent);
    opacity: 0.9;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: var(--space-4);
}

.footer-academy {
    position: relative;
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    background: rgba(10, 18, 28, 0.78);
    border: 1px solid rgba(114, 186, 214, 0.25);
    box-shadow: 0 18px 45px rgba(4, 8, 18, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.footer-academy::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 15% 20%, rgba(91, 213, 255, 0.18), transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(126, 240, 209, 0.16), transparent 50%);
    opacity: 0.6;
    pointer-events: none;
}

.footer-academy-body {
    position: relative;
    z-index: 1;
    display: grid;
    gap: var(--space-4);
}

.footer-academy-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.footer-academy-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(87, 214, 255, 0.12);
    border: 1px solid rgba(87, 214, 255, 0.35);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.footer-academy-icon svg {
    width: 20px;
    height: 20px;
    stroke: #7ee5ff;
    stroke-width: 1.6;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-academy-title h3 {
    margin: 0;
    font-size: 1.35rem;
    background: linear-gradient(120deg, #69dcff 0%, #7cf3d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 18px rgba(93, 216, 255, 0.18);
}

.footer-academy-text {
    color: var(--color-text-soft);
    margin: var(--space-2) 0 0;
    max-width: 42ch;
}

.footer-academy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-3);
    align-items: center;
}

.footer-academy-secondary {
    color: var(--color-text);
    font-weight: 600;
    text-decoration: none;
    padding: var(--space-1) var(--space-2);
    border-radius: 999px;
    border: 1px solid rgba(87, 214, 255, 0.35);
    background: rgba(87, 214, 255, 0.08);
}

.footer-academy-secondary:hover {
    border-color: rgba(126, 240, 209, 0.6);
    color: var(--color-heading);
    box-shadow: 0 0 18px rgba(126, 240, 209, 0.2);
}

.footer-academy-meta {
    display: grid;
    gap: var(--space-3);
}

.footer-academy-group h4 {
    margin-bottom: var(--space-2);
    color: var(--color-heading);
}

.footer-academy-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.academy-chip {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    border-radius: 999px;
    border: 1px solid rgba(87, 214, 255, 0.25);
    background: rgba(9, 16, 26, 0.6);
    color: var(--color-text);
    font-weight: 600;
    text-decoration: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.academy-chip:hover {
    border-color: rgba(126, 240, 209, 0.55);
    box-shadow: 0 0 18px rgba(126, 240, 209, 0.18);
    transform: translateY(-1px);
}

.footer-academy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--space-1);
}

/* Academy standalone section (above footer) */
.academy-section {
    padding: var(--space-8) 0;
    margin-top: var(--space-4);
}

.footer-section h4 { margin-bottom: var(--space-2); }

.footer-section p { margin-bottom: var(--space-2); }

.footer-section ul { display: grid; gap: var(--space-1); }

.footer-links-inline { display: grid; gap: var(--space-1); }

.footer-legal {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-3);
    color: var(--color-muted);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    font-size: var(--font-size-small);
}

.footer-legal p { margin: 0; }

.footer-powered {
    display: block;
    font-family: "Inter", "SF Pro Display", "Segoe UI", system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #e5e8f0;
    opacity: 0.82;
    text-align: center;
    background: linear-gradient(135deg, #f6f7fb 0%, #d5d9e1 28%, #f9fafc 52%, #c5cad3 70%, #eef1f6 100%);
    background-size: 240% 240%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.08), 0 0 18px rgba(255, 255, 255, 0.04);
    animation: footer-signature-shimmer 16s ease-in-out infinite;
}

.footer-powered strong { font-weight: 700; color: inherit; }

@keyframes footer-signature-shimmer {
    0% { background-position: 10% 50%; }
    45% { background-position: 90% 48%; }
    55% { background-position: 100% 52%; }
    100% { background-position: 15% 50%; }
}

/* Pills & badges */
.pill { display: inline-flex; align-items: center; gap: var(--space-1); padding: var(--space-1) var(--space-2); border-radius: 999px; background: var(--color-overlay); color: var(--color-text); }
.pill.subtle { background: rgba(255, 255, 255, 0.06); color: var(--color-text-soft); }
.case-chip { background: rgba(87, 214, 255, 0.12); color: var(--color-accent); padding: var(--space-1) var(--space-2); border-radius: 999px; border: 1px solid rgba(87, 214, 255, 0.3); }

/* Misc */
.hero-grid, .services-grid, .process-grid, .deliverables-grid, .pricing-grid, .portfolio-grid, .contact-grid { position: relative; z-index: 1; }

.cta-section { text-align: center; }
.cta-section .hero-cta { justify-content: center; }

/* Responsive */
@media (min-width: 768px) {
    .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
    .navbar .container { padding: var(--space-4) 0; }

    .nav-toggle { display: none; }

    .nav-overlay {
        position: static;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        background: transparent;
        padding: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        height: auto;
    }

    .nav-panel {
        background: transparent;
        border: none;
        box-shadow: none;
        flex-direction: row;
        align-items: center;
        gap: var(--space-3);
        padding: 0;
        transform: none;
        opacity: 1;
        width: auto;
        min-height: auto;
    }

    .nav-panel-header, .nav-panel-cta { display: none; }

    .nav-menu {
        flex-direction: row;
        align-items: center;
        gap: var(--space-3);
        margin: 0;
    }

    .nav-menu a {
        font-size: 1rem;
        padding: var(--space-1) var(--space-2);
        background: transparent;
        border: 1px solid transparent;
    }

    .nav-menu a::after {
        top: auto;
        bottom: -6px;
        inset-inline-start: 50%;
        width: 40%;
        height: 2px;
        transform: translate(-50%, 0) scale(0);
    }

    .nav-menu a.active::after { transform: translate(-50%, 0) scale(1); }

    .footer-top { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
    .footer-legal { flex-direction: row; justify-content: space-between; align-items: center; }
    .footer-powered { text-align: end; align-self: flex-end; }

    .footer-academy-body {
        grid-template-columns: 1.05fr 1fr;
        grid-template-areas: "links intro";
        align-items: center;
    }

    .footer-academy-intro { grid-area: intro; }

    .footer-academy-meta {
        grid-area: links;
        grid-template-columns: 1fr;
    }

    .academy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .academy-category { padding: var(--space-5); }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: clamp(1.95rem, 4.6vw + 0.6rem, 2.7rem);
    }

    .hero-cta { width: 100%; }
    .hero-cta .btn { flex: 1 1 100%; }
    .hero-flow--mobile { display: grid; }
    .hero-flow--desktop { display: none; }
    .hero-flow--mobile .execution-flow--horizontal { max-width: 520px; margin: 0 auto; }

    .navbar .container {
        min-height: 56px;
    }

    .case-footer { flex-direction: column; align-items: flex-start; }
    .btn { width: 100%; }

    .lesson-card-top { flex-direction: column; align-items: flex-start; }
    .cta-banner-content { align-items: flex-start; }
    .lesson-actions { flex-direction: column; align-items: stretch; }
    .lesson-body .btn { width: 100%; }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
    .process-grid { grid-template-columns: repeat(4, 1fr); }
    .deliverables-grid, .pricing-grid, .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Ensure mobile drawer is always opaque */
@media (max-width: 767px) {
    .nav-overlay {
        background: rgba(0, 0, 0, 0.65);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    .nav-panel {
        background: #0b1220 !important;
        opacity: 1 !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .nav-panel * {
        opacity: 1 !important;
    }
}
