												/* Баннер */

												/* Текст */
.bankinfo-requisites {
	padding-top: 0!important;
}
.bankinfo-point-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}
.bankinfo-point-info {
  margin-top: 32px;
}
.bankinfo-nadzor-line {
  height: 1px;
  background-color: #ccc;
  margin: 24px 0;
}

.bankinfo-nadzor-block a {
  color: inherit;
  text-decoration: underline;
}
.bankinfo-nadzor-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
}

.bankinfo-nadzor-link {
  display: inline-block;
  background-color: #2A2A2A;
  color: #fff;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bankinfo-nadzor-link:hover {
  background-color: #ff2c47;
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 44, 71, 0.35);
  border-color: rgba(255, 44, 71, 0.3);
}


/* Контроль за банком */

.bankinfo-control-banner {
  position: relative;
  width: 100%;
  background-image: url("../images/inf/bankinfo-control-banner.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  aspect-ratio: 2883 / 1024;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.bankinfo-control-banner-text-block {
  max-width: 40%;
  padding-left: 10%;
  color: #1a1a1a;
  font-family: inherit;
  box-sizing: border-box;
}

.bankinfo-control-banner-text-block h1 {
  font-size: 2rem;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 1rem;
}

.bankinfo-control-banner-text-block p {
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 400;
}

/* 📱 Мобильная адаптация */
@media (max-width: 768px) {
  .bankinfo-control-banner {
    aspect-ratio: auto;
    background-size: cover;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
  }

  .bankinfo-control-banner-text-block {
    max-width: 100%;
    text-align: left;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    backdrop-filter: blur(2px);
  }

  .bankinfo-control-banner-text-block h1 {
    font-size: 1.5rem;
  }

  .bankinfo-control-banner-text-block p {
    font-size: 1rem;
  }
}

/* Картинки лицензии */
.bankinfo-license-section {
  padding: 60px 20px;
background-color: #535353;
  text-align: center;
}

.bankinfo-license-title {
  font-size: 2.5rem;
  margin-bottom: 32px;
  color: white;
  font-weight: 500;
}

.bankinfo-license-gallery {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.bankinfo-license-img {
  height: 360px;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid #2d2d2d;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.bankinfo-license-img:hover {
  transform: scale(1.02);
}
.bankinfo-license-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 420px;
  text-align: center;
}

.bankinfo-license-caption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #bbb;
  line-height: 1.4;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bankinfo-license-modal {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.bankinfo-license-modal-content {
	position: relative;
  max-height: 90vh;
  max-width: 90vw;
  animation: fadeIn 0.25s ease-out;
}

.bankinfo-license-modal-content img {
  width: auto;
  max-height: 90vh;
  border-radius: 10px;
  border: 1px solid #2d2d2d;
}
.bankinfo-license-close-btn {
  position: absolute;
  top: -18px;
  right: -18px;
  background-color: #eee;
  color: #111;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  cursor: pointer;
}


.bankinfo-license-close-btn:hover {
  background-color: #C3C3C3;
  color: #000;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.bankinfo-license-download {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #f5f5f5;
  text-decoration: none;
  position: relative; /* нужно для ::after */
  opacity: 0.85;
  transition: color 0.3s ease, opacity 0.2s ease, transform 0.2s ease;
}

.bankinfo-license-download::before {
  content: "📄";
  font-size: 1rem;
}

.bankinfo-license-download::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px; /* небольшой отступ от текста */
  width: 100%;
  height: 2px;
  background-color: #ff4d4d;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.bankinfo-license-download:hover {
  color: #ff4d4d;
  opacity: 1;
  transform: translateY(-1px);
}

.bankinfo-license-download:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
