/* v2-footer — site footer on brown, and the phone-only sticky bar.
   Port of the approved mockup's "SKIN: site-footer" and "SKIN: nav.smp-sticky-call" blocks. Mapping: .smp-footer → .smp-v2-footer,
   .smp-footer__* → .smp-v2-footer__*, .smp-footer__row a / __legal a → __link, .smp-sticky-call → .smp-v2-sticky,
   .smp-sticky-call .smp-home-btn → __btn. .smp-footer and .smp-sticky-call stay on the elements as contract names only.
   ONE CHANGE from the mockup (one line to the art director and ECD, components-A.md): under 768px the footer gets bottom
   padding equal to the sticky bar's height, because in the mockup the bar covers Terms and Privacy at the end of the page
   (they can't be tapped, and focus lands under the bar: WCAG 2.2 2.4.11). Full-page renders hide the bar, so they show
   that extra brown. The bar's slide is inside prefers-reduced-motion:no-preference (design-style C9).
   No !important, no IDs.
   ADDED 2026-11-03 (Claude, Mike's OK). TO UNDO: restore the stub or delete this folder. */

.smp-v2-footer{--smp-v2-sticky-h:66px;background:var(--smp-v2-brown);color:var(--smp-v2-white);padding-block:8px 32px}
.smp-v2-footer__sign{display:grid;gap:16px;padding-top:32px;padding-bottom:24px;border-bottom:1px solid var(--smp-v2-light-yellow)}
.smp-v2-footer__logo{display:inline-flex;min-height:44px;align-items:center}
.smp-v2-footer__logo img{width:200px}
.smp-v2-footer__tag{color:var(--smp-v2-light-yellow);letter-spacing:.12em}
.smp-v2-footer__phone{font-family:var(--smp-v2-font-display);font-size:var(--smp-v2-fs-big);line-height:1;text-decoration:none;display:inline-flex;align-items:center;min-height:48px}
.smp-v2-footer__phone:hover{text-decoration:underline}
.smp-v2-footer__links{display:grid;gap:16px;padding-block:16px;font-size:var(--smp-v2-fs-small)}
.smp-v2-footer__row{display:flex;flex-wrap:wrap;gap:0 24px;align-items:center}
.smp-v2-footer__link{display:inline-flex;align-items:center;min-height:44px}
.smp-v2-footer__nap{display:inline-flex;align-items:center;min-height:44px}
.smp-v2-footer__legal{display:flex;flex-wrap:wrap;gap:0 24px;align-items:center;padding-top:16px;border-top:1px solid var(--smp-v2-light-yellow);font-size:var(--smp-v2-fs-small)}
@media (max-width:767px){.smp-v2-footer{padding-bottom:calc(104px - 66px + var(--smp-v2-sticky-h) + env(safe-area-inset-bottom)) /* R171-FOOT: 104 (token) with the 66px sticky bar; was 32px + the bar = 98. TO UNDO: 32px + the bar */}}
/* FOCUS NOT OBSCURED — 2026-11-03 (Claude, Mike's OK; decisions.md #16; WCAG 2.2 2.4.11): on phones, where the sticky bar
   shows, scrolling a focused element into view keeps it clear of the bar (66px bar + 16px). v2-footer.js also hides the
   bar while focus is inside the form or the FAQ. Before: only base.css's scroll-padding-top:16px.
   TO UNDO: delete this rule. */
@media (max-width:767px){html{scroll-padding-bottom:calc(82px + env(safe-area-inset-bottom))}}
@media (min-width:1000px){
  .smp-v2-footer{padding-bottom:48px}
  .smp-v2-footer__sign{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:32px}
}

/* sticky bar: PHONES ONLY. Hidden at the hero, at the form and while the menu is open (CRO 4.9; v2-footer.js).
   The Book label is 13px with .03em tracking so it holds one line at 360 and 390 (mockup crit note 7). */
.smp-v2-sticky{position:fixed;left:0;right:0;bottom:0;z-index:40;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;padding:8px var(--smp-v2-gutter) calc(8px + env(safe-area-inset-bottom));background:var(--smp-v2-white);color:var(--smp-v2-brown-deep);border-top:2px solid var(--smp-v2-brown-deep)}
.smp-v2-sticky__btn{min-height:48px;padding:0 8px;font-size:var(--smp-v2-fs-label);letter-spacing:.03em;white-space:nowrap}
.smp-v2-sticky.is-hidden{transform:translateY(110%);visibility:hidden}
@media (prefers-reduced-motion:no-preference){.smp-v2-sticky{transition:transform var(--smp-v2-transition)}}
@media (min-width:768px){.smp-v2-sticky{display:none}}
/* R170-A11Y (a11y review A9): on very short screens (landscape phones, 400% zoom) the sticky bar would cover a quarter of the view; the header Book link and the form remain. TO UNDO: delete. */
@media (max-height:420px){.smp-v2-sticky{display:none}}
