/****************************************************/
/*general input styling when animated*/
/****************************************************/
.input-container .input-animated + label {
  top: 8px;
  font-size: 14px;
  line-height: 16px;
}
.input-container .input-animated:placeholder-shown + label {
  top: 18px;
  font-size: 16px;
  line-height: 18px;
}
.input-container .input-animated:not(:placeholder-shown), .input-container .input-animated:focus {
  padding-top: 28px;
  padding-bottom: 8px;
}
.input-container .input-animated:focus + label {
  top: 8px;
  font-size: 14px;
  line-height: 16px;
}
.input-container.parsley-error > label {
  @apply border-red-70;
}
.input-container > label.is-focused {
  @apply border-black-20;
}

/****************************************************/
/*Input styling of checkbox */
/****************************************************/
/****************************************************/
/*  Input styling of radio */
/****************************************************/
.rangeslider__my {
  position: absolute;
  left: -1px;
  bottom: -11px;
  width: calc(100% + 2px);
}
.rangeslider__fill__bg, .rangeslider__fill, .rangeslider__handle {
  @apply -translate-y-1/2 bg-blue-primary h-1 rounded-none;
  touch-action: none;
}
.rangeslider__fill__bg {
  @apply bg-black-10;
}
.rangeslider__handle {
  @apply h-3.5 rounded-full;
}

.popup {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: fixed;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s linear;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup.open {
  opacity: 1;
  pointer-events: auto;
}
.popup__blur {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.2);
}
.popup__close {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s linear;
  position: absolute;
  top: 16px;
  right: 16px;
  cursor: pointer;
}
.popup__body {
  position: absolute;
  max-height: 100%;
  z-index: 15;
  background-color: white;
  width: 670px;
  border-radius: 16px;
  padding: 32px;
}
.popup--form .popup__body {
  width: 450px;
}
.popup--form h2 {
  font-size: 24px;
  margin-bottom: 24px;
  line-height: 32px;
  font-weight: 600;
}
.popup--form form .form-group {
  margin-bottom: 16px;
}
.popup--form form .form-group .form-control {
  width: 100%;
  padding: 16px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-weight: 500;
}
.popup--form form .form-group .form-control::placeholder {
  font-weight: 400;
}
@media (max-width: 767px) {
  .popup__body {
    width: 90%;
    max-height: 90%;
  }
}

#popupForm:checked + .popup {
  opacity: 0;
  pointer-events: none;
}

.partners {
  margin: 100px 0;
}
.partners .page-title {
  font-weight: 700;
  font-size: 48px;
  line-height: 54px;
  letter-spacing: 0.02em;
  color: #0C1A1F;
  margin-bottom: 40px;
}
.partners__grid {
  display: grid;
  grid-gap: 30px;
  grid-template-columns: repeat(6, 1fr);
  border-radius: 8px;
  overflow: hidden;
}
.partners__logo {
  width: 170px;
  height: 40px;
}
.partners__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.partners__item {
  padding: 16px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-section {
  margin-bottom: 48px;
  padding-top: 24px;
}
.banner-section > .container {
  max-width: 1170px;
  padding: 0 15px;
}
.banner-section__grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
  align-items: stretch;
}
.banner-section__slider {
  min-width: 0;
}
.banner-section__slider .swiper-container {
  border-radius: 24px;
  overflow: hidden;
  background: #0B1B36;
}
.banner-section__slider .swiper-wrapper {
  min-height: 100%;
}
.banner-section__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.banner-section .swiper-slide {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  height: auto !important;
  padding: 64px 56px;
  background: linear-gradient(135deg, #0B1B36 0%, #162D54 40%, #1A3A6B 100%);
  position: relative;
}
.banner-section .banner-container {
  max-width: 100%;
  margin: 0;
  min-height: unset;
  color: white;
  position: relative;
  z-index: 5;
}
.banner-section .banner-container h2 {
  color: #FFFFFF;
  font-size: 40px;
  line-height: 48px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.banner-section .banner-container p {
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
}
.banner-section .banner-container .button-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  border-radius: 12px;
  background: #2563EB;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}
.banner-section .banner-container .button-primary::after {
  content: none;
}
.banner-section .banner-container .button-primary svg {
  transition: transform 0.25s ease;
}
.banner-section .banner-container .button-primary:hover {
  background: #1D4ED8;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
}
.banner-section .banner-container .button-primary:hover svg {
  transform: translateX(3px);
}
.banner-section .banner-slide__content {
  max-width: 460px;
}
.banner-section .banner-section__arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 10;
  display: flex;
  gap: 8px;
}
.banner-section .banner-section__arrow button {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.banner-section .banner-section__arrow button:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}
.banner-section .banner-section__arrow button:hover img {
  filter: brightness(0) invert(1);
  opacity: 1;
}
.banner-section .banner-section__arrow button img {
  margin: 0;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  width: 14px;
  height: 14px;
}
.banner-section .banner-section__arrow button.swiper-nav-button-custom-prev img {
  transform: rotate(180deg);
}
.banner-section .banner-section__arrow button.swiper-nav-button-custom-disabled {
  cursor: default;
  opacity: 0.25;
}
.banner-section .banner-section__arrow button.swiper-nav-button-custom-disabled:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}
.banner-section .banner-section__arrow button.swiper-nav-button-custom-disabled:hover img {
  opacity: 0.6;
}
.banner-section .swiper-pagination-custom {
  position: absolute !important;
  bottom: 28px !important;
  left: 56px !important;
  top: auto !important;
  right: auto !important;
  display: flex;
  gap: 6px;
  z-index: 10;
}
.banner-section .swiper-pagination-custom .swiper-pagination-custom-bullet {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  height: 4px;
  width: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.banner-section .swiper-pagination-custom .swiper-pagination-custom-bullet:hover {
  background: rgba(255, 255, 255, 0.5);
}
.banner-section .swiper-pagination-custom .swiper-pagination-custom-bullet.swiper-pagination-custom-bullet-active {
  background: #FFFFFF;
  width: 36px;
}
@media (max-width: 1279px) {
  .banner-section__grid {
    grid-template-columns: 1fr 260px;
    gap: 12px;
  }
  .banner-section .banner-container h2 {
    font-size: 32px;
    line-height: 40px;
  }
  .banner-section .swiper-slide {
    padding: 48px 40px;
  }
  .banner-section .swiper-pagination-custom {
    left: 40px !important;
    bottom: 24px !important;
  }
}
@media (max-width: 767px) {
  .banner-section {
    padding-top: 0;
  }
  .banner-section > .container {
    padding: 0;
  }
  .banner-section__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .banner-section__side {
    flex-direction: row;
    padding: 0 15px;
  }
  .banner-section .swiper-wrapper {
    height: 400px;
  }
  .banner-section .banner-section__arrow {
    display: none;
  }
  .banner-section .swiper-slide {
    padding: 48px 24px 64px;
    border-radius: 0;
  }
  .banner-section .banner-container {
    padding: 0;
  }
  .banner-section .banner-container h2 {
    font-size: 28px;
    line-height: 34px;
  }
  .banner-section .banner-container p {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 24px;
  }
  .banner-section .banner-container .button-primary {
    padding: 12px 24px;
    font-size: 14px;
  }
  .banner-section .banner-slide__content {
    max-width: 100%;
  }
  .banner-section .swiper-pagination-custom {
    left: 24px !important;
    bottom: 20px !important;
    top: auto !important;
  }
  .banner-section .swiper-pagination-custom .swiper-pagination-custom-bullet {
    width: 18px;
    height: 3px;
  }
  .banner-section .swiper-pagination-custom .swiper-pagination-custom-bullet.swiper-pagination-custom-bullet-active {
    width: 28px;
  }
}

.banner-side-card {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px;
  border-radius: 20px;
  background: #FFFFFF;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  overflow: hidden;
  position: relative;
}
.banner-side-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transform: translateY(-3px);
}
.banner-side-card:hover .banner-side-card__badge {
  background: #2563EB;
  color: #FFFFFF;
}
.banner-side-card__content {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 2;
}
.banner-side-card__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 22px;
  color: #0F172A;
  margin-bottom: 5px;
}
.banner-side-card__desc {
  font-size: 13px;
  line-height: 18px;
  color: #94A3B8;
  margin-bottom: 16px;
}
.banner-side-card__badge {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  background: #F1F5F9;
  border: none;
  transition: all 0.25s ease;
}
.banner-side-card__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-left: 16px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}
.banner-side-card__icon svg {
  width: 28px;
  height: 28px;
}
.banner-side-card--rates .banner-side-card__icon {
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  color: #4F46E5;
}
.banner-side-card--rates:hover .banner-side-card__icon {
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
  color: #FFFFFF;
  transform: scale(1.05);
}
.banner-side-card--loans .banner-side-card__icon {
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  color: #16A34A;
}
.banner-side-card--loans:hover .banner-side-card__icon {
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
  color: #FFFFFF;
  transform: scale(1.05);
}
@media (max-width: 1279px) {
  .banner-side-card {
    padding: 20px;
  }
  .banner-side-card__title {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  .banner-side-card {
    border-radius: 16px;
    padding: 16px;
  }
  .banner-side-card__icon {
    display: none;
  }
  .banner-side-card__title {
    font-size: 15px;
    line-height: 20px;
  }
  .banner-side-card__desc {
    font-size: 12px;
    line-height: 17px;
    margin-bottom: 10px;
  }
  .banner-side-card__badge {
    font-size: 12px;
    padding: 5px 12px;
  }
}

.news .row {
  display: flex;
}
@media (min-width: 768px) {
  .news .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.news .js-tab-button {
  padding: 10px 12px;
}
.news .js-tab-button.button-tab-active {
  background-color: #0C1A1F;
}
.news__item {
  padding: 6px;
  background-color: white;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.02);
  border-radius: 16px;
}
.news__img {
  border-radius: 8px;
  height: 160px;
}
.news__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partners-section {
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .partners-section .md\:grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.partners-section__item {
  padding: 20px 25px;
}
.partners-section__item img {
  height: 40px;
}

.footer {
  background-color: white;
  padding: 40px 0;
}
.footer__top {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .footer__top .md\:grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.footer__menu {
  flex: 0 0 auto;
  width: calc(16.66667% - 25px);
}
.footer__menu__head {
  font-weight: 600;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 0.02em;
  color: #0C1A1F;
  margin-bottom: 12px;
  display: block;
}
.footer__menu ul li {
  margin-bottom: 8px;
}
.footer__menu ul li:last-child {
  margin-bottom: 0;
}
.footer__menu ul li a {
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  color: rgba(12, 26, 31, 0.8);
  display: block;
}
.footer__logo {
  margin-bottom: 16px;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid #F3F3F4;
  margin-top: 32px;
}
.footer__bottom__left {
  gap: 55px;
}
.footer__bottom form .title-24-medium {
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  color: #0C1A1F;
  margin-bottom: 12px;
}
.footer__bottom form p {
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  color: #B6BABC;
  margin-top: 6px;
}
.footer__bottom__info {
  text-align: right;
}
.footer__bottom__info span {
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  color: #858C8F;
  display: block;
  margin-bottom: 4px;
}
.footer__bottom__info h3 {
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  text-align: right;
  letter-spacing: 0.02em;
  color: #0C1A1F;
  margin-bottom: 16px;
}
.footer__bottom__info h4 {
  font-weight: 600;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 0.02em;
  color: #0C1A1F;
}
@media (max-width: 1024px) {
  .footer__top {
    gap: 24px;
  }
  .footer__top .md\:grid-cols-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer__menu {
    width: calc(33.3333% - 18px);
  }
}
@media (max-width: 767px) {
  .footer__top {
    gap: 20px;
  }
  .footer__menu {
    width: 100%;
  }
}

.currency {
  background-color: white;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.02);
  border-radius: 16px;
}
.currency__head {
  padding: 24px;
}
.currency__head .title-24-bold {
  margin-bottom: 20px;
}
.currency__tools {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.currency__tools select {
  padding: 10px 12px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 0.02em;
  color: #0C1A1F;
  appearance: none;
  padding-right: 40px;
  background: url("/img/svg-icons/arrow-bottom-black.svg") right 12px top 50% no-repeat #F3F3F4;
  background-size: 20px;
}
.currency__category {
  display: flex;
  gap: 12px;
  margin-right: auto;
}
.currency__category__item {
  padding: 10px 12px;
  background: #F3F3F4;
  border-radius: 100px;
  font-weight: 500;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 0.02em;
  color: #0C1A1F;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s ease-in-out;
  min-width: 88px;
}
.currency__category__item img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.currency__category__item.active {
  background: #0C1A1F;
  color: white;
}
.currency__category__item:hover:not(.active) {
  background: #E7E8E9;
}
.currency__sales {
  background: #F3F3F4;
  border-radius: 12px;
  padding: 4px;
  display: flex;
}
.currency__sales__radio input {
  display: none;
}
.currency__sales__radio input:checked ~ label {
  border-color: #E7E8E9;
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);
  background-color: white;
}
.currency__sales button, .currency__sales label {
  font-weight: 500;
  font-size: 16px;
  line-height: 18px;
  text-align: center;
  letter-spacing: 0.02em;
  color: #858C8F;
  padding: 9px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: 0.3s ease-in-out;
}
.currency__sales button.active, .currency__sales label.active {
  border: 1px solid #E7E8E9;
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background-color: white;
}
.currency__sales button:hover, .currency__sales label:hover {
  color: rgba(12, 26, 31, 0.8);
}
.currency__form {
  display: flex;
  gap: 14px;
}
.currency__form > * {
  flex: 0 0 auto;
  width: 50%;
}
.currency .rates__info__table tr td a.button-primary {
  padding: 9px 12px;
  color: white;
  text-align: center;
  width: max-content;
  margin-left: auto;
}
.currency .rates__info__table tr td span.date {
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  color: #858C8F;
}
.currency__shopping {
  position: sticky;
  top: 90px;
}
.currency__shopping__item {
  background-color: white;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.02);
  border-radius: 16px;
}
.currency__shopping__item h3 {
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.02em;
  color: #0C1A1F;
  margin-bottom: 16px;
}
.currency__shopping__item .custom-select {
  margin-top: 16px;
}
@media (max-width: 1024px) {
  .currency__shopping {
    position: relative;
    top: 0;
  }
}
@media (max-width: 767px) {
  .currency {
    margin: 0 -16px;
  }
  .currency__tools {
    flex-direction: column-reverse;
    gap: 16px;
  }
  .currency__sales {
    margin: 0 16px;
  }
  .currency__sales__radio {
    width: 50%;
  }
  .currency__head {
    padding: 0;
  }
  .currency__head .title-24-bold {
    padding: 24px 16px 0;
  }
  .currency__category {
    overflow-x: auto;
    width: 100%;
    padding: 0 16px;
  }
  .currency__category::-webkit-scrollbar {
    display: none;
  }
  .currency__category::-webkit-scrollbar-track {
    box-shadow: none;
  }
  .currency__category::-webkit-scrollbar-thumb {
    background-color: transparent;
    outline: none;
  }
  .currency__form {
    padding: 0 16px;
    flex-direction: column;
  }
  .currency__form > * {
    width: 100%;
  }
}

.banks {
  margin-top: 64px;
}
.banks h1 {
  font-weight: 700;
  font-size: 36px;
  line-height: 42px;
  color: #0C1A1F;
  margin-bottom: 24px;
}
.banks .banks__row {
  display: flex;
  margin: 0 -15px;
}
.banks .banks__row .col-md-7 {
  flex: 0 0 auto;
  width: 66.66667%;
  padding: 0 15px;
}
.banks .banks__row .col-md-5 {
  flex: 0 0 auto;
  width: 33.33333%;
  padding: 0 15px;
}
.banks__item {
  display: flex;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.02);
  border-radius: 16px;
  background-color: white;
  border: 1px solid transparent;
  transition: 0.3s ease-in-out;
  padding: 20px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.banks__item:hover {
  border-color: #D6DCEA;
}
.banks__item .button-primary {
  padding: 15px 20px;
}
.banks__desc {
  display: flex;
  align-items: center;
  gap: 16px;
}
.banks__desc h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  color: #0C1A1F;
  margin-bottom: 0;
}
.banks__logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.banks__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banks__info {
  display: flex;
  gap: 48px;
}
.banks__info li {
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.02em;
  color: #0C1A1F;
}
.banks__info li span {
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  color: #858C8F;
  display: block;
  margin-bottom: 4px;
}
.banks__right {
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.02);
  border-radius: 16px;
  background-color: white;
  padding: 24px;
  margin-bottom: 16px;
}
.banks__right h4 {
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.02em;
  color: #0C1A1F;
  margin-bottom: 8px;
}
.banks__right .button-primary {
  margin-top: 20px;
  padding: 15px;
}
.banks__right ol {
  counter-reset: my-awesome-counter;
}
.banks__right ol li {
  margin-bottom: 16px;
  counter-increment: my-awesome-counter;
}
.banks__right ol li:before {
  content: counter(my-awesome-counter);
}
.banks__right ol li:last-child {
  margin-bottom: 0;
}
.banks__right ol li .offers__item__logo {
  width: 40px;
  height: 40px;
  min-width: 40px;
}
.banks__right ol li .offers__item__desc h3 {
  font-size: 16px;
  line-height: 18px;
}

.interesting-offers {
  margin: 48px 0;
}
.interesting-offers .offers__item {
  padding: 16px;
}
.interesting-offers .offers__item__head {
  margin-bottom: 20px;
  gap: 12px;
}
.interesting-offers .offers__item__block {
  flex-direction: column;
}
.interesting-offers .offers__item__block .button-primary {
  width: 100%;
}
.interesting-offers .offers__item__logo {
  width: 40px;
  height: 40px;
  min-width: 40px;
}
.interesting-offers .offers__item__desc h3 {
  font-size: 16px;
  line-height: 18px;
}
.interesting-offers .offers__item__info {
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.interesting-offers .row {
  display: flex;
  margin: 0 -8px;
}
.interesting-offers .row .col-md-4 {
  flex: 0 0 auto;
  width: 33.33333%;
  padding: 0 8px;
}

body {
  background: #F6F7F8;
}

.form-group--phone {
  border: 2px solid #E7E8E9;
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  padding: 20px 0 5px;
}
.form-group--phone select {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  padding-left: 8px;
  border-right: 2px solid #E7E8E9;
}
.form-group--phone input {
  padding-left: 70px;
}
.form-group--phone label {
  font-size: 14px;
  line-height: 16px;
  position: absolute;
  left: 70px;
  top: 6px;
  color: rgb(182, 186, 188);
}

.content {
  letter-spacing: 0.02em;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: rgba(12, 26, 31, 0.8);
}
.content h1 {
  font-weight: 700;
  font-size: 48px;
  line-height: 54px;
  color: #0C1A1F;
}
.content h2 {
  font-weight: 700;
  font-size: 32px;
  line-height: 38px;
  color: #0C1A1F;
}
.content h3 {
  font-weight: 700;
  font-size: 28px;
  line-height: 34px;
  color: #0C1A1F;
}
.content h4 {
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  color: #0C1A1F;
}
.content h4 {
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #0C1A1F;
}
.content h5 {
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #0C1A1F;
}
.content h6 {
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
  color: #0C1A1F;
}

.more_btn a {
  font-weight: 600;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 0.02em;
  color: #325196;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.more_btn a:after {
  content: "";
  display: block;
  background-image: url("/img/svg-icons/arrow-right.svg");
  width: 24px;
  height: 24px;
}
.more_btn a:hover {
  color: #0A296E;
}
.more_btn a:hover:after {
  filter: brightness(0) saturate(100%) invert(9%) sepia(75%) saturate(3792%) hue-rotate(221deg) brightness(89%) contrast(96%);
}

.calculator__block {
  padding: 40px;
  background-color: white;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.02);
  border-radius: 16px;
}

.credits-type {
  margin-bottom: 48px;
}

.section-calculator .container {
  padding: 0;
}

.section-calculator__block {
  padding: 40px;
  margin-bottom: 12px;
  background-color: white;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.02);
  border-radius: 16px;
}
@media (max-width: 1280px) {
  .section-calculator__block {
    padding: 40px 0;
  }
}
@media (max-width: 767px) {
  .section-calculator__block {
    padding: 16px;
  }
}

.section-title {
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: 0.02em;
  color: #0C1A1F;
  margin-bottom: 16px;
}

.header {
  background-color: #F6F7F8;
}
.header__nav {
  margin-left: 0 !important;
}
.header .header__search__btn {
  margin-left: auto !important;
}

.page-head {
  margin-bottom: 16px;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.02em;
  color: rgba(12, 26, 31, 0.8);
}

.custom-select {
  position: relative;
}
.custom-select > input {
  position: absolute;
  opacity: 0;
  width: 100%;
  display: none;
  z-index: 5;
  cursor: pointer;
}
.custom-select > input:focus ~ .custom-select__list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.custom-select__selected {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 0.02em;
  color: #0C1A1F;
  cursor: pointer;
  width: 100%;
}
.custom-select__selected:after {
  content: "";
  background-image: url("/img/svg-icons/arrow-bottom.svg");
  display: block;
  width: 24px;
  height: 24px;
  background-position: center;
  background-size: 16px;
  background-repeat: no-repeat;
  margin-left: auto;
}
.custom-select__selected img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.custom-select__list {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  filter: drop-shadow(0px 4px 20px rgba(31, 33, 36, 0.1));
  border-radius: 16px;
  z-index: 10;
  margin-top: 10px;
  max-height: 180px;
  overflow-y: auto;
}
.custom-select__list.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.custom-select__list::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.custom-select__list::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px white;
  border-radius: 5px;
}
.custom-select__list::-webkit-scrollbar-thumb {
  background-color: #325196;
  outline: none;
  border-radius: 5px;
}
.custom-select__list li:last-child a {
  border-bottom: 0;
}
.custom-select__list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 0.02em;
  color: #0C1A1F;
  padding: 10px 8px;
  border-bottom: 1px solid #F6F7F8;
  transition: 0.3s ease-in-out;
}
.custom-select__list li a:hover {
  background-color: #F3F3F4;
}
.custom-select__list li a img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

@media (max-width: 767px) {
  .calculator__info {
    overflow-x: auto;
  }
  .calculator__info::-webkit-scrollbar {
    display: none;
  }
  .calculator__info::-webkit-scrollbar-track {
    box-shadow: none;
  }
  .calculator__info::-webkit-scrollbar-thumb {
    background-color: transparent;
    outline: none;
  }
}
.apply_form {
  padding: 40px;
  background-color: white;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.02);
  border-radius: 16px;
  margin-bottom: 48px;
}
@media (max-width: 767px) {
  .apply_form {
    padding: 32px 16px;
    margin: 0 -16px 32px;
  }
  .apply_form .container:first-of-type {
    padding: 0;
    margin-bottom: 24px;
  }
  .apply_form .container.w-full {
    padding: 0;
  }
  .apply_form .px-4:not(.cursor-text) {
    padding: 0 !important;
  }
}

figure.table table {
  background-color: white;
  border-radius: 16px;
  width: 100%;
  overflow: hidden;
}
figure.table table th, figure.table table td {
  padding: 16px 24px !important;
  text-align: start;
}
figure.table table td {
  font-weight: 500;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 0.02em;
  color: #0C1A1F;
}
figure.table table td span {
  display: block;
  margin-bottom: 2px;
}
figure.table table td a {
  display: block;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  color: #325196;
}
figure.table table td a:hover {
  color: #0A296E;
}
figure.table table tr {
  border-bottom: 2px solid #F6F7F8;
}
figure.table table tbody tr:last-child {
  border-bottom: 0;
}
figure.table table thead tr th {
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.04em;
  color: #858C8F;
  text-transform: uppercase;
}
figure.table table__name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.02em;
  color: #0C1A1F;
}
figure.table table__name img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.cards-hero {
  background: linear-gradient(135deg, #1a56db 0%, #1e40af 100%);
}
.cards-hero .mortgage-banner__desc h1 {
  color: #fff;
}
.cards-hero .mortgage-banner__desc p {
  color: rgba(255, 255, 255, 0.85);
}

.cards-listing {
  padding: 24px 0 48px;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.cards__item .offers__item__block {
  flex-direction: column;
  height: 100%;
}
.cards__item .offers__item__head {
  margin-bottom: 16px;
  gap: 12px;
  position: relative;
  width: 100%;
}
.cards__item .offers__item__logo {
  width: 40px;
  height: 40px;
  min-width: 40px;
}
.cards__item .offers__item__info {
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
  width: 100%;
}
.cards__item .cards__item__extra {
  margin-bottom: 16px;
}
.cards__item .offers__item__tools {
  margin-top: auto;
  width: 100%;
}
.cards__item .offers__item__tools .button-primary {
  width: 100%;
  text-align: center;
}
.cards__item {
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.02);
  border-radius: 16px;
  background-color: white;
  border: 1px solid transparent;
  transition: 0.3s ease-in-out;
  padding: 20px;
}
.cards__item:hover {
  border-color: #D6DCEA;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
}

.cards__badges {
  display: flex;
  gap: 8px;
  position: absolute;
  top: 0;
  right: 0;
}

.cards__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}
.cards__badge--payment {
  background-color: #EEF2FF;
  color: #4338CA;
}
.cards__badge--contactless {
  background-color: #ECFDF5;
  color: #059669;
  padding: 4px 6px;
}

.cards-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 48px 24px;
}
.cards-empty p {
  font-size: 16px;
  color: #858C8F;
}

.cards-detail-hero {
  background: linear-gradient(135deg, #1a56db 0%, #1e40af 100%);
}
.cards-detail-hero .mortgage-banner__desc {
  color: #fff;
}
.cards-detail-hero .mortgage-banner__desc h1 {
  color: #fff;
}
.cards-detail-hero__bank {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cards-detail-hero__logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cards-detail-hero__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cards-detail-hero__subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}
.cards-detail-hero__desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 8px;
}

.cards-detail-info {
  padding: 32px 0;
}

.cards-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.02);
}
@media (min-width: 768px) {
  .cards-detail-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (min-width: 1024px) {
  .cards-detail-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}
.cards-detail-grid__item {
  padding: 12px 0;
}
.cards-detail-grid__label {
  font-size: 14px;
  color: #858C8F;
  display: block;
  margin-bottom: 4px;
}
.cards-detail-grid__value {
  font-size: 18px;
  font-weight: 600;
  color: #0C1A1F;
  margin: 0;
}

.cards-detail-features {
  padding: 0 0 32px;
}
.cards-detail-features h3 {
  margin-bottom: 20px;
}
.cards-detail-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .cards-detail-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.cards-detail-features__item {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.02);
}
.cards-detail-features__item h4 {
  font-size: 16px;
  font-weight: 600;
  color: #0C1A1F;
  margin-bottom: 4px;
}
.cards-detail-features__item p {
  font-size: 14px;
  color: #858C8F;
  margin: 0;
}
.cards-detail-features__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: #EEF2FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a56db;
}

.cards-detail-cta {
  padding: 0 0 32px;
}
.cards-detail-cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  background: linear-gradient(135deg, #1a56db 0%, #1e40af 100%);
  border-radius: 16px;
}
.cards-detail-cta__box h3 {
  color: #fff;
  margin-bottom: 4px;
}
.cards-detail-cta__box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin: 0;
}
.cards-detail-cta__box .button-primary {
  flex-shrink: 0;
  background: #fff;
  color: #1a56db;
}
.cards-detail-cta__box .button-primary:hover {
  background: #f0f0f0;
}
@media (max-width: 767px) {
  .cards-detail-cta__box {
    flex-direction: column;
    text-align: center;
  }
  .cards-detail-cta__box .button-primary {
    width: 100%;
  }
}

.offers__item .offers__item__head h3 {
  font-size: 18px;
}
.offers__item .offers__item__head h5 {
  font-size: 14px;
}
.offers__item .offers__item__info p {
  font-size: 18px;
}
.offers__item .offers__item__info span {
  font-size: 14px;
  line-height: 20px;
  display: block;
}
.offers__item .offers__item__btn a {
  font-size: 14px;
}

.mortgage-loan-btn {
  height: max-content;
}

.w-80 {
  width: 80px !important;
}

html {
  scroll-behavior: smooth;
}

.bank-info__list ul, .bank-info__list ol {
  list-style: auto;
  padding-left: 18px;
}
.bank-info__list ul li, .bank-info__list ol li {
  padding-left: 0;
  font-size: 16px;
  line-height: 20px;
}
.bank-info__list ul li:before, .bank-info__list ol li:before {
  display: none;
}

.table-more {
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.table-more.hidden {
  display: none !important;
}

.header__nav {
  margin-left: auto;
}
.header__menu .have-sub {
  position: relative;
}
.header__menu .have-sub:hover a {
  opacity: 1 !important;
}
.header__menu .have-sub:hover .drop-menu {
  opacity: 1;
  visibility: visible;
}

.drop-menu {
  position: absolute;
  z-index: 10;
  top: 100%;
  left: 0;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  padding: 12px;
  background-color: white;
  border: 2px solid #E7E8E9;
  box-shadow: 0px 3px 0px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}
.drop-menu:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 15px;
}
.drop-menu li a {
  padding: 12px;
  display: block;
  white-space: nowrap;
  opacity: 1 !important;
  border-radius: 6px;
}
.drop-menu li a:hover {
  background-color: #F3F3F4;
}

@media (max-width: 780px) {
  .header__menu {
    margin-top: 8px;
  }
  .header__menu li {
    padding: 12px 0;
    border-bottom: 1px solid #E7E8E9;
  }
  .header__menu li a {
    font-weight: 600;
  }
  .header__menu li.have-sub.active .drop-menu {
    display: block;
  }
  .header__menu li.have-sub.active .icon-arrow-down {
    transform: rotate(180deg);
  }
  .header__menu li.have-sub .d-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .header__menu li.have-sub a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent !important;
  }
  .header__menu li.have-sub .drop-menu {
    position: unset;
    opacity: 1;
    visibility: visible;
    box-shadow: unset;
    padding: 0;
    border: 0;
    display: none;
  }
  .header__menu li.have-sub .drop-menu:before {
    display: none;
  }
  .header__menu li.have-sub .drop-menu li {
    margin-bottom: 12px;
    padding: 0;
    border: 0;
  }
  .header__menu li.have-sub .drop-menu li:last-child {
    margin-bottom: 0;
  }
  .header__menu li.have-sub .drop-menu li a {
    padding: 0;
    line-height: 18px;
    font-weight: 500;
  }
}
.bank_logo {
  width: 200px;
  height: 60px;
}
@media (max-width: 767px) {
  .bank_logo {
    width: 150px;
    height: 40px;
  }
}
