/* Page frame, bottom: the footer (topics, link groups, social buttons, legal row), the cookie banner and the back-to-top button. */

/* ---- footer: white, rounded at the top (the kit's .nv-sitefoot) */
.nv-sitefoot { margin-top: 0; }   /* the last section already leaves its own space (the kit adds 40 to 80px more) */
.nv-sitefoot__in { padding-top: clamp(32px, 3vw + 12px, 56px); padding-bottom: 12px; }
.nv-sitefoot__brand { display: inline-flex; margin-bottom: 12px; color: var(--nv-text); }

/* top: the brand with its phone and address (and the round social buttons) beside four columns of links */
.nv-sitefoot__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.nv-sitefoot__about { min-width: 0; }
.nv-sitefoot__contact { margin: 0 0 4px; font-size: 14px; line-height: 1.5; color: var(--nv-text-2); }
.nv-sitefoot__tel { display: inline-flex; align-items: center; min-height: 36px; font-weight: 600; color: var(--nv-text); }
.nv-sitefoot__tel:hover { color: var(--nv-primary); }
.nv-sitefoot__address { max-width: 32ch; font-size: 13px; color: var(--nv-text-3); }
.nv-sitefoot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; min-width: 0; }
.nv-sitefoot__group { min-width: 0; }
.nv-sitefoot__heading { margin: 0 0 4px; font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--nv-text); }
.nv-sitefoot__list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.nv-sitefoot__link { display: flex; align-items: center; min-height: 36px; font-size: 14px; line-height: 1.3; color: var(--nv-text-2); }
.nv-sitefoot__link:hover { color: var(--nv-primary); }
@media (min-width: 720px) {
  .nv-sitefoot__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; }
}
@media (min-width: 900px) {
  .nv-sitefoot__top { grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: 56px; }
}

/* the topics: a grid of accordions, one open at a time */
.nv-footmore { margin-top: 8px; border-top: 1px solid var(--nv-border-soft); }
.nv-footmore__summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; color: var(--nv-text); font-size: 14px; font-weight: 600; list-style: none; cursor: pointer; }
.nv-footmore__summary::-webkit-details-marker { display: none; }
.nv-footmore__chev { flex: none; color: var(--nv-text-3); transition: transform .2s ease; }
.nv-footmore[open] .nv-footmore__chev { transform: rotate(180deg); }
.nv-footmore[open] > .nv-footacc { padding-bottom: 8px; }
.nv-footacc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0 40px; align-items: start; }
.nv-footacc .nv-acc__item { border-top: 0; border-bottom: 1px solid var(--nv-border-soft); }
.nv-footacc .nv-acc__btn { min-height: 52px; padding: 0; }
.nv-footacc .nv-acc__panel { padding: 0 0 18px; font-size: 14px; line-height: 1.7; }
.nv-footacc .nv-prose { margin: 0; }
.nv-prose__link { color: var(--nv-text); text-decoration: underline; text-decoration-color: var(--nv-border); text-underline-offset: 3px; transition: color var(--nv-dur-hover) ease; }
.nv-prose__link:hover { color: var(--nv-primary); }
.nv-disclosure { margin-top: 12px; padding: 14px 16px; border-radius: var(--nv-r-row); background: var(--nv-canvas); }
.nv-disclosure__title { margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--nv-text); }
.nv-disclosure ul { display: flex; flex-direction: column; gap: 3px; margin: 0; padding-left: 16px; }
.nv-disclosure li { font-size: 13px; line-height: 1.45; color: var(--nv-text-2); }

/* the round social buttons */
.nv-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.nv-social__btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--nv-surface-alt); color: var(--nv-text-2); transition: color var(--nv-dur-hover) ease; position: relative; }
.nv-social__btn::before { content: ""; position: absolute; inset: -3px; }
.nv-social__btn:hover { color: var(--nv-primary); }

/* trademark, legal links, marks */
.nv-sitefoot__fine { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--nv-border-soft); }
.nv-sitefoot__trademark { flex: 1 1 300px; max-width: 60ch; font-size: 12.5px; line-height: 1.6; color: var(--nv-text-3); }
.nv-sitefoot__legal { flex: 2 1 480px; min-width: 0; }
.nv-sitefoot__links, .nv-sitefoot__marks { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.nv-sitefoot__links { gap: 0 22px; margin-bottom: 8px; }
.nv-sitefoot__legal-link { display: inline-flex; align-items: center; min-height: 36px; padding: 0; border: 0; background: transparent; color: var(--nv-text-2); font-size: 13.5px; text-decoration: none; cursor: pointer; }
.nv-sitefoot__legal-link:hover { color: var(--nv-text); }
.nv-sitefoot__marks { gap: 6px 18px; }
.nv-sitefoot__mark { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--nv-text); }
.nv-sitefoot__base { padding-bottom: 28px; }
.nv-sitefoot__disclosure { max-width: 110ch; margin-bottom: 6px; font-size: 12px; line-height: 1.6; color: var(--nv-text-3); }
.nv-sitefoot__copy { font-size: 12px; color: var(--nv-text-3); }

/* ---- cookie banner: bottom left, never covers the page's content on a phone for long (it is short) */
.nv-consent {
  position: fixed; left: 16px; bottom: 16px; z-index: 58; width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; padding: 20px 22px; border-radius: var(--nv-r-card);
  background: var(--nv-surface); color: var(--nv-text); box-shadow: var(--nv-shadow-pop); animation: nv-rise .3s var(--nv-ease) both;
}
.nv-consent[hidden] { display: none; }
.nv-consent__title { margin: 0 0 6px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.nv-consent__text { font-size: 14px; line-height: 1.55; color: var(--nv-text-2); }
.nv-consent__groups { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.nv-consent__group { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 8px 10px; border-radius: var(--nv-r-row); background: var(--nv-surface-alt); cursor: pointer; }
.nv-consent__group input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--nv-primary); }
.nv-consent__group span { display: flex; flex-direction: column; gap: 1px; font-size: 14px; }
.nv-consent__group small { font-size: 13px; color: var(--nv-text-3); }
.nv-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.nv-consent__actions .nv-btn { --nv-btn-h: 44px; padding: 0 18px; font-size: 14px; }
.nv-consent__actions [hidden] { display: none; }
@media (max-width: 599px) {
  .nv-consent { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 18px 16px; }
  .nv-consent__actions .nv-btn { flex: 1 1 100%; }
}

/* ---- back to top */
.nv-totop { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 44px; height: 44px; box-shadow: var(--nv-shadow-pop); animation: nv-fade .2s ease both; }
.nv-totop[hidden] { display: none; }
body:has(.nv-totop:not([hidden])) .nv-toasts { bottom: 76px; }
@media (max-width: 899px) {
  .nv-totop { right: 14px; bottom: 14px; }
  body:has(.nv-totop:not([hidden])) .nv-toasts { bottom: var(--nv-toast-bottom, calc(72px + env(safe-area-inset-bottom))); }
}
/* phones and touch: every link is at least 44px high (R13) */
@media (max-width: 899px), (pointer: coarse) {
  .nv-sitefoot__brand { min-height: 44px; align-items: center; }
  .nv-sitefoot__link, .nv-sitefoot__legal-link, .nv-sitefoot__tel { min-height: 44px; }
}
@media print { .nv-consent, .nv-totop, .nv-announcement, .nv-topbar, .nv-mdrawer, .nv-search-panel { display: none !important; } }
