/* ==========================================================================
   ECHOVISION DIGITAL MARKETING AGENCY - GET A QUOTE STYLESHEET (quote.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   01 — BASE & WRAPPER
   -------------------------------------------------------------------------- */
.quote-page-html,
.quote-page {
  background-color: #020812;
  color: #FFFFFF;
  font-family: var(--font-main, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  overflow-x: hidden;
}

.quote-experience-wrapper {
  position: relative;
  min-height: 100vh;
  padding: 8.5rem 0 6rem 0;
  background-color: #020812;
  overflow: hidden;
}

/* Ambient Radial Glows */
.quote-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(120px);
}

.glow-cyan-top {
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 380px;
  background: radial-gradient(ellipse at center, rgba(71, 196, 242, 0.16) 0%, rgba(2, 8, 18, 0) 70%);
}

.glow-blue-bottom {
  bottom: 10%;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.12) 0%, rgba(2, 8, 18, 0) 75%);
}

.quote-container {
  position: relative;
  z-index: 5;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --------------------------------------------------------------------------
   02 — HERO HEADER
   -------------------------------------------------------------------------- */
.quote-hero-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem auto;
}

.quote-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-tech, monospace);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--color-spicy, #47C4F2);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.quote-eyebrow .pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-spicy, #47C4F2);
  box-shadow: 0 0 10px var(--color-spicy, #47C4F2);
}

.quote-title {
  font-family: var(--font-heading, "Montserrat", sans-serif);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.gradient-cyan-glow {
  background: linear-gradient(135deg, #FFFFFF 20%, #47C4F2 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 20px rgba(71, 196, 242, 0.45));
}

.quote-subtitle {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 680px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   03 — PROGRESS STEPPER
   -------------------------------------------------------------------------- */
.quote-stepper-wrap {
  position: relative;
  max-width: 840px;
  margin: 0 auto 3.5rem auto;
  padding: 0 1rem;
}

.quote-stepper-track {
  position: absolute;
  top: 24px;
  left: calc(1rem + 30px);
  right: calc(1rem + 30px);
  height: 3px;
  background: rgba(71, 196, 242, 0.18);
  border-radius: 4px;
  z-index: 1;
}

.quote-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #47C4F2, #0EA5E9);
  border-radius: 4px;
  box-shadow: 0 0 14px rgba(71, 196, 242, 0.7);
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.quote-steps-list {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
}

.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  background: none;
  border: none;
  cursor: default;
  transition: all 0.3s ease;
}

.step-node.completed,
.step-node.active {
  cursor: pointer;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #040D1A;
  border: 2px solid rgba(71, 196, 242, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.35s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.step-num {
  font-family: var(--font-tech, monospace);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.step-check-icon {
  display: none;
  width: 20px;
  height: 20px;
  stroke: #020812;
}

.step-label {
  font-family: var(--font-heading, sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  transition: color 0.3s ease;
}

/* Active Node */
.step-node.active .step-circle {
  background: rgba(4, 15, 30, 0.95);
  border-color: #47C4F2;
  color: #47C4F2;
  box-shadow: 0 0 20px rgba(71, 196, 242, 0.5), inset 0 0 10px rgba(71, 196, 242, 0.2);
  transform: scale(1.06);
}

.step-node.active .step-label {
  color: #47C4F2;
  font-weight: 800;
}

/* Completed Node */
.step-node.completed .step-circle {
  background: #47C4F2;
  border-color: #47C4F2;
  color: #020812;
  box-shadow: 0 0 16px rgba(71, 196, 242, 0.4);
}

.step-node.completed .step-num {
  display: none;
}

.step-node.completed .step-check-icon {
  display: block;
}

.step-node.completed .step-label {
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   04 — CARD SHELL & STEP CONTAINER
   -------------------------------------------------------------------------- */
.quote-card-shell {
  position: relative;
  background: rgba(4, 15, 30, 0.88);
  border: 1.5px solid rgba(71, 196, 242, 0.32);
  border-radius: 24px;
  padding: 3.5rem 3.5rem;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85), 0 0 35px rgba(71, 196, 242, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.quote-step-pane {
  display: none;
  animation: fadeInStep 0.4s ease forwards;
}

.quote-step-pane.active {
  display: block;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Step Header */
.step-header {
  margin-bottom: 2.75rem;
}

.step-eyebrow {
  display: inline-block;
  font-family: var(--font-tech, monospace);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #47C4F2;
  margin-bottom: 0.5rem;
}

.step-title {
  font-family: var(--font-heading, "Montserrat", sans-serif);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 720px;
}

/* --------------------------------------------------------------------------
   05 — STEP 1: SERVICE SELECTION CARDS
   -------------------------------------------------------------------------- */
.services-selection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.service-select-card {
  position: relative;
  cursor: pointer;
  border-radius: 18px;
  background: rgba(2, 10, 22, 0.65);
  border: 1.5px solid rgba(71, 196, 242, 0.22);
  padding: 1.85rem 1.65rem;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  overflow: hidden;
}

.service-select-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(71, 196, 242, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.service-select-card:hover {
  transform: translateY(-4px);
  border-color: rgba(71, 196, 242, 0.55);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 24px rgba(71, 196, 242, 0.15);
}

.service-select-card:hover::before {
  opacity: 1;
}

/* Selected Service Card */
.service-select-card.selected {
  background: rgba(4, 20, 42, 0.85);
  border-color: #47C4F2;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7), 0 0 30px rgba(71, 196, 242, 0.32);
  transform: translateY(-4px);
}

.service-select-card.selected::before {
  opacity: 1;
}

.service-radio-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.card-top-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.service-select-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(71, 196, 242, 0.3);
  background: rgba(2, 10, 22, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.service-select-indicator svg {
  width: 12px;
  height: 12px;
  stroke: transparent;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: scale(0.5);
}

.service-select-card.selected .service-select-indicator {
  background: #47C4F2;
  border-color: #47C4F2;
  box-shadow: 0 0 10px rgba(71, 196, 242, 0.6);
}

.service-select-card.selected .service-select-indicator svg {
  stroke: #020812;
  transform: scale(1);
}

.service-card-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(71, 196, 242, 0.1);
  border: 1px solid rgba(71, 196, 242, 0.35);
  color: #47C4F2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-card-icon-circle svg {
  width: 24px;
  height: 24px;
}

.service-select-card.selected .service-card-icon-circle {
  background: #47C4F2;
  color: #020812;
  border-color: #47C4F2;
  box-shadow: 0 0 16px rgba(71, 196, 242, 0.6);
}

.service-badge {
  font-family: var(--font-tech, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.service-select-card.selected .service-badge {
  color: #47C4F2;
  background: rgba(71, 196, 242, 0.12);
  border-color: rgba(71, 196, 242, 0.35);
}

.service-card-title {
  font-family: var(--font-heading, sans-serif);
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.service-card-tagline {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.service-card-tags span {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(2, 12, 28, 0.7);
  border: 1px solid rgba(71, 196, 242, 0.15);
  padding: 3px 8px;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.service-select-card.selected .service-card-tags span {
  border-color: rgba(71, 196, 242, 0.35);
  color: rgba(255, 255, 255, 0.9);
}

/* --------------------------------------------------------------------------
   06 — STEP 2: SERVICE QUESTIONS
   -------------------------------------------------------------------------- */
.service-questions-panel {
  display: none;
}

.service-questions-panel.active {
  display: block;
}

.service-intro-banner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(2, 12, 26, 0.7);
  border: 1px solid rgba(71, 196, 242, 0.25);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.banner-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(71, 196, 242, 0.12);
  color: #47C4F2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.banner-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.banner-text {
  flex-grow: 1;
}

.banner-title {
  font-family: var(--font-heading, sans-serif);
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.banner-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.banner-tag {
  font-family: var(--font-tech, monospace);
  font-size: 11px;
  font-weight: 700;
  color: #47C4F2;
  border: 1px solid rgba(71, 196, 242, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(71, 196, 242, 0.08);
}

.questions-stack {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  margin-bottom: 3rem;
}

.question-block {
  background: rgba(2, 10, 22, 0.5);
  border: 1px solid rgba(71, 196, 242, 0.18);
  border-radius: 16px;
  padding: 1.85rem 2rem;
  transition: border-color 0.3s ease;
}

.question-block:focus-within {
  border-color: rgba(71, 196, 242, 0.45);
}

.question-legend {
  margin-bottom: 1.25rem;
}

.q-badge {
  display: inline-block;
  font-family: var(--font-tech, monospace);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #47C4F2;
  margin-bottom: 0.35rem;
}

.q-title {
  font-family: var(--font-heading, sans-serif);
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.4;
  margin-bottom: 0.35rem;
}

.q-help {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* Choice Pills (Radios & Checkboxes) */
.choices-grid-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.choice-pill {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.choice-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.pill-content {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(4, 15, 30, 0.7);
  border: 1.5px solid rgba(71, 196, 242, 0.22);
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.25s ease;
  user-select: none;
}

.choice-pill:hover .pill-content {
  border-color: rgba(71, 196, 242, 0.5);
  color: #FFFFFF;
  background: rgba(4, 20, 40, 0.85);
}

.pill-check {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid rgba(71, 196, 242, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.choice-pill:has(input[type="radio"]) .pill-check {
  border-radius: 50%;
}

.pill-check svg {
  display: none;
  width: 10px;
  height: 10px;
  stroke: #020812;
}

/* Checked State */
.choice-pill:has(.choice-input:checked) .pill-content {
  background: rgba(71, 196, 242, 0.14);
  border-color: #47C4F2;
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(71, 196, 242, 0.25);
}

.choice-pill:has(.choice-input:checked) .pill-check {
  background: #47C4F2;
  border-color: #47C4F2;
}

.choice-pill:has(.choice-input:checked) .pill-check svg {
  display: block;
}

/* Fallback class for older browser compatibility without :has() */
.choice-pill.is-checked .pill-content {
  background: rgba(71, 196, 242, 0.14);
  border-color: #47C4F2;
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(71, 196, 242, 0.25);
}
.choice-pill.is-checked .pill-check {
  background: #47C4F2;
  border-color: #47C4F2;
}
.choice-pill.is-checked .pill-check svg {
  display: block;
}

/* Conditional Input Wrap (Revealed on 'Other') */
.conditional-input-wrap {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(71, 196, 242, 0.2);
}

/* File Upload Dropzone */
.file-upload-dropzone {
  position: relative;
  background: rgba(2, 8, 18, 0.65);
  border: 2px dashed rgba(71, 196, 242, 0.35);
  border-radius: 14px;
  padding: 2.25rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-upload-dropzone:hover,
.file-upload-dropzone.dragover {
  border-color: #47C4F2;
  background: rgba(71, 196, 242, 0.05);
  box-shadow: 0 0 20px rgba(71, 196, 242, 0.2);
}

.dropzone-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}

.dropzone-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(71, 196, 242, 0.12);
  color: #47C4F2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
}

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

.dropzone-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.dropzone-title .cyan-link {
  color: #47C4F2;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dropzone-hint {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

.file-preview-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(71, 196, 242, 0.15);
  border: 1px solid #47C4F2;
  border-radius: 8px;
  padding: 0.5rem 0.95rem;
  font-size: 13px;
  color: #FFFFFF;
  margin-top: 1rem;
}

.file-preview-pill .pill-fname {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.file-remove-btn {
  background: none;
  border: none;
  color: #FF5E5E;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-remove-btn svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   07 — STEP 3: CONTACT & SCOPE
   -------------------------------------------------------------------------- */
.contact-fields-grid {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-bottom: 3rem;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-field-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading, sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.65rem;
}

.required-star {
  color: #47C4F2;
  margin-left: 3px;
}

.optional-tag {
  font-family: var(--font-tech, monospace);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.field-icon {
  position: absolute;
  left: 1.15rem;
  width: 18px;
  height: 18px;
  color: rgba(71, 196, 242, 0.7);
  pointer-events: none;
  transition: color 0.3s ease;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(2, 10, 22, 0.75);
  border: 1px solid rgba(71, 196, 242, 0.28);
  border-radius: 12px;
  padding: 0.95rem 1.15rem 0.95rem 2.85rem;
  color: #FFFFFF;
  font-family: var(--font-main, sans-serif);
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.form-textarea {
  padding: 1rem 1.15rem;
  min-height: 100px;
  resize: vertical;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper .form-select {
  padding-left: 1.15rem;
  padding-right: 2.5rem;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #47C4F2;
  pointer-events: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: rgba(71, 196, 242, 0.5);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #47C4F2;
  background: rgba(4, 15, 32, 0.9);
  box-shadow: 0 0 16px rgba(71, 196, 242, 0.3);
}

.input-with-icon:focus-within .field-icon {
  color: #47C4F2;
}

/* Field Validation Error State */
.form-field-group.has-error .form-input,
.form-field-group.has-error .form-select,
.form-field-group.has-error .form-textarea {
  border-color: #FF5E5E;
  box-shadow: 0 0 14px rgba(255, 94, 94, 0.3);
}

.field-error-msg {
  display: none;
  font-size: 12px;
  color: #FF8585;
  margin-top: 0.4rem;
  font-weight: 600;
}

.form-field-group.has-error .field-error-msg {
  display: block;
}

/* --------------------------------------------------------------------------
   08 — STEP 4: REVIEW & SUBMIT
   -------------------------------------------------------------------------- */
.review-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.review-section-card {
  background: rgba(2, 10, 22, 0.65);
  border: 1.5px solid rgba(71, 196, 242, 0.25);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  transition: border-color 0.3s ease;
}

.review-section-card:hover {
  border-color: rgba(71, 196, 242, 0.45);
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-card-title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(71, 196, 242, 0.12);
  color: #47C4F2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-icon-circle svg {
  width: 20px;
  height: 20px;
}

.review-label {
  display: block;
  font-family: var(--font-tech, monospace);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #47C4F2;
  margin-bottom: 2px;
}

.review-value {
  font-family: var(--font-heading, sans-serif);
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
}

.review-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(71, 196, 242, 0.08);
  border: 1px solid rgba(71, 196, 242, 0.3);
  color: #47C4F2;
  font-family: var(--font-heading, sans-serif);
  font-size: 12.5px;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.review-edit-btn svg {
  width: 14px;
  height: 14px;
}

.review-edit-btn:hover {
  background: #47C4F2;
  color: #020812;
  border-color: #47C4F2;
  box-shadow: 0 0 14px rgba(71, 196, 242, 0.4);
}

.review-answers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(71, 196, 242, 0.15);
}

.review-answer-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: rgba(4, 15, 30, 0.5);
  border-radius: 8px;
  padding: 0.85rem 1.15rem;
  border-left: 3px solid #47C4F2;
}

.review-q-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.review-q-answer {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.45;
}

.review-contact-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(71, 196, 242, 0.15);
}

.review-detail-item {
  display: flex;
  gap: 0.5rem;
  font-size: 13.5px;
}

.review-detail-item .detail-label {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.review-detail-item .detail-val {
  color: #FFFFFF;
  font-weight: 700;
}

/* Submission Alert Box */
.submission-alert-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  font-size: 14px;
  line-height: 1.5;
}

.submission-alert-box svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.submission-alert-box.alert-error {
  background: rgba(255, 94, 94, 0.12);
  border: 1px solid rgba(255, 94, 94, 0.4);
  color: #FFB3B3;
}

.submission-alert-box.alert-error svg {
  color: #FF5E5E;
}

/* Submit Bar */
.review-submit-bar {
  display: flex;
  flex-direction: column;
}

.terms-privacy-text {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
}

.terms-privacy-text a {
  color: #47C4F2;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Action Buttons */
.step-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-heading, sans-serif);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 1rem 2rem;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary {
  background: #47C4F2;
  color: #020812;
  box-shadow: 0 4px 18px rgba(71, 196, 242, 0.35);
}

.btn-primary:hover:not(:disabled) {
  background: #FFFFFF;
  color: #020812;
  box-shadow: 0 6px 24px rgba(71, 196, 242, 0.55);
  transform: translateY(-2px);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: rgba(2, 12, 28, 0.8);
  border: 1.5px solid rgba(71, 196, 242, 0.3);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background: rgba(71, 196, 242, 0.12);
  border-color: #47C4F2;
  color: #47C4F2;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(71, 196, 242, 0.4);
  color: #FFFFFF;
}

.btn-outline:hover {
  border-color: #47C4F2;
  background: rgba(71, 196, 242, 0.1);
  color: #47C4F2;
}

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.prev-step-btn:hover .btn-arrow {
  transform: rotate(180deg) translateX(4px) !important;
}

.btn-spinner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.spinner-svg {
  width: 18px;
  height: 18px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   09 — CONFIRMATION CARD
   -------------------------------------------------------------------------- */
.quote-confirmation-card {
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  animation: fadeInStep 0.5s ease forwards;
}

.conf-badge-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #47C4F2;
  box-shadow: 0 0 35px rgba(71, 196, 242, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem auto;
}

.conf-badge-circle svg {
  width: 36px;
  height: 36px;
  stroke: #020812;
}

.conf-eyebrow {
  font-family: var(--font-tech, monospace);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #47C4F2;
  margin-bottom: 0.75rem;
}

.conf-title {
  font-family: var(--font-heading, "Montserrat", sans-serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.conf-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.conf-ref-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(71, 196, 242, 0.1);
  border: 1.5px solid #47C4F2;
  border-radius: 30px;
  padding: 0.65rem 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 0 20px rgba(71, 196, 242, 0.25);
}

.ref-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.ref-code {
  font-family: var(--font-tech, monospace);
  font-size: 15px;
  font-weight: 800;
  color: #47C4F2;
  letter-spacing: 1px;
}

.conf-next-steps-card {
  text-align: left;
  background: rgba(2, 10, 22, 0.7);
  border: 1px solid rgba(71, 196, 242, 0.25);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
}

.conf-next-steps-card h4 {
  font-family: var(--font-heading, sans-serif);
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.conf-next-steps-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.conf-next-steps-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
}

.conf-next-steps-card li strong {
  color: #FFFFFF;
}

.conf-next-steps-card .step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #47C4F2;
  box-shadow: 0 0 8px #47C4F2;
  margin-top: 6px;
  flex-shrink: 0;
}

.conf-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   10 — RESPONSIVE ADAPTATIONS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .quote-card-shell {
    padding: 2.75rem 2.25rem;
  }

  .services-selection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .quote-experience-wrapper {
    padding: 7rem 0 4rem 0;
  }

  .quote-hero-header {
    margin-bottom: 2.25rem;
  }

  .quote-stepper-wrap {
    margin-bottom: 2.5rem;
    padding: 0;
  }

  .quote-stepper-track {
    top: 20px;
    left: 20px;
    right: 20px;
  }

  .step-circle {
    width: 40px;
    height: 40px;
  }

  .step-num {
    font-size: 12px;
  }

  .step-label {
    font-size: 11.5px;
  }

  .quote-card-shell {
    padding: 2rem 1.5rem;
    border-radius: 18px;
  }

  .services-selection-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .service-select-card {
    min-height: auto;
    padding: 1.5rem;
  }

  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .review-contact-details {
    grid-template-columns: 1fr;
  }

  .step-footer-actions {
    flex-direction: column-reverse;
    gap: 0.85rem;
  }

  .step-footer-actions .btn {
    width: 100%;
  }

  .conf-actions-row {
    flex-direction: column;
    gap: 0.85rem;
  }

  .conf-actions-row .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .quote-container {
    padding: 0 1rem;
  }

  .step-label {
    display: none; /* Keep clean circle stepper on small phones */
  }

  .quote-card-shell {
    padding: 1.5rem 1.15rem;
  }

  .question-block {
    padding: 1.35rem 1.15rem;
  }

  .choice-pill .pill-content {
    width: 100%;
    padding: 0.65rem 1rem;
  }

  .choices-grid-pills {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .choice-pill {
    width: 100%;
  }

  .review-section-card {
    padding: 1.25rem 1.15rem;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .quote-progress-bar,
  .service-select-card,
  .step-circle,
  .quote-step-pane,
  .btn,
  .btn-arrow {
    transition: none !important;
    animation: none !important;
  }
}
