/* breadcrumbs — .crumbs lives in blog.css, which these pages do not load */
.crumbs{padding-top:26px;font-size:15px;font-weight:600;color:var(--grey)}
.crumbs a{color:var(--orange)}
.crumbs span{margin:0 8px;opacity:.5}

/* =============================================================
   /about, /faq, /cases, /billing — built on styles.css + services.css
   ============================================================= */

/* ---------------- count-up stats ---------------- */
.counts{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.count{padding:0 40px;border-left:1px solid var(--rule)}
.count:first-child{padding-left:0;border-left:0}
.count__n{font-size:60px;font-weight:700;line-height:1;color:var(--orange);font-variant-numeric:tabular-nums}
.count__label{margin-top:14px;font-size:17px;font-weight:500;line-height:1.5;color:var(--black)}

/* ---------------- value cards ---------------- */
.value__name{margin-top:14px;font-size:20px;font-weight:700;line-height:1.3;color:var(--black)}
.svc-card .value__name + p{margin-top:8px;color:var(--grey)}

/* ---------------- FAQ accordion ---------------- */
.acc__group + .acc__group{margin-top:56px}
.acc{margin-top:24px;max-width:74ch;border-top:1px solid var(--rule)}
.acc__item{border-bottom:1px solid var(--rule)}
.acc__q{
  display:flex;align-items:flex-start;justify-content:space-between;gap:24px;
  width:100%;padding:22px 0;text-align:left;
  font-family:var(--f-mulish);font-size:19px;font-weight:700;line-height:1.4;color:var(--black);
  transition:color .25s var(--ease);
}
.acc__q:hover{color:var(--orange)}
.acc__mark{position:relative;flex:0 0 18px;height:18px;margin-top:4px}
.acc__mark::before,.acc__mark::after{
  content:"";position:absolute;left:0;top:8px;width:18px;height:2px;border-radius:2px;
  background:var(--orange);transition:transform .3s var(--ease);
}
.acc__mark::after{transform:rotate(90deg)}
.acc__q[aria-expanded="true"] .acc__mark::after{transform:rotate(0)}
.acc__a{padding-bottom:22px;max-width:66ch}
.acc__a p{font-size:17.5px;font-weight:500;line-height:1.62;color:#2b2b2b}

/* ---------------- cases ---------------- */
.case-grid{margin-top:36px;display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.case-card{
  display:flex;flex-direction:column;gap:10px;
  padding:32px 30px 34px;background:var(--card);
  border:1px solid var(--hairline);border-radius:10.274px;
  transition:transform .4s var(--ease),border-color .4s var(--ease),box-shadow .4s var(--ease);
}
.case-card:hover{transform:translateY(-4px);border-color:rgba(201,94,12,.55);
  box-shadow:0 18px 40px -28px rgba(32,32,32,.55)}
.case-card__metric{font-size:22px;font-weight:700;line-height:1.25;color:var(--orange)}
.case-card h2{font-size:19px;font-weight:700;line-height:1.32;color:var(--black)}
.case-card__loc{font-size:15px;font-weight:600;color:var(--grey)}
.case-card__go{margin-top:auto;padding-top:8px;font-size:14.5px;font-weight:700;color:var(--orange)}

.case-list{max-width:70ch}
.case-list li{
  position:relative;padding-left:28px;margin-top:14px;
  font-size:17.5px;font-weight:500;line-height:1.6;color:#2b2b2b;
}
.case-list li::before{content:"";position:absolute;left:0;top:.62em;
  width:9px;height:9px;border-radius:2px;background:var(--orange)}
.case-list--out{margin-top:32px;columns:2;column-gap:48px}
.case-list--out li{break-inside:avoid}

/* ---------------- billing terms ---------------- */
.terms{max-width:74ch;border-top:1px solid var(--rule)}
.terms__row{padding:26px 0;border-bottom:1px solid var(--rule)}
.terms__row h2{font-size:21px;font-weight:700;line-height:1.3;color:var(--black)}
.terms__row p{margin-top:9px;font-size:17.5px;font-weight:500;line-height:1.62;color:#2b2b2b}

@media (max-width:1024px){
  .counts{grid-template-columns:1fr;gap:32px}
  .count{padding:0;border-left:0}
  .count__n{font-size:44px}
  .case-grid{grid-template-columns:1fr;gap:16px}
  .case-list--out{columns:1}
}
@media (max-width:720px){
  .acc__q{font-size:17px;padding:18px 0}
  .acc__a p,.terms__row p,.case-list li{font-size:16.5px}
  .terms__row h2{font-size:19px}
}
@media (prefers-reduced-motion:reduce){
  .case-card:hover{transform:none}
}

/* ---------------- industries ---------------- */
.ind-flow{
  margin-top:26px;font-size:15.5px;font-weight:500;line-height:1.5;color:var(--grey);
  padding-top:18px;border-top:1px solid var(--rule);max-width:60ch;
}
.ind-flow span{font-weight:700;color:var(--black)}
.ind-grid{margin-top:36px;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.ind-card{
  display:flex;flex-direction:column;gap:10px;
  padding:30px 28px 32px;background:var(--card);
  border:1px solid var(--hairline);border-radius:10.274px;
  transition:transform .4s var(--ease),border-color .4s var(--ease),box-shadow .4s var(--ease);
}
.ind-card:hover{transform:translateY(-4px);border-color:rgba(201,94,12,.55);
  box-shadow:0 18px 40px -28px rgba(32,32,32,.55)}
.ind-card__name{font-size:13px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:var(--orange)}
.ind-card__line{font-size:19px;font-weight:700;line-height:1.32;color:var(--black)}
.ind-card__cta{margin-top:auto;padding-top:10px;font-size:14.5px;font-weight:700;color:var(--orange)}
.ind-others{
  margin-top:30px;padding-top:20px;border-top:1px solid var(--rule);
  font-size:15.5px;font-weight:500;color:var(--grey);
}
.ind-others span{font-weight:700;color:var(--black);margin-right:6px}
.ind-others a{color:var(--orange);font-weight:600}
.ind-others a::after{content:" · ";color:var(--grey);font-weight:400}
.ind-others a:last-child::after{content:""}
@media (max-width:1024px){.ind-grid{grid-template-columns:1fr;gap:16px}}

/* ---------------- contact ---------------- */
.contact-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:40px;align-items:start}
.cal{border:1px solid var(--hairline);border-radius:10.274px;overflow:hidden;background:var(--card);min-height:420px}
.cal__frame{width:100%;height:620px;border:0;display:block}
.cal__fallback{
  padding:14px 20px;font-size:14.5px;font-weight:500;color:var(--grey);
  border-top:1px solid var(--hairline);
}
.cal__fallback a{color:var(--orange);font-weight:600}
.cal__empty{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:44px 40px}
.cal__empty-title{font-size:22px;font-weight:700;color:var(--black)}
.cal__empty p{font-size:16.5px;font-weight:500;line-height:1.55;color:var(--grey)}
.cal__empty-mark{margin-top:2px}
.cal__empty .btn{margin-top:10px}

.details{padding:34px 32px;border:1px solid var(--hairline);border-radius:10.274px;background:var(--card)}
.details h2{font-size:20px;font-weight:700;color:var(--black)}
.details dl{margin-top:20px}
.details dt{font-size:12.5px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:var(--grey);margin-top:18px}
.details dt:first-of-type{margin-top:0}
.details dd{margin:5px 0 0;font-size:17px;font-weight:600;line-height:1.45;color:var(--black)}
.details dd a{color:var(--orange)}
.details__note{margin-top:22px;padding-top:16px;border-top:1px solid var(--rule);font-size:15px;font-weight:600;color:var(--black)}
.details__area{margin-top:8px;font-size:15px;font-weight:500;color:var(--grey)}

.trust{margin-top:32px;display:flex;flex-wrap:wrap;gap:10px 12px}
.trust li{
  padding:9px 18px;border:1px solid var(--hairline);border-radius:65px;background:var(--card);
  font-size:14.5px;font-weight:600;color:var(--black);
}
.trust li::before{content:"✓";color:var(--orange);font-weight:700;margin-right:8px}

.form-wrap{max-width:820px}
.cform{margin-top:32px;display:grid;grid-template-columns:1fr 1fr;gap:20px}
.cform__row{display:flex;flex-direction:column;gap:7px}
.cform__row--wide{grid-column:1/-1}
.cform label{font-size:14.5px;font-weight:700;color:var(--black)}
.cform label span{color:var(--orange)}
.cform input,.cform textarea{
  font-family:var(--f-mulish);font-size:16.5px;font-weight:500;color:var(--black);
  padding:13px 15px;border:1px solid var(--rule);border-radius:9px;background:var(--white);
  transition:border-color .25s var(--ease),box-shadow .25s var(--ease);
}
.cform input:focus,.cform textarea:focus{
  outline:none;border-color:var(--orange);box-shadow:0 0 0 3px rgba(201,94,12,.15);
}
.cform input[aria-invalid="true"],.cform textarea[aria-invalid="true"]{border-color:#b4442c}
.cform__err{font-size:13.5px;font-weight:600;color:#b4442c;min-height:0}
.cform__err:empty{display:none}
.cform__pot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.cform__foot{grid-column:1/-1;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.cform__status{font-size:15px;font-weight:600}
.cform__status[data-state="ok"]{color:#2f7d55}
.cform__status[data-state="err"]{color:#b4442c}
.cform button[disabled]{opacity:.55;cursor:not-allowed}

@media (max-width:1024px){
  .contact-grid{grid-template-columns:1fr;gap:24px}
  .cal__frame{height:520px}
  .cform{grid-template-columns:1fr}
  /* A grid item's min-width is `auto`, which is its content's minimum — the
     address block's longest line. At 320px that pushed .details 18px past the
     column and flush to the screen edge, with no right gutter at all. */
  .cal,.details{min-width:0}
}

/* see the "Touch pointers" note in styles.css */
@media (hover:none){
  .case-card:hover,.ind-card:hover{transform:none;box-shadow:none;border-color:var(--hairline)}
}

/* see the "Touch target sizes" note in styles.css */
@media (max-width:1024px){
  .trust li{min-height:44px;display:inline-flex;align-items:center}
  .cform button[type="submit"]{width:100%;min-height:48px}
  .cform__foot{flex-direction:column;align-items:stretch;gap:12px}
}

/* A breadcrumb is a navigation control, so the 44px floor applies to it the
   way it does not to a link inside a sentence. The container's own top
   padding gives the height back so the bar does not grow.
   See the "Touch target sizes" note in styles.css. */
@media (max-width:1024px){
  .crumbs{padding-top:14px}
  .crumbs a{display:inline-block;padding:13px 0}
  /* "Other industries: HVAC · Electrical · …" is a row of nine navigation
     links wearing a sentence's clothes, so the floor applies here too. The
     line-height carries the extra height, which keeps the separators aligned
     with the names rather than floating between two rows. */
  .ind-others{line-height:2.6}
  .ind-others a{display:inline-flex;align-items:center;min-height:44px}
}

/* ---------------- contact card + scheduler on a phone ----------------
   The email and phone rows are the page's primary actions and each sits on
   its own line, so the 44px floor applies — the inline-in-a-sentence
   exemption does not. See the "Touch target sizes" note in styles.css. */
@media (max-width:1024px){
  .details dd a{display:inline-flex;align-items:center;min-height:44px}
}
/* A 520px scheduler is fine in portrait and taller than the whole screen in
   landscape, where it fills the viewport and swallows the page scroll. */
@media (max-width:1024px) and (max-height:600px){
  .cal__frame{height:min(520px,72vh)}
}

/* ---------------- scheduler consent gate ----------------
   Stands in for the Calendly iframe until the visitor accepts in the consent
   banner (site_chrome.consent / assets/js/main.js). It reuses the empty-state
   box so the column keeps its height either way and nothing shifts when the
   real scheduler replaces it. */
.cal__gate{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:44px 40px}
.cal__gate-title{font-size:22px;font-weight:700;color:var(--black)}
.cal__gate p{font-size:16.5px;font-weight:500;line-height:1.55;color:var(--grey)}
.cal__gate-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px}

@media (max-width:1024px){
  .cal__gate{padding:32px 24px}
  .cal__gate-actions{width:100%}
  .cal__gate-actions .btn{flex:1;min-height:44px}
}
