/* Shared accessibility and small-screen fixes. */
.btn-primary, .btn-invoice, .btn-proposal, .btn-next { border-radius: 8px; }
.form-privacy-note a { text-decoration: underline; text-underline-offset: 3px; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible, .contact-form select:focus-visible { outline: 3px solid #1765a6; outline-offset: 3px; }
.header-container, .footer-container { width: min(1120px, calc(100% - 40px)); max-width: none; margin: 0 auto; }
.contact-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.contact-grid > *, .contact-method > *, .info-card, .hero-panel { min-width: 0; }
.contact-method a, .legal-document a, .footer-column a, .legal-details dd { overflow-wrap: anywhere; }
.contact-form input, .contact-form textarea, .contact-form select { min-width: 0; max-width: 100%; }
.get-proposal { width: min(720px, calc(100% - 40px)); }
.hero-content { width: min(760px, 100%); margin: 0 auto; }
.hero { background-image: url('../images/home-hero-bg.webp'); }
.secondary-link { color: #1e2345; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; padding: 12px 8px; display: inline-flex; align-items: center; justify-content: center; }
.legal-action { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal-links .legal-action { color: #ccc; font-size: .95em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #1765a6; outline-offset: 4px; }
header :focus-visible, footer :focus-visible { outline-color: #fff; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 2000; padding: 10px 18px; color: #fff; background: #1e2345; }
.skip-link:focus { top: 12px; }
.consent-banner { position: fixed; inset: auto 0 0; z-index: 1000; background: #fff; color: #1d2433; border-top: 2px solid #1e2345; box-shadow: 0 -4px 20px #0002; max-height: 75dvh; overflow: auto; }
.consent-banner[hidden] { display: none; }
.consent-inner { width: min(1120px, calc(100% - 32px)); margin: auto; padding: 18px 0; display: flex; gap: 24px; align-items: center; }
.consent-inner h2 { font-size: 18px; line-height: 1.3; margin-bottom: 6px; }
.consent-inner p { font-size: 14px; line-height: 1.5; }
.consent-inner a { text-decoration: underline; }
.consent-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.consent-actions button { background: #1e2345; color: #fff; border: 1px solid #1e2345; border-radius: 6px; font: 700 14px Arial,sans-serif; padding: 12px 16px; min-height: 44px; cursor: pointer; }
.consent-actions button:hover { background: #343d72; }
.form-alert { overflow-wrap: anywhere; }
.page-404 { min-height: 55vh; }
@media (max-width: 960px) {
  #primary-navigation a { display: block; }
  #primary-navigation .language-option { display: inline-flex; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .mobile-legal-links .legal-action { padding: 12px 10px; min-height: 44px; font-size: .9em; text-align: left; text-decoration: none; }
  .consent-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .consent-actions { flex-wrap: wrap; }
  .consent-actions button { flex: 1 1 150px; }
  .get-proposal { width: min(620px, calc(100% - 28px)); }
}
@media (max-width: 640px) {
  .hero { background-image: url('../images/home-hero-mobile.webp'); }
  .header-container, .footer-container { width: calc(100% - 28px); }
  .page-hero .section-inner, .section-block .section-inner, .cta-band .section-inner { width: 100%; }
  .contact-method { gap: 10px; padding: 18px; }
  .contact-method i { min-width: 24px; width: 24px; font-size: 22px; }
  .hero h1 { font-size: 30px; overflow-wrap: break-word; }
  .hero-content { width: 100%; }
  .proposal-buttons { align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
