@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #101827;
    --navy-soft: #182337;
    --blue: #60a5fa;
    --blue-dark: #2563eb;
    --ink: #172033;
    --muted: #687386;
    --line: #e3e8ef;
    --surface: #f7f9fc;
    --white: #ffffff;
    --radius: 16px;
    --container: 1120px;
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

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

.site-header {
    position: relative;
    z-index: 5;
    background: var(--navy);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--blue);
    color: var(--navy);
    font-size: 15px;
    letter-spacing: -1px;
}

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

.header-link {
    color: #d7dfeb;
    font-size: 14px;
    font-weight: 600;
    transition: color .2s ease;
}

.header-link span { margin-left: 5px; color: var(--blue); }
.header-link:hover { color: var(--blue); }

.hero {
    min-height: 540px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--navy);
    color: var(--white);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-block: 94px 88px;
}

.eyebrow {
    margin: 0 0 20px;
    color: var(--blue-dark);
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.hero .eyebrow { color: #91c4ff; }

.eyebrow-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 4px rgba(96, 165, 250, .12);
    vertical-align: 1px;
}

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

h1, h2, h3 {
    font-family: 'Manrope', 'DM Sans', sans-serif;
    letter-spacing: -1.5px;
}

h1 {
    max-width: 650px;
    margin-bottom: 20px;
    font-size: clamp(44px, 6.5vw, 76px);
    line-height: 1.08;
    font-weight: 800;
}

h1 span { color: var(--blue); }

.hero-copy {
    max-width: 520px;
    margin-bottom: 30px;
    color: #c4ccda;
    font-size: 17px;
    line-height: 1.8;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 50px;
    padding: 13px 20px;
    border: 0;
    border-radius: 9px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

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

.button-primary {
    color: #0d192b;
    background: var(--blue);
    box-shadow: 0 8px 24px rgba(96, 165, 250, .14);
}

.button-primary:hover {
    background: #80b8ff;
    box-shadow: 0 12px 28px rgba(96, 165, 250, .2);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 38px;
    color: #98a5b9;
    font-size: 12px;
}

.note-line { width: 28px; height: 1px; background: #52637b; }

.hero-decoration {
    position: absolute;
    top: 50%;
    right: max(3%, calc((100vw - var(--container)) / 2 - 20px));
    width: min(390px, 38vw);
    aspect-ratio: 1;
    transform: translateY(-47%);
    opacity: .95;
}

.decoration-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(148, 163, 184, .1) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(148, 163, 184, .1) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle, #000 20%, transparent 72%);
}

.orbit {
    position: absolute;
    inset: 14%;
    border: 1px solid rgba(96, 165, 250, .35);
    border-radius: 50%;
    transform: rotate(-32deg) scaleY(.55);
}

.orbit-two {
    inset: 5%;
    transform: rotate(48deg) scaleY(.62);
    border-color: rgba(148, 163, 184, .28);
}

.decoration-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 118px;
    height: 118px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(147, 197, 253, .6);
    border-radius: 28px;
    background: linear-gradient(145deg, #263e5c, #142238);
    box-shadow: 0 0 70px rgba(59, 130, 246, .24), inset 0 1px rgba(255,255,255,.12);
    transform: translate(-50%, -50%) rotate(-8deg);
}

.decoration-core span {
    color: #a9d2ff;
    font-family: monospace;
    font-size: 34px;
    font-weight: 700;
    transform: rotate(8deg);
}

.decoration-label {
    position: absolute;
    color: #8296b3;
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 700;
}

.label-top { top: 12%; right: 9%; }
.label-bottom { bottom: 10%; left: 8%; }

.section { padding-block: 100px; }

.services { background: var(--surface); }

.section-heading { max-width: 620px; margin-bottom: 38px; }

.section-heading .eyebrow,
.contact-intro .eyebrow { margin-bottom: 13px; }

.section-heading h2,
.contact-intro h2 {
    margin-bottom: 14px;
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.2;
    font-weight: 800;
}

.section-copy {
    max-width: 570px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

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

.service-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 21px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
    border-color: #a9ccfb;
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(22, 42, 75, .07);
}

.card-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.service-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #edf5ff;
    color: var(--blue-dark);
}

.service-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-arrow { color: #9aa6b8; font-size: 19px; }

.service-card h3 {
    margin-bottom: 9px;
    font-size: 17px;
    letter-spacing: -.45px;
    font-weight: 800;
}

.service-card p {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.card-link {
    margin-top: auto;
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 700;
}

.card-link span { margin-left: 4px; }

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

.contact-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: start;
    gap: clamp(40px, 8vw, 100px);
}

.contact-intro { padding-top: 16px; }

.contact-intro h2 {
    margin-bottom: 20px;
    font-size: clamp(38px, 4.5vw, 52px);
}

.contact-promise {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 34px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
}

.promise-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #edf5ff;
    color: var(--blue-dark);
    font-size: 19px;
}

.contact-promise strong { display: block; margin-bottom: 4px; font-size: 13px; }
.contact-promise p { margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.lead-form {
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(23, 32, 51, .055);
}

.form-heading { margin-bottom: 25px; }

.form-heading h3 {
    margin-bottom: 5px;
    font-size: 21px;
    letter-spacing: -.7px;
}

.form-heading p { margin-bottom: 0; color: var(--muted); font-size: 12px; }
.form-heading p span, .form-field label span:not(.optional) { color: #dc4545; }

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

.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }

.form-field label {
    color: #303b4e;
    font-size: 12px;
    font-weight: 700;
}

.form-field label .optional {
    color: #8993a3;
    font-weight: 400;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 47px;
    padding: 12px 13px;
    border: 1px solid #dce2eb;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: var(--ink);
    font-size: 13px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field textarea { min-height: 112px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #a1aab8; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #73aaf5;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, .14);
}

.submit-button { width: 100%; margin-top: 2px; }

.form-privacy {
    margin: 13px 0 0;
    color: #929baa;
    text-align: center;
    font-size: 11px;
}

.site-footer {
    padding: 30px 0 18px;
    background: var(--navy);
    color: #d6deea;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 24px;
}

.footer-brand { font-size: 19px; }
.footer-brand .brand-mark { width: 31px; height: 31px; font-size: 13px; }
.footer-inner > p { margin: 0; color: #9aa7ba; font-size: 12px; }
.back-to-top { color: #b9c5d5; font-size: 12px; }
.back-to-top:hover { color: var(--blue); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 17px;
    border-top: 1px solid rgba(255,255,255,.1);
    color: #8290a5;
    font-size: 11px;
}

@media (max-width: 980px) {
    .hero-decoration { right: -7%; opacity: .38; }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-layout { grid-template-columns: .8fr 1.2fr; gap: 36px; }
}

@media (max-width: 680px) {
    .container { width: min(var(--container), calc(100% - 36px)); }
    .header-inner { min-height: 72px; }
    .brand { font-size: 20px; }
    .header-link { font-size: 12px; }
    .hero { min-height: auto; }
    .hero-content { padding-block: 78px 68px; }
    h1 { font-size: clamp(43px, 12vw, 62px); }
    .hero-copy { max-width: 440px; font-size: 15px; }
    .hero-decoration { width: 310px; right: -130px; opacity: .18; }
    .hero-note { align-items: flex-start; max-width: 300px; line-height: 1.7; }
    .section { padding-block: 70px; }
    .section-heading { margin-bottom: 28px; }
    .section-heading h2 { font-size: 32px; }
    .service-grid { gap: 12px; }
    .service-card { min-height: 250px; padding: 19px 16px; }
    .card-top { margin-bottom: 19px; }
    .service-card h3 { font-size: 15px; }
    .service-card p { font-size: 12px; }
    .card-link { font-size: 11px; }
    .contact-layout { grid-template-columns: 1fr; gap: 34px; }
    .contact-intro { padding-top: 0; }
    .contact-intro h2 { font-size: 42px; }
    .contact-promise { margin-top: 24px; }
    .lead-form { padding: 23px 18px; }
    .footer-inner { flex-wrap: wrap; }
    .footer-inner > p { order: 3; width: 100%; }
}

@media (max-width: 420px) {
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 220px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .header-link { font-size: 11px; }
    .footer-bottom { flex-direction: column; gap: 5px; }
}

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