:root {
      --page-bg: #FAF9F6;
      --card-bg: #FFFFFF;
      --ink: #444444;
      --heading: #4C5C68;
      --muted: #5A5E62;
      --line: #D7D8CB;
      --primary: #FF9A8A;
      --primary-dark: #E68172;
      --primary-soft: #F7D9C4;
      --accent: #8AAAE5;
      --accent-soft: #C8D4E3;
      --beige-dark: #E6B8A2;
      --success: #4F7A67;
      --danger: #A34B53;
      --shadow: 0 18px 50px rgba(76, 92, 104, 0.10);
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      min-height: 100vh;
      background: var(--page-bg);
      color: var(--ink);
      font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.5;
    }

    .page {
      min-height: 100vh;
      padding: 44px 18px 30px;
    }

    .hero {
      width: min(900px, 100%);
      margin: 0 auto 26px;
      text-align: center;
    }

    .eyebrow {
      margin: 0 0 10px;
      color: var(--primary-dark);
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.15em;
      text-transform: uppercase;
    }

    h1 {
      margin: 0;
      color: var(--heading);
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(2.2rem, 5vw, 4rem);
      line-height: 1.05;
      letter-spacing: -0.035em;
    }

    .intro {
      width: min(720px, 100%);
      margin: 18px auto 0;
      color: var(--muted);
      font-size: 1.05rem;
    }

    .chips {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 20px;
    }

    .chip {
      padding: 8px 13px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: rgba(255,255,255,0.78);
      color: var(--muted);
      font-size: 0.88rem;
    }

    .form-shell {
      width: min(900px, 100%);
      margin: 0 auto;
    }

    .form-card {
      overflow: hidden;
      border: 1px solid rgba(76, 92, 104, 0.14);
      border-radius: 26px;
      background: var(--card-bg);
      box-shadow: var(--shadow);
    }

    .form-top {
      padding: 24px 28px 18px;
      border-bottom: 1px solid var(--line);
      background: linear-gradient(135deg, #ffffff, #fffaf8);
    }

    .progress-meta {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 10px;
      color: var(--muted);
      font-size: 0.88rem;
    }

    .progress-track {
      height: 8px;
      overflow: hidden;
      border-radius: 999px;
      background: var(--accent-soft);
    }

    .progress-bar {
      width: 20%;
      height: 100%;
      border-radius: inherit;
      background: var(--primary);
      transition: width 220ms ease;
    }

    .step {
      display: none;
      padding: 32px 28px 10px;
      animation: fadeIn 180ms ease;
    }

    .step.active { display: block; }

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

    .step h2 {
      margin: 0 0 6px;
      color: var(--heading);
      font-family: Georgia, "Times New Roman", serif;
      font-size: 1.85rem;
      line-height: 1.2;
    }

    .step-lead {
      margin: 0 0 26px;
      color: var(--muted);
    }

    .field { margin-bottom: 22px; }

    label, legend {
      display: block;
      margin-bottom: 8px;
      color: var(--heading);
      font-size: 0.98rem;
      font-weight: 760;
    }

    .required::after {
      content: " *";
      color: var(--danger);
    }

    .help {
      margin: -3px 0 9px;
      color: var(--muted);
      font-size: 0.88rem;
    }

    input, textarea, select {
      width: 100%;
      padding: 13px 14px;
      border: 1px solid var(--line);
      border-radius: 12px;
      outline: none;
      background: #fff;
      color: var(--ink);
      font: inherit;
      transition: border-color 140ms ease, box-shadow 140ms ease;
    }

    textarea {
      min-height: 128px;
      resize: vertical;
    }

    input:focus, textarea:focus, select:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 4px rgba(138, 170, 229, 0.18);
    }

    .estimator-wrap {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 22px;
      align-items: start;
    }

    .estimate-panel {
      padding: 22px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: linear-gradient(180deg, #fff, #fffaf8);
    }

    .estimate-title {
      margin: 0 0 6px;
      color: var(--heading);
      font-family: Georgia, "Times New Roman", serif;
      font-size: 1.35rem;
    }

    .estimate-note {
      margin: 0 0 18px;
      color: var(--muted);
      font-size: 0.9rem;
    }

    .estimate-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0,1fr));
      gap: 12px;
    }

    .estimate-card {
      min-height: 114px;
      padding: 16px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #fff;
    }

    .estimate-card.highlight {
      border-color: var(--primary);
      background: var(--primary-soft);
    }

    .estimate-label {
      color: var(--muted);
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.07em;
      text-transform: uppercase;
    }

    .estimate-value {
      margin-top: 8px;
      color: var(--heading);
      font-family: Georgia, "Times New Roman", serif;
      font-size: 1.65rem;
      font-weight: 700;
    }

    .estimate-sub {
      margin-top: 5px;
      color: var(--muted);
      font-size: 0.82rem;
    }

    .calendar-note {
      margin-top: 14px;
      padding: 12px 14px;
      border-left: 4px solid var(--accent);
      border-radius: 10px;
      background: #f5f8fd;
      color: var(--muted);
      font-size: 0.88rem;
    }

    .choice-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0,1fr));
      gap: 10px;
    }

    .choice-card { position: relative; }

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

    .choice-card span {
      display: flex;
      align-items: center;
      min-height: 54px;
      padding: 12px 14px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
      cursor: pointer;
      transition: all 140ms ease;
    }

    .choice-card input:checked + span {
      border-color: var(--primary);
      background: var(--primary-soft);
      box-shadow: inset 0 0 0 1px var(--primary);
    }

    .choice-card span::before {
      content: "";
      flex: 0 0 18px;
      width: 18px;
      height: 18px;
      margin-right: 10px;
      border: 2px solid #b8bdc1;
      border-radius: 50%;
      background: #fff;
    }

    .choice-card input:checked + span::before {
      border: 5px solid var(--primary);
    }

    .review-list {
      display: grid;
      gap: 12px;
      margin: 8px 0 18px;
    }

    .review-item {
      padding: 15px 16px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fcfbf9;
    }

    .review-label {
      color: var(--accent);
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.07em;
      text-transform: uppercase;
    }

    .review-value {
      margin-top: 4px;
      white-space: pre-wrap;
    }

    .form-actions {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      padding: 20px 28px 28px;
    }

    button {
      padding: 13px 20px;
      border: 0;
      border-radius: 999px;
      font: inherit;
      font-weight: 800;
      cursor: pointer;
      transition: transform 120ms ease, background 120ms ease;
    }

    button:hover { transform: translateY(-1px); }

    .secondary {
      background: var(--accent-soft);
      color: var(--heading);
    }

    .primary {
      margin-left: auto;
      background: var(--primary);
      color: #fff;
    }

    .primary:hover { background: var(--primary-dark); }

    .error-message {
      display: none;
      margin: 18px 28px 0;
      padding: 11px 13px;
      border-radius: 10px;
      background: #fff1f2;
      color: var(--danger);
      font-size: 0.9rem;
    }

    .success-panel {
      display: none;
      padding: 46px 30px;
      text-align: center;
    }

    .success-icon {
      display: grid;
      place-items: center;
      width: 62px;
      height: 62px;
      margin: 0 auto 18px;
      border-radius: 50%;
      background: #e7f3ed;
      color: var(--success);
      font-size: 1.8rem;
      font-weight: 900;
    }

    .success-panel h2 {
      margin: 0 0 10px;
      color: var(--heading);
      font-family: Georgia, "Times New Roman", serif;
      font-size: 2rem;
    }

    .success-panel p {
      width: min(560px,100%);
      margin: 0 auto;
      color: var(--muted);
    }

    .privacy-note {
      margin: 14px 4px 0;
      text-align: center;
      color: var(--muted);
      font-size: 0.82rem;
    }

    .footer {
      width: min(900px,100%);
      margin: 22px auto 0;
      text-align: center;
      color: var(--muted);
      font-size: 0.82rem;
    }

    @media (max-width: 760px) {
      .estimator-wrap { grid-template-columns: 1fr; }
    }

    @media (max-width: 650px) {
      .page { padding: 30px 12px 22px; }
      .choice-grid, .estimate-grid { grid-template-columns: 1fr; }
      .form-top, .step, .form-actions { padding-left: 18px; padding-right: 18px; }
      .form-actions button { flex: 1; }
      .progress-meta { align-items: flex-start; }
    }