/* =====================================================================
 * Custom Footer 
 ===================================================================== */


.footer-custom-nav {
  --fcn-white: #ffffff00;
  --fcn-pitch: #000000;
  --fcn-iron-ash: #444444;
  --fcn-grey: #9aa0ac;
  --fcn-pale: #f5f5f5;
  --fcn-accent: #005eee;

  position: relative;
  background: var(--fcn-white);
  font-family: 'Epilogue-Regular', Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}
.footer-custom-nav, .footer-custom-nav *, .footer-custom-nav *::before, .footer-custom-nav *::after {
  box-sizing: border-box;
}
.footer-custom-nav a { text-decoration: none; }

.footer-custom-nav__inner {
  max-width: 198.75rem; /* 1590px / 8 */
  margin: 0 auto;
  padding: 3.75rem 2.5rem; /* 30px 20px / 8 */
  display: flex;
  flex-direction: column;
  margin-bottom: 0rem;
  gap: 5rem; /* 40px / 8 — divider -> links -> divider */
}
.footer-custom-nav__divider {
  width: 100%;
  height: 0;
  margin: 0;
  border: none;
  border-top: 1px solid var(--fcn-grey); /* hairline border kept in px, matches project convention */
}
.footer-custom-nav__links-wrap {
  display: flex;
  flex-direction: column;
  gap: 5rem; /* 40px / 8 — Figma Frame 141731: divider -> chips -> divider */
}
.footer-custom-nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.footer-custom-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem; /* 5px / 8 */
  font-family: 'Epilogue-SemiBold', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 2rem; /* 16px / 8 */
  line-height: normal;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--fcn-pitch) !important; /* !important: #footer a { color: ... } (dynamic inline
    CSS from minti_dynamic_css()) has ID-level specificity, which beats a plain class selector
    regardless of source order — this nav's links are now inside #footer, so they're in scope. */
  position: relative;
}
.footer-custom-nav__link:hover { color: var(--fcn-pitch) !important; }
.footer-custom-nav__link .fa-chevron-down { font-size: 1.75rem; transition: transform .18s ease; } /* 14px / 8 */
.footer-custom-nav__link[aria-expanded="true"] { color: var(--fcn-accent) !important; }
.footer-custom-nav__link[aria-expanded="true"] .fa-chevron-down { transform: rotate(180deg); }

/* -------------------- Dropdown panels -------------------- */
.footer-custom-nav__dropdown {
  display: none;
  flex-wrap: wrap;
  gap: 5rem 4.5rem; /* 40px 36px / 8 */
  padding: 4rem 5rem; /* 32px 40px / 8 */
  background: var(--fcn-pale);
  border-radius: 2rem; /* 16px / 8 */
}
.footer-custom-nav__dropdown.is-open { display: flex; }
.footer-custom-nav__dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* 10px / 8 */
  flex: 0 0 auto;
  width: 29rem; /* 232px / 8 */
}
.footer-custom-nav__dropdown-col--narrow { width: 35rem; } /* 280px / 8 */
@media (min-width: 768px) {
  .footer-custom-nav__dropdown-col--wide { width: 57rem; } /* 456px / 8 */
}
.footer-custom-nav__dropdown-heading {
  margin: 0;
  font-family: 'Epilogue-Regular', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.75rem; /* 14px / 8 */
  line-height: 1.407;
  letter-spacing: 0.035rem; /* 0.28px / 8 */
  color: var(--fcn-accent);
}
.footer-custom-nav__dropdown-list { display: flex; flex-direction: column; gap: 0.25rem; list-style: none; margin: 0; padding: 0; } /* 2px / 8 */
.footer-custom-nav__dropdown-list a {
  font-family: 'Epilogue-Medium', Arial, Helvetica, sans-serif;
  font-size: 1.75rem; /* 14px / 8 */
  line-height: 1.333;
  color: var(--fcn-iron-ash) !important; /* see note on .footer-custom-nav__link — same #footer a specificity fight */
}
.footer-custom-nav__dropdown-list a:hover { color: var(--fcn-pitch) !important; }

/* -------------------- Responsive -------------------- */
/* <960px: no :root override reaches here — the theme's own real native root at
   768-960px is 6.2px, so every value below is its pixel target / 6.2. */
@media (max-width: 960px) {
  .rad-strip__text span { display: none;}
  .footer-custom-nav { display: none; }
  .footer-custom-nav__inner { padding: 3.871rem 3.226rem; } /* 24px 20px / 6.2 */
  .footer-custom-nav__links-wrap { gap: 3.871rem; } /* 24px / 6.2 */
  .footer-custom-nav__links { gap: 2.581rem 1.161rem; } /* ~16px 7.2px / 6.2 */
  .footer-custom-nav__dropdown { padding: 3.871rem; gap: 3.871rem 5.161rem; } /* 24px / 6.2 */

}

/* <=767px: theme's real native root here is 7px — every value below is its
   pixel target / 7. */
@media (max-width: 767px) {
  .footer-custom-nav__inner { padding: 2.857rem 2.286rem; } /* 20px 16px / 7 */
  .footer-custom-nav__links-wrap { gap: 2rem; } /* 14px / 7 */

  /* Accordion */
  .footer-custom-nav__links { display: contents; }
  .footer-custom-nav__link { width: 100%; font-size: 1.857rem; } /* 13px / 7 */
  .footer-custom-nav__dropdown { width: 100%; padding: 2.857rem; gap: 2.857rem 3.429rem; } /* 20px 24px / 7 */

  .footer-custom-nav__link[data-dropdown="products"] { order: 1; }
  .footer-custom-nav__dropdown[data-dropdown-panel="products"] { order: 2; }
  .footer-custom-nav__link[data-dropdown="solutions"] { order: 3; }
  .footer-custom-nav__dropdown[data-dropdown-panel="solutions"] { order: 4; }
  .footer-custom-nav__link[data-dropdown="survey-templates"] { order: 5; }
  .footer-custom-nav__dropdown[data-dropdown-panel="survey-templates"] { order: 6; }
  .footer-custom-nav__link[data-dropdown="calculator"] { order: 7; }
  .footer-custom-nav__dropdown[data-dropdown-panel="calculator"] { order: 8; }
  .footer-custom-nav__link[data-dropdown="learning-center"] { order: 9; }
  .footer-custom-nav__dropdown[data-dropdown-panel="learning-center"] { order: 10; }
  .footer-custom-nav__link[data-dropdown="blogs"] { order: 11; }
  .footer-custom-nav__dropdown[data-dropdown-panel="blogs"] { order: 12; }

}

/* ==========================================================================
   REQUEST A DEMO FLOATING STRIP
   ========================================================================== */
.rad-strip{
  --rs-bg:#f1f2f4; /* Figma fill 1:26, rgb(241,242,244) */
  --rs-accent:#005eee; /* Figma style override on "Sign Up Free" + arrow vector (--color-survey) */
  --rs-f-reg:'Epilogue-Regular', Epilogue, "Helvetica Neue", Arial, sans-serif;
  --rs-f-bold:'Epilogue-Bold', Epilogue, "Helvetica Neue", Arial, sans-serif;
  position:fixed;left:0;right:0;bottom:0;z-index:9998;
  background:var(--rs-bg);
  padding:3.5rem 2.5rem; /* 28px 20px / 8 — Figma paddingTop/Bottom 28, Left/Right 20 */
  text-align:center;
  box-shadow:0 -0.75rem 2.5rem rgba(0,0,0,.15); /* 0 -6px 20px/8, Figma DROP_SHADOW */
  transform:translateY(110%);
  transition:transform .35s cubic-bezier(.65,0,.35,1);
}
.rad-strip.is-visible{transform:translateY(0)}
.rad-strip__text{
  display:inline-flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:0 0.875rem; /* Figma itemSpacing 7/8 */
  margin:0;
  font-family:var(--rs-f-reg);font-weight:400;font-size:2.5rem;line-height:1.025; /* 20px/8, 20.5px lineHeightPx */
  color:#000; /* Figma base text fill 1:15, rgb(0,0,0) */
}
.rad-strip__cta{
  font-family:var(--rs-f-bold);font-weight:700; /* Figma styleOverrideTable "3": EpilogueRoman-Bold */
  color:var(--rs-accent);text-decoration:none;white-space:nowrap;
}
.rad-strip__arrow{color:var(--rs-accent);font-size:1.75rem} /* ~14px/8, Figma arrow_forward vector ~13.7x13.5 */

@media (max-width: 960px) {
  .rad-strip { padding: 4.516rem 3.226rem; } /* 28px 20px / 6.2 */
}
@media (max-width: 767px) {
  .rad-strip { padding: 4rem 2.857rem; } /* 28px 20px / 7 */
  .rad-strip__text { font-size: 2rem; line-height: 1.15; gap: 2rem 0.571rem; } /* 14px, 4px / 7 */
  .rad-strip__arrow { font-size: 1.286rem; } /* 9px / 7 */
}

/* ==========================================================================
   COPYRIGHT BAR  */
.footer-custom #footer { padding-bottom: 8rem !important; }
div#copyright.new-copyright-main { padding: 0rem !important; }
div#copyright.new-copyright-main .container { padding: 5rem 0 !important; }
.footer-custom div#copyright.new-copyright-main {
  padding-left: 0rem !important;
  padding-right: 0rem !important;
}