/* Shared header layout and central contact dialog. */
.navbar .navbar__inner { display: grid; grid-template-columns: minmax(210px,1fr) auto minmax(210px,1fr); align-items: center; gap: 20px; width: 100%; max-width: 1600px; min-height: 76px; margin-inline: auto; padding: 0 32px; box-sizing: border-box; }
.navbar .logo-svg { justify-self: start; }
.navbar .navbar__nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px,1.65vw,28px); margin: 0; padding: 0; width: max-content; }
.navbar .navbar__nav a { position: relative; display: inline-flex; align-items: center; min-height: 76px; margin: 0; padding: 0; color: #25282a; font-family: Inter,Arial,sans-serif; font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; text-decoration: none; transition: color .18s ease; }
.navbar .navbar__nav a::after { content: ''; position: absolute; right: 0; bottom: 17px; left: 0; width: auto; height: 2px; border-radius: 1px; background: #bd282d; opacity: 0; transform: scaleX(.55); transition: opacity .18s ease,transform .18s ease; }
.navbar .navbar__nav a:hover, .navbar .navbar__nav a[aria-current="page"] { color: #bd282d; }
.navbar .navbar__nav a:hover::after, .navbar .navbar__nav a[aria-current="page"]::after { opacity: 1; transform: scaleX(1); }
.navbar .navbar__right { display: flex; justify-self: end; justify-content: flex-end; align-items: center; gap: 18px; margin: 0; }
.navbar .navbar__phone { white-space: nowrap; font-size: 13px; font-weight: 600; }
.navbar .navbar__cta, .navbar .navbar__mobile-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 0; padding: 12px 20px; box-sizing: border-box; border: 1px solid #bd282d; border-radius: 7px; background: #bd282d; color: #fff; font: 600 13px/1.3 Inter,Arial,sans-serif; letter-spacing: 0; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .18s ease,border-color .18s ease; }
.navbar .navbar__cta:hover, .navbar .navbar__mobile-cta:hover { border-color: #a62026; background: #a62026; color: #fff; }
.navbar :is(a,button):focus-visible { outline: 2px solid #bd282d; outline-offset: 5px; }
.contact-widget.contact-dialog { position: fixed; inset: 0; width: 420px; max-width: calc(100vw - 32px); height: fit-content; max-height: calc(100dvh - 40px); margin: auto; padding: 0; overflow: visible; border: 0; border-radius: 18px; background: transparent; z-index: 10000; }
.contact-dialog::backdrop { background: rgba(10,13,18,.58); backdrop-filter: blur(4px); }
.contact-dialog .contact-widget__panel { position: static; width: 100%; max-width: none; max-height: calc(100dvh - 40px); margin: 0; box-shadow: 0 24px 90px rgba(0,0,0,.24); animation: none; }
.contact-dialog .contact-widget__head { padding: 28px 26px 22px; }
.contact-dialog .contact-widget__head h2 { font-size: 26px; }
.contact-dialog .contact-widget__links { padding: 10px 16px 16px; }
.contact-dialog .contact-widget__link { padding: 16px 12px; }
body.contact-dialog-open { overflow: hidden; }
@media (max-width: 1340px) { .navbar .navbar__phone { display: none; } }
@media (max-width: 1090px) {
  .navbar .navbar__inner { display: flex; justify-content: space-between; min-height: 70px; padding-inline: 24px; }
  .navbar .navbar__nav { display: none; }
  .navbar .navbar__right { margin-left: auto; gap: 20px; }
  .navbar .navbar__burger { display: flex; }
  .navbar .navbar__mobile { padding-inline: 24px; }
  .navbar .navbar__mobile a { font-weight: 600; }
  .navbar .navbar__mobile-cta { width: 100%; margin: 12px 0 4px; }
}
@media (max-width: 560px) {
  .navbar .navbar__inner { min-height: 68px; padding-inline: 20px; gap: 12px; }
  .navbar .navbar__right { gap: 14px; }
  .navbar .navbar__cta { display: none; }
  .contact-dialog .contact-widget__head { padding: 24px 20px 20px; }
  .contact-dialog .contact-widget__head h2 { font-size: 24px; }
  .contact-dialog .contact-widget__links { padding: 8px 12px 12px; }
}
@media (prefers-reduced-motion: reduce) { .navbar :is(a,button), .navbar .navbar__nav a::after { transition: none; } }
