/* =========================================================
   MINUVIA FAQ PAGE
   Separate from the main website CSS
========================================================= */


:root {
  --navy: #0B1F3C;
  --blue: #246CF5;
  --blue-dark: #1254D2;
  --text: #142744;
  --muted: #687991;
  --line: #DFE7F1;
  --white: #FFFFFF;
  --page: #F8FAFD;
}


/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;

  color: var(--text);

  background: var(--page);

  font-family:
    "Manrope",
    Arial,
    sans-serif;

  -webkit-font-smoothing: antialiased;
}


a {
  color: inherit;

  text-decoration: none;
}


button {
  font: inherit;

  cursor: pointer;
}


img {
  max-width: 100%;
}


.faq-container {
  width:
    min(
      1180px,
      calc(100% - 40px)
    );

  margin: 0 auto;
}


/* =========================================================
   NAVIGATION
========================================================= */

.faq-header {
  position: sticky;

  z-index: 1000;

  top: 0;

  background: var(--navy);

  box-shadow:
    0 7px 25px
    rgba(11, 31, 60, 0.16);
}


.faq-nav {
  min-height: 76px;

  display: flex;

  align-items: center;

  gap: 30px;
}


.faq-brand {
  margin-right: auto;

  display: flex;

  align-items: center;
}


.faq-brand img {
  width: 160px;

  height: auto;

  display: block;

  transform:
    translateY(17px);
}


.faq-desktop-nav {
  display: flex;

  align-items: center;

  gap: 25px;
}


.faq-desktop-nav a {
  color:
    rgba(255,255,255,0.95);

  font-size: 13px;

  font-weight: 800;
}


.faq-desktop-nav a:hover {
  color: #BDD3FF;
}


.faq-nav-active {
  color: #8EB8FF !important;
}


.faq-download-button {
  min-height: 46px;

  padding:
    0 22px;

  border-radius: 13px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  color: var(--navy);

  background: #FFFFFF;

  font-size: 14px;

  font-weight: 800;
}


.faq-menu-button {
  width: 44px;

  height: 44px;

  border:
    1px solid
    rgba(255,255,255,0.20);

  border-radius: 12px;

  display: none;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 4px;

  background: transparent;
}


.faq-menu-button span {
  width: 18px;

  height: 2px;

  display: block;

  background: #FFFFFF;
}


.faq-mobile-nav {
  display: none;

  padding:
    10px 20px 22px;

  flex-direction: column;

  gap: 13px;

  color: #FFFFFF;

  background: var(--navy);
}


.faq-mobile-nav.open {
  display: flex;
}


.faq-mobile-nav a {
  padding: 7px 0;

  font-weight: 700;
}


.faq-mobile-download {
  padding:
    12px !important;

  border-radius: 11px;

  text-align: center;

  color:
    var(--navy) !important;

  background: #FFFFFF;
}


/* =========================================================
   FAQ PAGE
========================================================= */

.faq-page-section {
  position: relative;

  padding:
    60px 0 100px;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #FFFFFF 0%,
      #FBFDFF 52%,
      #F2F7FD 100%
    );
}


.faq-page-container {
  position: relative;

  z-index: 2;

  max-width: 1040px;
}


/* =========================================================
   BACKGROUND
========================================================= */

.faq-orb {
  position: absolute;

  border-radius: 50%;

  pointer-events: none;
}


.faq-orb-left {
  left: -250px;

  top: 430px;

  width: 500px;

  height: 500px;

  background:
    rgba(202,222,250,0.22);
}


.faq-orb-right {
  right: -260px;

  bottom: 300px;

  width: 540px;

  height: 540px;

  background:
    rgba(202,222,250,0.24);
}


/* =========================================================
   PAGE HEADING
========================================================= */

.faq-page-heading {
  max-width: 820px;

  margin:
    0 auto 75px;

  text-align: center;
}


.faq-eyebrow {
  min-height: 31px;

  padding:
    0 15px;

  border:
    1px solid #C9D9F5;

  border-radius: 999px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  color: var(--blue);

  background:
    rgba(255,255,255,0.75);

  font-size: 11px;

  font-weight: 800;
}


.faq-page-heading h1 {
  margin:
    20px 0 14px;

  color: var(--navy);

  font-size:
    clamp(
      44px,
      5vw,
      64px
    );

  line-height: 1.04;

  letter-spacing: -3px;
}


.faq-page-heading p {
  max-width: 690px;

  margin: 0 auto;

  color: var(--muted);

  font-size: 16px;

  line-height: 1.7;
}


/* =========================================================
   FAQ CATEGORIES
========================================================= */

.faq-category {
  margin-top: 70px;

  display: grid;

  grid-template-columns:
    245px
    minmax(0,1fr);

  align-items: start;

  gap: 60px;
}


.faq-category-heading {
  position: sticky;

  top: 120px;

  display: flex;

  align-items: flex-start;

  gap: 15px;
}


.faq-category-heading > span {
  flex: 0 0 auto;

  width: 43px;

  height: 43px;

  border-radius: 12px;

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--blue);

  background: #EAF2FF;

  font-size: 11px;

  font-weight: 900;
}


.faq-category-heading h2 {
  margin: 1px 0 5px;

  color: var(--navy);

  font-size: 20px;

  letter-spacing: -0.5px;
}


.faq-category-heading p {
  margin: 0;

  color: var(--muted);

  font-size: 12px;

  line-height: 1.55;
}


/* =========================================================
   ACCORDION
========================================================= */

.faq-accordion {
  border-top:
    1px solid var(--line);
}


.faq-item {
  border-bottom:
    1px solid var(--line);
}


.faq-question {
  width: 100%;

  min-height: 78px;

  padding:
    0;

  border: 0;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;

  text-align: left;

  color: var(--navy);

  background: transparent;

  font-size: 15px;

  font-weight: 800;
}


.faq-question:hover {
  color: var(--blue);
}


.faq-plus {
  flex: 0 0 auto;

  width: 32px;

  height: 32px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--blue);

  background: transparent;

  font-size: 25px;

  font-weight: 500;

  line-height: 1;

  transition:
    transform 0.25s ease,
    color 0.25s ease,
    background 0.25s ease;
}


.faq-answer {
  max-height: 0;

  overflow: hidden;

  opacity: 0;

  transition:
    max-height 0.35s ease,
    opacity 0.25s ease;
}


.faq-answer-inner {
  padding:
    0 55px 28px 0;
}


.faq-answer p {
  max-width: 690px;

  margin: 0;

  color: var(--muted);

  font-size: 14px;

  line-height: 1.8;
}


.faq-item.open .faq-answer {
  max-height: 400px;

  opacity: 1;
}


.faq-item.open .faq-plus {
  transform:
    rotate(45deg);

  color: #FFFFFF;

  background: var(--blue);
}


.faq-inline-link {
  margin-top: 15px;

  display: inline-flex;

  color: var(--blue);

  font-size: 13px;

  font-weight: 800;
}


.faq-inline-link:hover {
  color: var(--blue-dark);
}


/* =========================================================
   CONTACT CARD
========================================================= */

.faq-help-card {
  margin-top: 90px;

  padding:
    40px 44px;

  border-radius: 24px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 40px;

  color: #FFFFFF;

  background:
    linear-gradient(
      135deg,
      #0B1F3C 0%,
      #153763 100%
    );

  box-shadow:
    0 22px 50px
    rgba(11,31,60,0.13);
}


.faq-help-small {
  color: #8DB8FF;

  font-size: 10px;

  font-weight: 900;

  letter-spacing: 0.7px;
}


.faq-help-card h2 {
  margin:
    10px 0 7px;

  font-size: 30px;

  letter-spacing: -1px;
}


.faq-help-card p {
  margin: 0;

  color:
    rgba(255,255,255,0.72);

  font-size: 13px;
}


.faq-contact-button {
  flex: 0 0 auto;

  min-height: 48px;

  padding:
    0 20px;

  border-radius: 12px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  color: var(--navy);

  background: #FFFFFF;

  font-size: 13px;

  font-weight: 800;
}


/* =========================================================
   FOOTER
========================================================= */

.faq-footer {
  padding:
    46px 0;

  color:
    rgba(255,255,255,0.67);

  background: #08182F;
}


.faq-footer-grid {
  display: grid;

  grid-template-columns:
    1fr auto auto;

  align-items: center;

  gap: 45px;
}


.faq-footer-logo {
  width: 135px;

  display: block;

  transform:
    translateY(10px);
}


.faq-footer p {
  max-width: 330px;

  margin:
    16px 0 0;

  font-size: 12px;
}


.faq-footer-links {
  display: flex;

  flex-wrap: wrap;

  gap: 20px;

  font-size: 12px;
}


.faq-footer-copy {
  font-size: 12px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

  .faq-category {
    grid-template-columns:
      200px
      minmax(0,1fr);

    gap: 35px;
  }

}


@media (max-width: 900px) {

  .faq-desktop-nav,
  .faq-download-button {
    display: none;
  }


  .faq-menu-button {
    display: flex;
  }


  .faq-brand img {
    transform:
      translateY(13px);
  }


  .faq-category {
    display: block;
  }


  .faq-category-heading {
    position: static;

    margin-bottom: 20px;
  }


  .faq-footer-grid {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 620px) {

  .faq-container {
    width:
      calc(100% - 26px);
  }


  .faq-page-section {
    padding:
      48px 0 70px;
  }


  .faq-page-heading {
    margin-bottom: 55px;
  }


  .faq-page-heading h1 {
    font-size: 40px;

    letter-spacing: -2px;
  }


  .faq-page-heading p {
    font-size: 14px;
  }


  .faq-category {
    margin-top: 55px;
  }


  .faq-question {
    min-height: 72px;

    font-size: 14px;
  }


  .faq-answer-inner {
    padding:
      0 10px 25px 0;
  }


  .faq-help-card {
    padding: 30px 24px;

    align-items: flex-start;

    flex-direction: column;
  }


  .faq-contact-button {
    width: 100%;
  }

}