/* ==========================================================================
   Footer component (components/footer.css): the one footer of every page.
   Markup: components/footer.html, rendered per page by tools/build.py from the "footer" settings in tools/pages.json.
   Variants: .nf-footer--from-1280 (columns from 1280: business, ecoflow), .nf-footer--global (testimonials).
   Live source: framer-ou2eam-container > component zItlW (framer-j47lh1),
   link component Zlx1t, accordion component G7G4Y, language pill PHo0I,
   region menu 7ctZ6 (Framer overlay). Values copied from Framer CSS per breakpoint.
   ========================================================================== */

.nf-footer {
  /* Framer variant spring (measured: stiffness ~400, damping ~32, ~1.5% overshoot) */
  --nf-footer-spring: linear(0, 0.0383, 0.1302, 0.2488, 0.3755, 0.4982, 0.6097, 0.7064, 0.7871, 0.8521, 0.9028, 0.9411, 0.969, 0.9884, 1.0013, 1.0091, 1.0134, 1.015, 1.015, 1.0139, 1.0122, 1.0103, 1.0084, 1.0067, 1.0051, 1.0038, 1.0027, 1.0018, 1.0011, 1.0006, 1.0003, 1.0001, 0.9999, 0.9998, 0.9998, 0.9998, 0.9998, 0.9998, 0.9998, 0.9999, 1);
  --nf-footer-spring-dur: 0.6s;
  --nf-footer-line: rgb(97, 97, 97);
}

/* ---------- Desktop (>= 1440) and shared ---------- */
/* Wrapper = Framer's framer-ou2eam-container; inner = the zItlW component box */
.nf-footer { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.nf-footer__inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 64px;
  width: 100%; height: min-content; padding: 80px 60px 0;
  background-color: var(--nf-black);
  overflow: visible;
}

/* Menu: five columns on desktop, accordions on tablet and phone */
.nf-footer__menu {
  position: relative;
  display: flex; flex-direction: row; align-items: flex-start; justify-content: space-between;
  width: 100%; padding: 0;
}
.nf-footer__col {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 24px;
  flex: 1 0 0; width: 1px;
}
.nf-footer__col-title {
  position: relative; width: 100%;
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 14px; line-height: 1.4em; letter-spacing: normal;
  color: var(--nf-grey-9e); text-align: left;
  white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word;
}
.nf-footer__links {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 12px;
  flex: 0 0 auto; width: 219px;
  text-decoration: none;
}
.nf-footer__links--full { width: 100%; }
.nf-footer__link {
  position: relative;
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 0;
  width: 100%; padding: 0;
  overflow: clip; cursor: pointer; text-decoration: none;
}
.nf-footer__link-text, .nf-footer__acc-link-text {
  display: block; position: relative; flex: 0 0 auto;
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 16px; line-height: 1.2em; letter-spacing: normal;
  color: var(--nf-white); white-space: pre; user-select: none;
  transition: color var(--nf-footer-spring-dur) var(--nf-footer-spring);
}
@media (hover: hover) {
  .nf-footer__link:hover .nf-footer__link-text,
  a.nf-footer__links:hover .nf-footer__link-text { color: var(--nf-green); }
}
.nf-footer__link:focus-visible, .nf-footer__acc-link:focus-visible,
.nf-footer__icon:focus-visible, .nf-footer__app:focus-visible, .nf-footer__legal-link:focus-visible,
.nf-footer__acc-head:focus-visible, .nf-footer__pill:focus-visible, .nf-footer__region:focus-visible {
  outline: 2px solid var(--nf-green); outline-offset: 2px;
}

/* Accordions (hidden on desktop through nf-hide-desktop) */
.nf-footer__acc {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  width: 100%; padding: 0;
  overflow: visible;
}
.nf-footer__acc::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border-style: solid; border-color: var(--nf-footer-line); border-width: 0 0 1px 0;
  box-sizing: border-box; pointer-events: none;
}
.nf-footer__acc--last::after { border-width: 0; }
.nf-footer__acc.is-animating { transition: height var(--nf-footer-spring-dur) var(--nf-footer-spring); }
/* The title stays put while an item opens or closes (Danny, 2026-10-19). Live centres the head in the springing box,
   so the title jumps 22px up on open (and down on close) while the links spill out; here the head is pinned to the
   top and the links are revealed downward inside the growing box. */
.nf-footer__acc { justify-content: flex-start; }
.nf-footer__acc.is-animating { overflow: clip; }
.nf-footer__acc-head {
  position: relative; box-sizing: border-box;
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 12px;
  flex: 0 0 auto; width: 100%; padding: 13px 0 13px 2px;
  cursor: pointer;
}
.nf-footer__acc-title {
  display: block; position: relative; flex: 1 0 0; width: 1px;
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 16px; line-height: 1.2em; letter-spacing: normal;
  color: var(--nf-white); text-align: start;
  white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word; user-select: none;
}
.nf-footer__acc-icon { position: relative; flex: 0 0 auto; width: 18px; height: 18px; aspect-ratio: 1 / 1; overflow: hidden; }
.nf-footer__acc.is-open .nf-footer__acc-vbar { display: none; }
.nf-footer__acc-body {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  flex: 0 0 auto; width: 100%; padding: 0 0 12px 4px;
}
.nf-footer__acc-body[hidden] { display: none; }
.nf-footer__acc-link {
  position: relative;
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 0;
  width: 100%; padding: 8px;
  overflow: clip; cursor: pointer; text-decoration: none;
}
.nf-footer__acc-link-text { font-size: 14px; line-height: 1.2em; }
@media (hover: hover) {
  .nf-footer__acc--tablet .nf-footer__acc-link:hover .nf-footer__acc-link-text { color: var(--nf-green); }
}

/* Bottom block: CTA row + legal row, each with a 0.8px top rule */
.nf-footer__bottom {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  width: 100%; padding: 0;
}
.nf-footer__cta, .nf-footer__legal { position: relative; width: 100%; }
.nf-footer__cta::after, .nf-footer__legal::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border-style: solid; border-color: var(--nf-footer-line); border-width: 0.8px 0 0 0;
  box-sizing: border-box; pointer-events: none;
}
.nf-footer__cta {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  padding: 24px 0;
}
.nf-footer__cta-left {
  position: relative;
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 32px;
  flex: 1 0 0; width: 1px;
}

/* Language pill (PHo0I) */
.nf-footer__lang { position: relative; flex: 0 0 auto; width: min-content; }
.nf-footer__pill {
  position: relative; box-sizing: border-box;
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px;
  width: min-content; height: min-content; padding: 12px 24px;
  border-radius: 99px; overflow: clip; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nf-footer__pill::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--nf-grey-f5); border-radius: 99px;
  box-sizing: border-box; pointer-events: none;
}
.nf-footer__pill-icons {
  position: absolute; top: -40px; left: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 32px;
  width: 16px; height: min-content; padding: 2px 0;
  overflow: hidden;
}
.nf-footer__pill-globe, .nf-footer__pill-flag {
  position: relative; z-index: 1; display: block; flex: 0 0 auto; width: 16px; height: 16px;
  transition: transform var(--nf-footer-spring-dur) var(--nf-footer-spring);
}
.nf-footer__pill-globe svg {
  width: 100%; height: 100%; display: inline-block; flex-shrink: 0; user-select: none;
  fill: var(--nf-white); color: var(--nf-white);
}
.nf-footer__pill-flag { overflow: hidden; }
.nf-footer__pill-flag img { display: inline; width: 16px; height: 16px; object-fit: contain; object-position: 50% 50%; }
/* Hover (and while the menu is open): globe slides down into view, flag slides up out */
@media (hover: hover) {
  .nf-footer__lang:hover .nf-footer__pill-globe { transform: translateY(48px); }
  .nf-footer__lang:hover .nf-footer__pill-flag { transform: translateY(-48px); }
}
.nf-footer__lang.is-open .nf-footer__pill-globe { transform: translateY(48px); }
.nf-footer__lang.is-open .nf-footer__pill-flag { transform: translateY(-48px); }
.nf-footer__pill-lang {
  position: relative; user-select: none;
  display: flex; flex-direction: row; align-items: flex-end; justify-content: flex-end; gap: 1px;
  flex: 0 0 auto; width: min-content; padding: 0 0 0 24px;
}
.nf-footer__pill-text {
  display: block; position: relative; flex: 0 0 auto;
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 14px; line-height: 1em; letter-spacing: -0.35px;
  color: var(--nf-white); white-space: pre;
}
.nf-footer__pill-caret { position: relative; display: block; flex: 0 0 auto; width: 14px; height: 14px; transform: rotate(90deg); }
.nf-footer__pill-caret svg {
  width: 100%; height: 100%; display: inline-block; user-select: none;
  fill: var(--nf-white); color: var(--nf-white);
}

/* Region menu (Framer overlay above the pill) */
.nf-footer__regions {
  position: absolute; z-index: 11; left: -40px; bottom: calc(100% + 10px);
  width: 307px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--nf-footer-spring-dur) var(--nf-footer-spring), visibility 0s linear var(--nf-footer-spring-dur);
}
/* Invisible bridge over the 10px gap so the pointer can travel from pill to menu */
.nf-footer__regions::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.nf-footer__lang.is-open .nf-footer__regions {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity var(--nf-footer-spring-dur) var(--nf-footer-spring), visibility 0s linear 0s;
}
/* Phone variant backdrop (live: Framer overlay without safe area). Transparent, over the viewport while the menu is
   open, so a click or tap anywhere but the menu closes it; the pill under it is not hit. Created by js/90-footer.js. */
.nf-footer__backdrop { display: none; position: fixed; inset: 0; z-index: 11; }
@media (max-width: 809.98px) { .nf-footer__lang.is-open.has-backdrop .nf-footer__backdrop { display: block; } }
.nf-footer__regions-card {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  width: min-content; padding: 0;
  background-color: var(--nf-white); border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.05) 0 10px 20px 0;
  transform-origin: 50% 100%;
}
.nf-footer__regions-list {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  width: 307px;
  background-color: rgba(255, 255, 255, 0.3); border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.05) 0 10px 20px 0;
}
.nf-footer__regions-list::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border-style: solid; border-color: var(--nf-green); border-width: 0 0.8px 0.8px 0.8px; border-radius: 20px;
  box-sizing: border-box; pointer-events: none;
}
.nf-footer__region {
  position: relative;
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 0;
  width: 100%; padding: 20px 30px;
  overflow: hidden; cursor: pointer; text-decoration: none;
}
.nf-footer__region::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border-style: solid; border-color: var(--nf-green); border-width: 0 0 0.8px 0;
  box-sizing: border-box; pointer-events: none; border-radius: inherit;
}
.nf-footer__region--0 { border-radius: 20px 20px 0 0; }
.nf-footer__region--0::after { border-width: 0.8px; }
.nf-footer__region--4::after { content: none; }
.nf-footer__region-row {
  position: relative;
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 10px;
}
.nf-footer__region-flag { position: relative; display: block; flex: 0 0 auto; width: 20px; height: 20px; }
.nf-footer__region-flag img { position: absolute; inset: 0; width: 100%; height: 100%; object-position: 50% 50%; }
.nf-footer__region-label {
  position: relative; overflow: hidden;
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px;
}
.nf-footer__region-name {
  display: block; position: relative;
  font-family: "SF Pro Display Medium", "SF Pro Display Medium Placeholder", sans-serif;
  font-weight: 500; font-size: 16px; line-height: 1.5em; letter-spacing: normal;
  color: var(--nf-black); white-space: pre;
  transition: color var(--nf-footer-spring-dur) var(--nf-footer-spring);
}
.nf-footer__region-caret { position: relative; display: block; width: 0; height: 0; }
.nf-footer__region-globe { position: relative; display: block; flex: 0 0 auto; width: 16px; height: 16px; }
.nf-footer__region-globe svg { width: 100%; height: 100%; }
.nf-footer__region-dot {
  position: relative; display: block; flex: 0 0 auto; width: 12px; height: 12px;
  background-color: var(--nf-green); border-radius: 99px; overflow: clip;
  box-shadow: rgba(0, 0, 0, 0.05) 0 10px 20px 0;
}
@media (hover: hover) {
  .nf-footer__region:hover .nf-footer__region-name { color: var(--nf-green); }
}

/* Social groups */
.nf-footer__social {
  position: relative;
  display: flex; flex-direction: row; align-items: flex-start; justify-content: center; gap: 16px;
  flex: 0 0 auto; width: min-content;
}
.nf-footer__social-label {
  position: relative; flex: 0 0 auto;
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 18px; line-height: 1.4em; letter-spacing: normal;
  color: var(--nf-grey-9e); text-align: left; white-space: pre;
}
.nf-footer__icons {
  position: relative;
  display: flex; flex-direction: row; align-items: flex-start; justify-content: flex-start; gap: 12px;
  flex: 0 0 auto; width: min-content;
}
.nf-footer__icon { position: relative; display: block; flex: 0 0 auto; width: 22px; height: 22px; text-decoration: none; cursor: pointer; color: rgb(0, 0, 238); /* UA link colour, as live (no colour set) */ }
.nf-footer__icon svg { display: block; width: 100%; height: 100%; }
.nf-footer__icon--tiktok { width: 24px; height: 24px; border-radius: 6px; overflow: hidden; }
.nf-footer__tiktok { position: absolute; top: 0; left: 1px; right: 3px; display: block; aspect-ratio: 0.875 / 1; }
.nf-footer__icon--x { width: 21px; height: auto; aspect-ratio: 0.961538 / 1; }
.nf-footer__icon--web { overflow: visible; }
.nf-footer__web { position: absolute; top: 0; left: 0; display: block; width: 22px; height: 22px; }
.nf-footer__web svg { overflow: visible; }

/* App store chips */
.nf-footer__apps {
  position: relative;
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 24px;
  flex: 0 0 auto; width: min-content;
}
.nf-footer__app { position: relative; display: block; flex: 0 0 auto; width: 125px; height: 38px; text-decoration: none; cursor: pointer; }
.nf-footer__app img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; object-position: 50% 50%; }

/* Legal row */
.nf-footer__legal {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  padding: 24px 0 32px;
}
.nf-footer__copy { position: relative; flex: 1 0 0; width: 1px; }
.nf-footer__copy-text, .nf-footer__legal-item {
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 16px; line-height: 1.2em; letter-spacing: normal;
  text-align: start;
}
.nf-footer__copy-text { color: var(--nf-grey-9e); white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word; }
.nf-footer__copy-text strong, .nf-footer__legal-item strong { font-weight: 700; }
.nf-footer__legal-links {
  position: relative;
  display: flex; flex-direction: row; align-items: center; justify-content: flex-end; gap: 8px;
  flex: 1 0 0; width: 1px; overflow: clip;
}
.nf-footer__legal-item { position: relative; flex: 0 0 auto; white-space: pre; color: var(--nf-white); }
.nf-footer__legal-link { color: var(--nf-white); text-decoration: none; cursor: pointer; }
.nf-footer__legal-link:hover { color: var(--nf-green); }
.nf-footer__dot { position: relative; display: block; flex: 0 0 auto; width: 4px; height: 4px; background-color: var(--nf-grey-9e); border-radius: 99px; overflow: clip; }

/* ---------- Tablet (810 to 1439.98; 810 to 1279.98 on the from-1280 variant) ---------- */
@media (min-width: 810px) and (max-width: 1279.98px) {
  .nf-footer__inner { gap: 32px; padding: 40px 40px 0; }
  .nf-footer__menu { flex-direction: column; }
  .nf-footer__cta { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 32px; }
  .nf-footer__cta-left { flex: 0 0 auto; width: 100%; }
  .nf-footer__legal { padding: 24px 0; }
  .nf-footer__regions { left: -20px; }
}
@media (min-width: 1280px) and (max-width: 1439.98px) {
  .nf-footer:not(.nf-footer--from-1280) .nf-footer__inner { gap: 32px; padding: 40px 40px 0; }
  .nf-footer:not(.nf-footer--from-1280) .nf-footer__menu { flex-direction: column; }
  .nf-footer:not(.nf-footer--from-1280) .nf-footer__cta { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 32px; }
  .nf-footer:not(.nf-footer--from-1280) .nf-footer__cta-left { flex: 0 0 auto; width: 100%; }
  .nf-footer:not(.nf-footer--from-1280) .nf-footer__legal { padding: 24px 0; }
  .nf-footer:not(.nf-footer--from-1280) .nf-footer__regions { left: -20px; }
}

/* ---------- Phone (<= 809.98) ---------- */
@media (max-width: 809.98px) {
  .nf-footer__inner { gap: 24px; padding: 20px 16px 0; }
  .nf-footer__menu { flex-direction: column; }
  .nf-footer__cta { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 24px; }
  .nf-footer__cta-left { flex-direction: column; align-items: flex-start; gap: 24px; flex: 0 0 auto; width: 100%; }
  .nf-footer__legal { flex-direction: column; justify-content: flex-start; gap: 16px; padding: 24px 0; }
  .nf-footer__copy { flex: 0 0 auto; width: 100%; }
  .nf-footer__legal-links { flex: 0 0 auto; justify-content: flex-start; width: 100%; }
  .nf-footer__regions { left: 4px; }
  .nf-footer__region-name { font-size: 14px; line-height: 1.5em; }
}

@media (prefers-reduced-motion: reduce) {
  .nf-footer * { transition-duration: 0s !important; }
}


/* ==========================================================================
   Variants
   ========================================================================== */

/* ---------- Columns from 1280 (business, ecoflow): desktop columns >= 1280, tablet accordions 810 to 1279.98, phone <= 809.98 ---------- */
@media (max-width: 1279.98px) { .nf-footer--from-1280 .nf-footer__col { display: none !important; } }
@media (min-width: 1280px), (max-width: 809.98px) { .nf-footer--from-1280 .nf-footer__acc--tablet { display: none !important; } }
@media (min-width: 810px) { .nf-footer--from-1280 .nf-footer__acc--phone { display: none !important; } }

/* ---------- "Global" variant (testimonials; live zItlW "Global -  Desktop" / "Global - Tablet" / "Global - Mobile",
   region pill PHo0I "Global - ...") ---------- */
/* Region pill: the icon column holds only the globe, centred (Framer: top 50%, translateY(-50%) on the 20px column, so
   the globe sits at y 11 in the 38px pill); no hover or open slide. */
.nf-footer__lang--global .nf-footer__pill-icons { top: 50%; transform: translateY(-50%); }
.nf-footer__lang--global:hover .nf-footer__pill-globe,
.nf-footer__lang--global.is-open .nf-footer__pill-globe { transform: none; }
/* Live region names compute text-align: left (base: start; same rendering), and the region rows keep the UA link
   colour on the <a> (only the 0px borders of the row and the dot inherit it; invisible). Compare-tool parity. */
.nf-footer--global .nf-footer__region-name { text-align: left; }
.nf-footer--global .nf-footer__region { color: rgb(0, 0, 238); }
