.rfp-hero { background: linear-gradient(to right, rgba(0, 50, 60, .85) 0%, rgba(0, 50, 60, .65) 40%, transparent 60%) center / cover, url('/images/rfp-project-brief.jpg') center / cover #00323c; padding: clamp(38px, 6vw, 94px) 0; }
.rfp-hero h1 { font-family: Raleway, var(--font); color: white; width: 40%; font-size: 39px; font-weight: 300; line-height: 1.1; margin: 0; }
@media (max-width: 1200px) { .rfp-hero h1 { font-size: 37px; } }
@media (max-width: 1000px) { .rfp-hero h1 { font-size: 35px; } }
@media (max-width: 950px) { .rfp-hero h1 { font-size: 31px; } }
@media (max-width: 780px) { .rfp-hero { background-image: linear-gradient(rgba(0, 40, 48, .74), rgba(0, 40, 48, .74)), url('/images/rfp-project-brief.jpg'); } .rfp-hero h1 { width: 100%; font-size: 25px; } }
.rfp-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
    gap: 150px;
    padding-block: 25px;
    color: #00323c;
    font: 16px var(--font);
}
.rfp-layout h2 { font-family: inherit; font-weight: 400; font-size: 23px; line-height: 1.1; color: inherit; margin: 0 0 18px; }
.rfp-form { display: grid; }
.rfp-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.rfp-form legend { font: 500 12px/1.43 var(--font); margin: 0 0 8px; padding: 0; color: #112337; }
.rfp-form label { display: block; font: 400 16px/1.43 var(--font); margin-bottom: 4px; }
.rfp-form label small, .rfp-form legend small { color: #c02b0a; font-size: 12px; font-weight: 500; }
.rfp-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.rfp-pair label { margin: 0; }
.rfp-pair label input { margin-top: 4px; }
.rfp-form input, .rfp-form select, .rfp-form textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 38px;
    margin: 0 0 18px;
    padding: 0 12px;
    border: 1px solid #00323c;
    border-radius: 7px;
    box-shadow: 0 1px 4px rgb(18 25 97 / 8%);
    background: white;
    color: #00323c;
    font: 400 16px/38px var(--font);
}
.rfp-form select { font-size: 16px; }
.rfp-form textarea { height: 288px; padding: 12px; border-color: #686e77; border-radius: 3px; font-size: 14px; line-height: 21px; resize: vertical; }
#rfp-document::file-selector-button {
    box-sizing: border-box;
    height: 36px;
    vertical-align: top;
    margin: 0 12px 0 0;
    padding: 0 12px;
    border: 0;
    border-right: 1px solid #686e77;
    border-radius: 3px 0 0 3px;
    background: #f5f5f5;
    color: rgba(17, 35, 55, .725);
    font: 500 14px/36px var(--font);
    cursor: pointer;
}
#rfp-deadline:invalid { color: rgba(17, 35, 55, 0.7); }
#rfp-comments { height: 192px; margin-bottom: 8px; }
.rfp-form div > small { display: block; margin-bottom: 8px; font-size: 13px; line-height: 1.43; }
#rfp-document { margin-bottom: 12px; }
#rfp-limit, #rfp-comments-hint, #rfp-comments-count { color: #585e6a; }
#rfp-limit { margin-bottom: 6px; }
.rfp-layout [role=alert] { color: #98262d; }
.rfp-form :focus-visible, .rfp-help a:focus-visible { outline: 2px solid #204ce5; outline-offset: 2px; }
.rfp-form .rfp-consent { display: flex; font-size: 14px; align-items: center; gap: 10px; margin: 6px 0 0; cursor: pointer; }
.rfp-consent input[type=checkbox] {
    appearance: none;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    flex: none;
    margin: 0;
    padding: 0;
    border: 1px solid #285563;
    border-radius: 50%;
    box-shadow: none;
    cursor: pointer;
}
.rfp-consent input:checked { background: #007d80; color: white; }
.rfp-consent input:checked::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: translateY(-1px) rotate(45deg);
}
.rfp-form .btn { justify-self: start; margin-top: 24px; height: 38px; padding: 0 16px; border: 1px solid transparent; border-radius: 3px; background: #204ce5; color: white; font: 500 14px/1 var(--font); cursor: pointer; }
.rfp-help { box-sizing: border-box; position: relative; min-height: 250px; padding: 30px 30px 60px; border-radius: 40px 0; background: #00b9b9; color: white; }
.rfp-help p { font: inherit; font-size: 17px; line-height: 1.3; margin: 0 0 18px; color: white; }
.rfp-help a { position: absolute; bottom: 30px; display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 14px 30px; border: 1px solid white; border-radius: 9999px; color: white; font-size: 16px; }

.rfp-help a:hover { background: white; color: #00323c; }
@media (max-width: 1100px) { .rfp-layout { gap: 60px; } }
@media (max-width: 781px) {
    .rfp-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 18px; }
    .rfp-layout h2 { font-size: 19px; }
    .rfp-help { min-height: auto; padding-bottom: 90px; }
    .rfp-help p { font-size: 15px; }
    .rfp-help a { min-height: 46px; padding-inline: 22px; font-size: 14px; }
}
@media (max-width: 640px) { .rfp-pair { grid-template-columns: minmax(0, 1fr); } }
.rfp-file-localized { position: relative; display: flex; align-items: center; height: 38px; box-sizing: border-box; border: 1px solid #00323c; border-radius: 7px; margin-bottom: 12px; overflow: hidden; }
.rfp-file-button { flex: none; padding: 0 12px; height: 36px; border-right: 1px solid #686e77; background: #f5f5f5; color: rgba(17,35,55,.725); font: 500 14px/36px var(--font); }
#rfp-file-name { padding: 0 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rfp-file-localized #rfp-document { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rfp-file-localized:focus-within { outline: 2px solid #204ce5; outline-offset: 2px; }
.rfp-date-localized { position: relative; }
.rfp-date-localized #rfp-deadline { padding-right: 45px; }
.rfp-date-localized .rfp-date-picker { position: absolute; right: 8px; top: 0; width: 26px; padding: 0; border: 0; box-shadow: none; background: transparent; color: transparent; }
.rfp-date-picker::-webkit-datetime-edit { display: none; }
.rfp-date-picker::-webkit-calendar-picker-indicator { cursor: pointer; margin: 0; }

html:lang(en) .rfp-file-localized { background: white; }
