:root {
    --ink: #f8fbff;
    --muted: #aeb9c8;
    --soft: #dce8f5;
    --panel: rgba(15, 20, 27, 0.86);
    --panel-solid: #121820;
    --line: rgba(255, 255, 255, 0.13);
    --blue: #32b8ff;
    --amber: #ffcf4a;
    --mint: #68f5c8;
    --charcoal: #080b0f;
    --steel: #17202b;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(50, 184, 255, 0.08), transparent 420px),
        var(--charcoal);
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 6%;
    background: rgba(8, 11, 15, 0.82);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

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

.brand-mark {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    overflow: hidden;
    border: 1px solid rgba(104, 245, 200, 0.44);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 36px rgba(104, 245, 200, 0.18);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 53%;
    transform: scale(1.32);
}

.brand-name,
.brand-line {
    display: block;
    line-height: 1.15;
}

.brand-name {
    font-size: 1.02rem;
    font-weight: 800;
}

.brand-line {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.72rem;
}

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

.site-nav a,
.header-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.site-nav a {
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--soft);
    font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.header-call {
    gap: 9px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--ink);
    color: #0b1017;
    box-shadow: 0 12px 34px rgba(248, 251, 255, 0.16);
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(680px, calc(100svh - 124px));
    padding: 74px 6% 58px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(8, 11, 15, 0.9) 0%, rgba(8, 11, 15, 0.74) 48%, rgba(8, 11, 15, 0.44) 100%),
        url("images/Service2.jpeg");
    background-size: cover;
    background-position: center 48%;
}

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

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: end;
    gap: 42px;
    width: min(1180px, 100%);
    margin: 0 auto;
    min-width: 0;
}

.hero-copy {
    max-width: 760px;
    min-width: 0;
}

.eyebrow {
    margin-bottom: 16px;
    color: var(--mint);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.why h2,
.contact h2 {
    letter-spacing: 0;
    line-height: 0.98;
    max-width: 100%;
    overflow-wrap: break-word;
    white-space: normal;
}

.hero h1 {
    max-width: 780px;
    font-size: 4.6rem;
    font-weight: 900;
}

.hero-text {
    max-width: 680px;
    margin-top: 24px;
    color: var(--soft);
    font-size: 1.2rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.btn,
.panel-link,
.contact-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    font-size: 0.98rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.panel-link:hover,
.contact-form button:hover {
    transform: translateY(-2px);
}

.btn-primary,
.contact-form button {
    background: linear-gradient(135deg, var(--blue), #8adfff);
    color: #061018;
    box-shadow: 0 18px 44px rgba(50, 184, 255, 0.25);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--ink);
    backdrop-filter: blur(16px);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--soft);
    font-size: 0.88rem;
    font-weight: 700;
    backdrop-filter: blur(14px);
}

.trust-row i {
    color: var(--amber);
}

.hero-panel,
.service-card,
.proof-item,
.contact-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 24px;
    backdrop-filter: blur(20px);
}

.hero-logo-card {
    height: 178px;
    margin-bottom: 22px;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
}

.hero-logo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
}

.panel-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--mint);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.panel-topline i {
    color: var(--mint);
    font-size: 0.55rem;
    filter: drop-shadow(0 0 8px rgba(104, 245, 200, 0.75));
}

.hero-panel h2 {
    margin-top: 16px;
    font-size: 1.85rem;
    line-height: 1.12;
}

.quick-list {
    display: grid;
    gap: 10px;
    margin: 24px 0;
}

.quick-list span {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--soft);
    font-weight: 700;
}

.quick-list i {
    color: var(--blue);
}

.panel-link {
    width: 100%;
    background: var(--amber);
    color: #171105;
}

.section {
    padding: 92px 6%;
}

.section-heading {
    width: min(780px, 100%);
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading h2,
.why h2,
.contact h2 {
    font-size: 3rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.work-gallery {
    display: grid;
    grid-template-columns: 1.35fr repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: min(1180px, 100%);
    margin: 38px auto 0;
}

.work-card {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-solid);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
}

.work-card-large {
    grid-row: span 2;
    min-height: 696px;
}

.work-card img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
    transition: transform 320ms ease;
}

.work-card:nth-child(1) img {
    object-position: center 47%;
}

.work-card:nth-child(2) img,
.work-card:nth-child(3) img {
    object-position: center 43%;
}

.work-card:nth-child(4) img {
    object-position: center 45%;
}

.work-card:nth-child(5) img {
    object-position: center 39%;
}

.work-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.78));
    pointer-events: none;
}

.work-card div {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 1;
}

.work-card span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(104, 245, 200, 0.9);
    color: #07130f;
    font-size: 0.73rem;
    font-weight: 900;
    text-transform: uppercase;
}

.work-card h3 {
    margin-top: 10px;
    font-size: 1.25rem;
    line-height: 1.16;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.38);
}

.work-card:hover img {
    transform: scale(1.04);
}

.service-card {
    display: flex;
    min-height: 290px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        var(--panel-solid);
}

.service-card i {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: auto;
    border-radius: 8px;
    background: rgba(50, 184, 255, 0.13);
    color: var(--blue);
    font-size: 1.45rem;
}

.service-card h3,
.proof-item h3 {
    margin-top: 28px;
    font-size: 1.28rem;
}

.service-card p,
.proof-item p,
.why-copy p,
.contact-copy p {
    color: var(--muted);
    line-height: 1.7;
}

.service-card p {
    margin-top: 12px;
}

.why {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 52px;
    align-items: start;
    background:
        linear-gradient(180deg, rgba(255, 207, 74, 0.08), transparent 360px),
        #0d1117;
}

.why-copy,
.contact-copy {
    width: min(520px, 100%);
}

.why-copy p,
.contact-copy p {
    margin-top: 22px;
}

.proof-grid {
    display: grid;
    gap: 14px;
}

.proof-item {
    padding: 24px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: none;
}

.proof-item span {
    color: var(--amber);
    font-size: 0.78rem;
    font-weight: 900;
}

.proof-item h3 {
    margin-top: 10px;
}

.proof-item p {
    margin-top: 10px;
}

.contact {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 520px);
    gap: 56px;
    align-items: start;
}

.contact-methods {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.contact-methods a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.065);
    color: var(--soft);
    text-decoration: none;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.contact-methods i {
    color: var(--blue);
}

.contact-form {
    display: grid;
    gap: 14px;
    padding: 24px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--soft);
    font-size: 0.82rem;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--ink);
    font: inherit;
    outline: none;
}

.contact-form input {
    height: 52px;
    padding: 0 14px;
}

.contact-form textarea {
    min-height: 132px;
    resize: vertical;
    padding: 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(248, 251, 255, 0.48);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(50, 184, 255, 0.8);
    box-shadow: 0 0 0 4px rgba(50, 184, 255, 0.14);
}

.mobile-action-bar {
    display: none;
}

footer {
    padding: 30px 6%;
    border-top: 1px solid var(--line);
    background: #06080b;
    color: var(--muted);
    text-align: center;
}

footer p + p {
    margin-top: 8px;
}

@media (max-width: 1060px) {
    .hero-inner,
    .why,
    .contact {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        max-width: 520px;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .work-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .work-card-large {
        grid-row: span 1;
        min-height: 420px;
    }
}

@media (max-width: 760px) {
    body {
        padding-bottom: 74px;
    }

    .site-header {
        align-items: stretch;
        gap: 12px;
        padding: 12px 14px 10px;
        flex-wrap: wrap;
    }

    .brand {
        order: 1;
        flex: 1 1 calc(100% - 56px);
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .brand-name {
        font-size: 0.96rem;
    }

    .brand-line {
        font-size: 0.68rem;
    }

    .header-call {
        display: none;
    }

    .site-nav {
        order: 2;
        justify-content: flex-start;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .site-nav a {
        min-height: 38px;
        padding: 0 13px;
        background: rgba(255, 255, 255, 0.07);
        font-size: 0.86rem;
    }

    .hero {
        min-height: auto;
        align-items: flex-end;
        padding: 44px 16px 34px;
        background:
            linear-gradient(180deg, rgba(8, 11, 15, 0.62) 0%, rgba(8, 11, 15, 0.9) 58%, #080b0f 100%),
            url("images/Service3.jpeg");
        background-size: cover;
        background-position: center 40%;
    }

    .hero-inner {
        gap: 24px;
    }

    .eyebrow {
        margin-bottom: 12px;
        font-size: 0.72rem;
    }

    .hero h1 {
        font-size: 2.14rem;
        line-height: 1.02;
    }

    .hero-text {
        max-width: 100%;
        margin-top: 18px;
        font-size: 0.98rem;
        line-height: 1.6;
        overflow-wrap: break-word;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 24px;
    }

    .btn {
        width: 100%;
        min-height: 52px;
    }

    .trust-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
        margin-top: 20px;
    }

    .trust-row span {
        justify-content: center;
        min-width: 0;
        border-radius: 8px;
        text-align: center;
    }

    .trust-row span:last-child {
        grid-column: 1 / -1;
    }

    .hero-panel {
        display: none;
    }

    .section {
        padding: 64px 16px;
    }

    .section-heading {
        margin-bottom: 24px;
        text-align: left;
    }

    .section-heading h2,
    .why h2,
    .contact h2 {
        font-size: 1.82rem;
        line-height: 1.06;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .work-gallery {
        display: flex;
        gap: 12px;
        width: auto;
        margin: 28px -16px 0;
        overflow-x: auto;
        padding: 0 16px 4px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .work-gallery::-webkit-scrollbar {
        display: none;
    }

    .work-card,
    .work-card-large {
        flex: 0 0 82%;
        min-height: 410px;
        scroll-snap-align: start;
    }

    .work-card div {
        right: 14px;
        bottom: 14px;
        left: 14px;
    }

    .work-card h3 {
        font-size: 1.08rem;
    }

    .service-card {
        min-height: 220px;
        padding: 22px;
    }

    .service-card h3,
    .proof-item h3 {
        font-size: 1.14rem;
    }

    .why,
    .contact {
        gap: 28px;
    }

    .proof-item,
    .contact-form {
        padding: 20px;
    }

    .contact-methods a {
        min-height: 50px;
        font-size: 0.92rem;
    }

    .mobile-action-bar {
        position: fixed;
        right: 12px;
        bottom: 12px;
        left: 12px;
        z-index: 30;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 8px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(8, 11, 15, 0.9);
        box-shadow: 0 18px 54px rgba(0, 0, 0, 0.46);
        backdrop-filter: blur(18px);
    }

    .mobile-action-bar a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 44px;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.08);
        color: var(--ink);
        font-size: 0.82rem;
        font-weight: 800;
        text-decoration: none;
    }

    .mobile-action-bar a:nth-child(2) {
        background: var(--mint);
        color: #061410;
    }

    footer {
        padding-bottom: 104px;
        font-size: 0.9rem;
    }
}

@media (max-width: 380px) {
    .hero-actions {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-heading h2,
    .why h2,
    .contact h2 {
        font-size: 1.86rem;
    }

    .mobile-action-bar a {
        gap: 5px;
        font-size: 0.76rem;
    }
}
