/* ==========================================================================
   MidyaTech — Design System
   Brand: Iraqi-Kurdish ICT Solutions Company · Established 2007
   Palette derived from company logo (navy #20396F / royal #2E4B98 / ink #1D1E1E)
   Type: Plus Jakarta Sans (display/body) + IBM Plex Mono (labels/data)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    /* Brand */
    --brand-950: #0D1730;
    --brand-900: #101D3D;
    --brand-850: #16274C;
    --brand-800: #20396F;
    --brand-700: #2E4B98;
    --brand-600: #3A5CB8;
    --brand-500: #4E6FD0;
    --brand-300: #9DB4EC;
    --brand-100: #E3E9F5;
    --brand-50: #F2F5FB;

    /* Neutrals */
    --ink: #0B1220;
    --gray-700: #334155;
    --gray-600: #4A586F;
    --gray-500: #64748B;
    --gray-400: #94A3B8;
    --gray-300: #C7D0DC;
    --gray-200: #E3E8F0;
    --gray-100: #EEF1F6;
    --gray-50: #F7F8FB;

    --white: #FFFFFF;
    --on-dark: #E8EEF8;
    --on-dark-muted: #A9B6D0;
    --ok: #5CD6A2;

    /* Surface */
    --bg: var(--white);
    --bg-tint: var(--gray-50);
    --border: var(--gray-200);

    /* Type scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-md: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;
    --space-10: 128px;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.05);
    --shadow-md: 0 10px 30px -12px rgba(11, 18, 32, 0.18);
    --shadow-lg: 0 24px 60px -20px rgba(11, 18, 32, 0.28);

    --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;

    --container: 1200px;
    --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--text-md);
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--brand-700); color: var(--white); }

:focus-visible {
    outline: 2px solid var(--brand-600);
    outline-offset: 3px;
    border-radius: 2px;
}

.skip-link {
    position: absolute;
    left: var(--space-4);
    top: -60px;
    z-index: 200;
    padding: var(--space-3) var(--space-5);
    background: var(--brand-700);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: top 0.2s ease;
}
.skip-link:focus { top: var(--space-4); }

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.section { padding: var(--space-9) 0; }
.section--tint { background: var(--bg-tint); }
.section--dark {
    background: linear-gradient(180deg, var(--brand-950) 0%, var(--brand-850) 100%);
    color: var(--on-dark);
}

/* ---------- Eyebrow ---------- */
.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-700);
    margin-bottom: var(--space-4);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}
.eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}
.eyebrow--on-dark { color: var(--brand-300); }
.eyebrow__sep { opacity: 0.5; }

/* ---------- Section head ---------- */
.section__head { max-width: 780px; margin-bottom: var(--space-8); }
.section__title {
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    font-weight: 800;
    color: var(--ink);
}
.section--dark .section__title { color: var(--white); }
.section__title-accent { color: var(--brand-700); }
.section--dark .section__title-accent { color: var(--brand-300); }
.section__sub {
    margin-top: var(--space-5);
    font-size: var(--text-lg);
    line-height: 1.65;
    color: var(--gray-600);
    max-width: 640px;
}
.section--dark .section__sub { color: var(--on-dark-muted); }

/* ---------- Split ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: start;
    margin-bottom: var(--space-8);
}
.split__body > p { color: var(--gray-600); margin-bottom: var(--space-4); max-width: 56ch; }
.split__body > p:first-of-type { font-size: var(--text-lg); color: var(--ink); }
.split--dark .split__body > p:first-of-type { color: var(--white); }
.split--dark .split__body > p { color: var(--on-dark-muted); }
.split--dark { margin-bottom: var(--space-7); }

.pullquote {
    margin: var(--space-6) 0 0;
    padding: var(--space-5) 0 0 var(--space-5);
    border-left: 3px solid var(--brand-700);
}
.pullquote p {
    font-size: var(--text-xl);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--brand-800);
    line-height: 1.4;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 13px 26px;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}
.btn--primary {
    background: var(--brand-700);
    color: var(--white);
    box-shadow: 0 8px 22px -10px rgba(46, 75, 152, 0.6);
}
.btn--primary:hover { background: var(--brand-800); transform: translateY(-1px); }
.btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--white);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); }
.btn--lg { padding: 16px 34px; font-size: 1rem; border-radius: var(--radius-lg); }

/* ---------- Header / Nav ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5);
    width: 100%;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand__logo { height: 42px; width: auto; }
.brand__logo--dark { display: none; }
.site-header.is-scrolled .brand__logo--light { display: none; }
.site-header.is-scrolled .brand__logo--dark { display: inline-block; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: var(--space-6); }
.nav__link {
    position: relative;
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    padding: var(--space-2) 0;
    transition: color 0.25s ease;
}
.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--brand-600);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    border-radius: 2px;
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { transform: scaleX(1); }
.site-header.is-scrolled .nav__link { color: var(--gray-700); }
.site-header.is-scrolled .nav__link:hover { color: var(--brand-800); }
.site-header.is-scrolled .nav__link::after { background: var(--brand-700); }

.nav__cta {
    margin-left: var(--space-4);
    padding: 10px 20px;
    font-size: 0.875rem;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    position: relative;
    z-index: 130;
}
.nav__toggle-bar {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled .nav__toggle-bar { background: var(--ink); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + var(--space-8)) 0 var(--space-9);
    color: var(--white);
    overflow: hidden;
    background: linear-gradient(180deg, var(--brand-950) 0%, var(--brand-850) 100%);
}
.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 520px at 82% -8%, rgba(46, 75, 152, 0.55), transparent 62%),
        radial-gradient(760px 480px at -8% 108%, rgba(46, 75, 152, 0.38), transparent 60%);
}
.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 76px 76px;
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at 60% 40%, #000 25%, transparent 78%);
    mask-image: radial-gradient(ellipse 90% 90% at 60% 40%, #000 25%, transparent 78%);
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-8);
    align-items: center;
    width: 100%;
}

.hero__title {
    font-size: clamp(2.4rem, 5vw, 3.9rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: var(--space-5);
}
.hero__title-accent {
    display: block;
    color: var(--brand-300);
}
.hero__lede {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    line-height: 1.65;
    color: var(--on-dark-muted);
    max-width: 54ch;
    margin-bottom: var(--space-6);
}
.hero__ctas { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-8); }
.hero__meta {
    display: flex;
    gap: var(--space-7);
    padding-top: var(--space-5);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    flex-wrap: wrap;
}
.hero__meta-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
    opacity: 0.75;
    margin-bottom: var(--space-1);
}
.hero__meta-value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--on-dark);
}

.hero__visual { position: relative; }
.hero__svg { width: 100%; height: auto; }

.svg-card { transform-origin: center; }
.svg-card--float-a { animation: floatA 7s ease-in-out infinite; }
.svg-card--float-b { animation: floatB 8s ease-in-out infinite; }
.svg-card--float-c { animation: floatC 6.5s ease-in-out infinite; }
.svg-card--main { animation: floatMain 10s ease-in-out infinite; }

@keyframes floatA {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes floatB {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(9px); }
}
@keyframes floatC {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
@keyframes floatMain {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ---------- Trust strip ---------- */
.trust {
    border-bottom: 1px solid var(--border);
    background: var(--white);
    padding: var(--space-7) 0;
}
.trust__label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: var(--space-6);
}
.trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}
.trust__item {
    text-align: center;
    padding: var(--space-4) var(--space-3);
    border-right: 1px solid var(--border);
}
.trust__item:last-child { border-right: 0; }
.trust__stat {
    display: block;
    font-family: var(--font-mono);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 600;
    color: var(--brand-800);
    line-height: 1.1;
    margin-bottom: var(--space-2);
}
.trust__unit {
    font-size: 0.8125rem;
    color: var(--gray-600);
    display: block;
    max-width: 22ch;
    margin: 0 auto;
}

/* ---------- Cards ---------- */
.cards { display: grid; gap: var(--space-5); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}
.card--accent {
    background: linear-gradient(160deg, var(--brand-800) 0%, var(--brand-700) 100%);
    border-color: transparent;
}
.card--accent .card__title,
.card--accent .card__text { color: var(--white); }
.card--accent .card__icon { color: var(--brand-300); }
.card__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--brand-50);
    color: var(--brand-700);
    margin-bottom: var(--space-4);
}
.card--accent .card__icon { background: rgba(255, 255, 255, 0.12); }
.card__icon svg { width: 24px; height: 24px; }
.card__title { font-size: 1.15rem; font-weight: 700; margin-bottom: var(--space-2); }
.card__text { font-size: 0.9375rem; color: var(--gray-600); }

/* ---------- Capabilities ---------- */
.capabilities { border-top: 1px solid var(--border); }
.cap {
    display: grid;
    grid-template-columns: 84px 56px 1fr 1.1fr;
    gap: var(--space-5);
    align-items: center;
    padding: var(--space-6) 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease, padding-left 0.3s ease;
}
.cap:hover {
    background: linear-gradient(90deg, var(--brand-50) 0%, transparent 70%);
    padding-left: var(--space-4);
}
.cap__num {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--gray-400);
}
.cap__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    color: var(--brand-700);
    background: var(--white);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.cap:hover .cap__icon { background: var(--brand-700); color: var(--white); border-color: var(--brand-700); }
.cap__icon svg { width: 22px; height: 22px; }
.cap__title { font-size: 1.3rem; font-weight: 700; margin-bottom: var(--space-2); }
.cap__text { font-size: 0.95rem; color: var(--gray-600); max-width: 52ch; }
.cap__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: flex-end; }
.cap__tags li {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--brand-800);
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    border-radius: 999px;
    padding: 5px 12px;
}

/* ---------- Methodology ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}
.step {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.step:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.2); }
.step--highlight {
    background: linear-gradient(160deg, rgba(46, 75, 152, 0.45) 0%, rgba(46, 75, 152, 0.15) 100%);
    border-color: rgba(157, 180, 236, 0.45);
}
.step__num {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--brand-300);
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: var(--space-4);
}
.step__title { font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: var(--space-2); }
.step__text { font-size: 0.9375rem; color: var(--on-dark-muted); line-height: 1.6; }

/* ---------- Projects ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.project {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    background: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.project:hover {
    transform: scale(1.12);
    background: #ececec;
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
    position: relative;
    z-index: 1;
}
.project__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1) var(--space-4);
    align-items: center;
    margin-bottom: var(--space-5);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}
.project__client { flex-basis: 100%; color: var(--brand-700); font-weight: 600; }
.project__year { color: var(--gray-400); }
.project__status { color: var(--gray-500); display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: inline-block; }
.status-check {
    width: 15px;
    height: 15px;
    color: var(--brand-600);
    display: inline-block;
}
.project__title { font-size: 1.35rem; font-weight: 800; margin-bottom: var(--space-3); }
.project__text { font-size: 0.9375rem; color: var(--gray-600); margin-bottom: var(--space-5); flex-grow: 1; }
.project__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); margin-bottom: var(--space-6); }
.project__tags li {
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--gray-600);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 11px;
}

/* ---------- Industries ---------- */
.industries {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}
.industry {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    padding: var(--space-5);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.industry:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}
.industry__icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--brand-50);
    color: var(--brand-700);
    margin-bottom: var(--space-4);
}
.industry__icon svg { width: 21px; height: 21px; }
.industry__name { font-size: 1.02rem; font-weight: 700; margin-bottom: var(--space-2); }
.industry__text { font-size: 0.85rem; color: var(--gray-600); line-height: 1.55; }

/* ---------- Principles ---------- */
.principles { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.principle {
    display: grid;
    grid-template-columns: 96px 1fr 1.4fr;
    gap: var(--space-5);
    align-items: baseline;
    padding: var(--space-6) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: padding-left 0.3s ease;
}
.principle:hover { padding-left: var(--space-4); }
.principle__num { font-family: var(--font-mono); font-size: 0.875rem; color: var(--brand-300); }
.principle__title { font-size: 1.3rem; font-weight: 700; color: var(--white); }
.principle__text { font-size: 0.95rem; color: var(--on-dark-muted); max-width: 52ch; }

/* ---------- Experience table ---------- */
.table { border-top: 1px solid var(--border); }
.table__head, .table__row {
    display: grid;
    grid-template-columns: 1.35fr 1.5fr 0.55fr 0.85fr 2fr;
    gap: var(--space-5);
    align-items: center;
}
.table__head {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-500);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border);
}
.table__row {
    padding: var(--space-5) 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}
.table__row:hover { background: linear-gradient(90deg, var(--brand-50) 0%, transparent 60%); }
.table__cell { font-size: 0.9rem; color: var(--gray-600); }
.table__cell--name strong { color: var(--ink); font-size: 0.98rem; }
.table__cell--text { line-height: 1.55; }
.pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 4px 11px;
    white-space: nowrap;
}
.pill--ok { background: rgba(92, 214, 162, 0.14); color: #1E7A52; border: 1px solid rgba(92, 214, 162, 0.4); }
.pill--warn { background: rgba(180, 139, 40, 0.12); color: #8A6A1D; border: 1px solid rgba(180, 139, 40, 0.35); }

/* ---------- CTA ---------- */
.section--cta { position: relative; overflow: hidden; padding: var(--space-10) 0; text-align: center; }
.cta__glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(closest-side, rgba(46, 75, 152, 0.5), transparent);
    pointer-events: none;
}
.cta__inner { position: relative; max-width: 760px; margin: 0 auto; }
.cta__inner .eyebrow { justify-content: center; }
.cta__title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: var(--space-5);
}
.cta__text {
    font-size: var(--text-lg);
    color: var(--on-dark-muted);
    max-width: 58ch;
    margin: 0 auto var(--space-7);
    line-height: 1.65;
}
.cta__actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
}
.cta__channels {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cta__channel-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
    opacity: 0.7;
    margin-bottom: var(--space-1);
}
.cta__channel-value { font-size: 0.9375rem; font-weight: 600; color: var(--on-dark); }
a.cta__channel-value:hover { color: var(--brand-300); }

/* ---------- Footer ---------- */
.footer {
    background: var(--brand-950);
    color: var(--on-dark-muted);
    padding: var(--space-9) 0 var(--space-6);
}
.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr 1.3fr;
    gap: var(--space-8);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.brand--footer .brand__logo {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 8px 14px;
    height: 48px;
}
.footer__tagline {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-300);
    margin: var(--space-4) 0 var(--space-3);
}
.footer__about { font-size: 0.9rem; line-height: 1.65; max-width: 38ch; }
.footer__heading {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: var(--space-5);
}
.footer__list { display: flex; flex-direction: column; gap: var(--space-3); }
.footer__link {
    font-size: 0.9rem;
    color: var(--on-dark-muted);
    transition: color 0.25s ease;
}
.footer__link:hover { color: var(--brand-300); }
.footer__label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
    opacity: 0.65;
    margin-bottom: 2px;
}
.footer__value { font-size: 0.9rem; color: var(--on-dark-muted); }
.footer__value--social { color: var(--brand-300); }
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding-top: var(--space-5);
    font-size: 0.8125rem;
    color: var(--on-dark-muted);
    opacity: 0.8;
    flex-wrap: wrap;
}
.footer__tagline-sub { font-family: var(--font-mono); }

/* ---------- Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
}
.reveal.is-inview { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
    }
    .reveal { opacity: 1; transform: none; }
    .svg-card { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .cap { grid-template-columns: 64px 56px 1fr; }
    .cap__tags { grid-column: 2 / -1; justify-content: flex-start; margin-top: var(--space-3); }
    .principle { grid-template-columns: 80px 1fr; gap: var(--space-3); }
    .principle__text { grid-column: 2; }
    .table__head, .table__row { grid-template-columns: 1.2fr 1.3fr 0.6fr 0.8fr 1.6fr; gap: var(--space-4); }
    .footer__top { grid-template-columns: 1.6fr 1fr 1.2fr; }
    .footer__col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .section { padding: var(--space-8) 0; }
    .hero { padding-top: calc(var(--header-h) + var(--space-6)); }
    .hero__inner { grid-template-columns: 1fr; gap: var(--space-7); }
    .hero__visual { max-width: 620px; }
    .split { grid-template-columns: 1fr; gap: var(--space-5); }
    .cards--3 { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .projects { grid-template-columns: 1fr; }
    .industries { grid-template-columns: repeat(2, 1fr); }
    .trust__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
    .trust__item { border-right: 0; border-bottom: 1px solid var(--border); padding: var(--space-4) 0; }
    .trust__item:nth-child(3), .trust__item:nth-child(4) { border-bottom: 0; }
    .table__head { display: none; }
    .table__row {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2) var(--space-4);
        padding: var(--space-5) 0;
    }
    .table__cell--name { grid-column: 1 / -1; }
    .table__cell--text { grid-column: 1 / -1; }

    /* Mobile nav */
    .nav__toggle { display: inline-flex; }
    .nav {
        position: fixed;
        inset: 0;
        background: linear-gradient(180deg, var(--brand-950) 0%, var(--brand-850) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        z-index: 120;
    }
    .nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav__list { flex-direction: column; gap: var(--space-6); text-align: center; }
    .nav__link { color: var(--white) !important; font-size: 1.25rem; }
    .nav__link::after { display: none; }
    .nav__cta { display: none; }
}

@media (max-width: 560px) {
    :root { --header-h: 68px; }
    .container { padding: 0 var(--space-4); }
    .section { padding: var(--space-7) 0; }
    .steps { grid-template-columns: 1fr; }
    .industries { grid-template-columns: 1fr; }
    .trust__grid { grid-template-columns: 1fr 1fr; }
    .principle { grid-template-columns: 1fr; }
    .principle__num { margin-bottom: var(--space-1); }
    .principle__text { grid-column: 1; }
    .cap { grid-template-columns: 44px 1fr; gap: var(--space-3); }
    .cap__num { grid-column: 1; grid-row: 1; }
    .cap__icon { grid-column: 2; grid-row: 1; }
    .cap__body { grid-column: 1 / -1; }
    .cap__tags { grid-column: 1 / -1; }
    .hero__ctas .btn { flex: 1 1 auto; }
    .cta__channels { gap: var(--space-6); }
    .footer__top { grid-template-columns: 1fr; gap: var(--space-6); }
    .footer__bottom { flex-direction: column; text-align: center; }
}
