/* quote.css — Step-by-step teklif formu */

/* ---- Adım göstergesi ---- */
.quote-steps {
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
}
.quote-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  flex: 0 0 auto;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--grey-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  color: var(--grey-500);
  background: var(--white);
  transition: all var(--transition);
}
.step-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey-500);
  transition: color var(--transition);
}
.quote-step.active .step-num {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}
.quote-step.active .step-label { color: var(--teal); }
.quote-step.done .step-num {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.quote-step.done .step-label { color: var(--navy); }
.step-line {
  flex: 1;
  height: 2px;
  background: var(--grey-200);
  margin: 0 .5rem;
  margin-bottom: 1.35rem;
  transition: background var(--transition);
}
.step-line.done { background: var(--navy); }

/* ---- Paneller ---- */
.quote-panel {
  display: none;
  animation: quoteSlideIn .35s ease;
}
.quote-panel.active { display: block; }

@keyframes quoteSlideIn {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}

.quote-panel-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--grey-200);
}
.quote-panel-title {
  font-size: clamp(var(--fs-xl), 2.5vw, var(--fs-2xl));
  color: var(--navy);
  margin-bottom: .5rem;
}
.quote-panel-desc {
  color: var(--grey-500);
  margin: 0;
  font-size: var(--fs-sm);
}

/* ---- Hizmet seçim grid ---- */
.service-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.service-select-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 1rem;
  border: 1.5px solid var(--grey-300);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}
.service-select-card:hover {
  border-color: var(--teal);
  background: var(--teal-pale);
}
.service-select-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.service-select-name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--navy);
  line-height: 1.3;
}
.service-select-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--grey-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: transparent;
  transition: all var(--transition);
  margin-left: .5rem;
}
.service-select-card.selected,
.service-select-card:has(input:checked) {
  border-color: var(--teal);
  background: var(--teal-pale);
}
.service-select-card.selected .service-select-check,
.service-select-card:has(input:checked) .service-select-check {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

/* ---- Bütçe grid ---- */
.budget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .875rem;
  margin-bottom: 1.5rem;
}
.budget-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border: 1.5px solid var(--grey-300);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}
.budget-card:hover {
  border-color: var(--teal);
  background: var(--teal-pale);
}
.budget-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.budget-label {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin-bottom: .25rem;
}
.budget-sub {
  font-size: var(--fs-xs);
  color: var(--grey-500);
}
.budget-check {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--grey-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all var(--transition);
}
.budget-card:has(input:checked) {
  border-color: var(--teal);
  background: var(--teal-pale);
}
.budget-card:has(input:checked) .budget-check {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

/* ---- Adım özeti ---- */
.quote-summary {
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.quote-summary-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: .5rem;
}
.summary-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--navy);
  color: var(--white);
  padding: .3rem .875rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: .06em;
}

/* ---- Nav butonlar ---- */
.quote-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--grey-200);
}

/* ---- Başarı ekranı ---- */
.quote-success-box {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--grey-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--grey-200);
}
.quote-success-icon {
  width: 72px;
  height: 72px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.quote-success-box h2 { color: var(--navy); margin-bottom: .75rem; }
.quote-success-box p  { color: var(--grey-500); max-width: 400px; margin: 0 auto; }

@media (max-width: 480px) {
  .service-select-grid { grid-template-columns: 1fr 1fr; }
  .budget-grid { grid-template-columns: 1fr 1fr; }
  .step-label  { display: none; }
}
