/* IntentHaus V42 | Hero rhythm + compact mobile footer.
 * Loaded after V39/V40 and V41. No changes to sitewide desktop header/footer,
 * typography assets, navigation behavior, SEO, or inquiry processing.
 */

/* Albuquerque: reduce the oversized interval after the breadcrumb and balance
   the text and technical buyer-journey panel. Keep the approved type and content. */
@media (min-width: 1201px) {
  .ih40-abq .ih39-breadcrumb { padding-top: 31px; }
  .ih40-abq .ih39-hero-grid {
    grid-template-columns: minmax(0, 1.17fr) minmax(320px, .83fr);
    gap: clamp(42px, 4.7vw, 76px);
    padding-top: 46px;
    padding-bottom: 83px;
    align-items: start;
  }
  .ih40-abq .ih39-hero-copy { padding-top: 16px; }
  .ih40-abq .ih39-hero h1 {
    font-size: clamp(58px, 4.55vw, 77px);
    line-height: 1.075;
    margin-top: 20px;
    margin-bottom: 22px;
  }
  .ih40-abq .ih39-hero-copy > p {
    font-size: clamp(16px, 1.24vw, 18px);
    line-height: 1.62;
  }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .ih40-abq .ih39-breadcrumb { padding-top: 31px; }
  .ih40-abq .ih39-hero-grid { padding-top: 52px; padding-bottom: 76px; gap: 38px; }
  .ih40-abq .ih39-hero h1 { font-size: clamp(54px, 6.3vw, 72px); margin: 20px 0 23px; }
}
@media (min-width: 901px) {
  .ih40-abq .ih39-actions { margin-top: 28px; }
  .ih40-abq .ih39-hero-panel .ih39-panel-top { padding: 16px 23px; }
  .ih40-abq .ih39-panel-steps { padding: 13px 24px 17px; }
  .ih40-abq .ih39-panel-steps > div { padding: 15px 0 17px; }
  .ih40-abq .ih39-panel-steps strong {
    font-size: clamp(24px, 2.03vw, 30px);
    margin: 10px 0 5px;
  }
  .ih40-abq .ih39-panel-steps p { font-size: 12px; line-height: 1.54; }
  .ih40-abq .ih39-panel-bottom { padding: 14px 23px; }
  /* Consistent editorial rhythm with the rest of the industrial marketing pages. */
  .ih40-abq .ih39-intro,
  .ih40-abq .ih39-services,
  .ih40-abq .ih39-location,
  .ih40-abq .ih39-approach,
  .ih40-abq .ih39-faq,
  .ih40-abq .ih39-cta { padding-top: 96px; padding-bottom: 100px; }
  .ih40-abq .ih39-example { padding-top: 96px; }
  .ih40-abq .ih39-problem-grid { margin-top: 60px; }
  .ih40-abq .ih39-example-bottom { margin-top: 57px; }
}
@media (max-width: 900px) {
  .ih40-abq .ih39-breadcrumb { padding-top: 27px; }
  .ih40-abq .ih39-hero-grid { padding-top: 43px; padding-bottom: 67px; gap: 33px; }
  .ih40-abq .ih39-hero h1 { margin: 19px 0 22px; }
  .ih40-abq .ih39-actions { margin-top: 26px; }
}
@media (max-width: 600px) {
  .ih40-abq .ih39-breadcrumb { padding-top: 22px; }
  .ih40-abq .ih39-hero-grid { padding-top: 28px; padding-bottom: 58px; gap: 27px; }
  .ih40-abq .ih39-hero h1 { margin: 17px 0 20px; }
  .ih40-abq .ih39-intro,
  .ih40-abq .ih39-services,
  .ih40-abq .ih39-location,
  .ih40-abq .ih39-approach,
  .ih40-abq .ih39-faq,
  .ih40-abq .ih39-cta { padding-top: 62px; padding-bottom: 72px; }
  .ih40-abq .ih39-example { padding-top: 62px; }
}

/* Compact mobile marketing footer. Keep the same content and sequence;
   remove the isolated full-height Company column and reduce blank spacing. */
@media (max-width: 650px) {
  body.phase1-v2 .footer.footer-v2 { padding-top: 38px; padding-bottom: 19px; }
  body.phase1-v2 .footer.footer-v2 .footer-top { padding-bottom: 26px; }
  body.phase1-v2 .footer.footer-v2 .footer-identity p { margin: 13px 0 0; line-height: 1.55; }
  body.phase1-v2 .footer.footer-v2 .footer-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 29px;
    padding: 0;
    gap: 30px 18px;
  }
  body.phase1-v2 .footer.footer-v2 .footer-columns > div {
    min-width: 0;
    gap: 9px;
  }
  body.phase1-v2 .footer.footer-v2 .footer-columns > div > span {
    font-size: 10px;
    margin-bottom: 5px;
  }
  body.phase1-v2 .footer.footer-v2 .footer-columns a {
    font-size: 12px !important;
    line-height: 1.55;
  }
  /* Company: heading across the row, links arranged in two balanced columns. */
  body.phase1-v2 .footer.footer-v2 .footer-columns > div:nth-child(3) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
  }
  body.phase1-v2 .footer.footer-v2 .footer-columns > div:nth-child(3) > span {
    grid-column: 1 / -1;
    margin-bottom: 1px;
  }
  body.phase1-v2 .footer.footer-v2 .ih41-location-contact {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 23px 0 22px;
  }
  body.phase1-v2 .footer.footer-v2 .ih41-detail { gap: 4px; }
  body.phase1-v2 .footer.footer-v2 .ih41-detail + .ih41-detail {
    border-top: 1px solid rgba(135, 166, 162, .18);
    padding-top: 12px;
  }
  body.phase1-v2 .footer.footer-v2 .ih41-detail a {
    min-height: 32px;
    font-size: 14px !important;
  }
  body.phase1-v2 .footer.footer-v2 .footer-bottom {
    padding-top: 17px;
    color: #91aaa9;
  }
}
