:root {
      --bg-page: #f5f5f7;
      --bg-card: #ffffff;
      --primary: #2563eb;
      --primary-soft: #dbeafe;
      --accent: #22c55e;
      --text-main: #082f49;
      --text-muted: #6b7280;
      --border-subtle: #d1d5db;
      --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.14);
    }

    * {
      box-sizing: border-box;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    body {
      margin: 0;
      padding: 0;
      background: radial-gradient(circle at top left, #dbeafe 0, #f5f5f7 45%, #f9fafb 100%);
      color: var(--text-main);
    }

    a {
      color: var(--primary);
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }

    .page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* ===== UPDATED HEADER (matches homepage style) ===== */
    header {
      padding: 10px 24px;
      background: rgba(10, 22, 40, 0.95);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: 0 2px 10px rgba(0,0,0,0.35);
      border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .header-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .logo-wrap {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }

    .logo-img {
      height: 40px;           /* adjust if you want it taller/shorter */
      width: auto;
      display: block;
    }

    .logo-text {
      display: flex;
      flex-direction: column;
    }

    .logo-text span.name {
      font-weight: 700;
      font-size: 1rem;
      letter-spacing: -0.02em;
      color: #ffffff;
    }

    .logo-text span.tagline {
      font-size: 0.75rem;
      color: rgba(226, 232, 240, 0.9);
    }

    .header-phone {
      font-size: 0.85rem;
      text-align: right;
      color: #e5e7eb;
    }

    .header-phone div:first-child {
      opacity: 0.9;
    }

    .header-phone strong a {
      color: #22c55e;
      text-decoration: none;
      font-size: 0.95rem;
    }

    .header-phone strong a:hover {
      text-decoration: underline;
    }

    /* ====== MAIN LAYOUT / HERO / FORM (unchanged) ====== */

    main {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px 16px 40px;
    }

    .layout {
      display: grid;
      grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
      gap: 32px;
      max-width: 1100px;
      width: 100%;
      align-items: stretch;
    }

    .hero {
      padding: 8px 8px 8px 0;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px;
      border-radius: 999px;
      background: rgba(37, 99, 235, 0.08);
      color: #1d4ed8;
      font-size: 0.76rem;
      font-weight: 600;
      margin-bottom: 14px;
    }

    .badge span.icon {
      font-size: 0.9rem;
    }

    .hero-title {
      font-size: clamp(1.9rem, 3vw, 2.4rem);
      line-height: 1.1;
      margin: 0 0 10px;
      letter-spacing: -0.03em;
    }

    .hero-subtitle {
      font-size: 0.96rem;
      color: var(--text-muted);
      max-width: 520px;
      margin-bottom: 16px;
    }

    .hero-highlight {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 18px;
    }

    .highlight-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 11px;
      border-radius: 999px;
      border: 1px dashed rgba(34, 197, 94, 0.5);
      font-size: 0.8rem;
      background: rgba(16, 185, 129, 0.05);
    }

    .hero-list {
      list-style: none;
      padding: 0;
      margin: 0 0 18px;
      font-size: 0.9rem;
      color: var(--text-main);
    }

    .hero-list li {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      margin-bottom: 8px;
    }

    .hero-list li span.check {
      margin-top: 2px;
      font-size: 0.9rem;
    }

    .hero-footer {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
      align-items: center;
      margin-top: 10px;
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .hero-metric {
      display: flex;
      flex-direction: column;
      gap: 2px;
      padding-left: 10px;
      border-left: 2px solid rgba(37, 99, 235, 0.35);
    }

    .hero-metric strong {
      font-size: 0.95rem;
      color: var(--text-main);
    }

    .form-wrapper {
      background: var(--bg-card);
      border-radius: 16px;
      padding: 26px 24px 24px;
      box-shadow: var(--shadow-soft);
      border: 1px solid rgba(148, 163, 184, 0.2);
    }

    .form-header {
      margin-bottom: 14px;
    }

    .form-title {
      font-size: 1.25rem;
      font-weight: 600;
      margin: 0;
    }

    .form-subtitle {
      font-size: 0.86rem;
      color: var(--text-muted);
      margin: 4px 0 0;
    }

    .lock-note {
      display: flex;
      align-items: center;
      font-size: 0.78rem;
      color: var(--text-muted);
      gap: 6px;
      margin-bottom: 16px;
    }

    .lock-icon {
      width: 16px;
      height: 16px;
      border-radius: 50%;
      border: 1px solid #9ca3af;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
    }

    .progress {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 18px;
    }

    .progress-bar {
      flex: 1;
      height: 6px;
      border-radius: 999px;
      background: #e5e7eb;
      overflow: hidden;
    }

    .progress-bar-fill {
      height: 100%;
      width: 0%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      transition: width 0.25s ease;
    }

    .progress-steps {
      font-size: 0.78rem;
      color: var(--text-muted);
      white-space: nowrap;
    }

    .form-step {
      display: none;
      animation: fadeIn 0.2s ease-out;
    }

    .form-step.active {
      display: block;
    }

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

    .step-heading {
      font-size: 1.05rem;
      font-weight: 600;
      margin-bottom: 12px;
      color: var(--text-main);
    }

    .field-group {
      margin-bottom: 12px;
    }

    label {
      display: block;
      font-size: 0.82rem;
      color: #374151;
      margin-bottom: 4px;
      font-weight: 500;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"] {
      width: 100%;
      border-radius: 10px;
      border: 1px solid var(--border-subtle);
      padding: 9px 11px;
      font-size: 0.9rem;
      transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }

    input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15);
    }

    .radio-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-bottom: 6px;
    }

    .radio-card {
      border-radius: 12px;
      border: 1px solid var(--border-subtle);
      padding: 10px 12px;
      font-size: 0.86rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
      background: #fff;
    }

    .radio-card input {
      margin: 0;
    }

    .radio-card.active {
      border-color: var(--primary);
      background: var(--primary-soft);
      box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.24);
    }

    .radio-label-main {
      font-weight: 500;
      color: var(--text-main);
    }

    .button-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      margin-top: 16px;
    }

    .btn {
      border: none;
      border-radius: 999px;
      padding: 9px 18px;
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      white-space: nowrap;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary), var(--accent));
      color: #ffffff;
    }

    .btn-primary:disabled {
      opacity: 0.55;
      cursor: not-allowed;
    }

    .btn-secondary {
      background: transparent;
      color: #4b5563;
      border: 1px solid var(--border-subtle);
    }

    .btn-link {
      background: none;
      border: none;
      padding-left: 0;
      padding-right: 0;
      color: var(--text-muted);
      font-size: 0.78rem;
      text-decoration: underline;
      cursor: pointer;
    }

    .consent-text {
      font-size: 0.72rem;
      color: var(--text-muted);
      max-height: 120px;
      overflow-y: auto;
      padding-right: 4px;
      line-height: 1.35;
      margin-top: 6px;
    }

    .consent-wrapper {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      margin-top: 6px;
    }

    .consent-wrapper input {
      margin-top: 3px;
    }

    .error-text {
      font-size: 0.74rem;
      color: #dc2626;
      margin-top: 4px;
      display: none;
    }

    .error-text.show {
      display: block;
    }

    footer {
      padding: 12px 24px 20px;
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .footer-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }

    @media (max-width: 900px) {
      .layout {
        grid-template-columns: 1fr;
        max-width: 640px;
      }
      main {
        padding-top: 10px;
      }
    }

    @media (max-width: 480px) {
      header {
        padding-inline: 14px;
      }
      .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
      }
      .header-phone {
        text-align: left;
      }
      main {
        padding: 10px 10px 30px;
      }
      .form-wrapper {
        border-radius: 14px;
        padding: 22px 18px;
      }
      .radio-grid {
        grid-template-columns: 1fr;
      }
    }
.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  padding: 15px;
}

.form-status.success {
  color: #14532d; /* green */
  background: #c5eed5;
}

.form-status.error {
  color: #b91c1c; /* red */
  background: #ffe5e5;
}