/* Guided WhatsApp message. Personal details stay in memory, not browser storage. */
.wizard-intro {
  padding: 38px 0 42px;
}
.wizard-intro > .text-link {
  margin-bottom: 35px;
  color: var(--muted);
  font-size: 0.8125rem;
}
.wizard-intro .eyebrow {
  margin-bottom: 19px;
}
.wizard-intro h1 {
  font-size: clamp(2.7rem, 5vw, 4.7rem);
}
.wizard-intro > p:last-child {
  margin-top: 22px;
  color: var(--muted);
}
.wizard-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 85px;
  align-items: start;
  padding-bottom: 45px;
}
.wizard-aside {
  padding-top: 28px;
}
.step-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}
.step-list li {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.step-list li > span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.step-list small {
  display: block;
  font-size: 0.75rem;
  margin-top: 3px;
}
.step-list li[aria-current="step"] {
  color: var(--text);
}
.step-list li[aria-current="step"] > span,
.step-list li.is-complete > span {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.wizard-note {
  max-width: 270px;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--muted);
}
.package-context {
  font-size: 0.8125rem;
  padding: 15px;
  border: 1px solid var(--line);
  background: var(--surface);
  margin-top: 24px;
  border-radius: 12px;
  max-width: 310px;
  color: var(--accent);
}
.wizard-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 24px;
  padding: 38px;
  min-height: 440px;
  box-shadow: 0 24px 80px var(--shadow);
}
.wizard-step {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.wizard-step > .eyebrow,
#message-review > .eyebrow {
  margin-bottom: 26px;
  color: var(--accent);
}
.wizard-panel h2 {
  font-size: 2rem;
  line-height: 1.2;
  outline: none;
}
.wizard-step > p:not(.eyebrow):not(.field-error) {
  color: var(--muted);
  margin-top: 18px;
  font-size: 0.9375rem;
  max-width: 420px;
}
.field-label {
  display: block;
  font-size: 0.875rem;
  margin: 29px 0 10px;
}
.text-input {
  width: 100%;
  padding: 15px 17px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  border-radius: 11px;
  line-height: 1.6;
  transition: border-color 0.2s;
}
.text-input::placeholder {
  color: var(--muted);
  opacity: 0.72;
}
.text-input:focus {
  border-color: var(--accent);
}
textarea.text-input {
  resize: vertical;
  min-height: 125px;
  max-height: 320px;
}
.text-input[aria-invalid="true"] {
  border-color: #ec8072;
}
.field-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 11px;
  line-height: 1.7;
}
.field-error {
  margin-top: 13px;
  color: var(--accent);
  font-size: 0.875rem;
  line-height: 1.5;
}
.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 33px;
}
.wizard-actions > .button:only-child {
  margin-left: auto;
}
.wizard-actions .button {
  font-size: 0.8125rem;
  gap: 17px;
}
.service-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 27px;
}
.service-options label {
  position: relative;
  display: flex;
  gap: 11px;
  align-items: center;
  min-height: 101px;
  padding: 17px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.service-options label:has(input:checked),
.company-options label:has(input:checked) {
  border-color: var(--accent);
  background: var(--glow);
}
.service-options input,
.company-options input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin: 0;
}
.service-options strong {
  font-size: 0.9375rem;
  font-weight: 600;
  display: block;
}
.service-options small {
  font-size: 0.75rem;
  color: var(--muted);
  display: block;
  line-height: 1.5;
  margin-top: 6px;
}
.service-options label > span:last-child {
  margin-left: auto;
  color: var(--accent);
}
.company-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.company-options label {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 17px 14px;
  border-radius: 10px;
  cursor: pointer;
  background: var(--bg);
  font-size: 0.875rem;
}
.review-intro {
  color: var(--muted);
  margin-top: 20px;
}
.wizard-panel blockquote {
  margin: 24px 0 18px;
  padding: 25px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--bg);
  border-radius: 0 12px 12px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.85;
}
.review-actions {
  flex-wrap: wrap;
}
.wizard-status {
  color: var(--muted);
}
@media (max-width: 1050px) {
  .wizard-layout {
    gap: 40px;
    grid-template-columns: 0.65fr 1.35fr;
  }
  .wizard-panel {
    padding: 30px;
  }
  .service-options {
    grid-template-columns: 1fr;
  }
  .service-options label {
    min-height: 85px;
  }
  .company-options {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .wizard-intro {
    padding-top: 25px;
    padding-bottom: 30px;
  }
  .wizard-intro > .text-link {
    margin-bottom: 30px;
  }
  .wizard-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 10px;
  }
  .wizard-aside {
    padding: 0;
  }
  .wizard-aside > .eyebrow,
  .wizard-note {
    display: none;
  }
  .step-list {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
  }
  .step-list li {
    margin: 0;
    gap: 8px;
    flex-direction: column;
    align-items: start;
    font-size: 0.8125rem;
  }
  .step-list small {
    display: none;
  }
  .step-list li > span {
    width: 33px;
    height: 33px;
  }
  .package-context {
    max-width: none;
    margin-top: 18px;
  }
  .wizard-panel {
    padding: 28px 22px;
    border-radius: 20px;
    min-height: 0;
  }
  .wizard-panel h2 {
    font-size: 1.7rem;
  }
  .wizard-step > .eyebrow {
    margin-bottom: 22px;
  }
  .wizard-actions {
    gap: 10px;
    flex-wrap: wrap;
  }
  .wizard-actions .button {
    padding: 13px 17px;
    min-height: 49px;
  }
  .review-actions .button-primary {
    width: 100%;
    order: -1;
  }
  .wizard-panel blockquote {
    padding: 20px;
    font-size: 0.9375rem;
  }
  .service-options {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .service-options label {
    padding: 16px 12px;
    align-items: start;
  }
  .service-options label > span:last-child {
    display: none;
  }
  .service-options input {
    margin-top: 4px;
  }
  .company-options {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 370px) {
  .service-options {
    grid-template-columns: 1fr;
  }
  .wizard-actions .button {
    padding-inline: 13px;
    gap: 10px;
  }
  .step-list {
    gap: 8px;
  }
}
