/* Fotomio — korekta końcowa: logo, flagi, hero i kafelki */
.top .brand .fm-wordmark,
.foot .brand .fm-wordmark {
  display:inline-flex !important;
  align-items:baseline !important;
  gap:0 !important;
  color:#14162b !important;
  font-family:Outfit,system-ui,sans-serif !important;
  font-weight:700 !important;
}
.top .brand .fm-logo-foto,
.foot .brand .fm-logo-foto {
  color:#14162b !important;
  -webkit-text-fill-color:#14162b !important;
  background:none !important;
}
.top .brand .fm-logo-mio,
.foot .brand .fm-logo-mio {
  display:inline !important;
  background:linear-gradient(110deg,#5b3df5 0%,#9b5cff 48%,#ff5c8a 100%) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  color:transparent !important;
  -webkit-text-fill-color:transparent !important;
  font:inherit !important;
}

/* Language flag: explicit emoji span, visible on desktop and mobile. */
.top-r .lang { display:inline-flex !important; position:relative !important; align-items:center !important; }
.top-r .lang > summary {
  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;
  white-space:nowrap !important;
  visibility:visible !important;
  opacity:1 !important;
}
.top-r .fm-flag {
  display:inline-block !important;
  width:1.35em !important;
  min-width:1.35em !important;
  font-family:"Noto Color Emoji","Segoe UI Emoji","Apple Color Emoji",sans-serif !important;
  font-size:1.25em !important;
  line-height:1 !important;
  text-align:center !important;
  visibility:visible !important;
  opacity:1 !important;
}
.top-r .lang-m a { display:flex !important; align-items:center !important; gap:9px !important; }

/* Hero: one image replaces the old CSS-drawn laptop and phone. */
.fm-hero-photo {
  height:auto !important;
  min-height:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
}
.fm-hero-photo > img {
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-height:475px !important;
  object-fit:contain !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  filter:none !important;
}

/* Cards: icon is SVG only; all headings and descriptions are real selectable HTML text. */
.fm-process-grid {
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:17px !important;
  align-items:stretch !important;
}
.fm-process-grid .fm-process-card {
  min-width:0 !important;
  padding:20px 18px !important;
  border:1px solid #e5ebf4 !important;
  border-radius:18px !important;
  background:#fff !important;
  box-shadow:0 9px 28px rgba(24,43,78,.05) !important;
}
.fm-card-icon {
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:15px;
  margin:0 0 12px;
  color:#5638e9;
  background:linear-gradient(145deg,#eeeaff,#f8eaff);
}
.fm-card-icon svg {
  display:block;
  width:37px;
  height:37px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.fm-process-grid .fm-process-card h3 {
  margin:0 0 8px !important;
  color:#14162b !important;
  font:600 19px/1.2 Outfit,system-ui,sans-serif !important;
  letter-spacing:-.02em !important;
}
.fm-process-grid .fm-process-card p {
  margin:0 !important;
  color:#657287 !important;
  font:400 14px/1.5 Outfit,system-ui,sans-serif !important;
}
@media(max-width:900px) {
  .fm-process-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media(max-width:640px) {
  .fm-hero-photo { height:auto !important; margin-top:12px !important; }
  .fm-hero-photo > img { max-height:none !important; }
  .fm-process-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:10px !important; }
  .fm-process-grid .fm-process-card { padding:13px 12px !important; border-radius:15px !important; }
  .fm-card-icon { width:46px; height:46px; border-radius:12px; margin-bottom:9px; }
  .fm-card-icon svg { width:29px; height:29px; }
  .fm-process-grid .fm-process-card h3 { font-size:15px !important; line-height:1.22 !important; }
  .fm-process-grid .fm-process-card p { font-size:12px !important; line-height:1.4 !important; }
}

/* Fotomio – poradniki SEO */
.fm-article-page{background:#f5f8fc;padding:58px 0 76px;min-height:55vh}
.fm-article-wrap{max-width:1080px}
.fm-article-page h1{font-size:clamp(30px,4vw,46px);line-height:1.13;letter-spacing:-.035em;color:#14233d;margin:10px 0 18px}
.fm-article-lead{font-size:18px;line-height:1.75;color:#5d6b80;max-width:850px;margin:0 0 28px}
.fm-article-card{background:#fff;border:1px solid #e5eaf2;border-radius:22px;padding:clamp(24px,4vw,54px);box-shadow:0 18px 55px rgba(20,35,61,.07);max-width:900px;margin:0 auto}
.fm-article-card h1{max-width:790px}
.fm-article-card h2{font-size:clamp(21px,2.4vw,27px);line-height:1.3;color:#172b4d;margin:34px 0 12px;letter-spacing:-.02em}
.fm-article-card p,.fm-article-card li{font-size:16px;line-height:1.8;color:#526176}
.fm-article-card ul{padding-left:23px;margin:10px 0 20px}
.fm-article-card li{padding:3px 0}
.fm-article-figure{margin:28px 0 34px;background:#f5f7fb;border:1px solid #e5eaf2;border-radius:16px;padding:12px;overflow:hidden}
.fm-article-figure img{display:block;width:100%;height:auto;max-height:620px;object-fit:contain;border-radius:10px}
.fm-article-figure figcaption{font-size:13px;color:#748198;padding:10px 5px 2px;text-align:center}
.fm-article-tip{margin:24px 0;padding:18px 20px;border-left:4px solid #6550ee;background:#f3f1ff;border-radius:0 12px 12px 0;color:#46536a;line-height:1.7}
.fm-article-cta{margin:38px 0 8px;padding:26px;border-radius:18px;background:linear-gradient(120deg,#f0edff,#edf5ff);text-align:center}
.fm-article-cta h2{margin:0 0 8px}.fm-article-cta p{margin:0 0 18px}
.fm-article-back{margin-top:30px!important}.fm-article-back a{color:#5945e8;font-weight:700;text-decoration:none}
.fm-article-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:30px}
.fm-article-tile{display:flex;flex-direction:column;align-items:flex-start;min-height:245px;padding:24px;background:#fff;border:1px solid #e4e9f2;border-radius:18px;box-shadow:0 12px 32px rgba(20,35,61,.05);text-decoration:none;transition:transform .18s,box-shadow .18s}
.fm-article-tile:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(20,35,61,.1)}
.fm-article-tile h2{font-size:21px;line-height:1.35;color:#172b4d;margin:15px 0 10px}.fm-article-tile p{font-size:15px;line-height:1.65;color:#647188;margin:0 0 18px}.fm-article-tile>b{margin-top:auto;color:#5b45e9}
.fm-article-tag{font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#5b45e9;background:#f0edff;border-radius:99px;padding:7px 11px}
@media(max-width:800px){.fm-article-list{grid-template-columns:1fr}.fm-article-tile{min-height:0}.fm-article-page{padding:34px 0 48px}.fm-article-card{border-radius:16px}}


/* Pływający przycisk przewijania strony */
.fm-scroll-toggle{position:fixed;right:22px;bottom:22px;z-index:9998;width:50px;height:50px;border:0;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#5b3df5 0%,#3975f5 100%);color:#fff;font-size:27px;font-weight:700;line-height:1;box-shadow:0 7px 22px rgba(67,75,210,.32);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}
.fm-scroll-toggle:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(67,75,210,.4)}
.fm-scroll-toggle:focus-visible{outline:3px solid rgba(91,61,245,.35);outline-offset:4px}
@media(max-width:600px){.fm-scroll-toggle{right:14px;bottom:14px;width:46px;height:46px;font-size:25px}}
