:root {
    --bg-0: #070a12;
    --bg-1: #0d1424;
    --panel: #121a2d;
    --panel-soft: #172238;
    --line: #2b3853;
    --text: #edf2ff;
    --muted: #9ca9c4;
    --brand: #73efc4;
    --brand-strong: #4ad0a7;
    --link: #8fb8ff;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

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

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    min-height: 100vh;
    background:
        radial-gradient(circle at 6% -8%, #223458 0%, transparent 30%),
        radial-gradient(circle at 92% 4%, #14414e 0%, transparent 24%),
        linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 72%, #0c1628 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.shell {
    width: min(1140px, 92vw);
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: linear-gradient(180deg, rgba(7, 10, 18, 0.94), rgba(7, 10, 18, 0.7));
    border-bottom: 1px solid rgba(137, 162, 208, 0.16);
    backdrop-filter: blur(8px);
}

.topbar-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    font-size: 1.52rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    padding: 8px 12px;
    border-radius: 9px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #dce6fc;
    transition: 0.2s ease;
}

.main-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-nav {
    background: var(--brand);
    color: #022016 !important;
}

.btn-nav:hover {
    background: var(--brand-strong) !important;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle span {
    width: 16px;
    height: 2px;
    background: #e5ecfb;
}

.page-hero {
    padding: 74px 0 28px;
}

.page-hero--compact {
    padding-top: 58px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 16px;
    align-items: stretch;
}

.hero-panel {
    background: linear-gradient(155deg, var(--panel-soft) 0%, #101b2f 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow);
}

.hero-panel h2 {
    margin: 0;
    font-size: 1.35rem;
}

.hero-panel ul {
    margin: 12px 0 0;
    padding-left: 18px;
}

.hero-panel li {
    margin-bottom: 8px;
    color: #d8e3fb;
}

.panel-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.panel-stat-grid div {
    border: 1px solid #334567;
    border-radius: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
}

.panel-stat-grid strong {
    display: block;
    font-size: 1.2rem;
}

.panel-stat-grid span {
    color: var(--muted);
    font-size: 0.86rem;
}

.eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.72rem;
    font-weight: 700;
    color: #8d9cb9;
}

h1,
h2,
h3 {
    margin: 0;
    letter-spacing: -0.03em;
}

h1 {
    margin-top: 12px;
    font-size: clamp(2rem, 5.2vw, 3.85rem);
    line-height: 1.03;
    max-width: 20ch;
}

.lead {
    margin-top: 14px;
    max-width: 70ch;
    color: var(--muted);
    line-height: 1.66;
}

.hero-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-primary {
    border: 0;
    border-radius: 999px;
    background: var(--brand);
    color: #022116;
    padding: 12px 16px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.btn-primary:hover {
    background: var(--brand-strong);
    transform: translateY(-1px);
}

.btn-link {
    align-self: center;
    color: var(--link);
    font-weight: 700;
}

.home-sections,
.services-bento,
.process-section,
.contact-layout,
.home-cta {
    padding: 8px 0 16px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.content-card {
    background: linear-gradient(160deg, var(--panel) 0%, #141f34 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
}

.content-card h2 {
    margin-top: 8px;
    font-size: 1.28rem;
}

.content-card p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.58;
}

.cta-bar {
    background: linear-gradient(160deg, var(--panel-soft) 0%, #111b2f 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
}

.cta-bar p {
    margin: 10px 0 0;
    color: var(--muted);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.content-card--wide {
    grid-column: span 2;
}

.section-head {
    margin-bottom: 12px;
}

.section-head h2 {
    margin-top: 8px;
    font-size: clamp(1.35rem, 3vw, 2rem);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.process-item {
    background: linear-gradient(160deg, var(--panel) 0%, #121d31 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow);
}

.process-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(115, 239, 196, 0.15);
    color: var(--brand);
    font-weight: 800;
    font-size: 0.88rem;
}

.process-item h3 {
    margin-top: 10px;
    font-size: 1.08rem;
}

.process-item p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 14px;
}

.contact-panel {
    background: linear-gradient(160deg, var(--panel) 0%, #111b2e 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow);
}

.contact-panel h2 {
    font-size: 1.35rem;
}

.contact-panel p {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.62;
}

.contact-panel ul {
    margin: 14px 0 0;
    padding-left: 17px;
}

.contact-panel li {
    margin-bottom: 8px;
    color: #dce6fb;
}

.quote-form {
    background: linear-gradient(160deg, var(--panel-soft) 0%, #111b2f 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow);
}

.quote-form h2 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.quote-form label {
    display: block;
    margin-bottom: 11px;
    font-size: 0.91rem;
    font-weight: 600;
    color: #dce5f8;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    margin-top: 6px;
    border: 1px solid #3c4d70;
    border-radius: var(--radius-md);
    padding: 10px 11px;
    font: inherit;
    color: var(--text);
    background: #0f1729;
}

.quote-form textarea {
    resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: 0;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(115, 239, 196, 0.15);
}

.footer {
    margin-top: 24px;
    border-top: 1px solid rgba(137, 162, 208, 0.16);
    background: rgba(10, 15, 26, 0.86);
    padding: 18px 0 24px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #8f9eba;
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    .menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 4vw;
        right: 4vw;
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        background: rgba(15, 24, 40, 0.98);
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
    }

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

    .main-nav a {
        padding: 10px 11px;
    }

    .hero-grid,
    .cards-grid,
    .bento-grid,
    .process-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .content-card--wide {
        grid-column: span 1;
    }

    .cta-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-hero {
        padding-top: 52px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
