.contact-hero {
    background: #ffffff;
    border-bottom: 1px solid #e6ebf0;
    padding: 48px 0 56px;
    position: relative;
}

.contact-hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 46px;
    flex-wrap: wrap;
}

.contact-hero .contact-breadcrumb {
    position: absolute;
    top: 22px;
    left: var(--container-gutter);
    margin: 0;
}

.contact-hero-text h1 {
    margin: 0;
    font-size: clamp(46px, 8.6vw, 112px);
    line-height: 1;
    letter-spacing: -0.03em;
    font-weight: 400;
    color: #0f172a;
}

.contact-hero-intro {
    margin: 16px 0 0;
    color: #5b6574;
    font-size: 16px;
    line-height: 1.6;
    max-width: 620px;
}

.contact-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 34px;
    border-radius: 4px;
    background: #00a9a0;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 13px;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 169, 160, 0.3);
}

.contact-body {
    background: #cfe4e1;
    padding: 52px 0 70px;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 18px 20px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    max-width: 700px;
    margin: 0 auto;
}

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

.contact-field {
    display: grid;
    gap: 6px;
}

.contact-field.is-hidden {
    display: none;
}

.contact-field label {
    font-weight: 600;
    color: #1f2937;
    font-size: 13px;
}

.contact-required {
    color: #d14343;
    font-weight: 700;
}

.contact-field input,
.contact-field textarea,
.contact-field select {
    width: 100%;
    border: 1px solid #d0d7e2;
    border-radius: 8px;
    padding: 9px 12px;
    font: inherit;
    background: #ffffff;
}

.contact-field textarea {
    min-height: 96px;
    resize: vertical;
}

.contact-field small {
    color: #7c8696;
    font-size: 12px;
}

.contact-error {
    color: #b42318;
    font-size: 12px;
}

.contact-submit {
    justify-self: start;
    background: #0f4c81;
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.contact-success {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 28px 30px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.contact-success h2 {
    margin: 0 0 8px;
    font-size: 28px;
    color: #0f172a;
}

.contact-success p {
    margin: 0;
    color: #5b6574;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 24px 0 36px;
    }

    .contact-hero-row {
        align-items: flex-start;
    }

    .contact-hero-cta {
        width: 100%;
        justify-content: center;
    }

    .contact-form-card {
        padding: 18px 16px;
    }

}
