
.hero-form-box {
    /*background: #f7f7f5;*/
    min-height: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-form-box > .w-100 {
    max-width: 520px;
    background: #ffffff;
    border-radius: 22px;
    padding: 34px 34px 28px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Form heading */
.form-title {
    font-size: 28px;
    line-height: 1.22;
    font-weight: 700;
    color: #111111;
    margin-bottom: 8px;
}

/* Reduce top spacing */
.hero-form-box .text-center {
    margin-bottom: 22px !important;
}

.hero-form-box .text-center p {
    font-size: 13px !important;
    color: #666 !important;
    margin-bottom: 0;
}

/* Labels */
.hero-form-box .form-label {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #222 !important;
    margin-bottom: 7px;
}

/* Inputs */
.nif-input,
.hero-form-box .form-control,
.hero-form-box .form-select {
    height: 48px;
    border-radius: 10px;
    border: 1px solid #dddddd;
    background-color: #ffffff;
    font-size: 14px;
    color: #111111;
    padding: 10px 14px;
    box-shadow: none;
}

.nif-input:focus,
.hero-form-box .form-control:focus,
.hero-form-box .form-select:focus {
    border-color: #caa64a;
    box-shadow: 0 0 0 0.18rem rgba(202, 166, 74, 0.16);
}

/* Form spacing */
.hero-form-box .mb-3 {
    margin-bottom: 16px !important;
}

.hero-form-box .row.g-3 {
    --bs-gutter-x: 14px;
    --bs-gutter-y: 14px;
}

/* Submit button */
.btn-submit-form {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #d7b452, #a97822);
    color: #000000;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 25px rgba(169, 120, 34, 0.25);
    transition: all 0.25s ease;
}

.btn-submit-form:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(169, 120, 34, 0.32);
}

/* Security text */
#heroForm p {
    font-size: 11px !important;
    color: #999 !important;
    margin-top: 12px !important;
    margin-bottom: 0;
}

/* WhatsApp button */
.form-walink {
    width: 100%;
    min-height: 46px;
    border-radius: 10px;
    border: 1px solid #8ce0ad;
    background: #f0fff6;
    color: #168a45;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.form-walink:hover {
    background: #e3ffef;
    color: #0f7538;
}

/* Success message */
.success-msg {
    display: none;
    text-align: center;
    background: #f0fff6;
    border: 1px solid #b8efce;
    border-radius: 16px;
    padding: 24px;
    margin-top: 15px;
}

.success-msg .check {
    font-size: 36px;
    margin-bottom: 8px;
}

.success-msg h3 {
    font-size: 22px;
    font-weight: 700;
    color: #111;
}

.success-msg p {
    font-size: 14px;
    color: #555;
}

/* Desktop hero height correction */
.hero-section .min-vh-100 {
    min-height: calc(100vh - 95px) !important;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .hero-form-box {
        padding-top: 30px !important;
        padding-bottom: 40px !important;
    }

    .hero-form-box > .w-100 {
        max-width: 100%;
        padding: 28px 22px 24px;
        border-radius: 18px;
    }

    .form-title {
        font-size: 24px;
    }

    .hero-section .min-vh-100 {
        min-height: auto !important;
    }
}

@media (max-width: 575px) {
    .hero-form-box {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .hero-form-box > .w-100 {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .form-title {
        font-size: 22px;
    }

    .hero-form-box .row .col-6 {
        width: 100%;
    }

    .nif-input,
    .hero-form-box .form-control,
    .hero-form-box .form-select {
        height: 46px;
        font-size: 13px;
    }

    .btn-submit-form {
        height: 50px;
        font-size: 13px;
    }
}