/* Focused public-page layouts for contact and pricing. */

.page-eyebrow {
  margin: 0;
  color: #52677f;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-page,
.pricing-page {
  padding-top: 0;
  padding-bottom: 0;
  background: #ffffff;
}

.contact-hero {
  padding: 72px 0 68px;
  border-bottom: 1px solid #dfe6ee;
  background: #f4f7fa;
}

.contact-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 72px;
  align-items: center;
}

.contact-hero-copy {
  display: grid;
  gap: 20px;
  max-width: 660px;
}

.contact-hero-copy h1,
.pricing-hero-title {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: none;
}

.contact-hero-copy > p:not(.page-eyebrow) {
  max-width: 56ch;
  margin: 0;
  color: #52677f;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-hero-copy .button {
  justify-self: start;
}

.contact-hero-summary {
  display: grid;
  border-top: 1px solid #cfd9e4;
}

.contact-hero-summary > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.68fr) minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #cfd9e4;
}

.contact-hero-summary strong {
  color: var(--navy);
  font-size: 0.94rem;
  line-height: 1.45;
}

.contact-hero-summary span {
  color: #5c6f85;
  font-size: 0.92rem;
  line-height: 1.55;
}

.contact-intake {
  padding: 72px 0 88px;
  background: #ffffff;
  scroll-margin-top: 112px;
}

.contact-intake .home-audit-shell {
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  gap: 64px;
  align-items: start;
}

.contact-intake .home-audit-copy {
  display: grid;
  gap: 18px;
  padding-top: 8px;
}

.contact-intake .home-section-title,
.pricing-services .home-section-title,
.pricing-addons-section .home-section-title,
.pricing-custom .home-section-title {
  max-width: 14ch;
  font-size: clamp(2.45rem, 4vw, 3.65rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.contact-direct-panel {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding-top: 28px;
  border-top: 1px solid #dfe6ee;
}

.contact-direct-panel h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.1;
}

.contact-direct-panel > p:not(.page-eyebrow) {
  margin: 0;
  color: #5c6f85;
  line-height: 1.6;
}

.contact-intake .contact-direct-list {
  gap: 8px;
  margin-top: 4px;
}

.contact-intake .contact-direct-link {
  padding: 12px 14px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: none;
}

.contact-intake .form-card {
  padding: 32px;
  border-radius: 8px;
  border-color: #d9e2eb;
  box-shadow: 0 16px 40px rgba(14, 39, 70, 0.08);
}

.contact-intake .form-card h3 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.contact-intake .audit-step-indicator {
  padding: 13px 15px;
  border-radius: 6px;
  background: #f6f8fb;
}

.contact-intake .audit-step-indicator.is-active {
  border-color: rgba(214, 146, 25, 0.48);
  background: #fff9ec;
  transform: none;
}

.contact-intake input,
.contact-intake select,
.contact-intake textarea {
  border-radius: 6px;
}

.pricing-hero {
  padding: 72px 0;
  border-bottom: 1px solid #dfe6ee;
  background: #f4f7fa;
}

.pricing-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
  gap: 72px;
  align-items: center;
  max-width: var(--shell);
}

.pricing-hero-copy-block {
  display: grid;
  gap: 20px;
}

.pricing-hero-copy {
  max-width: 58ch;
  color: #52677f;
  font-size: 1.04rem;
  line-height: 1.7;
}

.pricing-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid #cfd9e4;
  border-left: 1px solid #cfd9e4;
}

.pricing-summary > div {
  display: grid;
  gap: 12px;
  min-height: 136px;
  padding: 22px;
  border-right: 1px solid #cfd9e4;
  border-bottom: 1px solid #cfd9e4;
  background: rgba(255, 255, 255, 0.72);
}

.pricing-summary dt {
  color: #52677f;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-summary dd {
  align-self: end;
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 0.95;
}

.pricing-summary dd span {
  margin-left: 4px;
  color: #52677f;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 700;
}

.pricing-services {
  padding: 78px 0 64px;
}

.pricing-services-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 64px;
  align-items: start;
}

.pricing-section-intro {
  display: grid;
  gap: 18px;
}

.pricing-service-list {
  border-top: 1px solid #d9e2eb;
}

.pricing-service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(135px, auto);
  gap: 32px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid #d9e2eb;
}

.pricing-service-row > div:first-child {
  display: grid;
  gap: 8px;
}

.pricing-service-label {
  margin: 0;
  color: #64768a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-service-row h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.72rem;
  line-height: 1.05;
}

.pricing-service-row p:last-child {
  max-width: 54ch;
  margin: 0;
  color: #5c6f85;
  line-height: 1.62;
}

.pricing-service-value {
  display: grid;
  gap: 5px;
  justify-items: end;
  text-align: right;
}

.pricing-service-value strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  line-height: 1;
}

.pricing-service-value span {
  max-width: 18ch;
  color: #64768a;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-addons-section {
  padding: 64px 0;
  border-block: 1px solid #dfe6ee;
  background: #f7f9fb;
}

.pricing-addons-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px 64px;
  align-items: start;
}

.pricing-addon-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #cfd9e4;
  border-left: 1px solid #cfd9e4;
}

.pricing-addon-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 14px 18px;
  border-right: 1px solid #cfd9e4;
  border-bottom: 1px solid #cfd9e4;
  background: #ffffff;
}

.pricing-addon-list span {
  color: var(--navy);
  font-weight: 700;
}

.pricing-addon-list strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.pricing-note {
  grid-column: 2;
  margin: 0;
  color: #64768a;
  font-size: 0.86rem;
  line-height: 1.55;
}

.pricing-custom {
  padding: 68px 0 80px;
  background: #ffffff;
}

.pricing-custom-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr) auto;
  gap: 44px;
  align-items: end;
}

.pricing-custom .pricing-hero-actions {
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .contact-hero-shell,
  .pricing-hero-shell {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .contact-intake .home-audit-shell,
  .pricing-services-shell,
  .pricing-addons-shell,
  .pricing-custom-shell {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .pricing-note {
    grid-column: 1;
  }

  .pricing-custom .pricing-hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .contact-page,
  .pricing-page {
    padding-top: 18px;
  }

  .contact-hero,
  .pricing-hero {
    padding: 54px 0 48px;
  }

  .contact-hero-copy h1,
  .pricing-hero-title {
    max-width: none;
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .contact-hero-summary > div {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 16px 0;
  }

  .contact-intake {
    padding: 52px 0 64px;
  }

  .contact-intake .form-card {
    padding: 22px 18px;
  }

  .contact-intake .audit-stepper {
    grid-template-columns: 1fr;
  }

  .pricing-summary,
  .pricing-addon-list {
    grid-template-columns: 1fr;
  }

  .pricing-summary > div {
    min-height: 112px;
    padding: 18px;
  }

  .pricing-services,
  .pricing-addons-section,
  .pricing-custom {
    padding: 52px 0;
  }

  .pricing-service-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 0;
  }

  .pricing-service-value {
    justify-items: start;
    text-align: left;
  }

  .pricing-custom .pricing-hero-actions,
  .pricing-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
