/* FONTS & NORMALIZE */
@font-face {
  font-family: "Mori";
  src: url("/themes/prestamosia/fonts/index/PPMori.woff2") format("woff2");
  font-weight: 100 900;
  font-optical-sizing: auto;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "PlusJakartaSans";
  src: url("/themes/prestamosia/fonts/index/PlusJakartaSans.woff2") format("woff2");
  font-weight: 100 900;
  font-optical-sizing: auto;
  font-display: swap;
  font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: "PlusJakartaSans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  height: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  font-weight: 500;
  background-color: #fff;
  color: #09090b;
  -webkit-text-size-adjust: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Mori", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-weight: 550;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

/* REUSABLE */
.container {
  width: 100%;
  padding: 0 16px;
  margin-left: auto;
  margin-right: auto;
}

.primary_button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  height: 48px;
  width: 100%;
  background-color: #18181b;
  box-shadow: inset 0px 4px 7px rgba(255, 255, 255, 0.24),
    inset 0px 0px 5px rgba(255, 255, 255, 0.35);
  color: #ffffff;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.primary_button_sm {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0px 16px;
  background-color: #18181b;
  box-shadow: inset 0px 4px 7px rgba(255, 255, 255, 0.24),
    inset 0px 0px 5px rgba(255, 255, 255, 0.35);
  color: #ffffff;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn_square {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  height: 36px;
  width: 36px;
  background-color: #F1F5F9;
}

.btn_square__icon {
  height: 20px;
}

/* FIRST SCREEN */
header {
  display: flex;
  justify-content: space-between;
  padding: 8px 8px 8px 20px;
  margin-top: 20px;
  border: 1px solid #e4e4e7;
  border-radius: 9999px;
  box-shadow: 0px 1px 4px rgba(12, 12, 13, 0.05);
}

.header__buttons {
  display: flex;
  gap: 8px;
}

.firstscreen__wrapper {
  padding: 32px 0px;
}

.firstscreen__tag {
  display: flex;
  position: relative;
  z-index: 0;
  width: fit-content;
  margin: 0 auto;
  gap: 4px;
  font-size: 14px;
  font-weight: 550;
  padding: 8px 16px 8px 14px;
  margin-bottom: 16px;
  border-radius: 9999px;
  background-color: #fafafa;
}

.firstscreen__tag::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background: linear-gradient(
    to right,
    #e010f7 0%,
    #1c11ed 34%,
    #f42121 65%,
    #3911ee 100%
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  border-radius: 9999px;
}

.firstscreen__heading {
  font-size: 24px;
  text-align: center;
  margin-bottom: 12px;
}

.firstscreen__text {
  font-size: 14px;
  text-align: center;
}

/* SECOND SCREEN */
.mark-section {
  padding: 56px 0px 0px 0px;
}

.subheading {
  font-size: 12px;
  font-weight: 650;
  color: #71717a;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.heading-2 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 12px;
}

.mark-text {
  font-size: 14px;
  text-align: center;
}

.partners__scroll-wrapper {
  overflow: hidden;
}

.partners__scroll {
  display: flex;
  align-items: center;
}

.scroll-track {
  padding: 20px 0px 24px 0px;
  display: flex;
  gap: 40px;
  will-change: transform;
}

.partner__item {
  height: 36px;
  flex-shrink: 0;
}

.cta__wrapper {
  padding: 0px 16px;
}

/* THIRD SCREEN */
.card__heading {
  font-size: 20px;
  text-align: center;
  margin-bottom: 24px;
}

.cards__wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}

.card__item {
  padding: 24px 20px;
  border: solid 1px #d4d4d8;
  border-radius: 8px;
}

.card__title {
  font-size: 16px;
}

.card__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
}

.card__list-icon {
  padding-top: 2px;
}

.card__list-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
}

/* REVIEWS */
.reviews {
  margin-top: 12px;
  padding: 24px 0px;
}

.reviews__wrapper {
  padding: 0px 16px;
}

.review__card-scroll {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 20px;
  padding: 12px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.review__card-scroll::-webkit-scrollbar {
  display: none;
}

.review__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 80vw;
  scroll-snap-align: start;
  background: #ffffff;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.03), 0px 2px 10px rgba(0, 0, 0, 0.06),
    0px 0px 1px rgba(0, 0, 0, 0.3);
  border-radius: 24px;
  padding: 16px;
}

.review__card-mask:focus-within .slider-nav,
.partners__scroll-wrapper:focus-within .slider-nav {
  opacity: 1;
}

.review__card-mask .slider-nav,
.partners__scroll-wrapper .slider-nav {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.review__card-mask:hover .slider-nav,
.partners__scroll-wrapper:hover .slider-nav {
  opacity: 1;
}

.review_card__rating {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review_card__text {
  padding-top: 16px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 450;
}

.review_card__person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.review_card_person-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 18px;
  line-height: 18px;
  font-weight: 700;
  color: #020617;
  border-radius: 9999px;
}

.review_card_person__name {
  font-size: 14px;
  font-weight: 650;
}

.review_card_person__sum {
  font-size: 12px;
  font-weight: 450;
  color: #64748b;
}

/* FAQ */
.faq {
  margin-top: 24px;
}
.faq-item {
  border-bottom: 1px solid #e4e4e7;
}
.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 0px;
  font-size: 16px;
  font-weight: 500;
  font-family: "Mori", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
    color: #09090B;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  width: 20px;
  height: 20px;
  background-image: url("/themes/prestamosia/images/index/plus_icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.faq-answer {
  font-size: 14px;
  color: #3f3f46;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.faq-answer.open {
  opacity: 1;
  padding-bottom: 16px;
}

.faq-item.open .faq-icon {
  background-image: url("/themes/prestamosia/images/index/minus_icon.svg");
}

/* FOOTER */
footer {
  margin-top: 36px;
  border-top: 1px solid #e2e8f0;
  padding: 32px 0px;
}

.footer__subheading {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 550;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__links_wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__link {
  font-size: 14px;
  font-weight: 550;
}

.footer__link_icon {
  font-size: 14px;
  font-weight: 550;
  position: relative;
  padding-right: 20px;
  display: inline-block;
  width: fit-content;
}

.footer__link_icon::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-image: url("/themes/prestamosia/images/index/arrow_icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.legal__footer {
  padding: 24px 0px;
  font-size: 12px;
  color: #94a3b8;
}

.footer_copy {
  border-top: 1px solid #e2e8f0;
  font-size: 12px;
  padding-top: 16px;
}

/* RESPONSIVE */
@media (min-width: 640px) {
  .container {
    max-width: 640px;
    padding: 0 20px;
  }
  .firstscreen__heading {
    font-size: 28px;
  }
  .heading-2 {
    font-size: 24px;
  }
  .partner__item {
    height: 40px;
  }
  .review__card {
    flex-basis: 65vw;
  }
  .footer__links {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
  .primary_button {
    width: fit-content;
    padding: 0 20px;
    margin-left: auto;
    margin-right: auto;
  }
  header {
    margin-top: 28px;
    padding: 10px 10px 10px 24px;
  }
  .firstscreen__wrapper {
    padding: 56px 0px;
  }
  .firstscreen__heading {
    font-size: 32px;
  }
  .mark-section {
    padding: 96px 0px 0px 0px;
  }
  .cards__wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .review__card {
    flex-basis: 420px;
  }
  .faq-question {
    font-size: 18px;
  }
  .faq-answer {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
  .firstscreen__wrapper {
    padding: 72px 0px;
  }
  .firstscreen__heading {
    font-size: 40px;
  }
  .heading-2 {
    font-size: 28px;
  }
  .partner__item {
    height: 44px;
  }
  .cards__wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .reviews {
    margin-top: 32px;
    padding: 48px 0px;
  }
  .review__card {
    flex-basis: 480px;
    padding: 20px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1200px;
  }
  .mark-section {
    padding-top: 112px;
  }
  .firstscreen__heading {
    font-size: 48px;
  }
  .partner__item {
    height: 48px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1280px;
  }
  .firstscreen__heading {
    font-size: 56px;
  }
}

/* SLIDER NAV CONTROLS */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  width: 36px;
  border-radius: 9999px;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.slider-nav::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background-image: url("/themes/prestamosia/images/index/arrow_icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.slider-nav--prev { left: 8px; }

.slider-nav--next {
  right: 8px;
}

.partners__scroll-wrapper {
  position: relative;
}

.review__card-mask {
  position: relative;
}

/* Horizontal arrows for reviews slider */
.review__card-mask .slider-nav::before {
  content: "";
  width: 0;
  height: 0;
  background: none;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.review__card-mask .slider-nav--next::before {
  border-left: 8px solid #0f172a;
}

.review__card-mask .slider-nav--prev::before {
  border-right: 8px solid #0f172a;
}

.consent_btn_primary:hover {
    background-color: #68686b !important;
}
.consent_btn_primary {
    background-color: #18181b !important;
}

.consent_btn_secondary:hover {
    box-shadow: inset 0 0 0 1px #88888b !important;
    color: #18181b !important;
    background-color: #fff !important;
}
.consent_btn_secondary {
    box-shadow: inset 0 0 0 1px #18181b !important;
    color: #18181b !important;
}