/* ==========================================================================
   WEBSITE QUOTE WIZARD — /get-a-website-quote
   qw- prefix for all quote-wizard specific classes
   ========================================================================== */

/* ── PAGE HERO ──────────────────────────── */
.qw-page-hero .page-heading h1 {
  max-width: 680px;
}

.qw-page-hero .page-heading .breadcrumb-description {
  max-width: 620px;
}

.qw-page-hero .breadcrumb-cta-group {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.qw-page-hero .breadcrumb-cta-group .breadcrumb-cta {
  margin-top: 0;
  border-radius: 10px;
  min-height: 48px;
  padding: 14px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qw-page-hero .breadcrumb-cta-group .breadcrumb-cta::before {
  background-color: var(--theme2);
}

/* ── TRUST BADGES ROW ───────────────────── */
.qw-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 22px;
}

.qw-trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 500;
}

.qw-trust-badge i {
  color: var(--theme2);
  font-size: 16px;
}

/* ── WIZARD WRAPPER ─────────────────────── */
.qw-section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(var(--theme-color-rgb), 0.04) 0%, var(--white) 100%);
}

.qw-wrapper {
  border-radius: 24px;
  border: 1px solid rgba(var(--theme-color-rgb), 0.1);
  background: var(--white);
  box-shadow: 0 20px 50px rgba(31, 23, 38, 0.06);
  padding: 40px 36px;
  scroll-margin-top: 120px;
}

/* ── STEP INDICATOR ─────────────────────── */
.qw-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
}

.qw-step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.qw-step-dot__circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(var(--theme-color-rgb), 0.15);
  background: var(--white);
  color: rgba(var(--theme-color-rgb), 0.35);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.qw-step-dot.is-active .qw-step-dot__circle {
  border-color: var(--theme);
  background: var(--theme);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(var(--theme-color-rgb), 0.3);
}

.qw-step-dot.is-done .qw-step-dot__circle {
  border-color: var(--theme);
  background: var(--theme);
  color: var(--white);
}

.qw-step-dot__label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(var(--theme-color-rgb), 0.35);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.qw-step-dot.is-active .qw-step-dot__label,
.qw-step-dot.is-done .qw-step-dot__label {
  color: var(--theme);
}

.qw-step-line {
  flex: 1;
  height: 2px;
  background: rgba(var(--theme-color-rgb), 0.12);
  margin: 0 -4px;
  margin-bottom: 26px;
  transition: background 0.3s ease;
}

.qw-step-line.is-done {
  background: var(--theme);
}

/* ── HEADER / QUESTION ──────────────────── */
.qw-head {
  text-align: center;
  margin-bottom: 32px;
}

.qw-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.3;
}

.qw-head p {
  margin: 0 auto;
  max-width: 600px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

/* ── OPTIONS GRID ───────────────────────── */
.qw-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.qw-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.qw-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  border-radius: 18px;
  border: 2px solid rgba(var(--theme-color-rgb), 0.1);
  background: var(--white);
  padding: 28px 20px 24px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.qw-option:hover {
  border-color: rgba(var(--theme-color-rgb), 0.22);
  box-shadow: 0 8px 24px rgba(31, 23, 38, 0.06);
  transform: translateY(-2px);
}

.qw-option.is-selected {
  border-color: var(--theme);
  background: rgba(var(--theme-color-rgb), 0.03);
  box-shadow: 0 8px 28px rgba(var(--theme-color-rgb), 0.12);
}

.qw-option__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(var(--theme-color-rgb), 0.07);
  border: 1px solid rgba(var(--theme-color-rgb), 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.qw-option.is-selected .qw-option__icon {
  background: var(--theme);
  border-color: var(--theme);
}

.qw-option__icon i {
  font-size: 22px;
  color: var(--theme);
  transition: color 0.25s ease;
}

.qw-option.is-selected .qw-option__icon i {
  color: var(--white);
}

.qw-option__label {
  font-size: 16px;
  font-weight: 700;
  color: var(--header);
  line-height: 1.35;
}

.qw-option__radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(var(--theme-color-rgb), 0.2);
  background: var(--white);
  position: relative;
  transition: all 0.25s ease;
}

.qw-option__radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease;
}

.qw-option.is-selected .qw-option__radio {
  border-color: var(--theme);
  background: var(--theme);
}

.qw-option.is-selected .qw-option__radio::after {
  transform: translate(-50%, -50%) scale(1);
}

.qw-option:focus-visible {
  outline: 2px solid var(--theme2);
  outline-offset: 2px;
}

/* ── CONTACT FORM ───────────────────────── */
.qw-contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.qw-contact-form .qw-field--full {
  grid-column: 1 / -1;
}

.qw-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--header);
}

.qw-field input:not([type="checkbox"]):not([type="radio"]),
.qw-field select,
.qw-field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(var(--theme-color-rgb), 0.15);
  background: var(--white);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--header);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.qw-field input:not([type="checkbox"]):not([type="radio"]):focus,
.qw-field select:focus,
.qw-field textarea:focus {
  border-color: var(--theme);
  box-shadow: 0 0 0 3px rgba(var(--theme-color-rgb), 0.1);
}

.qw-field input:not([type="checkbox"]):not([type="radio"])::placeholder,
.qw-field textarea::placeholder {
  color: #a0a8b8;
}

.qw-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(var(--theme-color-rgb), 0.55) 50%),
    linear-gradient(135deg, rgba(var(--theme-color-rgb), 0.55) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 2px),
    calc(100% - 16px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.qw-field textarea {
  resize: vertical;
  min-height: 100px;
}

/* ── CALENDAR ───────────────────────────── */
.qw-calendar {
  border: 1px solid rgba(var(--theme-color-rgb), 0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(var(--theme-color-rgb), 0.03) 0%, var(--white) 100%);
  padding: 22px;
}

.qw-calendar__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.qw-calendar__eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--theme);
}

.qw-calendar__title {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  color: var(--header);
}

.qw-calendar__helper {
  margin: 8px 0 0;
  max-width: 560px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

.qw-calendar__nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qw-calendar__nav-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(var(--theme-color-rgb), 0.15);
  border-radius: 12px;
  background: var(--white);
  color: var(--theme);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.qw-calendar__nav-btn:hover:not(:disabled) {
  border-color: var(--theme);
  background: rgba(var(--theme-color-rgb), 0.06);
}

.qw-calendar__nav-btn:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.qw-calendar__weekdays,
.qw-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.qw-calendar__weekdays {
  margin-bottom: 10px;
}

.qw-calendar__weekdays span {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(var(--theme-color-rgb), 0.55);
}

.qw-calendar__day {
  min-height: 52px;
  border: 1px solid rgba(var(--theme-color-rgb), 0.12);
  border-radius: 14px;
  background: var(--white);
  color: var(--header);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.qw-calendar__day:hover:not(:disabled) {
  border-color: rgba(var(--theme-color-rgb), 0.28);
  box-shadow: 0 10px 24px rgba(var(--theme-color-rgb), 0.08);
  transform: translateY(-1px);
}

.qw-calendar__day.is-selected {
  border-color: var(--theme);
  background: var(--theme);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(var(--theme-color-rgb), 0.18);
}

.qw-calendar__day.is-today:not(.is-selected) {
  border-color: var(--theme2);
  color: var(--theme);
}

.qw-calendar__day.is-outside {
  opacity: 0.45;
}

.qw-calendar__day.is-disabled {
  cursor: not-allowed;
  background: rgba(var(--theme-color-rgb), 0.03);
  color: rgba(var(--theme-color-rgb), 0.3);
  box-shadow: none;
  transform: none;
}

.qw-calendar__footer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(var(--theme-color-rgb), 0.1);
}

.qw-calendar__empty {
  margin: 0;
  color: var(--text);
  font-size: 14px;
}

.qw-date-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qw-date-chip {
  border: 1px solid rgba(var(--theme-color-rgb), 0.14);
  border-radius: 999px;
  background: rgba(var(--theme-color-rgb), 0.06);
  color: var(--theme);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.qw-date-chip:hover {
  border-color: var(--theme);
  background: rgba(var(--theme-color-rgb), 0.1);
}

/* ── ACTIONS BAR ────────────────────────── */
.qw-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(var(--theme-color-rgb), 0.1);
}

.qw-btn {
  min-height: 48px;
  min-width: 140px;
  border-radius: 12px;
  border: none;
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qw-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.qw-btn--back {
  background: transparent;
  border: 1px solid rgba(var(--theme-color-rgb), 0.18);
  color: var(--theme);
}

.qw-btn--back:hover:not(:disabled) {
  background: rgba(var(--theme-color-rgb), 0.06);
  border-color: var(--theme);
}

.qw-btn--next {
  background: var(--theme);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(var(--theme-color-rgb), 0.25);
}

.qw-btn--next:hover:not(:disabled) {
  box-shadow: 0 6px 20px rgba(var(--theme-color-rgb), 0.35);
  transform: translateY(-1px);
}

.qw-btn:focus-visible {
  outline: 2px solid var(--theme2);
  outline-offset: 2px;
}

.qw-legal-note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.qw-legal-note a {
  color: var(--theme);
  text-decoration: underline;
}

/* ── SUMMARY SIDEBAR ────────────────────── */
.qw-summary {
  border-radius: 20px;
  background: linear-gradient(152deg, #1a1128 0%, #2a1a3d 100%);
  color: var(--white);
  padding: 28px 24px;
  position: sticky;
  top: 120px;
}

.qw-summary__title {
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.qw-summary__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.qw-summary__item {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background 0.2s ease;
}

.qw-summary__item:hover {
  background: rgba(255, 255, 255, 0.09);
}

.qw-summary__item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qw-summary__item-icon i {
  font-size: 14px;
  color: var(--theme2);
}

.qw-summary__item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.qw-summary__item-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.qw-summary__item-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qw-summary__item-value--empty {
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
  font-weight: 400;
}

.qw-summary__trust {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.qw-summary__trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qw-summary__trust-icon i {
  color: #34d399;
  font-size: 16px;
}

.qw-summary__trust-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.qw-summary__trust-text p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ── SUCCESS SCREEN ─────────────────────── */
.qw-success {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}

.qw-success__inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.qw-success__icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(var(--theme-color-rgb), 0.08);
  border: 1px solid rgba(var(--theme-color-rgb), 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.qw-success__icon i {
  font-size: 38px;
  color: var(--theme);
}

.qw-success__inner h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.qw-success__inner p {
  margin: 0 0 32px;
  font-size: 17px;
  color: var(--text);
  line-height: 1.7;
}

.qw-success__inner .theme-btn {
  border-radius: 12px;
  min-height: 50px;
  padding: 14px 32px;
}

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 1199px) {
  .qw-body {
    grid-template-columns: 1fr 300px;
    gap: 28px;
  }
}

@media (max-width: 991px) {
  .qw-section {
    padding: 60px 0;
  }

  .qw-wrapper {
    padding: 30px 24px;
  }

  .qw-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .qw-summary {
    position: static;
  }

  .qw-step-dot__label {
    display: none;
  }

  .qw-step-dot__circle {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .qw-calendar {
    padding: 18px;
  }

  .qw-calendar__header {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .qw-section {
    padding: 48px 0;
  }

  .qw-wrapper {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .qw-options {
    grid-template-columns: 1fr;
  }

  .qw-contact-form {
    grid-template-columns: 1fr;
  }

  .qw-calendar {
    padding: 16px;
  }

  .qw-calendar__title {
    font-size: 20px;
  }

  .qw-calendar__weekdays,
  .qw-calendar__grid {
    gap: 8px;
  }

  .qw-calendar__day {
    min-height: 44px;
    border-radius: 12px;
    font-size: 14px;
  }

  .qw-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .qw-btn {
    width: 100%;
  }

  .qw-trust-row {
    flex-direction: column;
    gap: 12px;
  }

  .qw-step-dot__circle {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .qw-step-line {
    margin-bottom: 0;
  }

  .qw-steps {
    margin-bottom: 28px;
  }
}

@media (max-width: 575px) {
  .qw-page-hero .breadcrumb-cta-group .breadcrumb-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
    display: inline-flex;
    align-items: center;
  }

  .qw-option {
    padding: 22px 16px 20px;
  }
}
