:root {
    --bg: #252525;
    --panel: #0c1a2d;
    --soft: #f4f7fb;
    --text: #101828;
    --muted: #667085;
    --white: #fff;
    --accent: #d63717;
    --accent2: #bb3116;
    --border: #dfe7f0;
    --radius: 24px;
    --shadow: 0 24px 70px rgba(7,17,31,.14)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Montserrat,sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.65
}

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

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

.container {
    width: min(1180px,calc(100% - 40px));
    margin: auto;
    z-index: 1;
    /* display: block; */
    position: relative;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    padding: 18px 0;
    transition: .35s
}

.site-header.scrolled {
    background: rgb(26 26 26 / 92%);
    backdrop-filter: blur(16px);
    padding: 11px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,.14)
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    color: #fff;
    font-weight: 800;
    letter-spacing: -.7px
}

.brand span span {
    color: #69a6ff
}

.brand img {
    height: 45px;
    max-width: 210px;
    object-fit: contain
}

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

.site-header nav a {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
}
.site-header nav a:hover {
color:#d54d31}
.nav-cta {
    padding: 11px 18px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    transition:all 0.5s ease;
}
.nav-cta:hover {
   border:1px solid #c63218;
    background:#c63218;
    color:#fff !important
}

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

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

.hero {
    height: 790px;
    position: relative;
    overflow: hidden;
    /* background:radial-gradient(circle at 20% 20%,#173970 0,#07111f 47%,#030914 100%); */
    color: #fff
}

.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: 52px 52px;
    /* mask-image:linear-gradient(to bottom,#000,transparent); */
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: none;
    background-image: linear-gradient(90deg, rgb(0 0 0 / 75%) 25%, rgb(0 0 0 / 66%)), var(--bg);
    background-size: cover;
    background-position: center;
    margin: auto;
    /* display: flex; */
}

.hero-slide.active {
    display: flex
}

.hero-content {
    align-self: center;
    position: relative;
    z-index: 2;
    padding-top: 70px;
    max-width: 920px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    align-content: center;
    margin: 50px auto;
    height: 680px;
}
.hero-content h2 { font-size:56px; line-height:1.0em; letter-spacing:-1px}
.eyebrow {
    display: inline-block;
    color: #F44336;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px
}

.hero h1,.page-hero h1 {
    font-size: clamp(43px,7vw,82px);
    line-height: 1.02;
    letter-spacing: -3.5px;
    margin: 0 0 25px;
    max-width: 1050px
}

.hero p,.page-hero p {
    font-size: 19px;
    color: #dddddd;
    max-width: 760px;
    margin: 0 0 34px
}

.hero-actions {
    display: flex;
    gap: 15px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    border: 0;
    cursor: pointer;
    transition: .3s
}

.btn.primary {
    background: linear-gradient(135deg,var(--accent),var(--accent2));
    color: #fff;
    /* box-shadow: 0 14px 35px rgba(59,130,246,.3); */
}

.btn.primary:hover {
    transform: translateY(-3px)
}

.btn.ghost {
    color: #fff;
    border: 1px solid rgba(255,255,255,.3)
}

.btn.light {
    background: #fff;
    color: #081321
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    opacity: .45
}

.orb-a {
    width: 380px;
    height: 380px;
    /* background:#1d4ed8; */
    right: -120px;
    top: 120px
}

.orb-b {
    width: 230px;
    height: 230px;
    /* background:#7c3aed; */
    left: 48%;
    bottom: -120px
}

.trust-strip {
    background: #fff;
    position: relative;
    z-index: 3;
    /* margin-top:-30px; */
}

.stats {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(4,1fr);
    padding: 27px
}

.stats div {
    padding: 8px 24px;
    border-right: 1px solid var(--border)
}

.stats div:last-child {
    border: 0
}

.stats strong {
    display: block;
    font-size: 23px
}

.stats span {
    font-size: 12px;
    color: var(--muted)
}

.section {
    padding: 110px 0
}

.section.soft {
    background: var(--soft)
}

.section.dark {
    background: var(--bg);
    color: #fff
}

.section-head {
    max-width: 800px;
    margin-bottom: 50px
}

.section-head.row {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between
}

.section-head h2,.split h2,.cta-section h2 {
    font-size: clamp(34px,4vw,54px);
    letter-spacing: -2px;
    line-height: 1.08;
    margin: 0 0 20px
}

.section-head p,.split p {
    color: var(--muted);
    font-size: 17px
}

.dark p {
    color: #aebed2
}

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

.service-card {
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: .35s;
    background: #fff
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: transparent
}

.service-number {
    font-size: 12px;
    color: var(--accent);
    font-weight: 800
}

.service-card h3 {
    font-size: 23px;
    margin: 28px 0 12px
}

.service-card p {
    font-size: 14px;
    color: var(--muted)
}

.service-card a {
    font-size: 13px;
    font-weight: 800;
    color: var(--accent)
}

.split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 80px;
    align-items: center
}

.check-list {
    padding: 0;
    list-style: none;
    margin: 28px 0
}

.check-list li {
    margin: 12px 0;
    color: #dce7f7
}

.check-list li:before {
    content: "✓";
    color: #F44336;
    margin-right: 10px
}

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

.process-card div {
    border: 1px solid rgba(255,255,255,.1);
    padding: 32px;
    border-radius: 20px;
    background: rgba(255,255,255,.035)
}

.process-card b {
    display: block;
    font-size: 34px;
    color: #F44336;
}

.process-card span {
    font-weight: 700
}

.text-link {
    font-size: 14px;
    font-weight: 800;
    color: var(--accent)
}

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

.project-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 45px rgba(12,26,45,.08);
    transition: .35s
}

.project-card:hover {
    transform: translateY(-7px)
}

.project-image {
    height: 330px;
    background: #dce6f5 center/cover no-repeat
}

.project-info {
    padding: 27px
}

.project-info span {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase
}

.project-info h3 {
    font-size: 25px;
    margin: 7px 0
}

.project-info p {
    color: var(--muted);
    font-size: 14px
}

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

.article-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: .3s
}

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

.article-cover {
    height: 220px;
    background: #dce6f5 center/cover no-repeat
}

.article-body {
    padding: 25px
}

.article-body span {
    font-size: 11px;
    color: var(--accent);
    font-weight: 700
}

.article-body h2,.article-body h3 {
    font-size: 21px;
    line-height: 1.3;
    margin: 10px 0
}

.article-body p {
    font-size: 13px;
    color: var(--muted)
}

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2f2b2b, #434343);
    color: #fff;
    text-align: center
}

.cta-section .container {
    max-width: 850px
}

.page-hero {
    padding: 190px 0 100px;
    background: linear-gradient(110deg,rgba(3,9,20,.98),rgba(8,24,48,.82)),var(--page-bg);
    background-size: cover;
    background-position: center;
    color: #fff;
    height: 673px;
}
.page-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    width:100%;
    height: 673px;
    background: #00000070;
    z-index:0
}
.page-hero h1 {
    font-size: clamp(42px,6vw,72px)
}

.content {
    max-width: 850px
}

.prose h2 {
    font-size: 34px;
    line-height: 1.2;
    margin-top: 45px
}

.prose h3 {
    font-size: 24px
}

.prose p,.prose li {
    color: #475467;
    font-size: 16px
}

.prose img {
    border-radius: 20px;
    margin: 30px 0
}

.service-list {
    display: grid;
    gap: 0
}

.service-row {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 40px;
    padding: 70px 0;
    border-bottom: 1px solid var(--border)
}

.big-number {
    font-size: 65px;
    font-weight: 800;
    color: #e03818;
}

.service-row h2 {
    font-size: 40px;
    margin: 0
}

.lead {
    font-size: 18px;
    color: var(--muted)
}

.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 35px
}

.filters button {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 999px;
    padding: 10px 17px;
    font-family: inherit;
    cursor: pointer
}

.filters button.active {
    background: var(--bg);
    color: #fff
}

.project-cover,.article-main-cover {
    height: 560px;
    border-radius: 28px;
    background: center/cover no-repeat;
    margin-bottom: 55px
}

.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 50px
}

.gallery img {
    border-radius: 20px;
    width: 100%;
    height: 390px;
    object-fit: cover
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px
}

.contact-grid h2 {
    font-size: 45px
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
    font-weight: 700
}

.contact-form {
    padding: 35px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    background: #fff
}

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

label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 18px
}

input,select,textarea {
    width: 100%;
    margin-top: 8px;
    border: 1px solid var(--border);
    padding: 14px;
    border-radius: 12px;
    font-family: inherit;
    outline: none
}

input:focus,select:focus,textarea:focus {
    border-color: var(--accent)
}

.alert {
    padding: 14px;
    border-radius: 12px;
    background: #eaf3ff;
    margin-bottom: 20px
}

.footer {
    background: #161616;
    color: #fff;
    padding: 75px 0 25px
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 70px
}

.footer h3 {
    font-size: 26px
}

.footer h4 {
    margin-bottom: 20px
}

.footer p {
    color: #939393;
    max-width: 460px
}

.footer a {
    display: block;
    color: #a7a7a7;
    margin: 9px 0;
    font-size: 14px
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 45px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #c7c7c7;
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: .75s cubic-bezier(.2,.7,.2,1)
}

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

@media(max-width: 900px) {
    .site-header nav {
        position:fixed;
        inset: 0 0 0 25%;
        background: #07111f;
        display: flex;
        flex-direction: column;
        justify-content: center;
        transform: translateX(100%);
        transition: .35s
    }

    .site-header nav.open {
        transform: none
    }

    .menu-toggle {
        display: block;
        z-index: 2
    }

    .hero {
        height: 720px
    }

    .hero h1 {
        letter-spacing: -2px
    }
 .hero h2 {
        letter-spacing: -2px;
     font-size:36px; text-align:center;
     line-height:1.15em
    }

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

    .stats div:nth-child(2) {
        border-right: 0
    }

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

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

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

    .footer-grid>div:first-child {
        grid-column: 1/-1
    }
}

@media(max-width: 620px) {
    .container {
        width:min(100% - 28px,1180px)
    }

    .hero {
        height: 760px
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start
    }

    .stats {
        grid-template-columns: 1fr 1fr;
        padding: 15px
    }

    .stats div {
        padding: 15px 10px
    }

    .stats strong {
        font-size: 18px
    }

    .section {
        padding: 75px 0
    }

    .services-grid,.portfolio-grid,.article-grid,.gallery,.form-row {
        grid-template-columns: 1fr
    }

    .section-head.row {
        display: block
    }

    .project-image {
        height: 240px
    }

    .project-cover,.article-main-cover {
        height: 320px
    }

    .service-row {
        grid-template-columns: 1fr;
        padding: 45px 0
    }

    .big-number {
        font-size: 40px
    }

    .page-hero {
        padding: 160px 0 80px
    }

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

    .footer-grid>div:first-child {
        grid-column: auto
    }

    .footer-bottom {
        display: block
    }

    .gallery img {
        height: 260px
    }
}
