.estimate-page { background: #fcfaf7; }

.estimate-hero {
  padding: 24px 0 48px;
  background:
    radial-gradient(circle at top left, rgba(31, 111, 139, 0.14), transparent 34%),
    linear-gradient(180deg, #fcfaf7 0%, #edf3f7 100%);
}

.estimate-hero__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
  gap: 22px;
}

.estimate-hero__copy,
.estimate-hero__aside {
  padding: 36px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.estimate-hero__eyebrow,
.estimate-hero__aside-label,
.estimate-side__label,
.estimate-complete__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: #D7250C;
  font-weight: 700;
  text-transform: uppercase;
}

.estimate-hero__copy h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.2;
}

.estimate-hero__lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.95;
}

.estimate-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.estimate-hero__chips span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d7e4ea;
  color: #34515c;
  font-weight: 600;
  font-size: 14px;
}

.estimate-hero__points {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  line-height: 1.8;
}

.estimate-hero__points a {
  color: var(--accent);
  font-weight: 700;
}

.estimate-form-section {
  padding: 12px 0 88px;
}

.estimate-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.estimate-step {
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.estimate-step.is-active {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
}

.estimate-step.is-done {
  background: #eaf3f6;
  color: #335461;
}

.estimate-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.estimate-main {
  min-width: 0;
}

.estimate-panel,
.estimate-side__card {
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.estimate-panel__head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.estimate-panel__head h2 {
  margin: 0;
  font-size: clamp(28px, 2.8vw, 40px);
}

.estimate-panel__head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.estimate-form {
  display: grid;
  gap: 22px;
}

.estimate-fieldset {
  margin: 0;
  padding: 22px;
  border: 1px solid #e8e2d9;
  border-radius: 20px;
  display: grid;
  gap: 18px;
}

.estimate-fieldset legend {
  padding: 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #5a4330;
}

.estimate-grid {
  display: grid;
  gap: 16px;
}

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

.estimate-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.estimate-field {
  display: grid;
  gap: 8px;
}

.estimate-field--full {
  grid-column: 1 / -1;
}

.estimate-field span {
  font-size: 14px;
  font-weight: 700;
  color: #514338;
}

.estimate-field em {
  font-style: normal;
  color: #D7250C;
}

.estimate-field input,
.estimate-field select,
.estimate-field textarea {
  width: 100%;
  border: 1px solid #d9d3cb;
  border-radius: 14px;
  background: #fff;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
}

.estimate-field textarea {
  resize: vertical;
}

.estimate-field input:focus,
.estimate-field select:focus,
.estimate-field textarea:focus {
  outline: 2px solid rgba(31, 111, 139, 0.18);
  border-color: var(--accent);
}

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

.estimate-check,
.estimate-radio {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #e7e0d7;
  background: #fbfaf8;
  line-height: 1.6;
}

.estimate-check input,
.estimate-radio input {
  margin-top: 3px;
}

.estimate-consent {
  display: grid;
  gap: 16px;
  padding: 8px 0 0;
}

.estimate-privacy {
  padding: 20px;
  border: 1px solid #e7e0d7;
  border-radius: 18px;
  background: #faf8f5;
  max-height: 280px;
  overflow: auto;
}

.estimate-privacy__meta {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
}

.estimate-privacy h3 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.5;
}

.estimate-privacy__section + .estimate-privacy__section {
  margin-top: 16px;
}

.estimate-privacy h4 {
  margin: 0 0 8px;
  font-size: 17px;
  color: #5a4330;
}

.estimate-privacy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.estimate-privacy > p + p,
.estimate-privacy > p + .estimate-privacy__section,
.estimate-privacy__section p + p {
  margin-top: 12px;
}

.estimate-privacy a {
  color: var(--accent);
  font-weight: 700;
}

.estimate-check--consent {
  background: transparent;
  padding: 0;
  border: 0;
}

.estimate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.estimate-summary {
  margin: 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: start;
}

.estimate-summary dt,
.estimate-summary dd {
  padding: 16px 0;
  border-bottom: 1px solid #eee7df;
}

.estimate-summary dt {
  font-weight: 700;
  color: #5a4330;
}

.estimate-summary dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  white-space: pre-wrap;
}

.estimate-complete {
  display: grid;
  gap: 14px;
}

.estimate-complete h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
}

.estimate-complete p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.estimate-side {
  display: grid;
  gap: 18px;
}

.estimate-side__list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  line-height: 1.8;
}


@media (max-width: 768px) {
  .estimate-hero__panel,
  .estimate-shell,
  .estimate-grid--2,
  .estimate-grid--3,
  .estimate-choice-grid,
  .estimate-radio-grid,
  .estimate-steps {
    grid-template-columns: 1fr;
  }

  .estimate-hero__copy,
  .estimate-hero__aside,
  .estimate-panel,
  .estimate-side__card,
  .estimate-fieldset {
    padding: 24px;
  }

  .estimate-summary {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
