/* ==================================================
   AEM WORKS
   Main stylesheet
   ================================================== */


/* ---------- DESIGN VARIABLES ---------- */

:root {
    --navy-950: #07111f;
    --navy-900: #0f172a;
    --navy-800: #16233b;
    --navy-700: #1e3a5f;

    --blue-700: #1d4ed8;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-100: #dbeafe;
    --blue-50: #eff6ff;

    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;

    --white: #ffffff;

    --container-width: 1180px;
    --section-padding: 104px;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 34px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 24px 60px rgba(2, 8, 23, 0.18);

    --transition: 180ms ease;
}


/* ---------- RESET ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--slate-700);
    font-family:
        "Segoe UI",
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        Arial,
        sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--slate-900);
    letter-spacing: -0.025em;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.7rem, 6vw, 5.25rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
    font-size: 1.35rem;
}

p {
    margin-bottom: 1.25rem;
}

section[id] {
    scroll-margin-top: 90px;
}


/* ---------- ACCESSIBILITY ---------- */

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 9999;
    display: inline-block;
    padding: 12px 18px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    background: var(--white);
    color: var(--navy-900);
    font-weight: 700;
    text-decoration: none;
    transition: top var(--transition);
}

.skip-link:focus {
    top: 0;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--blue-500);
    outline-offset: 4px;
}


/* ---------- SHARED LAYOUT ---------- */

.container {
    width: min(calc(100% - 48px), var(--container-width));
    margin-inline: auto;
}

.section {
    padding-block: var(--section-padding);
}

.section-label,
.eyebrow {
    margin-bottom: 18px;
    color: var(--blue-600);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 20px;
}

.section-heading > p:last-child {
    max-width: 660px;
    margin: 0 auto;
    color: var(--slate-600);
    font-size: 1.08rem;
}


/* ---------- BUTTONS ---------- */

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition:
        transform var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--blue-600);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

.button-primary:hover {
    background: var(--blue-700);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.32);
}

.button-secondary {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
}

.button-secondary:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.12);
}

.button-outline {
    border-color: var(--slate-300);
    background: var(--white);
    color: var(--slate-800);
}

.button-outline:hover {
    border-color: var(--blue-600);
    color: var(--blue-700);
}

.button-full {
    width: 100%;
}


/* ---------- HEADER ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(203, 213, 225, 0.7);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.header-container {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--navy-900);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.logo-mark {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    background: var(--blue-600);
    color: var(--white);
    font-size: 1rem;
    line-height: 1;
}

.logo-text {
    font-size: 1.1rem;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a {
    display: inline-block;
    padding: 9px 12px;
    border-radius: 7px;
    color: var(--slate-700);
    font-size: 0.94rem;
    font-weight: 650;
    text-decoration: none;
    transition:
        color var(--transition),
        background-color var(--transition);
}

.site-nav a:hover {
    background: var(--slate-100);
    color: var(--blue-700);
}

.site-nav .nav-contact {
    margin-left: 4px;
    padding-inline: 18px;
    background: var(--navy-900);
    color: var(--white);
}

.site-nav .nav-contact:hover {
    background: var(--blue-700);
    color: var(--white);
}


/* ---------- HERO ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding-block: 110px;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(59, 130, 246, 0.25),
            transparent 34%
        ),
        radial-gradient(
            circle at 5% 90%,
            rgba(37, 99, 235, 0.14),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--navy-950),
            var(--navy-900) 55%,
            #132c55
        );
}

.hero::after {
    position: absolute;
    right: -120px;
    bottom: -180px;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: "";
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 80px;
}

.hero-content {
    max-width: 760px;
}

.hero .eyebrow {
    color: #93c5fd;
}

.hero h1 {
    margin-bottom: 26px;
    color: var(--white);
}

.hero h1 span {
    color: #60a5fa;
}

.hero-description {
    max-width: 690px;
    margin-bottom: 34px;
    color: var(--slate-300);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-panel {
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
}

.hero-panel-label {
    margin-bottom: 24px;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.value-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.value-list li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding-block: 19px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.value-list li:first-child {
    padding-top: 0;
    border-top: 0;
}

.value-list li:last-child {
    padding-bottom: 0;
}

.value-number {
    color: #60a5fa;
    font-size: 0.78rem;
    font-weight: 800;
}

.value-list strong {
    display: block;
    margin-bottom: 4px;
    color: var(--white);
    font-size: 1rem;
}

.value-list p {
    margin: 0;
    color: var(--slate-300);
    font-size: 0.91rem;
    line-height: 1.5;
}


/* ---------- ABOUT ---------- */

.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 90px;
}

.about-grid h2 {
    max-width: 500px;
    margin-bottom: 0;
}

.about-copy {
    max-width: 700px;
}

.about-copy p {
    color: var(--slate-600);
    font-size: 1.08rem;
}

.about-copy p:last-child {
    margin-bottom: 0;
}


/* ---------- SERVICES ---------- */

.services-section {
    background: var(--slate-50);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    overflow: hidden;
    padding: 38px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow
