/* Блок "Важно знать" */

.important {
  padding: 56px 0 72px;
  background: #ffffff;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

@media (min-width: 900px) {
  .important {
    padding: 72px 0 88px;
  }
}

.important-header {
  max-width: 100%;
  margin: 0 0 32px 0;
  text-align: left;
}

.important-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ea580c;
  display: flex;
  align-items: center;
  gap: 6px;
}

.important-kicker::before {
  content: "⚠";
  font-size: 16px;
}

.important-title {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text, #0f172a);
}

@media (min-width: 900px) {
  .important-title {
    font-size: 28px;
  }
}

.important-subtitle {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted, #4b5563);
}

/* ========================================
   КОНТЕЙНЕР С РАМКОЙ
   ======================================== */

.important-wrapper {
  border: 3px solid #fb923c;
  border-radius: 20px;
  padding: 32px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
  box-shadow: 0 12px 40px rgba(251, 146, 60, 0.12);
  position: relative;
}

@media (max-width: 900px) {
  .important-wrapper {
    padding: 24px 20px;
    border-radius: 16px;
  }
}

.important-wrapper::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 6px;
  background: linear-gradient(90deg, #fb923c, #f59e0b, #fb923c);
  border-radius: 999px;
}

/* ========================================
   СЕТКА КАРТОЧЕК
   ======================================== */

.important-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

@media (min-width: 600px) {
  .important-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .important-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

/* ========================================
   КАРТОЧКИ ПРЕДУПРЕЖДЕНИЙ
   ======================================== */

.important-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  border: 2px solid #fed7aa;
  box-shadow: 0 4px 16px rgba(251, 146, 60, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.important-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(251, 146, 60, 0.15);
  border-color: #fb923c;
}

.important-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fb923c, #f59e0b);
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(251, 146, 60, 0.3);
}

.important-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text, #0f172a);
}

.important-card-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted, #4b5563);
}

/* ========================================
   FOOTER СЕКЦИИ
   ======================================== */

.important-footer {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  border: 2px solid #fb923c;
  box-shadow: 0 8px 24px rgba(251, 146, 60, 0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 900px) {
  .important-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
  }
}

.important-footer-content {
  flex: 1;
}

.important-footer-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text, #0f172a);
}

.important-footer-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted, #4b5563);
}

.important-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 600px) {
  .important-footer-actions {
    flex-direction: row;
    gap: 12px;
  }
}

.important-footer-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.important-footer-actions .btn-primary {
  background: #fb923c;
  border-color: #f59e0b;
  color: #ffffff;
}

.important-footer-actions .btn-primary:hover {
  background: #f59e0b;
  border-color: #ea580c;
}

.important-footer-actions .btn-secondary {
  background: #ffffff;
  border: 2px solid #fb923c;
  color: #ea580c;
}

.important-footer-actions .btn-secondary:hover {
  background: #fff7ed;
  border-color: #f59e0b;
}

/* ========================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ======================================== */

@media (max-width: 900px) {
  .important {
    padding: 40px 0 56px;
  }

  .important-header {
    margin-bottom: 24px;
  }

  .important-title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .important-subtitle {
    font-size: 14px;
  }

  .important-grid {
    gap: 12px;
    margin-bottom: 20px;
  }

  .important-card {
    padding: 14px;
    gap: 8px;
  }

  .important-card-icon {
    width: 36px;
    height: 36px;
  }

  .important-card-icon svg {
    width: 20px;
    height: 20px;
  }

  .important-card-title {
    font-size: 14px;
  }

  .important-card-text {
    font-size: 12px;
  }

  .important-footer {
    padding: 16px;
    gap: 14px;
  }

  .important-footer-title {
    font-size: 16px;
  }

  .important-footer-text {
    font-size: 13px;
  }

  .important-footer-actions {
    gap: 8px;
  }

  .important-footer-actions .btn {
    padding: 11px 16px;
    font-size: 13px;
  }

  .important-footer-actions .btn svg {
    width: 18px;
    height: 18px;
  }
}

/* Очень маленькие экраны */
@media (max-width: 400px) {
  .important-title {
    font-size: 20px;
  }

  .important-card {
    padding: 12px;
  }

  .important-card-title {
    font-size: 13px;
  }

  .important-card-text {
    font-size: 11px;
  }

  .important-footer-actions {
    flex-direction: column;
  }
}
