/* Shared bilingual navigation. Loaded after reference.css on every page. */
[hidden] { display: none !important; }
.site-header { position: sticky; top: 0; }
.header-inner { gap: 16px; min-height: 80px; }
.header-inner .brand { flex: 0 1 290px; min-width: 0; gap: 10px; }
.header-inner .brand-name { min-width: 0; padding-left: 10px; }
.header-inner .brand-name strong { font-size: .88rem; }
.header-inner .brand-name small { font-size: .68rem; }
.main-nav { order: 2; gap: 18px; margin-left: auto; }
.main-nav > a, .service-toggle { font-size: .8rem; font-weight: 750; }
.service-menu { position: relative; }
.service-toggle { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 12px 0; border: 0; background: none; color: #173864; cursor: pointer; white-space: nowrap; }
.service-toggle.active, .service-toggle[aria-expanded="true"] { color: var(--blue); }
.nav-chevron { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; margin-top: -4px; }
.service-toggle[aria-expanded="true"] .nav-chevron { transform: rotate(225deg); margin-top: 3px; }
.service-links { position: absolute; top: calc(100% + 8px); left: -16px; z-index: 45; width: 310px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 16px 40px rgba(10,40,85,.16); }
.service-links a { display: flex; align-items: center; min-height: 46px; padding: 11px 12px; border-radius: 7px; font-size: .82rem; line-height: 1.4; white-space: normal; }
.service-links a::after { display: none; }
.service-links a:hover, .service-links a:focus-visible, .service-links a[aria-current="page"] { background: #eef5ff; color: var(--blue); }
.service-links .all-services-link { border-bottom: 1px solid var(--line); border-radius: 0; margin-bottom: 5px; }
.language-switch { order: 3; display: flex; flex: 0 0 auto; padding: 3px; border: 1px solid #d4e3f5; border-radius: 9px; background: #f6faff; }
.language-switch button { min-width: 40px; min-height: 40px; padding: 7px; border: 0; border-radius: 6px; background: transparent; color: #405977; font-size: .76rem; font-weight: 800; cursor: pointer; }
.language-switch button[aria-pressed="true"] { background: var(--blue); color: #fff; box-shadow: 0 2px 6px rgba(11,89,198,.15); }
.language-switch button:hover:not([aria-pressed="true"]) { background: #e4effc; }
.nav-cta { order: 4; margin-left: 0; padding: 10px 14px; }
.main-nav .mobile-cta { display: none; }
.menu-toggle { order: 4; cursor: pointer; flex: 0 0 44px; width: 44px; height: 44px; }
.brochure-hero h1, .specific-title h3 { overflow-wrap: break-word; }
.hero-callout span { max-width: 140px; }

@media (max-width: 1250px) and (min-width: 1101px) {
  .header-inner { gap: 12px; }
  .header-inner .brand { flex-basis: 255px; }
  .main-nav { gap: 14px; }
  .nav-cta { display: none; }
}
@media (max-width: 1100px) {
  .header-inner { min-height: 76px; gap: 12px; }
  .header-inner .brand { flex: 1 1 auto; }
  .language-switch { order: 2; margin-left: auto; }
  .menu-toggle { display: block; order: 3; margin-left: 0; }
  .nav-cta { display: none; }
  .main-nav { display: none; position: absolute; top: 100%; left: 21px; right: 21px; z-index: 40; margin: 0; padding: 10px; border: 1px solid #d4e5f8; border-radius: 0 0 12px 12px; background: #fff; box-shadow: 0 16px 30px rgba(18,70,125,.16); max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain; }
  .main-nav.open { display: grid; gap: 2px; }
  .main-nav > a, .service-toggle { display: flex; align-items: center; min-height: 46px; width: 100%; padding: 11px 13px; border-radius: 7px; font-size: .9rem; }
  .main-nav > a::after { display: none; }
  .main-nav > a:hover, .main-nav > a.active, .service-toggle:hover, .service-toggle[aria-expanded="true"] { background: #eef5ff; color: var(--blue); }
  .service-toggle { justify-content: space-between; text-align: left; white-space: normal; }
  .service-links { position: static; width: auto; margin: 3px 0 6px 13px; padding: 4px 7px; border: 0; border-left: 2px solid #c5dcf6; border-radius: 0; box-shadow: none; background: #f7fbff; }
  .service-links a { font-size: .84rem; }
  .main-nav .mobile-cta { display: flex; justify-content: center; margin-top: 5px; background: var(--blue); color: #fff; }
}
/* Keep translated hero copy and labels separate on narrow tablets as well as phones. */
@media (min-width: 701px) and (max-width: 950px) {
  .hero { display: flex; flex-direction: column; min-height: 0; background: #f3faff; }
  .hero-art { position: relative; order: 2; width: 100%; height: 330px; object-position: 68% 68%; }
  .hero-wash { display: none; }
  .hero-layout { order: 1; min-height: 0; }
  .hero-copy { width: 100%; max-width: 650px; padding: 32px 0 24px; }
  .hero h1 { font-size: 3rem; }
  .hero-lead { max-width: 580px; }
  .hero-callouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-bottom: 18px; }
  .hero-callout { position: static; min-height: 48px; padding: 9px 12px; font-size: .72rem; box-shadow: none; }
  .main-service-grid { grid-template-columns: 1fr; }
  .main-service-card { min-height: 215px; grid-template-columns: 49px 1fr; }
  .main-service-copy p { max-width: 310px; min-height: 0; font-size: .85rem; }
  .main-service-copy .check-list li { font-size: .82rem; min-height: 22px; }
}
@media (max-width: 600px) {
  .header-inner { min-height: 104px; flex-wrap: wrap; column-gap: 8px; row-gap: 0; padding-block: 7px; }
  .header-inner .brand { flex: 0 0 100%; gap: 9px; }
  .header-inner .brand-mark { flex-basis: 40px; width: 40px; height: 40px; }
  .header-inner .brand-name strong { font-size: .82rem; }
  .header-inner .brand-name small { font-size: .64rem; }
  .language-switch { margin-left: 0; margin-right: auto; padding: 2px; }
  .language-switch button { min-width: 44px; min-height: 40px; }
  .main-nav { left: 13px; right: 13px; max-height: calc(100vh - 116px); max-height: calc(100dvh - 116px); }
  main [id] { scroll-margin-top: 120px; }
  .hero-actions .btn { white-space: normal; text-align: center; }
  .section-head-action { display: block; }
  .section-head-action > .btn { margin-top: 12px; white-space: normal; }
  .brochure-actions .btn { white-space: normal; text-align: center; }
  .footer-inner .brand { min-width: 0; }
  .footer-inner > small { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
