/* Shared footer (W3-T5, A32): the same markup in layout.html, result.html and account.html
   (copied from footer.html). Both languages are in the markup; html[lang] shows one. */
.g-footer{border-top:1px solid var(--line);background:var(--inset);color:var(--ink);font:16px/1.6 var(--body);padding:44px 0 26px}
.g-footer *{box-sizing:border-box}
html:not([lang="en"]) .g-footer [data-fl="en"],html[lang="en"] .g-footer [data-fl="et"]{display:none}
.g-footer .g-footer-inner{width:min(var(--content),calc(100% - 64px));margin-inline:auto}
.g-footer .g-footer-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1.2fr;gap:40px}
.g-footer .g-footer-about{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.g-footer .g-footer-brand{display:inline-flex;align-items:center;gap:9px;min-height:44px;color:var(--navy);text-decoration:none}
.g-footer .g-footer-brand img{display:block;width:28px;height:28px;flex:none}
.g-footer .g-footer-brand strong{font-size:20px;letter-spacing:-.02em}
.g-footer .g-footer-brand span{border-left:1px solid var(--line-strong);padding-left:9px;color:var(--muted);font-size:13px;line-height:1.3}
.g-footer .g-footer-promise{margin:10px 0 18px;max-width:34ch;color:var(--muted);font-size:14px;line-height:1.65}
.g-footer .g-footer-contact{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1px solid var(--line-strong);border-radius:999px;background:var(--surface);color:var(--ink);font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
.g-footer .g-footer-contact:hover{background:var(--paper);border-color:var(--ink)}
.g-footer .g-footer-col{min-width:0}
.g-footer .g-footer-h{display:flex;align-items:center;min-height:44px;margin:0 0 2px;color:var(--ink);font:800 14px/1.4 var(--body);letter-spacing:0;text-wrap:initial}
.g-footer .g-footer-list,.g-footer .g-footer-facts,.g-footer .g-footer-legal{list-style:none;margin:0;padding:0}
.g-footer .g-footer-list a{display:inline-flex;align-items:center;min-height:44px;min-width:44px;color:var(--ink);font-size:14px;font-weight:600;text-decoration:none}
.g-footer .g-footer-list a:hover,.g-footer .g-footer-legal a:hover,.g-footer .g-footer-facts a:hover{text-decoration:underline;text-underline-offset:4px}
.g-footer .g-footer-facts li{color:var(--muted);font-size:14px;line-height:1.6;padding:3px 0}
.g-footer .g-footer-facts a{display:inline-flex;align-items:center;min-height:44px;min-width:44px;color:var(--ink);font-weight:600;text-decoration:none;white-space:nowrap}
.g-footer .g-footer-phone{white-space:nowrap;font-variant-numeric:tabular-nums}
.g-footer .g-footer-bottom{margin-top:36px;border-top:1px solid var(--line);padding-top:10px}
.g-footer .g-footer-legal{display:flex;flex-wrap:wrap;gap:0 24px}
.g-footer .g-footer-legal a{display:inline-flex;align-items:center;min-height:44px;min-width:44px;color:var(--muted);font-size:13px;text-decoration:none}
.g-footer .g-footer-meta{display:flex;align-items:flex-end;justify-content:space-between;gap:12px 40px;margin-top:10px}
.g-footer .g-footer-disclaimer{margin:0;max-width:780px;color:var(--muted);font-size:12px;line-height:1.65}
.g-footer .g-footer-copy{margin:0;color:var(--muted);font-size:12px;line-height:1.65;white-space:nowrap}
.g-footer a:focus-visible{outline:3px solid var(--brand);outline-offset:2px;border-radius:4px}
@media (max-width:1023px){
 .g-footer .g-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 32px}
 .g-footer .g-footer-about{grid-column:1/-1}
}
@media (max-width:640px){
 .g-footer{padding:32px 0 22px}
 .g-footer .g-footer-inner{width:calc(100% - 32px)}
 .g-footer .g-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}
 .g-footer .g-footer-company{grid-column:1/-1}
 .g-footer .g-footer-bottom{margin-top:28px}
 .g-footer .g-footer-legal{gap:0 20px}
 .g-footer .g-footer-meta{flex-direction:column;align-items:flex-start;gap:8px}
}
