/* Shared footer refinement. Layout remains in the page's normal scroll flow. */
.footer{--of-ink:var(--ink);--of-muted:var(--muted);--of-line:var(--line);--of-accent:var(--orange-ink);padding-block:48px 30px}
body#top.agency-site.os-studio .oz-site-footer{--of-ink:var(--oz-ink,#17202a);--of-muted:var(--oz-muted,#687079);--of-line:var(--oz-line,#e8e2d4);--of-accent:#b54b22;padding-block:48px 30px}
.footer .footer-grid,body#top.agency-site.os-studio .oz-site-footer-grid{display:grid;grid-template-columns:minmax(0,1.35fr) repeat(2,minmax(0,1fr)) minmax(0,1.3fr);gap:clamp(24px,3.2vw,76px);align-items:start}
.footer .footer-grid>*,body#top.agency-site.os-studio .oz-site-footer-grid>*{min-width:0}
.footer .footer-brand,body#top.agency-site.os-studio .oz-site-footer-brand>a{display:inline-flex;align-items:center;min-height:44px;width:max-content;max-width:100%}
.footer .footer-brand svg,body#top.agency-site.os-studio .oz-site-footer-brand img{display:block;max-width:100%;width:135px;height:auto}
.footer .footer-description,body#top.agency-site.os-studio .oz-site-footer-brand>p{max-width:34ch;margin:14px 0 16px;color:var(--of-muted);font-size:14px;line-height:1.8}
.footer :is(.footer-directory,.footer-contact)>h2,body#top.agency-site.os-studio .oz-site-footer-links>h2{font:750 11px/1.4 var(--body,"Oznex Jakarta",sans-serif);color:var(--of-muted);letter-spacing:.12em;text-transform:uppercase;margin:0 0 12px}
.footer .footer-links,body#top.agency-site.os-studio .oz-site-footer-links{display:flex;flex-direction:column;align-items:stretch;gap:2px}
.footer .footer-links>a,body#top.agency-site.os-studio .oz-site-footer-links>a,body#top.agency-site.os-studio .oz-site-footer-address>a{display:flex;align-items:center;gap:5px;min-height:40px;max-width:100%;padding:6px 0;color:var(--of-ink);font-size:14px;line-height:1.6;text-decoration:none;overflow-wrap:anywhere}
.footer .footer-links>a:hover,body#top.agency-site.os-studio .oz-site-footer-links a:hover{color:var(--of-accent)}
.footer .footer-links,body#top.agency-site.os-studio .oz-site-footer-address{font-style:normal;margin:0}
body#top.agency-site.os-studio .oz-site-footer-address{display:flex;flex-direction:column;gap:2px;min-width:0}
.footer .footer-location,body#top.agency-site.os-studio .oz-site-footer-location{display:block;max-width:34ch;color:var(--of-muted);font-size:12px;line-height:1.8;margin-top:12px;overflow-wrap:anywhere}
.footer .socials,body#top.agency-site.os-studio .oz-site-socials{display:flex;flex-wrap:wrap;align-items:center;gap:8px;max-width:100%}
.footer .socials .social{height:auto;min-height:44px;max-width:100%;padding:10px 12px;font-size:12px;line-height:1.4;text-decoration:none;overflow-wrap:anywhere}
.footer .socials .social>span{min-width:0}
body#top.agency-site.os-studio .oz-site-socials>a{width:44px;height:44px;min-width:44px;min-height:44px;flex:none}
.footer .footer-legal,body#top.agency-site.os-studio .oz-site-footer-bottom{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px 28px;border-top:1px solid var(--of-line);margin-top:32px;padding-top:20px;font-size:12px;line-height:1.6;color:var(--of-muted)}
body#top.agency-site.os-studio .oz-site-footer-bottom{grid-template-columns:auto minmax(0,1fr) 44px}
.footer .footer-legal>span,body#top.agency-site.os-studio .oz-site-footer-bottom>span{width:auto;margin:0}
.footer .footer-legal-links,body#top.agency-site.os-studio .oz-site-footer-legal{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:2px 22px;min-width:0}
.footer .footer-legal-links>a,body#top.agency-site.os-studio .oz-site-footer-legal>a{display:inline-flex;align-items:center;min-height:40px;max-width:100%;padding:6px 0;color:var(--of-muted);font-size:12px;line-height:1.6;text-decoration:none;overflow-wrap:anywhere}
.footer .footer-legal-links>a:hover,body#top.agency-site.os-studio .oz-site-footer-legal>a:hover{color:var(--of-accent)}
body#top.agency-site.os-studio .oz-site-back-top{display:grid;place-items:center;width:44px;height:44px;min-width:44px;border:1px solid var(--of-line);border-radius:50%;font-size:20px;line-height:1;text-decoration:none;margin:0;color:var(--of-ink)}
body#top.agency-site.os-studio .oz-site-payment{display:flex;align-items:center;flex-wrap:wrap;gap:16px 24px;margin-top:26px;max-width:100%;font-size:12px;line-height:1.8;color:var(--of-muted)}
body#top.agency-site.os-studio .oz-site-payment img{display:block;width:280px;max-width:100%;height:auto}
body#top.agency-site.os-studio .oz-site-payment p{margin:0;max-width:55ch;font-size:12px}
.footer :is(a,button):focus-visible,body#top.agency-site.os-studio .oz-site-footer :is(a,button):focus-visible{outline:3px solid var(--of-accent);outline-offset:4px;border-radius:6px}
.footer a,body#top.agency-site.os-studio .oz-site-footer a{scroll-margin-block:100px}
@media(max-width:900px){
 .footer,body#top.agency-site.os-studio .oz-site-footer{padding-block:32px 24px}
 .footer .footer-grid,body#top.agency-site.os-studio .oz-site-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px}
 .footer .footer-brand-column,body#top.agency-site.os-studio .oz-site-footer-brand{grid-column:1/-1}
 .footer .footer-contact,body#top.agency-site.os-studio .oz-site-footer-contact{grid-column:1/-1}
 .footer .footer-links>a,body#top.agency-site.os-studio .oz-site-footer-links>a,body#top.agency-site.os-studio .oz-site-footer-address>a{min-height:44px;font-size:13px}
 .footer .footer-legal,body#top.agency-site.os-studio .oz-site-footer-bottom{grid-template-columns:minmax(0,1fr);gap:10px;margin-top:28px;padding-top:20px}
 body#top.agency-site.os-studio .oz-site-footer-bottom{grid-template-columns:minmax(0,1fr) 44px}
 body#top.agency-site.os-studio .oz-site-footer-bottom>span{grid-column:1/-1}
 .footer .footer-legal-links,body#top.agency-site.os-studio .oz-site-footer-legal{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 18px;justify-content:start}
 .footer .footer-legal-links>a,body#top.agency-site.os-studio .oz-site-footer-legal>a{min-height:44px;font-size:12px}
 body#top.agency-site.os-studio .oz-site-back-top{align-self:end}
 body#top.agency-site.os-studio .oz-site-payment{align-items:flex-start;gap:12px}
}
@media(max-width:420px){
 .footer .footer-grid,body#top.agency-site.os-studio .oz-site-footer-grid{column-gap:18px}
 body#top.agency-site.os-studio .oz-site-footer-legal{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){.footer *,body#top.agency-site.os-studio .oz-site-footer *{scroll-behavior:auto;transition:none!important}}
/* Legacy footer margins must not pin the constrained footer to the viewport edge. */
body#top.agency-site.os-studio .oz-site-footer{float:none!important;clear:both;margin-inline:auto!important}
.footer .footer-legal { grid-template-columns: auto minmax(0,1fr) 44px; }
.footer .footer-back-top { display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border:1px solid var(--of-line);border-radius:50%;background:transparent;color:var(--of-ink);cursor:pointer; }
.footer .footer-back-top svg { width:20px;height:20px; }
.footer .footer-language { display:flex;flex-wrap:wrap;gap:6px 15px;margin-top:15px;color:var(--of-muted);font-size:11px; }
.footer .footer-language a { display:inline-flex;align-items:center;min-height:32px;color:inherit;text-decoration:none; }
.footer .footer-language a[aria-current] { color:var(--of-ink);text-decoration:underline;text-underline-offset:4px; }
.footer .footer-payment-note { margin-top:26px;color:var(--of-muted);font-size:12px;line-height:1.8; }
@media(max-width:900px) {
 .footer .footer-legal { grid-template-columns:minmax(0,1fr) 44px; }
 .footer .footer-legal>span { grid-column:1/-1; }
 .footer .footer-back-top { align-self:end; }
}
