/* ============================================================
   Craft Boys — inner pages, part A (page furniture).
   cb-page-hero · cb-cta-band · 404 page. Auto-loaded by head.php
   (glob over assets/css/sections/*.css). Tokens: craftboys.css,
   primitives: _base.css.
   ============================================================ */

/* ── cb-page-hero — dark hero band for inner pages ─────────── */
.cb-page-hero {
  position: relative;
  background: var(--cb-dark);
  padding-block: clamp(44px, 5.5vw, 84px);
  overflow: hidden;
}
.cb-page-hero--compact { padding-block: clamp(36px, 4.5vw, 56px); }
.cb-page-hero--photo {
  display: flex;
  align-items: flex-end;
  min-height: clamp(320px, 38vh, 440px);
}

.cb-page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cb-page-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cb-page-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 28, 31, .25) 0%, rgba(23, 28, 31, .88) 100%),
    linear-gradient(90deg, rgba(23, 28, 31, .78) 0%, rgba(23, 28, 31, .30) 100%);
}

.cb-page-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.cb-page-hero__title {
  font-size: clamp(34px, 3.8vw, 54px);
  margin-bottom: 14px;
}
.cb-page-hero__sub { margin-bottom: 0; }
.cb-page-hero__updated {
  font-family: var(--font-ui);
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  margin: 12px 0 0;
}

/* Breadcrumbs inside the dark hero */
.cb-page-hero .breadcrumb {
  font-family: var(--font-ui);
  font-size: 13px;
  margin: 0 0 18px;
}
.cb-page-hero .breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.cb-page-hero .breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .55);
  min-width: 0;
}
.cb-page-hero .breadcrumb a {
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
  transition: color .18s ease;
}
.cb-page-hero .breadcrumb a:hover { color: var(--cb-yellow); }
.cb-page-hero .breadcrumb .sep {
  margin-inline: 9px;
  color: rgba(255, 255, 255, .35);
}
.cb-page-hero .breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, .85);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* CTA row: yellow button + ghost phone link */
.cb-page-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 26px;
}
.cb-page-hero__phone,
.cb-cta-band__phone {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, .82);
  transition: color .18s ease;
}
.cb-page-hero__phone:hover,
.cb-cta-band__phone:hover { color: var(--cb-yellow); }
.cb-page-hero__phone-lead,
.cb-cta-band__phone-lead {
  font-family: var(--font-ui);
  font-size: 14px;
}
.cb-page-hero__phone-num,
.cb-cta-band__phone-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--cb-white);
}
.cb-page-hero__phone:hover .cb-page-hero__phone-num,
.cb-cta-band__phone:hover .cb-cta-band__phone-num { color: var(--cb-yellow); }

/* Trust chips: pill-style badges with a yellow icon */
.cb-page-hero__chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 30px 0 0;
  padding: 0;
}
.cb-page-hero__chip {
  font-family: var(--font-ui);
  font-size: 15.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .92);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  line-height: 1;
}
.cb-page-hero__chip-ico { display: inline-flex; color: var(--cb-yellow); }
.cb-page-hero__chip-ico svg { width: 18px; height: 18px; }

@media (max-width: 640px) {
  .cb-page-hero__title { font-size: 30px; }
  .cb-page-hero .breadcrumb { font-size: 12px; }
  .cb-page-hero .breadcrumb ol { flex-wrap: nowrap; overflow: hidden; }
  .cb-page-hero__actions .cb-btn { width: 100%; }
  .cb-page-hero--photo { min-height: 300px; }
  .cb-page-hero__chip { font-size: 14px; padding: 8px 13px; gap: 7px; }
  .cb-page-hero__chip-ico svg { width: 16px; height: 16px; }
}

/* ── cb-cta-band — centered conversion closer ──────────────── */
.cb-cta-band--dark  { background: var(--cb-dark); }
.cb-cta-band--green { background: var(--cb-green); }
.cb-cta-band--light { background: var(--cb-light); }

.cb-cta-band__inner {
  max-width: 880px;
  text-align: center;
}
.cb-cta-band__text {
  margin-inline: auto;
  margin-bottom: 0;
}
.cb-cta-band__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 30px;
}
.cb-cta-band--light .cb-cta-band__phone { color: var(--cb-body); }
.cb-cta-band--light .cb-cta-band__phone-num { color: var(--cb-ink); }
.cb-cta-band--light .cb-cta-band__phone:hover,
.cb-cta-band--light .cb-cta-band__phone:hover .cb-cta-band__phone-num { color: var(--cb-yellow-2); }

@media (max-width: 640px) {
  .cb-cta-band__actions .cb-btn { width: 100%; }
}

/* ── 404 — the one light-opening page ──────────────────────── */
.cb-404 {
  background: var(--cb-light);
  padding-block: clamp(64px, 10vw, 140px);
  text-align: center;
}
.cb-404__eyebrow { color: #5A6A72; }
.cb-404__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(120px, 20vw, 200px);
  line-height: .95;
  letter-spacing: .02em;
  color: var(--cb-ink);
}
.cb-404__rule {
  width: 96px;
  height: 6px;
  background: var(--cb-yellow);
  margin: 18px auto 26px;
}
.cb-404__title {
  margin-bottom: 14px;
}
.cb-404__body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--cb-body);
  max-width: 560px;
  margin: 0 auto 30px;
}
.cb-404__body p { margin: 0 0 10px; }
.cb-404__links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  margin: 0 0 34px;
  padding: 0;
}
.cb-404__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.cb-btn--outline-dark {
  background: transparent;
  color: var(--cb-ink);
  border: 1.5px solid rgba(20, 20, 20, .35);
}
.cb-btn--outline-dark:hover {
  border-color: var(--cb-ink);
  color: var(--cb-ink);
}

@media (max-width: 640px) {
  .cb-404__actions { flex-direction: column; }
  .cb-404__actions .cb-btn { width: 100%; }
}

/* ── cb-faqacc — FAQ accordion (white cards on light) ──────── */
.cb-faqacc { background: var(--cb-light); }
.cb-faqacc__head { margin-bottom: 38px; }
.cb-faqacc__list { max-width: 880px; }
.cb-faqacc__group {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #5A6A72;
  margin: 30px 0 14px;
}
.cb-faqacc__group:first-child { margin-top: 0; }
.cb-faqacc__item {
  background: var(--cb-card);
  border-radius: var(--cb-radius);
  border-left: 3px solid transparent;
  box-shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 10px 28px rgba(20, 20, 20, .07);
  margin-bottom: 10px;
  transition: border-color .18s ease;
}
.cb-faqacc__item.is-open { border-left-color: var(--cb-yellow); }
.cb-faqacc__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  padding: 18px 20px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  color: var(--cb-ink);
}
.cb-faqacc__chev {
  flex: 0 0 auto;
  color: var(--cb-ink);
  transition: transform .2s ease;
}
.cb-faqacc__item.is-open .cb-faqacc__chev { transform: rotate(90deg); }
.cb-faqacc__a {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .28s ease, opacity .22s ease;
}
.cb-faqacc__a-inner {
  padding: 0 20px 20px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--cb-body);
}
.cb-faqacc__a-inner p { margin: 0 0 10px; }
.cb-faqacc__a-inner p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .cb-faqacc__q { font-size: 16px; padding: 16px; }
  .cb-faqacc__a-inner { padding: 0 16px 16px; }
}

/* ── cb-steps — /process/ numbered timeline ────────────────── */
.cb-steps { background: var(--cb-light); }
.cb-steps__head { margin-bottom: 48px; }
.cb-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.cb-steps__list::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 23px;
  width: 2px;
  background: rgba(20, 20, 20, .12);
}
.cb-steps__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: 0 0 clamp(40px, 5vw, 72px) 72px;
}
.cb-steps__row:last-child { padding-bottom: 0; }
.cb-steps__row::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cb-yellow);
  box-shadow: 0 0 0 4px var(--cb-light);
}
.cb-steps__row:nth-child(even) .cb-steps__media { order: -1; }
.cb-steps__num-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cb-steps__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 4.6vw, 64px);
  line-height: 1;
  color: var(--cb-yellow);
  letter-spacing: .02em;
}
.cb-steps__badge {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cb-ink);
  border: 1px solid rgba(20, 20, 20, .25);
  border-radius: 999px;
  padding: 6px 12px;
}
.cb-steps__title { margin-bottom: 12px; }
.cb-steps__text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--cb-body);
  margin: 0 0 16px;
  max-width: 560px;
}
.cb-steps__checks {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cb-steps__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--cb-ink);
  margin-bottom: 8px;
}
.cb-steps__check-ico {
  flex: 0 0 auto;
  color: var(--cb-yellow-2);
  margin-top: 2px;
}
.cb-steps__media { min-width: 0; }
.cb-steps__img,
.cb-steps__img-ph {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--cb-radius);
  display: block;
}
.cb-steps__img-ph { min-height: 0; }

@media (max-width: 1024px) {
  .cb-steps__row { grid-template-columns: 1fr; }
  .cb-steps__row:nth-child(even) .cb-steps__media { order: 0; }
}
@media (max-width: 640px) {
  .cb-steps__list::before { left: 15px; }
  .cb-steps__row { padding-left: 48px; }
  .cb-steps__row::before { left: 9px; }
  .cb-steps__num { font-size: 40px; }
}

/* ── cb-contact-info — NAP + hours + socials + areas ───────── */
.cb-contact-info { background: var(--cb-light); }
.cb-contact-info__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}
.cb-contact-info__rows { margin-top: 30px; }
.cb-contact-info__row { margin-bottom: 24px; }
.cb-contact-info__label {
  display: block;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #5A6A72;
  margin-bottom: 6px;
}
.cb-contact-info__phone {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: .02em;
  color: var(--cb-ink);
  text-decoration: none;
  transition: color .18s ease;
}
.cb-contact-info__phone:hover { color: var(--cb-yellow-2); }
.cb-contact-info__link {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--cb-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(20, 20, 20, .35);
}
.cb-contact-info__link:hover { color: var(--cb-yellow-2); }
.cb-contact-info__value {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--cb-body);
  display: block;
  margin-bottom: 6px;
}
.cb-contact-info__dir { font-size: 13px; }
.cb-contact-info__hours {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--cb-body);
}
.cb-contact-info__socials {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}
.cb-contact-info__social {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20, 20, 20, .2);
  border-radius: var(--cb-radius);
  color: var(--cb-ink);
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.cb-contact-info__social:hover {
  background: var(--cb-ink);
  border-color: var(--cb-ink);
  color: var(--cb-yellow);
}
.cb-contact-info__areas-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--cb-body);
  margin: 0 0 18px;
  max-width: 480px;
}
.cb-contact-info__area-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
}
.cb-contact-info__area {
  display: block;
  background: var(--cb-white);
  border: 1px solid rgba(20, 20, 20, .14);
  border-radius: var(--cb-radius);
  padding: 11px 14px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--cb-ink);
  text-decoration: none;
  text-align: center;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.cb-contact-info__area:hover {
  background: var(--cb-ink);
  border-color: var(--cb-ink);
  color: var(--cb-white);
}

@media (max-width: 1024px) {
  .cb-contact-info__cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cb-contact-info__area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── cb-est-sec — standalone estimate form section (dark) ──── */
.cb-est-sec__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}
.cb-est-sec__bullets {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.cb-est-sec__bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 12px;
}
.cb-est-sec__bullet-ico {
  flex: 0 0 auto;
  color: var(--cb-yellow);
  margin-top: 3px;
}
.cb-est-sec__phone-row {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cb-est-sec__phone-lead {
  font-family: var(--font-ui);
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
}
.cb-est-sec__phone {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: .02em;
  color: var(--cb-white);
  text-decoration: none;
  transition: color .18s ease;
}
.cb-est-sec__phone:hover { color: var(--cb-yellow); }

/* Contact block in the left column (Contact page) — light-on-dark */
.cb-est-sec__contact {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cb-est-sec__crow { display: flex; flex-direction: column; gap: 5px; }
.cb-est-sec__clabel {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.cb-est-sec__cphone {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 600;
  letter-spacing: .015em;
  color: var(--cb-white);
  transition: color .18s ease;
}
.cb-est-sec__cphone:hover { color: var(--cb-yellow); }
.cb-est-sec__clink { font-size: 17px; color: rgba(255, 255, 255, .9); word-break: break-word; transition: color .18s ease; }
.cb-est-sec__clink:hover { color: var(--cb-yellow); }
.cb-est-sec__cval { color: rgba(255, 255, 255, .9); font-size: 16px; line-height: 1.5; }
.cb-est-sec__cdir {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 5px;
  color: var(--cb-yellow);
  font-size: 14px; font-weight: 600;
  transition: color .18s ease;
}
.cb-est-sec__cdir:hover { color: var(--cb-yellow-2); }
.cb-est-sec__chours { list-style: none; margin: 0; padding: 0; color: rgba(255, 255, 255, .9); font-size: 16px; line-height: 1.7; }
.cb-est-sec__csocials { display: flex; gap: 10px; margin-top: 2px; }
.cb-est-sec__csocial {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  color: var(--cb-white);
  transition: border-color .18s ease, color .18s ease;
}
.cb-est-sec__csocial:hover { border-color: var(--cb-yellow); color: var(--cb-yellow); }

.cb-est-sec__form-col .cb-avail { margin-bottom: 18px; }

@media (max-width: 1024px) {
  .cb-est-sec__cols { grid-template-columns: 1fr; }
  /* Mobile: the form column first — conversion above the copy. */
  .cb-est-sec__form-col { order: -1; }
}
