/* Custom polish for ЦИК-БТИ - lightweight, no heavy deps beyond Tailwind CDN */
:root {
  --primary: #1e3a8a; /* deep blue */
}

html {
  scroll-behavior: smooth;
}

.section-title {
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #1e3a8a, #3b82f6);
  border-radius: 3px;
}

.card {
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.service-card .price {
  background: #f1f5f9;
  color: #1e3a8a;
  font-weight: 600;
  padding: 2px 12px;
  border-radius: 9999px;
  font-size: 0.875rem;
  display: inline-block;
}

.office-card {
  border-left: 4px solid #1e3a8a;
}

.nav-link {
  position: relative;
  transition: color .15s;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #1e3a8a;
  transition: width .2s;
}

.nav-link:hover:after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  transition: all .2s ease;
  text-decoration: none;
}

.btn-primary {
  background: #1e3a8a;
  color: white;
}

.btn-primary:hover {
  background: #1e40af;
  transform: translateY(-1px);
}

.btn-secondary {
  background: white;
  color: #1e3a8a;
  border: 2px solid #1e3a8a;
}

.btn-secondary:hover {
  background: #f8fafc;
}

.logo-hero {
  max-width: 440px;
  width: 100%;
  filter: drop-shadow(0 25px 25px rgb(15 23 42 / 0.15));
  transition: transform .4s cubic-bezier(0.34,1.56,.64,1);
}

.logo-hero:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .logo-hero {
    max-width: 300px;
  }
}

/* Mobile nav */
#mobile-menu {
  display: none;
}

#mobile-menu.open {
  display: block;
}

.phone-link {
  transition: color .15s;
}

.phone-link:hover {
  color: #1e40af;
}

/* Restored globe button in header - old style modified brand element */
.globe-btn {
  background: linear-gradient(145deg, #1e3a8a, #1e40af);
  transition: transform .15s ease, box-shadow .15s ease;
}
.globe-btn:hover {
  box-shadow: 0 4px 6px -1px rgb(30 58 138 / 0.3);
}
