.process,
.lead-layout {
  padding-block: clamp(4.5rem, 9vw, 9rem);
}

.offer h2,
.process h2,
.lead-intro h2 {
  margin: .2em 0 0;
  font-size: clamp(2.15rem, 5.1vw, 4.75rem);
  line-height: .99;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.process-content > p,
.lead-intro > p {
  max-width: 36ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.offer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(112deg, #ff8c53, #ff733c 58%, #ff6931);
  color: #1b1411;
}

.offer::before {
  position: absolute;
  z-index: -1;
  right: -7rem;
  bottom: -11rem;
  width: 33rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 35px, #291b161b 36px 37px);
  content: "";
  pointer-events: none;
}

.offer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.6rem 3rem;
  padding-block: clamp(2.7rem, 5.4vw, 5rem);
}

.offer .eyebrow {
  color: #482015;
}

.offer h2 {
  max-width: 20ch;
}

.offer p {
  max-width: 57ch;
  margin: .8rem 0 0;
  line-height: 1.55;
}

.offer .button {
  color: #faf5ee;
  background: #211a16;
  border-color: #211a16;
}

.offer .button:hover {
  color: #faf5ee;
  background: #3f2b21;
  border-color: #3f2b21;
}

.offer .button:focus-visible {
  outline-color: #211a16;
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.process-photo {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 1.125rem;
  background: #202427;
}

.process-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1.04;
  object-fit: cover;
  object-position: center;
}

.process-list {
  display: grid;
  margin: clamp(1.4rem, 3vw, 2.6rem) 0 1.6rem;
}

.process-list > div {
  padding: .9rem 0 1rem 1.05rem;
  border-top: 1px solid #ffffff26;
}

.process-list > div::before {
  content: "";
  float: left;
  width: .36rem;
  height: .36rem;
  margin: .58rem 0 0 -1rem;
  background: var(--accent);
}

.process-list h3 {
  margin: 0;
  font-size: 1.04rem;
}

.process-list p {
  margin: .35rem 0 0;
  color: var(--muted);
  line-height: 1.48;
}

.lead-section {
  background: var(--warm);
  color: #201b18;
  color-scheme: light;
}

.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}

.lead-intro .eyebrow {
  color: #94371c;
}

.lead-intro > p {
  margin-top: 1.1rem;
  color: #5b5148;
}

.lead-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 1rem;
  color: #632513;
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-thickness: .07em;
  text-underline-offset: .18em;
}

.lead-panel {
  min-width: 0;
  padding: clamp(1.05rem, 3.4vw, 2.45rem);
  background: #fffaf1;
  border: 1px solid #cfc3b3;
  border-radius: 1.125rem;
}

#lead-form {
  display: grid;
  gap: 1rem;
}

.lead-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.lead-panel .field {
  display: grid;
  align-content: start;
  gap: .43rem;
  min-width: 0;
  margin: 0;
}

.lead-panel .field label,
.lead-panel label.field,
.lead-draft label {
  font-size: .91rem;
  font-weight: 700;
  line-height: 1.25;
}

.lead-panel .field label span {
  color: #6b6157;
  font-size: .8rem;
  font-weight: 450;
}

.lead-panel .control {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  box-sizing: border-box;
  padding: .7rem .8rem;
  background: #fffefa;
  color: #221d1a;
  border: 1px solid #958778;
  border-radius: .47rem;
  font: inherit;
  font-size: 1rem;
  line-height: 1.3;
}

.lead-panel .control::placeholder {
  color: #6b6157;
  opacity: 1;
}

.lead-panel select.control {
  cursor: pointer;
}

.lead-panel textarea.control {
  min-height: 6.75rem;
  resize: vertical;
}

.lead-panel .control[aria-invalid="true"] {
  border-color: #a4311a;
}

.lead-panel .control:focus {
  outline: 2px solid #a74123;
  outline-offset: 2px;
}

.lead-panel .field-error {
  margin: 0;
  color: #a4311a;
  font-size: .8rem;
  font-weight: 560;
}

.lead-panel .field-error:empty {
  display: none;
}

.lead-panel .button {
  min-height: 44px;
  max-width: 100%;
  justify-self: start;
  white-space: normal;
}

.lead-panel .button.secondary {
  color: #2d231e;
  border-color: #9e7765;
}

.lead-panel .button.secondary:hover {
  color: #2d231e;
  background: #f1e1d5;
}

.lead-panel .form-note,
#lead-status {
  margin: 0;
  color: #5b5148;
  font-size: .87rem;
  line-height: 1.5;
}

.lead-draft {
  display: grid;
  gap: .8rem;
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid #cfc3b3;
}

.lead-draft[hidden] {
  display: none;
}

.lead-draft h3,
.lead-draft p {
  margin: 0;
}

.lead-draft textarea.control {
  min-height: 9rem;
  line-height: 1.5;
}

.draft-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.lead-section :is(.lead-phone, .button):focus-visible {
  outline-color: #9f3e22;
}

@media (width <= 790px) {
  .lead-layout {
    grid-template-columns: 1fr;
  }

    .process {
    grid-template-columns: 1fr;
  }

  .process-photo img {
    aspect-ratio: 1.25;
  }
}

@media (width <= 480px) {
  .offer-inner {
    align-items: start;
    flex-direction: column;
  }

  .offer::before {
    right: -15rem;
  }

  .lead-fields {
    grid-template-columns: 1fr;
  }
}
