k/* =========================================
   INDEX / INDEX-WORK HERO V2
   Слева форма, справа иллюстрация
   ========================================= */

/* КРИТИЧНО:
   жёстко возвращаем работу hidden для мастера шагов */
#quote-form [hidden],
.quote-step[hidden],
#quote-back[hidden],
#quote-next[hidden],
#quote-submit[hidden],
#picker-overlay[hidden] {
  display: none !important;
}

.hero.hero-v2 {
  padding: 0;
  background: transparent;
}

.hero.hero-v2 .hero-shell {
  background: #ffffff;
  border-radius: 28px;
  padding: 40px 36px;
  box-sizing: border-box;
}

.hero.hero-v2 .hero-copy {
  max-width: 560px;
  margin-bottom: 24px;
}

.hero.hero-v2 .hero-title {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.12;
  font-weight: 700;
  color: #132238;
}

.hero.hero-v2 .hero-subtitle {
  margin: 0;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.35;
  color: #5e6f82;
}

/* DESKTOP LAYOUT */
.hero.hero-v2 .hero-grid-v2 {
  display: grid;
  grid-template-columns: minmax(0, 470px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.hero.hero-v2 .hero-left {
  min-width: 0;
}

.hero.hero-v2 .hero-right {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero.hero-v2 .hero-illustration-panel {
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.hero.hero-v2 .hero-illustration-panel img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

/* FORM */
.hero.hero-v2 #quote-form {
  width: 100%;
  max-width: 100%;
}

.hero.hero-v2 #quote-step-title {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700 !important;
  margin-bottom: 20px !important;
  color: #1d2c42;
  letter-spacing: -0.01em;
}

.hero.hero-v2 #offers-container {
  display: none;
  margin-top: 18px;
}

.hero.hero-v2 #offers-container > div {
  box-sizing: border-box;
}

/* offer list */
.hero.hero-v2 .offer-list {
  display: grid;
  gap: 14px;
}

.hero.hero-v2 .offer-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #d9e3f0;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 40, 80, 0.06);
}

.hero.hero-v2 .offer-logo-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #f3f8ff;
  border: 1px solid #d9e6f7;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero.hero-v2 .offer-logo-box img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.hero.hero-v2 .offer-logo-fallback {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #2f89df;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero.hero-v2 .offer-main {
  min-width: 0;
}

.hero.hero-v2 .offer-company {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  color: #132238;
  margin-bottom: 4px;
}

.hero.hero-v2 .offer-meta {
  font-size: 13px;
  line-height: 1.35;
  color: #6b7b8a;
}

.hero.hero-v2 .offer-price-box {
  text-align: right;
}

.hero.hero-v2 .offer-price-label {
  display: block;
  font-size: 12px;
  color: #8a99ab;
  margin-bottom: 4px;
}

.hero.hero-v2 .offer-price {
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
  color: #132238;
}

/* polling state */
.hero.hero-v2 .polling-card {
  padding: 18px;
  border: 1px solid #d9e3f0;
  border-radius: 18px;
  background: #ffffff;
  color: #132238;
}

.hero.hero-v2 .polling-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.2;
}

.hero.hero-v2 .polling-line {
  margin-top: 6px;
  color: #5c6b7a;
  font-size: 14px;
  line-height: 1.4;
}

/* планшет */
@media (max-width: 1180px) {
  .hero.hero-v2 .hero-grid-v2 {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 28px;
  }

  .hero.hero-v2 .hero-illustration-panel img {
    max-width: 500px;
  }
}

/* mobile */
@media (max-width: 900px) {
  .hero.hero-v2 .hero-shell {
    padding: 28px 18px;
    border-radius: 24px;
  }

  .hero.hero-v2 .hero-copy {
    margin-bottom: 18px;
  }

  .hero.hero-v2 .hero-title {
    font-size: 28px;
    line-height: 1.1;
  }

  .hero.hero-v2 .hero-subtitle {
    max-width: 100%;
    font-size: 14px;
  }

  .hero.hero-v2 .hero-grid-v2 {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero.hero-v2 .hero-left {
    order: 1;
  }

  .hero.hero-v2 .hero-right {
    order: 2;
    display: block;
  }

  .hero.hero-v2 .hero-illustration-panel {
    min-height: auto;
  }

  .hero.hero-v2 .hero-illustration-panel img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .hero.hero-v2 #quote-step-title {
    font-size: 18px;
    line-height: 1.25;
    margin-bottom: 16px !important;
  }

  .hero.hero-v2 .offer-card {
    grid-template-columns: 48px 1fr;
    gap: 12px;
    padding: 16px;
  }

  .hero.hero-v2 .offer-logo-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .hero.hero-v2 .offer-logo-box img,
  .hero.hero-v2 .offer-logo-fallback {
    width: 30px;
    height: 30px;
  }

  .hero.hero-v2 .offer-price-box {
    grid-column: 1 / -1;
    text-align: left;
    padding-top: 6px;
  }

  .hero.hero-v2 .offer-price {
    font-size: 18px;
  }

  .hero.hero-v2 .polling-card {
    padding: 16px;
  }

  .hero.hero-v2 .polling-card strong {
    font-size: 16px;
  }
}

/* =========================================
   LIGHT STEP TITLE + CLEAN OFFER CARD
   safe override block
   ========================================= */

.hero.hero-v2 #quote-step-title {
  font-size: 19px !important;
  line-height: 1.22 !important;
  font-weight: 600 !important;
  margin-bottom: 16px !important;
  color: #22354d !important;
  letter-spacing: 0 !important;
}

.hero.hero-v2 #quote-form label {
  margin-top: 12px;
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
  color: #31455c;
}

.hero.hero-v2 .offer-card {
  border-radius: 20px !important;
  padding: 18px 20px !important;
  border: 1px solid #d7e3ef !important;
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(20, 52, 92, 0.06) !important;
}

.hero.hero-v2 .offer-logo-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #dbe7f3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero.hero-v2 .offer-logo-box img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  display: block;
}

.hero.hero-v2 .offer-logo-fallback {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #2f89e1;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.hero.hero-v2 .offer-company {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  color: #1d2c42;
}

.hero.hero-v2 .offer-meta {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.3;
  color: #6a7b8f;
}

.hero.hero-v2 .offer-price-label {
  font-size: 12px;
  line-height: 1.2;
  color: #8193a8;
}

.hero.hero-v2 .offer-price {
  font-size: 18px;
  line-height: 1.15;
  font-weight: 700;
  color: #16283d;
}

@media (max-width: 900px) {
  .hero.hero-v2 #quote-step-title {
    font-size: 17px !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
  }

  .hero.hero-v2 #quote-form label {
    font-size: 11px;
    margin-top: 10px;
    margin-bottom: 6px;
  }

  .hero.hero-v2 .offer-card {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .hero.hero-v2 .offer-logo-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .hero.hero-v2 .offer-company {
    font-size: 14px;
  }

  .hero.hero-v2 .offer-meta,
  .hero.hero-v2 .offer-price-label {
    font-size: 11px;
  }

  .hero.hero-v2 .offer-price {
    font-size: 16px;
  }
}

/* =========================================
   OFFER LIST POLISH
   безопасный блок для списка офферов
   ========================================= */

.hero.hero-v2 .offer-list {
  display: grid;
  gap: 14px;
}

.hero.hero-v2 .offer-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.hero.hero-v2 .offer-main {
  min-width: 0;
}

.hero.hero-v2 .offer-company {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero.hero-v2 .offer-meta {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero.hero-v2 .offer-price-box {
  text-align: right;
  min-width: 132px;
}

.hero.hero-v2 .offer-logo-box img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

@media (max-width: 900px) {
  .hero.hero-v2 .offer-list {
    gap: 12px;
  }

  .hero.hero-v2 .offer-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .hero.hero-v2 .offer-price-box {
    grid-column: 1 / -1;
    text-align: left;
    min-width: 0;
    padding-left: 60px;
    margin-top: -2px;
  }

  .hero.hero-v2 .offer-company,
  .hero.hero-v2 .offer-meta {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
}
/* =========================================
   POLLING CARD POLISH
   красивый блок ожидания расчёта
   ========================================= */

.hero.hero-v2 .polling-card {
  border-radius: 22px;
  padding: 20px;
  border: 1px solid #d8e4f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 28px rgba(20, 52, 92, 0.06);
}

.hero.hero-v2 .polling-badge {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #edf5ff;
  color: #2f89e1;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero.hero-v2 .polling-title {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: #16283d;
  margin-bottom: 16px;
}

.hero.hero-v2 .polling-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.hero.hero-v2 .polling-progress-label {
  font-size: 13px;
  color: #6f8196;
  font-weight: 600;
}

.hero.hero-v2 .polling-progress-value {
  font-size: 13px;
  color: #22354d;
  font-weight: 700;
}

.hero.hero-v2 .polling-progress-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #e8f0f8;
  overflow: hidden;
  margin-bottom: 16px;
}

.hero.hero-v2 .polling-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f89e1 0%, #62b0ff 100%);
  transition: width 0.3s ease;
}

.hero.hero-v2 .polling-meta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.hero.hero-v2 .polling-meta-item {
  border-radius: 16px;
  padding: 12px 14px;
  background: #f4f8fc;
  border: 1px solid #e1ebf4;
}

.hero.hero-v2 .polling-meta-caption {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  color: #7b8da2;
  margin-bottom: 4px;
}

.hero.hero-v2 .polling-meta-value {
  display: block;
  font-size: 14px;
  line-height: 1.25;
  color: #1d2c42;
  font-weight: 700;
}

.hero.hero-v2 .polling-hint {
  font-size: 13px;
  line-height: 1.45;
  color: #5f7288;
}

@media (max-width: 900px) {
  .hero.hero-v2 .polling-card {
    padding: 16px;
    border-radius: 18px;
  }

  .hero.hero-v2 .polling-title {
    font-size: 17px;
    margin-bottom: 14px;
  }

  .hero.hero-v2 .polling-progress-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .hero.hero-v2 .polling-meta-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero.hero-v2 .polling-meta-item {
    padding: 10px 12px;
    border-radius: 14px;
  }

  .hero.hero-v2 .polling-hint {
    font-size: 12px;
  }
}
/* =========================================
   POLLING CARD
   ========================================= */

.hero.hero-v2 .polling-card {
  border-radius: 24px;
  padding: 20px;
  border: 1px solid #d7e3ef;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 28px rgba(20, 52, 92, 0.06);
}

.hero.hero-v2 .polling-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #2f89e1;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero.hero-v2 .polling-title {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  color: #1d2c42;
  margin-bottom: 16px;
  max-width: 420px;
}

.hero.hero-v2 .polling-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.hero.hero-v2 .polling-progress-label,
.hero.hero-v2 .polling-progress-value {
  font-size: 13px;
  line-height: 1.25;
  font-weight: 600;
  color: #5f7187;
}

.hero.hero-v2 .polling-progress-value {
  color: #1d2c42;
}

.hero.hero-v2 .polling-progress-bar {
  height: 10px;
  border-radius: 999px;
  background: #e8f0f8;
  overflow: hidden;
  margin-bottom: 16px;
}

.hero.hero-v2 .polling-progress-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f89e1 0%, #64b0ff 100%);
}

.hero.hero-v2 .polling-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.hero.hero-v2 .polling-stat {
  border-radius: 16px;
  padding: 12px 14px;
  background: #f4f8fc;
  border: 1px solid #e1ebf5;
}

.hero.hero-v2 .polling-stat-label {
  font-size: 12px;
  line-height: 1.2;
  color: #7b8ca1;
  margin-bottom: 4px;
}

.hero.hero-v2 .polling-stat-value {
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  color: #22354d;
}

.hero.hero-v2 .polling-note {
  font-size: 13px;
  line-height: 1.45;
  color: #66788d;
}

/* =========================================
   MOBILE OFFER CARD IMPROVEMENT
   ========================================= */

@media (max-width: 900px) {
  .hero.hero-v2 .offer-card {
    grid-template-columns: 44px 1fr !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 14px !important;
  }

  .hero.hero-v2 .offer-logo-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .hero.hero-v2 .offer-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero.hero-v2 .offer-company {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 2px;
  }

  .hero.hero-v2 .offer-meta {
    font-size: 11px;
    line-height: 1.25;
    color: #74869b;
  }

  .hero.hero-v2 .offer-price-box {
    grid-column: 1 / -1;
    text-align: left;
    min-width: 0;
    padding-left: 0 !important;
    margin-top: 8px !important;
    padding-top: 10px;
    border-top: 1px solid #e8eef5;
  }

  .hero.hero-v2 .offer-price-label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    line-height: 1.2;
    color: #8799ad;
  }

  .hero.hero-v2 .offer-price {
    font-size: 24px;
    line-height: 1.1;
    font-weight: 800;
  }

  .hero.hero-v2 .polling-card {
    padding: 16px;
    border-radius: 20px;
  }

  .hero.hero-v2 .polling-title {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .hero.hero-v2 .polling-progress-head {
    display: block;
    margin-bottom: 8px;
  }

  .hero.hero-v2 .polling-progress-label {
    display: block;
    margin-bottom: 2px;
  }

  .hero.hero-v2 .polling-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero.hero-v2 .polling-note {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* =========================================
   STEP BUTTONS + POLLING CARD POLISH
   safe override block
   ========================================= */

/* Легче и аккуратнее кнопки шагов */
.hero.hero-v2 #quote-back,
.hero.hero-v2 #quote-next,
.hero.hero-v2 #quote-submit {
  min-height: 50px;
  border-radius: 14px !important;
  font-size: 15px !important;
  line-height: 1.2;
  font-weight: 600 !important;
  box-shadow: none !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .12s ease;
}

.hero.hero-v2 #quote-next,
.hero.hero-v2 #quote-submit {
  background: #2f89e1 !important;
  border: 1px solid #2f89e1 !important;
  color: #ffffff !important;
}

.hero.hero-v2 #quote-next:hover,
.hero.hero-v2 #quote-submit:hover {
  background: #2579cb !important;
  border-color: #2579cb !important;
}

.hero.hero-v2 #quote-back {
  background: #eef5fc !important;
  border: 1px solid #d7e5f3 !important;
  color: #35597d !important;
}

.hero.hero-v2 #quote-back:hover {
  background: #e6f0fa !important;
  border-color: #c9dced !important;
}

.hero.hero-v2 #quote-back:active,
.hero.hero-v2 #quote-next:active,
.hero.hero-v2 #quote-submit:active {
  transform: translateY(1px);
}

/* Кнопка Назад не должна выглядеть как вторая огромная синяя */
.hero.hero-v2 #quote-back + #quote-next,
.hero.hero-v2 #quote-back + #quote-submit {
  margin-top: 10px;
}

/* Карточка ожидания */
.hero.hero-v2 .poll-card {
  border-radius: 22px;
  border: 1px solid #d8e5f1;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
  padding: 20px;
  box-shadow: 0 8px 24px rgba(18, 46, 82, 0.05);
}

.hero.hero-v2 .poll-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #2f89e1;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero.hero-v2 .poll-title {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  color: #1b2d43;
  margin-bottom: 14px;
}

.hero.hero-v2 .poll-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.hero.hero-v2 .poll-progress-label {
  font-size: 13px;
  font-weight: 600;
  color: #617489;
}

.hero.hero-v2 .poll-progress-value {
  font-size: 13px;
  font-weight: 700;
  color: #23364d;
}

.hero.hero-v2 .poll-progress {
  height: 8px;
  border-radius: 999px;
  background: #dfeaf5;
  overflow: hidden;
  margin-bottom: 16px;
}

.hero.hero-v2 .poll-progress > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f89e1 0%, #63a8ec 100%);
}

.hero.hero-v2 .poll-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.hero.hero-v2 .poll-stat {
  border-radius: 16px;
  border: 1px solid #dbe6f1;
  background: rgba(255, 255, 255, 0.72);
  padding: 12px 14px;
}

.hero.hero-v2 .poll-stat-label {
  font-size: 12px;
  line-height: 1.2;
  color: #8192a4;
  margin-bottom: 6px;
}

.hero.hero-v2 .poll-stat-value {
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  color: #22354d;
}

.hero.hero-v2 .poll-note {
  font-size: 13px;
  line-height: 1.45;
  color: #66798f;
}

/* Чуть приятнее итоговая карточка на мобиле */
@media (max-width: 900px) {
  .hero.hero-v2 #quote-back,
  .hero.hero-v2 #quote-next,
  .hero.hero-v2 #quote-submit {
    min-height: 46px;
    border-radius: 13px !important;
    font-size: 14px !important;
  }

  .hero.hero-v2 .poll-card {
    padding: 16px;
    border-radius: 18px;
  }

  .hero.hero-v2 .poll-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .hero.hero-v2 .poll-progress-head {
    margin-bottom: 6px;
  }

  .hero.hero-v2 .poll-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero.hero-v2 .offer-card {
    padding: 14px !important;
    gap: 10px;
  }

  .hero.hero-v2 .offer-price-box {
    padding-left: 58px;
    margin-top: 2px;
  }

  .hero.hero-v2 .offer-price {
    font-size: 17px;
  }
}

/* =========================================
   FINAL SAFE OVERRIDE
   buttons + polling + mobile offer card
   ========================================= */

/* ---------- Легче кнопки шагов ---------- */
.hero.hero-v2 #quote-back,
.hero.hero-v2 #quote-next,
.hero.hero-v2 #quote-submit {
  min-height: 48px !important;
  margin-top: 14px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  border: 1px solid transparent !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .12s ease !important;
}

.hero.hero-v2 #quote-next,
.hero.hero-v2 #quote-submit {
  background: #2f89e1 !important;
  color: #ffffff !important;
}

.hero.hero-v2 #quote-next:hover,
.hero.hero-v2 #quote-submit:hover {
  background: #2579ca !important;
}

.hero.hero-v2 #quote-back {
  background: #f5f9fd !important;
  color: #2b5f97 !important;
  border-color: #d7e3ef !important;
}

.hero.hero-v2 #quote-back:hover {
  background: #edf4fb !important;
  border-color: #c8d8e8 !important;
}

/* ---------- Красивый стартовый loading ---------- */
.hero.hero-v2 .poll-card {
  border-radius: 22px;
  border: 1px solid #d8e4ef;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
  padding: 20px;
  box-shadow: 0 10px 28px rgba(20, 52, 92, 0.05);
}

.hero.hero-v2 .poll-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #2b7fd2;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero.hero-v2 .poll-title {
  font-size: 17px;
  line-height: 1.28;
  font-weight: 700;
  color: #1c2d43;
  margin-bottom: 12px;
}

.hero.hero-v2 .poll-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.hero.hero-v2 .poll-progress-label {
  font-size: 13px;
  font-weight: 600;
  color: #677b90;
}

.hero.hero-v2 .poll-progress-value {
  font-size: 13px;
  font-weight: 700;
  color: #22364d;
}

.hero.hero-v2 .poll-progress {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: #dfeaf5;
  margin-bottom: 14px;
}

.hero.hero-v2 .poll-progress > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f89e1 0%, #6fb4ef 100%);
}

.hero.hero-v2 .poll-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.hero.hero-v2 .poll-stat {
  border-radius: 14px;
  border: 1px solid #dbe6f1;
  background: rgba(255, 255, 255, 0.8);
  padding: 12px 14px;
}

.hero.hero-v2 .poll-stat-label {
  font-size: 12px;
  line-height: 1.2;
  color: #8495a8;
  margin-bottom: 6px;
}

.hero.hero-v2 .poll-stat-value {
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  color: #21344b;
}

.hero.hero-v2 .poll-note {
  font-size: 13px;
  line-height: 1.45;
  color: #66798f;
}

/* ---------- Итого оффер на мобиле аккуратнее ---------- */
@media (max-width: 900px) {
  .hero.hero-v2 #quote-back,
  .hero.hero-v2 #quote-next,
  .hero.hero-v2 #quote-submit {
    min-height: 44px !important;
    border-radius: 11px !important;
    font-size: 13px !important;
    margin-top: 12px !important;
  }

  .hero.hero-v2 .poll-card {
    padding: 16px;
    border-radius: 18px;
  }

  .hero.hero-v2 .poll-title {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .hero.hero-v2 .poll-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero.hero-v2 .offer-card {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 14px !important;
    border-radius: 16px !important;
    align-items: start !important;
  }

  .hero.hero-v2 .offer-logo-box {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
  }

  .hero.hero-v2 .offer-company {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  .hero.hero-v2 .offer-meta {
    margin-top: 3px !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
  }

  .hero.hero-v2 .offer-price-box {
    grid-column: 1 / -1 !important;
    text-align: left !important;
    min-width: 0 !important;
    padding-left: 54px !important;
    margin-top: 4px !important;
    padding-top: 8px !important;
    border-top: 1px solid #ecf2f8 !important;
  }

  .hero.hero-v2 .offer-price-label {
    font-size: 11px !important;
  }

  .hero.hero-v2 .offer-price {
    font-size: 16px !important;
    line-height: 1.15 !important;
  }
}
/* =========================================
   MAIN STEP 1 — LIGHT BUTTONS ONLY
   только первый экран мастера
   ========================================= */

.hero.hero-v2 #quote-form[data-current-step="1"] .picker-button,
.hero.hero-v2 #quote-form[data-current-step="1"] #quote-next {
  min-height: 54px;
  border-radius: 16px !important;
  box-shadow: none !important;
  transition:
    background-color .18s ease,
    border-color .18s ease,
    color .18s ease,
    transform .12s ease,
    box-shadow .18s ease;
}

/* Марка — активная синяя, но легче и мягче */
.hero.hero-v2 #quote-form[data-current-step="1"] #car-brand-picker {
  background: linear-gradient(180deg, #4aa3ef 0%, #2f89e1 100%) !important;
  border: 1px solid #4699e8 !important;
  color: #ffffff !important;
}

.hero.hero-v2 #quote-form[data-current-step="1"] #car-brand-picker:hover {
  background: linear-gradient(180deg, #58abf1 0%, #3790e5 100%) !important;
}

.hero.hero-v2 #quote-form[data-current-step="1"] #car-brand-picker:active {
  transform: translateY(1px);
}

/* Модель — спокойная disabled */
.hero.hero-v2 #quote-form[data-current-step="1"] #car-model-picker {
  background: #eef4fa !important;
  border: 1px solid #dce7f2 !important;
  color: #7d8ea3 !important;
  box-shadow: none !important;
}

/* Кнопка продолжить — легче, без ощущения тяжёлой плашки */
.hero.hero-v2 #quote-form[data-current-step="1"] #quote-next {
  margin-top: 18px !important;
  background: linear-gradient(180deg, #4ea6f0 0%, #338ee5 100%) !important;
  border: 1px solid #479be8 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

.hero.hero-v2 #quote-form[data-current-step="1"] #quote-next:hover {
  background: linear-gradient(180deg, #5baef2 0%, #3b95e8 100%) !important;
}

.hero.hero-v2 #quote-form[data-current-step="1"] #quote-next:active {
  transform: translateY(1px);
}

@media (max-width: 900px) {
  .hero.hero-v2 #quote-form[data-current-step="1"] .picker-button,
  .hero.hero-v2 #quote-form[data-current-step="1"] #quote-next {
    min-height: 50px;
    border-radius: 14px !important;
  }

  .hero.hero-v2 #quote-form[data-current-step="1"] #quote-next {
    font-size: 14px !important;
  }
}
/* =========================================
   STEP 1 PRIMARY BUTTON LIGHTER
   только для главного первого шага
   ========================================= */

@media (min-width: 901px) {
  .hero.hero-v2 #quote-back[hidden] + #quote-next {
    min-height: 40px !important;
    height: 40px !important;
    margin-top: 14px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    background: linear-gradient(180deg, #4ea2ef 0%, #2f89e1 100%) !important;
    box-shadow: none !important;
  }

  .hero.hero-v2 #quote-back[hidden] + #quote-next:hover {
    background: linear-gradient(180deg, #5baaf2 0%, #3a93ea 100%) !important;
    transform: none !important;
  }

  .hero.hero-v2 #quote-back[hidden] + #quote-next:active {
    background: linear-gradient(180deg, #2f89e1 0%, #257ed2 100%) !important;
    transform: none !important;
  }
}
/* =========================================
   STEP 1 MAIN BUTTON + PICKERS TUNE
   только для первого шага
   ========================================= */

.hero.hero-v2 .quote-step[data-step="1"] .picker-button {
  min-height: 54px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-radius: 16px !important;
  font-size: 15px !important;
}

.hero.hero-v2 .quote-step[data-step="1"] input[name="carYear"] {
  min-height: 42px !important;
  border-radius: 14px !important;
}

.hero.hero-v2 .quote-step[data-step="1"] ~ #quote-next,
.hero.hero-v2 #quote-next {
  min-height: 48px !important;
  border-radius: 15px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

/* чуть компактнее только на мобиле */
@media (max-width: 900px) {
  .hero.hero-v2 .quote-step[data-step="1"] .picker-button {
    min-height: 50px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
  }

  .hero.hero-v2 .quote-step[data-step="1"] input[name="carYear"] {
    min-height: 40px !important;
    border-radius: 13px !important;
  }

  .hero.hero-v2 #quote-next {
    min-height: 46px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
  }
}

/* =========================================
   STEP 1 HOMEPAGE COMPACT FINAL OVERRIDE
   только первый шаг на desktop делаем компактнее
   ========================================= */

@media (min-width: 901px) {
  /* только первый шаг */
  .hero.hero-v2 .quote-step[data-step="1"] .picker-button,
  .hero.hero-v2 .quote-step[data-step="1"] input[name="carYear"] {
    min-height: 54px !important;
    height: 54px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-radius: 16px !important;
  }

  .hero.hero-v2 .quote-step[data-step="1"] .picker-button {
    padding-left: 16px !important;
    padding-right: 16px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
  }

  .hero.hero-v2 .quote-step[data-step="1"] .picker-button #car-brand-label,
  .hero.hero-v2 .quote-step[data-step="1"] .picker-button #car-model-label {
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
  }

  .hero.hero-v2 .quote-step[data-step="1"] input[name="carYear"] {
    padding-left: 16px !important;
    padding-right: 16px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  /* чуть меньше воздух между полями на первом шаге */
  .hero.hero-v2 .quote-step[data-step="1"] label {
    margin-top: 10px !important;
    margin-bottom: 5px !important;
  }

  /* возвращаем нормальную кнопку Продолжить только на первом шаге */
  .hero.hero-v2 #quote-next {
    min-height: 56px !important;
    height: 56px !important;
    padding: 0 18px !important;
    border-radius: 16px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
  }
}

/* =========================================
   STEP 1 CONTROLS TIGHTEN
   только марка / модель / год
   кнопку "Продолжить" не трогаем
   ========================================= */

.hero.hero-v2 .quote-step[data-step="1"] label {
  margin-top: 10px !important;
  margin-bottom: 4px !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
}

.hero.hero-v2 .quote-step[data-step="1"] label:first-child {
  margin-top: 6px !important;
}

.hero.hero-v2 .quote-step[data-step="1"] .picker-button,
.hero.hero-v2 .quote-step[data-step="1"] input[name="carYear"] {
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 16px !important;
  border-radius: 14px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
}

.hero.hero-v2 .quote-step[data-step="1"] .picker-button span,
.hero.hero-v2 .quote-step[data-step="1"] input[name="carYear"] {
  font-size: 13px !important;
}

.hero.hero-v2 .quote-step[data-step="1"] .picker-button .picker-chevron {
  font-size: 12px !important;
}

.hero.hero-v2 .quote-step[data-step="1"] input[name="carYear"] {
  margin-top: 0 !important;
}

@media (max-width: 900px) {
  .hero.hero-v2 .quote-step[data-step="1"] label {
    margin-top: 9px !important;
    margin-bottom: 4px !important;
    font-size: 10px !important;
  }

  .hero.hero-v2 .quote-step[data-step="1"] .picker-button,
  .hero.hero-v2 .quote-step[data-step="1"] input[name="carYear"] {
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 14px !important;
    border-radius: 13px !important;
    font-size: 12px !important;
  }

  .hero.hero-v2 .quote-step[data-step="1"] .picker-button span,
  .hero.hero-v2 .quote-step[data-step="1"] input[name="carYear"] {
    font-size: 12px !important;
  }
}
/* =========================================
   CPL redirect action in offer card
   ========================================= */

.hero.hero-v2 .offer-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: #2f89e1;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .18s ease, transform .12s ease;
}

.hero.hero-v2 .offer-action-link:hover {
  background: #2379cd;
}

.hero.hero-v2 .offer-action-link:active {
  transform: translateY(1px);
}

@media (max-width: 900px) {
  .hero.hero-v2 .offer-action-link {
    width: 100%;
    min-height: 38px;
    margin-top: 8px;
    border-radius: 11px;
    font-size: 12px;
  }
}
/* =========================================
   OFFER CTA ACTION
   универсальная кнопка перехода у оффера
   ========================================= */

.hero.hero-v2 .offer-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 190px;
}

.hero.hero-v2 .offer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: #2f89e1;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease, transform .12s ease;
}

.hero.hero-v2 .offer-cta:hover {
  background: #2478ca;
}

.hero.hero-v2 .offer-cta:active {
  transform: translateY(1px);
}

@media (max-width: 900px) {
  .hero.hero-v2 .offer-side {
    grid-column: 1 / -1;
    align-items: stretch;
    min-width: 0;
    padding-left: 60px;
    margin-top: 4px;
  }

  .hero.hero-v2 .offer-cta {
    width: 100%;
    min-height: 38px;
    border-radius: 11px;
    font-size: 13px;
  }
}
