:root {
    --ink: #0c172b;
    --navy: #0b1629;
    --orange: #f37820;
    --paper: #f6f7f9;
    --muted: #5d6674;
    --line: #dde1e7;
    --max: 1160px;
    --shadow: 0 18px 55px rgba(12, 23, 43, .12)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font: 16px/1.7 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif
}

a {
    color: inherit
}

img {
    max-width: 100%
}

.site-header {
    position: relative;
    z-index: 20;
    height: 76px;
    padding: 0 max(24px, calc((100vw - var(--max)) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.home-page .site-header {
    position: absolute;
    inset: 0 0 auto;
    background: linear-gradient(180deg, rgba(1, 10, 20, .8), transparent);
    border: 0
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase
}

.brand img {
    width: 38px;
    height: 38px
}

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

.site-header nav > a, .site-header summary {
    display: block;
    padding: 12px 13px;
    color: #fff;
    text-decoration: none;
    font-weight: 650;
    cursor: pointer;
    list-style: none
}

.site-header summary::-webkit-details-marker {
    display: none
}

.site-header summary:after {
    content: "⌄";
    margin-left: 7px;
    color: var(--orange)
}

.site-header nav > a:hover, .site-header summary:hover {
    color: #ffad72
}

.site-header details {
    position: relative
}

.dropdown {
    position: absolute;
    right: 0;
    top: 48px;
    width: 310px;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow)
}

.dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.35
}

.dropdown a:hover {
    background: #fff3ea;
    color: #bd4b00
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px;
    background: currentColor
}

.menu-toggle b {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0)
}

.hero {
    min-height: 760px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    background: linear-gradient(180deg, rgba(5, 16, 28, .35), rgba(4, 10, 20, .88)), url(background_header.jpg) center/cover no-repeat
}

.hero-inner {
    width: min(900px, calc(100% - 40px));
    padding-top: 55px
}

.eyebrow {
    margin: 0 0 14px;
    color: #ff9b50;
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .22em
}

.eyebrow.dark {
    color: #c95300
}

.hero h1 {
    max-width: 850px;
    margin: 0 auto 38px;
    font-size: clamp(2.35rem, 6vw, 5.2rem);
    line-height: 1.04;
    letter-spacing: -.045em
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid var(--orange);
    border-radius: 6px;
    color: #fff;
    background: var(--orange);
    font-weight: 800;
    text-decoration: none;
    transition: .2s
}

.button:hover {
    background: #d75c06;
    border-color: #d75c06;
    transform: translateY(-1px)
}

.button.small {
    min-height: 44px;
    padding: 0 18px;
    font-size: .92rem
}

.section {
    max-width: var(--max);
    margin: auto;
    padding: 100px 24px
}

.section-heading {
    text-align: center;
    margin-bottom: 55px
}

.section-heading h2, .contact h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -.03em
}

.service-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 28px
}

.service-card {
    padding: 36px 30px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(12, 23, 43, .06);
    text-align: center
}

.service-card img {
    width: 145px;
    height: 145px;
    margin-bottom: 24px
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: 1.32rem
}

.service-card p {
    margin: 0;
    color: var(--muted)
}

.why {
    display: grid;
    grid-template-columns:1fr 1.1fr;
    gap: 90px;
    align-items: center;
    padding: 95px max(24px, calc((100vw - var(--max)) / 2));
    color: #fff;
    background: var(--navy)
}

.why h2 {
    max-width: 570px;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.1;
    letter-spacing: -.035em
}

.why > p {
    margin: 0;
    font-size: 1.2rem;
    color: #ced5df
}

.article-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 22px
}

.article-card {
    min-height: 220px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    background: var(--paper);
    text-decoration: none;
    transition: .2s
}

.article-card span {
    color: #c95300;
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase
}

.article-card strong {
    margin: auto 0;
    font-size: 1.25rem;
    line-height: 1.35
}

.article-card b {
    align-self: flex-end;
    color: var(--orange);
    font-size: 1.7rem
}

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

.contact {
    text-align: center;
    padding: 95px 24px;
    background: #eef1f5
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 35px
}

.contact-links a {
    padding: 14px 22px;
    border: 1px solid #cfd5de;
    border-radius: 8px;
    background: #fff;
    font-weight: 750;
    text-decoration: none
}

.contact-links a:hover {
    border-color: var(--orange);
    color: #b94b00
}

.article-hero {
    min-height: 420px;
    display: grid;
    place-items: center;
    padding: 70px 24px;
    color: #fff;
    text-align: center;
    background: linear-gradient(120deg, rgba(5, 15, 28, .88), rgba(5, 15, 28, .63)), url(background_header.jpg) center 48%/cover no-repeat
}

.article-hero > div {
    max-width: 980px
}

.article-hero h1 {
    margin: 0;
    font-size: clamp(2.25rem, 5vw, 4.8rem);
    line-height: 1.06;
    letter-spacing: -.04em
}

.article-layout {
    max-width: var(--max);
    margin: auto;
    padding: 85px 24px 110px;
    display: grid;
    grid-template-columns:minmax(0, 760px) 260px;
    gap: 90px;
    align-items: start
}

.article-body {
    font-size: 1.07rem;
    color: #263244
}

.article-body > h2, .article-body > h3 {
    scroll-margin-top: 30px;
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: -.02em
}

.article-body > h2 {
    margin: 2.5em 0 .7em;
    font-size: 1.85rem
}

.article-body > h2:first-child {
    margin-top: 0
}

.article-body > h3 {
    margin: 2em 0 .65em;
    font-size: 1.35rem
}

.article-body p {
    margin: 0 0 1.15em
}

.article-body ul, .article-body ol {
    margin: 0 0 1.5em;
    padding-left: 1.35em
}

.article-body li {
    margin: .3em 0
}

.article-body blockquote {
    margin: 2em 0;
    padding: 20px 24px;
    border-left: 4px solid var(--orange);
    background: #fff4ec;
    font-size: 1.15rem
}

.code-line {
    margin: 0 !important;
    padding: 2px 16px;
    background: #f0f2f5;
    font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace
}

.code-line + .code-line {
    border-top: 0
}

.article-layout aside {
    position: sticky;
    top: 24px;
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper)
}

.article-layout aside p {
    margin: 0 0 18px;
    font-size: 1.08rem;
    font-weight: 800
}

.article-layout aside .button {
    width: 100%
}

.back {
    display: block;
    margin-top: 19px;
    color: var(--muted);
    font-size: .9rem;
    text-decoration: none
}

.back:hover {
    color: var(--orange)
}

footer {
    padding: 45px 24px;
    text-align: center;
    color: #d7dce4;
    background: #07101e
}

footer p {
    margin: 0
}

footer a {
    color: #fff
}

.copyright {
    margin-top: 12px !important;
    color: #7f8a99;
    font-size: .82rem
}

@media (max-width: 900px) {
    .site-header {
        height: 68px
    }

    .menu-toggle {
        display: block;
        position: relative;
        padding: 8px
    }

    .site-header nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        padding: 15px 22px 25px;
        align-items: stretch;
        flex-direction: column;
        background: #0b1629;
        border-top: 1px solid rgba(255, 255, 255, .1)
    }

    .site-header nav.open {
        display: flex
    }

    .site-header nav > a, .site-header summary {
        padding: 10px 4px
    }

    .site-header details {
        width: 100%
    }

    .dropdown {
        position: static;
        width: 100%;
        padding: 5px 0 8px;
        background: transparent;
        box-shadow: none
    }

    .dropdown a {
        padding: 9px 16px;
        color: #dce2e9
    }

    .service-grid, .article-grid {
        grid-template-columns:1fr
    }

    .service-card {
        display: grid;
        grid-template-columns:120px 1fr;
        text-align: left;
        column-gap: 25px;
        align-items: center
    }

    .service-card img {
        grid-row: 1/3;
        width: 110px;
        height: 110px;
        margin: 0
    }

    .service-card h3 {
        align-self: end
    }

    .service-card p {
        align-self: start
    }

    .why {
        grid-template-columns:1fr;
        gap: 35px
    }

    .article-layout {
        grid-template-columns:1fr;
        gap: 45px
    }

    .article-layout aside {
        position: static
    }

    .article-hero {
        padding-top: 110px
    }

    .hero {
        min-height: 680px
    }
}

@media (max-width: 560px) {
    .brand span {
        display: none
    }

    .hero {
        min-height: 620px
    }

    .hero h1 {
        font-size: 2.55rem
    }

    .section {
        padding: 74px 20px
    }

    .service-card {
        display: block;
        padding: 28px;
        text-align: center
    }

    .service-card img {
        margin: 0 auto 18px
    }

    .why {
        padding-top: 72px;
        padding-bottom: 72px
    }

    .contact-links {
        flex-direction: column
    }

    .article-hero {
        min-height: 350px
    }

    .article-hero h1 {
        font-size: 2.35rem
    }

    .article-layout {
        padding: 58px 20px 80px
    }

    .article-body {
        font-size: 1rem
    }

    .article-body > h2 {
        font-size: 1.55rem
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important
    }
}
