.bogran-sticky-call {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #ffffff;
  background: linear-gradient(135deg, #0b1f33 0%, #1f6feb 100%);
  box-shadow: 0 10px 30px rgba(11, 31, 51, 0.28);
}

.bogran-sticky-call[data-style="soft"] {
  background: linear-gradient(135deg, #1f2937 0%, #0f766e 100%);
}

.bogran-sticky-call[data-style="urgent"] {
  background: linear-gradient(135deg, #7f1d1d 0%, #dc2626 100%);
}

.bogran-sticky-call:hover {
  filter: brightness(0.98);
}

.is-primary-directive {
  box-shadow: 0 0 0 2px rgba(31, 111, 235, 0.24), 0 10px 20px rgba(31, 111, 235, 0.22);
}

.directive-highlight {
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.28), 0 10px 20px rgba(13, 148, 136, 0.2);
}

.ui-calm-mode .oa-carousel,
.ui-calm-mode .hero-rings {
  display: none !important;
}

.ui-calm-mode * {
  animation-duration: 0s !important;
  transition-duration: 0.08s !important;
}

[data-section-density="compact"] section {
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}

.bogran-directive-banner {
  position: sticky;
  top: var(--nav-header-offset, 72px);
  z-index: 850;
  width: 100%;
  padding: 10px 14px;
  text-align: center;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}

.bogran-directive-banner[data-variant="no_pressure"] {
  background: linear-gradient(135deg, #0f172a 0%, #0f766e 100%);
}

.bogran-directive-banner[data-variant="coverage"] {
  background: linear-gradient(135deg, #1f2937 0%, #0d9488 100%);
}

.bogran-soft-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(15, 23, 42, 0.5);
  display: grid;
  place-items: center;
  padding: 16px;
}

.bogran-soft-modal__card {
  width: min(520px, 92vw);
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
}

.bogran-soft-modal__card p {
  margin: 0 0 12px 0;
  color: #0f172a;
}

.bogran-soft-modal__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bogran-soft-modal__actions a,
.bogran-soft-modal__actions button {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.bogran-soft-modal__actions a:first-child {
  color: #ffffff;
  background: #0f172a;
}

.bogran-soft-modal__actions a:nth-child(2) {
  color: #0f172a;
  background: #e2e8f0;
}

.bogran-soft-modal__actions button {
  color: #475569;
  background: #f1f5f9;
}

#indexDynamicProof {
  padding: 28px 0;
}

#indexDynamicProof .card {
  border-radius: 16px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.14);
}

.newsletter-form {
  margin-top: 12px;
}

.newsletter-form input[type="email"] {
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  padding: 10px 12px;
}

.newsletter-form button[type="submit"] {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  color: #ffffff;
  background: #0f172a;
  cursor: pointer;
}

.footer-newsletter-label {
  display: block;
  margin-top: 12px;
  font-weight: 700;
  color: #0f172a;
}

.footer-newsletter-row {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.footer-newsletter-note {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #334155;
}

.lead-feedback {
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 700;
}

.lead-feedback[data-status="ok"] {
  color: #0f766e;
}

.lead-feedback[data-status="error"] {
  color: #b91c1c;
}

.lead-form-state {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 31, 51, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 251, 0.94));
  color: #0f172a;
  font-weight: 700;
  opacity: 1;
}

.lead-form-state[data-status="ok"] {
  border-color: rgba(15, 118, 110, 0.34);
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.12), rgba(255, 255, 255, 0.96));
  color: #0f766e;
}

.lead-form-state[data-status="error"] {
  border-color: rgba(185, 28, 28, 0.34);
  background: linear-gradient(180deg, rgba(185, 28, 28, 0.08), rgba(255, 255, 255, 0.96));
  color: #b91c1c;
}

.lead-form-state.is-enter {
  animation: leadStateIn 0.25s ease;
}

form[data-lead-form].is-loading {
  opacity: 0.72;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

form[data-lead-form].is-loading::after {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin-top: 10px;
  border-radius: 999px;
  border: 3px solid rgba(15, 31, 51, 0.2);
  border-top-color: rgba(31, 111, 235, 0.95);
  animation: leadFormSpin 0.7s linear infinite;
}

@keyframes leadStateIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes leadFormSpin {
  to {
    transform: rotate(360deg);
  }
}

.bogran-modal-newsletter {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.bogran-modal-newsletter label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #0f172a;
}

.bogran-soft-modal__newsletter-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.bogran-question-modal {
  position: fixed;
  right: 16px;
  bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  z-index: 1350;
  width: min(420px, calc(100vw - 24px));
  opacity: 0;
  transform: translateY(8px);
  animation: questionModalIn 0.24s ease forwards;
}

.bogran-question-modal.is-closing {
  animation: questionModalOut 0.2s ease forwards;
}

.bogran-question-modal__card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.2);
  padding: 14px;
}

.bogran-question-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bogran-question-modal__header strong {
  color: #0f172a;
  font-size: 0.97rem;
}

.bogran-question-modal__header button {
  appearance: none;
  border: 0;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 700;
  padding: 6px 10px;
  cursor: pointer;
}

.bogran-question-modal__subtitle {
  margin: 8px 0 10px 0;
  color: #334155;
  font-size: 0.87rem;
}

.bogran-question-modal__question {
  margin: 0 0 10px 0;
  color: #0f172a;
  font-weight: 700;
}

.bogran-question-modal__options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.bogran-question-modal__option {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 10px;
  background: #f8fafc;
  color: #0f172a;
  text-align: left;
  font-weight: 700;
  padding: 10px 12px;
  cursor: pointer;
}

.bogran-question-modal__option:hover {
  border-color: rgba(31, 111, 235, 0.35);
  background: #eef4ff;
}

.bogran-question-modal__status {
  margin: 10px 0 0 0;
  color: #1d4ed8;
  font-size: 0.86rem;
  font-weight: 700;
}

.bogran-question-modal.is-saving .bogran-question-modal__option {
  pointer-events: none;
  opacity: 0.65;
}

.bogran-question-modal.is-saving .bogran-question-modal__status::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  vertical-align: -1px;
  border-radius: 999px;
  border: 2px solid rgba(29, 78, 216, 0.28);
  border-top-color: rgba(29, 78, 216, 0.95);
  animation: leadFormSpin 0.7s linear infinite;
}

@keyframes questionModalIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes questionModalOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(8px);
  }
}

@media (max-width: 900px) {
  .bogran-sticky-call {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    min-height: 50px;
    border-radius: 14px;
  }

  .footer-newsletter-row,
  .bogran-soft-modal__newsletter-row {
    grid-template-columns: 1fr;
  }

  .bogran-question-modal {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }
}
