/* =================================== Баннер ======================================== */
.cells-banner-section {
    width: 100%;
    background: linear-gradient(145deg, #e5e9f0, #cdd3dc);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}

.cells-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;
}

.cells-banner-container:hover {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
}

/* ===== Контент блока ===== */
.cells-banner-content {
    max-width: 600px;
}

.cells-banner-title {
    font-size: 34px;
    margin-bottom: 20px;
    color: #333;
    animation: fadeIn 0.8s ease-out;
}

.cells-banner-description {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    animation: fadeIn 1.2s ease-out;
}

/* ===== Изображение ===== */
.cells-banner-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    animation: slideIn 1s ease-out;
}

#bannerImage {
    transition: opacity 0.4s ease;
}

.fade-image {
    transition: opacity 0.4s ease-in-out;
    opacity: 1;
}

.fade-image.fade-out {
    opacity: 0;
}

/* ===== Анимации ===== */
@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: 992px) {
    .cells-banner-container {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
        max-width: 90%;
    }

    .cells-banner-content {
        max-width: 100%;
        text-align: center;
    }

    .cells-banner-title {
        font-size: 28px;
    }

    .cells-banner-description {
        font-size: 16px;
    }

    .cells-banner-image img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .cells-banner-section {
        padding: 40px 0;
    }

    .cells-banner-container {
        padding: 20px 15px;
        gap: 20px;
    }

    .cells-banner-title {
        font-size: 22px;
    }

    .cells-banner-description {
        font-size: 14px;
        line-height: 1.4;
    }
}

/* =================================== Вступление ======================================== */
.cells-info-section {
  background: linear-gradient(to bottom, #f9f9f9, #e6e6e6);
  padding: 80px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.cells-info-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.cells-info-header {
  margin-bottom: 50px;
}

.cells-info-icon {
  width: 60px;
  margin-bottom: 20px;
  opacity: 0.85;
}

.cells-info-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.cells-info-description {
  font-size: 17px;
  color: #444;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.cells-info-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.cells-info-card {
  background-color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  padding: 30px 25px;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cells-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cells-info-size {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.cells-info-price {
  font-size: 22px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 8px;
  cursor: pointer; /* курсор pointer при наведении */
}
.cells-info-price:hover {
	color: #dc3545;
}
.cells-info-note {
  font-size: 14px;
  color: #777;
  line-height: 1.5;
}

.cells-info-payment-note {
  margin-top: 40px;
  font-size: 14px;
  color: #888;
}

/* Модальное окно */
/* Модалка */
.contacts-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  overflow-y: auto;
}

.contacts-modal-content {
  background: #fff;
  margin: 8% auto;
  padding: 40px 50px;
  border-radius: 16px;
  max-width: 600px;
  font-size: 16px;
  line-height: 1.7;
  position: relative;
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
  animation: fadeIn 0.4s ease;
}

/* Заголовок */
.contacts-modal-title {
  font-size: 22px;
  margin-bottom: 25px;
  text-align: center;
  color: #b30000;
}

/* Блок города */
.contacts-modal-city {
  margin-bottom: 25px;
  padding: 20px;
  border-radius: 12px;
  background: #fafafa;
  border: 1px solid #eee;
}
.contacts-modal-city-name {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
}

/* Поля */
.contacts-modal-field {
  margin-bottom: 15px;
}
.contacts-modal-label {
  font-weight: bold;
  font-size: 15px;
  color: #222;
  margin-bottom: 6px;
}
.contacts-modal-value {
  font-size: 15px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Крестик */
.contacts-modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
  transition: color 0.2s ease;
}
.contacts-modal-close:hover {
  color: #000;
}

/* Анимация */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}


/* =================================== Штрафы ======================================== */
.penalties-simple {
  max-width: 480px;
  margin: 13px auto;
  padding: 20px 24px 70px;
}

.penalties-simple h3 {
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 22px;
  text-align: center;
}

.penalties-simple table {
  width: 100%;
  border-collapse: collapse;
}

.penalties-simple td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  font-size: 16px;
}

.penalties-simple td:last-child {
  text-align: right;
  font-weight: 600;
  color: #b33;
}

.penalties-simple tr:last-child td {
  border-bottom: none;
}
