/* ═══════════════════════════════════════════════════════════════════
   UBrothers — desktop/tablet footer "Option A" (2026-09-22)
   Green CTA band + pine footer. Shown ≥768px; below that the legacy
   mobile footer (.footer-mob) takes over, so everything here is scoped
   and hidden on phones. Selectors are prefixed .ub-foot* and carry
   enough specificity to beat legacy `footer`/`#footer` theme rules.
   ═══════════════════════════════════════════════════════════════════ */
.ub-foot-cta, footer.ub-foot { --pine: #0c3b2e; --pine-2: #0f4838; --green: #008752; --ember: #db7100; --ember-2: #f58a1f;
  --ink-soft: #c3d6cb; --ink-muted: #a9c1b4; --rule: rgba(255, 255, 255, .12); }
.ub-foot-wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; box-sizing: border-box; }

/* ── CTA band ── */
/* body is a centered flex column on this site — stretch both blocks edge to edge */
.ub-foot-cta, footer.ub-foot { width: 100%; align-self: stretch; box-sizing: border-box; }
.ub-foot-cta { background: var(--green); color: #fff; }
.ub-foot-cta__inner { display: flex; align-items: center; gap: 28px; padding-top: 34px; padding-bottom: 34px; flex-wrap: wrap; }
.ub-foot-cta__text { flex: 1 1 360px; }
.ub-foot-cta h2 { font-family: 'Roboto Condensed', Roboto, Arial, sans-serif; font-weight: 800; font-size: 34px; line-height: 1.1; margin: 0; color: #fff; }
.ub-foot-cta p { margin: 6px 0 0; font-size: 16px; opacity: .92; color: #fff; }
.ub-foot-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ub-btn { display: inline-flex; align-items: center; justify-content: center; font: 700 16px/1 'Roboto Condensed', Roboto, Arial, sans-serif;
  letter-spacing: .04em; text-transform: uppercase; padding: 16px 22px; border-radius: 6px; white-space: nowrap; cursor: pointer;
  text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; box-sizing: border-box; }
.ub-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.ub-btn--light { background: #fff; color: var(--pine) !important; }
.ub-btn--ember { background: var(--ember); color: #fff !important; }
.ub-btn--ember:hover { background: #c56500; }
.ub-btn--ghost { border: 2px solid #fff; color: #fff !important; padding: 14px 20px; }
.ub-btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.ub-btn:focus-visible, .ub-foot a:focus-visible, .ub-foot button:focus-visible { outline: 3px solid var(--ember-2); outline-offset: 2px; }
/* quote dropdown keeps the legacy JS; restyle so the white button isn't the old green one */
.ub-foot-quote.online-quote { position: relative; width: auto !important; margin: 0 !important; }
.ub-foot-quote .online-quote__btn.ub-btn { width: auto; height: auto; min-width: 0; }
.ub-foot-quote .online-quote__dropdown { z-index: 30; }

/* ── pine footer ── */
footer.ub-foot { background: var(--pine); color: #dfe9e3; font-family: Roboto, Arial, sans-serif; padding: 56px 0 0; position: static; width: 100%; }
footer.ub-foot a { color: var(--ink-soft); text-decoration: none; }
footer.ub-foot a:hover { color: #fff; }
.ub-foot__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.3fr; gap: 44px; }
footer.ub-foot h3 { font: 800 16px/1.2 'Roboto Condensed', Roboto, Arial, sans-serif; color: #fff; text-transform: uppercase;
  letter-spacing: .09em; margin: 0 0 16px; }
.ub-foot__col ul { list-style: none; margin: 0; padding: 0; }
.ub-foot__col li { margin: 0 0 10px; padding: 0; }
.ub-foot__col li::before { display: none !important; }
.ub-foot__col li a { font-size: 15.5px; line-height: 1.4; }
.ub-foot__col li a.active { color: #fff; font-weight: 700; }

.ub-foot__logo { display: inline-block; font: 800 30px/1 'Roboto Condensed', Roboto, Arial, sans-serif; color: #fff !important; letter-spacing: .01em; }
.ub-foot__logo b { color: var(--ember-2); font-weight: 800; }
.ub-foot__blurb { color: var(--ink-muted); font-size: 15px; line-height: 1.65; margin: 14px 0 0; }
.ub-foot__sub { margin-top: 20px; }
.ub-foot__sub label { display: block; font-weight: 700; font-size: 14px; color: #fff; margin-bottom: 8px; }
.ub-foot__subrow { display: flex; }
.ub-foot__subrow input { flex: 1; min-width: 0; border: 0; border-radius: 6px 0 0 6px; padding: 13px 14px; font-size: 15px; color: #1f2a30; background: #fff; }
.ub-foot__subrow button { border: 0; background: var(--ember-2); color: #fff; font: 700 14px 'Roboto Condensed', Roboto, Arial, sans-serif;
  letter-spacing: .05em; text-transform: uppercase; padding: 0 18px; border-radius: 0 6px 6px 0; cursor: pointer; }
.ub-foot__subrow button:hover { background: var(--ember); }
.ub-foot__ok { color: #9be3bd; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.ub-foot__social { display: flex; gap: 10px; margin-top: 20px; }
.ub-foot__social a { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink-soft); display: inline-flex; align-items: center; justify-content: center; }
.ub-foot__social a:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

.ub-foot__contact > a { display: block; margin-bottom: 10px; }
footer.ub-foot .ub-foot__phone { font: 800 26px/1.1 'Roboto Condensed', Roboto, Arial, sans-serif; color: #fff; }
footer.ub-foot .ub-foot__mail { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-size: 15.5px; word-break: break-all; }
footer.ub-foot .ub-foot__addr { color: var(--ink-muted); font-size: 15px; line-height: 1.5; }
.ub-foot__addr span { display: block; color: var(--ember-2); font-weight: 700; font-size: 14px; margin-top: 2px; }
.ub-foot__hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 12px 0 14px; font-size: 14.5px; color: var(--ink-soft); }
.ub-foot__hours dt { font-weight: 700; color: #fff; margin: 0; }
.ub-foot__hours dd { margin: 0; }
footer.ub-foot .ub-foot__contactlink { color: var(--ember-2); font-weight: 700; font-size: 15px; }

.ub-foot__towns { margin-top: 44px; padding: 22px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: baseline; }
footer.ub-foot .ub-foot__towns h3 { color: var(--ember-2); font-size: 13px; margin: 0; letter-spacing: .12em; }
.ub-foot__towns p { margin: 0; font-size: 14px; line-height: 1.95; color: var(--ink-muted); }
.ub-foot__town { white-space: nowrap; }
.ub-foot__town + .ub-foot__town::before { content: "·"; margin: 0 8px; color: rgba(255, 255, 255, .3); }

.ub-foot__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 20px 0 26px; border-top: 1px solid var(--rule); font-size: 13.5px; color: #8fae9e; }
footer.ub-foot .ub-foot__bottom a { color: #8fae9e; }
footer.ub-foot .ub-foot__bottom a:hover { color: #fff; }
.ub-foot__pay { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; }
.ub-foot__pay img { height: 28px; width: auto; background: #fff; border-radius: 4px; padding: 3px 5px; box-sizing: border-box; }
footer.ub-foot .ub-foot__fin { color: #fff; font-weight: 700; border: 1px solid var(--rule); border-radius: 4px; padding: 6px 10px; }

/* ── tablet ── */
@media (max-width: 1100px) {
  .ub-foot__grid { grid-template-columns: 1fr 1fr; gap: 36px 44px; }
  .ub-foot-cta__inner { gap: 18px; }
}
@media (max-width: 900px) {
  .ub-foot-wrap { padding: 0 24px; }
  .ub-foot-cta h2 { font-size: 28px; }
  .ub-foot__towns { grid-template-columns: 1fr; gap: 6px; }
  .ub-foot__pay { margin-left: 0; }
}
/* ── phones: the legacy mobile footer handles <768px ── */
@media (max-width: 767px) { .ub-foot-cta, footer.ub-foot { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .ub-btn, .ub-btn:hover { transition: none; transform: none; } }
