/* ==========================================================================
   AetherStack Technologies — design system
   Deep Navy #0B1F3A · Electric Blue #4DA8FF · White #FFFFFF · Soft Gray #A7B3C7
   ========================================================================== */

:root {
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --navy: #0B1F3A;
    --navy-deep: #071428;
    --navy-lift: #0F2A4C;
    --blue: #4DA8FF;
    --blue-strong: #2E90F0;
    --white: #FFFFFF;
    --gray: #A7B3C7;

    --surface: rgba(255, 255, 255, 0.035);
    --surface-hover: rgba(255, 255, 255, 0.06);
    --line: rgba(167, 179, 199, 0.16);
    --line-strong: rgba(77, 168, 255, 0.35);

    --radius: 14px;
    --radius-s: 10px;
    --radius-pill: 999px;

    --pad: clamp(20px, 5vw, 40px);
    --section-y: clamp(72px, 9vw, 128px);
    --max: 1180px;

    --glow: 0 0 0 1px rgba(77, 168, 255, 0.35), 0 12px 40px rgba(77, 168, 255, 0.28);
    --shadow-card: 0 18px 44px rgba(3, 10, 22, 0.55);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray);
    background: var(--navy-deep);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0;
    font-weight: 700;
}

p { margin: 0; }

a { color: var(--blue); text-decoration: none; }

::selection { background: rgba(77, 168, 255, 0.3); color: var(--white); }

/* ---------- layout ---------- */

.wrap {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding-left: var(--pad);
    padding-right: var(--pad);
}

.section { padding: var(--section-y) 0; position: relative; }

/* anchor targets must clear the fixed header */
section[id] { scroll-margin-top: 92px; }

.section--line { border-top: 1px solid var(--line); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 18px;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--blue);
    opacity: 0.7;
}

.h-xl { font-size: clamp(2.25rem, 5.2vw, 3.75rem); }
.h-l  { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.h-m  { font-size: clamp(1.125rem, 1.4vw, 1.3rem); }

.lead {
    font-size: clamp(1rem, 1.3vw, 1.175rem);
    max-width: 62ch;
}

.muted { color: var(--gray); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { margin-top: 16px; }

/* ---------- buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 30px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
                background-color 0.25s var(--ease), color 0.25s var(--ease),
                border-color 0.25s var(--ease);
}

.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.btn--primary {
    background: linear-gradient(180deg, var(--blue) 0%, var(--blue-strong) 100%);
    color: #05192F;
    box-shadow: 0 8px 26px rgba(77, 168, 255, 0.25);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

.btn--secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(167, 179, 199, 0.4);
}

.btn--secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    color: var(--gray);
    min-height: 44px;
    padding: 0 18px;
}

.btn--ghost:hover { color: var(--blue); background: rgba(77, 168, 255, 0.08); }

.btn--sm { min-height: 44px; padding: 0 22px; font-size: 14px; }

.link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    transition: gap 0.25s var(--ease);
}

.link svg { transition: transform 0.25s var(--ease); }
.link:hover { gap: 11px; }
.link:hover svg { transform: translateX(2px); }

/* ---------- header ---------- */

.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
                backdrop-filter 0.3s var(--ease);
    border-bottom: 1px solid transparent;
}

.header.is-stuck {
    background: rgba(7, 20, 40, 0.85);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 17px;
}

.brand svg { color: var(--blue); }

.nav { display: none; align-items: center; gap: 4px; }

.nav a {
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
    transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav a:hover, .nav a.is-active { color: var(--white); background: var(--surface); }

.header__cta { display: none; }

.burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    background: var(--surface);
    color: var(--white);
    cursor: pointer;
}

.burger__close { display: none; }
.burger.is-open .burger__open { display: none; }
.burger.is-open .burger__close { display: block; }

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px var(--pad) 24px;
    background: rgba(7, 20, 40, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.mobile-nav.is-open { display: flex; }

.mobile-nav a {
    padding: 12px 4px;
    color: var(--gray);
    font-weight: 500;
    border-bottom: 1px solid var(--line);
}

.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-nav .btn { margin-top: 12px; }

/* ---------- hero ---------- */

.hero {
    position: relative;
    padding: calc(76px + clamp(56px, 8vw, 104px)) 0 var(--section-y);
    background:
        radial-gradient(1100px 620px at 78% 18%, rgba(77, 168, 255, 0.18), transparent 62%),
        radial-gradient(760px 460px at 8% 82%, rgba(46, 144, 240, 0.12), transparent 60%),
        linear-gradient(170deg, var(--navy) 0%, var(--navy-deep) 72%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(167, 179, 199, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(167, 179, 199, 0.07) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: radial-gradient(circle at 50% 42%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at 50% 42%, #000 0%, transparent 78%);
    pointer-events: none;
}

/* screen-reader-only heading: keeps the H1 for SEO while the banner carries the visual title */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.hero__banner {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    will-change: transform;
}

.hero__banner picture, .hero__banner img {
    display: block;
    width: 100%;
    height: auto;
}

.hero__below {
    position: relative;
    margin-top: clamp(32px, 4vw, 46px);
}

.hero .lead { margin-bottom: 30px; }

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

.hero__actions .btn { width: 100%; }

.hero__note { font-size: 13.5px; color: rgba(167, 179, 199, 0.75); }

/* pulsing stage blocks in the process diagram */

.art__node { transform-box: fill-box; transform-origin: center; animation: pulse 3.6s ease-in-out infinite; }
.art__node--b { animation-delay: 0.7s; }
.art__node--c { animation-delay: 1.4s; }
.art__node--d { animation-delay: 2.1s; }

@keyframes pulse { 0%, 100% { opacity: 0.55; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.06); } }

/* ---------- metrics ---------- */

.metrics { background: var(--navy-deep); }

.metric-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.metric {
    padding: 28px 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
                background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.metric:hover {
    transform: translateY(-4px);
    background: var(--surface-hover);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-card);
}

.metric__label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--gray);
}

.metric__value {
    margin: 12px 0 10px;
    font-size: clamp(2rem, 3.4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--white);
}

.metric__note { font-size: 13.5px; color: rgba(167, 179, 199, 0.8); }

/* ---------- services ---------- */

.services { background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%); }

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.card {
    position: relative;
    padding: 30px 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
                background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card::after {
    content: "";
    position: absolute;
    inset: -1px -1px auto -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.card:hover {
    transform: translateY(-4px);
    background: var(--surface-hover);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-card);
}

.card:hover::after { opacity: 1; }

.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    border: 1px solid rgba(77, 168, 255, 0.28);
    border-radius: 12px;
    background: rgba(77, 168, 255, 0.1);
    color: var(--blue);
}

.card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.card p { font-size: 15px; }

/* ---------- process ---------- */

.process { background: var(--navy); }

.process__layout { display: grid; gap: clamp(40px, 6vw, 64px); align-items: start; }

.steps { display: grid; gap: 14px; }

.step {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.step:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-hover); }

.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(77, 168, 255, 0.12);
    border: 1px solid rgba(77, 168, 255, 0.3);
    color: var(--blue);
    font-weight: 700;
    font-size: 15px;
}

.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 14.5px; }

/* process artwork */

.flow {
    position: relative;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        radial-gradient(600px 320px at 60% 20%, rgba(77, 168, 255, 0.14), transparent 65%),
        var(--surface);
}

.flow svg { width: 100%; height: auto; }

/* ---------- stack ---------- */

.stack { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
                color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.chip::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    opacity: 0.8;
}

.chip:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    background: var(--surface-hover);
    color: var(--blue);
}

/* ---------- cases ---------- */

.cases { background: var(--navy-deep); }

.case-grid { display: grid; gap: 18px; }

.case {
    padding: 30px 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
                background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.case:hover {
    transform: translateY(-4px);
    background: var(--surface-hover);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-card);
}

.case__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.tag {
    padding: 6px 14px;
    border: 1px solid rgba(77, 168, 255, 0.3);
    border-radius: var(--radius-pill);
    background: rgba(77, 168, 255, 0.1);
    color: var(--blue);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.case h3 { font-size: 1.2rem; }
.case p { font-size: 15px; }

.results {
    list-style: none;
    margin: 22px 0 24px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.results li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    color: var(--white);
}

.results svg { color: var(--blue); flex: none; }

/* ---------- testimonials ---------- */

.quotes { background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%); }

.quote-grid { display: grid; gap: 18px; }

.quote {
    position: relative;
    padding: 32px 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 2px solid var(--blue);
    border-radius: var(--radius);
    transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.quote:hover { transform: translateY(-4px); background: var(--surface-hover); box-shadow: var(--shadow-card); }

.quote blockquote {
    margin: 0 0 24px;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.55;
    color: var(--white);
}

.person { display: flex; align-items: center; gap: 14px; }

.person__ava {
    display: block;
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 50%;
    overflow: hidden;
    background: var(--navy-lift);
    border: 1px solid rgba(77, 168, 255, 0.35);
}

.person__ava img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.person__name { color: var(--white); font-weight: 600; font-size: 15px; }
.person__role { font-size: 13.5px; color: var(--gray); }

/* ---------- contact ---------- */

.contact { background: var(--navy); }

.contact__layout { display: grid; gap: clamp(36px, 5vw, 56px); align-items: start; }

.contact__intro .lead { margin-top: 16px; }

.contact-items {
    display: grid;
    gap: 22px;
    margin: clamp(32px, 4vw, 44px) 0;
}

.contact-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border: 1px solid rgba(77, 168, 255, 0.28);
    border-radius: 12px;
    background: rgba(77, 168, 255, 0.1);
    color: var(--blue);
}

.contact-item__label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray);
}

.contact-item__value {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--white);
    transition: color 0.2s var(--ease);
}

a.contact-item__value:hover { color: var(--blue); }

.map {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--navy-lift);
    aspect-ratio: 16 / 10;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(92%) hue-rotate(180deg) brightness(0.92) contrast(0.9) saturate(0.75);
}

.map::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 31, 58, 0.28), rgba(11, 31, 58, 0.1));
    pointer-events: none;
}

/* form */

.form {
    padding: clamp(28px, 4vw, 40px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.form h3 { margin-bottom: 24px; font-size: clamp(1.3rem, 2vw, 1.6rem); }

.field { margin-bottom: 18px; }

.field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
}

.field input, .field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    background: rgba(7, 20, 40, 0.6);
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field textarea { min-height: 130px; resize: vertical; }

.field input::placeholder, .field textarea::placeholder { color: rgba(167, 179, 199, 0.55); }

.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(77, 168, 255, 0.16);
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 24px;
    font-size: 13.5px;
    line-height: 1.5;
}

.check input {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(167, 179, 199, 0.5);
    border-radius: 5px;
    background: rgba(7, 20, 40, 0.6);
    cursor: pointer;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.check input:checked {
    background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305192F' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
    border-color: var(--blue);
}

.check input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.check label { cursor: pointer; }
.check a { border-bottom: 1px solid rgba(77, 168, 255, 0.4); }

.form .btn { width: 100%; }

.form__done {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(77, 168, 255, 0.35);
    border-radius: var(--radius-s);
    background: rgba(77, 168, 255, 0.1);
    color: var(--white);
    font-size: 14px;
}

.form__done.is-shown { display: flex; }
.form__done svg { color: var(--blue); flex: none; }

/* ---------- final cta ---------- */

.cta {
    background:
        radial-gradient(760px 420px at 50% 0%, rgba(77, 168, 255, 0.18), transparent 65%),
        var(--navy);
    text-align: center;
}

.cta__box {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 64px) var(--pad);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-card);
}

.cta .lead { margin: 18px auto 34px; }

.cta__actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.cta__note { font-size: 13.5px; color: rgba(167, 179, 199, 0.8); }

/* ---------- footer ---------- */

.footer {
    background: var(--navy-deep);
    border-top: 1px solid var(--line);
    padding: clamp(56px, 7vw, 76px) 0 32px;
}

.footer__grid { display: grid; gap: 36px; }

.footer__about p { margin-top: 14px; font-size: 14.5px; max-width: 34ch; }

.footer h4 {
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.footer li a, .footer__contact a, .footer__contact span {
    font-size: 14.5px;
    color: var(--gray);
    transition: color 0.2s var(--ease);
}

.footer li a:hover, .footer__contact a:hover { color: var(--blue); }

.footer__contact { display: grid; gap: 10px; }

.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: clamp(40px, 5vw, 56px);
    padding-top: 26px;
    border-top: 1px solid var(--line);
    font-size: 13.5px;
}

.footer__legal { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__legal a { color: var(--gray); }
.footer__legal a:hover { color: var(--blue); }

/* ---------- legal pages ---------- */

.page-head {
    padding: calc(76px + clamp(48px, 6vw, 80px)) 0 clamp(40px, 5vw, 60px);
    background:
        radial-gradient(900px 460px at 70% 10%, rgba(77, 168, 255, 0.16), transparent 62%),
        linear-gradient(170deg, var(--navy) 0%, var(--navy-deep) 90%);
    border-bottom: 1px solid var(--line);
}

.page-head p { margin-top: 16px; }

.doc { padding: clamp(48px, 6vw, 72px) 0 var(--section-y); }

.doc__body { max-width: 820px; }

.doc__body h2 {
    margin: 44px 0 14px;
    font-size: clamp(1.25rem, 1.9vw, 1.5rem);
}

.doc__body h2:first-child { margin-top: 0; }

.doc__body h3 { margin: 28px 0 10px; font-size: 1.05rem; }

.doc__body p { margin-bottom: 14px; font-size: 15.5px; }

.doc__body ul { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 8px; }
.doc__body li { font-size: 15.5px; }
.doc__body li::marker { color: var(--blue); }

.doc__body a { border-bottom: 1px solid rgba(77, 168, 255, 0.4); }
.doc__body a:hover { border-bottom-color: var(--blue); }

.callout {
    margin: 24px 0;
    padding: 22px 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 2px solid var(--blue);
    border-radius: var(--radius-s);
}

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

.doc__meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--surface);
    font-size: 13px;
}

/* ---------- cookie bar ---------- */

.cookie-bar {
    position: fixed;
    left: var(--pad);
    right: var(--pad);
    bottom: 20px;
    z-index: 80;
    display: none;
    gap: 18px;
    flex-direction: column;
    max-width: 640px;
    margin: 0 auto;
    padding: 22px 24px;
    background: rgba(11, 31, 58, 0.96);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.cookie-bar.is-open { display: flex; }
.cookie-bar p { font-size: 14px; }
.cookie-bar__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- reveal on scroll ---------- */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (min-width: 600px) {
    .hero__actions, .cta__actions { flex-direction: row; flex-wrap: wrap; }
    .hero__actions .btn { width: auto; }
    .cta__actions { justify-content: center; }
    .metric-grid, .card-grid, .case-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-items { grid-template-columns: repeat(3, 1fr); }
    .cookie-bar { flex-direction: row; align-items: center; justify-content: space-between; }
    .cookie-bar__actions { flex: none; }
    .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 900px) {
    .nav { display: flex; }
    .header__cta { display: inline-flex; }
    .burger { display: none; }
    .mobile-nav.is-open { display: none; }
    .metric-grid { grid-template-columns: repeat(4, 1fr); }
    .card-grid { grid-template-columns: repeat(3, 1fr); }
    .process__layout { grid-template-columns: 1fr 0.85fr; }
    .contact__layout { grid-template-columns: 1.05fr 0.95fr; }
    .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

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