:root {
  --accent: #d12c72;
  --dark: #0f172a;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: #f8fafc;
  color: var(--dark);
}

.navbar .nav-link {
  font-weight: 600;
}

.navbar .nav-link:hover,
.footer-link:hover {
  color: var(--accent);
}

.logo-img {
  height: 62px;
  width: auto;
  flex-shrink: 0;
}

/* Адаптация логотипа для мобильных */
@media (max-width: 576px) {
  .logo-img {
    height: 42px;
  }
  .logo-text {
    font-size: 18px;
  }
}

@media (max-width: 400px) {
  .logo-img {
    height: 36px;
  }
  .logo-text {
    font-size: 16px;
  }
}

/* Гарантируем видимость логотипа в навбаре */
.navbar-brand {
  overflow: visible;
  z-index: 1000;
}

.logo-text {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 22px;
  letter-spacing: 0.5px;
}

.logo-text-main {
  background: linear-gradient(90deg, #d12c72 0%, #f17aa7 60%, #f7b5d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-text-up {
  color: #b21553;
  margin-left: 2px;
}

.section-title {
  font-weight: 800;
  color: var(--dark);
}

.placeholder {
  color: #d60000;
  font-weight: 700;
}

.cta-btn {
  background: var(--accent);
  border: none;
}

.cta-btn:hover {
  background: #b22560;
}

.card {
  border: none;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.footer-link {
  color: #e2e8f0;
  text-decoration: none;
}

/* Переключатель языка */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
  cursor: pointer;
}

.lang-btn:hover {
  background: #fff;
  color: var(--dark);
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--accent), #f17aa7);
  color: #fff;
  box-shadow: 0 2px 8px rgba(209, 44, 114, 0.3);
}

.lang-flag {
  font-size: 16px;
  line-height: 1;
}

.lang-code {
  font-weight: 600;
}

/* Выпадающий список языков */
.lang-dropdown {
  position: relative;
}

.lang-more {
  padding: 6px 8px;
  min-width: 32px;
}

.lang-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.lang-more[aria-expanded="true"] .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  min-width: 120px;
  padding: 6px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  margin-top: 8px !important;
}

.lang-dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.15s ease;
}

.lang-dropdown-menu .dropdown-item:hover {
  background: #f8fafc;
}

.lang-dropdown-menu .dropdown-item.active {
  background: linear-gradient(135deg, var(--accent), #f17aa7);
  color: #fff;
}

@media (max-width: 991px) {
  .lang-switcher {
    margin-top: 12px;
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .lang-btn .lang-code {
    display: none;
  }
  .lang-btn {
    padding: 8px 10px;
  }
}

