.contact-form-grid {
    max-width: 600px;
}

.contact-form-section-title {
    display: none;
}

@media (max-width: 767.98px) {
    .contact-form-page {
    .contact-form-card {
        margin-top: 0;
        overflow: hidden;
        border: 1px solid #edf2f7 !important;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07) !important;
    }

    .contact-form-card-header {
        padding: 14px !important;
        border-bottom: 1px solid #edf2f7;
        background: linear-gradient(180deg, #fff 0%, #fbfdff 100%) !important;
    }

    .contact-form-desktop-back {
        display: none !important;
    }

    .contact-form-title {
        display: flex;
        min-width: 0;
        align-items: center;
        color: #0f172a;
        font-size: 16px;
        font-weight: 800;
        line-height: 1.35;
    }

    .contact-form-title::before {
        content: "\F4CF";
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        margin-right: 7px;
        border-radius: 10px;
        background: #eaf3ff;
        color: #0d6efd;
        font-family: "bootstrap-icons";
        font-size: 15px;
        line-height: 1;
    }

    .contact-form-content {
        padding: 12px !important;
        background: #f6f8fb;
    }

    .contact-form-fields {
        overflow: hidden;
        border: 1px solid #edf2f7;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    }

    .contact-form-section-title {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 12px 0;
        color: #0f172a;
        font-size: 15px;
        font-weight: 800;
        line-height: 1.35;
    }

    .contact-form-section-title .bi {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        border-radius: 9px;
        background: #eaf3ff;
        color: #0d6efd;
        font-size: 14px;
    }

    .contact-form-grid {
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
        max-width: none;
        margin: 0;
        padding: 12px;
    }

    .contact-form-grid > [class*="col-"] {
        width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    .contact-form-grid > [class*="col-"] + [class*="col-"] {
        margin-top: 13px;
    }

    .contact-form-grid .form-label {
        display: block;
        margin-bottom: 6px;
        color: #334155;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.35;
    }

    .contact-form-grid .form-control {
        min-height: 42px;
        width: 100%;
        border-color: #dbe3ee;
        border-radius: 10px;
        background-color: #fff;
        color: #0f172a;
        font-size: 14px;
        box-shadow: none;
    }

    .contact-form-grid .form-control:focus {
        border-color: #86b7fe;
        box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
    }

    .contact-form-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
        width: 100%;
        margin-top: 16px !important;
        padding-top: 12px;
        border-top: 1px solid #edf2f7;
        background: #fff;
    }

    .contact-form-actions .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        width: 100%;
        margin: 0 !important;
        padding: 0 10px !important;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 800;
        line-height: 1.2;
        white-space: nowrap;
    }

    .contact-form-actions .btn-light {
        border-color: #dbe3ee;
        background: #f8fafc;
        color: #334155;
    }
}
