/* Shared studio footer; maintained with Компоненты/footer.html. */
.studio-footer{padding:56px 0 28px;color:var(--fg);border-top:1px solid var(--line);margin-top:24px}
.studio-footer-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 280px;gap:32px;align-items:start}
.studio-footer-wordmark{display:inline-flex;text-decoration:none}
.studio-footer-brand p{font-size:var(--secondary);line-height:1.5;color:var(--muted);margin:12px 0 0}
.studio-footer-nav{display:grid;gap:12px;font-size:var(--secondary);line-height:1.5;justify-items:start}
.studio-footer-contact h2{font-size:var(--secondary);line-height:1.5;font-weight:400;color:var(--muted);margin:0 0 12px}
.studio-footer-phone{font-size:28px;font-weight:700;line-height:1.2;white-space:nowrap;letter-spacing:-.025em}
.studio-footer-messengers{display:flex;flex-wrap:wrap;gap:12px 20px;margin-top:20px;font-size:var(--secondary);line-height:1.5}
.studio-footer-messengers>a,.studio-footer-messengers>span{color:var(--fg);font-weight:500}
.studio-footer-messengers>a[href^="mailto:"]{flex-basis:100%}
.studio-footer a:hover{color:var(--yellow)}
.studio-footer a:focus-visible{outline:2px solid var(--yellow);outline-offset:5px}
.studio-footer-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 280px;gap:32px;margin-top:48px;font-size:var(--caption);line-height:1.6;color:var(--muted)}
.studio-footer-bottom>div{display:grid;gap:4px;grid-column:1/3}
.studio-footer-bottom>a{grid-column:3}
@media(max-width:900px){.studio-footer-main{grid-template-columns:1fr 1fr;gap:32px}.studio-footer-contact{grid-column:1/-1}.studio-footer-bottom{margin-top:40px;grid-template-columns:1fr 1fr}.studio-footer-bottom>div{grid-column:1}.studio-footer-bottom>a{grid-column:2}}
@media(max-width:520px){.studio-footer{padding-top:32px}.studio-footer-main{grid-template-columns:1fr;gap:28px}.studio-footer-nav{display:flex;flex-wrap:wrap;gap:12px 24px}.studio-footer-bottom{grid-template-columns:1fr;gap:20px}.studio-footer-bottom>div,.studio-footer-bottom>a{grid-column:1}.studio-footer-wordmark{display:inline-flex;text-decoration:none}}

/* Single artwork and display size for the shared header and footer. */
.studio-logo{display:block;width:179px;height:46px;max-width:none;object-fit:contain}

@media(pointer:coarse){
 .studio-footer-nav>a,.studio-footer-messengers>a{display:inline-flex;align-items:center;min-height:44px}
}
