.odq-lock {
  overflow: hidden;
}

.odq-wrap {
  display: inline-block;
  font-family: inherit;
}

.odq-trigger,
.odq-trigger * {
  box-sizing: border-box;
}

.odq-trigger {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 14px 24px;
  border: 0;
  border-radius: 8px;
  background: #e93234;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(233, 50, 52, .28);
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.odq-trigger:hover,
.odq-trigger:focus-visible {
  background: #d92729;
  box-shadow: 0 14px 34px rgba(233, 50, 52, .36);
  transform: translateY(-1px);
}

.odq-trigger-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, .86);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
}

.odq-trigger-texts {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.odq-trigger-title {
  color: #fff;
  font-size: 20px;
  line-height: 1.12;
  font-weight: 800;
}

.odq-trigger-sub {
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
}

.odq-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  font-family: inherit;
}

.odq-modal.is-open {
  display: flex;
}

.odq-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 30, .72);
  backdrop-filter: blur(5px);
}

.odq-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(92vh, 820px);
  overflow-y: auto;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  color: #171b25;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .42);
  animation: odq-pop .24s ease;
}

@keyframes odq-pop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.odq-close,
.odq-theme-toggle {
  position: absolute;
  top: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f1f3f7;
  color: inherit;
  cursor: pointer;
}

.odq-close {
  right: 12px;
  font-size: 26px;
  line-height: 1;
}

.odq-theme-toggle {
  right: 56px;
  font-size: 18px;
}

.odq-progress {
  height: 6px;
  margin: 32px 78px 22px 0;
  overflow: hidden;
  border-radius: 99px;
  background: #edf0f5;
}

.odq-progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e93234, #ff745f);
  transition: width .28s ease;
}

.odq-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #e93234;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.odq-question,
.odq-result-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.22;
  font-weight: 850;
  letter-spacing: 0;
}

.odq-q-img {
  display: block;
  width: 100%;
  max-height: 220px;
  margin: 18px 0;
  object-fit: cover;
  border-radius: 10px;
}

.odq-answers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.odq-answers.has-img {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.odq-answer {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  border: 2px solid #e4e8f0;
  border-radius: 8px;
  background: #f7f8fb;
  color: inherit;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  transition: border-color .16s ease, background .16s ease, transform .16s ease, box-shadow .16s ease;
}

.odq-answers.has-img .odq-answer {
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}

.odq-answer img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.odq-answer:hover,
.odq-answer:focus-visible,
.odq-answer.is-selected {
  border-color: #e93234;
  background: #fff;
  box-shadow: 0 8px 22px rgba(233, 50, 52, .12);
  transform: translateY(-1px);
}

.odq-answer-skip {
  margin-top: 6px;
  border: 1px dashed #cbd2dd;
  background: transparent;
  color: #8a93a3;
  font-style: italic;
}

.odq-answer-skip:hover,
.odq-answer-skip:focus-visible,
.odq-answer-skip.is-selected {
  border-color: #e93234;
  border-style: solid;
  background: rgba(233, 50, 52, .04);
  color: #e93234;
}

.odq-nav {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

.odq-secondary,
.odq-next,
.odq-submit,
.odq-close-btn {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
}

.odq-secondary {
  background: #eef1f6;
  color: #242936;
}

.odq-next,
.odq-submit,
.odq-close-btn {
  background: #e93234;
  color: #fff;
}

.odq-result-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(233, 50, 52, .1);
  color: #e93234;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.odq-result-desc,
.odq-cta-text {
  margin: 12px 0 0;
  color: #545c6d;
  font-size: 15px;
  line-height: 1.55;
}

.odq-price {
  margin-top: 14px;
  font-size: 17px;
}

.odq-price b {
  color: #e93234;
  font-size: 20px;
}

/* ===== Блок директора ===== */
.odq-director {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  margin: 18px 0;
  border: 1px solid rgba(233, 50, 52, .15);
  border-radius: 14px;
  background: rgba(233, 50, 52, .05);
}

.odq-director-photo {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border: 3px solid #e93234;
  border-radius: 50%;
  object-fit: cover;
}

.odq-director-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f7fa;
  font-size: 28px;
}

.odq-director-info {
  display: flex;
  flex-direction: column;
}

.odq-director-name {
  font-size: 16px;
  font-weight: 850;
  line-height: 1.25;
}

.odq-director-post {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.35;
  opacity: .7;
}

/* ===== Блок призыва (CTA) ===== */
.odq-cta-block {
  margin: 4px 0 18px;
}

.odq-cta-block p {
  margin: 0;
}

.odq-cta-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-left: 3px solid #e93234;
  border-radius: 0 10px 10px 0;
  background: rgba(233, 50, 52, .07);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

.odq-cta-head-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  margin-top: 1px;
  border-radius: 10px;
  background: #fff;
  color: #e93234;
  box-shadow: 0 6px 16px rgba(233, 50, 52, .12);
}

.odq-cta-head-ic svg {
  width: 28px;
  height: 28px;
  display: block;
}

.odq-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.odq-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #e7ebf2;
  border-radius: 10px;
  background: #f5f7fa;
  transition: transform .15s ease, box-shadow .15s ease;
}

.odq-benefit:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}

.odq-benefit-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff, #f8fafc);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
  color: #e93234;
  font-size: 0;
  line-height: 1;
}

.odq-benefit-ic svg {
  width: 44px;
  height: 44px;
  display: block;
  overflow: visible;
}

.odq-benefit-ic svg [stroke-width="1.5"] {
  stroke-width: 1.9;
}

.odq-benefit-ic svg [stroke-width="1.6"],
.odq-benefit-ic svg [stroke-width="1.8"] {
  stroke-width: 2.1;
}

.odq-benefit-ic svg [stroke-width="2.1"],
.odq-benefit-ic svg [stroke-width="2.2"] {
  stroke-width: 2.4;
}

.odq-benefit-ic-van {
  color: #2563eb;
}

.odq-benefit-ic-money {
  color: #16a34a;
}

.odq-benefit-ic-check {
  color: #0f9f6e;
}

.odq-benefit-ic-shield {
  color: #e93234;
}

.odq-benefit b {
  display: block;
  margin-bottom: 2px;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.3;
}

.odq-benefit span {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  opacity: .72;
}

.odq-benefit-accent {
  border-color: rgba(233, 50, 52, .25);
  background: linear-gradient(135deg, rgba(233, 50, 52, .1), rgba(255, 107, 107, .06));
}

.odq-benefit-accent .odq-benefit-ic {
  background: #fff;
  box-shadow: 0 8px 20px rgba(233, 50, 52, .14);
}

.odq-benefit-accent b {
  color: #e93234;
}

/* ===== Мощная главная кнопка ===== */
.odq-mega-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 62px;
  padding: 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #e93234, #ff5a5c);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(233, 50, 52, .42);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  animation: odq-pulse 2s infinite;
  transition: transform .15s ease;
}

.odq-mega-btn:hover,
.odq-mega-btn:focus-visible {
  transform: translateY(-2px) scale(1.01);
}

.odq-mega-ic {
  flex-shrink: 0;
  font-size: 24px;
}

@keyframes odq-pulse {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(233, 50, 52, .42);
  }

  50% {
    box-shadow: 0 10px 40px rgba(233, 50, 52, .68);
  }
}

/* ===== Экран выбора связи ===== */
.odq-choice-title {
  margin: 8px 0 6px;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 850;
  text-align: center;
}

.odq-call-sub {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  opacity: .75;
}

.odq-choice-btn,
.odq-msgr-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-bottom: 12px;
  padding: 16px 18px;
  border: 2px solid #e7ebf2;
  border-radius: 10px;
  background: #f5f7fa;
  color: inherit;
  box-sizing: border-box;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.odq-choice-btn:hover,
.odq-choice-btn:focus-visible,
.odq-msgr-btn:hover,
.odq-msgr-btn:focus-visible {
  border-color: #e93234;
  background: #fff;
  box-shadow: 0 8px 22px rgba(233, 50, 52, .14);
  transform: translateY(-2px);
}

.odq-choice-ic,
.odq-msgr-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  font-size: 26px;
}

.odq-choice-btn b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
}

.odq-choice-btn small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
  opacity: .65;
}

.odq-msgr-btn {
  font-size: 16px;
  font-weight: 800;
}

.odq-msgr-arrow {
  margin-left: auto;
  color: #e93234;
  font-size: 20px;
}

.odq-back-link {
  margin-bottom: 8px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #e93234;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.odq-back-link:hover,
.odq-back-link:focus-visible {
  text-decoration: underline;
}

.odq-empty-msgr {
  margin: 18px 0 0;
  text-align: center;
  opacity: .7;
}

.odq-success-note {
  margin: -10px 0 22px;
  opacity: .72;
}

.odq-contact {
  margin-top: 14px;
}

.odq-input {
  width: 100%;
  height: 64px;
  padding: 0 22px;
  border: 2px solid #e4e8f0;
  border-radius: 12px;
  background: #fff;
  color: inherit;
  box-sizing: border-box;
  font-size: 24px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

.odq-input:focus {
  outline: 0;
  border-color: #e93234;
  box-shadow: 0 0 0 4px rgba(233, 50, 52, .1);
}

.odq-phone-input {
  text-align: center;
}

.odq-phone-input::selection {
  background: rgba(233, 50, 52, .2);
}

.odq-phone-keypad {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 2px;
}

.odq-phone-key,
.odq-phone-key-spacer {
  min-height: 56px;
  border-radius: 12px;
}

.odq-phone-key {
  border: 2px solid #e4e8f0;
  background: #fff;
  color: inherit;
  cursor: pointer;
  font-size: 24px;
  font-weight: 850;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.odq-phone-key:active {
  transform: scale(.96);
  border-color: #e93234;
  background: rgba(233, 50, 52, .08);
}

.odq-phone-key-del {
  color: #e93234;
}

.odq-phone-display {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 2px solid #e4e8f0;
  border-radius: 8px;
  background: #f7f8fb;
}

.odq-phone-value {
  font-size: 23px;
  font-weight: 850;
}

.odq-phone-value:empty::before {
  content: attr(data-empty);
  color: #8b95a7;
  font-size: 18px;
  font-weight: 500;
}

.odq-keypad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}

.odq-key {
  min-height: 54px;
  border: 2px solid #e4e8f0;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  cursor: pointer;
  font-size: 22px;
  font-weight: 850;
}

.odq-key:active {
  transform: scale(.97);
}

.odq-key-del,
.odq-key-plus {
  color: #e93234;
}

.odq-submit {
  width: 100%;
  margin-top: 10px;
}

.odq-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.odq-msg {
  min-height: 20px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.odq-msg.is-error {
  color: #e93234;
}

.odq-success {
  padding: 28px 0 12px;
  text-align: center;
}

.odq-success-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #ecf9f0;
  color: #17943b;
  font-size: 34px;
  font-weight: 900;
}

.odq-success h3 {
  margin: 0 0 22px;
  font-size: 22px;
  line-height: 1.25;
}

.odq-modal.odq-dark .odq-dialog {
  background: #171c24;
  color: #f4f6fa;
}

.odq-modal.odq-dark .odq-close,
.odq-modal.odq-dark .odq-theme-toggle,
.odq-modal.odq-dark .odq-secondary,
.odq-modal.odq-dark .odq-answer,
.odq-modal.odq-dark .odq-phone-display,
.odq-modal.odq-dark .odq-key,
.odq-modal.odq-dark .odq-phone-key,
.odq-modal.odq-dark .odq-input {
  border-color: #323a47;
  background: #222936;
  color: #f4f6fa;
}

.odq-modal.odq-dark .odq-progress {
  background: #29313d;
}

.odq-modal.odq-dark .odq-result-desc,
.odq-modal.odq-dark .odq-cta-text,
.odq-modal.odq-dark .odq-call-sub {
  color: #b8c0ce;
}

.odq-modal.odq-dark .odq-director,
.odq-modal.odq-dark .odq-cta-head {
  background: rgba(233, 50, 52, .12);
}

.odq-modal.odq-dark .odq-cta-head-ic {
  background: #161b26;
  box-shadow: none;
}

.odq-modal.odq-dark .odq-director {
  border-color: rgba(233, 50, 52, .24);
}

.odq-modal.odq-dark .odq-benefit,
.odq-modal.odq-dark .odq-choice-btn,
.odq-modal.odq-dark .odq-msgr-btn {
  border-color: #2c3445;
  background: #1f2633;
}

.odq-modal.odq-dark .odq-benefit-ic,
.odq-modal.odq-dark .odq-choice-ic,
.odq-modal.odq-dark .odq-msgr-ic,
.odq-modal.odq-dark .odq-director-ph {
  background: #161b26;
  box-shadow: none;
}

.odq-modal.odq-dark .odq-benefit-accent {
  border-color: rgba(233, 50, 52, .35);
  background: linear-gradient(135deg, rgba(233, 50, 52, .18), rgba(255, 107, 107, .08));
}

.odq-modal.odq-dark .odq-answer-skip {
  border-color: #3a4252;
  background: transparent;
  color: #7d869a;
}

.odq-modal.odq-dark .odq-answer:hover,
.odq-modal.odq-dark .odq-answer:focus-visible,
.odq-modal.odq-dark .odq-answer.is-selected,
.odq-modal.odq-dark .odq-choice-btn:hover,
.odq-modal.odq-dark .odq-choice-btn:focus-visible,
.odq-modal.odq-dark .odq-msgr-btn:hover,
.odq-modal.odq-dark .odq-msgr-btn:focus-visible {
  border-color: #ff6a5b;
  background: #2a3240;
}

@media (max-width: 640px) {
  .odq-modal {
    align-items: center;
    padding: clamp(28px, 10vh, 72px) 10px;
  }

  .odq-dialog {
    width: 100%;
    max-height: calc(100vh - (clamp(28px, 10vh, 72px) * 2));
    padding: 20px 16px;
    border-radius: 14px;
  }

  .odq-progress {
    margin-right: 78px;
  }

  .odq-trigger {
    width: 100%;
    justify-content: flex-start;
    padding: 13px 18px;
  }

  .odq-trigger-title {
    font-size: 18px;
  }

  .odq-answers.has-img {
    grid-template-columns: 1fr;
  }

  .odq-question,
  .odq-result-title {
    font-size: 22px;
  }

  .odq-input {
    height: 66px;
    font-size: 25px;
  }

  .odq-phone-keypad {
    display: grid;
  }
}
