.ipm-language { position: relative; flex: 0 0 auto; direction: ltr; }
.ipm-language-toggle { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 10px; border: 1px solid #cfdee4; border-radius: 4px; background: #fff; color: #123342; font: 600 13px/1.4 Arial,sans-serif; cursor: pointer; white-space: nowrap; }
.ipm-language-globe { width:18px; height:18px; display:block; flex:0 0 18px; }
.ipm-language-caret { width:6px; height:6px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); margin:-3px 2px 0 3px; }
.ipm-language-toggle:hover,.ipm-language-toggle[aria-expanded="true"] { border-color:#14a5a7; background:#edf8f8; }
.ipm-language-panel { position:absolute; top:calc(100% + 10px); right:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px; width:320px; max-width:calc(100vw - 32px); max-height:min(440px,calc(100dvh - 110px)); padding:8px; overflow-y:auto; overscroll-behavior:contain; border:1px solid #cddfe4; border-top:2px solid #14a5a7; border-radius:4px; box-shadow:0 8px 24px #12334226; background:#fff; color:#123342; z-index:120; text-align:center; }
.ipm-language-panel[hidden],.ipm-language-message[hidden] { display:none; }
.ipm-language-panel > button { min-width:0; min-height:44px; padding:10px 8px; border:1px solid transparent; border-radius:3px; color:inherit; background:transparent; font:14px/1.4 Arial,sans-serif; text-align:center; cursor:pointer; overflow-wrap:anywhere; }
.ipm-language-panel > button:hover { background:#f0f6f8; }
.ipm-language-panel > button[aria-pressed="true"] { color:#087d80; border-color:#83cacc; background:#edf8f8; }
.ipm-language-panel > button:disabled { opacity:.5; cursor:wait; }
.ipm-language-toggle:focus-visible,.ipm-language-panel > button:focus-visible { outline:2px solid #087d80; outline-offset:3px; }
.ipm-language[aria-busy="true"] .ipm-language-globe { animation:ipm-language-pulse 1s ease-in-out infinite alternate; }
.ipm-language-message { position:fixed; bottom:18px; left:50%; transform:translateX(-50%); width:max-content; max-width:calc(100% - 40px); padding:12px 16px; background:#123342; color:#fff; border:1px solid #14a5a7; border-radius:4px; z-index:130; font:14px/1.5 Arial,sans-serif; text-align:center; }
.ipm-language-message button { min-height:44px; margin-left:10px; padding:6px 12px; border:1px solid #82d6d7; border-radius:3px; color:#fff; background:#087d80; cursor:pointer; }
.ipm-language-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.ipm-language-rtl main,.ipm-language-rtl .site-footer { direction:rtl; }
.ipm-language-rtl .site-header { direction:ltr; }
.site-header .main-nav { list-style:none; }
.site-header .main-nav > li::marker { content:""; }
.site-header .main-nav > li { flex:0 0 auto; }
@media (min-width:1661px) { .site-header .nav-wrap { width:min(1880px,calc(100% - 40px)); } }
.site-header .main-nav.is-open { align-items:center; justify-content:flex-start; }
.ipm-language-panel > button { white-space:normal; }
.site-header .nav-toggle { min-width:44px; min-height:44px; }
.site-header.ipm-navigation-compact .nav-toggle { display:flex; align-items:center; justify-content:center; flex:0 0 44px; width:44px; padding:0; }
.site-header .nav-toggle { border:1px solid #d8e3e8; border-radius:4px; background:#fff; color:#102a3a; font-size:22px; cursor:pointer; }
.site-header.ipm-navigation-compact .brand { margin-right:auto; }
.site-header.ipm-navigation-compact .main-nav { display:none; position:absolute; top:100%; left:14px; right:14px; z-index:60; flex-direction:column; align-items:center; gap:0; padding:12px 16px 20px; max-height:calc(100dvh - 84px); overflow-y:auto; overscroll-behavior:contain; background:#fff; border:1px solid #d2e2e8; box-shadow:0 12px 30px #1233421a; text-align:center; }
.site-header.ipm-navigation-compact .main-nav.is-open { display:flex; }
.site-header.ipm-navigation-compact .main-nav > li { width:100%; text-align:center; }
.site-header.ipm-navigation-compact .main-nav > li > a { display:flex; align-items:center; justify-content:center; min-height:44px; padding:8px 0; font-size:15px; white-space:normal; overflow-wrap:anywhere; text-align:center; }
.site-header.ipm-navigation-compact .ipm-language { width:min(320px,100%); margin-top:10px; }
.site-header.ipm-navigation-compact .ipm-language-toggle { margin:0 auto; min-width:150px; }
.site-header.ipm-navigation-compact .ipm-language-panel { position:static; width:100%; max-width:100%; max-height:none; margin:8px auto 0; box-shadow:none; }
@media (max-width:1660px) {
  .site-header .brand { margin-right:auto; }
  .site-header .nav-toggle { display:flex; align-items:center; justify-content:center; flex:0 0 44px; width:44px; padding:0; }
  .site-header .main-nav { display:none; position:absolute; top:100%; left:14px; right:14px; z-index:60; flex-direction:column; align-items:center; gap:0; padding:12px 16px 20px; max-height:calc(100dvh - 84px); overflow-y:auto; overscroll-behavior:contain; background:#fff; border:1px solid #d2e2e8; box-shadow:0 12px 30px #1233421a; text-align:center; }
  .site-header .main-nav.is-open { display:flex; }
  .site-header .main-nav > li { width:100%; text-align:center; }
  .site-header .main-nav > li > a { display:flex; align-items:center; justify-content:center; min-height:44px; padding:8px 0; font-size:15px; white-space:normal; overflow-wrap:anywhere; text-align:center; }
  .site-header .ipm-language { width:min(320px,100%); margin-top:10px; }
  .site-header .ipm-language-toggle { margin:0 auto; min-width:150px; }
  .site-header .ipm-language-panel { position:static; width:100%; max-width:100%; max-height:none; margin:8px auto 0; box-shadow:none; }
}
@media (max-width:540px) {
  .site-header .nav-wrap { gap:8px; }
  .site-header .brand { max-width:calc(100% - 144px); }
  .site-header .quote-btn { max-width:92px; padding:10px 8px; font-size:11px; }
  .ipm-language-message { bottom:82px; }
}
.ipm-menu-open .whatsapp-float { visibility:hidden; }
@keyframes ipm-language-pulse { to { opacity:.35; } }
@media (prefers-reduced-motion:reduce) { .ipm-language[aria-busy="true"] .ipm-language-globe { animation:none; opacity:.5; } }
