/*					Блок 2 - информация по страхованию								*/
.insurance-banner-section {
    width: 100%;
    background: linear-gradient(145deg, #e5e9f0, #cdd3dc);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}

.insurance-banner-container {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    padding: 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    flex-direction: row;
}

.insurance-banner-container:hover {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
}

/* ===== Контент справа ===== */
.insurance-banner-content {
    max-width: 600px;
}

.insurance-banner-title {
    font-size: 34px;
    margin-bottom: 20px;
    color: #333;
    animation: fadeIn 0.8s ease-out;
}

.insurance-banner-description {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    animation: fadeIn 1.2s ease-out;
}

/* ===== Картинка слева ===== */
.insurance-banner-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    animation: slideIn 1s ease-out;
}

/* ===== Анимации ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .insurance-banner-container {
        flex-direction: column;
        text-align: center;
    }

    .insurance-banner-image img {
        max-width: 100%;
    }

    .insurance-banner-content {
        max-width: 100%;
    }
}

/*					Блок 2 - информация по страхованию								*/
.insurance-info-section {
  font-family: "Segoe UI", sans-serif;
  padding: 2rem 1rem;
  border-bottom: 1px solid #e0e0e0;
  max-width: 900px;
  margin: auto;
color: #003366;
}

.insurance-info-title {
  font-size: 1.8rem;
  color: #003366;
  margin-bottom: 1.5rem;
  text-align: center;
}

.insurance-info-subtitle {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #cccccc;
  padding-bottom: 0.3rem;
  color: #003366;
}

.insurance-info-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.insurance-info-list li {
  margin-bottom: 0.75rem;
}

.insurance-info-list a {
  color: #003366;
  text-decoration: none;
  transition: color 0.2s ease;
}

.insurance-info-list a:hover {
  color: #cc0000;
  text-decoration: underline;
}

.insurance-info-contact {
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

.insurance-info-contact p {
  margin: 0.5rem 0;
}

.insurance-info-contact a {
  color: #003366;
  text-decoration: none;
}

.insurance-info-contact a:hover {
  color: #cc0000;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .insurance-info-title {
    font-size: 1.4rem;
  }

  .insurance-info-subtitle {
    font-size: 1rem;
  }
}


/*					Лого и ссылка на ССВ							*/
.insurance-insurance-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    background: linear-gradient(145deg, #f0f2f5, #d9dde3);
}

.insurance-insurance-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-right: 20px;
    max-width: 800px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insurance-insurance-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* ===== Изображение ===== */
.insurance-insurance-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.insurance-insurance-wrapper:hover .insurance-insurance-image {
    opacity: 0.9;
}

/* ===== Контент блока ===== */
.insurance-insurance-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.insurance-insurance-title {
    font-size: 20px;
    margin: 0;
    font-weight: 600;
}

.insurance-insurance-description {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.insurance-insurance-link {
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.insurance-insurance-link::after {
    content: "";
    width: 0;
    height: 2px;
    display: block;
    background: #007bff;
    transition: width 0.3s;
}

.insurance-insurance-link:hover {
    color: #0056b3;
}

.insurance-insurance-link:hover::after {
    width: 100%;
}
/*					Лицензия							*/
/* Контейнер для изображения */
.insurance-license-image-container {
  margin-top: 10px;
  padding-bottom: 60px;
  position: relative;
  display: flex;
  justify-content: center;
}

.insurance-license-image-item {
  max-width: 600px;
  width: 250px;
  text-align: center;
}

.insurance-license-image {
  width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.insurance-license-image:hover {
  transform: scale(1.05);
}

.insurance-license-image-caption {
  margin-top: 12px;
  font-size: 1rem;
  color: #666;
  font-style: italic;
}

/* Модальное окно */
.insurance-license-image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.insurance-license-image-modal-content {
  position: relative;
  max-height: 90vh;
  max-width: 90vw;
  animation: fadeIn 0.25s ease-out;
}

.insurance-license-image-modal-content img {
  width: auto;
  max-height: 90vh;
  border-radius: 10px;
  border: 1px solid #2d2d2d;
}

.insurance-license-image-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;
}

.insurance-license-image-close-btn:hover {
  background-color: #C3C3C3;
  color: #000;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
