/* Service detail hero only — scoped so other inner banners stay unchanged.
================================================================ */

.service-hero {
    padding: 148px 0 80px;
    background: #000000;
}

.service-hero .container {
    max-width: 1280px;
}

.service-hero__crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 28px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    color: rgba(255, 255, 255, 0.4);
}

.service-hero__crumb a,
.service-hero__crumb span {
    color: rgba(255, 255, 255, 0.4);
}

.service-hero__crumb a:hover,
.service-hero__crumb a:focus {
    color: #ffffff;
}

.service-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 48px 56px;
    align-items: start;
}

.service-hero__copy {
    max-width: 650px;
}

.service-hero__eyebrow {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.service-hero__title {
    margin: 0 0 18px;
    font-size: clamp(42px, 3.5vw, 58px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.service-hero__desc {
    margin: 0 0 28px;
    max-width: 580px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.68);
}

.service-hero__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 22px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
    background: transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.service-hero__secondary:hover,
.service-hero__secondary:focus {
    border-color: #ffffff;
    color: #ffffff;
}

.service-hero__form {
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
    color-scheme: dark;
}

.service-hero__form-title {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.service-hero__form-lede {
    margin: 0 0 22px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.6);
}

.service-hero__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
    margin-bottom: 18px;
}

.service-hero__field--full {
    grid-column: 1 / -1;
}

.service-hero__field label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.72);
}

.service-hero__form input,
.service-hero__form select,
.service-hero__form textarea {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: none;
    outline: none;
    transition: border-color 0.15s ease;
}

.service-hero__form input,
.service-hero__form select {
    height: 50px;
}

.service-hero__form textarea {
    height: 110px;
    padding-top: 12px;
    padding-bottom: 12px;
    resize: vertical;
    min-height: 100px;
    max-height: 180px;
}

.service-hero__form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1.4' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.service-hero__form select option {
    background: #111111;
    color: #ffffff;
}

.service-hero__form input::placeholder,
.service-hero__form textarea::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.service-hero__form input:focus,
.service-hero__form select:focus,
.service-hero__form textarea:focus,
.service-hero__form input:focus-visible,
.service-hero__form select:focus-visible,
.service-hero__form textarea:focus-visible {
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: none;
    outline: 1px solid rgba(255, 255, 255, 0.55);
    outline-offset: 1px;
}

.service-hero__form input.is-invalid,
.service-hero__form select.is-invalid,
.service-hero__form textarea.is-invalid {
    border-color: rgba(255, 255, 255, 0.55);
}

.service-hero__error {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.7);
}

.service-hero__error[hidden] {
    display: none;
}

.service-hero__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    padding: 0 18px;
    border: 1px solid #ffffff;
    border-radius: 8px;
    background: #ffffff;
    color: #000000;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.service-hero__submit:hover,
.service-hero__submit:focus {
    background: #eaeaea;
    color: #000000;
}

.service-hero__submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.service-hero .codex-form-message {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.45;
}

.service-hero .codex-form-message.is-error,
.service-hero .codex-form-message.is-success {
    color: rgba(255, 255, 255, 0.85);
}

.service__detail__process {
    scroll-margin-top: 96px;
}

@media (max-width: 1199px) {
    .service-hero__grid {
        gap: 40px 36px;
    }

    .service-hero__fields {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .service-hero {
        padding: 128px 0 64px;
    }

    .service-hero__grid {
        gap: 32px 24px;
    }

    .service-hero__form {
        padding: 24px 20px;
    }
}

@media (max-width: 767px) {
    .service-hero {
        padding: 112px 0 56px;
    }

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

    .service-hero__copy,
    .service-hero__desc {
        max-width: none;
    }

    .service-hero__title {
        font-size: clamp(32px, 8vw, 42px);
    }

    .service-hero__form {
        padding: 24px 20px;
    }

    .service-hero__form-title {
        font-size: 22px;
    }
}
