/* Shared refinements: preserve desktop composition, center compact layouts. */
.btn-primary,.btn-outline,.btn-connect,.theme-toggle-btn,.tab-btn,.c-btn {justify-content:center;text-align:center;max-width:100%;}
.btn-primary,.btn-outline {white-space:normal;overflow-wrap:anywhere;}
:where(.hero,.grid-2,.grid-3,.grid-4,.console-body,.contact-strip,.client-coverage-box,.coverage-grid,.culture-strip,.job-row) > * {min-width:0;}
:where(.sec-title,.job-name,.sleek-title,.hero-title,.career-title,.form-notice,.cov-detail) {overflow-wrap:anywhere;}
:where(a,button):focus-visible {outline:2px solid var(--primary);outline-offset:3px;}
@media(max-width:900px){
 .nav-row {flex-direction:column;align-items:center;justify-content:center;}
 .nav-links,.nav-actions,.hud-flex,.footer-row,.footer-links,.partner-bar,.hero-actions,.console-nav,.console-tabs {justify-content:center;align-items:center;text-align:center;}
 .nav-links,.footer-links {padding:0;margin-inline:auto;}
 main,.grid-2,.grid-3,.grid-4,.console-body,.careers-banner-strip,.client-coverage-box,.coverage-grid {text-align:center;}
 .grid-2 > div,.careers-banner-strip > div,.footer-row > div {min-width:0;max-width:100%;}
 .hero-sub,.career-sub,.sec-desc,.careers-banner-strip p {margin-inline:auto;}
 .careers-banner-strip {flex-direction:column;align-items:center;justify-content:center;}
 .pill {justify-content:center;text-align:center;max-width:100%;}
 .spec-list,.job-points {padding:0;margin-inline:auto;text-align:center;}
 .spec-list li,.job-points li {display:block;text-align:center;overflow-wrap:anywhere;}
 .spec-list li::before,.job-points li::before {display:inline;margin-right:.4em;}
 .job-row .btn-primary {justify-self:center;}
 .footer-row {flex-direction:column;align-items:center;}
 footer .wrap > div:last-child {justify-content:center!important;text-align:center;}
 .form-notice,.apply-section form,.consultation-body form {text-align:left;}
 .apply-section form button[type=submit],.consultation-body form button[type=submit] {display:flex;justify-content:center;align-items:center;margin-inline:auto;}
 .consultation-header {text-align:center;padding-inline:56px;}
 .cookie-btn-row {justify-content:center;}
}
@media(max-width:600px){
 .hero-actions {flex-direction:column;align-items:center;gap:10px;}
 .hero-actions > a {width:min(100%,320px);}
 .nav-actions {flex-wrap:wrap;}
 .hero-kpis {grid-template-columns:repeat(2,minmax(0,1fr));}
 .hud-console,.careers-banner-strip,.client-coverage-box {padding:18px;}
 .console-tabs {width:100%;}
 .tab-btn {min-height:38px;}
 .partner-bar {gap:12px;}
 .partner-bar > :first-child {flex-basis:100%;}
 .form-ctrl {font-size:16px;}
 input[type=file] {width:100%;max-width:100%;}
 .consultation-header {padding-inline:45px;}
}
/* Native dialog opens in the top layer, including over a consultation. */
html.privacy-open,html.privacy-open body {overflow:hidden;}
.privacy-dialog {position:fixed;inset:0;margin:auto;padding:0;width:min(780px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:hidden;border:1px solid var(--primary);border-radius:12px;background:var(--bg-card);color:var(--text);box-shadow:var(--shadow);}
.privacy-dialog::backdrop {background:rgba(0,5,12,.78);backdrop-filter:blur(4px);}
.privacy-panel {display:flex;flex-direction:column;max-height:calc(100vh - 34px);max-height:calc(100dvh - 34px);min-width:0;}
.privacy-header,.privacy-actions {flex:none;padding:16px 24px;background:var(--bg-card);text-align:center;}
.privacy-header {border-bottom:1px solid var(--border-color);}
.privacy-header h2 {font-size:clamp(1.15rem,3vw,1.6rem);line-height:1.3;margin:0;overflow-wrap:anywhere;}
.privacy-content {min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 26px;text-align:left;font-size:.9rem;line-height:1.65;color:var(--text-secondary);overflow-wrap:anywhere;}
.privacy-content h2 {font-size:1.05rem;line-height:1.4;color:var(--primary);margin:1.2em 0 .45em;}
.privacy-content p {margin:0 0 .85em;}
.privacy-content ul,.privacy-content ol {padding-left:1.35em;margin:0 0 1em;}
.privacy-content a {color:var(--primary);text-decoration:underline;}
.privacy-actions {border-top:1px solid var(--border-color);display:flex;justify-content:center;}
.privacy-actions button {min-width:120px;min-height:44px;}
@media(max-width:600px){
 .privacy-dialog {width:calc(100% - 20px);max-width:calc(100% - 20px);max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);}
 .privacy-panel {max-height:calc(100vh - 22px);max-height:calc(100dvh - 22px);}
 .privacy-header,.privacy-actions {padding:12px 16px;}
 .privacy-content {padding:16px;font-size:.9rem;}
}

/* Keep privacy links legible inside the forms in either theme. */
.form-notice a,.cookie-box a {color:var(--primary);text-decoration:underline;}
