/* Service Hero Form - Variant 1 */

.service-hero-form-1 {
    padding: 44px 24px 36px;
    background-color: #ffffff;
}

.service-hero-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 34px 30px 30px;
    border: 1px solid rgba(26, 61, 44, 0.45);
    border-radius: 52px;
    border-bottom-width: 12px;
    background-color: #ffffff;
}

.service-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
    gap: 34px;
    align-items: start;
}

.service-hero-content {
    padding-top: 0;
}

.service-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0 0 20px;
    font-size: 16px;
    font-weight: 700;
}

.service-breadcrumb-item,
.service-breadcrumb-parent,
.service-breadcrumb-current {
    color: var(--color-primary);
    text-decoration: none;
}

.service-breadcrumb-separator {
    color: var(--color-accent);
}

.service-hero-heading {
    margin: 0 0 16px;
    max-width: 580px;
    font-size: clamp(2.5rem, 3.3vw, 3.9rem);
    line-height: 1.06;
    font-weight: 700;
    color: #242b29;
    letter-spacing: -0.03em;
}

.service-hero-description {
    max-width: 580px;
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.42;
    color: #2e3734;
}

.service-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 270px;
    min-height: 60px;
    padding: 14px 24px;
    border-radius: 999px;
    background-color: var(--color-primary);
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 14px 26px rgba(11, 61, 44, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(11, 61, 44, 0.24);
}

.service-form-card {
    padding: 40px 26px 28px;
    border-radius: 22px;
    background-color: rgba(244, 244, 244, 0.91);
    box-shadow: inset 0 -2px 0 rgba(240, 209, 168, 0.95);
    min-height: 680px;
}

.service-form-heading {
    margin: 0 0 22px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-primary);
}

.service-form-subheading {
    margin: 0 0 30px;
    max-width: 380px;
    font-size: 15px;
    line-height: 1.4;
    color: var(--color-primary);
}

.service-page-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.service-form-input,
.service-form-textarea {
    width: 100%;
    padding: 0 10px 9px 12px;
    border: 0;
    border-bottom: 1px solid rgba(36, 43, 41, 0.55);
    background: transparent;
    color: var(--color-primary);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;
    outline: none;
}

.service-form-input::placeholder,
.service-form-textarea::placeholder {
    color: rgba(26, 61, 44, 0.85);
}

.service-form-textarea {
    min-height: 84px;
    resize: vertical;
}

.service-form-submit {
    align-self: center;
    margin-top: 20px;
    min-width: 270px;
    min-height: 54px;
    padding: 14px 24px;
    border: 0;
    border-radius: 999px;
    background-color: var(--color-primary);
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(11, 61, 44, 0.16);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(11, 61, 44, 0.22);
}

.service-form-success,
.service-form-error {
    margin-top: 24px;
    padding: 18px;
    border-radius: 12px;
    text-align: center;
    font-size: 15px;
    line-height: 1.5;
}

.service-form-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.service-form-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 1200px) {
    .service-hero-shell {
        padding: 40px 24px 34px;
    }

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

    .service-form-card {
        min-height: 0;
        padding-top: 40px;
    }
}

@media (max-width: 768px) {
    .service-hero-form-1 {
        padding: 64px 16px 56px;
    }

    .service-hero-shell {
        padding: 38px 20px 32px;
        border-radius: 32px;
        border-bottom-width: 10px;
    }

    .service-breadcrumb {
        justify-content: center;
        gap: 16px;
        font-size: 15px;
        margin-bottom: 24px;
    }

    .service-hero-heading {
        margin-bottom: 24px;
        font-size: clamp(2.7rem, 11vw, 3.5rem);
        line-height: 1.02;
        text-align: center;
    }

    .service-hero-description {
        margin-bottom: 32px;
        font-size: 17px;
        text-align: center;
    }

    .service-hero-cta,
    .service-form-submit {
        min-width: 100%;
        width: 100%;
    }

    .service-form-card {
        padding: 42px 22px 32px;
        border-radius: 24px;
    }

    .service-form-heading,
    .service-form-subheading {
        text-align: center;
    }

    .service-form-heading {
        margin-bottom: 28px;
        font-size: 28px;
    }

    .service-form-subheading {
        margin-bottom: 38px;
        font-size: 17px;
    }

    .service-page-form {
        gap: 28px;
    }
}
