/* ==========================================================================
   Общие стили и утилиты
   ========================================================================== */
[v-cloak] {
  display: none;
}

.practice-card {
  background-color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

@media (hover: hover) {
  .practice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.07), 0 4px 6px -4px rgb(0 0 0 / 0.07);
    border-color: #48bb78;
  }
}

/* ==========================================================================
   Модальные окна
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 32, 44, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  box-sizing: border-box;
  z-index: 1000;
}

.modal-content {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  width: 100%;
  max-width: 500px;
  color: #2d3748;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

/* ==========================================================================
   Мобильное меню
   ========================================================================== */
.mobile-menu-panel {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 32, 44, 0.98);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Cookie Баннер
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1a202c;
  color: #edf2f7;
  padding: 1rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.cookie-banner-text {
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 60ch;
}

.cookie-banner-text button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #48bb78;
}

.cookie-banner-button {
  background-color: #48bb78;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-weight: bold;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.cookie-banner-button:hover {
  background-color: #38a169;
}

/* ==========================================================================
   Адаптация для больших экранов (Desktop)
   ========================================================================== */
@media (min-width: 768px) { /* md breakpoint */
  .modal-content {
    padding: 2.5rem;
  }
  .cookie-banner {
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    text-align: left;
  }
}