:root {
  --primary: #0b3a6a;
  --primary-dark: #082947;
  --text: #111827;
  --muted: #6b7280;
  --border: #d8e1ec;
  --bg: #f5f7fa;
  --white: #ffffff;
  --success: #0f766e;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 12px 40px rgba(15, 23, 42, 0.06);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
  --transition: 0.2s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(to bottom, #ffffff, #f5f7fa);
  line-height: 1.55;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 20px 60px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border-bottom: 1px solid rgba(216, 225, 236, 0.8);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(11, 58, 106, 0.06), transparent 35%),
    radial-gradient(circle at top left, rgba(11, 58, 106, 0.04), transparent 30%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.logo {
  width: 84px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-text {
  max-width: 680px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.hero-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* TRUST BAR */
.trust-bar {
  padding: 26px 20px 8px;
}

.trust-card {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
}

.trust-card h2,
.trust-card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.trust-card p {
  margin: 6px 0;
  color: var(--text);
}

.trust-card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.trust-card a:hover {
  text-decoration: underline;
}

/* MAIN LAYOUT */
.main-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 60px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
}

/* WIZARD */
.wizard-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  padding: 28px;
}

.progress-wrap {
  margin-bottom: 26px;
}

.progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: #edf2f7;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 12.5%;
  background: linear-gradient(90deg, var(--primary), #2d6fb1);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.wizard-step h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.sub-text {
  margin: 0 0 20px;
  color: var(--muted);
}

/* OPTION GRID */
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.option-card {
  width: 100%;
  min-height: 66px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text);
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.option-card:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.option-card.full {
  grid-column: 1 / -1;
}

/* FIELDS */
.dynamic-fields,
.checkbox-list {
  display: grid;
  gap: 12px;
}

label {
  font-weight: 600;
  color: var(--text);
  margin-top: 4px;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text);
  font: inherit;
  transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 58, 106, 0.12);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.hidden {
  display: none !important;
}

.top-space {
  margin-top: 16px;
}

/* ESTIMATE / SUMMARY */
.estimate-preview,
.summary-box,
.price-box,
.deposit-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fbfcfe;
}

.estimate-preview {
  color: var(--text);
}

.summary-box,
.price-box {
  line-height: 1.7;
}

.deposit-note {
  color: var(--muted);
}

/* CHECKBOX LIST */
.checkbox-list label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  font-weight: 500;
}

.checkbox-list input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ACTIONS */
.actions {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.back-btn,
.next-btn,
.pay-btn {
  appearance: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.back-btn,
.next-btn {
  min-width: 130px;
  padding: 14px 18px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
}

.back-btn {
  background: #eef2f7;
  color: var(--text);
}

.back-btn:hover {
  background: #e3eaf2;
}

.next-btn {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.next-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.next-btn:disabled,
.back-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* SUCCESS / PAYMENT */
.payment-section {
  margin-top: 18px;
  padding-top: 10px;
}

.payment-section h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--text);
}

.pay-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.pay-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* SIDE CARD */
.side-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  padding: 24px;
  position: sticky;
  top: 20px;
}

.side-card h2,
.side-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.side-card p {
  margin-top: 0;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.tags span {
  display: inline-block;
  padding: 9px 12px;
  background: #f3f7fb;
  border: 1px solid #d9e5f2;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

.review-box {
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: #fafbfd;
  border: 1px solid var(--border);
}

.review-box p {
  margin-bottom: 8px;
  color: var(--text);
  font-style: italic;
}

.review-box strong {
  color: var(--primary);
  font-size: 0.95rem;
}

/* UTILITY */
a {
  color: inherit;
}

img {
  max-width: 100%;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .main-wrap {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 56px 16px 44px;
  }

  .main-wrap {
    padding: 20px 16px 40px;
  }

  .wizard-card,
  .side-card,
  .trust-card {
    padding: 20px;
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
  }

  .back-btn,
  .next-btn {
    width: 100%;
  }

  .progress-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
.consent-check {
  color: #374151;
  line-height: 1.6;
}

.consent-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  vertical-align: middle;
}

.consent-check a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.consent-check a:hover {
  text-decoration: underline;
}

.payment-choice-box {
  background: #f8fafc;
  border: 1px solid #d8e1ec;
  border-radius: 12px;
  padding: 14px 16px;
}

.payment-choice-box label {
  color: #374151;
  line-height: 1.6;
  cursor: pointer;
}

.payment-choice-box input[type="radio"] {
  margin-right: 10px;
}

.payment-result-section {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px 70px;
}

.payment-result-section.hidden {
  display: none;
}

.payment-result-card {
  background: #ffffff;
  border: 1px solid #d8e1ec;
  border-radius: 22px;
  padding: 34px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.payment-result-logo {
  width: 82px;
  height: auto;
  margin-bottom: 18px;
}

.payment-result-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #eaf7ef;
  color: #16803c;
  font-size: 38px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-result-card h2 {
  color: #111827;
  font-size: 30px;
  margin-bottom: 12px;
}

.payment-result-message {
  color: #4b5563;
  font-size: 17px;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 22px;
}

.payment-result-details {
  background: #f8fafc;
  border: 1px solid #d8e1ec;
  border-radius: 16px;
  padding: 18px;
  text-align: left;
  margin: 22px auto;
  max-width: 650px;
  color: #374151;
  line-height: 1.8;
}

.payment-result-next {
  text-align: left;
  max-width: 650px;
  margin: 22px auto;
  background: #ffffff;
  border: 1px solid #e5edf5;
  border-radius: 16px;
  padding: 18px;
}

.payment-result-next h3 {
  margin-top: 0;
  color: #111827;
}

.payment-result-next ul {
  margin-bottom: 0;
  padding-left: 22px;
  color: #374151;
  line-height: 1.8;
}

.payment-result-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}

.payment-result-actions a {
  text-decoration: none;
  display: inline-block;
}

.payment-result-support {
  margin-top: 22px;
  color: #6b7280;
  font-size: 14px;
}

.payment-result-support a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.payment-result-support a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .payment-result-card {
    padding: 24px 18px;
  }

  .payment-result-card h2 {
    font-size: 24px;
  }

  .payment-result-actions {
    flex-direction: column;
  }

  .payment-result-actions .next-btn,
  .payment-result-actions .back-btn {
    width: 100%;
    text-align: center;
  }
}