/* Modern skin for imported pages. Scoped so the new header and footer stay untouched. */
.legacy-body {
    font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(44, 76, 205, 0.08), transparent 32rem),
        radial-gradient(circle at bottom left, rgba(193, 58, 56, 0.06), transparent 28rem),
        #f7f8fc;
    padding-bottom: 3rem;
}

.legacy-body h1,
.legacy-body h2,
.legacy-body h3,
.legacy-body h4,
.legacy-body h5,
.legacy-body h6 {
    font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    letter-spacing: -0.03em;
}

.legacy-body .card,
.legacy-body .contact_inner,
.legacy-body .contact_form_inner {
    border: 1px solid #e7e9f0 !important;
    border-radius: 1.5rem !important;
    background: #fff;
    box-shadow: 0 10px 35px rgba(23, 27, 50, 0.06);
}

.legacy-body .btn,
.legacy-body button,
.legacy-body input[type="submit"],
.legacy-body .contact_form_submit {
    border-radius: 0.9rem !important;
    font-weight: 700;
    letter-spacing: 0;
}

.legacy-body .btn-primary,
.legacy-body .btn-danger,
.legacy-body .contact_form_submit,
.legacy-body button[type="submit"] {
    background: linear-gradient(105deg, #2c4ccd 0%, #7844a3 52%, #c13a38 100%) !important;
    border: 0 !important;
    color: #fff !important;
}

.legacy-body .form-control,
.legacy-body .form-select,
.legacy-body textarea,
.legacy-body input[type="text"],
.legacy-body input[type="email"],
.legacy-body input[type="tel"],
.legacy-body input[type="number"] {
    border: 1px solid #e7e9f0 !important;
    border-radius: 0.85rem !important;
    background: #fff;
}

.legacy-body .form-control:focus,
.legacy-body textarea:focus,
.legacy-body input:focus {
    border-color: #2c4ccd !important;
    box-shadow: 0 0 0 3px rgba(44, 76, 205, 0.15) !important;
}

.legacy-body section {
    scroll-margin-top: 6rem;
}
