[hidden] { display: none !important; }
.privacy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    min-height: 44px;
    border: 2px solid #152c46;
    border-radius: 8px;
    background: #fff;
    color: #152c46;
    font: 600 16px 'Barlow', sans-serif;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
}
.privacy-button:hover { background: #eaf4fc; }
.privacy-button:disabled { opacity: .6; cursor: wait; }
.privacy-button:focus-visible, .privacy-link-button:focus-visible,
.cookie-dialog input:focus-visible { outline: 3px solid #0876bf; outline-offset: 3px; }
.footer { flex-wrap: wrap; }
.privacy-links {
    display: flex;
    flex: 1 0 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 28px;
    padding: 16px 5px 6px;
}
.privacy-link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #acf940;
    font: 400 13px 'Barlow', sans-serif;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.cookie-banner {
    position: fixed;
    z-index: 10000;
    inset: auto 18px 18px;
    margin: 0 auto;
    max-width: 1100px;
    max-height: calc(100dvh - 36px);
    overflow-y: auto;
    padding: 24px;
    border: 1px solid #b9c7d4;
    border-radius: 16px;
    box-shadow: 0 8px 45px #152c4640;
    background: white;
    color: #152c46;
}
.cookie-banner h2, .cookie-dialog h2 { font-size: 24px; line-height: 1.25; margin-bottom: 12px; }
.cookie-banner p, .cookie-dialog p { margin: 12px 0; line-height: 1.55; }
.cookie-banner a, .cookie-dialog a { color: #075b94; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.cookie-actions .privacy-button { flex: 1 1 160px; }
.cookie-dialog {
    position: fixed;
    inset: 0;
    width: min(700px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    margin: auto;
    padding: 28px;
    border: 1px solid #b9c7d4;
    border-radius: 16px;
    color: #152c46;
    background: #fff;
    font-size: 16px;
}
.cookie-dialog::backdrop { background: #0c2038aa; }
.cookie-option { display: flex; align-items: start; gap: 12px; margin-top: 20px; cursor: pointer; }
.cookie-option input, .future-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; accent-color: #152c46; }
.cookie-dialog details { margin-top: 20px; padding: 16px; border: 1px solid #d8e2ea; border-radius: 8px; }
.cookie-dialog summary { cursor: pointer; font-weight: 600; }
.cookie-dialog li { margin: 8px 0 8px 20px; line-height: 1.5; }
.cookie-error { color: #a51b1b; font-weight: 600; }
.map-container { flex: 1 1 0; min-width: 0; height: 100%; }
.map-container .contact-map { display: block; height: 100%; }
.map-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 16px;
    width: 100%;
    height: 100%;
    padding: 28px;
    background: #eaf2f7;
    color: #152c46;
}
.map-placeholder h3 { font-size: 24px; }
.map-placeholder p { line-height: 1.5; font-size: 16px; }
.form-privacy { margin-top: 24px; font-size: 15px; line-height: 1.6; }
.form-privacy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form-privacy .future-consent { display: flex; gap: 12px; margin-top: 18px; font-size: 15px; line-height: 1.6; cursor: pointer; }
.application-form .future-consent input { padding: 0; border-radius: 3px; }
.legal-page { margin: 0; color: #252525; background: #fff; font: 15px/1.65 Arial, sans-serif; }
.legal-page * { box-sizing: border-box; }
.legal-page .privacy-button, .legal-page .privacy-link-button { font-family: Arial, sans-serif; }
.legal-header, .legal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 900px;
    margin: auto;
    padding: 22px 0;
}
.legal-header { border-bottom: 1px solid #d7dce3; }
.legal-header img { display: block; width: 155px; height: auto; }
.legal-header nav { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; font-size: 13px; }
.legal-page a { color: #1a3a6b; text-underline-offset: 3px; }
.legal-header [aria-current] { font-weight: bold; }
.legal-content { max-width: 900px; margin: 0 auto; padding: 28px 0 44px; }
.legal-content h1 { margin: 0 0 8px; color: #0b1f45; font: bold 28px/1.3 Arial, sans-serif; }
.legal-content h2 { margin: 28px 0 10px; color: #1a3a6b; font-size: 19px; line-height: 1.4; scroll-margin-top: 20px; }
.legal-content p { margin: 0 0 14px; overflow-wrap: anywhere; }
.legal-content article > p:first-of-type { margin-bottom: 4px; color: #1a3a6b; font-size: 12px; }
.legal-content article > p:nth-of-type(2) { margin-bottom: 22px; color: #666; font-size: 12px; }
.legal-content ul { margin: 0 0 16px; padding-left: 24px; }
.legal-content li { margin: 6px 0; }
.legal-summary { margin: 24px 0; padding: 16px 18px; background: #f4f6fa; border-left: 3px solid #c82d42; }
.legal-summary p { margin: 0 0 8px; }
.legal-summary p:last-child { margin-bottom: 0; }
.legal-language-note { padding: 12px; background: #f4f6fa; }
.legal-table-wrap { overflow-x: auto; margin: 12px 0 24px; }
.legal-content table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.5; }
.legal-content td, .legal-content th { min-width: 130px; padding: 10px 12px; border: 1px solid #cbd2dc; vertical-align: top; text-align: left; }
.legal-content th { background: #1a3a6b; color: #fff; }
.legal-content th[scope="row"] { background: #f4f6fa; color: #252525; }
.legal-content td p, .legal-content th p { margin: 0; }
.legal-content .table-caption { margin: 20px 0 8px; color: #1a3a6b; font-size: 13px; font-weight: bold; }
.legal-footer { border-top: 1px solid #d7dce3; font-size: 12px; }
.legal-footer .privacy-links { flex: 0 1 auto; padding: 0; gap: 12px; justify-content: start; }
.legal-footer .privacy-link-button { color: #1a3a6b; font-size: 12px; }
@media (max-width: 948px) {
    .legal-header, .legal-footer { margin: 0 24px; }
    .legal-content { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 800px) {
    .map-container { flex: none; width: 100%; height: 320px; }
    .map-placeholder { padding: 20px; gap: 10px; }
    .cookie-banner { inset: auto 8px 8px; padding: 18px; max-height: calc(100dvh - 16px); }
    .cookie-dialog { padding: 20px; }
    .cookie-actions { gap: 8px; }
    .cookie-actions .privacy-button { flex-basis: 100%; }
    .legal-content h1 { font-size: 24px; }
}
