/* Public Qugo header/footer v2. New path bypasses edge caches ignoring query strings. */
.site-header--2026 { background: #fff; backdrop-filter: none; }
.site-header--2026 .site-header__shell,
.site-header--2026 .qugo-blog-toolbar__inner,
.site-footer--2026 .site-footer__inner { width: min(calc(100% - 64px),1200px); padding-inline: 0; }
.site-header--2026 .site-header__desktop { display: grid; grid-template-columns: 132px 1fr auto; grid-template-rows: auto; gap: 28px; min-height: 76px; padding: 10px 0; }
.site-header--2026 .header-logo { width: 132px; flex-shrink: 0; }
.site-header--2026 .header-logo img { width: 132px; height: 40px; max-width: none; }
.site-header--2026 .header-auth { grid-column: 3; gap: 12px; }
.site-header--2026 .qugo-button { min-height: 44px; padding: 12px 16px; font-size: 16px; font-weight: 400; border-radius: 10px; background: linear-gradient(93.46deg,#249e55,#3bbf70); box-shadow: none; }
.site-header--2026 .qugo-button--secondary { border: 1px solid #249d55; background: #fff; color: #249d55; box-shadow: none; }
.site-header--2026 .qugo-button--secondary:hover { background: var(--q-green-soft); color: var(--q-green-dark); }
.qugo-main-nav { display: flex; align-items: center; justify-content: flex-start; }
.qugo-main-nav > a, .qugo-business-nav summary { display: flex; align-items: center; gap: 2px; padding: 12px; color: var(--q-ink); font-size: 16px; font-weight: 400; line-height: 20px; letter-spacing: -.32px; white-space: nowrap; }
.qugo-main-nav > a:hover, .qugo-main-nav > a.is-current, .qugo-business-nav summary:hover { color: var(--q-green); }
.qugo-business-nav { position: relative; }
.qugo-business-nav summary { cursor: pointer; list-style: none; }
.qugo-business-nav summary::-webkit-details-marker { display: none; }
.qugo-business-nav summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .15s; }
.qugo-business-nav[open] summary svg { transform: rotate(180deg); }
.qugo-business-nav__links { position: absolute; top: 100%; left: 0; z-index: 10; width: max-content; padding: 6px 0; border-radius: 10px; background: #fff; box-shadow: 0 2px 6px #0002; }
.qugo-business-nav__links a { display: block; padding: 12px 16px; font-size: 16px; line-height: 20px; }
.qugo-business-nav__links a:hover { color: var(--q-green); background: var(--q-paper); }
.site-header--2026 .site-header__mobile-bar { display: none; }
.qugo-blog-toolbar { border-top: 1px solid var(--q-line); }
.qugo-blog-toolbar__inner { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 16px; }
.qugo-blog-toolbar__title { color: var(--q-green-dark); font-size: 16px; font-weight: 600; white-space: nowrap; }
.site-header--2026 .header-search { width: 260px; height: 36px; }
.site-header--2026 .header-search button { height: 34px; }
.site-footer--2026 { display: flex; min-height: 900px; justify-content: flex-end; flex-direction: column; padding: 60px 0; }
.qugo-footer-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-areas: 'business selfEmployed company' 'contacts contacts documents' 'fns fns fns'; gap: 24px 32px; }
.qugo-footer-column--1 { grid-area: business; }
.qugo-footer-column--2 { grid-area: selfEmployed; }
.qugo-footer-column--3 { grid-area: company; }
.site-footer--2026 .footer-contacts { grid-area: contacts; }
.qugo-footer-documents { grid-area: documents; }
.site-footer--2026 .footer-column { min-width: 0; }
.site-footer--2026 .footer-column > ul { gap: 12px; margin-top: 16px; }
.site-footer--2026 .footer-column h2 { font-size: 16px; line-height: 20px; }
.site-footer--2026 .footer-contacts address > p { max-width: none; }
.site-footer--2026 .footer-contacts address > div { gap: 24px; }
.site-footer--2026 .footer-socials { gap: 16px 24px !important; margin-top: 12px !important; }
.qugo-footer-fns { grid-area: fns; justify-self: center; display: flex; align-items: center; gap: 26px; min-height: 61px; max-width: 100%; padding: 10px 34px; border: 1px solid #00000014; border-radius: 16px; background: #ffffffb3; }
.qugo-footer-fns img { width: 145px; height: 38px; object-fit: contain; flex-shrink: 0; }
.qugo-footer-fns span { font-size: 16px; font-weight: 700; line-height: 20px; }
.site-footer--2026 .footer-legal { margin-top: 24px; padding-top: 24px; gap: 32px; }
.site-footer--2026 .footer-legal span:nth-child(2) { flex: 1; text-align: center; }
@media (max-width: 1200px) {
  .site-header--2026 .site-header__desktop { display: none; }
  .site-header--2026 .site-header__mobile-bar { display: flex; height: 60px; justify-content: space-between; }
  .site-header--2026 .nav-toggle, .qugo-account-link { display: grid; width: 42px; height: 42px; margin: 0; padding: 8px; place-items: center; border: 0; background: none; color: #858585; }
  .site-header--2026 .nav-toggle svg, .qugo-account-link svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
  .site-header--2026 .mobile-nav { display: none; position: absolute; top: 60px; left: 0; right: 0; z-index: 20; max-height: calc(100dvh - 60px); overflow-y: auto; border-top: 1px solid var(--q-line); background: #fff; box-shadow: var(--q-shadow-lg); }
  .site-header--2026 .mobile-nav.is-open { display: block; }
  .site-header--2026 .mobile-nav__inner { display: grid; gap: 24px; padding: 16px 16px 24px; }
  .site-header--2026 .mobile-nav nav { display: grid; gap: 2px; }
  .site-header--2026 .mobile-nav nav a { padding: 12px; border-radius: 10px; font-size: 16px; line-height: 20px; }
  .site-header--2026 .mobile-nav nav a:hover, .site-header--2026 .mobile-nav nav a.is-current { background: var(--q-green-soft); color: var(--q-green-dark); }
  .qugo-mobile-group-title { padding: 8px 12px; font-size: 16px; font-weight: 600; }
  .site-header--2026 .mobile-nav nav a.qugo-mobile-business-link { padding-left: 24px; }
  .site-header--2026 .mobile-nav__auth { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 1024px) {
  .site-header--2026 .site-header__shell, .site-header--2026 .qugo-blog-toolbar__inner, .site-footer--2026 .site-footer__inner { width: calc(100% - 32px); }
  .site-footer--2026 { min-height: 0; padding: 48px 0 16px; background: var(--q-paper); }
  .qugo-footer-grid { grid-template-areas: 'business selfEmployed company' 'contacts contacts contacts' 'documents documents documents' 'fns fns fns'; column-gap: 24px; }
}
@media (max-width: 768px) {
  .site-header--2026 .site-header__shell { width: calc(100% - 16px); }
  .site-header--2026 .site-header__mobile-bar .header-logo, .site-header--2026 .site-header__mobile-bar .header-logo img { width: 114px; height: auto; }
  .qugo-blog-toolbar__inner { gap: 10px; }
  .qugo-blog-toolbar__title { font-size: 14px; }
  .site-header--2026 .header-search { width: min(200px,55%); }
  .site-header--2026 .header-search input { padding-left: 9px; font-size: 12px; }
  .qugo-footer-grid { grid-template-columns: minmax(0,1fr); grid-template-areas: 'documents' 'contacts' 'business' 'selfEmployed' 'company' 'fns'; }
  .qugo-footer-documents > h2 { display: none; }
  .qugo-footer-documents > ul { margin-top: 0 !important; }
  .site-footer--2026 .footer-column a, .site-footer--2026 .footer-column p { font-size: 16px; line-height: 20px; }
  .site-footer--2026 .footer-contacts address > div { flex-direction: column; gap: 12px; }
  .site-footer--2026 .footer-socials svg { width: 32px; height: 32px; flex-basis: 32px; }
  .qugo-footer-fns { justify-self: stretch; flex-direction: column; align-items: flex-start; padding: 16px; gap: 12px; }
  .site-footer--2026 .footer-legal { flex-direction: column; align-items: flex-start; padding-top: 0; border: 0; gap: 16px; }
  .site-footer--2026 .footer-legal span:nth-child(2) { flex: initial; text-align: left; }
}
