:root {
    --bg: #070809;
    --soft: #0d0f11;
    --surface: #131517;
    --text: #f5f4f2;
    --muted: #a9aaad;
    --line: rgba(255, 255, 255, .11);
    --brand: #9f1d22;
    --brand2: #c2383d;
    --deep: #5e0e12;
    --max: 1240px;
    --radius: 24px;
    --shadow: 0 28px 80px rgba(0, 0, 0, .36)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: radial-gradient(circle at 80% 8%, rgba(159, 29, 34, .13), transparent 28rem), var(--bg);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased
}

body.menu-open {
    overflow: hidden
}

a {
    color: inherit
}

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

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.shell {
    width: min(calc(100% - 40px), var(--max));
    margin: auto
}

.section {
    padding: 110px 0;
    position: relative
}

.section--soft {
    background: var(--soft);
    border-block: 1px solid var(--line)
}

.heading {
    max-width: 780px;
    margin-bottom: 52px
}

.heading.center {
    text-align: center;
    margin-inline: auto
}

.eyebrow {
    margin: 0 0 14px;
    color: #d06468;
    font-size: .77rem;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase
}

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

h1,
h2,
h3 {
    line-height: 1.07;
    letter-spacing: -.035em
}

h1 {
    font-size: clamp(3.2rem, 7.3vw, 7rem)
}

h2 {
    font-size: clamp(2.2rem, 4.3vw, 4.2rem)
}

h3 {
    font-size: clamp(1.4rem, 2vw, 2rem)
}

.lead {
    color: #cacacc;
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
    max-width: 720px
}

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

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: .3s
}

.site-header.scrolled {
    background: rgba(7, 8, 9, .84);
    border-color: var(--line);
    backdrop-filter: blur(18px)
}

.header-shell {
    width: min(calc(100% - 40px), var(--max));
    height: 88px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(194, 56, 61, .65);
    border-radius: 12px 12px 4px 12px;
    background: linear-gradient(145deg, rgba(194, 56, 61, .35), rgba(94, 14, 18, .18));
    box-shadow: inset 0 1px rgba(255, 255, 255, .12), 0 9px 25px rgba(94, 14, 18, .22);
    transform: rotate(-3deg)
}

.brand-mark span {
    font-size: 1.35rem;
    font-weight: 800;
    transform: rotate(3deg)
}

.brand-name {
    font-size: 1.04rem
}

.brand-name strong {
    font-weight: 800
}

.primary-nav ul {
    display: flex;
    gap: 38px;
    padding: 0;
    margin: 0;
    list-style: none
}

.primary-nav a {
    position: relative;
    padding: 31px 0 27px;
    color: #d1d1d2;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none
}

.primary-nav a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    height: 2px;
    background: var(--brand2);
    transform: scaleX(0);
    transform-origin: right;
    transition: .25s
}

.primary-nav a:hover:after,
.primary-nav a[aria-current=page]:after {
    transform: scaleX(1);
    transform-origin: left
}

.primary-nav a[aria-current=page] {
    color: #fff
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .035)
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: #fff;
    transition: .25s
}

.hero {
    min-height: 780px;
    display: grid;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(4, 5, 6, .97) 2%, rgba(5, 6, 7, .84) 39%, rgba(5, 6, 7, .24) 72%, rgba(5, 6, 7, .58)), url("../images/hero-tech.svg") center/cover no-repeat
}

.hero:before,
.page-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, #000, transparent 90%)
}

.hero:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 180px;
    background: linear-gradient(transparent, var(--bg))
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 40px), var(--max));
    margin: 90px auto 0
}

.hero-copy {
    max-width: 900px
}

.hero h1 {
    margin-bottom: 24px
}

.hero h1 span {
    background: linear-gradient(115deg, #fff 20%, #d9b3b5 55%, #b6292e);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text
}

.hero .lead {
    margin-bottom: 34px;
    max-width: 690px
}

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

.button {
    min-height: 54px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .91rem;
    font-weight: 700;
    text-decoration: none;
    transition: .2s
}

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

.button.primary {
    background: linear-gradient(135deg, var(--brand2), var(--deep));
    box-shadow: 0 14px 35px rgba(159, 29, 34, .28), inset 0 1px rgba(255, 255, 255, .18)
}

.button.secondary {
    border-color: rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .035)
}

.trust {
    border-block: 1px solid var(--line);
    background: rgba(10, 11, 12, .95)
}

.trust-grid {
    width: min(calc(100% - 40px), var(--max));
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.trust-item {
    padding: 25px 28px;
    border-right: 1px solid var(--line)
}

.trust-item:first-child {
    border-left: 1px solid var(--line)
}

.trust-item strong {
    display: block;
    font-size: .94rem
}

.trust-item span {
    display: block;
    color: #777a7e;
    font-size: .78rem
}

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

.service-card {
    min-height: 420px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-decoration: none;
    isolation: isolate;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .18);
    transition: .35s
}

.service-card:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--img) center/cover no-repeat;
    transition: .65s
}

.service-card:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(3, 4, 5, .98) 5%, rgba(3, 4, 5, .56) 58%, rgba(3, 4, 5, .08)), radial-gradient(circle at 85% 8%, rgba(159, 29, 34, .28), transparent 34%)
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(194, 56, 61, .72);
    box-shadow: 0 32px 75px rgba(0, 0, 0, .35)
}

.service-card:hover:before {
    transform: scale(1.06)
}

.service-card .num {
    position: absolute;
    top: 22px;
    right: 24px;
    color: rgba(255, 255, 255, .34);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em
}

.service-card .content {
    position: absolute;
    inset: auto 28px 28px
}

.service-card h3 {
    max-width: 330px;
    margin-bottom: 13px
}

.service-card .content>p:not(.eyebrow) {
    max-width: 430px;
    margin-bottom: 22px;
    color: #b8b9bb;
    font-size: .91rem
}

.text-link {
    display: inline-flex;
    gap: 8px;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em
}

.text-link span {
    color: #d45a5e;
    transition: .25s
}

.service-card:hover .text-link span {
    transform: translate(4px, -4px)
}

.split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 72px;
    align-items: center
}

.image-panel {
    min-height: 520px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: url("../images/about-tech.svg") center/cover no-repeat;
    box-shadow: var(--shadow)
}

.features {
    display: grid;
    gap: 18px;
    margin-top: 32px
}

.feature {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid var(--line)
}

.feature>span {
    color: #d06468;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .13em
}

.feature h3 {
    margin-bottom: 7px;
    font-size: 1.03rem;
    letter-spacing: -.01em
}

.feature p {
    color: var(--muted);
    font-size: .91rem;
    margin-bottom: 0
}

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

.process article {
    min-height: 280px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018))
}

.process span {
    color: #d06468;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .15em
}

.process h3 {
    margin: 70px 0 14px
}

.process p {
    color: var(--muted)
}

.cta {
    padding: 70px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(194, 56, 61, .34);
    border-radius: 30px;
    background: radial-gradient(circle at 85% 20%, rgba(194, 56, 61, .28), transparent 22rem), linear-gradient(135deg, #171315, #0d0f11 55%);
    box-shadow: var(--shadow)
}

.cta h2 {
    max-width: 780px;
    margin-bottom: 18px
}

.cta p {
    max-width: 650px;
    color: #bdbdc0;
    margin-bottom: 28px
}

.page-hero {
    min-height: 590px;
    padding-top: 170px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg, rgba(5, 6, 7, .97), rgba(5, 6, 7, .62) 58%, rgba(5, 6, 7, .25)), var(--page-img) center/cover no-repeat
}

.page-hero-content {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto 80px
}

.page-hero h1 {
    max-width: 980px;
    font-size: clamp(3.1rem, 6vw, 6.1rem);
    margin-bottom: 22px
}

.page-hero p {
    max-width: 730px;
    color: #c1c2c4;
    font-size: 1.14rem
}

.detail {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: start
}

.detail-list {
    display: grid;
    padding: 0;
    margin: 30px 0 0;
    border-top: 1px solid var(--line)
}

.detail-list li {
    list-style: none;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    color: #d5d5d6
}

.detail-list li:after {
    content: "↗";
    color: #d06468
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 34px
}

.stat {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .025)
}

.stat strong {
    display: block;
    font-size: 1.45rem
}

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

.contact-layout {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 70px;
    align-items: start
}

.contact-panel {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018))
}

.contact-panel h2 {
    font-size: 1.45rem
}

.contact-item {
    padding: 21px 0;
    border-top: 1px solid var(--line)
}

.contact-item strong {
    display: block;
    font-size: .85rem
}

.contact-item a,
.contact-item span {
    color: var(--muted);
    text-decoration: none
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px
}

.field {
    display: grid;
    gap: 8px
}

.field.full {
    grid-column: 1/-1
}

.field label {
    font-size: .84rem;
    font-weight: 600
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(255, 255, 255, .035);
    color: #fff;
    outline: none;
    padding: 15px 16px
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(194, 56, 61, .8);
    box-shadow: 0 0 0 4px rgba(159, 29, 34, .12)
}

.form-note,
.form-status {
    color: #777a7e;
    font-size: .78rem
}

.form-status {
    color: #d7888b;
    min-height: 25px
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #050607
}

.footer-shell {
    width: min(calc(100% - 40px), var(--max));
    margin: auto;
    padding: 76px 0 56px;
    display: grid;
    grid-template-columns: 1.5fr .6fr .9fr;
    gap: 60px
}

.footer-brand p {
    max-width: 410px;
    color: var(--muted);
    font-size: .9rem
}

.footer-col {
    display: grid;
    align-content: start;
    gap: 10px
}

.footer-col h2 {
    margin-bottom: 9px;
    font-size: .82rem;
    letter-spacing: .14em;
    text-transform: uppercase
}

.footer-col a,
.footer-col span {
    color: var(--muted);
    font-size: .88rem;
    text-decoration: none
}

.footer-bottom {
    width: min(calc(100% - 40px), var(--max));
    margin: auto;
    padding: 23px 0 30px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 25px;
    color: #777a7e;
    font-size: .76rem
}

.footer-bottom p {
    margin: 0
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .65s, transform .65s
}

.reveal.visible {
    opacity: 1;
    transform: none
}

@media(max-width:980px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .split,
    .detail,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 46px
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .process {
        grid-template-columns: 1fr
    }

    .process article {
        min-height: 220px
    }

    .process h3 {
        margin-top: 45px
    }
}

@media(max-width:760px) {
    .section {
        padding: 78px 0
    }

    .header-shell {
        height: 74px
    }

    .menu-toggle {
        display: block
    }

    .primary-nav {
        position: fixed;
        inset: 74px 0 0;
        padding: 30px 20px;
        background: rgba(7, 8, 9, .98);
        transform: translateX(100%);
        transition: .3s
    }

    .primary-nav.open {
        transform: none
    }

    .primary-nav ul {
        display: grid;
        gap: 0
    }

    .primary-nav li {
        border-bottom: 1px solid var(--line)
    }

    .primary-nav a {
        display: block;
        padding: 20px 4px;
        font-size: 1.2rem
    }

    .primary-nav a:after {
        bottom: 12px;
        right: auto;
        width: 38px
    }

    .menu-toggle[aria-expanded=true] span:nth-child(2) {
        transform: translateY(6px) rotate(45deg)
    }

    .menu-toggle[aria-expanded=true] span:nth-child(3) {
        opacity: 0
    }

    .menu-toggle[aria-expanded=true] span:nth-child(4) {
        transform: translateY(-6px) rotate(-45deg)
    }

    .hero {
        min-height: 720px
    }

    .hero h1 {
        font-size: clamp(3rem, 15vw, 5rem)
    }

    .actions {
        display: grid;
        max-width: 330px
    }

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

    .trust-item,
    .trust-item:first-child {
        border: 1px solid var(--line);
        border-bottom: 0
    }

    .trust-item:last-child {
        border-bottom: 1px solid var(--line)
    }

    .service-card {
        min-height: 390px
    }

    .cta {
        padding: 45px 25px
    }

    .page-hero {
        min-height: 520px;
        padding-top: 130px
    }

    .page-hero-content {
        margin-bottom: 55px
    }

    .stats,
    .form-grid {
        grid-template-columns: 1fr
    }

    .field.full {
        grid-column: auto
    }

    .footer-shell {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-top: 58px
    }

    .footer-bottom {
        display: grid
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        transition-duration: .01ms !important
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}