/* Shared navigation and footer for the Insert Tech pages. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }

.shell-header,
.shell-footer {
  --shell-brand: #005f5a;
  --shell-dark: #003f42;
  --shell-accent: #11b8b5;
  --shell-line: #dbe5e6;
  font-family: "Montserrat", system-ui, sans-serif;
  box-sizing: border-box;
}
.shell-header *, .shell-header *::before, .shell-header *::after,
.shell-footer *, .shell-footer *::before, .shell-footer *::after { box-sizing: border-box; }
.shell-header a, .shell-footer a { color: inherit; text-decoration: none; }
.shell-header .shell-container, .shell-footer .shell-container { width: min(1220px, calc(100% - 40px)); margin-inline: auto; }
.shell-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(219,229,230,.8); backdrop-filter: blur(18px); transition: box-shadow .3s ease, background .3s ease, border-color .3s ease; }
.shell-header.scrolled { background: rgba(255,255,255,.985); border-bottom-color: transparent; box-shadow: 0 12px 34px rgba(1,44,47,.09); }
.shell-nav { min-height: 82px; display: grid; grid-template-columns: 280px 1fr auto; align-items: center; gap: 28px; }
.shell-brand img { display: block; width: 245px; height: auto; max-width: 100%; transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s ease; }
.shell-brand:hover img { transform: translateY(-2px) scale(1.015); filter: drop-shadow(0 7px 12px rgba(0,95,90,.12)); }
.shell-links { display: flex; justify-content: center; gap: clamp(20px,2.5vw,32px); color: #1f2933; font-size: .92rem; font-weight: 600; line-height: 1.6; }
.shell-links a { position: relative; padding: 28px 0 24px; white-space: nowrap; }
.shell-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 17px; height: 2px; background: var(--shell-accent); transition: right .25s ease; }
.shell-links a:hover::after, .shell-links a:focus-visible::after { right: 0; }
.shell-links .shell-mobile-cta { display: none; }
.shell-actions { display: flex; align-items: center; gap: 14px; }
.shell-button { position: relative; overflow: hidden; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 0 24px; border: 1px solid transparent; border-radius: 9px; color: #fff !important; background: linear-gradient(135deg,#005f5a 0%,#049a95 100%); box-shadow: 0 12px 24px rgba(0,95,90,.2); font-size: .88rem; font-weight: 700; line-height: 1.6; white-space: nowrap; isolation: isolate; transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease; }
.shell-button::before { content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none; background: linear-gradient(115deg,transparent 20%,rgba(255,255,255,.22) 48%,transparent 76%); transform: translateX(-130%); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.shell-button:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(0,95,90,.3); }
.shell-button:hover::before { transform: translateX(130%); }
.shell-button:active { transform: translateY(-1px) scale(.985); }
.shell-button span { transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.shell-button:hover span { transform: translateX(4px); }
.shell-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--shell-line); background: #fff; border-radius: 10px; cursor: pointer; }
.shell-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: #1f2933; transition: transform .28s ease, opacity .2s ease; }
.shell-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.shell-toggle.active span:nth-child(2) { opacity: 0; }
.shell-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.shell-button:focus-visible, .shell-toggle:focus-visible, .shell-header a:focus-visible, .shell-footer a:focus-visible { outline: 3px solid rgba(17,184,181,.45); outline-offset: 4px; }
body.shell-menu-open { overflow: hidden; }

.shell-footer { position: relative; padding: 64px 0 0 !important; color: #344b50 !important; background: #f4f7f7 !important; border-top: 6px solid var(--shell-brand) !important; font-size: 16px !important; line-height: 1.6; }
.shell-footer::before { content: ""; position: absolute; top: -6px; right: 10%; width: 210px; height: 6px; background: var(--shell-accent); transform: skewX(-35deg); transform-origin: right; }
.shell-footer-main { display: grid; grid-template-columns: minmax(280px,1.45fr) repeat(3,minmax(135px,.75fr)); gap: clamp(34px,5vw,72px); align-items: start; padding-bottom: 50px; }
.shell-footer-brand-wrap { max-width: 355px; padding-right: 22px; }
.shell-footer-brand { display: block; width: min(100%,305px); height: auto; }
.shell-footer-tagline { margin: 22px 0 0; max-width: 345px; color: #5f7478; font-size: .92rem; line-height: 1.65; }
.shell-footer h3 { position: relative; margin: 6px 0 22px; padding-bottom: 12px; color: var(--shell-dark); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.shell-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--shell-accent); }
.shell-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; color: #5f7478; font-size: .86rem; line-height: 1.45; }
.shell-footer li { padding: 0; margin: 0; }
.shell-footer a { position: relative; transition: color .25s ease; }
.shell-footer a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px; background: var(--shell-accent); transition: right .3s cubic-bezier(.2,.8,.2,1); }
.shell-footer-brand-wrap a::after { display: none; }
.shell-footer a:hover { color: var(--shell-brand); }
.shell-footer a:hover::after { right: 0; }
.shell-footer-bottom-wrap { color: #b9d1d0; background: var(--shell-dark); }
.shell-footer-bottom { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #b9d1d0; font-size: .78rem; }
.shell-footer-secondary { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px 28px; }
.shell-legal-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.shell-legal-links a { color: #e3f2f1; white-space: nowrap; }
.shell-legal-links a:hover { color: #fff; }

@media (max-width: 1050px) {
  .shell-nav { min-height: 70px; grid-template-columns: minmax(0,1fr) auto; gap: 12px; }
  .shell-brand { min-width: 0; }
  .shell-brand img { width: 220px; }
  .shell-toggle { display: block; }
  .shell-actions { display: none; }
  .shell-links { position: fixed; inset: 70px 0 auto; display: grid; gap: 0; max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 12px 20px 24px; color: #1f2933; background: #fff; border-bottom: 1px solid var(--shell-line); box-shadow: 0 18px 30px rgba(0,0,0,.08); visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-12px); transition: visibility 0s linear .28s, opacity .28s ease, transform .28s ease; }
  .shell-links.open { visibility: visible; opacity: 1; pointer-events: auto; transform: none; transition-delay: 0s; }
  .shell-links a { padding: 15px 8px; border-bottom: 1px solid #edf2f2; white-space: normal; }
  .shell-links a::after { display: none; }
  .shell-links .shell-mobile-cta { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 16px; padding: 12px 18px; border: 0; border-radius: 9px; color: #fff; background: linear-gradient(135deg,#005f5a,#049a95); text-align: center; font-size: .9rem; line-height: 1.3; }
  .shell-footer-main { grid-template-columns: 1.2fr .8fr .8fr; }
  .shell-footer-main > div:last-child { grid-column: 2 / -1; }
}
@media (max-width: 780px) {
  .shell-header .shell-container, .shell-footer .shell-container { width: min(100% - 32px,660px); }
  .shell-brand img { width: 200px; }
  .shell-footer-main { grid-template-columns: 1fr 1fr; }
  .shell-footer-brand-wrap, .shell-footer-main > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .shell-brand img { width: min(200px, calc(100vw - 104px)); }
  .shell-footer { padding-top: 52px !important; }
  .shell-footer-main { grid-template-columns: 1fr; gap: 34px; padding-bottom: 42px; }
  .shell-footer-main > div { grid-column: auto !important; }
  .shell-footer-brand-wrap { padding-right: 0; }
  .shell-footer-bottom { min-height: 84px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding-block: 16px; }
  .shell-footer-secondary { justify-content: flex-start; }
}
@media (max-width: 360px) {
  .shell-footer, .shell-footer a { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  .shell-header *, .shell-header *::before, .shell-header *::after,
  .shell-footer *, .shell-footer *::before, .shell-footer *::after { transition-duration: .01ms !important; }
}
