:root {
  --calc-bg: #0f1115;
  --calc-card: #171a1f;
  --calc-card-2: #1d2026;
  --calc-yellow: #ffd400;
  --calc-white: #ffffff;
  --calc-muted: #c9cdd3;
  --calc-line: rgba(255, 255, 255, 0.14);
}

.estimate-page {
  min-height: 100vh;
  color: var(--calc-white);
  background:
    linear-gradient(rgba(6, 7, 9, 0.92), rgba(6, 7, 9, 0.97)),
    url("assets/hero-roofing-project-crop.jpeg") center / cover fixed;
}

.estimate-page .estimate-shell {
  padding-top: 148px;
}

.calculator-icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.estimate-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(7, 8, 10, 0.97);
  border-bottom: 2px solid var(--calc-yellow);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}

.estimate-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.estimate-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border: 2px solid var(--calc-yellow);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(255, 212, 0, 0.2);
}

.estimate-brand strong,
.estimate-brand small {
  display: block;
  text-transform: uppercase;
}

.estimate-brand strong {
  font-size: 14px;
  font-weight: 900;
}

.estimate-brand small {
  color: var(--calc-yellow);
  font-size: 11px;
  font-weight: 900;
}

.estimate-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 900;
}

.estimate-header-actions > a:first-child {
  color: var(--calc-yellow);
}

.estimate-home {
  padding: 11px 16px;
  border: 1px solid rgba(255, 212, 0, 0.65);
  border-radius: 999px;
}

.estimate-shell {
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 82px);
  padding: clamp(24px, 4vw, 58px);
}

.estimate-wizard form {
  align-self: start;
  background:
    linear-gradient(145deg, rgba(255, 212, 0, 0.055), transparent 42%),
    rgba(15, 17, 21, 0.97);
  border: 1px solid rgba(255, 212, 0, 0.65);
  border-radius: 22px;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.48),
    0 0 28px rgba(255, 212, 0, 0.08);
}

.calculator-heading {
  max-width: 760px;
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 212, 0, 0.28);
}

.calculator-heading h1 {
  max-width: none;
  margin: 0 0 12px;
  color: var(--calc-white);
  font-family: "Oswald", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.95;
  text-shadow: none;
  text-transform: uppercase;
}

.calculator-heading > p:not(.wizard-kicker) {
  max-width: 680px;
  margin: 0;
  color: var(--calc-muted);
  font-size: 17px;
}

.calculator-heading > small {
  display: block;
  margin-top: 12px;
  color: rgba(201, 205, 211, 0.62);
  font-size: 12px;
  font-weight: 700;
}

.estimate-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 4vw, 54px);
}

.estimate-roof-symbol {
  position: relative;
  width: 92px;
  height: 50px;
  margin-bottom: 18px;
}

.estimate-roof-symbol > span {
  position: absolute;
  top: 7px;
  left: 18px;
  width: 58px;
  height: 36px;
  border-top: 7px solid var(--calc-yellow);
  border-left: 7px solid var(--calc-yellow);
  transform: rotate(45deg) skew(-8deg, -8deg);
}

.estimate-roof-symbol > i {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--calc-white);
}

.estimate-roof-symbol > i:nth-of-type(1) { left: 39px; bottom: 15px; }
.estimate-roof-symbol > i:nth-of-type(2) { left: 52px; bottom: 15px; }
.estimate-roof-symbol > i:nth-of-type(3) { left: 39px; bottom: 2px; }
.estimate-roof-symbol > i:nth-of-type(4) { left: 52px; bottom: 2px; }

.estimate-kicker,
.wizard-kicker {
  margin-bottom: 10px;
  color: var(--calc-yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.estimate-intro h1 {
  margin-bottom: 18px;
  color: var(--calc-white);
  font-size: clamp(46px, 5.5vw, 76px);
  line-height: 0.92;
  text-shadow: 0 5px 0 rgba(0, 0, 0, 0.42);
}

.estimate-lead {
  color: var(--calc-muted);
  font-size: 18px;
  font-weight: 700;
}

.how-it-works {
  margin-top: 38px;
}

.how-it-works h2 {
  margin-bottom: 18px;
  color: var(--calc-white);
  font-size: 25px;
  text-transform: uppercase;
}

.how-it-works article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid var(--calc-line);
}

.how-it-works article > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--calc-bg);
  background: var(--calc-yellow);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.how-it-works h3 {
  margin-bottom: 5px;
  font-size: 17px;
}

.how-it-works p {
  margin-bottom: 0;
  color: rgba(201, 205, 211, 0.76);
  font-size: 14px;
}

.estimate-trust {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
  border-left: 4px solid var(--calc-yellow);
  border-radius: 8px;
  font-size: 13px;
}

.estimate-trust a {
  margin-top: 6px;
  color: var(--calc-yellow);
  font-weight: 900;
}

.estimate-wizard {
  width: min(100%, 920px);
  align-self: start;
}

.estimate-wizard form {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 48px);
}

.wizard-progress {
  display: grid;
  grid-template-columns: 48px 1fr 38px;
  align-items: center;
  margin-bottom: 10px;
}

.wizard-progress span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--calc-muted);
  background: var(--calc-card-2);
  border: 1px solid var(--calc-line);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.wizard-progress span:first-child {
  width: 48px;
}

.wizard-progress span.is-active {
  color: var(--calc-bg);
  background: var(--calc-yellow);
  border-color: var(--calc-yellow);
  box-shadow: 0 0 18px rgba(255, 212, 0, 0.2);
}

.wizard-progress i {
  height: 2px;
  background: linear-gradient(90deg, var(--calc-yellow), rgba(255, 212, 0, 0.16));
}

.wizard-progress-text {
  margin-bottom: 30px;
  color: var(--calc-muted);
  font-size: 12px;
  text-align: right;
  text-transform: uppercase;
}

.wizard-step h2 {
  margin-bottom: 10px;
  color: var(--calc-white);
  font-family: "Oswald", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.wizard-step > p:not(.wizard-kicker) {
  color: var(--calc-muted);
}

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

.service-choice-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice-grid button {
  position: relative;
  display: grid;
  min-height: 164px;
  align-content: center;
  gap: 7px;
  padding: 20px;
  color: var(--calc-white);
  background: var(--calc-card);
  border: 2px solid var(--calc-line);
  border-radius: 10px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.choice-grid button:hover,
.choice-grid button.is-selected {
  border-color: var(--calc-yellow);
  box-shadow: 0 0 22px rgba(255, 212, 0, 0.15);
  transform: translateY(-2px);
}

.choice-grid button.is-selected {
  background: linear-gradient(145deg, rgba(255, 212, 0, 0.09), var(--calc-card));
  transform: translateY(-2px) scale(1.035);
}

.choice-grid strong {
  font-size: 17px;
}

.choice-grid small {
  color: rgba(201, 205, 211, 0.72);
}

.choice-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  color: var(--calc-yellow);
  background: rgba(255, 212, 0, 0.055);
  border: 1px solid rgba(255, 212, 0, 0.24);
  border-radius: 12px;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.choice-icon.choice-art {
  position: relative;
  width: 120px;
  height: 120px;
  overflow: hidden;
  padding: 0;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  background: #050505;
  border: 2px solid #ffd400;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(255, 212, 0, 0.35),
    0 0 18px rgba(255, 193, 7, 0.55);
}

.choice-icon.choice-art img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 106%;
  height: 106%;
  max-width: none;
  display: block;
  object-fit: contain;
  object-position: center center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.choice-grid .emergency-choice .choice-icon.choice-art {
  border-color: #ffd400;
  box-shadow:
    0 0 0 1px rgba(255, 212, 0, 0.35),
    0 0 18px rgba(255, 193, 7, 0.55);
}

.calculator-option {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center !important;
}

.calculator-option .choice-icon {
  flex-shrink: 0;
}

.choice-icon svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.choice-grid button:hover .choice-icon,
.choice-grid button.is-selected .choice-icon {
  background: rgba(255, 212, 0, 0.1);
  box-shadow: 0 0 20px rgba(255, 212, 0, 0.13);
  transform: scale(1.05);
}

.choice-check {
  position: absolute;
  top: 12px;
  right: 12px;
  display: none;
  width: 25px;
  height: 25px;
  place-items: center;
  color: var(--calc-bg);
  background: var(--calc-yellow);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.choice-grid button.is-selected .choice-check {
  display: grid;
}

.choice-grid .emergency-choice {
  border-color: rgba(227, 6, 19, 0.55);
}

.choice-grid .emergency-choice:hover {
  border-color: var(--red);
  box-shadow: 0 0 24px rgba(227, 6, 19, 0.2);
}

.choice-grid .emergency-choice .choice-icon {
  border-color: rgba(227, 6, 19, 0.62);
}

.emergency-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 900;
}

.combined-step-divider {
  height: 1px;
  margin: 38px 0 32px;
  background: linear-gradient(90deg, transparent, rgba(255, 212, 0, 0.7), transparent);
}

.combined-service-section > p:not(.wizard-kicker) {
  color: var(--calc-muted);
}

.project-fields,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.estimator-project-details {
  margin-bottom: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--calc-line);
}

.service-question,
.roof-detail-grid,
.project-description-field,
.service-detail-text {
  margin-top: 24px;
}

.service-question h3 {
  margin-bottom: 14px;
  color: var(--calc-yellow);
  font-size: 20px;
}

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

.detail-option-grid button {
  min-height: 54px;
  padding: 10px 12px;
  color: var(--calc-white);
  background: var(--calc-card);
  border: 1px solid var(--calc-line);
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.detail-option-grid button:hover,
.detail-option-grid button.is-selected {
  color: var(--calc-yellow);
  border-color: var(--calc-yellow);
  box-shadow: 0 0 16px rgba(255, 212, 0, 0.12);
  transform: translateY(-2px);
}

.field-error {
  margin: 10px 0 0;
  color: var(--calc-yellow);
  font-size: 13px;
  font-weight: 800;
}

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

.roof-detail-grid label,
.project-description-field,
.service-detail-text {
  display: grid;
  gap: 7px;
  color: var(--calc-white);
  font-size: 13px;
  font-weight: 900;
}

.roof-detail-grid input,
.roof-detail-grid select,
.project-description-field textarea,
.service-detail-text textarea,
.contact-grid select {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  color: var(--calc-white);
  background: var(--calc-card);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font: inherit;
}

.project-description-field textarea,
.service-detail-text textarea {
  resize: vertical;
}

.roof-detail-grid input:focus,
.roof-detail-grid select:focus,
.project-description-field textarea:focus,
.service-detail-text textarea:focus,
.contact-grid select:focus {
  outline: 2px solid var(--calc-yellow);
  border-color: transparent;
}

.roof-detail-grid option,
.contact-grid select option {
  background: var(--calc-card);
}

.slope-unsure {
  display: flex !important;
  min-height: 56px;
  align-items: center;
  gap: 12px !important;
  padding: 14px 16px;
  color: #f4f5f7;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 212, 0, 0.5);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.slope-unsure input {
  width: 20px;
  min-height: 20px;
  flex: 0 0 20px;
  accent-color: var(--calc-yellow);
}

.slope-unsure:hover,
.slope-unsure:has(input:checked) {
  color: var(--calc-yellow);
  background: rgba(255, 212, 0, 0.1);
  border-color: var(--calc-yellow);
  box-shadow: 0 0 20px rgba(255, 212, 0, 0.12);
}

.project-description-field small {
  color: var(--calc-muted);
  font-weight: 400;
  line-height: 1.5;
}

.project-description-heading {
  color: var(--calc-yellow);
  font-size: 18px;
  text-transform: uppercase;
}

.project-fields label,
.contact-grid label {
  display: grid;
  gap: 7px;
  color: var(--calc-white);
  font-size: 13px;
  font-weight: 900;
}

.field-wide {
  grid-column: 1 / -1;
}

.project-fields input,
.project-fields select,
.project-fields textarea,
.contact-grid input,
.contact-grid select,
.contact-grid textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  color: var(--calc-white);
  background: var(--calc-card);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font: inherit;
}

.project-fields textarea {
  resize: vertical;
}

.project-fields input:focus,
.project-fields select:focus,
.project-fields textarea:focus,
.contact-grid input:focus,
.contact-grid select:focus,
.contact-grid textarea:focus {
  outline: 2px solid var(--calc-yellow);
  border-color: transparent;
}

.project-fields select option {
  background: var(--calc-card);
}

.contact-grid textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-grid select option {
  background: var(--calc-card);
}

.upload-field {
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px dashed rgba(255, 212, 0, 0.45);
  border-radius: 8px;
}

.upload-field small {
  color: var(--calc-muted);
  font-weight: 400;
}

.contact-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--calc-line);
}

.result-price {
  display: inline-block;
  margin: 8px 0 26px;
  padding: 10px 20px;
  color: var(--calc-bg) !important;
  background: var(--calc-yellow);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(255, 212, 0, 0.2);
  font-family: Impact, "Arial Black", Arial, sans-serif;
  font-size: 38px;
  line-height: 1;
}

.result-included {
  padding: clamp(22px, 3vw, 30px);
  background: var(--calc-card);
  border: 1px solid rgba(255, 212, 0, 0.35);
  border-left: 5px solid var(--calc-yellow);
  border-radius: 10px;
}

.result-included h3,
.result-quote h3 {
  margin-bottom: 12px;
  color: var(--calc-yellow);
  font-size: 20px;
  text-transform: uppercase;
}

.result-included p {
  margin: 0;
  color: var(--calc-muted);
  line-height: 1.75;
}

.result-included p + p {
  margin-top: 16px;
}

.result-quote {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--calc-line);
}

.result-quote textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px 13px;
  color: var(--calc-white);
  background: var(--calc-card);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font: inherit;
  resize: vertical;
}

.result-quote textarea:focus {
  outline: 2px solid var(--calc-yellow);
  border-color: transparent;
}

.result-submit {
  margin-top: 22px;
}

.result-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.result-contact a {
  display: grid;
  gap: 4px;
  padding: 16px;
  color: var(--calc-white);
  background: var(--calc-card);
  border: 1px solid var(--calc-line);
  border-radius: 8px;
  font-weight: 800;
}

.result-contact span {
  color: var(--calc-yellow);
  font-size: 11px;
  text-transform: uppercase;
}

.inline-submit-message {
  margin-top: 28px;
  padding: 22px;
  color: var(--calc-white);
  background: var(--calc-card);
  border: 1px solid var(--calc-line);
  border-radius: 10px;
}

.inline-submit-message.is-success {
  background: rgba(255, 212, 0, 0.08);
  border-color: var(--calc-yellow);
  box-shadow: 0 0 24px rgba(255, 212, 0, 0.12);
}

.inline-submit-message.is-error {
  border-color: #d71920;
}

.inline-submit-message strong {
  display: block;
  margin-bottom: 8px;
  color: var(--calc-yellow);
  font-size: 24px;
}

.inline-submit-message.is-error strong {
  color: #ff5c62;
}

.inline-submit-message p {
  margin: 0;
  color: var(--calc-white);
}

.replacement-question {
  margin-top: 30px;
}

.replacement-question h3 {
  margin-bottom: 12px;
  color: var(--calc-yellow);
  font-size: 20px;
}

.replacement-question > input[type="number"] {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  color: var(--calc-white);
  background: var(--calc-card);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font: inherit;
}

.replacement-question > input[type="number"]:focus {
  outline: 2px solid var(--calc-yellow);
  border-color: transparent;
}

.replacement-question > small {
  display: block;
  margin-top: 8px;
  color: var(--calc-muted);
}

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

.slope-card-grid button {
  position: relative;
  display: grid;
  min-height: 150px;
  place-items: center;
  gap: 8px;
  padding: 16px;
  color: var(--calc-white);
  background: var(--calc-card);
  border: 2px solid var(--calc-line);
  border-radius: 10px;
  font: inherit;
  cursor: pointer;
  transition: all 0.22s ease;
}

.slope-card-grid button:hover,
.slope-card-grid button.is-selected {
  border-color: var(--calc-yellow);
  box-shadow: 0 0 22px rgba(255, 212, 0, 0.16);
  transform: translateY(-3px);
}

.slope-card-grid button.is-selected {
  background: linear-gradient(145deg, rgba(255, 212, 0, 0.09), var(--calc-card));
  transform: translateY(-3px) scale(1.03);
}

.slope-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: var(--calc-yellow);
}

.slope-icon svg {
  width: 68px;
  height: 68px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slope-card-grid .choice-check {
  display: none;
}

.slope-card-grid button.is-selected .choice-check {
  display: grid;
}

.replacement-details .slope-unsure {
  margin-top: 18px;
}

.contact-section h3 {
  color: var(--calc-yellow);
  font-size: 22px;
}

.contact-method {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding: 0;
  border: 0;
}

.contact-method legend {
  width: 100%;
  margin-bottom: 9px;
  color: var(--calc-white);
  font-size: 13px;
  font-weight: 900;
}

.contact-method label {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  background: var(--calc-card);
  border: 1px solid var(--calc-line);
  border-radius: 999px;
  cursor: pointer;
}

.contact-method input {
  accent-color: var(--calc-yellow);
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--calc-line);
}

.wizard-actions button,
.estimate-submit {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.wizard-back {
  color: var(--calc-white);
  background: var(--calc-card-2);
  border: 1px solid var(--calc-line);
}

.wizard-next,
.estimate-submit {
  margin-left: auto;
  color: var(--calc-bg);
  background: var(--calc-yellow);
  border: 1px solid #ffe77a;
  box-shadow: 0 10px 28px rgba(255, 212, 0, 0.16);
}

.wizard-next:hover,
.estimate-submit:hover {
  transform: translateY(-4px);
  filter: brightness(1.06);
  box-shadow: 0 15px 34px rgba(255, 212, 0, 0.28);
}

.wizard-next:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
  filter: none;
}

.summary-step > p:not(.wizard-kicker) {
  margin-bottom: 24px;
}

.estimate-summary {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.estimate-summary > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) 1fr;
  gap: 14px;
  padding: 13px 15px;
  background: var(--calc-card);
  border: 1px solid var(--calc-line);
  border-radius: 8px;
}

.estimate-summary dt {
  color: var(--calc-yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.estimate-summary dd {
  margin: 0;
  color: var(--calc-white);
}

.estimate-submit {
  width: 100%;
  justify-content: center;
}

.summary-contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.summary-contact-actions a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--calc-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.summary-contact-actions a:last-child {
  border-color: rgba(255, 212, 0, 0.55);
}

.estimate-status {
  margin: 12px 0 0;
  color: var(--calc-muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .estimate-shell {
    padding: 24px;
  }

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

@media (max-width: 650px) {
  .estimate-header {
    padding: 10px 14px;
  }

  .estimate-header-actions > a:first-child {
    display: none;
  }

  .estimate-home {
    padding: 9px 12px;
    font-size: 11px;
  }

  .estimate-shell {
    padding: 14px;
  }

  .estimate-wizard form {
    padding: 28px 16px;
  }

  .choice-grid,
  .service-choice-grid,
  .project-fields,
  .contact-grid,
  .roof-detail-grid,
  .detail-option-grid,
  .slope-card-grid,
  .result-contact,
  .summary-contact-actions {
    grid-template-columns: 1fr;
  }

  .field-wide {
    grid-column: auto;
  }

  .choice-grid button {
    min-height: 148px;
  }

  .choice-icon.choice-art {
    width: 96px;
    height: 96px;
  }

  .estimate-summary > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
