.ebw-th {
  --ebw-th-bg: #f6f4ef;
  --ebw-th-card: #ffffff;
  --ebw-th-text: #1f2a24;
  --ebw-th-muted: #607065;
  --ebw-th-border: #ddd8cf;
  --ebw-th-accent: #294436;
  --ebw-th-highlight: #c3a16b;
  color: var(--ebw-th-text);
  background: var(--ebw-th-bg);
  border: 1px solid var(--ebw-th-border);
  border-radius: 20px;
  padding: 24px;
  box-sizing: border-box;
}

.ebw-th__hero,
.ebw-th__grid {
  display: grid;
  gap: 20px;
}

.ebw-th__hero {
  grid-template-columns: 1.7fr 1fr;
  align-items: start;
  margin-bottom: 24px;
}

.ebw-th__grid {
  grid-template-columns: 1.5fr .8fr;
}

.ebw-th__copy,
.ebw-th__price-card,
.ebw-th__form-wrap,
.ebw-th__summary {
  background: var(--ebw-th-card);
  border: 1px solid var(--ebw-th-border);
  border-radius: 18px;
  padding: 20px;
}

.ebw-th__badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(41,68,54,.08);
  color: var(--ebw-th-accent);
  font-size: 13px;
  font-weight: 700;
}

.ebw-th__title {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.15;
}

.ebw-th__subhead,
.ebw-th__price-note,
.ebw-th__summary-note,
.ebw-th__disclaimer {
  color: var(--ebw-th-muted);
}

.ebw-th__benefits,
.ebw-th__summary-list,
.ebw-th__options {
  margin: 16px 0 0;
  padding-left: 18px;
}

.ebw-th__price-label {
  margin: 0 0 8px;
  color: var(--ebw-th-muted);
  font-size: 14px;
}

.ebw-th__price-value,
.ebw-th__summary-price {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: var(--ebw-th-accent);
}

.ebw-th__alert {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 600;
}

.ebw-th__alert--success {
  background: #e8f2eb;
  color: #234030;
}

.ebw-th__alert--error {
  background: #f8e7e7;
  color: #7b1f1f;
}

.ebw-th__section + .ebw-th__section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--ebw-th-border);
}

.ebw-th__section h3,
.ebw-th__summary h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.ebw-th__fields {
  display: grid;
  gap: 14px;
}

.ebw-th__fields--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ebw-th label {
  display: block;
}

.ebw-th label > span {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

.ebw-th input,
.ebw-th select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--ebw-th-border);
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}

.ebw-th__check {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid var(--ebw-th-border);
  border-radius: 12px;
  background: #fff;
}

.ebw-th__check input {
  width: auto;
  min-height: auto;
  padding: 0;
}

.ebw-th__submit {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  background: var(--ebw-th-accent);
  color: #fff;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.ebw-th__summary {
  position: sticky;
  top: 24px;
  align-self: start;
}

@media (max-width: 960px) {
  .ebw-th__hero,
  .ebw-th__grid {
    grid-template-columns: 1fr;
  }

  .ebw-th__summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .ebw-th {
    padding: 16px;
    border-radius: 16px;
  }

  .ebw-th__title {
    font-size: 26px;
  }

  .ebw-th__fields--2 {
    grid-template-columns: 1fr;
  }

  .ebw-th__price-value,
  .ebw-th__summary-price {
    font-size: 30px;
  }
}

/* ── ESTIMATOR v2 — Step progress + WhatsApp CTA (ui-ux-pro-max) ── */

/* Step dots */
.ebw-th__steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 20px;
}

.ebw-th__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  position: relative;
}

.ebw-th__step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--ebw-th-border);
}

.ebw-th__step-item.is-active::after {
  background: var(--ebw-th-accent);
}

.ebw-th__step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--ebw-th-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--ebw-th-muted);
  position: relative;
  z-index: 1;
  transition: border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.ebw-th__step-item.is-active .ebw-th__step-dot {
  border-color: var(--ebw-th-accent);
  background: var(--ebw-th-accent);
  color: #fff;
}

.ebw-th__step-label {
  font-size: 0.68rem;
  color: var(--ebw-th-muted);
  font-weight: 600;
  white-space: nowrap;
}

.ebw-th__step-item.is-active .ebw-th__step-label {
  color: var(--ebw-th-accent);
  font-weight: 800;
}

/* WhatsApp CTA */
.ebw-th__whatsapp-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 0.85rem 1.2rem;
  margin-top: 12px;
  border-radius: 12px;
  background: #25D366;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: filter 200ms ease, transform 200ms ease;
  min-height: 44px;
}

.ebw-th__whatsapp-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .ebw-th__step-dot,
  .ebw-th__whatsapp-cta {
    transition: none;
  }
}
