/* Footer v2 — copied from colleague miaconsultgroup_site
   (css/mcg.css footer v2 + offices + later social sizes, css/mcg-dock.css messengers).
   Mialegal content/texts stay unchanged. */

/* offices + rzetelna (mcg.css) */
.f-offices p,.f-hours{margin:0 0 12px;font-size:14px;line-height:1.5;color:var(--b-muted)}
.f-offices p b{display:block;font-size:12.5px;font-weight:650;letter-spacing:.04em;color:#B9C7CF;margin-bottom:2px}
.f-hours{margin:5px 0}
.f-rzetelna{display:inline-flex;margin-top:4px;opacity:.9;transition:opacity .2s}
.f-rzetelna:hover{opacity:1}
.f-rzetelna img{height:36px;width:auto}

/* footer v2 brand row · columns · legal row (mcg.css) */
.f-v2 .f-brand{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px 40px;padding-bottom:36px;margin-bottom:40px;border-bottom:1px solid var(--b-line)}
.f-v2 .f-brand p{margin:0;max-width:520px;font-size:14px;line-height:1.55;color:var(--b-muted)}
.f-trust{display:flex;align-items:center;gap:16px}
.f-trust .socials{display:flex;gap:8px}
.f-trust .socials a{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.08)}
.f-trust .socials a:hover{background:rgba(19,184,238,.2)}
.f-trust .socials img{width:18px;height:18px}
.f-note{display:block;margin-top:6px;font-size:12.5px;font-weight:650;letter-spacing:.06em;color:#7F949F}
.f-bottom2{flex-wrap:wrap}
.f-legal{display:flex;flex-wrap:wrap;gap:6px 18px}
.f-legal a,.f-legal .f-ck{font-size:13.5px;color:#A3B4BE;padding:0;min-height:0}
.f-legal a:hover,.f-legal .f-ck:hover{color:#8EE3FE}
@media (max-width:1180px){.f-bottom2 .f-copy{flex-basis:100%}}
@media (max-width:1100px){
  .f-v2 .f-brand{grid-template-columns:auto minmax(0,1fr)}.f-trust{grid-column:1/-1}
}
@media (max-width:768px){
  .f-v2 .f-brand{grid-template-columns:1fr;gap:16px;padding-bottom:28px;margin-bottom:32px}
  .f-v2 .f-brand p{font-size:15px}
  .f-trust .socials a{width:44px;height:44px}
  .f-legal{gap:4px 18px}.f-legal a,.f-legal .f-ck{font-size:14.5px;padding:8px 0}
  .f-offices p{font-size:15px}
}

/* 5 columns — typography of f-cols6, track count matches Mialegal (no Grupa MIA col) */
.b-footer.f-v2 .b-fcols.f-cols5{grid-template-columns:1.15fr .95fr 1.15fr 1.3fr 1.1fr;gap:28px;padding-bottom:40px;border-bottom:1px solid var(--b-line)}
.b-footer.f-v2 .f-cols5 .f-offices p{margin:0 0 4px}
@media (max-width:1100px){.b-footer.f-v2 .b-fcols.f-cols5{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 28px}}
@media (max-width:639px){.b-footer.f-v2 .b-fcols.f-cols5{grid-template-columns:1fr 1fr;gap:28px 20px}}
@media (max-width:374px){.b-footer.f-v2 .b-fcols.f-cols5{grid-template-columns:1fr}}

/* messenger icons in footer (mcg-dock.css) */
.ico-m{display:block;flex:none;width:24px;height:24px;border-radius:50%}
.b-fcols a.f-msg{display:flex;align-items:center;gap:9px}
.f-msg .ico-m{width:20px;height:20px}

/* Footer socials — same size as later colleague patch / approved Mialegal sizes */
.b-footer .f-trust .socials{display:flex;flex-wrap:wrap;gap:10px}
.b-footer .f-trust .socials a{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.08);border:0}
.b-footer .f-trust .socials a:hover{background:rgba(255,255,255,.16)}
.b-footer .f-trust .socials img{width:40px;height:40px;filter:brightness(12);display:block}
@media (max-width:700px){
  .b-footer .f-trust .socials a{width:52px;height:52px}
  .b-footer .f-trust .socials img{width:44px;height:44px}
}

/* Wide Mialegal logo in kit header; Safari sticky height cap */
@media (min-width:641px){
  .site-header{height:72px}
}
.site-header .logo img{height:36px;width:auto;max-width:220px;object-fit:contain;max-height:40px}
@media (max-width:720px){
  .site-header .logo img{height:28px;max-width:180px}
}
#dd-uslugi .ml-dd{position:relative;z-index:1}

.f-v2 .b-flogo{height:46px;width:auto;max-width:240px;object-fit:contain}
