* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fff;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
}

.image-section {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    overflow: hidden;
}

.image-section img {
    display: block;
    width: 100%;
    height: auto;
}

.cta-band {
    padding: 36px 20px 42px;
    text-align: center;
    background: #071b63;
    color: #fff;
}

.cta-band h1 {
    font-size: clamp(18px, 2vw, 30px);
    line-height: 1.25;
    margin: 0 0 20px;
}

.cta-band a,
.form-panel button,
.mobile-apply {
    display: inline-block;
    background: #a90000;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.7px;
    padding: 13px 25px;
}

.form-panel {
    position: fixed;
    z-index: 30;
    top: 90px;
    right: 0;
    width: 25vw;
    min-width: 300px;
    max-width: 390px;
    min-height: 450px;
    max-height: calc(100vh - 105px);
    overflow-y: auto;
    padding: 27px 25px;
    background: #fff;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
    line-height: normal;
    will-change: transform;
}

.form-heading span {
    font-size: 11px;
    letter-spacing: 1px;
    color: #a90000;
    text-transform: uppercase;
}

.form-heading h2 {
    font-size: 25px;
    line-height: 1.15;
    margin: 9px 0;
}

.form-heading p {
    font-size: 13px;
    line-height: 1.4;
    color: #555;
    margin: 0 0 18px;
}

.form-panel label {
    display: block;
    font-size: 11px;
    color: #444;
    margin: 11px 0;
}

.form-panel input:not([type="checkbox"]),
.form-panel select,
.form-panel textarea {
    display: block;
    width: 100%;
    height: 35px;
    padding: 8px 5px;
    border: 0;
    border-bottom: 1px solid #aaa;
    background: #fff;
    font-size: 14px;
    outline: none;
}

.form-panel textarea {
    height: auto;
    resize: vertical;
    min-height: 58px;
}

.form-panel input:focus,
.form-panel select:focus,
.form-panel textarea:focus {
    border-color: #a90000;
}

.form-panel .consent {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 10px;
    line-height: 1.3;
    color: #555;
}

.form-panel .consent input {
    margin: 0;
}

.form-panel button {
    width: 100%;
    border: 0;
    cursor: pointer;
    margin-top: 11px;
}

.form-panel button span,
.cta-band a span,
.mobile-apply span {
    margin-left: 10px;
    font-size: 18px;
}

.flash {
    padding: 9px;
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 12px;
    background: #ffe4df;
    color: #9c1107;
}

.flash.success {
    background: #e2f3e5;
    color: #17602c;
}

.lead-summary {
    border: 1px solid #ddd;
    padding: 12px;
    margin: 14px 0 20px;
    font-size: 13px;
}

.lead-summary span,
.lead-summary b {
    display: block;
    margin: 4px 0;
}

.lead-summary b {
    font-size: 17px;
}

/* Site Footer */
.site-footer {
    position: relative;
    z-index: 35;
    background: #0b132b;
    color: #cbd5e1;
    padding: 36px 20px 24px;
    font-size: 13px;
    border-top: 3px solid #a90000;
    text-align: center;
    clear: both;
}

.site-footer .footer-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
}

.site-footer .footer-col {
    flex: 1 1 300px;
}

.site-footer .footer-col-right {
    flex: 1 1 240px;
}

.site-footer h4 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
}

.site-footer p {
    margin: 0 0 8px;
    line-height: 1.5;
    color: #94a3b8;
}

.site-footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer .tel-link {
    color: #fff;
    font-weight: bold;
}

.site-footer .wa-link {
    color: #25d366;
    font-weight: bold;
}

.site-footer .highlight-partner {
    color: #e2e8f0;
}

.site-footer .highlight-partner strong {
    color: #fec43a;
}

.site-footer .accreditation {
    color: #94a3b8;
}

.site-footer .footer-bottom {
    max-width: 1140px;
    margin: 24px auto 0;
    padding-top: 16px;
    border-top: 1px solid #1e293b;
    color: #64748b;
    font-size: 12px;
    text-align: center;
}

.mobile-apply {
    display: none;
    position: fixed;
    z-index: 40;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

.mobile-apply span {
    float: right;
}

@media (max-width: 767px) {
    .form-panel {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        min-width: 0;
        max-width: none;
        min-height: 0;
        max-height: none;
        overflow: visible;
        padding: 22px 16px;
        box-shadow: none;
        border-top: 1px solid #ddd;
        transform: none !important;
    }

    .cta-band {
        padding-bottom: 24px;
    }

    .site-footer {
        padding-bottom: 80px; /* leaves room for sticky mobile apply bar */
    }

    .mobile-apply {
        display: block;
    }
}
