/* ==========================================================================
   ABLENTRA V15 — Buzz footer (fresh, 2026-11-08)
   Follows the ACTUAL Buzz Interactive footer composition (buzzinteractive.co)
   with Ablentra content and Ablentra orange #FF5A1F (NEVER Buzz pink):
   pure BLACK background, rounded-top panel, "Contact Us" heading + large
   white statement + "Let's Start" white-outline pill + large orange
   circular button, underline-only contact form, interest + budget pills,
   huge full-width orange Submit, offices/contact row with REAL info only,
   social pills only for real URLs, "Let's go up" back-to-top, centred Powered-by-style bar + legal links + © line.
   NO link columns in the Buzz sense: Ablentra's service (11) + industry
   (18) links live in one compact navigation area above the contact row —
   all links kept, none dropped.
   NO MercuryAI light footer, NO invented 4-column footer, NO giant
   wordmark (the old .footer-giant-v10 is removed from the markup).

   DEEP-AUDIT NOTE (the V14 footer bug): the base rule
   `.site-footer a{color:rgba(255,255,255,.82)}` (premium-2026-11-07.css,
   specificity 0,1,1) beat plain 0,1,0 rules and rendered invisible text.
   Every rule below therefore uses footer.site-footer.v15-footer (0,2,1+)
   with EXPLICIT colours, loads LAST in <head>, and is verified by
   computed-style tests at desktop + mobile widths. This footer is BLACK,
   so the risk is inverted vs V14 — every text/link/button colour below
   is a light value on #0E0E0F (contrast >= 4.5:1, verified).
   ========================================================================== */

/* --- shell: pure black, rounded top -------------------------------------- */
footer.site-footer.v15-footer {
  background: #0E0E0F !important;
  color: #F7F7F5 !important;
  border-radius: 32px 32px 0 0 !important;
  margin: clamp(4rem, 8vw, 7rem) 0 0 !important;
  padding: 0 !important;
  overflow: hidden;
  isolation: isolate;
  position: relative;
}
footer.site-footer.v15-footer::before { content: none !important; } /* kill old orange glow */
footer.site-footer.v15-footer .footer-giant-v10 { display: none !important; }

.v15-foot-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.4rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem) 0;
}

/* --- top: heading + statement + form ------------------------------------ */
.v15-foot-top {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-bottom: clamp(1.4rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(244, 244, 242, .14);
}
.v15-foot-kicker {
  margin: 0 0 .9rem;
  font-size: .8rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: #FF5A1F;
}
.v15-foot-h {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.08;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  color: #FFFFFF;
  max-width: 16ch;
  text-wrap: balance;
}
/* V16 video: "Let's Start" pill + orange arrow are ONE connected CTA — the row
   is the single pill outline; the two links are its joined halves (the arrow
   keeps its /free-audit/ target, the text keeps /contact/). No gap, no float. */
.v15-foot-cta-row { display: inline-flex; align-items: stretch; gap: 0; margin-top: 1.8rem; border: 1px solid #FFFFFF; border-radius: 999px; overflow: hidden; width: max-content; max-width: 100%; }
.v15-foot-start {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .8rem 1.7rem;
  border: 0; border-radius: 0;
  background: transparent; color: #FFFFFF !important;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.v15-foot-start:hover, .v15-foot-start:focus-visible {
  background: #FFFFFF; color: #0E0E0F !important;
}
.v15-foot-round {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; min-height: 52px; flex: none;
  border-radius: 0; border: 0; border-left: 1px solid rgba(255, 255, 255, .4);
  background: #FF5A1F; color: #FFFFFF !important;
  font-size: 1.5rem; line-height: 1; text-decoration: none;
  transition: background .2s ease;
}
.v15-foot-round:hover, .v15-foot-round:focus-visible { background: #E94A14; }
.v15-foot-mail {
  display: block; margin-top: 1.6rem;
  color: #F7F7F5 !important; font-weight: 600; font-size: 1.05rem;
  text-decoration: none; border-bottom: 1px solid rgba(244, 244, 242, .3);
  padding-bottom: 2px; width: max-content; max-width: 100%; word-break: break-all;
}
.v15-foot-mail:hover { color: #FF5A1F !important; border-color: #FF5A1F; }
.v15-foot-remote { margin: .9rem 0 0; color: #D9D9DE; font-size: .95rem; line-height: 1.5; }

/* --- Buzz-style underline-only form -------------------------------------- */
.v15-foot-form { min-width: 0; }
.v15-foot-form .v15-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem;
}
footer.site-footer.v15-footer .v15-field {
  display: flex; flex-direction: column; gap: .35rem;
  padding: .4rem 0;
}
footer.site-footer.v15-footer .v15-field > span {
  font-size: .88rem; font-weight: 700; letter-spacing: .04em;
  color: #E9E9E6; /* V16 video: was tiny .72-grey on black, unreadable */
}
footer.site-footer.v15-footer .v15-field input,
footer.site-footer.v15-footer .v15-field select,
footer.site-footer.v15-footer .v15-field textarea {
  width: 100%;
  padding: .55rem 0;
  border: 0; border-bottom: 1px solid rgba(244, 244, 242, .65); border-radius: 0;
  background: rgba(244, 244, 242, .05); /* V16 video: fields must read as fields */
  padding-inline: .6rem;
  color: #FFFFFF;
  font: inherit; font-size: 1rem; line-height: 1.45;
  outline: none;
  -webkit-appearance: none; appearance: none;
}
footer.site-footer.v15-footer .v15-field input::placeholder,
footer.site-footer.v15-footer .v15-field textarea::placeholder { color: rgba(244, 244, 242, .6); }
footer.site-footer.v15-footer .v15-field input:focus,
footer.site-footer.v15-footer .v15-field select:focus,
footer.site-footer.v15-footer .v15-field textarea:focus {
  border-bottom: 2px solid #FF5A1F;
}
footer.site-footer.v15-footer .v15-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23F7F7F5' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .2rem center;
  padding-right: 1.6rem; cursor: pointer;
}
footer.site-footer.v15-footer .v15-field select option { color: #0E0E0F; background: #FFFFFF; }
footer.site-footer.v15-footer .v15-field textarea { resize: vertical; min-height: 3.5rem; }
footer.site-footer.v15-footer .v15-field--full { grid-column: 1 / -1; }
footer.site-footer.v15-footer .v15-field input.is-invalid,
footer.site-footer.v15-footer .v15-field textarea.is-invalid { border-bottom-color: #FF6B5E; }

/* pills: interest (checkbox) + budget (radio) */
.v15-pill-group { grid-column: 1 / -1; padding: .55rem 0; }
.v15-pill-group > span {
  display: block; margin-bottom: .6rem;
  font-size: .88rem; font-weight: 700; letter-spacing: .04em;
  color: #E9E9E6; /* V16 video: label contrast */
}
.v15-pills { display: flex; flex-wrap: wrap; gap: .55rem; }
.v15-pill {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: .45rem 1rem;
  border: 1px solid rgba(244, 244, 242, .35); border-radius: 999px;
  color: rgba(244, 244, 242, .85); font-size: .92rem; font-weight: 600;
  cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.v15-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.v15-pill:hover { border-color: #F7F7F5; }
.v15-pill:has(input:checked) { background: #FF5A1F; border-color: #FF5A1F; color: #FFFFFF; }
.v15-pill:has(input:focus-visible) { outline: 2px solid #FF5A1F; outline-offset: 3px; }

/* huge full-width orange submit */
footer.site-footer.v15-footer .v15-submit {
  display: block; width: 100%;
  min-height: 60px; margin-top: 1rem;
  padding: .95rem 1.5rem;
  border: 0; border-radius: 14px;
  background: #FF5A1F; color: #0E0E0F; /* QA D1: ink on orange = 6.19:1 (WCAG AA); white was 3.12:1 */
  font: inherit; font-size: 1.1rem; font-weight: 800; line-height: 1.2;
  cursor: pointer;
  transition: background .2s ease, opacity .2s ease;
}
footer.site-footer.v15-footer .v15-submit:hover:not(:disabled) { background: #E94A14; }
footer.site-footer.v15-footer .v15-submit:disabled { opacity: .45; cursor: not-allowed; }
footer.site-footer.v15-footer .v15-submit:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.v15-form-note { margin: .6rem 0 0; color: #C9C9CE; font-size: .88rem; line-height: 1.5; }
.v15-form-note a { color: #F7F7F5 !important; }
.v15-form-note a:hover { color: #FF5A1F !important; }
.v15-form-status { margin: .6rem 0 0; color: #F7F7F5; font-size: .95rem; }
.v15-form-status.is-error { color: #FF9D8F; }

/* --- compact link navigation (keeps ALL service + industry links) -------- */
.v15-foot-links {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem 2rem;
  padding: clamp(1.8rem, 4vw, 2.6rem) 0;
  border-bottom: 1px solid rgba(244, 244, 242, .14);
}
.v15-foot-links h3 {
  margin: 0 0 .8rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: #A9A9B0;
}
.v15-foot-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .1rem; }
footer.site-footer.v15-footer .v15-foot-links a {
  display: inline-flex; align-items: center; min-height: 36px;
  color: rgba(244, 244, 242, .82) !important; font-size: .95rem; text-decoration: none;
  transition: color .2s ease, transform .25s ease;
}
footer.site-footer.v15-footer .v15-foot-links a:hover,
footer.site-footer.v15-footer .v15-foot-links a:focus-visible { color: #FF5A1F !important; transform: translateX(4px); }
.v15-foot-links .v15-foot-industries { columns: 2; column-gap: 1.5rem; display: block; }
.v15-foot-links .v15-foot-industries li { break-inside: avoid; }

/* --- contact row: email + social ----------------------------------------- */
.v15-foot-contact {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.6rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(244, 244, 242, .14);
}
.v15-foot-contact .v15-foot-mail { margin-top: 0; }
.v15-foot-social { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0 0 0 auto; padding: 0; }
.v15-foot-social a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: .55rem 1.1rem;
  border: 1px solid rgba(244, 244, 242, .3); border-radius: 999px;
  color: #F7F7F5 !important; font-weight: 600; font-size: .92rem; text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.v15-foot-social a:hover, .v15-foot-social a:focus-visible {
  background: #FF5A1F; border-color: #FF5A1F; color: #FFFFFF !important;
}

/* --- V16 D8: orange-blob field REMOVED (owner order) — clean black footer bottom --- */
/* --- bottom bar: Powered-by + legal + © + Let's go up -------------------- */
.v15-foot-bottom {
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  text-align: center;
  padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) calc(1.6rem + env(safe-area-inset-bottom));
  color: #D9D9DE; font-size: .95rem; /* V16 video: was small low-contrast grey */
}
.v15-powered { margin: 0; color: #D9D9DE; }
.v15-powered strong { color: #F7F7F5; font-weight: 800; letter-spacing: .06em; }
.v15-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1.4rem; margin: 0; }
footer.site-footer.v15-footer .v15-legal a {
  display: inline-block; min-height: 44px; line-height: 44px;
  color: #D9D9DE !important; text-decoration: none;
}
footer.site-footer.v15-footer .v15-legal a:hover,
footer.site-footer.v15-footer .v15-legal a:focus-visible { color: #FF5A1F !important; }
.v15-copy { margin: 0; }
footer.site-footer.v15-footer .v15-go-up {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px;
  color: #F7F7F5 !important; font-weight: 700; text-decoration: none;
}
footer.site-footer.v15-footer .v15-go-up:hover { color: #FF5A1F !important; }

/* --- floating "Let's go up" button (D11: on EVERY page) ------------------- */
.v15-to-top {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 900;
  width: 48px; height: 48px;
  border: 0; border-radius: 50%;
  background: #FE5C22; color: #FFFFFF; /* V17 definitive spec: orange #FE5C22 */
  font-size: 1.25rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px -8px rgba(14, 14, 15, .5);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .2s ease;
}
.v15-to-top.v15-show { opacity: 1; visibility: visible; transform: none; }
.v15-to-top:hover, .v15-to-top:focus-visible { background: #F26223; }
.v15-to-top:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
/* The older scroll-progress FAB does the same job with no label — the V15
   button replaces it so there is exactly one floating button. */
.back-top-fab { display: none !important; }

/* --- responsive: 1-column stack <= 760px ---------------------------------- */
@media (max-width: 1020px) {
  .v15-foot-top { grid-template-columns: 1fr; }
  .v15-foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v15-foot-links .v15-foot-col--industries { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  footer.site-footer.v15-footer { border-radius: 26px 26px 0 0 !important; }
  .v15-foot-form .v15-form-grid { grid-template-columns: 1fr; }
  .v15-foot-links { grid-template-columns: 1fr; gap: 1.4rem; }
  .v15-foot-links .v15-foot-industries { columns: 2; }
  .v15-foot-social { margin-left: 0; }
  .v15-foot-cta-row { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .v15-foot-links .v15-foot-industries { columns: 1; }
  .v15-foot-round { width: 52px; height: 52px; }
}

/* --- reduced motion --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .v15-foot-start, .v15-foot-round, .v15-to-top, .v15-pill { transition: none; }
}

/* V16 video: on narrow screens the 5 legal links wrapped with Sitemap alone
   on its own line — tighten so all five fit one centred row. */
@media (max-width: 480px) {
  footer.site-footer.v15-footer .v15-legal { gap: .2rem .9rem; }
  footer.site-footer.v15-footer .v15-legal a { font-size: .85rem; }
}
