/* The footer of zafiksirovano.ru, one and the same on every page (the owner, 22.11.2026): the requisites with
   Telegram and Max, the service, the documents and contacts, the lawyer; under them both services. Its markup is
   pro/site/_foot.html, which app/cmd/editionbuild puts on every page with a footer, with this stylesheet in the head.
   The landing has the colours of pro.css, the other pages those of the design system: the footer takes whichever
   colours the page has. */

:root { --foot-on-green: #191b1e; } /* the text on green where the page names none */

.p-foot {
  --f-ink: var(--PRGRM_color-ink, var(--ink));
  --f-body: var(--PRGRM_color-body, var(--body));
  --f-line: var(--PRGRM_color-line, var(--line));
  --f-green: var(--PRGRM_color-green, var(--green));
  --f-green-dark: var(--PRGRM_color-green-dark, var(--green-dark));
  --f-on-green: var(--zt-on-green, var(--on-green, var(--foot-on-green)));
  --f-font: var(--PRGRM_font-body, var(--font-body));
  padding-bottom: 48px;
  font-family: var(--f-font);
}
.p-foot .p-foot-in { display: flex; flex-wrap: wrap; gap: 28px 56px; padding-top: 32px; border-top: 2px solid var(--f-green); }
.p-foot .p-foot-brand { flex: 1 1 240px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.p-foot .p-foot-req, .p-foot .p-foot-law { margin: 0; font: 400 15px/1.6 var(--f-font); color: var(--f-body); }
.p-foot .p-foot-law { flex: 1 1 240px; }
.p-foot .p-foot-nav { flex: 1 1 200px; display: flex; flex-direction: column; align-items: flex-start; font: 400 16px/1.4 var(--f-font); }
.p-foot .p-foot-nav a { padding: 8px 0; }
.p-foot .p-foot-nav a, .p-foot .p-foot-law a { color: var(--f-ink); text-decoration: underline; text-underline-offset: 4px; }
.p-foot .p-foot-nav a[aria-current="page"] { text-decoration: none; }
.p-foot a:focus-visible { outline: 3px solid var(--f-green-dark); outline-offset: 3px; }
.p-foot a:active { opacity: .8; }

/* Telegram and Max: round buttons with a green edge, filled with green under the pointer. */
.p-foot .p-foot-social { display: flex; gap: 8px; }
.p-foot .p-foot-round { display: inline-grid; place-items: center; width: 48px; height: 48px; box-sizing: border-box; border: 2px solid var(--f-green); border-radius: 50%; color: var(--f-ink); text-decoration: none; }
.p-foot .p-foot-round:hover { background: var(--f-green); color: var(--f-on-green); }
.p-foot .p-foot-ico { display: block; width: 22px; height: 22px; }

/* Both services: the logo, the link and for whom. */
.p-foot .z-svcs { display: flex; flex-wrap: wrap; gap: 20px 56px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--f-line); }
.p-foot .z-svc { flex: 1 1 300px; max-width: 520px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: inherit; text-decoration: none; }
.p-foot .z-svc img { display: block; width: auto; height: 24px; }
.p-foot .z-svc span { font: 400 16px/1.5 var(--f-font); color: var(--f-body); }
.p-foot .z-svc:hover span { color: var(--f-ink); text-decoration: underline; text-underline-offset: 4px; }
:root[data-theme="dark"] .p-foot .z-svc img { filter: invert(1); }

/* On the pages of the design system the footer stands at the bottom of the window, below a short page too. */
body:has(> main.z-wrap > .p-foot) { min-height: 100dvh; display: flex; flex-direction: column; }
main.z-wrap:has(> .p-foot) { flex: 1 0 auto; display: flex; flex-direction: column; padding-bottom: 0; }
main.z-wrap > .p-foot { margin-top: auto; padding-top: 48px; }
