/* Shared kicker (from Miabiznes ig-base5), previously missing on this page */
.kicker{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:650;letter-spacing:.12em;text-transform:uppercase;color:#8EE3FE;margin-bottom:18px}
.kicker i{width:8px;height:8px;border-radius:50%;background:#68E2B4;display:inline-block;box-shadow:0 0 0 4px rgba(104,226,180,.28);flex:none}

/* MIA Legal — homepage only. Dark A tokens come from ig-base5 + ig-style + ig-body.
   Unique hero and legal sections live here. */

/* Official wordmark is wider than MIA BIZNES; keep aspect and header chrome. */
.site-header .header-inner{gap:8px}
.site-header .header-tools{gap:6px}
.site-header .logo{flex:none}
.site-header .logo img{flex:none;width:auto;max-width:none}
.site-header .nav a,.site-header .nav-dd-btn{white-space:nowrap;padding-left:8px;padding-right:8px}
@media (max-width:1100px){
  .site-header .header-inner{gap:14px}
}
@media (max-width:1000px){
  .site-header .header-inner{gap:10px}
  .site-header .nav a,.site-header .nav-dd-btn{padding-left:8px;padding-right:8px}
}
@media (min-width:901px) and (max-width:999px){
  .site-header .logo img{height:32px}
  .site-header .header-inner{gap:8px}
}

/* language menu on click (.open) in addition to hover */
.lang.open .lang-menu{display:block}
.lang.open .lang-btn{box-shadow:0 8px 18px rgba(19,184,238,.16)}

/* ----- HERO: case dossier + plastic karta pobytu (NOT a laptop+phone) ----- */
.hero-zone{position:relative}
.ml-hero{padding:56px 0 80px;overflow:visible}
.ml-hero .hero-grid{grid-template-columns:minmax(0,0.92fr) minmax(0,1.12fr);gap:36px;align-items:center}
.ml-hero .hero-copy{position:relative;z-index:2}
.ml-kicker-mos{display:inline-flex;align-items:center;gap:8px;margin:0 0 18px;padding:6px 12px 6px 8px;border-radius:999px;background:rgba(19,184,238,.14);border:1px solid rgba(19,184,238,.38);color:#8EE3FE;font-size:12px;font-weight:650;letter-spacing:.12em;text-transform:uppercase;max-width:100%}
.ml-kicker-mos i{width:8px;height:8px;border-radius:50%;background:#13B8EE;box-shadow:0 0 0 4px rgba(19,184,238,.28);flex:none}
.ml-hero .hero-lead{max-width:540px}
.ml-hero .hero-note{margin-top:18px;font-size:13.5px;color:var(--muted);max-width:520px;line-height:1.5}
.ml-hero .hero-note a{color:#8EE3FE;font-weight:650}
.ml-hero .hero-note a:hover{text-decoration:underline}

.ml-stage{position:relative;min-height:560px;display:flex;align-items:center;justify-content:center}
.ml-dossier{position:relative;z-index:2;width:min(100%,520px);border-radius:28px;padding:22px 22px 26px;background:linear-gradient(180deg,rgba(18,40,54,.92),rgba(10,26,36,.96));border:1px solid rgba(255,255,255,.12);box-shadow:0 40px 90px rgba(0,0,0,.5),0 0 0 1px rgba(19,184,238,.16);overflow:hidden}
.ml-dossier::before{content:"";position:absolute;inset:-40% -20% auto auto;width:280px;height:280px;background:radial-gradient(circle,rgba(19,184,238,.28),transparent 70%);pointer-events:none}
.ml-dos-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;position:relative;z-index:1}
.ml-dos-who{display:flex;align-items:center;gap:10px}
.ml-ava{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#3FCBF5,#0E9FD3);color:#fff;font-weight:800;letter-spacing:-.04em;font-size:15px;flex:none}
.ml-dos-who b{display:block;font-size:14.5px;font-weight:750;letter-spacing:-.02em;color:#F3F7F9}
.ml-dos-who small{display:block;font-size:11.5px;color:#9FB2BC}
.ml-status{font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:6px 9px;border-radius:999px;color:#0B3B2C;background:#68E2B4;white-space:nowrap}
.ml-status.is-wait{background:rgba(255,160,79,.16);color:#FFD2AA;border:1px solid rgba(255,160,79,.4)}
.ml-status.is-done{background:#68E2B4;color:#0B3B2C;border:0}

.ml-bases{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px;position:relative;z-index:1}
.ml-bases button{appearance:none;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);color:#C9D6DE;border-radius:999px;padding:6px 10px;font:650 12px/1 Geist,system-ui,sans-serif;cursor:default}
.ml-bases button.is-on{background:var(--acc, #13B8EE);border-color:transparent;color:#04202C}

.ml-check{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;position:relative;z-index:1}
.ml-check li{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);font-size:13.5px;font-weight:550;color:#D0DADF;opacity:.45;transform:translateY(4px);transition:opacity .4s,transform .4s,border-color .3s,background .3s}
.ml-check li.is-on{opacity:1;transform:none;border-color:rgba(104,226,180,.35);background:rgba(104,226,180,.08)}
.ml-tick{
  box-sizing:border-box;
  width:20px;height:20px;border-radius:50%;
  flex:none;align-self:center;
  display:grid;place-items:center;line-height:0;
  border:1.5px solid rgba(255,255,255,.2);
  position:relative;
}
.ml-check li.is-on .ml-tick{border-color:#68E2B4;background:#68E2B4}
.ml-check li.is-on .ml-tick::after{
  content:"";
  position:static;left:auto;top:auto;
  width:10px;height:10px;
  border:0;transform:none;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B3B2C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.2l5 5L19.8 7'/></svg>") center/10px 10px no-repeat;
}

.ml-rail{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:16px;position:relative;z-index:1}
.ml-rail span{display:flex;flex-direction:column;gap:4px;padding:8px 8px 10px;border-radius:12px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07);font-size:10.5px;font-weight:650;color:#9FB2BC;letter-spacing:-.01em;text-align:center}
.ml-rail span b{display:block;font-size:11px;font-weight:800;color:#F3F7F9;letter-spacing:0}
.ml-rail span.is-on{border-color:rgba(19,184,238,.45);background:rgba(19,184,238,.12);color:#8EE3FE}
.ml-rail span.is-on b{color:#8EE3FE}
.ml-rail span.is-done{border-color:rgba(104,226,180,.4);background:rgba(104,226,180,.1)}
.ml-rail span.is-done b{color:#68E2B4}

/* plastic residence card, overlapping the dossier */
.ml-plastic{position:absolute;right:-8px;bottom:-28px;z-index:3;width:280px;aspect-ratio:85.6/54;border-radius:16px;padding:16px 16px 14px;color:#F3F7F9;
  background:
    linear-gradient(115deg,rgba(255,255,255,.10),transparent 40%),
    linear-gradient(180deg,#0B2230 0%,#0A1822 100%);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 28px 50px rgba(0,0,0,.5),0 0 0 1px rgba(19,184,238,.2);
  transform:rotate(-8deg) rotateX(6deg) rotateY(-12deg);
  transform-origin:left bottom;
  overflow:hidden;
  animation:mlFloat 7.5s ease-in-out infinite;
}
.ml-plastic::after{content:"";position:absolute;right:-20%;top:18%;width:140px;height:80px;background:linear-gradient(90deg,#13B8EE, #68E2B4 50%, #FFA04F);opacity:.22;filter:blur(12px);transform:rotate(-18deg)}
.ml-pl-hologram{position:absolute;left:0;right:0;top:0;height:6px;background:linear-gradient(90deg,#13B8EE,#3FD0C9,#68E2B4,#FFA04F,#13B8EE);background-size:200% 100%;animation:mlHolo 8s linear infinite}
.ml-pl-top{display:flex;justify-content:space-between;align-items:flex-start;font-size:8px;letter-spacing:.12em;text-transform:uppercase;color:#9FB2BC;font-weight:700}
.ml-pl-chip{display:none}
.ml-plastic::before{
  content:"";
  position:absolute;inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(115deg,transparent 36%,rgba(255,255,255,.22) 50%,transparent 64%);
  background-size:220% 100%;
  background-position:-80% 0;
  animation:svCardShine 6.5s ease-in-out infinite;
  mix-blend-mode:screen;
}
@keyframes svCardShine{
  0%,28%{background-position:-80% 0}
  58%,100%{background-position:180% 0}
}
.ml-pl-title{margin:10px 0 8px;font-size:13px;font-weight:800;letter-spacing:.08em;color:#fff}
.ml-pl-body{display:grid;grid-template-columns:56px 1fr;gap:10px;align-items:center}
.ml-pl-photo{width:56px;height:72px;border-radius:6px;object-fit:cover;background:#0E2230;border:1px solid rgba(255,255,255,.12);display:block}
.ml-pl-meta{font-size:9.5px;line-height:1.35;color:#C9D6DE}
.ml-pl-meta b{display:block;font-size:12.5px;font-weight:750;letter-spacing:.02em;color:#fff;margin-bottom:2px}
.ml-pl-footer{display:flex;justify-content:space-between;margin-top:8px;font-size:8px;letter-spacing:.06em;text-transform:uppercase;color:#8AA0AB}

@keyframes mlFloat{0%,100%{transform:rotate(-8deg) rotateX(6deg) rotateY(-12deg) translateY(0)}50%{transform:rotate(-7deg) rotateX(7deg) rotateY(-11deg) translateY(-8px)}}
@keyframes mlFloatMob{0%,100%{transform:rotate(-7deg) rotateX(5deg) rotateY(-10deg) translate3d(0,0,0)}50%{transform:rotate(-6.5deg) rotateX(5.5deg) rotateY(-9.5deg) translate3d(0,-5px,0)}}
@keyframes mlHolo{to{background-position:200% 0}}
@media (prefers-reduced-motion:reduce){
  .ml-plastic,.ml-plastic::before{animation:none}
  .ml-pl-hologram{animation:none}
  .ml-check li{transition:none}
}


/* ----- header: phone, email, always-visible CTA on mobile ----- */
.site-header .hdr-phone,
.site-header .hdr-mail{
  display:inline-flex;align-items:center;gap:6px;
  height:38px;padding:0 10px;border-radius:12px;
  color:#D0DADF;font-size:13.5px;font-weight:620;letter-spacing:-.01em;
  white-space:nowrap;text-decoration:none;max-width:100%;
}
.site-header .hdr-phone:hover,
.site-header .hdr-mail:hover{color:#8EE3FE}
.site-header .hdr-phone svg,
.site-header .hdr-mail svg{flex:none;opacity:.85}
.site-header .hdr-cta{
  display:inline-flex!important;align-items:center;justify-content:center;
  height:38px;white-space:normal;text-align:center;line-height:1.15;
  max-width:min(100%,240px);
}

/* mega menu: 5 groups + group-services bar */
.nav-dd-a .nav-dd-panel{padding:18px 18px 14px}
.ml-dd{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px 14px}
.ml-dd .dd-h{margin:0 10px 8px}
.ml-dd .dd-item small{display:block;font-size:12px;font-weight:450;line-height:1.3;color:#9FB2BC;margin-top:2px;white-space:normal}
.ml-dd .dd-item b{white-space:normal;line-height:1.25}
.ml-dd-groupsvc{
  grid-column:1/-1;margin-top:8px;padding:14px 16px 12px;border-radius:16px;
  background:radial-gradient(120% 90% at 100% 0%,rgba(19,184,238,.22),transparent 60%),radial-gradient(90% 80% at 0% 100%,rgba(255,160,79,.14),transparent 60%),#0D2230;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
}
.ml-dd-groupsvc .dd-h{color:#8EE3FE;margin:0 0 10px}
.ml-dd-gs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 10px}
.ml-dd-gs a{
  display:block;padding:8px 10px;border-radius:12px;color:#F3F7F9;font-size:13.5px;font-weight:650;line-height:1.3;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07);white-space:normal;
}
.ml-dd-gs a:hover{border-color:#13B8EE;color:#fff}
.ml-dd-gs a small{display:block;font-size:11.5px;font-weight:450;color:#9FB2BC;margin-top:2px}

/* ----- hero contacts under CTA ----- */
.ml-hero-contacts{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:18px}
.ml-hero-contacts a{
  display:inline-flex;align-items:center;gap:8px;color:#D0DADF;font-size:15px;font-weight:620;
  white-space:nowrap;
}
.ml-hero-contacts a:hover{color:#8EE3FE}
.ml-hero-contacts img{width:18px;height:18px}
.ml-hero .hero-lead{max-width:640px;font-size:18px;line-height:1.55;font-weight:450}

/* ----- block 2: service groups ----- */
.ml-need{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.ml-need-card{
  display:flex;flex-direction:column;gap:10px;padding:24px 22px 22px;border-radius:22px;
  background:var(--b-card);border:1px solid var(--b-line);box-shadow:var(--b-shadow);min-width:0;
  transition:transform .25s,border-color .25s;
}
.ml-need-card:hover{transform:translateY(-3px);border-color:var(--acc,#13B8EE)}
.ml-need-ic{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:var(--soft,rgba(19,184,238,.14));color:var(--acc,#13B8EE);flex:none}
.ml-need-card h3{margin:2px 0 0;font-size:18px;font-weight:700;line-height:1.25;letter-spacing:-.02em}
.ml-need-card > p{margin:0;font-size:16px;line-height:1.5;color:var(--b-ink2)}
.ml-need-card ul{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:6px;flex:1}
.ml-need-card ul a{
  display:block;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.07);color:var(--b-ink);font-size:14.5px;font-weight:620;line-height:1.3;
}
.ml-need-card ul a:hover{border-color:var(--acc,#13B8EE);color:#fff}
.ml-need-card ul small{display:block;font-size:12px;font-weight:450;color:#9FB2BC;margin-top:1px}

/* ----- 4 steps ----- */
/* ===== Approved v2: process as sl-track (from Miabiznes mialegal.html #jak) ===== */
#jak .bh{margin-bottom:48px}
#jak.steps-line .sl-track{grid-template-columns:repeat(4,1fr)}
#jak.steps-line .sl-track::before{left:28px;right:28px}
#jak .sl-track li:nth-child(2) .sl-dot{border-color:#3FD0C9}
#jak .sl-track li:nth-child(3) .sl-dot{border-color:#68E2B4}
#jak .sl-track li:nth-child(4) .sl-dot{border-color:#FFA04F}
@media (max-width:768px){
  #jak.steps-line .sl-track{grid-template-columns:1fr}
}

/* ----- prices from ----- */
/* ===== Approved v2: prices as ml-card (from Miabiznes mialegal.html #cennik) ===== */
.ml-i{display:block;width:24px;height:24px;flex:none}
#ceny .bh{margin-bottom:48px}
#ceny .ml-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
#ceny{contain:layout paint;isolation:isolate}
#ceny .ml-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:22px 18px 20px;border-radius:24px;
  background:radial-gradient(120% 45% at 100% 0%,var(--acc-soft),transparent 60%),linear-gradient(160deg,rgba(255,255,255,.075),rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.12);box-shadow:0 22px 50px rgba(0,0,0,.3),inset 0 3px 0 var(--acc);
  isolation:isolate;contain:paint;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-font-smoothing:antialiased;
  transform:none;will-change:auto}
/* Reveal must not leave a transform/transition on these stacked cards (Safari jitter). */
#ceny .ml-card.rv,#ceny .ml-card.rv.in{transform:none!important;transition:none!important;will-change:auto}
#ceny .ml-card-top{display:flex;align-items:center;gap:11px;margin-bottom:14px}
#ceny .ml-card-ic{flex:none;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;color:var(--acc);background:var(--acc-soft);border:1px solid var(--acc-bd)}
#ceny .ml-card-ic svg{width:21px;height:21px}
#ceny .ml-card-nm{min-width:0}
#ceny .ml-lab{margin:0 0 3px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--acc)}
#ceny .ml-card h3{margin:0;font-size:18px;font-weight:800;letter-spacing:-.01em;color:#fff;line-height:1.15}
#ceny .ml-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px;margin:0 0 16px}
#ceny .ml-price b{font-size:clamp(34px,2.7vw,42px);font-weight:750;letter-spacing:-.04em;line-height:1;color:#fff}
#ceny .ml-price span,#ceny .ml-price .od{font-size:13.5px;font-weight:600;color:var(--b-muted,#9FB2BC)}
#ceny .ml-bases{margin:0 0 16px;padding:0;list-style:none;display:flex;flex-direction:column;gap:7px}
#ceny .ml-bases li{position:relative;padding-left:17px;font-size:14px;line-height:1.35;color:var(--b-ink2,#D0DADF)}
#ceny .ml-bases li::before{content:"";position:absolute;left:2px;top:.42em;width:7px;height:7px;border-radius:50%;background:var(--acc);box-shadow:0 0 0 3px var(--acc-soft)}
#ceny .ml-note{display:flex;align-items:flex-start;gap:12px;max-width:920px;box-sizing:border-box;margin:22px auto 0;padding:14px 18px;border-radius:16px;
  background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.1);font-size:14px;line-height:1.55;color:#C9D6DE}
#ceny .ml-note svg{flex:none;width:18px;height:18px;margin-top:2px;color:#13B8EE}
#ceny .ml-note a{color:#8EE3FE;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
#ceny .ml-note a:hover{color:#fff}
/* compact switch — used only as the phone tariff selector */
#ceny .ig-switch{
  position:relative;display:flex;flex-wrap:nowrap;gap:0;justify-content:center;
  width:100%;max-width:460px;margin:0 auto 16px;padding:5px;border-radius:999px;
  background:rgba(255,255,255,.04);border:1px solid var(--b-line,#ffffff17);
  overflow:hidden;
}
#ceny .ig-switch-thumb{
  position:absolute;top:5px;bottom:5px;left:0;border-radius:999px;background:#13B8EE;
  pointer-events:none;z-index:0;
  transition:transform .35s cubic-bezier(.2,.7,.2,1),width .35s cubic-bezier(.2,.7,.2,1),background-color .35s;
}
#ceny .ig-period{
  appearance:none;-webkit-appearance:none;border:0;background:transparent;color:var(--b-ink2,#D0DADF);
  padding:9px 6px;border-radius:999px;font:800 13px/1 Geist,system-ui,sans-serif;
  cursor:pointer;display:inline-flex;align-items:center;justify-content:center;
  flex:1 1 0;min-width:0;position:relative;z-index:1;white-space:nowrap;
  outline:none;box-shadow:none;-webkit-tap-highlight-color:transparent;
}
#ceny .ig-period:focus,#ceny .ig-period:focus-visible,#ceny .ig-period:active{
  outline:none;box-shadow:none;border:0;
}
#ceny .ig-period.is-active{color:#fff}
#ceny .ig-switch.ml-size{display:none}
@media (min-width:1101px) and (max-width:1279px){
  #ceny .ml-cards{gap:12px}
  #ceny .ml-card{padding:20px 15px 18px}
  #ceny .ml-card-ic{width:38px;height:38px;border-radius:12px}
  #ceny .ml-card h3{font-size:16.5px}
}
@media (min-width:640px) and (max-width:1100px){
  #ceny .ml-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:900px;margin:0 auto}
  #ceny .ml-bases{flex-direction:row;flex-wrap:wrap;gap:6px;margin-bottom:14px}
  #ceny .ml-bases li{padding:5px 10px 5px 22px;border-radius:999px;font-size:12.5px;line-height:1.25;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1)}
  #ceny .ml-bases li::before{left:9px;top:50%;width:6px;height:6px;margin-top:-3px;box-shadow:none}
}
@media (max-width:639px){
  #ceny .ig-switch.ml-size,#ceny .ml-size{
    display:flex;width:100%;max-width:100%;margin:0 auto 16px;
    overflow:hidden;box-sizing:border-box;
  }
  #ceny .ml-size .ig-period{flex:1 1 auto;min-width:0;padding:9px 4px}
  #ceny .ml-size .ig-period b{font-size:12.5px;font-weight:800;letter-spacing:-.03em}
  #ceny .ml-card .btn,#ceny .ml-card a.btn{position:relative;z-index:1}
  #ceny{padding-bottom:48px}
  #ceny .ml-cards{display:block}
  #ceny .ml-card:not(.is-on){display:none}
  #ceny .ml-card.is-on{animation:mlIn .35s ease}
  #ceny .ml-card{padding:22px 18px 18px;box-shadow:0 12px 28px rgba(0,0,0,.28),inset 0 3px 0 var(--acc)}
  #ceny .ml-price b{font-size:42px}
  #ceny .ml-size[data-sel="cukr"] .ig-switch-thumb{background:#A78BFA}
  #ceny .ml-size[data-sel="staly"] .ig-switch-thumb{background:#68E2B4}
  #ceny .ml-size[data-sel="obyw"] .ig-switch-thumb{background:#FFA04F}
  #ceny .ml-size[data-sel="cukr"] .ig-period.is-active{color:#1A0F33}
  #ceny .ml-size[data-sel="staly"] .ig-period.is-active{color:#06281C}
  #ceny .ml-size[data-sel="obyw"] .ig-period.is-active{color:#2A1300}
}
@keyframes mlIn{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){#ceny .ml-card.is-on{animation:none}#ceny .ig-switch-thumb{transition:none}}


/* Standard | Plus + package lists (from Miabiznes mialegal.css cennik) */
#ceny .ig-switch.ml-mode{
  display:flex;width:max-content;max-width:100%;margin:0 auto 26px;padding:5px;
}
#ceny .ml-mode .ig-period{
  flex:0 0 auto;padding:12px 20px;font:650 14.5px/1 Geist,system-ui,sans-serif;
  gap:8px;white-space:nowrap;justify-content:center;
}
#ceny .ml-mt{display:inline-flex;align-items:baseline;gap:8px;white-space:nowrap}
#ceny .ml-mt b{font-weight:800}
#ceny .ml-msep{opacity:.45;font-weight:400}
#ceny .ml-md{font-weight:600}
#ceny .ml-inc-h{margin:0 0 10px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08);font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--b-muted,#9FB2BC)}
#ceny .ml-inc{flex:1;margin:0 0 18px;display:flex;flex-direction:column;min-height:0}
#ceny .ml-feats{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:9px}
#ceny .ml-feats li{display:flex;align-items:flex-start;gap:10px;min-width:0}
#ceny .ml-fi{flex:none;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;color:var(--acc);background:var(--acc-soft);border:1px solid var(--acc-bd)}
#ceny .ml-fi svg{width:15px;height:15px}
#ceny .ml-ft{min-width:0;padding-top:5px;font-size:13.5px;line-height:1.35;color:var(--b-ink2,#D0DADF)}
#ceny .ml-ft b{color:#fff;font-weight:800}
#ceny .ml-feats li.is-bonus .ml-fi{color:#07141C;background:var(--acc);border-color:var(--acc);box-shadow:0 4px 14px var(--acc-bd)}
#ceny .ml-buy{width:100%;min-height:48px;justify-content:center;background:var(--acc);border-color:var(--acc);color:var(--acc-ink);box-shadow:0 10px 24px rgba(0,0,0,.25);text-decoration:none}
#ceny .ml-buy:hover{filter:brightness(1.06);color:var(--acc-ink)}
#ceny .ml-vs{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;justify-items:stretch}
#ceny .ml-v{grid-area:1/1;min-width:0;width:100%;height:auto;z-index:1;transition:opacity .25s ease}
#ceny.ml-pricing[data-mode="std"] .ml-v[data-v="plus"],
#ceny.ml-pricing[data-mode="plus"] .ml-v[data-v="std"]{
  opacity:0;visibility:hidden;z-index:0;pointer-events:none;
  transition:opacity .2s ease,visibility 0s linear .2s
}
/* Stack both tariff layers in one cell so height stays max(std,plus).
   Auto rows only — no 1fr/subgrid, which made Safari relayout continuously. */
#ceny .ml-vs-inc{
  flex:1;min-height:0;height:auto;
  display:grid;grid-template-columns:minmax(0,1fr);
  align-items:stretch;gap:9px;
}
#ceny .ml-vs-inc .ml-v{
  grid-area:1/1;
  display:flex;flex-direction:column;gap:9px;
  height:auto;min-height:0;
}
#ceny .ml-vs-inc .ml-feats{
  display:flex;flex-direction:column;gap:9px;
  height:auto;flex:none;
}
#ceny .ml-vs-btn{margin-top:auto;width:100%}
#ceny .ml-vs-btn .ml-buy{width:100%}
@media (min-width:640px) and (max-width:1100px){
  #ceny .ml-vs-inc{gap:8px}
}
@media (min-width:1101px) and (max-width:1279px){
  #ceny .ml-bases li,#ceny .ml-ft{font-size:13px}
}
@media (min-width:640px) and (max-width:1100px){
  #ceny .ml-mode{margin-bottom:20px}
  #ceny .ml-inc-h{padding-top:12px}
  #ceny .ml-feats{gap:8px}
  #ceny .ml-buy{min-height:46px}
}
@media (min-width:640px) and (max-width:760px){
  #ceny .ig-switch.ml-mode{width:100%;max-width:560px}
  #ceny .ml-mode .ig-period{flex:1 1 0;min-width:0;justify-content:center;padding:9px 8px}
  #ceny .ml-mt{flex-direction:column;align-items:center;gap:1px;white-space:normal;text-align:center}
  #ceny .ml-msep{display:none}
  #ceny .ml-md{font-size:12px;line-height:1.2}
  #ceny .ml-ft{font-size:13px}
}
@media (max-width:639px){
  #ceny .ig-switch.ml-mode{width:100%;max-width:460px;margin:0 auto 12px}
  #ceny .ml-mode .ig-period{flex:1 1 0;min-width:0;justify-content:center;padding:9px 6px}
  #ceny .ml-mt{flex-direction:column;align-items:center;gap:1px;white-space:normal;text-align:center}
  #ceny .ml-msep{display:none}
  #ceny .ml-mt b{font-size:15px}
  #ceny .ml-md{font-size:11.5px;line-height:1.2;font-weight:600}
  #ceny .ml-size .ig-period b{font-size:13px;font-weight:800}
  #ceny .ml-bases li,#ceny .ml-ft{font-size:14px}
}
@media (prefers-reduced-motion:reduce){
  #ceny .ml-v{transition:none!important}
}

/* ----- why us ----- */
.zt-grid.ml-why{grid-template-columns:repeat(4,1fr)}
.zt-grid.ml-why .zt{flex-direction:column;align-items:flex-start;gap:14px;min-height:180px}
.zt-grid.ml-why .zt h3{margin:0;font-size:18px;font-weight:700;line-height:1.25;letter-spacing:-.02em}
.zt-grid.ml-why .zt p{margin:0!important;font-size:16px;line-height:1.5;color:var(--b-ink2)}

/* ----- reviews + rating ----- */
.ml-rate{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;
  margin:0 0 22px;padding:20px 24px;border-radius:22px;background:var(--b-card);border:1px solid var(--b-line);
}
.ml-rate-score{display:flex;align-items:center;gap:16px;min-width:0}
.ml-rate-score .amt{font-size:36px;font-weight:800;letter-spacing:-.05em;line-height:1;color:#F3F7F9}
.ml-rate-score p{margin:0;font-size:14.5px;line-height:1.45;color:var(--b-ink2)}
.ml-rate-score p strong{color:#F3F7F9;font-weight:650}
.ml-stars{color:#FFA04F;letter-spacing:2px;font-size:16px;line-height:1}
.ml-rate a{font-size:14.5px;font-weight:650;color:#8EE3FE;white-space:normal}
.ml-revs{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.ml-rev{padding:22px 22px 20px;border-radius:22px;background:var(--b-card);border:1px solid var(--b-line);display:flex;flex-direction:column;gap:12px;min-width:0}
.ml-rev-top{display:flex;align-items:center;gap:10px}
.ml-rev-ava{width:40px;height:40px;border-radius:14px;display:grid;place-items:center;background:rgba(19,184,238,.16);color:#8EE3FE;font-weight:750;font-size:13px;flex:none}
.ml-rev-top b{display:block;font-size:15px;font-weight:700;letter-spacing:-.02em}
.ml-rev-top small{display:block;font-size:12px;color:var(--b-muted);font-weight:450}
.ml-rev p{margin:0;font-size:16px;line-height:1.5;color:var(--b-ink2)}
.ml-rev-src{margin-top:auto;font-size:12px;color:var(--b-muted)}

/* ----- FAQ ----- */
.fa-grid.ml-fa{grid-template-columns:.8fr 1.4fr}
.fa-grid.ml-fa .fa a.ml-fa-more{display:inline-flex;margin-top:10px;font-size:14.5px;font-weight:650;color:#8EE3FE}
.fa-grid.ml-fa .fa p{margin:8px 0 0;font-size:16px;line-height:1.55;color:var(--b-ink2)}

/* ----- form consent ----- */
.b-form .ml-consent{display:flex;align-items:flex-start;gap:10px;font-size:13.5px;line-height:1.45;color:var(--b-ink2);font-weight:450}
.b-form .ml-consent input{margin-top:3px;flex:none;accent-color:#13B8EE;width:16px;height:16px}
.b-form .ml-consent a{color:#8EE3FE;font-weight:650}
.b-form .ml-form-ok{display:none;padding:16px 18px;border-radius:14px;background:rgba(104,226,180,.12);border:1px solid rgba(104,226,180,.35);color:#D8F6E9;font-size:15px;line-height:1.5}
.b-form.is-sent .ml-form-ok{display:block}
.b-form.is-sent .ml-form-fields{display:none}
.b-form .ml-form-err{display:none;margin:0 0 10px;font-size:13.5px;color:#FFA04F}
.b-form.is-error .ml-form-err{display:block}

/* ----- footer extras ----- */

/* Footer: previous layout (b-ftop + 5 cols) with light typography tweaks and dock clearance */
.b-footer{padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))}
.b-fcol p,.b-fcol address{margin:0 0 12px;font-size:14px;line-height:1.5;font-style:normal;color:var(--b-muted,#9FB2BC)}
.b-fcol p b{display:block;font-size:12.5px;font-weight:650;letter-spacing:.04em;color:#D0DADF;margin-bottom:2px}
.b-fcol .ml-hours{color:var(--b-muted);font-size:13.5px;margin:4px 0 0}
.b-fcols a.f-msg{display:flex;align-items:center;gap:9px}
.b-fcols .f-msg .ico-m{width:20px;height:20px;border-radius:50%;display:block;flex:none}
.b-fcols .f-note{display:block;margin-top:8px;font-size:12.5px;font-weight:650;letter-spacing:.06em;color:#7F949F}
.b-flogo{height:46px;width:auto;max-width:240px;object-fit:contain}
@media (max-width:768px){
  .b-footer .b-flogo{height:32px;max-width:160px}
  .b-footer .b-fcols,
  .b-footer .b-fcols.f-cols5{grid-template-columns:1fr 1fr;gap:28px 20px}
}
@media (max-width:639px){
  .b-footer{padding-bottom:calc(118px + env(safe-area-inset-bottom,0px))}
  .b-footer .b-flogo{height:30px;max-width:148px}
}

.b-footer .b-fcols{grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 18px}
.b-fcol p,.b-fcol address{margin:0 0 10px;font-size:14.5px;line-height:1.5;font-style:normal;color:#B9C7CF}
.b-fcol .ml-hours{color:var(--b-muted);font-size:13px}
.b-fbrand-tools{display:flex;flex-direction:column;align-items:flex-start}
.b-fbrand-tools .ml-socials{order:-1}
.ml-socials{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.ml-socials a{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;border:0;background:rgba(255,255,255,.08)}
.ml-socials a:hover{background:rgba(255,255,255,.16)}
.ml-socials img{width:40px;height:40px;filter:brightness(12);display:block}
.ml-rf{display:inline-block;margin-top:14px}
.ml-rf img{height:40px;width:auto;display:block}
/* Footer bottom: Miabiznes f-bottom2 stack — requisites, legal, payment icons. Our texts only. */
.b-footer .b-fbottom{
  display:flex;flex-direction:column;align-items:flex-start;gap:18px;
  padding-top:32px;text-align:left;font-size:13.5px;color:var(--b-muted)
}
.b-footer .b-fmeta{margin:0;max-width:none;font-size:13.5px;line-height:1.5;color:var(--b-muted)}
.b-footer .b-flegal{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:10px 28px}
.b-footer .b-flegal a{display:inline-flex;align-items:center;padding:0;font-size:13.5px;line-height:1.4;color:var(--b-muted);text-decoration:none}
.b-footer .b-flegal a:hover{color:#8EE3FE}
.b-footer .b-fbottom .payments{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px;order:3}
.b-footer .b-fbottom .payments img{height:26px;width:auto;display:block}
@media (max-width:700px){
  .ml-socials a{width:52px;height:52px}
  .ml-socials img{width:44px;height:44px}
  .b-footer .b-fbottom{align-items:flex-start;gap:18px}
  .b-footer .b-flegal{gap:8px 20px}
  .b-footer .b-flegal a{white-space:normal;padding:8px 0;min-height:44px}
}

/* ----- floating messengers ----- */
.ml-float{
  position:fixed;right:22px;bottom:22px;z-index:70;display:flex;flex-direction:column;gap:10px;
  padding-bottom:env(safe-area-inset-bottom,0px);
}
.ml-float a{
  display:grid;place-items:center;width:52px;height:52px;border-radius:16px;
  background:#0D2230;border:1px solid rgba(255,255,255,.12);
  box-shadow:0 12px 28px rgba(0,0,0,.4);
}
.ml-float a:hover{border-color:#13B8EE;transform:translateY(-2px)}
.ml-float img{width:26px;height:26px}

/* typography already inherited; mid-width header tightness */
.ml-ph-tag{position:absolute;left:12px;top:12px;z-index:1;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:4px 8px;border-radius:999px;background:#FFA04F;color:#3A1D02}
.ml-rate,.ml-rev{position:relative}
.ml-rate{padding-top:28px}
.ml-rev{padding-top:36px}
.ml-revs{grid-template-columns:repeat(3,1fr)}
.ml-rate-link.is-ph{font-size:14.5px;font-weight:650;color:var(--b-muted)}

/* Email as icon in the 1200px wrap — full address is in the footer and mobile menu. */
.site-header .hdr-mail span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.site-header .hdr-mail{width:38px;padding:0;justify-content:center}
.site-header .nav,.site-header .header-tools,.site-header .hdr-cta,.site-header .hdr-phone{flex:none}
.site-header .hdr-cta{max-width:none;white-space:nowrap}
@media (max-width:1180px){
  .ml-need{grid-template-columns:repeat(3,1fr)}
  .ml-need-card:nth-child(4),.ml-need-card:nth-child(5){grid-column:auto}
  .zt-grid.ml-why,.ml-revs{grid-template-columns:repeat(2,1fr)}
  .ml-dd{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ml-dd-gs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .b-footer .b-fcols{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:1100px){
  .ml-hero .hero-grid{grid-template-columns:1fr;gap:28px}
  .ml-stage{min-height:0;margin:8px auto 24px;max-width:560px}
  .ml-plastic{right:0;bottom:-18px;width:240px}
  .fa-grid.ml-fa{grid-template-columns:1fr}
  .fa-head{position:static}
  /* Wide wordmark + phone + CTA do not fit the desktop nav below 1100. Same burger as Miabiznes, earlier breakpoint. */
  .site-header .menu-toggle{order:3;display:grid;place-content:center;width:44px;height:44px;margin-left:2px;border-radius:12px}
  .site-header .nav{display:none}
  .site-header .hdr-desk{display:none!important}
  .site-header .header-tools{margin-left:auto;gap:8px}
  .site-header .hdr-cta{display:none!important}
}

@media (max-width:900px){
  .ml-hero{padding:36px 0 48px}
  .site-header .hdr-desk{display:none!important}
  .site-header .hdr-cta{display:none!important}
  .site-header .header-tools{margin-left:auto;gap:8px}
}
@media (max-width:640px){
  .ml-float{right:14px;bottom:16px}
  .ml-float a{width:48px;height:48px}
}
@media (max-width:768px){
  .ml-need,.zt-grid.ml-why,.ml-revs{grid-template-columns:1fr}
  .b-footer .b-fcols{grid-template-columns:1fr 1fr}
  .ml-hero .hero-note{font-size:15px}
  .ml-dossier{padding:16px 14px 18px;width:100%}
}
@media (max-width:480px){
  .ml-hero .hero-actions{flex-direction:column;align-items:stretch}
  .ml-hero .hero-actions .btn{width:100%}
  .ml-hero-contacts{flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 14px}
  .ml-rail{grid-template-columns:repeat(2,1fr)}
  .ml-status{font-size:9.5px;padding:5px 7px}
  .b-sec{padding:48px 0}
  .b-footer .b-fcols{grid-template-columns:1fr 1fr;gap:28px 16px}
  .ml-dd-gs{grid-template-columns:1fr}
}

/* Mobile/tablet hero visual: keep dossier + overlapping karta pobytu.
   Cancel leftover hero-v3 mockup paddings (right 9–17%, bottom 60–80px).
   Desktop (≥1101) is untouched. */
@media (max-width:1100px){
  .ml-hero.hero-v3 .hero-visual,
  .ml-hero .hero-visual{
    /* padding-bottom leaves room for the karta to hang off the dossier, as on desktop */
    padding:8px 10px 96px;
    width:100%;
    max-width:560px;
    margin:4px auto 0;
    min-height:0;
    perspective:1200px;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    overflow:visible;
    box-sizing:border-box;
  }
  .ml-hero .ml-dossier{width:100%;max-width:100%}
  .ml-hero .ml-plastic{
    position:absolute;
    right:8px;
    bottom:16px;
    left:auto;
    margin:0;
    display:block;
    width:240px;
    transform:rotate(-7deg) rotateX(5deg) rotateY(-10deg);
    transform-origin:left bottom;
    animation:mlFloatMob 7.5s ease-in-out infinite;
    -webkit-backface-visibility:hidden;
    backface-visibility:hidden;
  }
}
@media (max-width:768px){
  .ml-hero{padding:28px 0 40px}
  .ml-hero .hero-grid{gap:22px}
  .ml-hero.hero-v3 .hero-visual,
  .ml-hero .hero-visual{padding:4px 8px 88px}
  .ml-hero .ml-plastic{width:min(230px,64%);right:4px;bottom:12px}
}
@media (max-width:480px){
  .ml-hero{padding:22px 0 32px}
  .ml-hero .ml-kicker-mos{margin-bottom:12px}
  .ml-hero .hero-grid{gap:18px}
  .ml-hero-contacts{margin-top:12px}
  .ml-hero.hero-v3 .hero-visual,
  .ml-hero .hero-visual{padding:2px 4px 68px}
  .ml-hero .ml-plastic{
    width:min(196px,70%);
    right:2px;
    bottom:8px;
    padding:12px 12px 10px;
    border-radius:14px;
  }
  .ml-hero .ml-rail{grid-template-columns:repeat(4,1fr);margin-top:10px;gap:4px}
  .ml-hero .ml-rail span{padding:6px 3px 7px;font-size:9.5px}
  .ml-hero .ml-rail span b{font-size:10px}
  .ml-hero .ml-pl-title{font-size:11px;margin:8px 0 6px;letter-spacing:.06em}
  .ml-hero .ml-pl-photo{width:44px;height:56px}
  .ml-hero .ml-pl-body{grid-template-columns:44px 1fr;gap:8px}
  .ml-hero .ml-pl-meta{font-size:8.5px;line-height:1.3}
  .ml-hero .ml-pl-meta b{font-size:11px}
  .ml-hero .ml-pl-chip{width:24px;height:18px;margin-top:8px}
  .ml-hero .ml-pl-footer{font-size:7px;margin-top:6px}
  .ml-hero .ml-pl-top{font-size:7px}
  .ml-hero .ml-dossier{padding:14px 12px 16px;border-radius:22px}
  .ml-hero .ml-dos-top{flex-wrap:nowrap;align-items:center;gap:8px;margin-bottom:12px}
  .ml-hero .ml-bases{margin:0 0 12px}
  .ml-hero .ml-check{gap:6px}
  .ml-hero .ml-check li{padding:8px 10px;font-size:13px}
  .ml-hero .ml-rail{margin-top:12px;gap:5px}
}

.lang-menu{min-width:168px}

/* form inner wrapper must participate in the 2-col grid */
.b-form .ml-form-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;grid-column:1/-1}
.b-form.is-sent .ml-form-fields{display:none}
.ml-need-card{height:100%}
.ml-hero h1 em{white-space:nowrap}

@media (max-width:1100px){
  :root{--header-h:64px}
}

/* cookie below header and burger; compact on small screens */
.mia-ck-root, .mia-ck-root .mia-ck-scrim{z-index:45}
.mia-ck-root .mia-ck{z-index:46}
html.mn-open .mia-ck-root{visibility:hidden;pointer-events:none}
@media (max-width:720px){
  .mia-ck-copy p:not(.mia-ck-legal){display:none}
}

/* fill the contact card and keep inputs from collapsing */
.ct-card .b-form{width:100%;min-width:0}
.b-form .ml-form-fields{width:100%;min-width:0}
.ml-need{align-items:stretch}
.ml-need-card{align-self:stretch;min-height:100%;height:auto}
html.mn-open .ml-float{display:none}
.ml-rate{padding:22px 24px 20px 24px}
.ml-rate .ml-ph-tag{left:auto;right:14px;top:14px}
.ml-rate-score{padding-right:110px}


/* Safari/WebKit (especially file://): backdrop-filter on a position:sticky
   header can composite the bar to the BOTTOM of the viewport and blur the
   whole page. Use an opaque bar instead; keep the sticky header itself clean. */

/* Definite header height — do not use height:100% on .header-inner (WebKit may
   resolve it against the document and stretch the sticky header). */
.site-header{height:72px}
.site-header .header-inner{height:72px}
@media (max-width:640px){
  .site-header,.site-header .header-inner{height:auto;max-height:none}
}
.site-header{
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  background:rgba(7,20,28,.94);
}

/* Scroll-reveal uses ig-body.css .js-reveal .rv (opacity + translateY 28px, .8s, cubic-bezier(.2,.7,.2,1)).
   Animate only card wrappers; never transform the stacked Standard/Plus layers. */
#ceny .ml-v,#ceny .ml-vs,#ceny .ml-feats{transform:none}


/* ===== Approved catalog: tools-idx «Что вам нужно?» (Miabiznes Produkty) ===== */
#uslugi .bh{margin-bottom:48px}
#uslugi .tr-ic{
  width:42px;height:42px;flex:none;border-radius:12px;display:grid;place-items:center;
  background:var(--soft,rgba(19,184,238,.14));color:var(--acc,#13B8EE);
}
#uslugi .tr-ic svg{width:20px;height:20px}
#uslugi .ti-row.ti-orange:hover{background:linear-gradient(90deg,rgba(255,160,79,.10),transparent 70%)}
#uslugi .ti-row.ti-lime:hover{background:linear-gradient(90deg,rgba(104,226,180,.10),transparent 70%)}

/* ===== Why v4: typographic stats, no office tiles ===== */
#dlaczego .bh{margin-bottom:48px}
#dlaczego .wh-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
#dlaczego .wh-stats article{
  padding:26px 24px 22px;border-radius:24px;min-width:0;
  background:var(--b-card,#0E1E2A);border:1px solid var(--b-line,#ffffff17);
}
#dlaczego .wh-stats .sc-n{margin:0 0 12px;line-height:1;display:flex;align-items:baseline;gap:6px}
#dlaczego .wh-stats .sc-n small{font-size:28px;font-weight:750;letter-spacing:-.03em;line-height:1}
#dlaczego .wh-stats article:nth-child(1) .sc-n{color:#13B8EE}
#dlaczego .wh-stats article:nth-child(2) .sc-n{color:#68E2B4}
#dlaczego .wh-stats article:nth-child(3) .sc-n{color:#FFA04F}
#dlaczego .wh-stats article:nth-child(4) .sc-n{color:#8EE3FE}
#dlaczego .wh-stats h3,#dlaczego .wh-stats .sc-l{margin:0 0 6px;font-size:18px;font-weight:700;letter-spacing:-.02em;line-height:1.25;color:var(--b-ink)}
#dlaczego .wh-stats p:not(.sc-l){margin:0;font-size:16px;line-height:1.5;color:var(--b-ink2,#D0DADF)}
@media (max-width:1100px){
  #dlaczego .wh-stats{grid-template-columns:1fr 1fr}
}
@media (max-width:700px){
  #dlaczego .wh-stats{grid-template-columns:1fr}
  #dlaczego .wh-stats .sc-n{font-size:48px}
  #dlaczego .wh-stats .sc-n small{font-size:20px}
}

/* Form v5-1: fields are direct children of .b-form (Miabiznes #kontakt) */
#kontakt .b-form .ml-form-ok,
#kontakt .b-form .ml-form-err{grid-column:1/-1}
#kontakt .b-form.is-sent > label,
#kontakt .b-form.is-sent > .b-send,
#kontakt .b-form.is-sent > .ml-form-err{display:none}

/* FAQ v6-1: typographic numbered accordion */
#faq .fq1-list{max-width:920px}
#faq .fq1-item{border-top:1px solid rgba(243,247,249,.1)}
#faq .fq1-item:last-child{border-bottom:1px solid rgba(243,247,249,.1)}
#faq .fq1-item summary{display:flex;align-items:flex-start;gap:18px;padding:22px 0;cursor:pointer;list-style:none}
#faq .fq1-item summary::-webkit-details-marker{display:none}
#faq .fq1-item summary::marker{content:""}
#faq .fq1-num{flex:0 0 2.2ch;padding-top:6px;font-size:13px;font-weight:650;letter-spacing:.08em;color:#13B8EE}
#faq .fq1-q{flex:1;margin:0;font-size:clamp(18px,2.05vw,24px);line-height:1.28;letter-spacing:-.03em;font-weight:650;color:#F3F7F9}
#faq .fq1-item[open] .fq1-q{background:linear-gradient(90deg,#13B8EE,#68E2B4);-webkit-background-clip:text;background-clip:text;color:transparent}
#faq .fq1-ico{flex:0 0 36px;width:36px;height:36px;margin-top:2px;border-radius:14px;border:1px solid rgba(243,247,249,.16);position:relative}
#faq .fq1-ico:before,#faq .fq1-ico:after{content:"";position:absolute;inset:50% auto auto 50%;width:12px;height:1.5px;background:#68E2B4;transform:translate(-50%,-50%)}
#faq .fq1-ico:after{width:1.5px;height:12px}
#faq .fq1-item[open] .fq1-ico{border-color:rgba(19,184,238,.45);background:rgba(19,184,238,.1)}
#faq .fq1-item[open] .fq1-ico:after{opacity:0}
#faq .fq1-body{padding:0 54px 26px calc(2.2ch + 18px);max-width:760px}
#faq .fq1-body p{margin:0;font-size:16px;line-height:1.55;color:var(--b-ink2,#B9C8D0)}
#faq .fq1-more{display:inline-flex;align-items:center;gap:6px;margin:12px 14px 0 0;font-size:14.5px;font-weight:650;color:#8EE3FE;text-decoration:none}
#faq .fq1-more:hover{color:#fff}
@media (max-width:700px){
  #faq .fq1-body{padding:0 0 22px 0}
  #faq .fq1-item summary{gap:12px;padding:18px 0}
}


/* ===== Duo / foldable footer top (640–1100, incl. 890×690 Surface Duo) =====
   Logo smaller, description to the right of the logo, then Rzetelna + socials
   on the next row. Link columns 2-up like Miabiznes ≤900. Phone (<640) stays stacked. */
@media (min-width:640px) and (max-width:1100px){
  .b-footer .b-ftop{grid-template-columns:1fr;gap:36px}
  .b-footer .b-fbrand{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    column-gap:20px;
    row-gap:16px;
    align-items:center;
  }
  .b-footer .b-fbrand > a:first-child{grid-column:1;grid-row:1}
  .b-footer .b-flogo{height:32px;width:auto;max-width:160px}
  .b-footer .b-fbrand p{grid-column:2;grid-row:1;margin:0;max-width:none;font-size:14px;line-height:1.5}
  .b-footer .b-fbrand-tools{
    grid-column:1/-1;
    display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:14px 18px;
  }
  .b-footer .b-fbrand-tools .ml-socials{order:0}
  .b-footer .b-fbrand-tools .ml-rf{margin:0;display:inline-flex;align-items:center}
  .b-footer .b-fbrand-tools .ml-rf img{height:40px;width:auto}
  .b-footer .b-fbrand-tools .ml-socials{margin:0}
  .b-footer .b-fcols,
  .b-footer .b-fcols.f-cols5{grid-template-columns:1fr 1fr;gap:28px 20px}
}


/* SEO: footer column labels are not headings; keep the same look */
.b-footer .b-fh,.b-fcols .b-fh{margin:0 0 14px;font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#fff}




/* Long translated labels in banners: one line + ellipsis, no wrap, no overlap. */
.ml-hero .hero-grid,
.ml-hero .hero-copy,
.ml-hero .hero-visual,
.ml-hero .ml-stage,
.ml-hero .sv-card-stage{
  min-width:0;
  max-width:100%;
}
.ml-dossier,
.ml-plastic,
.ml-doc,
.ml-country,
.ml-paths,
.sv-dec{
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
  overflow:hidden;
}
.sv-orbit-p,
.ml-status,
.ml-bases button,
.ml-dos-who b,
.ml-dos-who small,
.ml-check li,
.ml-rail span,
.ml-pl-top span,
.ml-pl-title,
.ml-pl-meta,
.ml-pl-footer span,
.ml-doc-brand b,
.ml-doc-brand span,
.ml-doc-title,
.ml-doc-wzor,
.ml-co-brand b,
.ml-co-brand span,
.ml-co-wzor,
.ml-paths-brand b,
.ml-paths-brand span,
.ml-paths-title,
.ml-paths-row b,
.ml-paths-wzor,
.sv-dec-brand b,
.sv-dec-brand span,
.sv-dec-title,
.sv-dec-wzor,
.sv-dec-row span,
.sv-dec-row b{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
.sv-orbit-p{
  max-width:160px;
  display:inline-flex;
}
.sv-orbit-p > span:last-child{
  min-width:0;
  flex:1 1 auto;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.ml-status{max-width:min(46%,11.5rem)}
.ml-bases{min-width:0;max-width:100%}
.ml-bases button{max-width:100%}
.ml-dos-who{min-width:0}
.ml-dos-who > div{min-width:0;overflow:hidden;max-width:100%}
.ml-check,
.ml-rail{min-width:0;max-width:100%}
.ml-pl-top,
.ml-pl-footer,
.ml-pl-body,
.ml-pl-meta{min-width:0;max-width:100%}
.ml-doc-brand,
.ml-co-brand,
.ml-paths-brand,
.sv-dec-brand,
.ml-paths-row,
.sv-dec-row{min-width:0;max-width:100%;overflow:hidden}
.ml-paths-row,
.sv-dec-row{display:flex}
.ml-paths-row b,
.sv-dec-row b{flex:1 1 auto}
/* Official RP title is two words; slightly tighter tracking so the default Polish name fits, ellipsis remains for longer translations. */
.ml-paths-brand b,
.ml-doc-brand b,
.sv-dec-brand b,
.ml-co-brand b{letter-spacing:.08em}
@media (max-width:639px){
  .sv-orbit-p{max-width:min(46vw,138px)}
  .ml-status{max-width:min(50%,9.5rem)}
  .ml-dossier{width:100%;max-width:100%}
}
