/**
 * Simple Touch Quote Calculator Styles
 * Author: Saim Ahmed
 * Version: 1.1.0
 */

:root {
  --st-primary: #38B6FF;
  --st-primary-dark: #0B84D8;
  --st-secondary: #035388;
  --st-ice-bg: #F4FBFF;
  --st-card-bg: #FFFFFF;
  --st-border: #DCEEFB;
  --st-border-active: #0B84D8;
  --st-heading: #0F172A;
  --st-text: #334155;
  --st-muted: #64748B;
  --st-font: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --st-radius-lg: 18px;
  --st-radius-md: 12px;
}

.st-qc-root * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.st-qc-root {
  font-family: var(--st-font);
  color: var(--st-text);
  line-height: 1.5;
  width: 100%;
  padding: 20px 0;
  -webkit-font-smoothing: antialiased;
}

/* Centered Single-Column Container (No right-side sticky box) */
.st-qc-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Hero Header */
.st-qc-hero {
  text-align: center;
  margin-bottom: 24px;
}

.st-qc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #E0F2FE;
  color: #0369A1;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  border: 1px solid #BAE6FD;
}

.st-qc-hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--st-primary-dark);
  box-shadow: 0 0 0 3px rgba(11, 132, 216, 0.2);
}

.st-qc-hero-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--st-heading);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  line-height: 1.25;
}

.st-qc-hero-sub {
  font-size: 14.5px;
  color: var(--st-muted);
  max-width: 620px;
  margin: 0 auto 16px;
  font-weight: 500;
}

.st-qc-trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 6px;
}

.st-qc-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #035388;
  background: #FFFFFF;
  border: 1px solid #DCEEFB;
  padding: 5px 12px;
  border-radius: 999px;
}

.st-qc-trust-item svg {
  width: 14px;
  height: 14px;
  color: #0284C7;
}

/* Tabs Switcher: Residential vs Commercial */
.st-qc-tabs-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.st-qc-tab-btn {
  appearance: none;
  background: #FFFFFF;
  border: 2px solid var(--st-border);
  border-radius: var(--st-radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  outline: none;
}

.st-qc-tab-btn:hover:not(.active) {
  border-color: #BAE6FD;
  background: #F8FBFE;
}

.st-qc-tab-btn.active {
  border-color: var(--st-primary-dark);
  background: linear-gradient(180deg, #F0F9FF 0%, #E0F2FE 100%);
  box-shadow: 0 4px 16px rgba(11, 132, 216, 0.12);
}

.st-qc-tab-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #F0F9FF;
  color: #0284C7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.st-qc-tab-icon svg {
  width: 20px;
  height: 20px;
}

.st-qc-tab-btn.active .st-qc-tab-icon {
  background: var(--st-primary-dark);
  color: #FFFFFF;
}

.st-qc-tab-text {
  display: flex;
  flex-direction: column;
}

.st-qc-tab-label {
  font-size: 15px;
  font-weight: 800;
  color: var(--st-heading);
  letter-spacing: -0.01em;
}

.st-qc-tab-btn.active .st-qc-tab-label {
  color: #035388;
}

.st-qc-tab-desc {
  font-size: 11.5px;
  color: var(--st-muted);
  font-weight: 500;
}

/* Tab Panels */
.st-qc-panel {
  display: none;
}

.st-qc-panel.active {
  display: block;
}

/* Cards (Steps) */
.st-qc-card {
  background: var(--st-card-bg);
  border: 1.5px solid var(--st-border);
  border-radius: var(--st-radius-lg);
  padding: 22px 24px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(11, 132, 216, 0.04);
}

.st-qc-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.st-qc-step-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--st-primary);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.st-qc-step-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--st-heading);
  letter-spacing: -0.01em;
}

.st-qc-card-sub {
  font-size: 12.5px;
  color: var(--st-muted);
  font-weight: 500;
  margin-top: 3px;
}

/* Button Grids */
.st-qc-btn-grid {
  display: grid;
  gap: 10px;
}

.st-qc-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.st-qc-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Step 1: Cleaning Type Cards (EOT, Deep Clean, After Builders) */
.st-qc-clean-card {
  appearance: none;
  background: #FFFFFF;
  border: 1.5px solid var(--st-border);
  border-radius: var(--st-radius-md);
  padding: 18px 16px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease, transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  outline: none;
  width: 100%;
}

.st-qc-clean-card:hover:not(.active) {
  border-color: #9DDAFD;
  background: #F8FBFE;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 132, 216, 0.08);
}

.st-qc-clean-card:active {
  transform: scale(0.985);
}

.st-qc-clean-card.active {
  border-color: var(--st-primary-dark);
  background: linear-gradient(180deg, #F0F9FF 0%, #E0F2FE 100%);
  box-shadow: 0 0 0 1px var(--st-primary-dark), 0 6px 20px rgba(11, 132, 216, 0.14);
}

.st-qc-clean-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #E0F2FE;
  color: var(--st-primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.st-qc-clean-card.active .st-qc-clean-card-icon {
  background: var(--st-primary-dark);
  color: #FFFFFF;
}

.st-qc-clean-card-icon svg {
  width: 22px;
  height: 22px;
}

.st-qc-clean-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.st-qc-clean-card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--st-heading);
  line-height: 1.3;
  margin-bottom: 3px;
}

.st-qc-clean-card.active .st-qc-clean-card-title {
  color: #035388;
}

.st-qc-clean-card-sub {
  font-size: 11.5px;
  color: var(--st-muted);
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 6px;
}

.st-qc-clean-card-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  color: #0369A1;
  background: #E0F2FE;
  border: 1px solid #BAE6FD;
  border-radius: 6px;
  padding: 3px 8px;
  margin-top: 2px;
}

.st-qc-clean-card.active .st-qc-clean-card-badge {
  background: #BAE6FD;
  color: #035388;
  border-color: #7DD3FC;
}

.st-qc-clean-card-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  flex-shrink: 0;
  position: relative;
  transition: all 0.18s ease;
  margin-top: 2px;
}

.st-qc-clean-card.active .st-qc-clean-card-radio {
  border-color: var(--st-primary-dark);
  background: var(--st-primary-dark);
}

.st-qc-clean-card.active .st-qc-clean-card-radio::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFFFFF;
}

/* Step 2: Bedroom & Bathroom Matrix Pills */
.st-qc-matrix-group {
  margin-bottom: 14px;
}

.st-qc-group-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--st-heading);
  margin-bottom: 9px;
}

.st-qc-group-label svg {
  width: 17px;
  height: 17px;
  color: var(--st-primary-dark);
}

.st-qc-pill-grid {
  display: grid;
  gap: 8px;
}

.st-qc-pill-6 {
  grid-template-columns: repeat(6, 1fr);
}

.st-qc-pill-4 {
  grid-template-columns: repeat(4, 1fr);
}

.st-qc-pill-3 {
  grid-template-columns: repeat(3, 1fr);
}

.st-qc-pill-btn {
  appearance: none;
  background: #FFFFFF;
  border: 1.5px solid var(--st-border);
  border-radius: 10px;
  padding: 12px 8px;
  font-family: var(--st-font);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--st-heading);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.18s cubic-bezier(0.25, 0.8, 0.25, 1);
  outline: none;
}

.st-qc-pill-btn:hover:not(.active) {
  border-color: #9DDAFD;
  background: #F8FBFE;
  transform: translateY(-1px);
}

.st-qc-pill-btn:active {
  transform: scale(0.98);
}

.st-qc-pill-btn.active {
  border-color: var(--st-primary-dark);
  background: linear-gradient(180deg, #F0F9FF 0%, #E0F2FE 100%);
  color: #035388;
  font-weight: 800;
  box-shadow: 0 0 0 1px var(--st-primary-dark), 0 3px 10px rgba(11, 132, 216, 0.15);
}

.st-qc-matrix-hint {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--st-muted);
  background: #F8FBFE;
  border: 1px dashed #BAE6FD;
  transition: all 0.2s ease;
}

.st-qc-matrix-hint.matched {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #065F46;
}

.st-qc-matrix-hint.custom {
  background: #FEF3C7;
  border-color: #FDE68A;
  color: #92400E;
}

/* Step 3: Additional Services Blocks */
.st-qc-extra-block {
  background: #FFFFFF;
  border: 1.5px solid var(--st-border);
  border-radius: var(--st-radius-md);
  padding: 16px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.st-qc-extra-block:hover {
  border-color: #BAE6FD;
  box-shadow: 0 4px 14px rgba(11, 132, 216, 0.05);
}

.st-qc-extra-block-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.st-qc-extra-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #E0F2FE;
  color: var(--st-primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.st-qc-extra-icon svg {
  width: 20px;
  height: 20px;
}

.st-qc-extra-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--st-heading);
  margin-bottom: 2px;
}

.st-qc-extra-desc {
  font-size: 12px;
  color: var(--st-muted);
  font-weight: 500;
  line-height: 1.35;
}

.st-qc-btn {
  appearance: none;
  background: #FFFFFF;
  border: 1.5px solid var(--st-border);
  border-radius: var(--st-radius-md);
  padding: 13px 14px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease, transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  outline: none;
  min-height: 52px;
}

.st-qc-btn:hover:not(.active) {
  border-color: #9DDAFD;
  background: #F8FBFE;
  transform: translateY(-1px);
}

.st-qc-btn:active {
  transform: scale(0.985);
}

.st-qc-btn.active {
  border-color: var(--st-primary-dark);
  background: linear-gradient(180deg, #F0F9FF 0%, #E0F2FE 100%);
  box-shadow: 0 0 0 1px var(--st-primary-dark), 0 4px 12px rgba(11, 132, 216, 0.12);
}

.st-qc-btn-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--st-heading);
  line-height: 1.25;
}

.st-qc-btn.active .st-qc-btn-title {
  color: #035388;
}

.st-qc-btn-desc {
  font-size: 11px;
  color: var(--st-muted);
  margin-top: 3px;
  font-weight: 500;
}

/* Frequency Selector for Regular Clean */
.st-qc-freq-box {
  margin-top: 14px;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-radius: var(--st-radius-md);
  padding: 14px;
}

.st-qc-freq-label {
  font-size: 12px;
  font-weight: 700;
  color: #0369A1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.st-qc-freq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.st-qc-freq-btn {
  appearance: none;
  background: #FFFFFF;
  border: 1.5px solid #BAE6FD;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s ease;
  outline: none;
}

.st-qc-freq-btn:hover:not(.active) {
  border-color: var(--st-primary-dark);
}

.st-qc-freq-btn.active {
  border-color: var(--st-primary-dark);
  background: var(--st-primary-dark);
  color: #FFFFFF;
}

.st-qc-freq-title {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--st-heading);
}

.st-qc-freq-btn.active .st-qc-freq-title {
  color: #FFFFFF;
}

.st-qc-freq-sub {
  display: block;
  font-size: 10.5px;
  color: var(--st-muted);
  margin-top: 2px;
}

.st-qc-freq-btn.active .st-qc-freq-sub {
  color: #E0F2FE;
}

/* 11 Specialized Services Grid (Step 3) */
.st-qc-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.st-qc-service-card {
  background: #FFFFFF;
  border: 1.5px solid var(--st-border);
  border-radius: var(--st-radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease, transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  user-select: none;
}

.st-qc-service-card:hover:not(.active) {
  border-color: #9DDAFD;
  background: #F8FBFE;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(11, 132, 216, 0.08);
}

.st-qc-service-card:active {
  transform: scale(0.985);
}

.st-qc-service-card.active {
  border-color: var(--st-primary-dark);
  background: linear-gradient(180deg, #F0F9FF 0%, #E2F3FE 100%);
  box-shadow: 0 0 0 1px var(--st-primary-dark), 0 4px 12px rgba(11, 132, 216, 0.12);
}

.st-qc-service-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.st-qc-service-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #E0F2FE;
  color: var(--st-primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.st-qc-service-card.active .st-qc-service-icon {
  background: var(--st-primary-dark);
  color: #FFFFFF;
}

.st-qc-service-icon svg {
  width: 17px;
  height: 17px;
}

.st-qc-service-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--st-heading);
  line-height: 1.3;
}

.st-qc-service-card.active .st-qc-service-name {
  color: #035388;
}

.st-qc-service-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s ease;
  color: transparent;
}

.st-qc-service-card.active .st-qc-service-check {
  background: var(--st-primary-dark);
  border-color: var(--st-primary-dark);
  color: #FFFFFF;
}

.st-qc-service-check svg {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

/* Steppers Box (Bathrooms, WCs, Floors) Below 11 Services */
.st-qc-steppers-box {
  background: #F8FBFE;
  border: 1.5px dashed #CBE4F9;
  border-radius: var(--st-radius-md);
  padding: 16px 18px;
}

.st-qc-steppers-title {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0369A1;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.st-qc-stepper-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.st-qc-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid var(--st-border);
  border-radius: 10px;
  padding: 11px 14px;
}

.st-qc-row-info {
  flex: 1;
  min-width: 0;
}

.st-qc-row-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--st-heading);
  margin-bottom: 2px;
}

.st-qc-row-desc {
  font-size: 11.5px;
  color: var(--st-muted);
  font-weight: 500;
}

.st-qc-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 9px;
  padding: 3px;
}

button.st-qc-step-btn {
  appearance: none;
  width: 32px;
  height: 32px;
  border: none;
  background: #FFFFFF;
  border-radius: 7px;
  font-family: var(--st-font);
  font-size: 16px;
  font-weight: 800;
  color: var(--st-heading);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  outline: none;
}

button.st-qc-step-btn:hover:not(:disabled) {
  background: var(--st-primary);
  color: #FFFFFF;
}

button.st-qc-step-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.st-qc-step-val {
  min-width: 26px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--st-heading);
}

/* Furnished Toggle Group */
.st-qc-toggle-group {
  display: inline-flex;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 9px;
  padding: 3px;
  gap: 3px;
}

.st-qc-toggle-opt {
  appearance: none;
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: 7px;
  font-family: var(--st-font);
  font-size: 12px;
  font-weight: 700;
  color: var(--st-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  outline: none;
}

.st-qc-toggle-opt.active {
  background: #FFFFFF;
  color: var(--st-primary-dark);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Switch Toggle (Heavily Soiled) */
.st-qc-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.st-qc-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.st-qc-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #CBD5E1;
  transition: 0.25s;
  border-radius: 24px;
}

.st-qc-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.st-qc-switch input:checked + .st-qc-slider {
  background-color: var(--st-primary-dark);
}

.st-qc-switch input:checked + .st-qc-slider:before {
  transform: translateX(20px);
}

/* Customer Details Form */
.st-qc-form-card {
  background: #FFFFFF;
  border: 2px solid #BAE6FD;
  border-radius: var(--st-radius-lg);
  padding: 24px 26px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(11, 132, 216, 0.08);
}

.st-qc-form-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--st-heading);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.st-qc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.st-qc-field-full {
  grid-column: 1 / -1;
}

label.st-qc-field-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--st-heading);
  margin-bottom: 5px;
}

label.st-qc-field-label .req {
  color: #DC2626;
}

input.st-qc-input,
textarea.st-qc-textarea,
select.st-qc-input {
  width: 100%;
  font-family: var(--st-font);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--st-heading);
  background: #FAFDFF;
  border: 1.5px solid var(--st-border);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, transform 0.2s ease;
  outline: none;
}

input.st-qc-input::placeholder,
textarea.st-qc-textarea::placeholder {
  color: #94A3B8;
  transition: color 0.2s ease;
}

/* Smooth Input Hover */
input.st-qc-input:hover,
textarea.st-qc-textarea:hover,
select.st-qc-input:hover {
  border-color: #9DDAFD;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(11, 132, 216, 0.06);
}

/* Smooth Input Click / Focus */
input.st-qc-input:focus,
textarea.st-qc-textarea:focus,
select.st-qc-input:focus {
  background: #FFFFFF;
  border-color: var(--st-primary-dark);
  box-shadow: 0 0 0 4px rgba(11, 132, 216, 0.16), 0 4px 14px rgba(11, 132, 216, 0.08);
  transform: translateY(-1px);
}

/* Smooth Date Picker Input Specifics */
input[type="date"].st-qc-input {
  cursor: pointer;
}

input[type="date"].st-qc-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.65;
  padding: 4px;
  border-radius: 6px;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

input[type="date"].st-qc-input:hover::-webkit-calendar-picker-indicator {
  opacity: 1;
  transform: scale(1.12);
  background: #E0F2FE;
}

.st-qc-form-msg {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.st-qc-form-msg.error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.st-qc-form-msg.info {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
}

/* Submit Button (NO price, clean gradient, non-sticky) */
button.st-qc-submit-btn {
  appearance: none;
  width: 100%;
  font-family: var(--st-font);
  font-size: 15.5px;
  font-weight: 800;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--st-primary) 0%, var(--st-primary-dark) 100%);
  border: none;
  border-radius: 13px;
  padding: 15px 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 6px 20px rgba(11, 132, 216, 0.25);
  outline: none;
}

button.st-qc-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(11, 132, 216, 0.35);
}

button.st-qc-submit-btn:active:not(:disabled) {
  transform: scale(0.99) translateY(0);
  box-shadow: 0 4px 14px rgba(11, 132, 216, 0.25);
}

button.st-qc-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

button.st-qc-submit-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

button.st-qc-submit-btn:hover:not(:disabled) svg {
  transform: translateX(3px);
}

.st-qc-response-text {
  text-align: center;
  font-size: 12px;
  color: var(--st-muted);
  margin-top: 12px;
  font-weight: 500;
}

/* Confirmation / Success Screen Card */
.st-qc-confirm-card {
  background: #FFFFFF;
  border: 2px solid #BAE6FD;
  border-radius: var(--st-radius-lg);
  padding: 34px 28px;
  text-align: center;
  box-shadow: 0 14px 40px rgba(11, 132, 216, 0.10);
}

.st-qc-confirm-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #059669;
  border: 2px solid #A7F3D0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.st-qc-confirm-icon svg {
  width: 28px;
  height: 28px;
}

.st-qc-confirm-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--st-heading);
  margin-bottom: 8px;
}

.st-qc-confirm-msg {
  font-size: 14.5px;
  color: var(--st-muted);
  max-width: 580px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

.st-qc-confirm-details {
  background: #F8FBFE;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-md);
  padding: 16px 20px;
  text-align: left;
  max-width: 520px;
  margin: 0 auto 22px;
  font-size: 13.5px;
}

.st-qc-confirm-details p {
  margin-bottom: 6px;
  color: var(--st-text);
}

.st-qc-confirm-details strong {
  color: var(--st-heading);
}

.st-qc-reset-btn {
  appearance: none;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 18px;
  font-family: var(--st-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--st-heading);
  cursor: pointer;
  transition: all 0.18s ease;
  outline: none;
}

.st-qc-reset-btn:hover {
  background: var(--st-primary);
  border-color: var(--st-primary);
  color: #FFFFFF;
}

/* =========================================================================
   RESPONSIVE DESIGN (DESKTOP, TABLET & MOBILE)
   ========================================================================= */
@media (max-width: 860px) {
  .st-qc-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .st-qc-hero-title {
    font-size: 25px;
  }

  .st-qc-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .st-qc-grid-3 {
    grid-template-columns: 1fr;
  }

  .st-qc-freq-grid {
    grid-template-columns: 1fr;
  }

  .st-qc-services-grid {
    grid-template-columns: 1fr;
  }

  .st-qc-form-grid {
    grid-template-columns: 1fr;
  }

  .st-qc-tabs-nav {
    grid-template-columns: 1fr;
  }

  .st-qc-pill-6 {
    grid-template-columns: repeat(3, 1fr);
  }

  .st-qc-pill-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .st-qc-extra-block-header {
    flex-wrap: wrap;
  }

  .st-qc-card {
    padding: 18px 16px;
  }

  .st-qc-form-card {
    padding: 18px 16px;
  }

  .st-qc-row-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
