.service-page {
    min-height: 100vh;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--carbon);
    color: var(--off-white);
}

.service-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 36px 42px;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.94) 0%, rgba(26, 26, 26, 0.62) 58%, transparent 100%);
}

.service-logo,
.service-nav a,
.service-footer a {
    font-family: var(--font-mono);
    text-transform: uppercase;
    text-decoration: none;
}

.service-logo {
    color: var(--off-white);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.service-actions {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 12px;
}

.service-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
}

.service-nav a {
    color: rgba(240, 240, 240, 0.58);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    padding: 8px 14px;
    border: 1px solid transparent;
    transition: color 0.3s var(--ease-heavy), border-color 0.3s var(--ease-heavy);
}

.service-nav a:hover,
.service-footer a:hover {
    color: var(--neon-chartreuse);
    border-color: rgba(223, 255, 0, 0.3);
}

.service-hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 0.46fr) minmax(0, 0.54fr);
    align-items: center;
    gap: clamp(56px, 7vw, 110px);
    padding: 130px 56px 70px;
    border-bottom: 1px solid var(--seam);
}

.service-hero__media {
    position: relative;
    height: min(62vh, 620px);
    overflow: hidden;
    border: 1px solid rgba(240, 240, 240, 0.08);
    background: var(--graphite);
    padding: 30px;
}

.service-hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(0deg, rgba(26, 26, 26, 0.56), transparent 42%),
        linear-gradient(90deg, rgba(26, 26, 26, 0.18), transparent 40%);
}

.service-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    filter: saturate(0.92) contrast(0.96);
}

.browser-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.service-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-kicker {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    line-height: 1.6;
    text-transform: uppercase;
    color: var(--neon-chartreuse);
    margin-bottom: 14px;
}

.service-hero h1,
.section-heading h2,
.web-project__copy h3,
.quote-copy h2 {
    font-family: var(--font-spine);
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--off-white);
}

.service-hero h1 {
    font-size: clamp(3rem, 5.2vw, 5.8rem);
    line-height: 1.03;
    max-width: 760px;
    margin-bottom: 38px;
}

.service-hero p:not(.service-kicker),
.web-project__copy p:not(.service-kicker),
.quote-copy p:not(.service-kicker) {
    font-family: var(--font-mono);
    color: rgba(240, 240, 240, 0.66);
    font-size: 0.82rem;
    line-height: 1.8;
}

.service-hero p:not(.service-kicker) {
    max-width: 620px;
}

.service-cta,
.service-link,
.quote-form button {
    align-self: flex-start;
    padding: 14px 32px;
    background: var(--neon-chartreuse);
    color: var(--carbon);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s var(--ease-heavy), transform 0.3s var(--ease-heavy);
}

.service-cta {
    margin-top: 38px;
}

.service-link {
    display: inline-flex;
    margin-top: 26px;
    padding: 12px 22px;
    font-size: 0.62rem;
}

.service-cta:hover,
.service-link:hover,
.quote-form button:hover {
    background: var(--off-white);
    transform: translateX(4px);
}

.service-section {
    padding: 110px 36px 130px;
}

.section-heading {
    max-width: 1180px;
    margin: 0 auto 48px;
}

.section-heading h2 {
    font-size: clamp(2.2rem, 4vw, 4.4rem);
    line-height: 0.96;
}

.web-project {
    max-width: 1180px;
    margin: 0 auto 34px;
    display: block;
    padding: 34px;
    background: var(--graphite);
    border: 1px solid rgba(240, 240, 240, 0.08);
}

.web-project:first-of-type {
    border-top: 1px solid rgba(240, 240, 240, 0.08);
}

.web-project__copy {
    display: grid;
    grid-template-columns: minmax(260px, 0.36fr) minmax(0, 0.64fr);
    align-items: end;
    gap: 36px;
    margin-bottom: 28px;
}

.web-project__copy h3 {
    font-size: clamp(2.2rem, 3.4vw, 3.9rem);
    line-height: 0.96;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.web-project__copy p:not(.service-kicker) {
    max-width: 620px;
}

.device-showcase {
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
}

.browser-frame {
    position: relative;
    overflow: hidden;
    padding-top: 28px;
    background: #111111;
    border: 1px solid rgba(240, 240, 240, 0.12);
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.32);
}

.browser-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: #1f1f1f;
    border-bottom: 1px solid rgba(240, 240, 240, 0.08);
}

.browser-frame::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 13px;
    width: 7px;
    height: 7px;
    background: rgba(223, 255, 0, 0.86);
    box-shadow:
        14px 0 0 rgba(240, 240, 240, 0.35),
        28px 0 0 rgba(240, 240, 240, 0.22);
}

.browser-frame img {
    height: calc(100% - 28px);
}

.browser-frame--desktop {
    aspect-ratio: 16 / 9;
    width: 100%;
    transform: none;
}

.browser-frame--mobile {
    display: none;
}

.quote-section {
    padding: 0 36px 120px;
}

.quote-panel {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.62fr);
    gap: 52px;
    padding: 58px;
    background: var(--graphite);
    border: 1px solid rgba(240, 240, 240, 0.08);
}

.quote-copy h2 {
    font-size: clamp(2.4rem, 4.4vw, 5rem);
    line-height: 0.92;
    margin-bottom: 22px;
}

.quote-form {
    display: grid;
    gap: 18px;
}

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

.quote-form label {
    display: grid;
    gap: 8px;
}

.quote-form span {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(240, 240, 240, 0.58);
}

.quote-form input,
.quote-form textarea {
    width: 100%;
    border: 1px solid rgba(240, 240, 240, 0.14);
    background: rgba(26, 26, 26, 0.72);
    color: var(--off-white);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.6;
    padding: 14px 16px;
    outline: none;
    border-radius: 0;
}

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

.quote-form input:focus,
.quote-form textarea:focus {
    border-color: rgba(223, 255, 0, 0.65);
}

.quote-form button {
    border: 0;
    cursor: pointer;
    margin-top: 6px;
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 26px 36px;
    border-top: 1px solid var(--seam);
}

.service-footer a {
    color: rgba(240, 240, 240, 0.5);
    font-size: 0.58rem;
    letter-spacing: 0.16em;
}

@media (max-width: 900px) {
    .service-header {
        padding: 16px 20px 38px;
    }

    .service-logo {
        font-size: 0.58rem;
        line-height: 1.5;
    }

    .service-actions {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }

    .service-nav a,
    .language-switcher button {
        padding: 6px 9px;
        font-size: 0.54rem;
    }

    .service-hero {
        display: block;
        min-height: 0;
        padding: 96px 20px 54px;
    }

    .service-hero__media {
        height: auto;
        aspect-ratio: 4 / 3;
        margin-bottom: 34px;
        padding: 18px;
    }

    .service-hero h1 {
        font-size: clamp(2.55rem, 12vw, 4.3rem);
    }

    .service-section {
        padding: 68px 20px 86px;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .web-project,
    .quote-panel,
    .form-row {
        grid-template-columns: 1fr;
    }

    .web-project {
        padding: 22px;
        margin-bottom: 22px;
    }

    .web-project__copy {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 22px;
    }

    .browser-frame {
        padding-top: 22px;
    }

    .browser-frame::before {
        height: 22px;
    }

    .browser-frame::after {
        top: 8px;
        left: 10px;
        width: 5px;
        height: 5px;
        box-shadow:
            11px 0 0 rgba(240, 240, 240, 0.35),
            22px 0 0 rgba(240, 240, 240, 0.22);
    }

    .browser-frame img {
        height: calc(100% - 22px);
    }

    .quote-section {
        padding: 0 20px 82px;
    }

    .quote-panel {
        gap: 32px;
        padding: 30px 24px;
    }

    .service-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px 20px;
    }
}

@media (max-width: 520px) {
    .service-header {
        position: absolute;
        flex-direction: column;
        gap: 12px;
    }

    .service-actions {
        align-items: flex-start;
    }

    .service-nav {
        justify-content: flex-start;
    }

    .service-hero {
        padding-top: 150px;
    }
}
