.page-hero {width: 100%;padding: 38px 0 34px;background: #f4f7fb;border-bottom: 1px solid #e5eaf1;}
.page-hero .wrap {width: min(1180px, calc(100% - 40px));margin: 0 auto;}
.hero-kicker {display: inline-block;margin-bottom: 7px;color: #164d89;font-size: 12px;line-height: 1.4;font-weight: 800;letter-spacing: 1.2px;text-transform: uppercase;}
.page-hero h1 {margin: 0 0 10px;color: #061b3a;font-size: 34px;line-height: 1.25;font-weight: 600;}
.page-hero p {max-width: 850px;margin: 0;color: #526174;font-size: 15px;line-height: 1.7;}
.container.py-4 {
    max-width: none;
    width: 100%;
    padding: 42px 0 60px !important;
    background: #f4f7fb;
}
.page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    width: min(1125px, calc(100% - 40px));
    margin: 0 auto;
    align-items: start;
}
#form {
    width: 100%;
    padding: 26px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #dce4ed;
    border-radius: 14px;
    box-shadow:
        0 8px 28px
        rgba(15, 23, 42, 0.05);
}
.form-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 20px;
}
.form-group {
    min-width: 0;
    margin: 0;
}
.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin: 0 0 8px;
    color: #071a35;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}
.red-req {
    color: #b42318;
}
.form-group input,
.form-group select,
.form-group textarea {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid #ccd7e4;
    border-radius: 8px;
    background: #ffffff;
    color: #172033;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}
.form-group input,
.form-group select {
    min-height: 46px;
    padding: 10px 14px;
}
.form-group textarea {
    min-height: 105px;
    padding: 12px 14px;
    resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8a97a8;
    opacity: 1;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #164d89;

    box-shadow:
        0 0 0 3px
        rgba(22, 77, 137, .10);

    background: #ffffff;
}
.form-group select {
    cursor: pointer;
    appearance: auto;
}
.form-group textarea[name="address"] {
    min-height: 110px;
}
#other_case_wrap textarea {
    min-height: 90px;
}
.voice-box {
    position: relative;
    display: block;
    width: 100%;
}

.voice-box textarea {
    width: 100%;
    min-height: 125px;
    padding-right: 58px;
}

.mic-btn {
    position: absolute;
    right: 11px;
    bottom: 11px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #164d89;
    border-radius: 50%;
    background: #ffffff;
    color: #164d89;
    font-size: 15px;
    cursor: pointer;
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}
.mic-btn:hover,
.mic-btn:focus {
    background: #164d89;
    color: #ffffff;
}

.mic-btn:active {
    transform: scale(.96);
}
.form-group input[type="file"] {
    min-height: 48px;
    padding: 7px 9px;
    background: #f8fafc;
}
.form-group input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 8px 13px;
    border: 0;
    border-radius: 6px;
    background: #e8f0f8;
    color: #164d89;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.captcha-section {
    width: 100%;
}
.captcha-section label {
    display: block;
    margin-bottom: 8px;
    color: #071a35;
    font-size: 14px;
    font-weight: 700;
}
.captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}
.captcha-question {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 150px;
    min-height: 46px;
    padding: 9px 14px;
    box-sizing: border-box;
    border: 1px solid #d4dde8;
    border-radius: 8px;
    background: #f6f8fb;
    color: #172033;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}
.captcha-row input {
    flex: 1;
    min-width: 0;
    min-height: 46px;
    padding: 10px 14px;
    box-sizing: border-box;
    border: 1px solid #ccd7e4;
    border-radius: 8px;
    background: #ffffff;
    outline: none;
}

.captcha-row input:focus {
    border-color: #164d89;
    box-shadow:
        0 0 0 3px
        rgba(22, 77, 137, .10);
}
.btn-wrapper {
    display: flex;
    justify-content:center;
    width: 100%;
    margin-top: 2px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 46px;
    padding: 10px 22px;
    border: 0;
    border-radius: 8px;
    background: #164d89;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    cursor: pointer;
    box-shadow:
        0 5px 15px
        rgba(22, 77, 137, .15);
    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}
.btn-submit:hover {
    background: #103b6a;
    box-shadow:
        0 7px 18px
        rgba(22, 77, 137, .20);
}
.btn-submit:active {
    transform: translateY(1px);
}
.page-sidebar {
    position: sticky;
    top: 92px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}
.sidebar-card {
    width: 100%;
    padding: 22px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #dce4ed;
    border-radius: 14px;
    box-shadow:
        0 8px 25px
        rgba(15, 23, 42, .05);
}

.sidebar-card h5 {
    margin: 0 0 15px;
    padding: 0 0 10px;
    border-bottom: 1px solid #edf1f5;
    color: #164d89;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.sidebar-card p {
    margin: 0;
    color: #475467;
    font-size: 14px;
    line-height: 1.65;
}
.sidebar-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.sidebar-list li {
    position: relative;
    margin: 0 0 13px;
    padding-left: 21px;
    color: #344054;
    font-size: 14px;
    line-height: 1.55;
}
.sidebar-list li:last-child {
    margin-bottom: 0;
}
.sidebar-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #1677ff;
    font-weight: 800;
}
.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 43px;
    margin-top: 12px;
    padding: 9px 12px;
    box-sizing: border-box;
    border-radius: 8px;
    background: #061b3a;
    color: #ffffff !important;
    text-align: center;
    text-decoration: none !important;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    transition:
        background .2s ease,
        transform .2s ease;
}
.sidebar-btn:hover {
    background: #164d89;
    color: #ffffff !important;
}
.sidebar-btn:active {
    transform: translateY(1px);
}
.sidebar-btn.whatsapp {
    background: #159447;
}

.sidebar-btn.whatsapp:hover {
    background: #117b3d;
}
.alert-success {
    margin-bottom: 20px;
    padding: 12px 15px;
    border: 1px solid #b7e4c7;
    border-radius: 8px;
    background: #edf9f1;
    color: #146c43;
    font-size: 14px;
    line-height: 1.5;
}
.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
    border-color: #b42318;
}
.form-group input.is-valid,
.form-group select.is-valid,
.form-group textarea.is-valid {
    border-color: #159447;
}
@media (max-width: 1100px) {
    .page-grid {
        grid-template-columns:
            minmax(0, 1fr) 290px;
        gap: 22px;
    }
    #form {
        padding: 23px;
    }
}

@media (max-width: 991px) {
    .container.py-4 {
        padding-top: 30px !important;
    }
    .page-grid {
        grid-template-columns: 1fr;
        width: min(
            760px,
            calc(100% - 32px)
        );
    }
    .page-sidebar {
        position: static;
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
    .form-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .page-hero {
        padding: 28px 0;
    }
    .page-hero .wrap {
        width: calc(100% - 30px);
    }
    .page-hero h1 {
        font-size: 27px;
    }
    .page-hero p {
        font-size: 14px;
    }
    .container.py-4 {
        padding:
            24px 0
            40px !important;
    }
    .page-grid {
        width: calc(100% - 24px);
        gap: 18px;
    }
    #form {
        padding: 18px;
        border-radius: 12px;
    }
    .form-grid {
        grid-template-columns: 1fr;
        row-gap: 17px;
    }
    .form-group.full {
        grid-column: auto;
    }
    .form-group label {
        font-size: 14px;
    }
    .form-group input,
    .form-group select {
        min-height: 45px;
    }
    .voice-box textarea {
        min-height: 115px;
        padding-right: 52px;
    }
    .mic-btn {
        right: 9px;
        bottom: 9px;
        width: 35px;
        height: 35px;
    }
    .captcha-row {
        flex-direction: column;
        align-items: stretch;
    }
    .captcha-question {
        flex: none;
        width: 100%;
    }
    .btn-wrapper {
        justify-content: stretch;
    }
    .btn-submit {
        width: 100%;
        min-width: 0;
    }
    .page-sidebar {
        grid-template-columns: 1fr;
    }
    .sidebar-card {
        padding: 18px;
        border-radius: 12px;
    }
}
@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 24px;
    }
    #form {
        padding: 15px;
    }
    .form-grid {
        gap: 15px;
    }
    .sidebar-card {
        padding: 16px;
    }
}