
/*
  Commercial Step 1 — scale and cohesion refinement.
  Visual-only override. No business, site or roof logic is changed.
*/

body.commercial-residential-part-one .app-shell {
  width: min(1460px, calc(100% - 42px));
  padding-top: 18px;
}

body.commercial-residential-part-one .topbar {
  padding-bottom: 12px;
}

body.commercial-residential-part-one .hero {
  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(470px, 0.92fr);
  gap: clamp(24px, 3.2vw, 50px);
  min-height: 540px;
  padding: 8px 0 14px;
  align-items: center;
}

body.commercial-residential-part-one .hero > div:first-child {
  max-width: 760px;
}

body.commercial-residential-part-one .hero .eyebrow {
  margin-bottom: 12px;
  font-size: 15px;
}

body.commercial-residential-part-one .hero h1 {
  max-width: 760px;
  font-size: clamp(62px, 6vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

body.commercial-residential-part-one .hero p {
  max-width: 730px;
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.5;
}

body.commercial-residential-part-one .commercial-benefits {
  max-width: 760px;
  gap: 14px;
  margin-top: 24px;
}

body.commercial-residential-part-one .commercial-benefit {
  min-height: 132px;
  padding: 20px 18px;
  border-radius: 19px;
}

body.commercial-residential-part-one .commercial-benefit strong {
  font-size: 14px;
}

body.commercial-residential-part-one .commercial-benefit span {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.42;
}

body.commercial-residential-part-one .building.has-commercial-photo {
  width: 100%;
  max-width: 610px;
  min-height: 500px;
  aspect-ratio: 1.05;
  padding: 16px;
  margin-left: auto;
  border-width: 12px;
  border-radius: 30px;
}

body.commercial-residential-part-one
.building.has-commercial-photo
img.commercial-hero-photo {
  min-height: 440px;
  border-radius: 22px;
  object-fit: cover;
  object-position: center center;
}

body.commercial-residential-part-one .building::before {
  top: 14px;
  left: 14px;
  padding: 10px 15px 10px 31px;
  font-size: 12px;
}

body.commercial-residential-part-one .building::after {
  right: 12px;
  bottom: 12px;
  max-width: 285px;
  padding: 16px 18px;
  border-radius: 17px;
  font-size: 12px;
  line-height: 1.5;
}

body.commercial-residential-part-one .progress {
  margin: 4px 0 18px;
  gap: 10px;
}

body.commercial-residential-part-one .step {
  padding-top: 14px;
  min-height: 28px;
}

body.commercial-residential-part-one .step strong {
  font-size: 12px;
}

body.commercial-residential-part-one
.panel[data-step="1"] {
  margin-top: 0;
}

body.commercial-residential-part-one
.panel[data-step="1"] .card {
  max-width: none;
  width: 100%;
  padding: 28px 30px 24px;
  border-radius: 25px;
}

body.commercial-residential-part-one
.commercial-trust-strip {
  margin-bottom: 14px;
  font-size: 13px;
}

body.commercial-residential-part-one
.panel[data-step="1"] h2 {
  font-size: 30px;
}

body.commercial-residential-part-one
.panel[data-step="1"] .lead {
  max-width: 900px;
  font-size: 15px;
  line-height: 1.5;
}

body.commercial-residential-part-one
.panel[data-step="1"] .business-form {
  grid-template-columns:
    minmax(340px, 1.2fr)
    minmax(260px, 0.8fr)
    auto;
  gap: 12px;
  margin-top: 18px;
}

body.commercial-residential-part-one
.panel[data-step="1"] label span {
  font-size: 12px;
}

body.commercial-residential-part-one
.panel[data-step="1"] input {
  height: 56px;
  padding: 0 18px;
  font-size: 15px;
  border-radius: 14px;
}

body.commercial-residential-part-one
.panel[data-step="1"] .primary {
  min-height: 56px;
  padding: 0 28px;
  font-size: 15px;
  border-radius: 14px;
}

body.commercial-residential-part-one
.commercial-form-caveat {
  margin-top: 12px;
  font-size: 11px;
}

/* Remove the large visual break between hero, progress and form */
body.commercial-residential-part-one .hero + .progress,
body.commercial-residential-part-one .progress + .panel {
  position: relative;
}

@media (max-width: 1100px) {
  body.commercial-residential-part-one .app-shell {
    width: min(100% - 28px, 1180px);
  }

  body.commercial-residential-part-one .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 28px;
  }

  body.commercial-residential-part-one .hero > div:first-child {
    max-width: none;
  }

  body.commercial-residential-part-one .building.has-commercial-photo {
    max-width: 720px;
    margin: 0;
  }
}

@media (max-width: 720px) {
  body.commercial-residential-part-one .app-shell {
    width: min(100% - 18px, 1180px);
  }

  body.commercial-residential-part-one .hero h1 {
    font-size: 50px;
  }

  body.commercial-residential-part-one .hero p {
    font-size: 16px;
  }

  body.commercial-residential-part-one .commercial-benefits {
    grid-template-columns: 1fr;
  }

  body.commercial-residential-part-one
  .panel[data-step="1"] .card {
    padding: 22px 18px;
  }

  body.commercial-residential-part-one
  .panel[data-step="1"] .business-form {
    grid-template-columns: 1fr;
  }

  body.commercial-residential-part-one
  .panel[data-step="1"] .business-form .primary {
    width: 100%;
  }
}



/* Direct simplified journey: Business → Roof → Opportunity */
body.commercial-residential-part-one .progress.three-step-progress {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.commercial-residential-part-one
.progress.three-step-progress
[data-progress-step="2"] {
  display: none !important;
}
