/* Lead form additions (static version, no CF7) */

.lead-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.lead-form .wpcf7-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.lead-form .wpcf7-response-output[hidden] {
  display: none;
}

/* Cookie banner (WP-only, в Astro нет) */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--surface, #fff);
  border-top: var(--border-rule, 1px solid #e2e8f0);
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.12);
  padding: var(--space-4, 1rem) 0;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  padding: 0 var(--container-padding, 1rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3, 0.75rem) var(--space-5, 1.5rem);
}

.cookie-banner__text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary, #475569);
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-3, 0.75rem);
  flex-shrink: 0;
}

/* bvi (версия для слабовидящих) */

.bvi-open {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.8125rem;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bvi-open:hover {
  text-decoration: none;
}

