.site-header,
.site-footer {
  --shell-blue: #118bc1;
  --shell-blue-dark: #08658f;
  --shell-deep: #0b4861;
  --shell-deep-2: #08394f;
  --shell-pale: #e6fcff;
  --shell-line: #cfe2e8;
  font-family: Inter, Arial, sans-serif;
}

.site-header *,
.site-footer * { box-sizing: border-box; font-family: Inter, Arial, sans-serif; }

.site-header a,
.site-header a:hover,
.site-header a:focus,
.site-footer a,
.site-footer a:hover,
.site-footer a:focus { text-decoration: none; }

.site-header { --shell-header-offset: 76px; position: sticky; top: 0; z-index: 100; width: 100%; height: auto; background: #fff; line-height: 1.2; transition: box-shadow .25s ease; }
.site-header.has-subnav { --shell-header-offset: 121px; }
.site-header.is-scrolled { box-shadow: 0 13px 32px rgba(5,47,66,.14); }
.shell-header-main { position: relative; z-index: 2; border-bottom: 1px solid #dcecf1; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); }
.shell-container { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }
.shell-header-inner { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.shell-subnav { position: relative; z-index: 1; border-bottom: 1px solid rgba(185,229,241,.17); color: #c6e0e9; background: linear-gradient(90deg, var(--shell-deep-2), var(--shell-deep) 58%, #0b5572); }
.shell-subnav-inner { display: flex; align-items: stretch; min-height: 45px; }
.shell-subnav-title { display: grid; align-content: center; flex: 0 0 238px; padding-right: 24px; border-right: 1px solid rgba(185,229,241,.17); color: #fff; text-decoration: none; }
.shell-subnav-title span { font-size: 12px; font-weight: 900; }
.shell-subnav-title small { margin-top: 1px; color: #8ebdce; font-size: 8px; letter-spacing: .04em; }
.shell-subnav-links { display: flex; align-items: stretch; justify-content: center; flex: 1; gap: 2px; min-width: 0; padding-inline: 15px; overflow-x: auto; }
.shell-subnav-links a { position: relative; display: inline-flex; align-items: center; align-self: stretch; padding: 0 12px; color: #c6e0e9; font-size: 10px; font-weight: 800; line-height: 1.2; letter-spacing: .04em; white-space: nowrap; text-decoration: none; transition: color .2s ease, background .2s ease; }
.shell-subnav-links a:hover,
.shell-subnav-links a.is-active { color: #fff; background: rgba(255,255,255,.07); }
.shell-subnav-links a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--shell-blue); }
.shell-brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; padding-right: 17px; border-right: 1px solid #dcecf1; color: inherit; text-decoration: none; }
.shell-brand img { width: 46px; height: 46px; object-fit: contain; border-radius: 4px; }
.shell-brand > span { line-height: 1; }
.shell-brand b,
.shell-brand small { display: block; }
.shell-brand b { color: var(--shell-deep); font-size: 20px; letter-spacing: .11em; }
.shell-brand small { margin-top: 5px; color: var(--shell-blue-dark); font-size: 7px; font-weight: 800; letter-spacing: .15em; }

.shell-global-nav { display: flex; align-items: center; gap: 2px; min-width: 0; margin-inline: auto; color: #436474; }
.shell-global-nav-link { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 9px; border: 0; border-radius: 7px; color: inherit; background: transparent; font-size: 12px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: color .2s ease, background .2s ease, box-shadow .2s ease; }
.shell-global-nav-link:hover { color: var(--shell-deep); background: #f1f9fb; }
.shell-global-nav-link.is-active { color: var(--shell-deep); background: var(--shell-pale); box-shadow: inset 0 0 0 1px #c9eaf1; }
.shell-dropdown { position: relative; }
.shell-dropdown-toggle svg { width: 10px; height: 7px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: transform .2s ease; }
.shell-dropdown.is-open .shell-dropdown-toggle svg { transform: rotate(180deg); }
.shell-dropdown-menu { position: absolute; z-index: 10; top: calc(100% + 17px); right: 0; display: grid; grid-template-columns: repeat(2,minmax(230px,1fr)); gap: 5px; width: 555px; padding: 16px; visibility: hidden; opacity: 0; border: 1px solid #d6e8ee; border-radius: 0 0 12px 12px; background: #fff; box-shadow: 0 22px 55px rgba(5,47,66,.2); transform: translateY(-7px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.shell-dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.site-header.has-subnav .shell-dropdown-menu { top: calc(100% + 17px); z-index: 1000; background: #fff; isolation: isolate; }
.site-header.has-subnav .shell-dropdown-menu::before { top: -18px; height: 18px; }
.shell-dropdown-menu p { grid-column: 1 / -1; margin: 0 0 5px; padding: 0 9px 10px; color: #7893a0; border-bottom: 1px solid #e5f0f4; font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.shell-dropdown-menu a { display: flex; align-items: center; min-height: 42px; padding: 9px 10px; border-radius: 6px; color: #385c6c; font-size: 12px; font-weight: 700; line-height: 1.3; text-decoration: none; transition: color .2s ease, background .2s ease; }
.shell-dropdown-menu a:hover { color: var(--shell-deep); background: #f0f9fb; }
.shell-dropdown.is-open .shell-dropdown-menu,
.shell-dropdown:hover .shell-dropdown-menu { visibility: visible; opacity: 1; transform: none; }

.shell-header-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.shell-header-address { display: flex; align-items: center; gap: 8px; padding-right: 14px; color: var(--shell-deep); border-right: 1px solid #dcecf1; text-decoration: none; }
.shell-header-address svg { width: 18px; height: 18px; fill: none; stroke: var(--shell-blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.shell-header-address small,
.shell-header-address b { display: block; white-space: nowrap; }
.shell-header-address small { margin-bottom: 2px; color: #76909c; font-size: 9px; font-weight: 700; }
.shell-header-address b { font-size: 11px; line-height: 1.2; }
.shell-header-address:hover b { color: var(--shell-blue-dark); }
.shell-header-contact { display: grid; justify-items: end; gap: 2px; line-height: 1; }
.shell-header-email { color: var(--shell-blue-dark); font-size: 10px; font-weight: 800; letter-spacing: .025em; text-decoration: none; }
.shell-header-email:hover { color: var(--shell-blue); }
.shell-header-phone { display: flex; align-items: center; gap: 8px; color: var(--shell-deep); text-decoration: none; }
.shell-header-phone svg { width: 17px; height: 17px; fill: var(--shell-blue); }
.shell-header-phone b { display: block; font-size: 13px; line-height: 1.2; white-space: nowrap; }
.shell-header-phone:hover b { color: var(--shell-blue-dark); }
.shell-menu-toggle { display: none; align-content: center; justify-items: center; gap: 6px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: var(--shell-deep); background: transparent; cursor: pointer; transition: color .2s ease, background .2s ease; }
.shell-menu-toggle:hover,
.shell-menu-toggle[aria-expanded="true"] { color: var(--shell-blue-dark); background: var(--shell-pale); }
.shell-menu-toggle span { display: block; width: 23px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease; }
.shell-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.shell-menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.shell-mobile-meta { display: none; }

.site-header :focus-visible,
.site-footer :focus-visible { outline: 3px solid #ffb250; outline-offset: 3px; }

.home-page main { margin-top: 50px; padding-bottom: 120px; }

.site-footer { height: auto; margin-top: 0; padding: 36px 0; color: #9bb5c1; background: var(--shell-deep-2); line-height: 24px; box-shadow: none; text-align: left; }
.shell-footer-container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.shell-footer-inner { display: grid; grid-template-columns: auto minmax(260px,1fr) auto; align-items: center; gap: 38px; }
.shell-footer-brand { display: flex; align-items: center; gap: 10px; min-width: max-content; color: #fff; line-height: 1; text-decoration: none; }
.shell-footer-brand img { width: 46px; height: 46px; object-fit: contain; border-radius: 4px; }
.shell-footer-brand b,
.shell-footer-brand small { display: block; }
.shell-footer-brand b { font-size: 20px; letter-spacing: .11em; }
.shell-footer-brand small { margin-top: 5px; color: var(--shell-blue); font-size: 7px; font-weight: 800; letter-spacing: .17em; }
.shell-footer-inner p { margin: 0; color: #9bb5c1; font-size: 11px; line-height: 1.7; }
.shell-footer-links { display: grid; gap: 5px; color: #fff; font-size: 13px; line-height: 1.5; text-align: right; }
.shell-footer-links a { color: #fff; text-decoration: none; }
.shell-footer-links a:hover { color: #78def3; }
.shell-footer-links address { color: #9bb5c1; font-size: 11px; font-style: normal; }

@media (max-width: 1220px) {
  .shell-container { width: min(1320px, calc(100% - 32px)); }
  .shell-header-inner { gap: 10px; }
  .shell-brand { padding-right: 11px; }
  .shell-brand small,
  .shell-header-address small { display: none; }
  .shell-global-nav-link { padding-inline: 7px; font-size: 11px; }
  .shell-header-email { font-size: 9px; }
  .shell-header-phone b { font-size: 12px; }
}

@media (max-width: 1080px) {
  .shell-global-nav { position: fixed; left: 24px; right: 24px; top: var(--shell-header-offset); display: none; max-height: calc(100vh - var(--shell-header-offset) - 12px); margin: 0; padding: 14px; overflow-y: auto; color: #385c6c; border: 1px solid var(--shell-line); border-radius: 0 0 12px 12px; background: #fff; box-shadow: 0 24px 60px rgba(5,47,66,.24); }
  .shell-global-nav.nav-open { display: flex; flex-direction: column; align-items: stretch; gap: 3px; }
  .shell-global-nav > .shell-global-nav-link,
  .shell-dropdown-toggle { justify-content: flex-start; width: 100%; min-height: 45px; padding-inline: 13px; font-size: 13px; }
  .shell-dropdown-toggle { justify-content: space-between; }
  .shell-dropdown-menu,
  .shell-dropdown:hover .shell-dropdown-menu { position: static; display: none; grid-template-columns: repeat(2,minmax(0,1fr)); width: auto; margin-top: 4px; padding: 8px; visibility: hidden; opacity: 1; border: 0; border-radius: 7px; background: #f4fafc; box-shadow: none; transform: none; }
  .shell-dropdown.is-open .shell-dropdown-menu { display: grid; visibility: visible; }
  .shell-dropdown-menu::before,
  .shell-dropdown-menu p { display: none; }
  .shell-dropdown-menu a { min-height: 44px; }
  .shell-header-actions { margin-left: auto; }
  .shell-mobile-meta { display: grid; gap: 8px; min-height: 72px; margin-top: 8px; padding: 10px 13px 0; color: #173443; border: 0; border-radius: 0; background: transparent; }
  .shell-mobile-address { display: grid; gap: 2px; color: #173443; text-decoration: none; }
  .shell-mobile-address span { color: #6f8b98; font-size: 8px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
  .shell-mobile-address b { font-size: 12px; }
  .shell-mobile-email { width: fit-content; color: var(--shell-blue-dark); font-size: 12px; font-weight: 800; text-decoration: none; }
  .shell-menu-toggle { display: grid; }
  .shell-footer-inner { grid-template-columns: 1fr 1fr; }
  .shell-footer-links { grid-column: 1 / -1; grid-template-columns: repeat(4,auto); justify-content: space-between; text-align: left; }
}

@media (max-width: 720px) {
  .site-header { --shell-header-offset: 65px; }
  .site-header.has-subnav { --shell-header-offset: 110px; }
  .shell-container { width: calc(100% - 30px); }
  .shell-header-inner { min-height: 65px; }
  .shell-brand { padding-right: 0; border-right: 0; }
  .shell-brand img { width: 42px; height: 42px; }
  .shell-brand b { font-size: 17px; }
  .shell-brand small { display: block; font-size: 6px; }
  .shell-header-address { display: none; }
  .shell-header-contact { display: block; }
  .shell-header-email,
  .shell-header-phone b { display: none; }
  .shell-header-phone { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--shell-blue-dark); background: transparent; transition: color .2s ease, background .2s ease; }
  .shell-header-phone:hover { color: var(--shell-blue); background: var(--shell-pale); }
  .shell-header-phone svg { width: 22px; height: 22px; fill: currentColor; }
  .shell-menu-toggle { width: 42px; height: 42px; }
  .home-page main { margin-top: 34px; padding-bottom: 80px; }
  .shell-footer-container { width: calc(100% - 30px); }
  .shell-footer-inner { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .shell-footer-links { grid-column: auto; grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 500px) {
  .shell-brand img { width: 40px; height: 40px; }
  .shell-brand b { font-size: 16px; }
  .shell-brand small { font-size: 5.5px; letter-spacing: .13em; }
  .shell-header-inner,
  .shell-header-actions { gap: 7px; }
  .shell-global-nav { left: 15px; right: 15px; padding: 10px; }
  .shell-subnav-inner { min-height: 42px; }
  .shell-subnav-title { flex-basis: 155px; padding-right: 12px; }
  .shell-subnav-title span { font-size: 10px; }
  .shell-subnav-title small { font-size: 7px; }
  .shell-subnav-links { justify-content: flex-start; padding-inline: 8px; }
  .shell-subnav-links a { padding-inline: 9px; font-size: 9px; }
  .shell-subnav-links a.is-active::after { left: 9px; right: 9px; }
  .shell-dropdown-menu,
  .shell-dropdown:hover .shell-dropdown-menu { grid-template-columns: 1fr; }
  .shell-dropdown.is-open .shell-dropdown-menu { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header *,
  .site-footer * { transition-duration: .01ms !important; }
}
