:root {
    --color-ink: #111827;
    --color-ink-soft: #374151;
    --color-muted: #6b7280;
    --color-line: #e5e7eb;
    --color-paper: #f7f8f4;
    --color-gold: #f0a51f;
    --color-gold-dark: #bf7b10;
    --color-teal: #0f766e;
    --color-teal-soft: #e3f4f1;
    --color-white: #ffffff;
    --shadow-soft: 0 22px 60px rgba(17, 24, 39, .14);
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    color: var(--color-ink);
    background: var(--color-white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

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

img {
    max-width: 100%;
}

.container-xxl {
    width: calc(100% - 24px);
    max-width: 1320px;
}

.site-header {
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(229, 231, 235, .86);
    backdrop-filter: blur(16px);
}

.navbar {
    min-height: 76px;
    padding: .75rem 0;
}

.navbar-brand {
    color: var(--color-ink);
    font-weight: 800;
}

.brand-mark {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: 8px;
}

.brand-mark.small {
    width: 36px;
    height: 36px;
}

.brand-mark img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.brand-mark.small img {
    width: 26px;
    height: 26px;
}

.brand-text {
    white-space: nowrap;
}

.nav-link {
    color: var(--color-ink-soft);
    font-size: .95rem;
    font-weight: 650;
}

.nav-link:hover,
.nav-link.active,
.navbar-brand:hover {
    color: var(--color-gold-dark);
}

.navbar-toggler {
    border-radius: 8px;
}

.desktop-nav {
    gap: .75rem;
}

.mobile-offcanvas {
    width: min(86vw, 360px) !important;
    color: var(--color-ink);
    background: #fbfbf8;
    border-left: 1px solid rgba(17, 24, 39, .18);
    box-shadow: -28px 0 70px rgba(17, 24, 39, .32);
}

.offcanvas-backdrop.show {
    opacity: .68;
}

.mobile-offcanvas .offcanvas-header {
    min-height: 76px;
    background: var(--color-white);
    border-bottom: 1px solid rgba(17, 24, 39, .12);
}

.mobile-offcanvas .offcanvas-body {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
}

.mobile-nav {
    gap: .15rem;
}

.mobile-nav .nav-link {
    display: flex;
    min-height: 52px;
    align-items: center;
    padding-right: .85rem;
    padding-left: .85rem;
    color: var(--color-ink);
    background: var(--color-white);
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 8px;
    font-size: 1.08rem;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
    color: #111111;
    background: #fff4dc;
    border-color: rgba(240, 165, 31, .48);
}

.mobile-offcanvas .btn-brand {
    width: 100%;
    min-height: 50px;
    box-shadow: 0 14px 30px rgba(191, 123, 16, .22);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border-radius: 8px;
    font-weight: 750;
    letter-spacing: 0;
}

.btn-brand {
    color: #171717;
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.btn-brand:hover,
.btn-brand:focus {
    color: #111111;
    background: #f5b73f;
    border-color: #f5b73f;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, .72);
}

.section {
    padding: 96px 0;
}

.hero {
    position: relative;
    min-height: 76svh;
    padding: 112px 0 36px;
    color: var(--color-white);
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, .94), rgba(17, 24, 39, .72) 48%, rgba(15, 118, 110, .62)),
        url("hero-technology.jpg") center / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .65), transparent 82%);
    pointer-events: none;
}

.hero .container-xxl {
    position: relative;
    z-index: 1;
}

.hero-kicker,
.section-heading span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: .25rem .65rem;
    color: #1f2937;
    background: var(--color-teal-soft);
    border: 1px solid rgba(15, 118, 110, .18);
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 800;
}

.hero-kicker {
    color: #fff7e5;
    background: rgba(240, 165, 31, .16);
    border-color: rgba(240, 165, 31, .34);
}

.hero h1 {
    max-width: 760px;
    margin: 1.1rem 0 .8rem;
    font-size: clamp(3.2rem, 8vw, 6.4rem);
    line-height: .92;
    font-weight: 900;
}

.hero-lead {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2rem;
}

.hero-panel {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 1.25rem;
    align-items: center;
    max-width: 460px;
    margin-left: auto;
    padding: 1.35rem;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.hero-logo {
    display: flex;
    width: 88px;
    height: 88px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-white);
    border-radius: 8px;
}

.hero-logo img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.hero-panel-content span {
    color: var(--color-gold);
    font-size: .85rem;
    font-weight: 800;
}

.hero-panel-content strong {
    display: block;
    margin-top: .25rem;
    font-size: 1.2rem;
    line-height: 1.25;
}

.hero-panel-content p {
    margin: .55rem 0 0;
    color: rgba(255, 255, 255, .78);
    line-height: 1.6;
}

.hero-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 48px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(255, 255, 255, .14);
}

.hero-strip div {
    display: flex;
    gap: .85rem;
    align-items: center;
    min-height: 76px;
    padding: 1.1rem 1.25rem;
    background: rgba(17, 24, 39, .42);
}

.hero-strip span {
    color: var(--color-gold);
    font-weight: 850;
}

.hero-strip strong {
    color: rgba(255, 255, 255, .92);
    font-size: .98rem;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading.align-start {
    margin-right: 0;
    margin-left: 0;
    text-align: left;
}

.section-heading h2 {
    margin: .95rem 0 .8rem;
    color: var(--color-ink);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.04;
    font-weight: 880;
}

.section-heading p {
    margin: 0;
    color: var(--color-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.services {
    background: var(--color-paper);
    padding-top: 58px;
}

.service-card,
.process-step,
.contact-form {
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-white);
}

.service-card {
    min-height: 270px;
    padding: 2rem;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(240, 165, 31, .52);
    box-shadow: 0 18px 46px rgba(17, 24, 39, .1);
}

.service-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    color: var(--color-teal);
    background: var(--color-teal-soft);
    border-radius: 8px;
    font-size: 1.55rem;
}

.service-card h3,
.process-step h3 {
    margin: 0 0 .75rem;
    color: var(--color-ink);
    font-size: 1.18rem;
    font-weight: 820;
}

.service-card p,
.process-step p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.72;
}

.about {
    background: var(--color-white);
}

.image-band {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.image-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(240, 165, 31, .28), rgba(15, 118, 110, .18));
    pointer-events: none;
}

.image-band img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
}

.lead-copy {
    color: var(--color-ink-soft);
    font-size: 1.08rem;
    line-height: 1.82;
}

.check-list {
    display: grid;
    gap: .9rem;
    margin-top: 1.6rem;
}

.check-list div {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding-bottom: .9rem;
    border-bottom: 1px solid var(--color-line);
}

.check-list i {
    flex: 0 0 auto;
    color: var(--color-teal);
    font-size: 1.25rem;
}

.check-list span {
    color: var(--color-ink-soft);
    line-height: 1.55;
}

.process {
    background: #111827;
}

.process .section-heading h2 {
    color: var(--color-white);
}

.process .section-heading p {
    color: rgba(255, 255, 255, .72);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.process-step {
    min-height: 250px;
    padding: 1.65rem;
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .14);
}

.step-number {
    margin-bottom: 1.5rem;
    color: var(--color-gold);
    font-size: 1.9rem;
    font-weight: 900;
}

.process-step h3 {
    color: var(--color-white);
}

.process-step p {
    color: rgba(255, 255, 255, .72);
}

.contact {
    background: var(--color-paper);
}

.contact-list {
    display: grid;
    gap: .8rem;
    margin-top: 1.5rem;
}

.contact-list a {
    display: flex;
    gap: .8rem;
    align-items: center;
    min-height: 56px;
    padding: .9rem 1rem;
    color: var(--color-ink);
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: 8px;
    font-weight: 720;
}

.contact-list i {
    color: var(--color-teal);
    font-size: 1.2rem;
}

.contact-form {
    padding: 2rem;
    box-shadow: 0 16px 40px rgba(17, 24, 39, .08);
}

.form-label {
    color: var(--color-ink);
    font-weight: 720;
}

.form-control,
.form-select {
    min-height: 50px;
    border-color: #d1d5db;
    border-radius: 8px;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(240, 165, 31, .9);
    box-shadow: 0 0 0 .22rem rgba(240, 165, 31, .18);
}

.form-status {
    min-height: 28px;
    margin-bottom: .75rem;
    color: var(--color-ink-soft);
    font-weight: 650;
}

.form-status.success {
    color: #0f766e;
}

.form-status.error {
    color: #b42318;
}

.site-footer {
    color: rgba(255, 255, 255, .78);
    background: #0b1220;
}

.footer-inner {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    min-height: 92px;
    font-size: .95rem;
}

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

@media (max-width: 991.98px) {
    .hero {
        min-height: auto;
        padding-top: 106px;
        padding-bottom: 36px;
    }

    .hero-panel {
        margin-left: 0;
    }

    .section {
        padding: 76px 0;
    }

    .services {
        padding-top: 56px;
    }
}

@media (max-width: 767.98px) {
    .hero h1 {
        font-size: clamp(2.75rem, 15vw, 4.6rem);
    }

    .hero-panel {
        display: none;
    }

    .hero-actions {
        margin-top: 1.45rem;
    }

    .hero {
        padding-top: 104px;
        padding-bottom: 34px;
    }

    .hero-strip {
        display: none;
    }

    .services {
        padding-top: 52px;
    }

    .image-band,
    .image-band img {
        min-height: 280px;
    }

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

    .contact-form {
        padding: 1.25rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 1.35rem 0;
    }
}

@media (max-width: 420px) {
    .brand-text {
        max-width: 172px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .btn-lg {
        width: 100%;
    }
}
