html,
body {
  margin: 0;
  padding: 0;
  background: #f3f1ee;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222222;
  padding: 20px 12px;
}

#quote-tool {
  width: 100%;
}

.qt-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 12px 28px;
}

.qt-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.qt-brand-icon {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  background: #0e6f72;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.qt-brand-icon svg {
  width: 34px;
  height: 34px;
}

.qt-brand-title {
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  color: #222222;
}

.qt-brand-subtitle {
  margin-top: 6px;
  font-size: 16px;
  color: #777777;
}

.qt-progress-segments {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.qt-progress-segment {
  height: 14px;
  border-radius: 999px;
  background: #dfdcd7;
}

.qt-progress-segment.is-complete {
  background: #a8d1d0;
}

.qt-progress-segment.is-active {
  background: #0e6f72;
}

.qt-step-label {
  font-size: 14px;
  font-weight: 700;
  color: #8a8a8a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.qt-page-title {
  margin: 0 0 8px;
  font-size: 54px;
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: #222222;
}

.qt-page-subtitle {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.5;
  color: #7b7b7b;
  max-width: 560px;
}

.qt-property-list {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.qt-property-card {
  width: 100%;
  border: 2px solid transparent;
  background: #fbfaf8;
  border-radius: 26px;
  padding: 22px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.qt-property-card.is-selected {
  border-color: #0e6f72;
  box-shadow: inset 0 0 0 1px rgba(14, 111, 114, 0.12);
}

.qt-property-card-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.qt-property-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: #e8e5e0;
  color: #7a7a7a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.qt-property-icon.is-selected {
  background: #0e6f72;
  color: #ffffff;
}

.qt-property-icon svg {
  width: 30px;
  height: 30px;
}

.qt-property-title {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
  color: #222222;
}

.qt-property-desc {
  margin-top: 4px;
  font-size: 14px;
  color: #7a7a7a;
}

.qt-radio {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 3px solid #ddd8d1;
  box-sizing: border-box;
  position: relative;
  flex: 0 0 auto;
}

.qt-radio.is-selected {
  border-color: #0e6f72;
}

.qt-radio.is-selected::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 999px;
  background: #0e6f72;
}

.qt-address-card,
.qt-section-card,
.qt-summary-card,
.qt-contact-card,
.qt-next-steps-card,
.qt-estimate-hero,
.qt-refine-card {
  background: #fbfaf8;
  border-radius: 28px;
  padding: 26px;
}

.qt-address-card {
  margin-bottom: 24px;
}

.qt-address-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.qt-address-row + .qt-address-row {
  margin-top: 18px;
}

.qt-address-divider {
  height: 34px;
  width: 2px;
  background: #e5e1da;
  margin: 6px 0 6px 24px;
}

.qt-address-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex: 0 0 auto;
}

.qt-address-icon.is-primary {
  background: #0e6f72;
}

.qt-address-icon.is-secondary {
  background: #a8d1d0;
  color: #205456;
}

.qt-address-icon svg {
  width: 22px;
  height: 22px;
}

.qt-address-content {
  flex: 1;
}

.qt-address-label,
.qt-contact-label,
.qt-kicker {
  font-size: 14px;
  font-weight: 700;
  color: #8b8b8b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qt-kicker-centered {
  text-align: center;
}

.qt-line-input,
.qt-contact-input,
.qt-select-input {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-bottom: 3px solid #e4e0d9;
  background: transparent;
  padding: 16px 0 12px;
  font-size: 28px;
  font-weight: 700;
  color: #222222;
  outline: none;
  border-radius: 0;
}

.qt-line-input::placeholder,
.qt-contact-input::placeholder,
.qt-select-input::placeholder {
  color: #c2bfb9;
  font-weight: 500;
}

.qt-contact-card {
  margin-top: 18px;
}

.qt-contact-field + .qt-contact-field {
  margin-top: 26px;
}

.qt-contact-input {
  font-size: 18px;
  padding-top: 18px;
}

.qt-contact-textarea {
  min-height: 90px;
  resize: vertical;
}

.qt-toggle-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #e8e5e0;
  border-radius: 24px;
  padding: 8px;
  margin-top: 14px;
}

.qt-toggle {
  border: 0;
  background: transparent;
  border-radius: 20px;
  padding: 18px 12px;
  font-size: 18px;
  font-weight: 700;
  color: #7a7a7a;
  cursor: pointer;
}

.qt-toggle.is-selected {
  background: #ffffff;
  color: #222222;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.qt-date-fields {
  margin-top: 16px;
}

.qt-section-card {
  margin-bottom: 18px;
}

.qt-section-helper {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: #7b7b7b;
}

.qt-services-block {
  margin-top: 6px;
}

.qt-services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.qt-service-chip {
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 17px;
  font-weight: 700;
  background: #ffffff;
  color: #7d7d7d;
  cursor: pointer;
}

.qt-service-chip.is-selected {
  background: #0e6f72;
  color: #ffffff;
}

.qt-refine-card {
  margin-top: 20px;
  margin-bottom: 8px;
}

.qt-slider-row + .qt-slider-row {
  margin-top: 20px;
}

.qt-slider-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 14px 0 10px;
}

.qt-slider-label {
  font-size: 18px;
  font-weight: 700;
  color: #222222;
}

.qt-slider-value {
  font-size: 16px;
  font-weight: 700;
  color: #0e6f72;
}

.qt-slider-helper {
  margin: 2px 0 12px;
  font-size: 14px;
  line-height: 1.45;
  color: #7b7b7b;
  max-width: 620px;
}

.qt-slider {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 8px;
  background: #ddd8d1;
  border-radius: 999px;
  outline: none;
}

.qt-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #0e6f72;
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.qt-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #0e6f72;
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.qt-estimate-hero {
  text-align: center;
  margin-bottom: 18px;
}

.qt-estimate-number {
  margin-top: 16px;
  font-size: 86px;
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #222222;
}

.qt-estimate-number-single {
  font-size: 72px;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.qt-estimate-caption {
  margin-top: 18px;
  font-size: 18px;
  color: #7a7a7a;
}

.qt-summary-card {
  margin-bottom: 18px;
}

.qt-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #e6e2dc;
  font-size: 18px;
}

.qt-summary-line:last-child {
  border-bottom: 0;
}

.qt-summary-line span {
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.qt-summary-line strong {
  color: #222222;
  text-align: right;
}

.qt-estimate-next {
  margin: 0 0 14px;
  text-align: center;
}

.qt-estimate-next-copy {
  font-size: 18px;
  font-weight: 700;
  color: #4f4f4f;
}

.qt-footer-actions {
  display: grid;
  grid-template-columns: 1fr 2.1fr;
  gap: 16px;
  margin-top: 24px;
}

.qt-btn {
  border: 0;
  border-radius: 26px;
  padding: 20px 22px;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qt-btn-secondary {
  background: #e8e5e0;
  color: #222222;
}

.qt-btn-primary {
  background: #0e6f72;
  color: #ffffff;
}

.qt-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.qt-success-wrap {
  text-align: center;
  padding-top: 28px;
}

.qt-success-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 26px;
  border-radius: 999px;
  background: #0e6f72;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 54px;
  font-weight: 800;
}

.qt-success-title {
  margin: 0 0 14px;
  font-size: 64px;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #222222;
}

.qt-success-subtitle {
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 18px;
  line-height: 1.65;
  color: #6f6f6f;
}

.qt-next-steps-card {
  text-align: left;
  max-width: 640px;
  margin: 0 auto 28px;
}

.qt-next-step {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 20px;
  color: #222222;
}

.qt-next-step + .qt-next-step {
  margin-top: 22px;
}

.qt-next-step-number {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #0e6f72;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex: 0 0 auto;
}

.qt-restart-link {
  border: 0;
  background: transparent;
  color: #0e6f72;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
}

.pac-container {
  border-radius: 18px !important;
  border: 1px solid #e1ddd8 !important;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.06) !important;
  overflow: hidden !important;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
}

.pac-item {
  padding: 14px 16px !important;
  font-size: 14px !important;
}

@media (max-width: 760px) {
  body {
    padding: 16px 10px;
  }

  .qt-shell {
    padding: 14px 8px 22px;
  }

  .qt-brand-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .qt-brand-title {
    font-size: 24px;
  }

  .qt-page-title {
    font-size: 38px;
  }

  .qt-page-subtitle {
    font-size: 16px;
    margin-bottom: 18px;
  }

  .qt-property-list {
    gap: 12px;
  }

  .qt-property-card {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .qt-property-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .qt-property-icon svg {
    width: 26px;
    height: 26px;
  }

  .qt-property-title {
    font-size: 17px;
  }

  .qt-property-desc {
    font-size: 13px;
  }

  .qt-radio {
    width: 28px;
    height: 28px;
  }

  .qt-line-input {
    font-size: 20px;
  }

  .qt-toggle {
    font-size: 15px;
    padding: 15px 8px;
  }

  .qt-select-input,
  .qt-contact-input {
    font-size: 17px;
  }

  .qt-service-chip {
    font-size: 15px;
    padding: 12px 16px;
  }

  .qt-slider-label {
    font-size: 16px;
  }

  .qt-estimate-number {
    font-size: 66px;
  }

  .qt-estimate-number-single {
    font-size: 44px;
    line-height: 1.08;
  }

  .qt-estimate-caption {
    font-size: 16px;
  }

  .qt-summary-line {
    font-size: 16px;
    padding: 16px 0;
  }

  .qt-estimate-next-copy {
    font-size: 16px;
  }

  .qt-footer-actions {
    grid-template-columns: 1fr 1.6fr;
  }

  .qt-btn {
    font-size: 18px;
    padding: 18px 16px;
  }

  .qt-success-title {
    font-size: 46px;
  }

  .qt-success-subtitle {
    font-size: 17px;
  }

  .qt-next-step {
    font-size: 18px;
  }
}
